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
721 aros_target_objcopy_ln
722 aros_target_objdump_ln
723 aros_target_ranlib_ln
725 aros_target_nostdinc_cflags
726 aros_target_nostartup_ldflags
727 aros_target_nix_ldflags
728 aros_target_detach_ldflags
729 aros_target_nostdlib_ldflags
731 aros_cflags_iquote_end
757 aros_target_bootloader
769 aros_target_cc_includes
791 aros_target_strip_flags
795 aros_default_wbheight
799 aros_host_x11_includes
800 aros_host_x11_libdirs
806 aros_nesting_supervisor
816 ignore_undefined_symbols
820 ac_precious_vars
='build_alias
832 # Initialize some variables set by options.
834 ac_init_version
=false
835 # The variables have the same names as the options, with
836 # dashes changed to underlines.
844 program_transform_name
=s
,x
,x
,
852 # Installation directory options.
853 # These are left unexpanded so users can "make install exec_prefix=/foo"
854 # and all the variables that are supposed to be based on exec_prefix
855 # by default will actually change.
856 # Use braces instead of parens because sh, perl, etc. also accept them.
857 # (The list follows the same order as the GNU Coding Standards.)
858 bindir
='${exec_prefix}/bin'
859 sbindir
='${exec_prefix}/sbin'
860 libexecdir
='${exec_prefix}/libexec'
861 datarootdir
='${prefix}/share'
862 datadir
='${datarootdir}'
863 sysconfdir
='${prefix}/etc'
864 sharedstatedir
='${prefix}/com'
865 localstatedir
='${prefix}/var'
866 includedir
='${prefix}/include'
867 oldincludedir
='/usr/include'
868 docdir
='${datarootdir}/doc/${PACKAGE}'
869 infodir
='${datarootdir}/info'
874 libdir
='${exec_prefix}/lib'
875 localedir
='${datarootdir}/locale'
876 mandir
='${datarootdir}/man'
882 # If the previous option needs an argument, assign it.
883 if test -n "$ac_prev"; then
884 eval $ac_prev=\
$ac_option
890 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
894 # Accept the important Cygnus configure options, so we can diagnose typos.
896 case $ac_dashdash$ac_option in
900 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
902 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
905 -build |
--build |
--buil |
--bui |
--bu)
906 ac_prev
=build_alias
;;
907 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
908 build_alias
=$ac_optarg ;;
910 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
911 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
912 ac_prev
=cache_file
;;
913 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
914 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
915 cache_file
=$ac_optarg ;;
918 cache_file
=config.cache
;;
920 -datadir |
--datadir |
--datadi |
--datad)
922 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
923 datadir
=$ac_optarg ;;
925 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
926 |
--dataroo |
--dataro |
--datar)
927 ac_prev
=datarootdir
;;
928 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
929 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
930 datarootdir
=$ac_optarg ;;
932 -disable-* |
--disable-*)
933 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
934 # Reject names that are not valid shell variable names.
935 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
936 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
937 { (exit 1); exit 1; }; }
938 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
939 eval enable_
$ac_feature=no
;;
941 -docdir |
--docdir |
--docdi |
--doc |
--do)
943 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
946 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
948 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
951 -enable-* |
--enable-*)
952 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
953 # Reject names that are not valid shell variable names.
954 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
955 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
956 { (exit 1); exit 1; }; }
957 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
958 eval enable_
$ac_feature=\
$ac_optarg ;;
960 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
961 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
962 |
--exec |
--exe |
--ex)
963 ac_prev
=exec_prefix
;;
964 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
965 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
966 |
--exec=* |
--exe=* |
--ex=*)
967 exec_prefix
=$ac_optarg ;;
969 -gas |
--gas |
--ga |
--g)
970 # Obsolete; use --with-gas.
973 -help |
--help |
--hel |
--he |
-h)
975 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
976 ac_init_help
=recursive
;;
977 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
978 ac_init_help
=short
;;
980 -host |
--host |
--hos |
--ho)
981 ac_prev
=host_alias
;;
982 -host=* |
--host=* |
--hos=* |
--ho=*)
983 host_alias
=$ac_optarg ;;
985 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
987 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
989 htmldir
=$ac_optarg ;;
991 -includedir |
--includedir |
--includedi |
--included |
--include \
992 |
--includ |
--inclu |
--incl |
--inc)
993 ac_prev
=includedir
;;
994 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
995 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
996 includedir
=$ac_optarg ;;
998 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1000 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1001 infodir
=$ac_optarg ;;
1003 -libdir |
--libdir |
--libdi |
--libd)
1005 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1006 libdir
=$ac_optarg ;;
1008 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1009 |
--libexe |
--libex |
--libe)
1010 ac_prev
=libexecdir
;;
1011 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1012 |
--libexe=* |
--libex=* |
--libe=*)
1013 libexecdir
=$ac_optarg ;;
1015 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1016 ac_prev
=localedir
;;
1017 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1018 localedir
=$ac_optarg ;;
1020 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1021 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1022 ac_prev
=localstatedir
;;
1023 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1024 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1025 localstatedir
=$ac_optarg ;;
1027 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1029 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1030 mandir
=$ac_optarg ;;
1032 -nfp |
--nfp |
--nf)
1033 # Obsolete; use --without-fp.
1036 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1037 |
--no-cr |
--no-c |
-n)
1040 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1041 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1044 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1045 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1046 |
--oldin |
--oldi |
--old |
--ol |
--o)
1047 ac_prev
=oldincludedir
;;
1048 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1049 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1050 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1051 oldincludedir
=$ac_optarg ;;
1053 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1055 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1056 prefix
=$ac_optarg ;;
1058 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1059 |
--program-pre |
--program-pr |
--program-p)
1060 ac_prev
=program_prefix
;;
1061 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1062 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1063 program_prefix
=$ac_optarg ;;
1065 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1066 |
--program-suf |
--program-su |
--program-s)
1067 ac_prev
=program_suffix
;;
1068 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1069 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1070 program_suffix
=$ac_optarg ;;
1072 -program-transform-name |
--program-transform-name \
1073 |
--program-transform-nam |
--program-transform-na \
1074 |
--program-transform-n |
--program-transform- \
1075 |
--program-transform |
--program-transfor \
1076 |
--program-transfo |
--program-transf \
1077 |
--program-trans |
--program-tran \
1078 |
--progr-tra |
--program-tr |
--program-t)
1079 ac_prev
=program_transform_name
;;
1080 -program-transform-name=* |
--program-transform-name=* \
1081 |
--program-transform-nam=* |
--program-transform-na=* \
1082 |
--program-transform-n=* |
--program-transform-=* \
1083 |
--program-transform=* |
--program-transfor=* \
1084 |
--program-transfo=* |
--program-transf=* \
1085 |
--program-trans=* |
--program-tran=* \
1086 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1087 program_transform_name
=$ac_optarg ;;
1089 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1091 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1092 pdfdir
=$ac_optarg ;;
1094 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1096 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1099 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1100 |
-silent |
--silent |
--silen |
--sile |
--sil)
1103 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1105 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1107 sbindir
=$ac_optarg ;;
1109 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1110 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1111 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1113 ac_prev
=sharedstatedir
;;
1114 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1115 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1116 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1118 sharedstatedir
=$ac_optarg ;;
1120 -site |
--site |
--sit)
1122 -site=* |
--site=* |
--sit=*)
1125 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1127 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1128 srcdir
=$ac_optarg ;;
1130 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1131 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1132 ac_prev
=sysconfdir
;;
1133 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1134 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1135 sysconfdir
=$ac_optarg ;;
1137 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1138 ac_prev
=target_alias
;;
1139 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1140 target_alias
=$ac_optarg ;;
1142 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1145 -version |
--version |
--versio |
--versi |
--vers |
-V)
1146 ac_init_version
=: ;;
1149 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1150 # Reject names that are not valid shell variable names.
1151 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1152 { echo "$as_me: error: invalid package name: $ac_package" >&2
1153 { (exit 1); exit 1; }; }
1154 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1155 eval with_
$ac_package=\
$ac_optarg ;;
1157 -without-* |
--without-*)
1158 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1159 # Reject names that are not valid shell variable names.
1160 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1161 { echo "$as_me: error: invalid package name: $ac_package" >&2
1162 { (exit 1); exit 1; }; }
1163 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1164 eval with_
$ac_package=no
;;
1167 # Obsolete; use --with-x.
1170 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1171 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1172 ac_prev
=x_includes
;;
1173 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1174 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1175 x_includes
=$ac_optarg ;;
1177 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1178 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1179 ac_prev
=x_libraries
;;
1180 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1181 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1182 x_libraries
=$ac_optarg ;;
1184 -*) { echo "$as_me: error: unrecognized option: $ac_option
1185 Try \`$0 --help' for more information." >&2
1186 { (exit 1); exit 1; }; }
1190 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1191 # Reject names that are not valid shell variable names.
1192 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1193 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1194 { (exit 1); exit 1; }; }
1195 eval $ac_envvar=\
$ac_optarg
1196 export $ac_envvar ;;
1199 # FIXME: should be removed in autoconf 3.0.
1200 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1201 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1202 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1203 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1209 if test -n "$ac_prev"; then
1210 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1211 { echo "$as_me: error: missing argument to $ac_option" >&2
1212 { (exit 1); exit 1; }; }
1215 # Be sure to have absolute directory names.
1216 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1217 datadir sysconfdir sharedstatedir localstatedir includedir \
1218 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1219 libdir localedir mandir
1221 eval ac_val
=\$
$ac_var
1223 [\\/$
]* | ?
:[\\/]* ) continue;;
1224 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1226 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1227 { (exit 1); exit 1; }; }
1230 # There might be people who depend on the old broken behavior: `$host'
1231 # used to hold the argument of --host etc.
1232 # FIXME: To remove some day.
1235 target
=$target_alias
1237 # FIXME: To remove some day.
1238 if test "x$host_alias" != x
; then
1239 if test "x$build_alias" = x
; then
1240 cross_compiling
=maybe
1241 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1242 If a cross compiler is detected then cross compile mode will be used." >&2
1243 elif test "x$build_alias" != "x$host_alias"; then
1249 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1251 test "$silent" = yes && exec 6>/dev
/null
1254 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1255 ac_ls_di
=`ls -di .` &&
1256 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1257 { echo "$as_me: error: Working directory cannot be determined" >&2
1258 { (exit 1); exit 1; }; }
1259 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1260 { echo "$as_me: error: pwd does not report name of working directory" >&2
1261 { (exit 1); exit 1; }; }
1264 # Find the source files, if location was not specified.
1265 if test -z "$srcdir"; then
1266 ac_srcdir_defaulted
=yes
1267 # Try the directory containing this script, then the parent directory.
1268 ac_confdir
=`$as_dirname -- "$0" ||
1269 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1270 X"$0" : 'X\(//\)[^/]' \| \
1271 X"$0" : 'X\(//\)$' \| \
1272 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1274 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1292 if test ! -r "$srcdir/$ac_unique_file"; then
1296 ac_srcdir_defaulted
=no
1298 if test ! -r "$srcdir/$ac_unique_file"; then
1299 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1300 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1301 { (exit 1); exit 1; }; }
1303 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1305 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1306 { (exit 1); exit 1; }; }
1308 # When building in place, set srcdir=.
1309 if test "$ac_abs_confdir" = "$ac_pwd"; then
1312 # Remove unnecessary trailing slashes from srcdir.
1313 # Double slashes in file names in object file debugging info
1314 # mess up M-x gdb in Emacs.
1316 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1318 for ac_var
in $ac_precious_vars; do
1319 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1320 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1321 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1322 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1326 # Report the --help message.
1328 if test "$ac_init_help" = "long"; then
1329 # Omit some internal or obsolete options to make the list less imposing.
1330 # This message is too long to be a string in the A/UX 3.1 sh.
1332 \`configure' configures this package to adapt to many kinds of systems.
1334 Usage: $0 [OPTION]... [VAR=VALUE]...
1336 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1337 VAR=VALUE. See below for descriptions of some of the useful variables.
1339 Defaults for the options are specified in brackets.
1342 -h, --help display this help and exit
1343 --help=short display options specific to this package
1344 --help=recursive display the short help of all the included packages
1345 -V, --version display version information and exit
1346 -q, --quiet, --silent do not print \`checking...' messages
1347 --cache-file=FILE cache test results in FILE [disabled]
1348 -C, --config-cache alias for \`--cache-file=config.cache'
1349 -n, --no-create do not create output files
1350 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1352 Installation directories:
1353 --prefix=PREFIX install architecture-independent files in PREFIX
1354 [$ac_default_prefix]
1355 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1358 By default, \`make install' will install all the files in
1359 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1360 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1361 for instance \`--prefix=\$HOME'.
1363 For better control, use the options below.
1365 Fine tuning of the installation directories:
1366 --bindir=DIR user executables [EPREFIX/bin]
1367 --sbindir=DIR system admin executables [EPREFIX/sbin]
1368 --libexecdir=DIR program executables [EPREFIX/libexec]
1369 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1370 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1371 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1372 --libdir=DIR object code libraries [EPREFIX/lib]
1373 --includedir=DIR C header files [PREFIX/include]
1374 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1375 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1376 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1377 --infodir=DIR info documentation [DATAROOTDIR/info]
1378 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1379 --mandir=DIR man documentation [DATAROOTDIR/man]
1380 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1381 --htmldir=DIR html documentation [DOCDIR]
1382 --dvidir=DIR dvi documentation [DOCDIR]
1383 --pdfdir=DIR pdf documentation [DOCDIR]
1384 --psdir=DIR ps documentation [DOCDIR]
1390 --x-includes=DIR X include files are
in DIR
1391 --x-libraries=DIR X library files are
in DIR
1394 --build=BUILD configure
for building on BUILD
[guessed
]
1395 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1399 if test -n "$ac_init_help"; then
1404 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1405 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1406 --enable-build-type=TYPE
1407 Select the build
type. Available types are
:
1408 personal
, nightly
, snapshot
, milestone
, release. Do
1409 NOT use this option unless you know what you are
1410 doing
! (default
=personal
)
1411 --enable-debug=list Enable different types of debug. Commas or
1412 whitespaces can be used to separate the items
in the
1413 list. Available types of debug are
: all
, none
,
1414 messages
, stack
, mungwall
, modules
, symbols. If no
1415 list is provided
then "all" is assumed.
1417 --enable-crosstools Build cross-compiler toolchains
if necessary
1419 --enable-distcc Use distcc as a front end to the compiler
1421 --enable-ccache Use ccache as a front end to the compiler
1423 --enable-target-variant=NAME
1424 Enable a specific target variant
(default
=none
)
1425 --enable-includes=dir Alternative system include directory
1426 --enable-bochs-hack Enable hacks to
make BOCHS
(partly
) work
1428 --enable-palm-debug-hack
1429 Enable palm debug output hack
in palm native
1431 --enable-nesting-supervisor
1432 Enable nesting supervisor support
in unix
1434 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1435 --enable-x11-shm use X11 shared memory
(default
=auto
)
1436 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1437 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1438 --disable-sdltest Do not try to compile and run a
test SDL program
1439 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1442 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1443 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1444 --with-optimization=FLAGS
1445 Use optimization flags FLAGS
(default
=-O2).
1446 --with-portssources=DIR Where to download sourcecode
for external ports
1447 --with-bootloader=NAME Use a specific bootloader
1448 --with-theme=NAME Use a specific GUI Theme
1449 --with-resolution=XRESxYRESxDEPTH
1450 Default resolution of the initial WorkbenchScreen
1451 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1452 --with-x use the X Window System
1453 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1454 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1456 Some influential environment variables
:
1457 CC C compiler
command
1458 CFLAGS C compiler flags
1459 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1460 nonstandard directory
<lib dir
>
1461 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1462 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1463 you have headers
in a nonstandard directory
<include dir
>
1465 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1467 Use these variables to override the choices made by
`configure' or to help
1468 it to find libraries and programs with nonstandard names/locations.
1474 if test "$ac_init_help" = "recursive"; then
1475 # If there are subdirs, report their specific --help.
1476 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1477 test -d "$ac_dir" || continue
1481 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1483 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1484 # A ".." for each directory in $ac_dir_suffix.
1485 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1486 case $ac_top_builddir_sub in
1487 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1488 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1491 ac_abs_top_builddir=$ac_pwd
1492 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1493 # for backward compatibility:
1494 ac_top_builddir=$ac_top_build_prefix
1497 .) # We are building in place.
1499 ac_top_srcdir=$ac_top_builddir_sub
1500 ac_abs_top_srcdir=$ac_pwd ;;
1501 [\\/]* | ?:[\\/]* ) # Absolute name.
1502 ac_srcdir=$srcdir$ac_dir_suffix;
1503 ac_top_srcdir=$srcdir
1504 ac_abs_top_srcdir=$srcdir ;;
1506 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1507 ac_top_srcdir=$ac_top_build_prefix$srcdir
1508 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1510 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1512 cd "$ac_dir" || { ac_status=$?; continue; }
1513 # Check for guested configure.
1514 if test -f "$ac_srcdir/configure.gnu"; then
1516 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1517 elif test -f "$ac_srcdir/configure"; then
1519 $SHELL "$ac_srcdir/configure" --help=recursive
1521 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1523 cd "$ac_pwd" || { ac_status=$?; break; }
1527 test -n "$ac_init_help" && exit $ac_status
1528 if $ac_init_version; then
1531 generated by GNU Autoconf 2.61
1533 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1534 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1535 This configure script is free software; the Free Software Foundation
1536 gives unlimited permission to copy, distribute and modify it.
1540 cat >config.log <<_ACEOF
1541 This file contains any messages produced by compilers while
1542 running configure, to aid debugging if configure makes a mistake.
1544 It was created by $as_me, which was
1545 generated by GNU Autoconf 2.61. Invocation command line was
1557 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1558 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1559 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1560 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1561 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1563 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1564 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1566 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1567 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1568 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1569 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1570 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1571 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1572 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1580 test -z "$as_dir" && as_dir=.
1581 echo "PATH: $as_dir"
1597 # Keep a trace of the command line.
1598 # Strip out --no-create and --no-recursion so they do not pile up.
1599 # Strip out --silent because we don't want to record it for future runs.
1600 # Also quote any args containing shell meta-characters.
1601 # Make two passes to allow for proper duplicate-argument suppression.
1605 ac_must_keep_next=false
1611 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1612 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1613 | -silent | --silent | --silen | --sile | --sil)
1616 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1619 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1621 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1622 if test $ac_must_keep_next = true; then
1623 ac_must_keep_next=false # Got value, back to normal.
1626 *=* | --config-cache | -C | -disable-* | --disable-* \
1627 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1628 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1629 | -with-* | --with-* | -without-* | --without-* | --x)
1630 case "$ac_configure_args0 " in
1631 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1634 -* ) ac_must_keep_next=true ;;
1637 ac_configure_args="$ac_configure_args '$ac_arg'"
1642 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1643 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1645 # When interrupted or exit'd, cleanup temporary files, and complete
1646 # config.log. We remove comments because anyway the quotes in there
1647 # would cause problems or look ugly.
1648 # WARNING: Use '\'' to represent an apostrophe within the trap.
1649 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1650 trap 'exit_status=$?
1651 # Save into config.log some information that might help in debugging.
1656 ## ---------------- ##
1657 ## Cache variables. ##
1658 ## ---------------- ##
1661 # The following way of writing the cache mishandles newlines in values,
1663 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1664 eval ac_val=\$$ac_var
1668 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1669 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1672 _ | IFS | as_nl) ;; #(
1673 *) $as_unset $ac_var ;;
1678 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1679 *${as_nl}ac_space=\ *)
1681 "s/'\''/'\''\\\\'\'''\''/g;
1682 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1685 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1693 ## ----------------- ##
1694 ## Output variables. ##
1695 ## ----------------- ##
1698 for ac_var in $ac_subst_vars
1700 eval ac_val=\$$ac_var
1702 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1704 echo "$ac_var='\''$ac_val'\''"
1708 if test -n "$ac_subst_files"; then
1710 ## ------------------- ##
1711 ## File substitutions. ##
1712 ## ------------------- ##
1715 for ac_var in $ac_subst_files
1717 eval ac_val=\$$ac_var
1719 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1721 echo "$ac_var='\''$ac_val'\''"
1726 if test -s confdefs.h; then
1736 test "$ac_signal" != 0 &&
1737 echo "$as_me: caught signal $ac_signal"
1738 echo "$as_me: exit $exit_status"
1740 rm -f core *.core core.conftest.* &&
1741 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1744 for ac_signal in 1 2 13 15; do
1745 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1749 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1750 rm -f -r conftest* confdefs.h
1752 # Predefined preprocessor variables.
1754 cat >>confdefs.h <<_ACEOF
1755 #define PACKAGE_NAME "$PACKAGE_NAME"
1759 cat >>confdefs.h <<_ACEOF
1760 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1764 cat >>confdefs.h <<_ACEOF
1765 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1769 cat >>confdefs.h <<_ACEOF
1770 #define PACKAGE_STRING "$PACKAGE_STRING"
1774 cat >>confdefs.h <<_ACEOF
1775 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1779 # Let the site file select an alternate cache file if it wants to.
1780 # Prefer explicitly selected file to automatically selected ones.
1781 if test -n "$CONFIG_SITE"; then
1782 set x "$CONFIG_SITE"
1783 elif test "x$prefix" != xNONE; then
1784 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1786 set x "$ac_default_prefix/share/config.site" \
1787 "$ac_default_prefix/etc/config.site"
1792 if test -r "$ac_site_file"; then
1793 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1794 echo "$as_me: loading site script $ac_site_file" >&6;}
1795 sed 's/^/| /' "$ac_site_file" >&5
1800 if test -r "$cache_file"; then
1801 # Some versions of bash will fail to source /dev/null (special
1802 # files actually), so we avoid doing that.
1803 if test -f "$cache_file"; then
1804 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1805 echo "$as_me: loading cache $cache_file" >&6;}
1807 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1808 *) . "./$cache_file";;
1812 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1813 echo "$as_me: creating cache $cache_file" >&6;}
1817 # Check that the precious variables saved in the cache have kept the same
1819 ac_cache_corrupted=false
1820 for ac_var in $ac_precious_vars; do
1821 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1822 eval ac_new_set=\$ac_env_${ac_var}_set
1823 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1824 eval ac_new_val=\$ac_env_${ac_var}_value
1825 case $ac_old_set,$ac_new_set in
1827 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1828 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1829 ac_cache_corrupted=: ;;
1831 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1832 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1833 ac_cache_corrupted=: ;;
1836 if test "x$ac_old_val" != "x$ac_new_val"; then
1837 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1838 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1839 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1840 echo "$as_me: former value
: $ac_old_val" >&2;}
1841 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1842 echo "$as_me: current value
: $ac_new_val" >&2;}
1843 ac_cache_corrupted=:
1846 # Pass precious variables to config.status.
1847 if test "$ac_new_set" = set; then
1849 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1850 *) ac_arg=$ac_var=$ac_new_val ;;
1852 case " $ac_configure_args " in
1853 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1854 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1858 if $ac_cache_corrupted; then
1859 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1860 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1861 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1862 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1863 { (exit 1); exit 1; }; }
1883 ac_cpp='$CPP $CPPFLAGS'
1884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1891 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
1892 if test -f "$ac_dir/install-sh"; then
1894 ac_install_sh="$ac_aux_dir/install-sh -c"
1896 elif test -f "$ac_dir/install.sh"; then
1898 ac_install_sh="$ac_aux_dir/install.sh -c"
1900 elif test -f "$ac_dir/shtool"; then
1902 ac_install_sh="$ac_aux_dir/shtool install -c"
1906 if test -z "$ac_aux_dir"; then
1907 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts/autoconf \"$srcdir\"/scripts/autoconf" >&5
1908 echo "$as_me: error: cannot find install-sh or install.sh in scripts/autoconf \"$srcdir\"/scripts/autoconf" >&2;}
1909 { (exit 1); exit 1; }; }
1912 # These three variables are undocumented and unsupported,
1913 # and are intended to be withdrawn in a future Autoconf release.
1914 # They can cause serious problems if a builder's source tree is in a directory
1915 # whose full name contains unusual characters.
1916 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1917 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1918 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1922 # Check what host we are running on.
1923 # If a target is not suggested, we use this one.
1924 # Note that what we call a target, Autoconf calls a host.
1925 # Make sure we can run config.sub.
1926 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1927 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1928 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1929 { (exit 1); exit 1; }; }
1931 { echo "$as_me:$LINENO: checking build system type" >&5
1932 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1933 if test "${ac_cv_build+set}" = set; then
1934 echo $ECHO_N "(cached) $ECHO_C" >&6
1936 ac_build_alias=$build_alias
1937 test "x$ac_build_alias" = x &&
1938 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1939 test "x$ac_build_alias" = x &&
1940 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1941 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1942 { (exit 1); exit 1; }; }
1943 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1944 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1945 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1946 { (exit 1); exit 1; }; }
1949 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1950 echo "${ECHO_T}$ac_cv_build" >&6; }
1951 case $ac_cv_build in
1953 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1954 echo "$as_me: error: invalid value of canonical build" >&2;}
1955 { (exit 1); exit 1; }; };;
1958 ac_save_IFS=$IFS; IFS='-'
1964 # Remember, the first character of IFS is used to create $*,
1965 # except with old shells:
1968 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
1971 { echo "$as_me:$LINENO: checking host system type" >&5
1972 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1973 if test "${ac_cv_host+set}" = set; then
1974 echo $ECHO_N "(cached) $ECHO_C" >&6
1976 if test "x$host_alias" = x; then
1977 ac_cv_host=$ac_cv_build
1979 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1980 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1981 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1982 { (exit 1); exit 1; }; }
1986 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1987 echo "${ECHO_T}$ac_cv_host" >&6; }
1990 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1991 echo "$as_me: error: invalid value of canonical host" >&2;}
1992 { (exit 1); exit 1; }; };;
1995 ac_save_IFS=$IFS; IFS='-'
2001 # Remember, the first character of IFS is used to create $*,
2002 # except with old shells:
2005 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2009 # The AROS target is slightly different to the normal GNU style
2010 # format. We don't have the middle part, and we reverse the order
2011 # of the $(CPU) and $(OS) bits.
2013 # Don't strip the version of the target yet, it might be
2014 # useful on some systems.
2016 { echo "$as_me:$LINENO: checking for AROS style target" >&5
2017 echo $ECHO_N "checking for AROS style target... $ECHO_C" >&6; }
2019 if test "$target" = "NONE" ; then
2020 target=$host_os-$host_cpu
2023 if test "$target" = "" ; then
2024 target=$host_os-$host_cpu
2030 { echo "$as_me:$LINENO: result: $target" >&5
2031 echo "${ECHO_T}$target" >&6; }
2033 #don't know where else to put this...
2034 { echo "$as_me:$LINENO: checking Building AROS in .. " >&5
2035 echo $ECHO_N "checking Building AROS in .. ... $ECHO_C" >&6; }
2037 { echo "$as_me:$LINENO: result: $AROS_BUILDDIR" >&5
2038 echo "${ECHO_T}$AROS_BUILDDIR" >&6; }
2040 { echo "$as_me:$LINENO: checking AROS Source in .. " >&5
2041 echo $ECHO_N "checking AROS Source in .. ... $ECHO_C" >&6; }
2042 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2044 { echo "$as_me:$LINENO: result: $SRCDIR" >&5
2045 echo "${ECHO_T}$SRCDIR" >&6; }
2047 # Parse the target field into something useful.
2049 target_os=`echo $target |
sed 's/^\([^-]*\)-\(.*\)$/\1/'`
2050 target_cpu=`echo $target |
sed 's/^\([^-]*\)-\(.*\)$/\2/'`
2053 aros_default_wbwidth=800
2054 aros_default_wbheight=600
2055 aros_default_wbdepth=4
2058 # The first step is to find the host binaries.
2059 # Check for a compiler.
2061 ac_cpp='$CPP $CPPFLAGS'
2062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2065 if test -n "$ac_tool_prefix"; then
2066 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2067 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2068 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2070 if test "${ac_cv_prog_CC+set}" = set; then
2071 echo $ECHO_N "(cached) $ECHO_C" >&6
2073 if test -n "$CC"; then
2074 ac_cv_prog_CC="$CC" # Let the user override the test.
2076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2080 test -z "$as_dir" && as_dir=.
2081 for ac_exec_ext in '' $ac_executable_extensions; do
2082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2083 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2094 if test -n "$CC"; then
2095 { echo "$as_me:$LINENO: result: $CC" >&5
2096 echo "${ECHO_T}$CC" >&6; }
2098 { echo "$as_me:$LINENO: result: no" >&5
2099 echo "${ECHO_T}no" >&6; }
2104 if test -z "$ac_cv_prog_CC"; then
2106 # Extract the first word of "gcc", so it can be a program name with args.
2107 set dummy gcc; ac_word=$2
2108 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2110 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2111 echo $ECHO_N "(cached) $ECHO_C" >&6
2113 if test -n "$ac_ct_CC"; then
2114 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2120 test -z "$as_dir" && as_dir=.
2121 for ac_exec_ext in '' $ac_executable_extensions; do
2122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2123 ac_cv_prog_ac_ct_CC="gcc"
2124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2133 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2134 if test -n "$ac_ct_CC"; then
2135 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2136 echo "${ECHO_T}$ac_ct_CC" >&6; }
2138 { echo "$as_me:$LINENO: result: no" >&5
2139 echo "${ECHO_T}no" >&6; }
2142 if test "x$ac_ct_CC" = x; then
2145 case $cross_compiling:$ac_tool_warned in
2147 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2148 whose name does not start with the host triplet. If you think this
2149 configuration is useful to you, please write to autoconf@gnu.org." >&5
2150 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2151 whose name does not start with the host triplet. If you think this
2152 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2153 ac_tool_warned=yes ;;
2161 if test -z "$CC"; then
2162 if test -n "$ac_tool_prefix"; then
2163 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2164 set dummy ${ac_tool_prefix}cc; ac_word=$2
2165 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2167 if test "${ac_cv_prog_CC+set}" = set; then
2168 echo $ECHO_N "(cached) $ECHO_C" >&6
2170 if test -n "$CC"; then
2171 ac_cv_prog_CC="$CC" # Let the user override the test.
2173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2177 test -z "$as_dir" && as_dir=.
2178 for ac_exec_ext in '' $ac_executable_extensions; do
2179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2180 ac_cv_prog_CC="${ac_tool_prefix}cc"
2181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2191 if test -n "$CC"; then
2192 { echo "$as_me:$LINENO: result: $CC" >&5
2193 echo "${ECHO_T}$CC" >&6; }
2195 { echo "$as_me:$LINENO: result: no" >&5
2196 echo "${ECHO_T}no" >&6; }
2202 if test -z "$CC"; then
2203 # Extract the first word of "cc", so it can be a program name with args.
2204 set dummy cc; ac_word=$2
2205 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2207 if test "${ac_cv_prog_CC+set}" = set; then
2208 echo $ECHO_N "(cached) $ECHO_C" >&6
2210 if test -n "$CC"; then
2211 ac_cv_prog_CC="$CC" # Let the user override the test.
2214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2218 test -z "$as_dir" && as_dir=.
2219 for ac_exec_ext in '' $ac_executable_extensions; do
2220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2221 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2222 ac_prog_rejected=yes
2226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2233 if test $ac_prog_rejected = yes; then
2234 # We found a bogon in the path, so make sure we never use it.
2235 set dummy $ac_cv_prog_CC
2237 if test $# != 0; then
2238 # We chose a different compiler from the bogus one.
2239 # However, it has the same basename, so the bogon will be chosen
2240 # first if we set CC to just the basename; use the full file name.
2242 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2248 if test -n "$CC"; then
2249 { echo "$as_me:$LINENO: result: $CC" >&5
2250 echo "${ECHO_T}$CC" >&6; }
2252 { echo "$as_me:$LINENO: result: no" >&5
2253 echo "${ECHO_T}no" >&6; }
2258 if test -z "$CC"; then
2259 if test -n "$ac_tool_prefix"; then
2260 for ac_prog in cl.exe
2262 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2263 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2264 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2266 if test "${ac_cv_prog_CC+set}" = set; then
2267 echo $ECHO_N "(cached) $ECHO_C" >&6
2269 if test -n "$CC"; then
2270 ac_cv_prog_CC="$CC" # Let the user override the test.
2272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2276 test -z "$as_dir" && as_dir=.
2277 for ac_exec_ext in '' $ac_executable_extensions; do
2278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2279 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2290 if test -n "$CC"; then
2291 { echo "$as_me:$LINENO: result: $CC" >&5
2292 echo "${ECHO_T}$CC" >&6; }
2294 { echo "$as_me:$LINENO: result: no" >&5
2295 echo "${ECHO_T}no" >&6; }
2299 test -n "$CC" && break
2302 if test -z "$CC"; then
2304 for ac_prog in cl.exe
2306 # Extract the first word of "$ac_prog", so it can be a program name with args.
2307 set dummy $ac_prog; ac_word=$2
2308 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2310 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2311 echo $ECHO_N "(cached) $ECHO_C" >&6
2313 if test -n "$ac_ct_CC"; then
2314 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2320 test -z "$as_dir" && as_dir=.
2321 for ac_exec_ext in '' $ac_executable_extensions; do
2322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2323 ac_cv_prog_ac_ct_CC="$ac_prog"
2324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2333 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2334 if test -n "$ac_ct_CC"; then
2335 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2336 echo "${ECHO_T}$ac_ct_CC" >&6; }
2338 { echo "$as_me:$LINENO: result: no" >&5
2339 echo "${ECHO_T}no" >&6; }
2343 test -n "$ac_ct_CC" && break
2346 if test "x$ac_ct_CC" = x; then
2349 case $cross_compiling:$ac_tool_warned in
2351 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2352 whose name does not start with the host triplet. If you think this
2353 configuration is useful to you, please write to autoconf@gnu.org." >&5
2354 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2355 whose name does not start with the host triplet. If you think this
2356 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2357 ac_tool_warned=yes ;;
2366 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2367 See \`config.log
' for more details." >&5
2368 echo "$as_me: error: no acceptable C compiler found in \$PATH
2369 See \`config.log' for more details.
" >&2;}
2370 { (exit 1); exit 1; }; }
2372 # Provide some information about the compiler.
2373 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2374 ac_compiler=`set X $ac_compile; echo $2`
2375 { (ac_try="$ac_compiler --version >&5"
2377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2378 *) ac_try_echo=$ac_try;;
2380 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2381 (eval "$ac_compiler --version >&5") 2>&5
2383 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2384 (exit $ac_status); }
2385 { (ac_try="$ac_compiler -v >&5"
2387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2388 *) ac_try_echo=$ac_try;;
2390 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2391 (eval "$ac_compiler -v >&5") 2>&5
2393 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2394 (exit $ac_status); }
2395 { (ac_try="$ac_compiler -V >&5"
2397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2398 *) ac_try_echo=$ac_try;;
2400 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2401 (eval "$ac_compiler -V >&5") 2>&5
2403 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2404 (exit $ac_status); }
2406 cat >conftest.$ac_ext <<_ACEOF
2409 cat confdefs.h >>conftest.$ac_ext
2410 cat >>conftest.$ac_ext <<_ACEOF
2411 /* end confdefs.h. */
2421 ac_clean_files_save=$ac_clean_files
2422 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2423 # Try to create an executable without -o first, disregard a.out.
2424 # It will help us diagnose broken compilers, and finding out an intuition
2426 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2427 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2428 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2430 # List of possible output files, starting from the most likely.
2431 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2432 # only as a last resort. b.out is created by i960 compilers.
2433 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2435 # The IRIX 6 linker writes into existing files which may not be
2436 # executable, retaining their permissions. Remove them first so a
2437 # subsequent execution test works.
2439 for ac_file in $ac_files
2442 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2443 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2448 if { (ac_try="$ac_link_default"
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_link_default") 2>&5
2456 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2457 (exit $ac_status); }; then
2458 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2459 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2460 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2461 # so that the user can short-circuit this test for compilers unknown to
2463 for ac_file in $ac_files ''
2465 test -f "$ac_file" || continue
2467 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2470 # We found the default executable, but exeext='' is most
2474 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2476 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2478 # We set ac_cv_exeext here because the later test for it is not
2479 # safe: cross compilers may not add the suffix if given an `-o'
2480 # argument, so we may need to know it at that point already.
2481 # Even if this section looks crufty: it has the advantage of
2488 test "$ac_cv_exeext" = no && ac_cv_exeext=
2494 { echo "$as_me:$LINENO: result
: $ac_file" >&5
2495 echo "${ECHO_T}$ac_file" >&6; }
2496 if test -z "$ac_file"; then
2497 echo "$as_me: failed program was
:" >&5
2498 sed 's/^/| /' conftest.$ac_ext >&5
2500 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2501 See \
`config.log' for more details." >&5
2502 echo "$as_me: error: C compiler cannot create executables
2503 See \`config.log
' for more details." >&2;}
2504 { (exit 77); exit 77; }; }
2507 ac_exeext=$ac_cv_exeext
2509 # Check that the compiler produces executables we can run. If not, either
2510 # the compiler is broken, or we cross compile.
2511 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2512 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2513 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2514 # If not cross compiling, check that we can run a simple program.
2515 if test "$cross_compiling" != yes; then
2516 if { ac_try='.
/$ac_file'
2517 { (case "(($ac_try" in
2518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2519 *) ac_try_echo=$ac_try;;
2521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2522 (eval "$ac_try") 2>&5
2524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2525 (exit $ac_status); }; }; then
2528 if test "$cross_compiling" = maybe; then
2531 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2532 If you meant to cross compile, use \`--host'.
2533 See \
`config.log' for more details." >&5
2534 echo "$as_me: error: cannot run C compiled programs.
2535 If you meant to cross compile, use \`--host'.
2536 See \`config.log' for more details.
" >&2;}
2537 { (exit 1); exit 1; }; }
2541 { echo "$as_me:$LINENO: result
: yes" >&5
2542 echo "${ECHO_T}yes" >&6; }
2544 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2545 ac_clean_files=$ac_clean_files_save
2546 # Check that the compiler produces executables we can run. If not, either
2547 # the compiler is broken, or we cross compile.
2548 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2549 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2550 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2551 echo "${ECHO_T}$cross_compiling" >&6; }
2553 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2554 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2555 if { (ac_try="$ac_link"
2557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2558 *) ac_try_echo=$ac_try;;
2560 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2561 (eval "$ac_link") 2>&5
2563 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2564 (exit $ac_status); }; then
2565 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2566 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2567 # work properly (i.e., refer to `conftest.exe'), while it won't with
2569 for ac_file in conftest.exe conftest conftest.*; do
2570 test -f "$ac_file" || continue
2572 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2573 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2579 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2580 See \
`config.log' for more details." >&5
2581 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2582 See \`config.log
' for more details." >&2;}
2583 { (exit 1); exit 1; }; }
2586 rm -f conftest$ac_cv_exeext
2587 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2588 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2590 rm -f conftest.$ac_ext
2591 EXEEXT=$ac_cv_exeext
2593 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2594 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2595 if test "${ac_cv_objext+set}" = set; then
2596 echo $ECHO_N "(cached) $ECHO_C" >&6
2598 cat >conftest.$ac_ext <<_ACEOF
2601 cat confdefs.h >>conftest.$ac_ext
2602 cat >>conftest.$ac_ext <<_ACEOF
2603 /* end confdefs.h. */
2613 rm -f conftest.o conftest.obj
2614 if { (ac_try="$ac_compile"
2616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2617 *) ac_try_echo=$ac_try;;
2619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2620 (eval "$ac_compile") 2>&5
2622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623 (exit $ac_status); }; then
2624 for ac_file in conftest.o conftest.obj conftest.*; do
2625 test -f "$ac_file" || continue;
2627 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2628 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2633 echo "$as_me: failed program was:" >&5
2634 sed 's
/^
/|
/' conftest.$ac_ext >&5
2636 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2637 See \`config.log' for more details.
" >&5
2638 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2639 See \
`config.log' for more details." >&2;}
2640 { (exit 1); exit 1; }; }
2643 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2645 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2646 echo "${ECHO_T}$ac_cv_objext" >&6; }
2647 OBJEXT=$ac_cv_objext
2649 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2650 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2651 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2652 echo $ECHO_N "(cached) $ECHO_C" >&6
2654 cat >conftest.$ac_ext <<_ACEOF
2657 cat confdefs.h >>conftest.$ac_ext
2658 cat >>conftest.$ac_ext <<_ACEOF
2659 /* end confdefs.h. */
2672 rm -f conftest.$ac_objext
2673 if { (ac_try="$ac_compile"
2675 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2676 *) ac_try_echo
=$ac_try;;
2678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2679 (eval "$ac_compile") 2>conftest.er1
2681 grep -v '^ *+' conftest.er1
>conftest.err
2683 cat conftest.err
>&5
2684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2685 (exit $ac_status); } && {
2686 test -z "$ac_c_werror_flag" ||
2687 test ! -s conftest.err
2688 } && test -s conftest.
$ac_objext; then
2691 echo "$as_me: failed program was:" >&5
2692 sed 's/^/| /' conftest.
$ac_ext >&5
2697 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2698 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2701 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2702 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2703 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2704 ac_test_CFLAGS
=${CFLAGS+set}
2705 ac_save_CFLAGS
=$CFLAGS
2706 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2707 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2708 if test "${ac_cv_prog_cc_g+set}" = set; then
2709 echo $ECHO_N "(cached) $ECHO_C" >&6
2711 ac_save_c_werror_flag
=$ac_c_werror_flag
2712 ac_c_werror_flag
=yes
2715 cat >conftest.
$ac_ext <<_ACEOF
2718 cat confdefs.h
>>conftest.
$ac_ext
2719 cat >>conftest.
$ac_ext <<_ACEOF
2720 /* end confdefs.h. */
2730 rm -f conftest.
$ac_objext
2731 if { (ac_try
="$ac_compile"
2733 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2734 *) ac_try_echo=$ac_try;;
2736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2737 (eval "$ac_compile") 2>conftest.er1
2739 grep -v '^ *+' conftest.er1 >conftest.err
2741 cat conftest.err >&5
2742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2743 (exit $ac_status); } && {
2744 test -z "$ac_c_werror_flag" ||
2745 test ! -s conftest.err
2746 } && test -s conftest.$ac_objext; then
2749 echo "$as_me: failed program was:" >&5
2750 sed 's/^/| /' conftest.$ac_ext >&5
2753 cat >conftest.$ac_ext <<_ACEOF
2756 cat confdefs.h >>conftest.$ac_ext
2757 cat >>conftest.$ac_ext <<_ACEOF
2758 /* end confdefs.h. */
2768 rm -f conftest.$ac_objext
2769 if { (ac_try="$ac_compile"
2771 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2772 *) ac_try_echo
=$ac_try;;
2774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2775 (eval "$ac_compile") 2>conftest.er1
2777 grep -v '^ *+' conftest.er1
>conftest.err
2779 cat conftest.err
>&5
2780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2781 (exit $ac_status); } && {
2782 test -z "$ac_c_werror_flag" ||
2783 test ! -s conftest.err
2784 } && test -s conftest.
$ac_objext; then
2787 echo "$as_me: failed program was:" >&5
2788 sed 's/^/| /' conftest.
$ac_ext >&5
2790 ac_c_werror_flag
=$ac_save_c_werror_flag
2792 cat >conftest.
$ac_ext <<_ACEOF
2795 cat confdefs.h
>>conftest.
$ac_ext
2796 cat >>conftest.
$ac_ext <<_ACEOF
2797 /* end confdefs.h. */
2807 rm -f conftest.
$ac_objext
2808 if { (ac_try
="$ac_compile"
2810 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2811 *) ac_try_echo=$ac_try;;
2813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2814 (eval "$ac_compile") 2>conftest.er1
2816 grep -v '^ *+' conftest.er1 >conftest.err
2818 cat conftest.err >&5
2819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2820 (exit $ac_status); } && {
2821 test -z "$ac_c_werror_flag" ||
2822 test ! -s conftest.err
2823 } && test -s conftest.$ac_objext; then
2826 echo "$as_me: failed program was:" >&5
2827 sed 's/^/| /' conftest.$ac_ext >&5
2832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2839 ac_c_werror_flag=$ac_save_c_werror_flag
2841 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2842 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2843 if test "$ac_test_CFLAGS" = set; then
2844 CFLAGS=$ac_save_CFLAGS
2845 elif test $ac_cv_prog_cc_g = yes; then
2846 if test "$GCC" = yes; then
2852 if test "$GCC" = yes; then
2858 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2859 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2860 if test "${ac_cv_prog_cc_c89+set}" = set; then
2861 echo $ECHO_N "(cached) $ECHO_C" >&6
2863 ac_cv_prog_cc_c89=no
2865 cat >conftest.$ac_ext <<_ACEOF
2868 cat confdefs.h >>conftest.$ac_ext
2869 cat >>conftest.$ac_ext <<_ACEOF
2870 /* end confdefs.h. */
2873 #include <sys/types.h>
2874 #include <sys/stat.h>
2875 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2876 struct buf { int x; };
2877 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2878 static char *e (p, i)
2884 static char *f (char * (*g) (char **, int), char **p, ...)
2889 s = g (p, va_arg (v,int));
2894 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2895 function prototypes and stuff, but not '\xHH' hex character constants.
2896 These don't provoke an error unfortunately, instead are silently treated
2897 as 'x'. The following induces an error, until -std is added to get
2898 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2899 array size at least. It's necessary to write '\x00'==0 to get something
2900 that's true only with -std. */
2901 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2903 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2904 inside strings and character constants. */
2906 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2908 int test (int i, double x);
2909 struct s1 {int (*f) (int a);};
2910 struct s2 {int (*f) (double a);};
2911 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2917 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2922 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2923 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2925 CC="$ac_save_CC $ac_arg"
2926 rm -f conftest.$ac_objext
2927 if { (ac_try="$ac_compile"
2929 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2930 *) ac_try_echo
=$ac_try;;
2932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2933 (eval "$ac_compile") 2>conftest.er1
2935 grep -v '^ *+' conftest.er1
>conftest.err
2937 cat conftest.err
>&5
2938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 (exit $ac_status); } && {
2940 test -z "$ac_c_werror_flag" ||
2941 test ! -s conftest.err
2942 } && test -s conftest.
$ac_objext; then
2943 ac_cv_prog_cc_c89
=$ac_arg
2945 echo "$as_me: failed program was:" >&5
2946 sed 's/^/| /' conftest.
$ac_ext >&5
2951 rm -f core conftest.err conftest.
$ac_objext
2952 test "x$ac_cv_prog_cc_c89" != "xno" && break
2954 rm -f conftest.
$ac_ext
2959 case "x$ac_cv_prog_cc_c89" in
2961 { echo "$as_me:$LINENO: result: none needed" >&5
2962 echo "${ECHO_T}none needed" >&6; } ;;
2964 { echo "$as_me:$LINENO: result: unsupported" >&5
2965 echo "${ECHO_T}unsupported" >&6; } ;;
2967 CC
="$CC $ac_cv_prog_cc_c89"
2968 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2969 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2974 ac_cpp
='$CPP $CPPFLAGS'
2975 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2976 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2977 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2979 case $ac_cv_prog_cc_stdc in
2980 no
) ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;;
2981 *) { echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
2982 echo $ECHO_N "checking for $CC option to accept ISO C99... $ECHO_C" >&6; }
2983 if test "${ac_cv_prog_cc_c99+set}" = set; then
2984 echo $ECHO_N "(cached) $ECHO_C" >&6
2986 ac_cv_prog_cc_c99
=no
2988 cat >conftest.
$ac_ext <<_ACEOF
2991 cat confdefs.h
>>conftest.
$ac_ext
2992 cat >>conftest.
$ac_ext <<_ACEOF
2993 /* end confdefs.h. */
2995 #include <stdbool.h>
3000 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3001 #define debug(...) fprintf (stderr, __VA_ARGS__)
3002 #define showlist(...) puts (#__VA_ARGS__)
3003 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3005 test_varargs_macros (void)
3010 debug ("X = %d\n", x);
3011 showlist (The first, second, and third items.);
3012 report (x>y, "x is %d but y is %d", x, y);
3015 // Check long long types.
3016 #define BIG64 18446744073709551615ull
3017 #define BIG32 4294967295ul
3018 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3020 your preprocessor is broken;
3024 your preprocessor is broken;
3026 static long long int bignum = -9223372036854775807LL;
3027 static unsigned long long int ubignum = BIG64;
3029 struct incomplete_array
3037 const wchar_t *name;
3041 typedef const char *ccp;
3044 test_restrict (ccp restrict text)
3046 // See if C++-style comments work.
3047 // Iterate through items via the restricted pointer.
3048 // Also check for declarations in for loops.
3049 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3054 // Check varargs and va_copy.
3056 test_varargs (const char *format, ...)
3059 va_start (args, format);
3061 va_copy (args_copy, args);
3072 str = va_arg (args_copy, const char *);
3075 number = va_arg (args_copy, int);
3078 fnumber = va_arg (args_copy, double);
3093 _Bool success = false;
3096 if (test_restrict ("String literal") == 0)
3098 char *restrict newvar = "Another string";
3101 test_varargs ("s, d' f .", "string", 65, 34.234);
3102 test_varargs_macros ();
3104 // Check flexible array members.
3105 struct incomplete_array *ia =
3106 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3108 for (int i = 0; i < ia->datasize; ++i)
3109 ia->data[i] = i * 1.234;
3111 // Check named initializers.
3112 struct named_init ni = {
3114 .name = L"Test wide string",
3115 .average = 543.34343,
3120 int dynamic_array[ni.number];
3121 dynamic_array[ni.number - 1] = 543;
3123 // work around unused variable warnings
3124 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3125 || dynamic_array[ni.number - 1] != 543);
3131 for ac_arg
in '' -std=gnu99
-c99 -qlanglvl=extc99
3133 CC
="$ac_save_CC $ac_arg"
3134 rm -f conftest.
$ac_objext
3135 if { (ac_try
="$ac_compile"
3137 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3138 *) ac_try_echo=$ac_try;;
3140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3141 (eval "$ac_compile") 2>conftest.er1
3143 grep -v '^ *+' conftest.er1 >conftest.err
3145 cat conftest.err >&5
3146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147 (exit $ac_status); } && {
3148 test -z "$ac_c_werror_flag" ||
3149 test ! -s conftest.err
3150 } && test -s conftest.$ac_objext; then
3151 ac_cv_prog_cc_c99=$ac_arg
3153 echo "$as_me: failed program was:" >&5
3154 sed 's/^/| /' conftest.$ac_ext >&5
3159 rm -f core conftest.err conftest.$ac_objext
3160 test "x$ac_cv_prog_cc_c99" != "xno" && break
3162 rm -f conftest.$ac_ext
3167 case "x$ac_cv_prog_cc_c99" in
3169 { echo "$as_me:$LINENO: result: none needed" >&5
3170 echo "${ECHO_T}none needed" >&6; } ;;
3172 { echo "$as_me:$LINENO: result: unsupported" >&5
3173 echo "${ECHO_T}unsupported" >&6; } ;;
3175 CC="$CC $ac_cv_prog_cc_c99"
3176 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
3177 echo "${ECHO_T}$ac_cv_prog_cc_c99" >&6; } ;;
3179 if test "x$ac_cv_prog_cc_c99" != xno; then
3180 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3182 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3183 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3184 if test "${ac_cv_prog_cc_c89+set}" = set; then
3185 echo $ECHO_N "(cached) $ECHO_C" >&6
3187 ac_cv_prog_cc_c89=no
3189 cat >conftest.$ac_ext <<_ACEOF
3192 cat confdefs.h >>conftest.$ac_ext
3193 cat >>conftest.$ac_ext <<_ACEOF
3194 /* end confdefs.h. */
3197 #include <sys/types.h>
3198 #include <sys/stat.h>
3199 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3200 struct buf { int x; };
3201 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3202 static char *e (p, i)
3208 static char *f (char * (*g) (char **, int), char **p, ...)
3213 s = g (p, va_arg (v,int));
3218 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3219 function prototypes and stuff, but not '\xHH' hex character constants.
3220 These don't provoke an error unfortunately, instead are silently treated
3221 as 'x'. The following induces an error, until -std is added to get
3222 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3223 array size at least. It's necessary to write '\x00'==0 to get something
3224 that's true only with -std. */
3225 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3227 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3228 inside strings and character constants. */
3230 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3232 int test (int i, double x);
3233 struct s1 {int (*f) (int a);};
3234 struct s2 {int (*f) (double a);};
3235 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3241 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3246 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3247 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3249 CC="$ac_save_CC $ac_arg"
3250 rm -f conftest.$ac_objext
3251 if { (ac_try="$ac_compile"
3253 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3254 *) ac_try_echo
=$ac_try;;
3256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3257 (eval "$ac_compile") 2>conftest.er1
3259 grep -v '^ *+' conftest.er1
>conftest.err
3261 cat conftest.err
>&5
3262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3263 (exit $ac_status); } && {
3264 test -z "$ac_c_werror_flag" ||
3265 test ! -s conftest.err
3266 } && test -s conftest.
$ac_objext; then
3267 ac_cv_prog_cc_c89
=$ac_arg
3269 echo "$as_me: failed program was:" >&5
3270 sed 's/^/| /' conftest.
$ac_ext >&5
3275 rm -f core conftest.err conftest.
$ac_objext
3276 test "x$ac_cv_prog_cc_c89" != "xno" && break
3278 rm -f conftest.
$ac_ext
3283 case "x$ac_cv_prog_cc_c89" in
3285 { echo "$as_me:$LINENO: result: none needed" >&5
3286 echo "${ECHO_T}none needed" >&6; } ;;
3288 { echo "$as_me:$LINENO: result: unsupported" >&5
3289 echo "${ECHO_T}unsupported" >&6; } ;;
3291 CC
="$CC $ac_cv_prog_cc_c89"
3292 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3293 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3295 if test "x$ac_cv_prog_cc_c89" != xno
; then
3296 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
3298 ac_cv_prog_cc_stdc
=no
3306 { echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5
3307 echo $ECHO_N "checking for $CC option to accept ISO Standard C... $ECHO_C" >&6; }
3308 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3309 echo $ECHO_N "(cached) $ECHO_C" >&6
3312 case $ac_cv_prog_cc_stdc in
3313 no
) { echo "$as_me:$LINENO: result: unsupported" >&5
3314 echo "${ECHO_T}unsupported" >&6; } ;;
3315 '') { echo "$as_me:$LINENO: result: none needed" >&5
3316 echo "${ECHO_T}none needed" >&6; } ;;
3317 *) { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3318 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; } ;;
3323 ac_cpp
='$CPP $CPPFLAGS'
3324 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3325 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3326 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3327 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3328 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3329 # On Suns, sometimes $CPP names a directory.
3330 if test -n "$CPP" && test -d "$CPP"; then
3333 if test -z "$CPP"; then
3334 if test "${ac_cv_prog_CPP+set}" = set; then
3335 echo $ECHO_N "(cached) $ECHO_C" >&6
3337 # Double quotes because CPP needs to be expanded
3338 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3341 for ac_c_preproc_warn_flag
in '' yes
3343 # Use a header file that comes with gcc, so configuring glibc
3344 # with a fresh cross-compiler works.
3345 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3346 # <limits.h> exists even on freestanding compilers.
3347 # On the NeXT, cc -E runs the code through the compiler's parser,
3348 # not just through cpp. "Syntax error" is here to catch this case.
3349 cat >conftest.
$ac_ext <<_ACEOF
3352 cat confdefs.h
>>conftest.
$ac_ext
3353 cat >>conftest.
$ac_ext <<_ACEOF
3354 /* end confdefs.h. */
3356 # include <limits.h>
3358 # include <assert.h>
3362 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3364 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3365 *) ac_try_echo=$ac_try;;
3367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3368 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3370 grep -v '^ *+' conftest.er1 >conftest.err
3372 cat conftest.err >&5
3373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3374 (exit $ac_status); } >/dev/null && {
3375 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3376 test ! -s conftest.err
3380 echo "$as_me: failed program was:" >&5
3381 sed 's/^/| /' conftest.$ac_ext >&5
3383 # Broken: fails on valid input.
3387 rm -f conftest.err conftest.$ac_ext
3389 # OK, works on sane cases. Now check whether nonexistent headers
3390 # can be detected and how.
3391 cat >conftest.$ac_ext <<_ACEOF
3394 cat confdefs.h >>conftest.$ac_ext
3395 cat >>conftest.$ac_ext <<_ACEOF
3396 /* end confdefs.h. */
3397 #include <ac_nonexistent.h>
3399 if { (ac_try="$ac_cpp conftest.$ac_ext"
3401 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3402 *) ac_try_echo
=$ac_try;;
3404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3405 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3407 grep -v '^ *+' conftest.er1
>conftest.err
3409 cat conftest.err
>&5
3410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3411 (exit $ac_status); } >/dev
/null
&& {
3412 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3413 test ! -s conftest.err
3415 # Broken: success on invalid input.
3418 echo "$as_me: failed program was:" >&5
3419 sed 's/^/| /' conftest.
$ac_ext >&5
3421 # Passes both tests.
3426 rm -f conftest.err conftest.
$ac_ext
3429 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3430 rm -f conftest.err conftest.
$ac_ext
3431 if $ac_preproc_ok; then
3443 { echo "$as_me:$LINENO: result: $CPP" >&5
3444 echo "${ECHO_T}$CPP" >&6; }
3446 for ac_c_preproc_warn_flag
in '' yes
3448 # Use a header file that comes with gcc, so configuring glibc
3449 # with a fresh cross-compiler works.
3450 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3451 # <limits.h> exists even on freestanding compilers.
3452 # On the NeXT, cc -E runs the code through the compiler's parser,
3453 # not just through cpp. "Syntax error" is here to catch this case.
3454 cat >conftest.
$ac_ext <<_ACEOF
3457 cat confdefs.h
>>conftest.
$ac_ext
3458 cat >>conftest.
$ac_ext <<_ACEOF
3459 /* end confdefs.h. */
3461 # include <limits.h>
3463 # include <assert.h>
3467 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3469 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3470 *) ac_try_echo=$ac_try;;
3472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3473 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3475 grep -v '^ *+' conftest.er1 >conftest.err
3477 cat conftest.err >&5
3478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3479 (exit $ac_status); } >/dev/null && {
3480 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3481 test ! -s conftest.err
3485 echo "$as_me: failed program was:" >&5
3486 sed 's/^/| /' conftest.$ac_ext >&5
3488 # Broken: fails on valid input.
3492 rm -f conftest.err conftest.$ac_ext
3494 # OK, works on sane cases. Now check whether nonexistent headers
3495 # can be detected and how.
3496 cat >conftest.$ac_ext <<_ACEOF
3499 cat confdefs.h >>conftest.$ac_ext
3500 cat >>conftest.$ac_ext <<_ACEOF
3501 /* end confdefs.h. */
3502 #include <ac_nonexistent.h>
3504 if { (ac_try="$ac_cpp conftest.$ac_ext"
3506 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3507 *) ac_try_echo
=$ac_try;;
3509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3510 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3512 grep -v '^ *+' conftest.er1
>conftest.err
3514 cat conftest.err
>&5
3515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3516 (exit $ac_status); } >/dev
/null
&& {
3517 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3518 test ! -s conftest.err
3520 # Broken: success on invalid input.
3523 echo "$as_me: failed program was:" >&5
3524 sed 's/^/| /' conftest.
$ac_ext >&5
3526 # Passes both tests.
3531 rm -f conftest.err conftest.
$ac_ext
3534 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3535 rm -f conftest.err conftest.
$ac_ext
3536 if $ac_preproc_ok; then
3539 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3540 See \`config.log' for more details." >&5
3541 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3542 See \`config.log' for more details." >&2;}
3543 { (exit 1); exit 1; }; }
3547 ac_cpp
='$CPP $CPPFLAGS'
3548 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3549 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3550 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3553 # Check for a compatible awk
3554 for ac_prog
in gawk nawk
3556 # Extract the first word of "$ac_prog", so it can be a program name with args.
3557 set dummy
$ac_prog; ac_word
=$2
3558 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3560 if test "${ac_cv_prog_AWK+set}" = set; then
3561 echo $ECHO_N "(cached) $ECHO_C" >&6
3563 if test -n "$AWK"; then
3564 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3570 test -z "$as_dir" && as_dir
=.
3571 for ac_exec_ext
in '' $ac_executable_extensions; do
3572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3573 ac_cv_prog_AWK
="$ac_prog"
3574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3584 if test -n "$AWK"; then
3585 { echo "$as_me:$LINENO: result: $AWK" >&5
3586 echo "${ECHO_T}$AWK" >&6; }
3588 { echo "$as_me:$LINENO: result: no" >&5
3589 echo "${ECHO_T}no" >&6; }
3593 test -n "$AWK" && break
3596 if test "$AWK" = ""; then
3597 { { echo "$as_me:$LINENO: error: gawk is required to build AROS. Please install and run configure again." >&5
3598 echo "$as_me: error: gawk is required to build AROS. Please install and run configure again." >&2;}
3599 { (exit 1); exit 1; }; }
3601 # Extract the first word of "mmake", so it can be a program name with args.
3602 set dummy mmake
; ac_word
=$2
3603 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3605 if test "${ac_cv_prog_MMAKE+set}" = set; then
3606 echo $ECHO_N "(cached) $ECHO_C" >&6
3608 if test -n "$MMAKE"; then
3609 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
3611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3615 test -z "$as_dir" && as_dir
=.
3616 for ac_exec_ext
in '' $ac_executable_extensions; do
3617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3618 ac_cv_prog_MMAKE
="mmake "
3619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3628 MMAKE
=$ac_cv_prog_MMAKE
3629 if test -n "$MMAKE"; then
3630 { echo "$as_me:$LINENO: result: $MMAKE" >&5
3631 echo "${ECHO_T}$MMAKE" >&6; }
3633 { echo "$as_me:$LINENO: result: no" >&5
3634 echo "${ECHO_T}no" >&6; }
3639 # Perform some default variable assignments. Note all of these will be
3640 # Regenerated from the script, so there is no need to cache them.
3643 if test "$GCC" = "yes"; then
3644 aros_gcc_ld
=`$CC -print-prog-name=ld`
3645 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
3646 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
3647 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3649 if test "${ac_cv_path_aros_host_ld+set}" = set; then
3650 echo $ECHO_N "(cached) $ECHO_C" >&6
3652 case $aros_host_ld in
3654 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3658 for as_dir
in `dirname $aros_gcc_ld`
3661 test -z "$as_dir" && as_dir
=.
3662 for ac_exec_ext
in '' $ac_executable_extensions; do
3663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3664 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3675 aros_host_ld
=$ac_cv_path_aros_host_ld
3676 if test -n "$aros_host_ld"; then
3677 { echo "$as_me:$LINENO: result: $aros_host_ld" >&5
3678 echo "${ECHO_T}$aros_host_ld" >&6; }
3680 { echo "$as_me:$LINENO: result: no" >&5
3681 echo "${ECHO_T}no" >&6; }
3686 if test "$aros_host_ld" = ""; then
3687 # Extract the first word of "ld", so it can be a program name with args.
3688 set dummy ld
; ac_word
=$2
3689 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3691 if test "${ac_cv_path_aros_host_ld+set}" = set; then
3692 echo $ECHO_N "(cached) $ECHO_C" >&6
3694 case $aros_host_ld in
3696 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3703 test -z "$as_dir" && as_dir
=.
3704 for ac_exec_ext
in '' $ac_executable_extensions; do
3705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3706 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3717 aros_host_ld
=$ac_cv_path_aros_host_ld
3718 if test -n "$aros_host_ld"; then
3719 { echo "$as_me:$LINENO: result: $aros_host_ld" >&5
3720 echo "${ECHO_T}$aros_host_ld" >&6; }
3722 { echo "$as_me:$LINENO: result: no" >&5
3723 echo "${ECHO_T}no" >&6; }
3728 if test "$aros_host_ld" = ""; then
3729 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
3730 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
3731 { (exit 1); exit 1; }; }
3733 aros_host_make
="make"
3734 aros_host_cflags
=$CFLAGS
3735 aros_host_ldflags
=$LDFLAGS
3736 aros_host_debug
="-g -O0"
3737 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
3738 aros_host_mkargs
="--no-print-directory"
3739 aros_host_incl
="/usr/include"
3740 aros_host_exe_suffix
="$EXEEXT"
3741 aros_host_lib_suffix
=""
3743 for ac_prog
in aclocal aclocal19 aclocal-1.9
3745 # Extract the first word of "$ac_prog", so it can be a program name with args.
3746 set dummy
$ac_prog; ac_word
=$2
3747 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3749 if test "${ac_cv_prog_aros_host_aclocal+set}" = set; then
3750 echo $ECHO_N "(cached) $ECHO_C" >&6
3752 if test -n "$aros_host_aclocal"; then
3753 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
3755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3759 test -z "$as_dir" && as_dir
=.
3760 for ac_exec_ext
in '' $ac_executable_extensions; do
3761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3762 ac_cv_prog_aros_host_aclocal
="$ac_prog"
3763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3772 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
3773 if test -n "$aros_host_aclocal"; then
3774 { echo "$as_me:$LINENO: result: $aros_host_aclocal" >&5
3775 echo "${ECHO_T}$aros_host_aclocal" >&6; }
3777 { echo "$as_me:$LINENO: result: no" >&5
3778 echo "${ECHO_T}no" >&6; }
3782 test -n "$aros_host_aclocal" && break
3785 for ac_prog
in autoconf autoconf259 autoconf253
3787 # Extract the first word of "$ac_prog", so it can be a program name with args.
3788 set dummy
$ac_prog; ac_word
=$2
3789 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3791 if test "${ac_cv_prog_aros_host_autoconf+set}" = set; then
3792 echo $ECHO_N "(cached) $ECHO_C" >&6
3794 if test -n "$aros_host_autoconf"; then
3795 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
3797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3801 test -z "$as_dir" && as_dir
=.
3802 for ac_exec_ext
in '' $ac_executable_extensions; do
3803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3804 ac_cv_prog_aros_host_autoconf
="$ac_prog"
3805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3814 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
3815 if test -n "$aros_host_autoconf"; then
3816 { echo "$as_me:$LINENO: result: $aros_host_autoconf" >&5
3817 echo "${ECHO_T}$aros_host_autoconf" >&6; }
3819 { echo "$as_me:$LINENO: result: no" >&5
3820 echo "${ECHO_T}no" >&6; }
3824 test -n "$aros_host_autoconf" && break
3827 for ac_prog
in autoheader autoheader259 autoheader253
3829 # Extract the first word of "$ac_prog", so it can be a program name with args.
3830 set dummy
$ac_prog; ac_word
=$2
3831 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3833 if test "${ac_cv_prog_aros_host_autoheader+set}" = set; then
3834 echo $ECHO_N "(cached) $ECHO_C" >&6
3836 if test -n "$aros_host_autoheader"; then
3837 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
3839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3843 test -z "$as_dir" && as_dir
=.
3844 for ac_exec_ext
in '' $ac_executable_extensions; do
3845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3846 ac_cv_prog_aros_host_autoheader
="$ac_prog"
3847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3856 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
3857 if test -n "$aros_host_autoheader"; then
3858 { echo "$as_me:$LINENO: result: $aros_host_autoheader" >&5
3859 echo "${ECHO_T}$aros_host_autoheader" >&6; }
3861 { echo "$as_me:$LINENO: result: no" >&5
3862 echo "${ECHO_T}no" >&6; }
3866 test -n "$aros_host_autoheader" && break
3869 for ac_prog
in automake automake19 automake-1.9
3871 # Extract the first word of "$ac_prog", so it can be a program name with args.
3872 set dummy
$ac_prog; ac_word
=$2
3873 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3875 if test "${ac_cv_prog_aros_host_automake+set}" = set; then
3876 echo $ECHO_N "(cached) $ECHO_C" >&6
3878 if test -n "$aros_host_automake"; then
3879 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
3881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3885 test -z "$as_dir" && as_dir
=.
3886 for ac_exec_ext
in '' $ac_executable_extensions; do
3887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3888 ac_cv_prog_aros_host_automake
="$ac_prog"
3889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3898 aros_host_automake
=$ac_cv_prog_aros_host_automake
3899 if test -n "$aros_host_automake"; then
3900 { echo "$as_me:$LINENO: result: $aros_host_automake" >&5
3901 echo "${ECHO_T}$aros_host_automake" >&6; }
3903 { echo "$as_me:$LINENO: result: no" >&5
3904 echo "${ECHO_T}no" >&6; }
3908 test -n "$aros_host_automake" && break
3912 if test "$aros_host_aclocal" = ""; then
3913 { { echo "$as_me:$LINENO: error: aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." >&5
3914 echo "$as_me: error: aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." >&2;}
3915 { (exit 1); exit 1; }; }
3917 if test "$aros_host_automake" = ""; then
3918 { { echo "$as_me:$LINENO: error: automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." >&5
3919 echo "$as_me: error: automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." >&2;}
3920 { (exit 1); exit 1; }; }
3923 case "$aros_host_cc" in
3925 aros_host_cc_pipe
="-pipe"
3928 aros_host_cc_pipe
=""
3931 aros_host_cc_pipe
=""
3935 aros_target_cc_includes
=""
3937 # This is the main host configuration section. It is where the host
3938 # can change the values of any variables it needs to change. We do
3939 # not look at anything that compiles to the target yet, we'll get
3944 aros_host_arch
="linux"
3945 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3948 aros_host_cpu
="i386"
3951 aros_host_cpu
="x86_64"
3954 aros_host_cpu
="m68k"
3960 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
3961 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
3962 aros_host_cpu
="$host_cpu"
3968 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
3969 aros_host_make
="gmake"
3970 aros_host_arch
="freebsd"
3971 aros_host_cpu
="i386"
3973 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
3978 aros_object_format
="elf_i386"
3982 aros_object_format
="elf_i386_fbsd"
3989 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3990 aros_host_arch
="darwin"
3993 aros_host_cpu
="i386"
3999 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4000 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4001 aros_host_cpu
="$host_cpu"
4005 aros_host_ldflags
="$aros_host_ldflags -liconv"
4010 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4011 aros_host_make
="gmake"
4012 aros_host_arch
="netbsd"
4015 aros_host_cpu
="i386"
4018 aros_host_cpu
="m68k"
4021 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4022 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4023 aros_host_cpu
="$host_cpu"
4026 aros_host_lib_suffix
=".0.0"
4030 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4031 aros_host_make
="gmake"
4032 aros_host_arch
="openbsd"
4035 aros_host_cpu
="i386"
4038 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4039 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4040 aros_host_cpu
="$host_cpu"
4046 aros_host_arch
="solaris"
4047 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4050 aros_host_cpu
="i386"
4053 aros_host_cpu
="sparc"
4056 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4057 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4058 aros_host_cpu
="$host_cpu"
4064 aros_host_arch
="morphos"
4069 aros_host_arch
="amiga"
4074 TOUCH
="/gg/bin/touch"
4077 aros_host_cpu
="m68k"
4083 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4084 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4085 aros_host_cpu
="$host_cpu"
4091 aros_host_arch
="cygwin"
4092 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4095 aros_host_cpu
="i386"
4098 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4099 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4100 aros_host_cpu
="$host_cpu"
4106 aros_host_arch
="mingw32"
4107 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4110 aros_host_cpu
="i386"
4113 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4114 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4115 aros_host_cpu
="$host_cpu"
4120 { { echo "$as_me:$LINENO: error: Unsupported host architecture $host" >&5
4121 echo "$as_me: error: Unsupported host architecture $host" >&2;}
4122 { (exit 1); exit 1; }; }
4126 # Extract the first word of "ar", so it can be a program name with args.
4127 set dummy
ar; ac_word
=$2
4128 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4130 if test "${ac_cv_prog_aros_host_ar+set}" = set; then
4131 echo $ECHO_N "(cached) $ECHO_C" >&6
4133 if test -n "$aros_host_ar"; then
4134 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4140 test -z "$as_dir" && as_dir
=.
4141 for ac_exec_ext
in '' $ac_executable_extensions; do
4142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4143 ac_cv_prog_aros_host_ar
="ar cr"
4144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4153 aros_host_ar
=$ac_cv_prog_aros_host_ar
4154 if test -n "$aros_host_ar"; then
4155 { echo "$as_me:$LINENO: result: $aros_host_ar" >&5
4156 echo "${ECHO_T}$aros_host_ar" >&6; }
4158 { echo "$as_me:$LINENO: result: no" >&5
4159 echo "${ECHO_T}no" >&6; }
4163 if test "$aros_host_ar" = ""; then
4164 { { echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
4165 echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
4166 { (exit 1); exit 1; }; }
4168 # Extract the first word of "ranlib", so it can be a program name with args.
4169 set dummy ranlib
; ac_word
=$2
4170 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4172 if test "${ac_cv_prog_aros_host_ranlib+set}" = set; then
4173 echo $ECHO_N "(cached) $ECHO_C" >&6
4175 if test -n "$aros_host_ranlib"; then
4176 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4182 test -z "$as_dir" && as_dir
=.
4183 for ac_exec_ext
in '' $ac_executable_extensions; do
4184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4185 ac_cv_prog_aros_host_ranlib
="ranlib "
4186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4195 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4196 if test -n "$aros_host_ranlib"; then
4197 { echo "$as_me:$LINENO: result: $aros_host_ranlib" >&5
4198 echo "${ECHO_T}$aros_host_ranlib" >&6; }
4200 { echo "$as_me:$LINENO: result: no" >&5
4201 echo "${ECHO_T}no" >&6; }
4205 if test "$aros_host_ranlib" = ""; then
4206 { { echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
4207 echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
4208 { (exit 1); exit 1; }; }
4210 # Extract the first word of "strip", so it can be a program name with args.
4211 set dummy strip
; ac_word
=$2
4212 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4214 if test "${ac_cv_prog_aros_host_strip+set}" = set; then
4215 echo $ECHO_N "(cached) $ECHO_C" >&6
4217 if test -n "$aros_host_strip"; then
4218 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4220 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4224 test -z "$as_dir" && as_dir
=.
4225 for ac_exec_ext
in '' $ac_executable_extensions; do
4226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4227 ac_cv_prog_aros_host_strip
="strip "
4228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4237 aros_host_strip
=$ac_cv_prog_aros_host_strip
4238 if test -n "$aros_host_strip"; then
4239 { echo "$as_me:$LINENO: result: $aros_host_strip" >&5
4240 echo "${ECHO_T}$aros_host_strip" >&6; }
4242 { echo "$as_me:$LINENO: result: no" >&5
4243 echo "${ECHO_T}no" >&6; }
4247 if test "$aros_host_strip" = ""; then
4248 { { echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
4249 echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
4250 { (exit 1); exit 1; }; }
4253 # Extract the first word of "rm", so it can be a program name with args.
4254 set dummy
rm; ac_word
=$2
4255 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4257 if test "${ac_cv_prog_RM+set}" = set; then
4258 echo $ECHO_N "(cached) $ECHO_C" >&6
4260 if test -n "$RM"; then
4261 ac_cv_prog_RM
="$RM" # Let the user override the test.
4263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4267 test -z "$as_dir" && as_dir
=.
4268 for ac_exec_ext
in '' $ac_executable_extensions; do
4269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4270 ac_cv_prog_RM
="rm -rf"
4271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4281 if test -n "$RM"; then
4282 { echo "$as_me:$LINENO: result: $RM" >&5
4283 echo "${ECHO_T}$RM" >&6; }
4285 { echo "$as_me:$LINENO: result: no" >&5
4286 echo "${ECHO_T}no" >&6; }
4290 if test "$RM" = ""; then
4291 { { echo "$as_me:$LINENO: error: rm is required to build AROS. Please install and run configure again." >&5
4292 echo "$as_me: error: rm is required to build AROS. Please install and run configure again." >&2;}
4293 { (exit 1); exit 1; }; }
4295 # Extract the first word of "cp", so it can be a program name with args.
4296 set dummy
cp; ac_word
=$2
4297 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4299 if test "${ac_cv_prog_CP+set}" = set; then
4300 echo $ECHO_N "(cached) $ECHO_C" >&6
4302 if test -n "$CP"; then
4303 ac_cv_prog_CP
="$CP" # Let the user override the test.
4305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4309 test -z "$as_dir" && as_dir
=.
4310 for ac_exec_ext
in '' $ac_executable_extensions; do
4311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4323 if test -n "$CP"; then
4324 { echo "$as_me:$LINENO: result: $CP" >&5
4325 echo "${ECHO_T}$CP" >&6; }
4327 { echo "$as_me:$LINENO: result: no" >&5
4328 echo "${ECHO_T}no" >&6; }
4332 if test "$CP" = ""; then
4333 { { echo "$as_me:$LINENO: error: cp is required to build AROS. Please install and run configure again." >&5
4334 echo "$as_me: error: cp is required to build AROS. Please install and run configure again." >&2;}
4335 { (exit 1); exit 1; }; }
4337 # Extract the first word of "mv", so it can be a program name with args.
4338 set dummy
mv; ac_word
=$2
4339 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4341 if test "${ac_cv_prog_MV+set}" = set; then
4342 echo $ECHO_N "(cached) $ECHO_C" >&6
4344 if test -n "$MV"; then
4345 ac_cv_prog_MV
="$MV" # Let the user override the test.
4347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4351 test -z "$as_dir" && as_dir
=.
4352 for ac_exec_ext
in '' $ac_executable_extensions; do
4353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4365 if test -n "$MV"; then
4366 { echo "$as_me:$LINENO: result: $MV" >&5
4367 echo "${ECHO_T}$MV" >&6; }
4369 { echo "$as_me:$LINENO: result: no" >&5
4370 echo "${ECHO_T}no" >&6; }
4374 if test "$MV" = ""; then
4375 { { echo "$as_me:$LINENO: error: mv is required to build AROS. Please install and run configure again." >&5
4376 echo "$as_me: error: mv is required to build AROS. Please install and run configure again." >&2;}
4377 { (exit 1); exit 1; }; }
4379 # Extract the first word of "echo", so it can be a program name with args.
4380 set dummy
echo; ac_word
=$2
4381 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4383 if test "${ac_cv_prog_ECHO+set}" = set; then
4384 echo $ECHO_N "(cached) $ECHO_C" >&6
4386 if test -n "$ECHO"; then
4387 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
4389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4393 test -z "$as_dir" && as_dir
=.
4394 for ac_exec_ext
in '' $ac_executable_extensions; do
4395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4396 ac_cv_prog_ECHO
="echo "
4397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4406 ECHO
=$ac_cv_prog_ECHO
4407 if test -n "$ECHO"; then
4408 { echo "$as_me:$LINENO: result: $ECHO" >&5
4409 echo "${ECHO_T}$ECHO" >&6; }
4411 { echo "$as_me:$LINENO: result: no" >&5
4412 echo "${ECHO_T}no" >&6; }
4416 if test "$ECHO" = ""; then
4417 { { echo "$as_me:$LINENO: error: echo is required to build AROS. Please install and run configure again." >&5
4418 echo "$as_me: error: echo is required to build AROS. Please install and run configure again." >&2;}
4419 { (exit 1); exit 1; }; }
4421 # Extract the first word of "mkdir", so it can be a program name with args.
4422 set dummy mkdir
; ac_word
=$2
4423 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4425 if test "${ac_cv_prog_MKDIR+set}" = set; then
4426 echo $ECHO_N "(cached) $ECHO_C" >&6
4428 if test -n "$MKDIR"; then
4429 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
4431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4435 test -z "$as_dir" && as_dir
=.
4436 for ac_exec_ext
in '' $ac_executable_extensions; do
4437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4438 ac_cv_prog_MKDIR
="mkdir -p"
4439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4448 MKDIR
=$ac_cv_prog_MKDIR
4449 if test -n "$MKDIR"; then
4450 { echo "$as_me:$LINENO: result: $MKDIR" >&5
4451 echo "${ECHO_T}$MKDIR" >&6; }
4453 { echo "$as_me:$LINENO: result: no" >&5
4454 echo "${ECHO_T}no" >&6; }
4458 if test "$MKDIR" = ""; then
4459 { { echo "$as_me:$LINENO: error: mkdir is required to build AROS. Please install and run configure again." >&5
4460 echo "$as_me: error: mkdir is required to build AROS. Please install and run configure again." >&2;}
4461 { (exit 1); exit 1; }; }
4463 # Extract the first word of "touch", so it can be a program name with args.
4464 set dummy
touch; ac_word
=$2
4465 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4466 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4467 if test "${ac_cv_prog_TOUCH+set}" = set; then
4468 echo $ECHO_N "(cached) $ECHO_C" >&6
4470 if test -n "$TOUCH"; then
4471 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
4473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4477 test -z "$as_dir" && as_dir
=.
4478 for ac_exec_ext
in '' $ac_executable_extensions; do
4479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4480 ac_cv_prog_TOUCH
="touch "
4481 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4490 TOUCH
=$ac_cv_prog_TOUCH
4491 if test -n "$TOUCH"; then
4492 { echo "$as_me:$LINENO: result: $TOUCH" >&5
4493 echo "${ECHO_T}$TOUCH" >&6; }
4495 { echo "$as_me:$LINENO: result: no" >&5
4496 echo "${ECHO_T}no" >&6; }
4500 if test "$TOUCH" = ""; then
4501 { { echo "$as_me:$LINENO: error: touch is required to build AROS. Please install and run configure again." >&5
4502 echo "$as_me: error: touch is required to build AROS. Please install and run configure again." >&2;}
4503 { (exit 1); exit 1; }; }
4505 # Extract the first word of "sort", so it can be a program name with args.
4506 set dummy
sort; ac_word
=$2
4507 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4509 if test "${ac_cv_prog_SORT+set}" = set; then
4510 echo $ECHO_N "(cached) $ECHO_C" >&6
4512 if test -n "$SORT"; then
4513 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
4515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4519 test -z "$as_dir" && as_dir
=.
4520 for ac_exec_ext
in '' $ac_executable_extensions; do
4521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4522 ac_cv_prog_SORT
="sort "
4523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4532 SORT
=$ac_cv_prog_SORT
4533 if test -n "$SORT"; then
4534 { echo "$as_me:$LINENO: result: $SORT" >&5
4535 echo "${ECHO_T}$SORT" >&6; }
4537 { echo "$as_me:$LINENO: result: no" >&5
4538 echo "${ECHO_T}no" >&6; }
4542 if test "$SORT" = ""; then
4543 { { echo "$as_me:$LINENO: error: sort is required to build AROS. Please install and run configure again." >&5
4544 echo "$as_me: error: sort is required to build AROS. Please install and run configure again." >&2;}
4545 { (exit 1); exit 1; }; }
4547 # Extract the first word of "uniq", so it can be a program name with args.
4548 set dummy
uniq; ac_word
=$2
4549 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4551 if test "${ac_cv_prog_UNIQ+set}" = set; then
4552 echo $ECHO_N "(cached) $ECHO_C" >&6
4554 if test -n "$UNIQ"; then
4555 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
4557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4561 test -z "$as_dir" && as_dir
=.
4562 for ac_exec_ext
in '' $ac_executable_extensions; do
4563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4564 ac_cv_prog_UNIQ
="uniq "
4565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4574 UNIQ
=$ac_cv_prog_UNIQ
4575 if test -n "$UNIQ"; then
4576 { echo "$as_me:$LINENO: result: $UNIQ" >&5
4577 echo "${ECHO_T}$UNIQ" >&6; }
4579 { echo "$as_me:$LINENO: result: no" >&5
4580 echo "${ECHO_T}no" >&6; }
4584 if test "$UNIQ" = ""; then
4585 { { echo "$as_me:$LINENO: error: uniq is required to build AROS. Please install and run configure again." >&5
4586 echo "$as_me: error: uniq is required to build AROS. Please install and run configure again." >&2;}
4587 { (exit 1); exit 1; }; }
4589 # Extract the first word of "true", so it can be a program name with args.
4590 set dummy true
; ac_word
=$2
4591 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4593 if test "${ac_cv_prog_NOP+set}" = set; then
4594 echo $ECHO_N "(cached) $ECHO_C" >&6
4596 if test -n "$NOP"; then
4597 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
4599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4603 test -z "$as_dir" && as_dir
=.
4604 for ac_exec_ext
in '' $ac_executable_extensions; do
4605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4606 ac_cv_prog_NOP
="true "
4607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4617 if test -n "$NOP"; then
4618 { echo "$as_me:$LINENO: result: $NOP" >&5
4619 echo "${ECHO_T}$NOP" >&6; }
4621 { echo "$as_me:$LINENO: result: no" >&5
4622 echo "${ECHO_T}no" >&6; }
4626 if test "$NOP" = ""; then
4627 { { echo "$as_me:$LINENO: error: true is required to build AROS. Please install and run configure again." >&5
4628 echo "$as_me: error: true is required to build AROS. Please install and run configure again." >&2;}
4629 { (exit 1); exit 1; }; }
4631 # Extract the first word of "cat", so it can be a program name with args.
4632 set dummy
cat; ac_word
=$2
4633 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4634 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4635 if test "${ac_cv_prog_CAT+set}" = set; then
4636 echo $ECHO_N "(cached) $ECHO_C" >&6
4638 if test -n "$CAT"; then
4639 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
4641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4645 test -z "$as_dir" && as_dir
=.
4646 for ac_exec_ext
in '' $ac_executable_extensions; do
4647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4648 ac_cv_prog_CAT
="cat "
4649 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4659 if test -n "$CAT"; then
4660 { echo "$as_me:$LINENO: result: $CAT" >&5
4661 echo "${ECHO_T}$CAT" >&6; }
4663 { echo "$as_me:$LINENO: result: no" >&5
4664 echo "${ECHO_T}no" >&6; }
4668 if test "$CAT" = ""; then
4669 { { echo "$as_me:$LINENO: error: cat is required to build AROS. Please install and run configure again." >&5
4670 echo "$as_me: error: cat is required to build AROS. Please install and run configure again." >&2;}
4671 { (exit 1); exit 1; }; }
4673 # Extract the first word of "bison", so it can be a program name with args.
4674 set dummy bison
; ac_word
=$2
4675 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4677 if test "${ac_cv_prog_BISON+set}" = set; then
4678 echo $ECHO_N "(cached) $ECHO_C" >&6
4680 if test -n "$BISON"; then
4681 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4687 test -z "$as_dir" && as_dir
=.
4688 for ac_exec_ext
in '' $ac_executable_extensions; do
4689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4690 ac_cv_prog_BISON
="bison "
4691 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4700 BISON
=$ac_cv_prog_BISON
4701 if test -n "$BISON"; then
4702 { echo "$as_me:$LINENO: result: $BISON" >&5
4703 echo "${ECHO_T}$BISON" >&6; }
4705 { echo "$as_me:$LINENO: result: no" >&5
4706 echo "${ECHO_T}no" >&6; }
4710 if test "$BISON" = ""; then
4711 { { echo "$as_me:$LINENO: error: bison is required to build AROS. Please install and run configure again." >&5
4712 echo "$as_me: error: bison is required to build AROS. Please install and run configure again." >&2;}
4713 { (exit 1); exit 1; }; }
4715 # Extract the first word of "flex", so it can be a program name with args.
4716 set dummy flex
; ac_word
=$2
4717 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4719 if test "${ac_cv_prog_FLEX+set}" = set; then
4720 echo $ECHO_N "(cached) $ECHO_C" >&6
4722 if test -n "$FLEX"; then
4723 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4729 test -z "$as_dir" && as_dir
=.
4730 for ac_exec_ext
in '' $ac_executable_extensions; do
4731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4732 ac_cv_prog_FLEX
="flex "
4733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4742 FLEX
=$ac_cv_prog_FLEX
4743 if test -n "$FLEX"; then
4744 { echo "$as_me:$LINENO: result: $FLEX" >&5
4745 echo "${ECHO_T}$FLEX" >&6; }
4747 { echo "$as_me:$LINENO: result: no" >&5
4748 echo "${ECHO_T}no" >&6; }
4752 if test "$FLEX" = ""; then
4753 { { echo "$as_me:$LINENO: error: flex is required to build AROS. Please install and run configure again." >&5
4754 echo "$as_me: error: flex is required to build AROS. Please install and run configure again." >&2;}
4755 { (exit 1); exit 1; }; }
4757 # Extract the first word of "pngtopnm", so it can be a program name with args.
4758 set dummy pngtopnm
; ac_word
=$2
4759 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4761 if test "${ac_cv_prog_PNGTOPNM+set}" = set; then
4762 echo $ECHO_N "(cached) $ECHO_C" >&6
4764 if test -n "$PNGTOPNM"; then
4765 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
4767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4771 test -z "$as_dir" && as_dir
=.
4772 for ac_exec_ext
in '' $ac_executable_extensions; do
4773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4774 ac_cv_prog_PNGTOPNM
="pngtopnm "
4775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4784 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
4785 if test -n "$PNGTOPNM"; then
4786 { echo "$as_me:$LINENO: result: $PNGTOPNM" >&5
4787 echo "${ECHO_T}$PNGTOPNM" >&6; }
4789 { echo "$as_me:$LINENO: result: no" >&5
4790 echo "${ECHO_T}no" >&6; }
4794 if test "$PNGTOPNM" = ""; then
4795 { { echo "$as_me:$LINENO: error: pngtopnm is required to build AROS. Please install and run configure again." >&5
4796 echo "$as_me: error: pngtopnm is required to build AROS. Please install and run configure again." >&2;}
4797 { (exit 1); exit 1; }; }
4799 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
4800 set dummy ppmtoilbm
; ac_word
=$2
4801 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4803 if test "${ac_cv_prog_PPMTOILBM+set}" = set; then
4804 echo $ECHO_N "(cached) $ECHO_C" >&6
4806 if test -n "$PPMTOILBM"; then
4807 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
4809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4813 test -z "$as_dir" && as_dir
=.
4814 for ac_exec_ext
in '' $ac_executable_extensions; do
4815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4816 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
4817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4826 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
4827 if test -n "$PPMTOILBM"; then
4828 { echo "$as_me:$LINENO: result: $PPMTOILBM" >&5
4829 echo "${ECHO_T}$PPMTOILBM" >&6; }
4831 { echo "$as_me:$LINENO: result: no" >&5
4832 echo "${ECHO_T}no" >&6; }
4836 if test "$PPMTOILBM" = ""; then
4837 { { echo "$as_me:$LINENO: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&5
4838 echo "$as_me: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&2;}
4839 { (exit 1); exit 1; }; }
4841 # Extract the first word of "sed", so it can be a program name with args.
4842 set dummy
sed; ac_word
=$2
4843 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4845 if test "${ac_cv_prog_SED+set}" = set; then
4846 echo $ECHO_N "(cached) $ECHO_C" >&6
4848 if test -n "$SED"; then
4849 ac_cv_prog_SED
="$SED" # Let the user override the test.
4851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4855 test -z "$as_dir" && as_dir
=.
4856 for ac_exec_ext
in '' $ac_executable_extensions; do
4857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4858 ac_cv_prog_SED
="sed "
4859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4869 if test -n "$SED"; then
4870 { echo "$as_me:$LINENO: result: $SED" >&5
4871 echo "${ECHO_T}$SED" >&6; }
4873 { echo "$as_me:$LINENO: result: no" >&5
4874 echo "${ECHO_T}no" >&6; }
4878 if test "$SED" = ""; then
4879 { { echo "$as_me:$LINENO: error: sed is required to build AROS. Please install and run configure again." >&5
4880 echo "$as_me: error: sed is required to build AROS. Please install and run configure again." >&2;}
4881 { (exit 1); exit 1; }; }
4883 # Extract the first word of "chmod", so it can be a program name with args.
4884 set dummy
chmod; ac_word
=$2
4885 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4887 if test "${ac_cv_prog_CHMOD+set}" = set; then
4888 echo $ECHO_N "(cached) $ECHO_C" >&6
4890 if test -n "$CHMOD"; then
4891 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
4893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4897 test -z "$as_dir" && as_dir
=.
4898 for ac_exec_ext
in '' $ac_executable_extensions; do
4899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4900 ac_cv_prog_CHMOD
="chmod "
4901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4910 CHMOD
=$ac_cv_prog_CHMOD
4911 if test -n "$CHMOD"; then
4912 { echo "$as_me:$LINENO: result: $CHMOD" >&5
4913 echo "${ECHO_T}$CHMOD" >&6; }
4915 { echo "$as_me:$LINENO: result: no" >&5
4916 echo "${ECHO_T}no" >&6; }
4920 if test "$CHMOD" = ""; then
4921 { { echo "$as_me:$LINENO: error: chmod is required to build AROS. Please install and run configure again." >&5
4922 echo "$as_me: error: chmod is required to build AROS. Please install and run configure again." >&2;}
4923 { (exit 1); exit 1; }; }
4930 if test -n "$PYTHON"; then
4931 # If the user set $PYTHON, use it and don't search something else.
4932 { echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.2.1" >&5
4933 echo $ECHO_N "checking whether $PYTHON version >= 2.2.1... $ECHO_C" >&6; }
4934 prog
="import sys, string
4935 # split strings by '.' and convert to numeric. Append some zeros
4936 # because we need at least 4 digits for the hex conversion.
4937 minver = map(int, string.split('2.2.1', '.')) + [0, 0, 0]
4939 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
4940 sys.exit(sys.hexversion < minverhex)"
4941 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
4942 ($PYTHON -c "$prog") >&5 2>&5
4944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4945 (exit $ac_status); }; then
4946 { echo "$as_me:$LINENO: result: yes" >&5
4947 echo "${ECHO_T}yes" >&6; }
4949 { { echo "$as_me:$LINENO: error: too old" >&5
4950 echo "$as_me: error: too old" >&2;}
4951 { (exit 1); exit 1; }; }
4954 am_display_PYTHON
=$PYTHON
4956 # Otherwise, try each interpreter until we find one that satisfies
4958 { echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.2.1" >&5
4959 echo $ECHO_N "checking for a Python interpreter with version >= 2.2.1... $ECHO_C" >&6; }
4960 if test "${am_cv_pathless_PYTHON+set}" = set; then
4961 echo $ECHO_N "(cached) $ECHO_C" >&6
4964 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
4965 test "$am_cv_pathless_PYTHON" = none
&& break
4966 prog
="import sys, string
4967 # split strings by '.' and convert to numeric. Append some zeros
4968 # because we need at least 4 digits for the hex conversion.
4969 minver = map(int, string.split('2.2.1', '.')) + [0, 0, 0]
4971 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
4972 sys.exit(sys.hexversion < minverhex)"
4973 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
4974 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
4976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4977 (exit $ac_status); }; then
4983 { echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
4984 echo "${ECHO_T}$am_cv_pathless_PYTHON" >&6; }
4985 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
4986 if test "$am_cv_pathless_PYTHON" = none
; then
4989 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
4990 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
4991 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4993 if test "${ac_cv_path_PYTHON+set}" = set; then
4994 echo $ECHO_N "(cached) $ECHO_C" >&6
4998 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5005 test -z "$as_dir" && as_dir
=.
5006 for ac_exec_ext
in '' $ac_executable_extensions; do
5007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5008 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5019 PYTHON
=$ac_cv_path_PYTHON
5020 if test -n "$PYTHON"; then
5021 { echo "$as_me:$LINENO: result: $PYTHON" >&5
5022 echo "${ECHO_T}$PYTHON" >&6; }
5024 { echo "$as_me:$LINENO: result: no" >&5
5025 echo "${ECHO_T}no" >&6; }
5030 am_display_PYTHON
=$am_cv_pathless_PYTHON
5034 if test "$PYTHON" = :; then
5035 { { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
5036 echo "$as_me: error: no suitable Python interpreter found" >&2;}
5037 { (exit 1); exit 1; }; }
5041 { echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
5042 echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; }
5043 if test "${am_cv_python_version+set}" = set; then
5044 echo $ECHO_N "(cached) $ECHO_C" >&6
5046 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
5048 { echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
5049 echo "${ECHO_T}$am_cv_python_version" >&6; }
5050 PYTHON_VERSION
=$am_cv_python_version
5054 PYTHON_PREFIX
='${prefix}'
5056 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5060 { echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
5061 echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; }
5062 if test "${am_cv_python_platform+set}" = set; then
5063 echo $ECHO_N "(cached) $ECHO_C" >&6
5065 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
5067 { echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
5068 echo "${ECHO_T}$am_cv_python_platform" >&6; }
5069 PYTHON_PLATFORM
=$am_cv_python_platform
5074 { echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
5075 echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6; }
5076 if test "${am_cv_python_pythondir+set}" = set; then
5077 echo $ECHO_N "(cached) $ECHO_C" >&6
5079 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5080 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5082 { echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
5083 echo "${ECHO_T}$am_cv_python_pythondir" >&6; }
5084 pythondir
=$am_cv_python_pythondir
5088 pkgpythondir
=\
${pythondir}/$PACKAGE
5091 { echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
5092 echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6; }
5093 if test "${am_cv_python_pyexecdir+set}" = set; then
5094 echo $ECHO_N "(cached) $ECHO_C" >&6
5096 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5097 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5099 { echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
5100 echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; }
5101 pyexecdir
=$am_cv_python_pyexecdir
5105 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5123 # Check for some includes for the X11 HIDD and the kernel
5126 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5127 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5128 if test "${ac_cv_path_GREP+set}" = set; then
5129 echo $ECHO_N "(cached) $ECHO_C" >&6
5131 # Extract the first word of "grep ggrep" to use in msg output
5132 if test -z "$GREP"; then
5133 set dummy
grep ggrep
; ac_prog_name
=$2
5134 if test "${ac_cv_path_GREP+set}" = set; then
5135 echo $ECHO_N "(cached) $ECHO_C" >&6
5137 ac_path_GREP_found
=false
5138 # Loop through the user's path and test for each of PROGNAME-LIST
5139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5140 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5143 test -z "$as_dir" && as_dir
=.
5144 for ac_prog
in grep ggrep
; do
5145 for ac_exec_ext
in '' $ac_executable_extensions; do
5146 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5147 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5148 # Check for GNU ac_path_GREP and select it if it is found.
5149 # Check for GNU $ac_path_GREP
5150 case `"$ac_path_GREP" --version 2>&1` in
5152 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5155 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5158 cat "conftest.in" "conftest.in" >"conftest.tmp"
5159 mv "conftest.tmp" "conftest.in"
5160 cp "conftest.in" "conftest.nl"
5161 echo 'GREP' >> "conftest.nl"
5162 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5163 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5164 ac_count
=`expr $ac_count + 1`
5165 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5166 # Best one so far, save it but keep looking for a better one
5167 ac_cv_path_GREP
="$ac_path_GREP"
5168 ac_path_GREP_max
=$ac_count
5170 # 10*(2^10) chars as input seems more than enough
5171 test $ac_count -gt 10 && break
5173 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5177 $ac_path_GREP_found && break 3
5187 GREP
="$ac_cv_path_GREP"
5188 if test -z "$GREP"; then
5189 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5190 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5191 { (exit 1); exit 1; }; }
5195 ac_cv_path_GREP
=$GREP
5200 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5201 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5202 GREP
="$ac_cv_path_GREP"
5205 { echo "$as_me:$LINENO: checking for egrep" >&5
5206 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5207 if test "${ac_cv_path_EGREP+set}" = set; then
5208 echo $ECHO_N "(cached) $ECHO_C" >&6
5210 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5211 then ac_cv_path_EGREP
="$GREP -E"
5213 # Extract the first word of "egrep" to use in msg output
5214 if test -z "$EGREP"; then
5215 set dummy
egrep; ac_prog_name
=$2
5216 if test "${ac_cv_path_EGREP+set}" = set; then
5217 echo $ECHO_N "(cached) $ECHO_C" >&6
5219 ac_path_EGREP_found
=false
5220 # Loop through the user's path and test for each of PROGNAME-LIST
5221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5222 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5225 test -z "$as_dir" && as_dir
=.
5226 for ac_prog
in egrep; do
5227 for ac_exec_ext
in '' $ac_executable_extensions; do
5228 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5229 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5230 # Check for GNU ac_path_EGREP and select it if it is found.
5231 # Check for GNU $ac_path_EGREP
5232 case `"$ac_path_EGREP" --version 2>&1` in
5234 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5237 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5240 cat "conftest.in" "conftest.in" >"conftest.tmp"
5241 mv "conftest.tmp" "conftest.in"
5242 cp "conftest.in" "conftest.nl"
5243 echo 'EGREP' >> "conftest.nl"
5244 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5245 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5246 ac_count
=`expr $ac_count + 1`
5247 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5248 # Best one so far, save it but keep looking for a better one
5249 ac_cv_path_EGREP
="$ac_path_EGREP"
5250 ac_path_EGREP_max
=$ac_count
5252 # 10*(2^10) chars as input seems more than enough
5253 test $ac_count -gt 10 && break
5255 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5259 $ac_path_EGREP_found && break 3
5269 EGREP
="$ac_cv_path_EGREP"
5270 if test -z "$EGREP"; then
5271 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5272 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5273 { (exit 1); exit 1; }; }
5277 ac_cv_path_EGREP
=$EGREP
5283 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5284 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5285 EGREP
="$ac_cv_path_EGREP"
5288 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5289 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5290 if test "${ac_cv_header_stdc+set}" = set; then
5291 echo $ECHO_N "(cached) $ECHO_C" >&6
5293 cat >conftest.
$ac_ext <<_ACEOF
5296 cat confdefs.h
>>conftest.
$ac_ext
5297 cat >>conftest.
$ac_ext <<_ACEOF
5298 /* end confdefs.h. */
5312 rm -f conftest.
$ac_objext
5313 if { (ac_try
="$ac_compile"
5315 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5316 *) ac_try_echo=$ac_try;;
5318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5319 (eval "$ac_compile") 2>conftest.er1
5321 grep -v '^ *+' conftest.er1 >conftest.err
5323 cat conftest.err >&5
5324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5325 (exit $ac_status); } && {
5326 test -z "$ac_c_werror_flag" ||
5327 test ! -s conftest.err
5328 } && test -s conftest.$ac_objext; then
5329 ac_cv_header_stdc=yes
5331 echo "$as_me: failed program was:" >&5
5332 sed 's/^/| /' conftest.$ac_ext >&5
5334 ac_cv_header_stdc=no
5337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5339 if test $ac_cv_header_stdc = yes; then
5340 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5341 cat >conftest.$ac_ext <<_ACEOF
5344 cat confdefs.h >>conftest.$ac_ext
5345 cat >>conftest.$ac_ext <<_ACEOF
5346 /* end confdefs.h. */
5350 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5351 $EGREP "memchr" >/dev/null 2>&1; then
5354 ac_cv_header_stdc=no
5360 if test $ac_cv_header_stdc = yes; then
5361 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5362 cat >conftest.$ac_ext <<_ACEOF
5365 cat confdefs.h >>conftest.$ac_ext
5366 cat >>conftest.$ac_ext <<_ACEOF
5367 /* end confdefs.h. */
5371 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5372 $EGREP "free" >/dev/null 2>&1; then
5375 ac_cv_header_stdc=no
5381 if test $ac_cv_header_stdc = yes; then
5382 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5383 if test "$cross_compiling" = yes; then
5386 cat >conftest.$ac_ext <<_ACEOF
5389 cat confdefs.h >>conftest.$ac_ext
5390 cat >>conftest.$ac_ext <<_ACEOF
5391 /* end confdefs.h. */
5394 #if ((' ' & 0x0FF) == 0x020)
5395 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5396 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5398 # define ISLOWER(c) \
5399 (('a' <= (c) && (c) <= 'i') \
5400 || ('j' <= (c) && (c) <= 'r') \
5401 || ('s' <= (c) && (c) <= 'z'))
5402 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5405 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5410 for (i = 0; i < 256; i++)
5411 if (XOR (islower (i), ISLOWER (i))
5412 || toupper (i) != TOUPPER (i))
5417 rm -f conftest$ac_exeext
5418 if { (ac_try="$ac_link"
5420 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5421 *) ac_try_echo
=$ac_try;;
5423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5424 (eval "$ac_link") 2>&5
5426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5427 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5428 { (case "(($ac_try" in
5429 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5430 *) ac_try_echo=$ac_try;;
5432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5433 (eval "$ac_try") 2>&5
5435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5436 (exit $ac_status); }; }; then
5439 echo "$as_me: program exited with status $ac_status" >&5
5440 echo "$as_me: failed program was:" >&5
5441 sed 's/^/| /' conftest.$ac_ext >&5
5444 ac_cv_header_stdc=no
5446 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5452 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5453 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5454 if test $ac_cv_header_stdc = yes; then
5456 cat >>confdefs.h <<\_ACEOF
5457 #define STDC_HEADERS 1
5462 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5472 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5473 inttypes.h stdint.h unistd.h
5475 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5476 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5478 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5479 echo $ECHO_N "(cached) $ECHO_C" >&6
5481 cat >conftest.$ac_ext <<_ACEOF
5484 cat confdefs.h >>conftest.$ac_ext
5485 cat >>conftest.$ac_ext <<_ACEOF
5486 /* end confdefs.h. */
5487 $ac_includes_default
5489 #include <$ac_header>
5491 rm -f conftest.$ac_objext
5492 if { (ac_try="$ac_compile"
5494 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5495 *) ac_try_echo
=$ac_try;;
5497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5498 (eval "$ac_compile") 2>conftest.er1
5500 grep -v '^ *+' conftest.er1
>conftest.err
5502 cat conftest.err
>&5
5503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5504 (exit $ac_status); } && {
5505 test -z "$ac_c_werror_flag" ||
5506 test ! -s conftest.err
5507 } && test -s conftest.
$ac_objext; then
5508 eval "$as_ac_Header=yes"
5510 echo "$as_me: failed program was:" >&5
5511 sed 's/^/| /' conftest.
$ac_ext >&5
5513 eval "$as_ac_Header=no"
5516 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5518 ac_res
=`eval echo '${'$as_ac_Header'}'`
5519 { echo "$as_me:$LINENO: result: $ac_res" >&5
5520 echo "${ECHO_T}$ac_res" >&6; }
5521 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5522 cat >>confdefs.h
<<_ACEOF
5523 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5540 for ac_header
in sys
/ipc.h sys
/shm.h \
5541 sys
/mmap.h sys
/mman.h sysexits.h \
5542 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
5545 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5546 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5547 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5548 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5549 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5550 echo $ECHO_N "(cached) $ECHO_C" >&6
5552 ac_res
=`eval echo '${'$as_ac_Header'}'`
5553 { echo "$as_me:$LINENO: result: $ac_res" >&5
5554 echo "${ECHO_T}$ac_res" >&6; }
5556 # Is the header compilable?
5557 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5558 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5559 cat >conftest.
$ac_ext <<_ACEOF
5562 cat confdefs.h
>>conftest.
$ac_ext
5563 cat >>conftest.
$ac_ext <<_ACEOF
5564 /* end confdefs.h. */
5565 $ac_includes_default
5566 #include <$ac_header>
5568 rm -f conftest.
$ac_objext
5569 if { (ac_try
="$ac_compile"
5571 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5572 *) ac_try_echo=$ac_try;;
5574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5575 (eval "$ac_compile") 2>conftest.er1
5577 grep -v '^ *+' conftest.er1 >conftest.err
5579 cat conftest.err >&5
5580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5581 (exit $ac_status); } && {
5582 test -z "$ac_c_werror_flag" ||
5583 test ! -s conftest.err
5584 } && test -s conftest.$ac_objext; then
5585 ac_header_compiler=yes
5587 echo "$as_me: failed program was:" >&5
5588 sed 's/^/| /' conftest.$ac_ext >&5
5590 ac_header_compiler=no
5593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5594 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5595 echo "${ECHO_T}$ac_header_compiler" >&6; }
5597 # Is the header present?
5598 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5599 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5600 cat >conftest.$ac_ext <<_ACEOF
5603 cat confdefs.h >>conftest.$ac_ext
5604 cat >>conftest.$ac_ext <<_ACEOF
5605 /* end confdefs.h. */
5606 #include <$ac_header>
5608 if { (ac_try="$ac_cpp conftest.$ac_ext"
5610 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5611 *) ac_try_echo
=$ac_try;;
5613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5614 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5616 grep -v '^ *+' conftest.er1
>conftest.err
5618 cat conftest.err
>&5
5619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5620 (exit $ac_status); } >/dev
/null
&& {
5621 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5622 test ! -s conftest.err
5624 ac_header_preproc
=yes
5626 echo "$as_me: failed program was:" >&5
5627 sed 's/^/| /' conftest.
$ac_ext >&5
5629 ac_header_preproc
=no
5632 rm -f conftest.err conftest.
$ac_ext
5633 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5634 echo "${ECHO_T}$ac_header_preproc" >&6; }
5636 # So? What about this header?
5637 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5639 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5640 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5641 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5642 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5643 ac_header_preproc
=yes
5646 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5647 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5648 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5649 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5650 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5651 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5652 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5653 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5654 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5655 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5656 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5657 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5661 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5662 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5663 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5664 echo $ECHO_N "(cached) $ECHO_C" >&6
5666 eval "$as_ac_Header=\$ac_header_preproc"
5668 ac_res
=`eval echo '${'$as_ac_Header'}'`
5669 { echo "$as_me:$LINENO: result: $ac_res" >&5
5670 echo "${ECHO_T}$ac_res" >&6; }
5673 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5674 cat >>confdefs.h
<<_ACEOF
5675 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5684 for ac_header
in sys
/mount.h
5686 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5687 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5688 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5689 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5690 echo $ECHO_N "(cached) $ECHO_C" >&6
5692 cat >conftest.
$ac_ext <<_ACEOF
5695 cat confdefs.h
>>conftest.
$ac_ext
5696 cat >>conftest.
$ac_ext <<_ACEOF
5697 /* end confdefs.h. */
5698 #include <sys/param.h>
5700 #include <$ac_header>
5702 rm -f conftest.
$ac_objext
5703 if { (ac_try
="$ac_compile"
5705 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5706 *) ac_try_echo=$ac_try;;
5708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5709 (eval "$ac_compile") 2>conftest.er1
5711 grep -v '^ *+' conftest.er1 >conftest.err
5713 cat conftest.err >&5
5714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5715 (exit $ac_status); } && {
5716 test -z "$ac_c_werror_flag" ||
5717 test ! -s conftest.err
5718 } && test -s conftest.$ac_objext; then
5719 eval "$as_ac_Header=yes"
5721 echo "$as_me: failed program was:" >&5
5722 sed 's/^/| /' conftest.$ac_ext >&5
5724 eval "$as_ac_Header=no"
5727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5729 ac_res=`eval echo '${'$as_ac_Header'}'`
5730 { echo "$as_me:$LINENO: result: $ac_res" >&5
5731 echo "${ECHO_T}$ac_res" >&6; }
5732 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5733 cat >>confdefs.h <<_ACEOF
5734 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5748 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
5749 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
5750 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
5751 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
5752 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5753 echo $ECHO_N "(cached) $ECHO_C" >&6
5755 cat >conftest.$ac_ext <<_ACEOF
5758 cat confdefs.h >>conftest.$ac_ext
5759 cat >>conftest.$ac_ext <<_ACEOF
5760 /* end confdefs.h. */
5761 #include <sys/types.h>
5773 rm -f conftest.$ac_objext
5774 if { (ac_try="$ac_compile"
5776 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5777 *) ac_try_echo
=$ac_try;;
5779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5780 (eval "$ac_compile") 2>conftest.er1
5782 grep -v '^ *+' conftest.er1
>conftest.err
5784 cat conftest.err
>&5
5785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5786 (exit $ac_status); } && {
5787 test -z "$ac_c_werror_flag" ||
5788 test ! -s conftest.err
5789 } && test -s conftest.
$ac_objext; then
5790 eval "$as_ac_Header=yes"
5792 echo "$as_me: failed program was:" >&5
5793 sed 's/^/| /' conftest.
$ac_ext >&5
5795 eval "$as_ac_Header=no"
5798 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5800 ac_res
=`eval echo '${'$as_ac_Header'}'`
5801 { echo "$as_me:$LINENO: result: $ac_res" >&5
5802 echo "${ECHO_T}$ac_res" >&6; }
5803 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5804 cat >>confdefs.h
<<_ACEOF
5805 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5808 ac_header_dirent
=$ac_hdr; break
5812 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5813 if test $ac_header_dirent = dirent.h
; then
5814 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
5815 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
5816 if test "${ac_cv_search_opendir+set}" = set; then
5817 echo $ECHO_N "(cached) $ECHO_C" >&6
5819 ac_func_search_save_LIBS
=$LIBS
5820 cat >conftest.
$ac_ext <<_ACEOF
5823 cat confdefs.h
>>conftest.
$ac_ext
5824 cat >>conftest.
$ac_ext <<_ACEOF
5825 /* end confdefs.h. */
5827 /* Override any GCC internal prototype to avoid an error.
5828 Use char because int might match the return type of a GCC
5829 builtin and then its argument prototype would still apply. */
5842 for ac_lib
in '' dir
; do
5843 if test -z "$ac_lib"; then
5844 ac_res
="none required"
5847 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5849 rm -f conftest.
$ac_objext conftest
$ac_exeext
5850 if { (ac_try
="$ac_link"
5852 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5853 *) ac_try_echo=$ac_try;;
5855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5856 (eval "$ac_link") 2>conftest.er1
5858 grep -v '^ *+' conftest.er1 >conftest.err
5860 cat conftest.err >&5
5861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5862 (exit $ac_status); } && {
5863 test -z "$ac_c_werror_flag" ||
5864 test ! -s conftest.err
5865 } && test -s conftest$ac_exeext &&
5866 $as_test_x conftest$ac_exeext; then
5867 ac_cv_search_opendir=$ac_res
5869 echo "$as_me: failed program was:" >&5
5870 sed 's/^/| /' conftest.$ac_ext >&5
5875 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5877 if test "${ac_cv_search_opendir+set}" = set; then
5881 if test "${ac_cv_search_opendir+set}" = set; then
5884 ac_cv_search_opendir=no
5887 LIBS=$ac_func_search_save_LIBS
5889 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5890 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
5891 ac_res=$ac_cv_search_opendir
5892 if test "$ac_res" != no; then
5893 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5898 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
5899 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
5900 if test "${ac_cv_search_opendir+set}" = set; then
5901 echo $ECHO_N "(cached) $ECHO_C" >&6
5903 ac_func_search_save_LIBS=$LIBS
5904 cat >conftest.$ac_ext <<_ACEOF
5907 cat confdefs.h >>conftest.$ac_ext
5908 cat >>conftest.$ac_ext <<_ACEOF
5909 /* end confdefs.h. */
5911 /* Override any GCC internal prototype to avoid an error.
5912 Use char because int might match the return type of a GCC
5913 builtin and then its argument prototype would still apply. */
5926 for ac_lib in '' x; do
5927 if test -z "$ac_lib"; then
5928 ac_res="none required"
5931 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5933 rm -f conftest.$ac_objext conftest$ac_exeext
5934 if { (ac_try="$ac_link"
5936 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5937 *) ac_try_echo
=$ac_try;;
5939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5940 (eval "$ac_link") 2>conftest.er1
5942 grep -v '^ *+' conftest.er1
>conftest.err
5944 cat conftest.err
>&5
5945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5946 (exit $ac_status); } && {
5947 test -z "$ac_c_werror_flag" ||
5948 test ! -s conftest.err
5949 } && test -s conftest
$ac_exeext &&
5950 $as_test_x conftest
$ac_exeext; then
5951 ac_cv_search_opendir
=$ac_res
5953 echo "$as_me: failed program was:" >&5
5954 sed 's/^/| /' conftest.
$ac_ext >&5
5959 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5961 if test "${ac_cv_search_opendir+set}" = set; then
5965 if test "${ac_cv_search_opendir+set}" = set; then
5968 ac_cv_search_opendir
=no
5971 LIBS
=$ac_func_search_save_LIBS
5973 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5974 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
5975 ac_res
=$ac_cv_search_opendir
5976 if test "$ac_res" != no
; then
5977 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5983 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
5984 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
5985 if test "${ac_cv_header_stat_broken+set}" = set; then
5986 echo $ECHO_N "(cached) $ECHO_C" >&6
5988 cat >conftest.
$ac_ext <<_ACEOF
5991 cat confdefs.h
>>conftest.
$ac_ext
5992 cat >>conftest.
$ac_ext <<_ACEOF
5993 /* end confdefs.h. */
5994 #include <sys/types.h>
5995 #include <sys/stat.h>
5997 #if defined S_ISBLK && defined S_IFDIR
5998 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6001 #if defined S_ISBLK && defined S_IFCHR
6002 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6005 #if defined S_ISLNK && defined S_IFREG
6006 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6009 #if defined S_ISSOCK && defined S_IFREG
6010 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6014 rm -f conftest.
$ac_objext
6015 if { (ac_try
="$ac_compile"
6017 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6018 *) ac_try_echo=$ac_try;;
6020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6021 (eval "$ac_compile") 2>conftest.er1
6023 grep -v '^ *+' conftest.er1 >conftest.err
6025 cat conftest.err >&5
6026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6027 (exit $ac_status); } && {
6028 test -z "$ac_c_werror_flag" ||
6029 test ! -s conftest.err
6030 } && test -s conftest.$ac_objext; then
6031 ac_cv_header_stat_broken=no
6033 echo "$as_me: failed program was:" >&5
6034 sed 's/^/| /' conftest.$ac_ext >&5
6036 ac_cv_header_stat_broken=yes
6039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6041 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
6042 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
6043 if test $ac_cv_header_stat_broken = yes; then
6045 cat >>confdefs.h <<\_ACEOF
6046 #define STAT_MACROS_BROKEN 1
6051 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6052 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6053 if test "${ac_cv_header_stdc+set}" = set; then
6054 echo $ECHO_N "(cached) $ECHO_C" >&6
6056 cat >conftest.$ac_ext <<_ACEOF
6059 cat confdefs.h >>conftest.$ac_ext
6060 cat >>conftest.$ac_ext <<_ACEOF
6061 /* end confdefs.h. */
6075 rm -f conftest.$ac_objext
6076 if { (ac_try="$ac_compile"
6078 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6079 *) ac_try_echo
=$ac_try;;
6081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6082 (eval "$ac_compile") 2>conftest.er1
6084 grep -v '^ *+' conftest.er1
>conftest.err
6086 cat conftest.err
>&5
6087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6088 (exit $ac_status); } && {
6089 test -z "$ac_c_werror_flag" ||
6090 test ! -s conftest.err
6091 } && test -s conftest.
$ac_objext; then
6092 ac_cv_header_stdc
=yes
6094 echo "$as_me: failed program was:" >&5
6095 sed 's/^/| /' conftest.
$ac_ext >&5
6097 ac_cv_header_stdc
=no
6100 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6102 if test $ac_cv_header_stdc = yes; then
6103 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6104 cat >conftest.
$ac_ext <<_ACEOF
6107 cat confdefs.h
>>conftest.
$ac_ext
6108 cat >>conftest.
$ac_ext <<_ACEOF
6109 /* end confdefs.h. */
6113 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6114 $EGREP "memchr" >/dev
/null
2>&1; then
6117 ac_cv_header_stdc
=no
6123 if test $ac_cv_header_stdc = yes; then
6124 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6125 cat >conftest.
$ac_ext <<_ACEOF
6128 cat confdefs.h
>>conftest.
$ac_ext
6129 cat >>conftest.
$ac_ext <<_ACEOF
6130 /* end confdefs.h. */
6134 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6135 $EGREP "free" >/dev
/null
2>&1; then
6138 ac_cv_header_stdc
=no
6144 if test $ac_cv_header_stdc = yes; then
6145 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6146 if test "$cross_compiling" = yes; then
6149 cat >conftest.
$ac_ext <<_ACEOF
6152 cat confdefs.h
>>conftest.
$ac_ext
6153 cat >>conftest.
$ac_ext <<_ACEOF
6154 /* end confdefs.h. */
6157 #if ((' ' & 0x0FF) == 0x020)
6158 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6159 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6161 # define ISLOWER(c) \
6162 (('a' <= (c) && (c) <= 'i') \
6163 || ('j' <= (c) && (c) <= 'r') \
6164 || ('s' <= (c) && (c) <= 'z'))
6165 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6168 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6173 for (i = 0; i < 256; i++)
6174 if (XOR (islower (i), ISLOWER (i))
6175 || toupper (i) != TOUPPER (i))
6180 rm -f conftest
$ac_exeext
6181 if { (ac_try
="$ac_link"
6183 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6184 *) ac_try_echo=$ac_try;;
6186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6187 (eval "$ac_link") 2>&5
6189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6190 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6191 { (case "(($ac_try" in
6192 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6193 *) ac_try_echo
=$ac_try;;
6195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6196 (eval "$ac_try") 2>&5
6198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6199 (exit $ac_status); }; }; then
6202 echo "$as_me: program exited with status $ac_status" >&5
6203 echo "$as_me: failed program was:" >&5
6204 sed 's/^/| /' conftest.
$ac_ext >&5
6207 ac_cv_header_stdc
=no
6209 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6215 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6216 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6217 if test $ac_cv_header_stdc = yes; then
6219 cat >>confdefs.h
<<\_ACEOF
6220 #define STDC_HEADERS 1
6225 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
6226 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
6227 if test "${ac_cv_header_sys_wait_h+set}" = set; then
6228 echo $ECHO_N "(cached) $ECHO_C" >&6
6230 cat >conftest.
$ac_ext <<_ACEOF
6233 cat confdefs.h
>>conftest.
$ac_ext
6234 cat >>conftest.
$ac_ext <<_ACEOF
6235 /* end confdefs.h. */
6236 #include <sys/types.h>
6237 #include <sys/wait.h>
6239 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6242 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6250 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6255 rm -f conftest.
$ac_objext
6256 if { (ac_try
="$ac_compile"
6258 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6259 *) ac_try_echo=$ac_try;;
6261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6262 (eval "$ac_compile") 2>conftest.er1
6264 grep -v '^ *+' conftest.er1 >conftest.err
6266 cat conftest.err >&5
6267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6268 (exit $ac_status); } && {
6269 test -z "$ac_c_werror_flag" ||
6270 test ! -s conftest.err
6271 } && test -s conftest.$ac_objext; then
6272 ac_cv_header_sys_wait_h=yes
6274 echo "$as_me: failed program was:" >&5
6275 sed 's/^/| /' conftest.$ac_ext >&5
6277 ac_cv_header_sys_wait_h=no
6280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6282 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
6283 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
6284 if test $ac_cv_header_sys_wait_h = yes; then
6286 cat >>confdefs.h <<\_ACEOF
6287 #define HAVE_SYS_WAIT_H 1
6292 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6293 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
6294 if test "${ac_cv_header_time+set}" = set; then
6295 echo $ECHO_N "(cached) $ECHO_C" >&6
6297 cat >conftest.$ac_ext <<_ACEOF
6300 cat confdefs.h >>conftest.$ac_ext
6301 cat >>conftest.$ac_ext <<_ACEOF
6302 /* end confdefs.h. */
6303 #include <sys/types.h>
6304 #include <sys/time.h>
6310 if ((struct tm *) 0)
6316 rm -f conftest.$ac_objext
6317 if { (ac_try="$ac_compile"
6319 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6320 *) ac_try_echo
=$ac_try;;
6322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6323 (eval "$ac_compile") 2>conftest.er1
6325 grep -v '^ *+' conftest.er1
>conftest.err
6327 cat conftest.err
>&5
6328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6329 (exit $ac_status); } && {
6330 test -z "$ac_c_werror_flag" ||
6331 test ! -s conftest.err
6332 } && test -s conftest.
$ac_objext; then
6333 ac_cv_header_time
=yes
6335 echo "$as_me: failed program was:" >&5
6336 sed 's/^/| /' conftest.
$ac_ext >&5
6338 ac_cv_header_time
=no
6341 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6343 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6344 echo "${ECHO_T}$ac_cv_header_time" >&6; }
6345 if test $ac_cv_header_time = yes; then
6347 cat >>confdefs.h
<<\_ACEOF
6348 #define TIME_WITH_SYS_TIME 1
6353 { echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6354 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6; }
6355 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6356 echo $ECHO_N "(cached) $ECHO_C" >&6
6358 cat >conftest.
$ac_ext <<_ACEOF
6361 cat confdefs.h
>>conftest.
$ac_ext
6362 cat >>conftest.
$ac_ext <<_ACEOF
6363 /* end confdefs.h. */
6364 $ac_includes_default
6368 static struct stat ac_aggr;
6369 if (ac_aggr.st_blksize)
6375 rm -f conftest.
$ac_objext
6376 if { (ac_try
="$ac_compile"
6378 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6379 *) ac_try_echo=$ac_try;;
6381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6382 (eval "$ac_compile") 2>conftest.er1
6384 grep -v '^ *+' conftest.er1 >conftest.err
6386 cat conftest.err >&5
6387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6388 (exit $ac_status); } && {
6389 test -z "$ac_c_werror_flag" ||
6390 test ! -s conftest.err
6391 } && test -s conftest.$ac_objext; then
6392 ac_cv_member_struct_stat_st_blksize=yes
6394 echo "$as_me: failed program was:" >&5
6395 sed 's/^/| /' conftest.$ac_ext >&5
6397 cat >conftest.$ac_ext <<_ACEOF
6400 cat confdefs.h >>conftest.$ac_ext
6401 cat >>conftest.$ac_ext <<_ACEOF
6402 /* end confdefs.h. */
6403 $ac_includes_default
6407 static struct stat ac_aggr;
6408 if (sizeof ac_aggr.st_blksize)
6414 rm -f conftest.$ac_objext
6415 if { (ac_try="$ac_compile"
6417 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6418 *) ac_try_echo
=$ac_try;;
6420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6421 (eval "$ac_compile") 2>conftest.er1
6423 grep -v '^ *+' conftest.er1
>conftest.err
6425 cat conftest.err
>&5
6426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6427 (exit $ac_status); } && {
6428 test -z "$ac_c_werror_flag" ||
6429 test ! -s conftest.err
6430 } && test -s conftest.
$ac_objext; then
6431 ac_cv_member_struct_stat_st_blksize
=yes
6433 echo "$as_me: failed program was:" >&5
6434 sed 's/^/| /' conftest.
$ac_ext >&5
6436 ac_cv_member_struct_stat_st_blksize
=no
6439 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6442 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6444 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
6445 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6; }
6446 if test $ac_cv_member_struct_stat_st_blksize = yes; then
6448 cat >>confdefs.h
<<_ACEOF
6449 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6453 cat >>confdefs.h
<<\_ACEOF
6454 #define HAVE_ST_BLKSIZE 1
6460 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
6461 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
6462 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
6463 echo $ECHO_N "(cached) $ECHO_C" >&6
6465 cat >conftest.
$ac_ext <<_ACEOF
6468 cat confdefs.h
>>conftest.
$ac_ext
6469 cat >>conftest.
$ac_ext <<_ACEOF
6470 /* end confdefs.h. */
6471 $ac_includes_default
6475 static struct stat ac_aggr;
6476 if (ac_aggr.st_blocks)
6482 rm -f conftest.
$ac_objext
6483 if { (ac_try
="$ac_compile"
6485 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6486 *) ac_try_echo=$ac_try;;
6488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6489 (eval "$ac_compile") 2>conftest.er1
6491 grep -v '^ *+' conftest.er1 >conftest.err
6493 cat conftest.err >&5
6494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6495 (exit $ac_status); } && {
6496 test -z "$ac_c_werror_flag" ||
6497 test ! -s conftest.err
6498 } && test -s conftest.$ac_objext; then
6499 ac_cv_member_struct_stat_st_blocks=yes
6501 echo "$as_me: failed program was:" >&5
6502 sed 's/^/| /' conftest.$ac_ext >&5
6504 cat >conftest.$ac_ext <<_ACEOF
6507 cat confdefs.h >>conftest.$ac_ext
6508 cat >>conftest.$ac_ext <<_ACEOF
6509 /* end confdefs.h. */
6510 $ac_includes_default
6514 static struct stat ac_aggr;
6515 if (sizeof ac_aggr.st_blocks)
6521 rm -f conftest.$ac_objext
6522 if { (ac_try="$ac_compile"
6524 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6525 *) ac_try_echo
=$ac_try;;
6527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6528 (eval "$ac_compile") 2>conftest.er1
6530 grep -v '^ *+' conftest.er1
>conftest.err
6532 cat conftest.err
>&5
6533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6534 (exit $ac_status); } && {
6535 test -z "$ac_c_werror_flag" ||
6536 test ! -s conftest.err
6537 } && test -s conftest.
$ac_objext; then
6538 ac_cv_member_struct_stat_st_blocks
=yes
6540 echo "$as_me: failed program was:" >&5
6541 sed 's/^/| /' conftest.
$ac_ext >&5
6543 ac_cv_member_struct_stat_st_blocks
=no
6546 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6549 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6551 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
6552 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
6553 if test $ac_cv_member_struct_stat_st_blocks = yes; then
6555 cat >>confdefs.h
<<_ACEOF
6556 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6560 cat >>confdefs.h
<<\_ACEOF
6561 #define HAVE_ST_BLOCKS 1
6565 case " $LIBOBJS " in
6566 *" fileblocks.$ac_objext "* ) ;;
6567 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6574 { echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6575 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6; }
6576 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6577 echo $ECHO_N "(cached) $ECHO_C" >&6
6579 cat >conftest.
$ac_ext <<_ACEOF
6582 cat confdefs.h
>>conftest.
$ac_ext
6583 cat >>conftest.
$ac_ext <<_ACEOF
6584 /* end confdefs.h. */
6585 $ac_includes_default
6589 static struct stat ac_aggr;
6590 if (ac_aggr.st_rdev)
6596 rm -f conftest.
$ac_objext
6597 if { (ac_try
="$ac_compile"
6599 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6600 *) ac_try_echo=$ac_try;;
6602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6603 (eval "$ac_compile") 2>conftest.er1
6605 grep -v '^ *+' conftest.er1 >conftest.err
6607 cat conftest.err >&5
6608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6609 (exit $ac_status); } && {
6610 test -z "$ac_c_werror_flag" ||
6611 test ! -s conftest.err
6612 } && test -s conftest.$ac_objext; then
6613 ac_cv_member_struct_stat_st_rdev=yes
6615 echo "$as_me: failed program was:" >&5
6616 sed 's/^/| /' conftest.$ac_ext >&5
6618 cat >conftest.$ac_ext <<_ACEOF
6621 cat confdefs.h >>conftest.$ac_ext
6622 cat >>conftest.$ac_ext <<_ACEOF
6623 /* end confdefs.h. */
6624 $ac_includes_default
6628 static struct stat ac_aggr;
6629 if (sizeof ac_aggr.st_rdev)
6635 rm -f conftest.$ac_objext
6636 if { (ac_try="$ac_compile"
6638 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6639 *) ac_try_echo
=$ac_try;;
6641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6642 (eval "$ac_compile") 2>conftest.er1
6644 grep -v '^ *+' conftest.er1
>conftest.err
6646 cat conftest.err
>&5
6647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6648 (exit $ac_status); } && {
6649 test -z "$ac_c_werror_flag" ||
6650 test ! -s conftest.err
6651 } && test -s conftest.
$ac_objext; then
6652 ac_cv_member_struct_stat_st_rdev
=yes
6654 echo "$as_me: failed program was:" >&5
6655 sed 's/^/| /' conftest.
$ac_ext >&5
6657 ac_cv_member_struct_stat_st_rdev
=no
6660 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6663 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6665 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
6666 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6; }
6667 if test $ac_cv_member_struct_stat_st_rdev = yes; then
6669 cat >>confdefs.h
<<_ACEOF
6670 #define HAVE_STRUCT_STAT_ST_RDEV 1
6674 cat >>confdefs.h
<<\_ACEOF
6675 #define HAVE_ST_RDEV 1
6681 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6682 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
6683 if test "${ac_cv_struct_tm+set}" = set; then
6684 echo $ECHO_N "(cached) $ECHO_C" >&6
6686 cat >conftest.
$ac_ext <<_ACEOF
6689 cat confdefs.h
>>conftest.
$ac_ext
6690 cat >>conftest.
$ac_ext <<_ACEOF
6691 /* end confdefs.h. */
6692 #include <sys/types.h>
6699 int *p = &tm.tm_sec;
6705 rm -f conftest.
$ac_objext
6706 if { (ac_try
="$ac_compile"
6708 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6709 *) ac_try_echo=$ac_try;;
6711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6712 (eval "$ac_compile") 2>conftest.er1
6714 grep -v '^ *+' conftest.er1 >conftest.err
6716 cat conftest.err >&5
6717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6718 (exit $ac_status); } && {
6719 test -z "$ac_c_werror_flag" ||
6720 test ! -s conftest.err
6721 } && test -s conftest.$ac_objext; then
6722 ac_cv_struct_tm=time.h
6724 echo "$as_me: failed program was:" >&5
6725 sed 's/^/| /' conftest.$ac_ext >&5
6727 ac_cv_struct_tm=sys/time.h
6730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6732 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6733 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
6734 if test $ac_cv_struct_tm = sys/time.h; then
6736 cat >>confdefs.h <<\_ACEOF
6737 #define TM_IN_SYS_TIME 1
6742 { echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
6743 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6; }
6744 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
6745 echo $ECHO_N "(cached) $ECHO_C" >&6
6747 cat >conftest.$ac_ext <<_ACEOF
6750 cat confdefs.h >>conftest.$ac_ext
6751 cat >>conftest.$ac_ext <<_ACEOF
6752 /* end confdefs.h. */
6753 #include <sys/types.h>
6754 #include <$ac_cv_struct_tm>
6760 static struct tm ac_aggr;
6761 if (ac_aggr.tm_zone)
6767 rm -f conftest.$ac_objext
6768 if { (ac_try="$ac_compile"
6770 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6771 *) ac_try_echo
=$ac_try;;
6773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6774 (eval "$ac_compile") 2>conftest.er1
6776 grep -v '^ *+' conftest.er1
>conftest.err
6778 cat conftest.err
>&5
6779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6780 (exit $ac_status); } && {
6781 test -z "$ac_c_werror_flag" ||
6782 test ! -s conftest.err
6783 } && test -s conftest.
$ac_objext; then
6784 ac_cv_member_struct_tm_tm_zone
=yes
6786 echo "$as_me: failed program was:" >&5
6787 sed 's/^/| /' conftest.
$ac_ext >&5
6789 cat >conftest.
$ac_ext <<_ACEOF
6792 cat confdefs.h
>>conftest.
$ac_ext
6793 cat >>conftest.
$ac_ext <<_ACEOF
6794 /* end confdefs.h. */
6795 #include <sys/types.h>
6796 #include <$ac_cv_struct_tm>
6802 static struct tm ac_aggr;
6803 if (sizeof ac_aggr.tm_zone)
6809 rm -f conftest.
$ac_objext
6810 if { (ac_try
="$ac_compile"
6812 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6813 *) ac_try_echo=$ac_try;;
6815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6816 (eval "$ac_compile") 2>conftest.er1
6818 grep -v '^ *+' conftest.er1 >conftest.err
6820 cat conftest.err >&5
6821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6822 (exit $ac_status); } && {
6823 test -z "$ac_c_werror_flag" ||
6824 test ! -s conftest.err
6825 } && test -s conftest.$ac_objext; then
6826 ac_cv_member_struct_tm_tm_zone=yes
6828 echo "$as_me: failed program was:" >&5
6829 sed 's/^/| /' conftest.$ac_ext >&5
6831 ac_cv_member_struct_tm_tm_zone=no
6834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6839 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
6840 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6; }
6841 if test $ac_cv_member_struct_tm_tm_zone = yes; then
6843 cat >>confdefs.h <<_ACEOF
6844 #define HAVE_STRUCT_TM_TM_ZONE 1
6850 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6852 cat >>confdefs.h <<\_ACEOF
6853 #define HAVE_TM_ZONE 1
6857 { echo "$as_me:$LINENO: checking whether tzname is declared" >&5
6858 echo $ECHO_N "checking whether tzname is declared... $ECHO_C" >&6; }
6859 if test "${ac_cv_have_decl_tzname+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. */
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_have_decl_tzname
=yes
6900 echo "$as_me: failed program was:" >&5
6901 sed 's/^/| /' conftest.
$ac_ext >&5
6903 ac_cv_have_decl_tzname
=no
6906 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6908 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5
6909 echo "${ECHO_T}$ac_cv_have_decl_tzname" >&6; }
6910 if test $ac_cv_have_decl_tzname = yes; then
6912 cat >>confdefs.h
<<_ACEOF
6913 #define HAVE_DECL_TZNAME 1
6918 cat >>confdefs.h
<<_ACEOF
6919 #define HAVE_DECL_TZNAME 0
6926 { echo "$as_me:$LINENO: checking for tzname" >&5
6927 echo $ECHO_N "checking for tzname... $ECHO_C" >&6; }
6928 if test "${ac_cv_var_tzname+set}" = set; then
6929 echo $ECHO_N "(cached) $ECHO_C" >&6
6931 cat >conftest.
$ac_ext <<_ACEOF
6934 cat confdefs.h
>>conftest.
$ac_ext
6935 cat >>conftest.
$ac_ext <<_ACEOF
6936 /* end confdefs.h. */
6938 #if !HAVE_DECL_TZNAME
6939 extern char *tzname[];
6945 return tzname[0][0];
6950 rm -f conftest.
$ac_objext conftest
$ac_exeext
6951 if { (ac_try
="$ac_link"
6953 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6954 *) ac_try_echo=$ac_try;;
6956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6957 (eval "$ac_link") 2>conftest.er1
6959 grep -v '^ *+' conftest.er1 >conftest.err
6961 cat conftest.err >&5
6962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6963 (exit $ac_status); } && {
6964 test -z "$ac_c_werror_flag" ||
6965 test ! -s conftest.err
6966 } && test -s conftest$ac_exeext &&
6967 $as_test_x conftest$ac_exeext; then
6968 ac_cv_var_tzname=yes
6970 echo "$as_me: failed program was:" >&5
6971 sed 's/^/| /' conftest.$ac_ext >&5
6976 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6977 conftest$ac_exeext conftest.$ac_ext
6979 { echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
6980 echo "${ECHO_T}$ac_cv_var_tzname" >&6; }
6981 if test $ac_cv_var_tzname = yes; then
6983 cat >>confdefs.h <<\_ACEOF
6984 #define HAVE_TZNAME 1
6990 { echo "$as_me:$LINENO: checking for off_t" >&5
6991 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
6992 if test "${ac_cv_type_off_t+set}" = set; then
6993 echo $ECHO_N "(cached) $ECHO_C" >&6
6995 cat >conftest.$ac_ext <<_ACEOF
6998 cat confdefs.h >>conftest.$ac_ext
6999 cat >>conftest.$ac_ext <<_ACEOF
7000 /* end confdefs.h. */
7001 $ac_includes_default
7002 typedef off_t ac__type_new_;
7006 if ((ac__type_new_ *) 0)
7008 if (sizeof (ac__type_new_))
7014 rm -f conftest.$ac_objext
7015 if { (ac_try="$ac_compile"
7017 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7018 *) ac_try_echo
=$ac_try;;
7020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7021 (eval "$ac_compile") 2>conftest.er1
7023 grep -v '^ *+' conftest.er1
>conftest.err
7025 cat conftest.err
>&5
7026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7027 (exit $ac_status); } && {
7028 test -z "$ac_c_werror_flag" ||
7029 test ! -s conftest.err
7030 } && test -s conftest.
$ac_objext; then
7031 ac_cv_type_off_t
=yes
7033 echo "$as_me: failed program was:" >&5
7034 sed 's/^/| /' conftest.
$ac_ext >&5
7039 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7041 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
7042 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
7043 if test $ac_cv_type_off_t = yes; then
7047 cat >>confdefs.h
<<_ACEOF
7048 #define off_t long int
7053 { echo "$as_me:$LINENO: checking for pid_t" >&5
7054 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
7055 if test "${ac_cv_type_pid_t+set}" = set; then
7056 echo $ECHO_N "(cached) $ECHO_C" >&6
7058 cat >conftest.
$ac_ext <<_ACEOF
7061 cat confdefs.h
>>conftest.
$ac_ext
7062 cat >>conftest.
$ac_ext <<_ACEOF
7063 /* end confdefs.h. */
7064 $ac_includes_default
7065 typedef pid_t ac__type_new_;
7069 if ((ac__type_new_ *) 0)
7071 if (sizeof (ac__type_new_))
7077 rm -f conftest.
$ac_objext
7078 if { (ac_try
="$ac_compile"
7080 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7081 *) ac_try_echo=$ac_try;;
7083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7084 (eval "$ac_compile") 2>conftest.er1
7086 grep -v '^ *+' conftest.er1 >conftest.err
7088 cat conftest.err >&5
7089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7090 (exit $ac_status); } && {
7091 test -z "$ac_c_werror_flag" ||
7092 test ! -s conftest.err
7093 } && test -s conftest.$ac_objext; then
7094 ac_cv_type_pid_t=yes
7096 echo "$as_me: failed program was:" >&5
7097 sed 's/^/| /' conftest.$ac_ext >&5
7102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7104 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
7105 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
7106 if test $ac_cv_type_pid_t = yes; then
7110 cat >>confdefs.h <<_ACEOF
7116 { echo "$as_me:$LINENO: checking for size_t" >&5
7117 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
7118 if test "${ac_cv_type_size_t+set}" = set; then
7119 echo $ECHO_N "(cached) $ECHO_C" >&6
7121 cat >conftest.$ac_ext <<_ACEOF
7124 cat confdefs.h >>conftest.$ac_ext
7125 cat >>conftest.$ac_ext <<_ACEOF
7126 /* end confdefs.h. */
7127 $ac_includes_default
7128 typedef size_t ac__type_new_;
7132 if ((ac__type_new_ *) 0)
7134 if (sizeof (ac__type_new_))
7140 rm -f conftest.$ac_objext
7141 if { (ac_try="$ac_compile"
7143 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7144 *) ac_try_echo
=$ac_try;;
7146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7147 (eval "$ac_compile") 2>conftest.er1
7149 grep -v '^ *+' conftest.er1
>conftest.err
7151 cat conftest.err
>&5
7152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7153 (exit $ac_status); } && {
7154 test -z "$ac_c_werror_flag" ||
7155 test ! -s conftest.err
7156 } && test -s conftest.
$ac_objext; then
7157 ac_cv_type_size_t
=yes
7159 echo "$as_me: failed program was:" >&5
7160 sed 's/^/| /' conftest.
$ac_ext >&5
7162 ac_cv_type_size_t
=no
7165 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7167 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
7168 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
7169 if test $ac_cv_type_size_t = yes; then
7173 cat >>confdefs.h
<<_ACEOF
7174 #define size_t unsigned int
7179 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
7180 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
7181 if test "${ac_cv_type_uid_t+set}" = set; then
7182 echo $ECHO_N "(cached) $ECHO_C" >&6
7184 cat >conftest.
$ac_ext <<_ACEOF
7187 cat confdefs.h
>>conftest.
$ac_ext
7188 cat >>conftest.
$ac_ext <<_ACEOF
7189 /* end confdefs.h. */
7190 #include <sys/types.h>
7193 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7194 $EGREP "uid_t" >/dev
/null
2>&1; then
7195 ac_cv_type_uid_t
=yes
7202 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
7203 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
7204 if test $ac_cv_type_uid_t = no
; then
7206 cat >>confdefs.h
<<\_ACEOF
7211 cat >>confdefs.h
<<\_ACEOF
7218 { echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
7219 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6; }
7220 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
7221 echo $ECHO_N "(cached) $ECHO_C" >&6
7223 cat >conftest.
$ac_ext <<_ACEOF
7226 cat confdefs.h
>>conftest.
$ac_ext
7227 cat >>conftest.
$ac_ext <<_ACEOF
7228 /* end confdefs.h. */
7229 $ac_includes_default
7233 static struct tm ac_aggr;
7234 if (ac_aggr.tm_gmtoff)
7240 rm -f conftest.
$ac_objext
7241 if { (ac_try
="$ac_compile"
7243 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7244 *) ac_try_echo=$ac_try;;
7246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7247 (eval "$ac_compile") 2>conftest.er1
7249 grep -v '^ *+' conftest.er1 >conftest.err
7251 cat conftest.err >&5
7252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7253 (exit $ac_status); } && {
7254 test -z "$ac_c_werror_flag" ||
7255 test ! -s conftest.err
7256 } && test -s conftest.$ac_objext; then
7257 ac_cv_member_struct_tm_tm_gmtoff=yes
7259 echo "$as_me: failed program was:" >&5
7260 sed 's/^/| /' conftest.$ac_ext >&5
7262 cat >conftest.$ac_ext <<_ACEOF
7265 cat confdefs.h >>conftest.$ac_ext
7266 cat >>conftest.$ac_ext <<_ACEOF
7267 /* end confdefs.h. */
7268 $ac_includes_default
7272 static struct tm ac_aggr;
7273 if (sizeof ac_aggr.tm_gmtoff)
7279 rm -f conftest.$ac_objext
7280 if { (ac_try="$ac_compile"
7282 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7283 *) ac_try_echo
=$ac_try;;
7285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7286 (eval "$ac_compile") 2>conftest.er1
7288 grep -v '^ *+' conftest.er1
>conftest.err
7290 cat conftest.err
>&5
7291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7292 (exit $ac_status); } && {
7293 test -z "$ac_c_werror_flag" ||
7294 test ! -s conftest.err
7295 } && test -s conftest.
$ac_objext; then
7296 ac_cv_member_struct_tm_tm_gmtoff
=yes
7298 echo "$as_me: failed program was:" >&5
7299 sed 's/^/| /' conftest.
$ac_ext >&5
7301 ac_cv_member_struct_tm_tm_gmtoff
=no
7304 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7307 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7309 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
7310 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6; }
7311 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
7313 cat >>confdefs.h
<<_ACEOF
7314 #define HAVE_STRUCT_TM_TM_GMTOFF 1
7321 # Look for some functions
7336 for ac_func
in getpagesize kqueue statfs statvfs \
7337 clone kse_create rfork_thread thr_create sa_register \
7338 getcontext makecontext setcontext sigaltstack swapcontext
7340 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7341 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7343 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7344 echo $ECHO_N "(cached) $ECHO_C" >&6
7346 cat >conftest.
$ac_ext <<_ACEOF
7349 cat confdefs.h
>>conftest.
$ac_ext
7350 cat >>conftest.
$ac_ext <<_ACEOF
7351 /* end confdefs.h. */
7352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7354 #define $ac_func innocuous_$ac_func
7356 /* System header to define __stub macros and hopefully few prototypes,
7357 which can conflict with char $ac_func (); below.
7358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7359 <limits.h> exists even on freestanding compilers. */
7362 # include <limits.h>
7364 # include <assert.h>
7369 /* Override any GCC internal prototype to avoid an error.
7370 Use char because int might match the return type of a GCC
7371 builtin and then its argument prototype would still apply. */
7376 /* The GNU C library defines this for functions which it implements
7377 to always fail with ENOSYS. Some functions are actually named
7378 something starting with __ and the normal name is an alias. */
7379 #if defined __stub_$ac_func || defined __stub___$ac_func
7391 rm -f conftest.
$ac_objext conftest
$ac_exeext
7392 if { (ac_try
="$ac_link"
7394 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7395 *) ac_try_echo=$ac_try;;
7397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7398 (eval "$ac_link") 2>conftest.er1
7400 grep -v '^ *+' conftest.er1 >conftest.err
7402 cat conftest.err >&5
7403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7404 (exit $ac_status); } && {
7405 test -z "$ac_c_werror_flag" ||
7406 test ! -s conftest.err
7407 } && test -s conftest$ac_exeext &&
7408 $as_test_x conftest$ac_exeext; then
7409 eval "$as_ac_var=yes"
7411 echo "$as_me: failed program was:" >&5
7412 sed 's/^/| /' conftest.$ac_ext >&5
7414 eval "$as_ac_var=no"
7417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7418 conftest$ac_exeext conftest.$ac_ext
7420 ac_res=`eval echo '${'$as_ac_var'}'`
7421 { echo "$as_me:$LINENO: result: $ac_res" >&5
7422 echo "${ECHO_T}$ac_res" >&6; }
7423 if test `eval echo '${'$as_ac_var'}'` = yes; then
7424 cat >>confdefs.h <<_ACEOF
7425 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7434 for ac_header in stdlib.h unistd.h
7436 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7437 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7438 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7439 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7440 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7441 echo $ECHO_N "(cached) $ECHO_C" >&6
7443 ac_res=`eval echo '${'$as_ac_Header'}'`
7444 { echo "$as_me:$LINENO: result: $ac_res" >&5
7445 echo "${ECHO_T}$ac_res" >&6; }
7447 # Is the header compilable?
7448 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7449 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7450 cat >conftest.$ac_ext <<_ACEOF
7453 cat confdefs.h >>conftest.$ac_ext
7454 cat >>conftest.$ac_ext <<_ACEOF
7455 /* end confdefs.h. */
7456 $ac_includes_default
7457 #include <$ac_header>
7459 rm -f conftest.$ac_objext
7460 if { (ac_try="$ac_compile"
7462 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7463 *) ac_try_echo
=$ac_try;;
7465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7466 (eval "$ac_compile") 2>conftest.er1
7468 grep -v '^ *+' conftest.er1
>conftest.err
7470 cat conftest.err
>&5
7471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7472 (exit $ac_status); } && {
7473 test -z "$ac_c_werror_flag" ||
7474 test ! -s conftest.err
7475 } && test -s conftest.
$ac_objext; then
7476 ac_header_compiler
=yes
7478 echo "$as_me: failed program was:" >&5
7479 sed 's/^/| /' conftest.
$ac_ext >&5
7481 ac_header_compiler
=no
7484 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7485 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7486 echo "${ECHO_T}$ac_header_compiler" >&6; }
7488 # Is the header present?
7489 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7490 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7491 cat >conftest.
$ac_ext <<_ACEOF
7494 cat confdefs.h
>>conftest.
$ac_ext
7495 cat >>conftest.
$ac_ext <<_ACEOF
7496 /* end confdefs.h. */
7497 #include <$ac_header>
7499 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7501 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7502 *) ac_try_echo=$ac_try;;
7504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7505 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7507 grep -v '^ *+' conftest.er1 >conftest.err
7509 cat conftest.err >&5
7510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7511 (exit $ac_status); } >/dev/null && {
7512 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7513 test ! -s conftest.err
7515 ac_header_preproc=yes
7517 echo "$as_me: failed program was:" >&5
7518 sed 's/^/| /' conftest.$ac_ext >&5
7520 ac_header_preproc=no
7523 rm -f conftest.err conftest.$ac_ext
7524 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7525 echo "${ECHO_T}$ac_header_preproc" >&6; }
7527 # So? What about this header?
7528 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7530 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7531 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7532 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7533 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7534 ac_header_preproc=yes
7537 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7538 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7539 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7540 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7541 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7542 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7543 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7544 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7545 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7546 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7547 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7548 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7552 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7553 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7554 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7555 echo $ECHO_N "(cached) $ECHO_C" >&6
7557 eval "$as_ac_Header=\$ac_header_preproc"
7559 ac_res=`eval echo '${'$as_ac_Header'}'`
7560 { echo "$as_me:$LINENO: result: $ac_res" >&5
7561 echo "${ECHO_T}$ac_res" >&6; }
7564 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7565 cat >>confdefs.h <<_ACEOF
7566 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7574 for ac_func in getpagesize
7576 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
7577 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7579 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7580 echo $ECHO_N "(cached) $ECHO_C" >&6
7582 cat >conftest.$ac_ext <<_ACEOF
7585 cat confdefs.h >>conftest.$ac_ext
7586 cat >>conftest.$ac_ext <<_ACEOF
7587 /* end confdefs.h. */
7588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7590 #define $ac_func innocuous_$ac_func
7592 /* System header to define __stub macros and hopefully few prototypes,
7593 which can conflict with char $ac_func (); below.
7594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7595 <limits.h> exists even on freestanding compilers. */
7598 # include <limits.h>
7600 # include <assert.h>
7605 /* Override any GCC internal prototype to avoid an error.
7606 Use char because int might match the return type of a GCC
7607 builtin and then its argument prototype would still apply. */
7612 /* The GNU C library defines this for functions which it implements
7613 to always fail with ENOSYS. Some functions are actually named
7614 something starting with __ and the normal name is an alias. */
7615 #if defined __stub_$ac_func || defined __stub___$ac_func
7627 rm -f conftest.$ac_objext conftest$ac_exeext
7628 if { (ac_try="$ac_link"
7630 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7631 *) ac_try_echo
=$ac_try;;
7633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7634 (eval "$ac_link") 2>conftest.er1
7636 grep -v '^ *+' conftest.er1
>conftest.err
7638 cat conftest.err
>&5
7639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7640 (exit $ac_status); } && {
7641 test -z "$ac_c_werror_flag" ||
7642 test ! -s conftest.err
7643 } && test -s conftest
$ac_exeext &&
7644 $as_test_x conftest
$ac_exeext; then
7645 eval "$as_ac_var=yes"
7647 echo "$as_me: failed program was:" >&5
7648 sed 's/^/| /' conftest.
$ac_ext >&5
7650 eval "$as_ac_var=no"
7653 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7654 conftest
$ac_exeext conftest.
$ac_ext
7656 ac_res
=`eval echo '${'$as_ac_var'}'`
7657 { echo "$as_me:$LINENO: result: $ac_res" >&5
7658 echo "${ECHO_T}$ac_res" >&6; }
7659 if test `eval echo '${'$as_ac_var'}'` = yes; then
7660 cat >>confdefs.h
<<_ACEOF
7661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7667 { echo "$as_me:$LINENO: checking for working mmap" >&5
7668 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
7669 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
7670 echo $ECHO_N "(cached) $ECHO_C" >&6
7672 if test "$cross_compiling" = yes; then
7673 ac_cv_func_mmap_fixed_mapped
=no
7675 cat >conftest.
$ac_ext <<_ACEOF
7678 cat confdefs.h
>>conftest.
$ac_ext
7679 cat >>conftest.
$ac_ext <<_ACEOF
7680 /* end confdefs.h. */
7681 $ac_includes_default
7682 /* malloc might have been renamed as rpl_malloc. */
7685 /* Thanks to Mike Haertel and Jim Avera for this test.
7686 Here is a matrix of mmap possibilities:
7687 mmap private not fixed
7688 mmap private fixed at somewhere currently unmapped
7689 mmap private fixed at somewhere already mapped
7690 mmap shared not fixed
7691 mmap shared fixed at somewhere currently unmapped
7692 mmap shared fixed at somewhere already mapped
7693 For private mappings, we should verify that changes cannot be read()
7694 back from the file, nor mmap's back from the file at a different
7695 address. (There have been systems where private was not correctly
7696 implemented like the infamous i386 svr4.0, and systems where the
7697 VM page cache was not coherent with the file system buffer cache
7698 like early versions of FreeBSD and possibly contemporary NetBSD.)
7699 For shared mappings, we should conversely verify that changes get
7700 propagated back to all the places they're supposed to be.
7702 Grep wants private fixed already mapped.
7703 The main things grep needs to know about mmap are:
7704 * does it exist and is it safe to write into the mmap'd area
7705 * how to use it (BSD variants) */
7708 #include <sys/mman.h>
7710 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7714 /* This mess was copied from the GNU getpagesize.h. */
7715 #ifndef HAVE_GETPAGESIZE
7716 /* Assume that all systems that can run configure have sys/param.h. */
7717 # ifndef HAVE_SYS_PARAM_H
7718 # define HAVE_SYS_PARAM_H 1
7721 # ifdef _SC_PAGESIZE
7722 # define getpagesize() sysconf(_SC_PAGESIZE)
7723 # else /* no _SC_PAGESIZE */
7724 # ifdef HAVE_SYS_PARAM_H
7725 # include <sys/param.h>
7726 # ifdef EXEC_PAGESIZE
7727 # define getpagesize() EXEC_PAGESIZE
7728 # else /* no EXEC_PAGESIZE */
7730 # define getpagesize() NBPG * CLSIZE
7733 # endif /* no CLSIZE */
7734 # else /* no NBPG */
7736 # define getpagesize() NBPC
7737 # else /* no NBPC */
7739 # define getpagesize() PAGESIZE
7740 # endif /* PAGESIZE */
7741 # endif /* no NBPC */
7742 # endif /* no NBPG */
7743 # endif /* no EXEC_PAGESIZE */
7744 # else /* no HAVE_SYS_PARAM_H */
7745 # define getpagesize() 8192 /* punt totally */
7746 # endif /* no HAVE_SYS_PARAM_H */
7747 # endif /* no _SC_PAGESIZE */
7749 #endif /* no HAVE_GETPAGESIZE */
7754 char *data, *data2, *data3;
7758 pagesize = getpagesize ();
7760 /* First, make a file with some known garbage in it. */
7761 data = (char *) malloc (pagesize);
7764 for (i = 0; i < pagesize; ++i)
7765 *(data + i) = rand ();
7767 fd = creat ("conftest.mmap", 0600);
7770 if (write (fd, data, pagesize) != pagesize)
7774 /* Next, try to mmap the file at a fixed address which already has
7775 something else allocated at it. If we can, also make sure that
7776 we see the same garbage. */
7777 fd = open ("conftest.mmap", O_RDWR);
7780 data2 = (char *) malloc (2 * pagesize);
7783 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
7784 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7785 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7787 for (i = 0; i < pagesize; ++i)
7788 if (*(data + i) != *(data2 + i))
7791 /* Finally, make sure that changes to the mapped area do not
7792 percolate back to the file as seen by read(). (This is a bug on
7793 some variants of i386 svr4.0.) */
7794 for (i = 0; i < pagesize; ++i)
7795 *(data2 + i) = *(data2 + i) + 1;
7796 data3 = (char *) malloc (pagesize);
7799 if (read (fd, data3, pagesize) != pagesize)
7801 for (i = 0; i < pagesize; ++i)
7802 if (*(data + i) != *(data3 + i))
7808 rm -f conftest
$ac_exeext
7809 if { (ac_try
="$ac_link"
7811 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7812 *) ac_try_echo=$ac_try;;
7814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7815 (eval "$ac_link") 2>&5
7817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7818 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7819 { (case "(($ac_try" in
7820 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7821 *) ac_try_echo
=$ac_try;;
7823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7824 (eval "$ac_try") 2>&5
7826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7827 (exit $ac_status); }; }; then
7828 ac_cv_func_mmap_fixed_mapped
=yes
7830 echo "$as_me: program exited with status $ac_status" >&5
7831 echo "$as_me: failed program was:" >&5
7832 sed 's/^/| /' conftest.
$ac_ext >&5
7835 ac_cv_func_mmap_fixed_mapped
=no
7837 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7842 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
7843 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
7844 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7846 cat >>confdefs.h
<<\_ACEOF
7856 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7857 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7858 aros_config_ldflags
=""
7860 aros_shared_default
=yes
7862 aros_shared_cflags
="-fPIC"
7863 aros_shared_aflags
=""
7864 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7865 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7867 aros_target_ar_flags
="cr"
7868 aros_target_nm_flags
="-C -ul"
7869 aros_target_strip_flags
="--strip-unneeded -R.comment"
7873 aros_target_genmap
="-Wl,-Map -Xlinker"
7875 # Native flavour stuff
7877 aros_serial_debug
="0"
7879 # Palm native flavour stuff
7880 aros_palm_debug_hack
="0"
7882 # Unix flavour stuff
7883 aros_nesting_supervisor
="0"
7885 # Collect-aros stuff: "-ius" to ignore undefined symbols
7886 ignore_undefined_symbols
=""
7888 #-----------------------------------------------------------------------------
7891 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7892 # it switched on by default, and we use the host compiler, so it compiles AROS
7893 # code with this enabled resulting in link failures as we don't have support
7896 # We use two methods to disable it. For the host compiler (used to compile
7897 # some hosted modules), we test to see if the compiler supports stack
7898 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7899 # work on all platforms.
7901 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
7902 # (this is done unconditionally, as it should have no effect on compilers
7903 # without the stack protection feature). This may be specific to the way that
7904 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
7905 # strong enough to disable it in a generic way though, so we'll live with it
7906 # until another vendor ships GCC with it enabled in a different way, and deal
7910 { echo "$as_me:$LINENO: checking whether ${CC} accepts -fno-stack-protector" >&5
7911 echo $ECHO_N "checking whether ${CC} accepts -fno-stack-protector... $ECHO_C" >&6; }
7912 save_cflags
="$CFLAGS"
7913 CFLAGS
="$CFLAGS -fno-stack-protector"
7914 cat >conftest.
$ac_ext <<_ACEOF
7917 cat confdefs.h
>>conftest.
$ac_ext
7918 cat >>conftest.
$ac_ext <<_ACEOF
7919 /* end confdefs.h. */
7929 rm -f conftest.
$ac_objext
7930 if { (ac_try
="$ac_compile"
7932 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7933 *) ac_try_echo=$ac_try;;
7935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7936 (eval "$ac_compile") 2>conftest.er1
7938 grep -v '^ *+' conftest.er1 >conftest.err
7940 cat conftest.err >&5
7941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7942 (exit $ac_status); } && {
7943 test -z "$ac_c_werror_flag" ||
7944 test ! -s conftest.err
7945 } && test -s conftest.$ac_objext; then
7946 use_no_stack_protector="yes"
7948 echo "$as_me: failed program was:" >&5
7949 sed 's/^/| /' conftest.$ac_ext >&5
7951 use_no_stack_protector="no"
7954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7955 { echo "$as_me:$LINENO: result: $use_no_stack_protector" >&5
7956 echo "${ECHO_T}$use_no_stack_protector" >&6; }
7957 if test "x-$use_no_stack_protector" = "x-yes" ; then
7958 aros_host_cflags="$aros_host_cflags -fno-stack-protector"
7960 CFLAGS="$save_cflags"
7963 #-----------------------------------------------------------------------------
7965 # Disable pointer-signedness warnings if the compiler recognises the option
7966 # (this only works for the host compiler at the moment)
7968 { echo "$as_me:$LINENO: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7969 echo $ECHO_N "checking whether ${CC} accepts -Wno-pointer-sign... $ECHO_C" >&6; }
7970 save_cflags="$CFLAGS"
7971 CFLAGS="$CFLAGS -Wno-pointer-sign"
7972 cat >conftest.$ac_ext <<_ACEOF
7975 cat confdefs.h >>conftest.$ac_ext
7976 cat >>conftest.$ac_ext <<_ACEOF
7977 /* end confdefs.h. */
7987 rm -f conftest.$ac_objext
7988 if { (ac_try="$ac_compile"
7990 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7991 *) ac_try_echo
=$ac_try;;
7993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7994 (eval "$ac_compile") 2>conftest.er1
7996 grep -v '^ *+' conftest.er1
>conftest.err
7998 cat conftest.err
>&5
7999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8000 (exit $ac_status); } && {
8001 test -z "$ac_c_werror_flag" ||
8002 test ! -s conftest.err
8003 } && test -s conftest.
$ac_objext; then
8004 use_no_sign_warning
="yes"
8006 echo "$as_me: failed program was:" >&5
8007 sed 's/^/| /' conftest.
$ac_ext >&5
8009 use_no_sign_warning
="no"
8012 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8013 { echo "$as_me:$LINENO: result: $use_no_sign_warning" >&5
8014 echo "${ECHO_T}$use_no_sign_warning" >&6; }
8015 if test "x-$use_no_sign_warning" = "x-yes" ; then
8016 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
8018 CFLAGS
="$save_cflags"
8020 #-----------------------------------------------------------------------------
8022 { echo "$as_me:$LINENO: checking for type of build" >&5
8023 echo $ECHO_N "checking for type of build... $ECHO_C" >&6; }
8024 # Check whether --enable-build_type was given.
8025 if test "${enable_build_type+set}" = set; then
8026 enableval
=$enable_build_type; build_type
=$enableval
8028 build_type
="personal"
8032 if test "$build_type" = "nightly"; then
8033 build_type_string
="NIGHTLY"
8034 elif test "$build_type" = "snapshot"; then
8035 build_type_string
="SNAPSHOT"
8036 elif test "$build_type" = "milestone"; then
8037 build_type_string
="MILESTONE"
8038 elif test "$build_type" = "release"; then
8039 build_type_string
="RELEASE"
8041 build_type_string
="PERSONAL"
8042 build_type
="personal"
8045 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
8047 { echo "$as_me:$LINENO: result: $build_type" >&5
8048 echo "${ECHO_T}$build_type" >&6; }
8050 #-----------------------------------------------------------------------------
8051 all_debug_types
="messages stack mungwall modules symbols"
8053 { echo "$as_me:$LINENO: checking which debug types to enable" >&5
8054 echo $ECHO_N "checking which debug types to enable... $ECHO_C" >&6; }
8055 # Check whether --enable-debug was given.
8056 if test "${enable_debug+set}" = set; then
8057 enableval
=$enable_debug; debug
="$enableval"
8063 if test "$debug" = "" -o "$debug" = "no"; then
8065 elif test "$debug" = "yes"; then
8069 if test "$debug" = "all" ; then
8070 debug
=$all_debug_types
8071 for d
in $all_debug_types; do
8072 export aros_
${d}_debug
="1"
8075 for d
in $all_debug_types; do
8076 export aros_
${d}_debug
="0"
8080 if test "$debug" != "none"; then
8081 debug
=`echo $debug | sed s/,/\ /g`
8084 for d2
in $all_debug_types; do
8085 if test "$d2" = "$d"; then
8090 if test "$found" = "0"; then
8091 { { echo "$as_me:$LINENO: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&5
8092 echo "$as_me: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&2;}
8093 { (exit 1); exit 1; }; }
8095 export aros_
${d}_debug
="1"
8099 { echo "$as_me:$LINENO: result: $debug" >&5
8100 echo "${ECHO_T}$debug" >&6; }
8102 if test "$aros_messages_debug" = "1"; then
8103 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
8105 aros_messages_debug
=""
8107 if test "$aros_symbols_debug" = "1"; then
8108 aros_symbols_debug
="-g"
8110 aros_symbols_debug
=""
8113 # These are the flags to pass when compiling debugged programs
8114 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8115 aros_debug_aflags
=""
8116 aros_debug_ldflags
="$aros_symbols_debug"
8118 aros_crosstools
="no"
8120 #-----------------------------------------------------------------------------
8121 # Checking if we should build crosstools..
8122 { echo "$as_me:$LINENO: checking whether to build crosstools" >&5
8123 echo $ECHO_N "checking whether to build crosstools... $ECHO_C" >&6; }
8124 # Check whether --enable-crosstools was given.
8125 if test "${enable_crosstools+set}" = set; then
8126 enableval
=$enable_crosstools; crosstools
="$enableval"
8131 if test "$crosstools" != "" -a "$crosstools" != "no"; then
8132 { echo "$as_me:$LINENO: result: yes" >&5
8133 echo "${ECHO_T}yes" >&6; }
8134 aros_crosstools
="yes"
8136 { echo "$as_me:$LINENO: result: no" >&5
8137 echo "${ECHO_T}no" >&6; }
8140 #-----------------------------------------------------------------------------
8141 # Checking for distcc and ccache.
8143 # Always apply the transforms in this particular order. Basically you should
8144 # always run 'ccache distcc compiler' in that order for the best performance.
8146 { echo "$as_me:$LINENO: checking whether to enable distcc" >&5
8147 echo $ECHO_N "checking whether to enable distcc... $ECHO_C" >&6; }
8148 # Check whether --enable-distcc was given.
8149 if test "${enable_distcc+set}" = set; then
8150 enableval
=$enable_distcc; distcc
="$enableval"
8155 if test "$distcc" != "" -a "$distcc" != "no"; then
8156 # AC_CHECK_PROG will print out the result in this case
8157 # Extract the first word of "distcc", so it can be a program name with args.
8158 set dummy distcc
; ac_word
=$2
8159 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8161 if test "${ac_cv_path_DISTCC+set}" = set; then
8162 echo $ECHO_N "(cached) $ECHO_C" >&6
8166 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
8169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8173 test -z "$as_dir" && as_dir
=.
8174 for ac_exec_ext
in '' $ac_executable_extensions; do
8175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8176 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
8177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8184 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
8188 DISTCC
=$ac_cv_path_DISTCC
8189 if test -n "$DISTCC"; then
8190 { echo "$as_me:$LINENO: result: $DISTCC" >&5
8191 echo "${ECHO_T}$DISTCC" >&6; }
8193 { echo "$as_me:$LINENO: result: no" >&5
8194 echo "${ECHO_T}no" >&6; }
8199 { echo "$as_me:$LINENO: result: no" >&5
8200 echo "${ECHO_T}no" >&6; }
8203 { echo "$as_me:$LINENO: checking whether to enable ccache" >&5
8204 echo $ECHO_N "checking whether to enable ccache... $ECHO_C" >&6; }
8205 # Check whether --enable-ccache was given.
8206 if test "${enable_ccache+set}" = set; then
8207 enableval
=$enable_ccache; ccache
="$enableval"
8212 if test "$ccache" != "" -a "$ccache" != "no"; then
8213 # AC_CHECK_PROG will print out the result in this case
8214 # Extract the first word of "ccache", so it can be a program name with args.
8215 set dummy ccache
; ac_word
=$2
8216 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8218 if test "${ac_cv_prog_CCACHE+set}" = set; then
8219 echo $ECHO_N "(cached) $ECHO_C" >&6
8221 if test -n "$CCACHE"; then
8222 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
8224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8228 test -z "$as_dir" && as_dir
=.
8229 for ac_exec_ext
in '' $ac_executable_extensions; do
8230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8231 ac_cv_prog_CCACHE
="ccache"
8232 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8241 CCACHE
=$ac_cv_prog_CCACHE
8242 if test -n "$CCACHE"; then
8243 { echo "$as_me:$LINENO: result: $CCACHE" >&5
8244 echo "${ECHO_T}$CCACHE" >&6; }
8246 { echo "$as_me:$LINENO: result: no" >&5
8247 echo "${ECHO_T}no" >&6; }
8252 { echo "$as_me:$LINENO: result: no" >&5
8253 echo "${ECHO_T}no" >&6; }
8256 #-----------------------------------------------------------------------------
8257 { echo "$as_me:$LINENO: checking what optimization flags to use" >&5
8258 echo $ECHO_N "checking what optimization flags to use... $ECHO_C" >&6; }
8260 # Check whether --with-optimization was given.
8261 if test "${with_optimization+set}" = set; then
8262 withval
=$with_optimization; optimization
="$withval"
8264 optimization
="unknown"
8267 if test "$optimization" = "unknown"; then
8268 if test "$debug" != "none"; then
8274 aros_config_cflags
="$aros_config_cflags $optimization"
8275 { echo "$as_me:$LINENO: result: $optimization" >&5
8276 echo "${ECHO_T}$optimization" >&6; }
8278 #-----------------------------------------------------------------------------
8279 { echo "$as_me:$LINENO: checking what target variant to enable" >&5
8280 echo $ECHO_N "checking what target variant to enable... $ECHO_C" >&6; }
8281 # Check whether --enable-target_variant was given.
8282 if test "${enable_target_variant+set}" = set; then
8283 enableval
=$enable_target_variant; target_variant
=$enableval
8285 target_variant
="none"
8288 if test "$target_variant" = "none"; then
8289 aros_target_variant
=""
8290 aros_target_suffix
=""
8292 aros_target_variant
="$target_variant"
8293 aros_target_suffix
="-$target_variant"
8295 { echo "$as_me:$LINENO: result: $enableval" >&5
8296 echo "${ECHO_T}$enableval" >&6; }
8298 target_bootloader
="none"
8300 #-----------------------------------------------------------------------------
8301 # This is the target configuration switch.
8302 case "$target_os" in
8304 aros_target_arch
="linux"
8305 case "$target_cpu" in
8307 aros_target_cpu
="m68k"
8308 aros_object_format
="m68kelf"
8309 aros_flavour
="emulcompat"
8310 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
8311 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
8312 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
8313 gcc_target_cpu
="mc68000"
8316 aros_target_cpu
="i386"
8317 aros_object_format
="elf_i386"
8318 aros_flavour
="emulation"
8319 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
8320 aros_default_wbdepth
=8
8321 gcc_target_cpu
="i386"
8324 aros_target_cpu
="x86_64"
8325 aros_object_format
="elf_x86_64"
8326 aros_flavour
="emulation"
8327 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
8328 aros_config_cflags
="$aros_config_cflags -mno-red-zone"
8329 aros_default_wbdepth
=8
8330 gcc_target_cpu
="x86_64"
8333 aros_target_cpu
="ppc"
8334 aros_object_format
="elf32ppc"
8335 aros_flavour
="emulation"
8336 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8337 aros_default_wbdepth
=8
8338 gcc_target_cpu
="ppc"
8341 # Same as powerpc, but I need this for the nightly build to work again.
8342 # Actually, the nightly should be made working with powerpc target.
8343 # That just was too much work for the moment, another week or two.
8345 aros_target_cpu
="ppc"
8346 aros_object_format
="elf32ppc"
8347 aros_flavour
="emulation"
8348 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8349 aros_default_wbdepth
=8
8350 gcc_target_cpu
="ppc"
8353 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Linux -- $target_cpu\"" >&5
8354 echo "$as_me: error: \"Unknown CPU for Linux -- $target_cpu\"" >&2;}
8355 { (exit 1); exit 1; }; }
8361 aros_target_arch
="pc"
8362 aros_shared_default
="no"
8363 target_bootloader
="grub2"
8364 case "$target_cpu" in
8366 aros_target_cpu
="i386"
8369 if test "$aros_object_format" = "" ; then
8370 aros_object_format
="elf_i386"
8372 aros_flavour
="standalone"
8373 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8374 aros_kernel_ldflags
=""
8375 aros_default_wbwidth
=640
8376 aros_default_wbheight
=480
8377 gcc_target_cpu
="i386"
8380 aros_target_cpu
="x86_64"
8382 if test "$aros_object_format" = "" ; then
8383 aros_object_format
="elf_x86_64"
8385 aros_flavour
="standalone"
8386 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8387 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone"
8388 aros_kernel_ldflags
=""
8389 aros_default_wbwidth
=640
8390 aros_default_wbheight
=480
8391 gcc_target_cpu
="x86_64"
8394 { { echo "$as_me:$LINENO: error: \"Unknown native CPU -- $target_cpu\"" >&5
8395 echo "$as_me: error: \"Unknown native CPU -- $target_cpu\"" >&2;}
8396 { (exit 1); exit 1; }; }
8402 aros_target_arch
="prep"
8403 aros_shared_default
="no"
8404 aros_target_cpu
="ppc"
8405 aros_object_format
="elf32ppc"
8406 aros_flavour
="ppcnative"
8407 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8408 aros_kernel_ldflags
=""
8409 aros_default_wbwidth
=640
8410 aros_default_wbheight
=480
8411 gcc_target_cpu
="ppc"
8415 aros_target_arch
="freebsd"
8416 aros_target_cpu
="i386"
8417 aros_flavour
="emulation"
8418 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8419 gcc_target_cpu
="i386"
8421 aros_target_strip_flags
="-x"
8425 aros_target_arch
="darwin"
8426 aros_flavour
="emulation"
8427 case "$target_cpu" in
8429 aros_target_cpu
="i386"
8430 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8431 gcc_target_cpu
="i386"
8432 aros_object_format
="elf_i386"
8433 aros_target_strip_flags
="-x"
8436 { { echo "$as_me:$LINENO: error: \"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" >&5
8437 echo "$as_me: error: \"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" >&2;}
8438 { (exit 1); exit 1; }; }
8443 aros_target_arch
="netbsd"
8444 case "$target_cpu" in
8446 aros_target_cpu
="m68k"
8447 aros_object_format
="m68kelf"
8448 aros_flavour
="emulcompat"
8449 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8450 gcc_target_cpu
="mc68000"
8453 aros_target_cpu
="i386"
8454 aros_object_format
="elf_i386"
8455 aros_flavour
="emulation"
8456 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8457 aros_default_wbdepth
=8
8458 gcc_target_cpu
="i386"
8461 { { echo "$as_me:$LINENO: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&5
8462 echo "$as_me: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&2;}
8463 { (exit 1); exit 1; }; }
8466 aros_target_genmap
="-Wl,-M -Xlinker >"
8467 aros_flavour
="emulation"
8468 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8472 aros_target_arch
="openbsd"
8473 case "$target_cpu" in
8475 aros_target_cpu
="i386"
8476 aros_object_format
="elf_i386"
8477 aros_flavour
="emulation"
8478 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8479 gcc_target_cpu
="i386"
8482 { { echo "$as_me:$LINENO: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&5
8483 echo "$as_me: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&2;}
8484 { (exit 1); exit 1; }; }
8487 aros_target_genmap
="-Wl,-M -Xlinker >"
8488 aros_target_nm_flags
="-u"
8489 aros_flavour
="emulation"
8493 aros_target_arch
="solaris"
8494 case "$target_cpu" in
8496 aros_target_cpu
="i386"
8497 aros_object_format
="elf_i386"
8498 aros_flavour
="emulation"
8499 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8500 aros_default_wbdepth
=8
8501 gcc_target_cpu
="i386"
8504 aros_target_cpu
="sparc"
8505 aros_object_format
="elf_sparc"
8506 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8507 gcc_target_cpu
="sparc"
8510 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&5
8511 echo "$as_me: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&2;}
8512 { (exit 1); exit 1; }; }
8515 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8516 aros_flavour
="emulation"
8520 aros_target_arch
="morphos"
8521 aros_shared_default
="no"
8522 aros_target_cpu
="ppc"
8523 aros_object_format
="elf_ppc"
8524 aros_flavour
="nativecompat"
8525 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8526 gcc_target_cpu
="ppc"
8530 aros_target_arch
="sam440"
8531 aros_shared_default
="no"
8532 aros_target_cpu
="ppc"
8533 aros_object_format
="elf32ppc"
8534 aros_flavour
="ppcnative"
8535 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8536 aros_kernel_ldflags
=""
8537 aros_default_wbwidth
=640
8538 aros_default_wbheight
=480
8539 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8540 gcc_target_cpu
="powerpc"
8544 aros_target_arch
="chrp"
8545 aros_shared_default
="no"
8546 aros_target_cpu
="ppc"
8547 aros_object_format
="elf32ppc"
8548 aros_flavour
="ppcnative"
8549 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8550 aros_kernel_ldflags
=""
8551 aros_default_wbwidth
=640
8552 aros_default_wbheight
=480
8553 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
8554 gcc_target_cpu
="powerpc"
8555 case "$aros_target_variant" in
8557 aros_config_cflags
="$aros_config_cflags -mcpu=603e"
8563 aros_target_arch
="amiga"
8564 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8565 aros_shared_default
="no"
8567 aros_config_cflags
="$aros_config_cflags -fomit-frame-pointer -fbuiltin -ffreestanding"
8569 case "$target_cpu" in
8571 aros_target_cpu
="m68k"
8572 aros_object_format
="m68kelf"
8573 aros_flavour
="nativecompat"
8574 gcc_target_cpu
="mc68000"
8578 aros_flavour
="native"
8579 gcc_target_cpu
="ppc"
8582 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Amiga $target_cpu\"" >&5
8583 echo "$as_me: error: \"Unknown CPU for Amiga $target_cpu\"" >&2;}
8584 { (exit 1); exit 1; }; }
8590 aros_target_arch
="cygwin"
8591 aros_shared_default
="no"
8592 case "$target_cpu" in
8594 aros_target_cpu
="i386"
8595 aros_object_format
="elf_i386"
8596 aros_flavour
="emulation"
8597 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__CYGWIN32__"
8598 aros_shared_cflags
=""
8599 aros_default_wbdepth
=8
8600 gcc_target_cpu
="i386"
8601 aros_target_cc
="i386-aros-gcc"
8602 aros_target_ld
="i386-aros-ld"
8603 aros_target_as
="i386-aros-as"
8604 aros_target_ar
="i386-aros-ar"
8605 aros_target_ranlib
="i386-aros-ranlib"
8606 aros_target_nm
="i386-aros-nm"
8607 aros_target_strip
="i386-aros-strip"
8608 aros_target_objcopy
="i386-aros-objcopy"
8609 aros_target_objdump
="i386-aros-objdump"
8612 { { echo "$as_me:$LINENO: error: \"Unknown CPU for CygWin -- $target_cpu\"" >&5
8613 echo "$as_me: error: \"Unknown CPU for CygWin -- $target_cpu\"" >&2;}
8614 { (exit 1); exit 1; }; }
8620 aros_target_arch
="mingw32"
8621 aros_shared_default
="no"
8622 case "$target_cpu" in
8624 aros_target_cpu
="i386"
8625 aros_object_format
="elf_i386"
8626 aros_flavour
="emulation"
8627 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8628 aros_shared_cflags
=""
8629 aros_default_wbdepth
=8
8630 gcc_target_cpu
="i386"
8631 aros_target_cc
="i386-aros-gcc"
8632 aros_target_ld
="i386-aros-ld"
8633 aros_target_as
="i386-aros-as"
8634 aros_target_ar
="i386-aros-ar"
8635 aros_target_ranlib
="i386-aros-ranlib"
8636 aros_target_nm
="i386-aros-nm"
8637 aros_target_strip
="i386-aros-strip"
8638 aros_target_objcopy
="i386-aros-objcopy"
8639 aros_target_objdump
="i386-aros-objdump"
8642 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Mingw32 -- $target_cpu\"" >&5
8643 echo "$as_me: error: \"Unknown CPU for Mingw32 -- $target_cpu\"" >&2;}
8644 { (exit 1); exit 1; }; }
8647 if test $host_os = "cygwin"; then
8648 aros_kernel_cflags
="-mno-cygwin"
8652 aros_target_arch
="pp"
8653 aros_shared_default
="no"
8654 case "$target_cpu" in
8656 aros_target_cpu
="m68k"
8657 aros_object_format
="m68kelf"
8658 aros_flavour
="palmnative"
8659 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8660 aros_kernel_ldflags
=""
8661 aros_default_wbwidth
=160
8662 aros_default_wbheight
=160
8663 aros_default_wbdepth
=1
8664 aros_target_ar_flags
="cru"
8665 aros_compiler_libs
="-lgcc1"
8666 aros_shared_default
=no
8667 aros_shared_cflags
="-fpic"
8668 aros_shared_aflags
=""
8669 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8670 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8671 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
8672 aros_debug_aflags
=""
8673 aros_debug_ldflags
="$aros_symbols_debug"
8674 aros_mungwall_debug
="0"
8675 aros_modules_debug
="0"
8676 gcc_target_cpu
="mc68000"
8677 ignore_undefined_symbols
="-ius"
8680 { { echo "$as_me:$LINENO: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&5
8681 echo "$as_me: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&2;}
8682 { (exit 1); exit 1; }; }
8688 aros_target_arch
="mac"
8689 aros_shared_default
="no"
8690 case "$target_cpu" in
8692 aros_target_cpu
="m68k"
8693 aros_object_format
="m68kelf"
8694 aros_flavour
="mac68knative"
8695 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8696 aros_default_wbwidth
=512
8697 aros_default_wbheight
=384
8698 aros_default_wbdepth
=8
8699 aros_target_ar_flags
="cru"
8700 aros_compiler_libs
="-lgcc1"
8701 aros_shared_default
=no
8702 aros_shared_cflags
="-fpic"
8703 aros_shared_aflags
=""
8704 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8705 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8706 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000"
8707 aros_debug_aflags
=""
8708 aros_debug_ldflags
="$aros_symbols_debug"
8709 aros_mungwall_debug
="0"
8710 aros_modules_debug
="0"
8711 gcc_target_cpu
="mc68000"
8712 ignore_undefined_symbols
="-ius"
8715 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&5
8716 echo "$as_me: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&2;}
8717 { (exit 1); exit 1; }; }
8723 { { echo "$as_me:$LINENO: error: Unsupported target architecture $target" >&5
8724 echo "$as_me: error: Unsupported target architecture $target" >&2;}
8725 { (exit 1); exit 1; }; }
8729 { echo "$as_me:$LINENO: checking Where to download sourcecode for external ports" >&5
8730 echo $ECHO_N "checking Where to download sourcecode for external ports... $ECHO_C" >&6; }
8732 # Check whether --with-portssources was given.
8733 if test "${with_portssources+set}" = set; then
8734 withval
=$with_portssources; with_portssrcdir
=$withval
8736 with_portssrcdir
="default"
8739 if test "$with_portssrcdir" = "default"; then
8740 AROS_PORTSSRCDIR
="$AROS_BUILDDIR/bin/Sources"
8742 AROS_PORTSSRCDIR
="$with_portssrcdir"
8744 { echo "$as_me:$LINENO: result: $AROS_PORTSSRCDIR" >&5
8745 echo "${ECHO_T}$AROS_PORTSSRCDIR" >&6; }
8747 { echo "$as_me:$LINENO: checking which bootloader to use" >&5
8748 echo $ECHO_N "checking which bootloader to use... $ECHO_C" >&6; }
8750 # Check whether --with-bootloader was given.
8751 if test "${with_bootloader+set}" = set; then
8752 withval
=$with_bootloader; target_bootloader
=$withval
8754 target_bootloader
=$target_bootloader
8757 if test "$target_bootloader" = "none"; then
8758 aros_target_bootloader
=""
8760 aros_target_bootloader
="$target_bootloader"
8762 { echo "$as_me:$LINENO: result: $target_bootloader" >&5
8763 echo "${ECHO_T}$target_bootloader" >&6; }
8765 # Check LZO when compiling the grub2 bootloader on i386/x86_64.
8766 aros_liblzo_check
="no"
8767 case "$aros_target_bootloader" in
8769 case "$target_cpu" in
8771 aros_liblzo_check
="yes"
8774 aros_liblzo_check
="yes"
8785 if test "$aros_liblzo_check" = "yes"; then
8786 # There are three possibilities. LZO version 2 installed with the name
8787 # liblzo2, with the name liblzo, and LZO version 1.
8788 { echo "$as_me:$LINENO: checking for __lzo_init_v2 in -llzo2" >&5
8789 echo $ECHO_N "checking for __lzo_init_v2 in -llzo2... $ECHO_C" >&6; }
8790 if test "${ac_cv_lib_lzo2___lzo_init_v2+set}" = set; then
8791 echo $ECHO_N "(cached) $ECHO_C" >&6
8793 ac_check_lib_save_LIBS
=$LIBS
8795 cat >conftest.
$ac_ext <<_ACEOF
8798 cat confdefs.h
>>conftest.
$ac_ext
8799 cat >>conftest.
$ac_ext <<_ACEOF
8800 /* end confdefs.h. */
8802 /* Override any GCC internal prototype to avoid an error.
8803 Use char because int might match the return type of a GCC
8804 builtin and then its argument prototype would still apply. */
8808 char __lzo_init_v2 ();
8812 return __lzo_init_v2 ();
8817 rm -f conftest.
$ac_objext conftest
$ac_exeext
8818 if { (ac_try
="$ac_link"
8820 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8821 *) ac_try_echo=$ac_try;;
8823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8824 (eval "$ac_link") 2>conftest.er1
8826 grep -v '^ *+' conftest.er1 >conftest.err
8828 cat conftest.err >&5
8829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8830 (exit $ac_status); } && {
8831 test -z "$ac_c_werror_flag" ||
8832 test ! -s conftest.err
8833 } && test -s conftest$ac_exeext &&
8834 $as_test_x conftest$ac_exeext; then
8835 ac_cv_lib_lzo2___lzo_init_v2=yes
8837 echo "$as_me: failed program was:" >&5
8838 sed 's/^/| /' conftest.$ac_ext >&5
8840 ac_cv_lib_lzo2___lzo_init_v2=no
8843 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8844 conftest$ac_exeext conftest.$ac_ext
8845 LIBS=$ac_check_lib_save_LIBS
8847 { echo "$as_me:$LINENO: result: $ac_cv_lib_lzo2___lzo_init_v2" >&5
8848 echo "${ECHO_T}$ac_cv_lib_lzo2___lzo_init_v2" >&6; }
8849 if test $ac_cv_lib_lzo2___lzo_init_v2 = yes; then
8852 { echo "$as_me:$LINENO: checking for __lzo_init_v2 in -llzo" >&5
8853 echo $ECHO_N "checking for __lzo_init_v2 in -llzo... $ECHO_C" >&6; }
8854 if test "${ac_cv_lib_lzo___lzo_init_v2+set}" = set; then
8855 echo $ECHO_N "(cached) $ECHO_C" >&6
8857 ac_check_lib_save_LIBS=$LIBS
8859 cat >conftest.$ac_ext <<_ACEOF
8862 cat confdefs.h >>conftest.$ac_ext
8863 cat >>conftest.$ac_ext <<_ACEOF
8864 /* end confdefs.h. */
8866 /* Override any GCC internal prototype to avoid an error.
8867 Use char because int might match the return type of a GCC
8868 builtin and then its argument prototype would still apply. */
8872 char __lzo_init_v2 ();
8876 return __lzo_init_v2 ();
8881 rm -f conftest.$ac_objext conftest$ac_exeext
8882 if { (ac_try="$ac_link"
8884 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8885 *) ac_try_echo
=$ac_try;;
8887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8888 (eval "$ac_link") 2>conftest.er1
8890 grep -v '^ *+' conftest.er1
>conftest.err
8892 cat conftest.err
>&5
8893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8894 (exit $ac_status); } && {
8895 test -z "$ac_c_werror_flag" ||
8896 test ! -s conftest.err
8897 } && test -s conftest
$ac_exeext &&
8898 $as_test_x conftest
$ac_exeext; then
8899 ac_cv_lib_lzo___lzo_init_v2
=yes
8901 echo "$as_me: failed program was:" >&5
8902 sed 's/^/| /' conftest.
$ac_ext >&5
8904 ac_cv_lib_lzo___lzo_init_v2
=no
8907 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8908 conftest
$ac_exeext conftest.
$ac_ext
8909 LIBS
=$ac_check_lib_save_LIBS
8911 { echo "$as_me:$LINENO: result: $ac_cv_lib_lzo___lzo_init_v2" >&5
8912 echo "${ECHO_T}$ac_cv_lib_lzo___lzo_init_v2" >&6; }
8913 if test $ac_cv_lib_lzo___lzo_init_v2 = yes; then
8916 { echo "$as_me:$LINENO: checking for __lzo_init2 in -llzo" >&5
8917 echo $ECHO_N "checking for __lzo_init2 in -llzo... $ECHO_C" >&6; }
8918 if test "${ac_cv_lib_lzo___lzo_init2+set}" = set; then
8919 echo $ECHO_N "(cached) $ECHO_C" >&6
8921 ac_check_lib_save_LIBS
=$LIBS
8923 cat >conftest.
$ac_ext <<_ACEOF
8926 cat confdefs.h
>>conftest.
$ac_ext
8927 cat >>conftest.
$ac_ext <<_ACEOF
8928 /* end confdefs.h. */
8930 /* Override any GCC internal prototype to avoid an error.
8931 Use char because int might match the return type of a GCC
8932 builtin and then its argument prototype would still apply. */
8936 char __lzo_init2 ();
8940 return __lzo_init2 ();
8945 rm -f conftest.
$ac_objext conftest
$ac_exeext
8946 if { (ac_try
="$ac_link"
8948 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8949 *) ac_try_echo=$ac_try;;
8951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8952 (eval "$ac_link") 2>conftest.er1
8954 grep -v '^ *+' conftest.er1 >conftest.err
8956 cat conftest.err >&5
8957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8958 (exit $ac_status); } && {
8959 test -z "$ac_c_werror_flag" ||
8960 test ! -s conftest.err
8961 } && test -s conftest$ac_exeext &&
8962 $as_test_x conftest$ac_exeext; then
8963 ac_cv_lib_lzo___lzo_init2=yes
8965 echo "$as_me: failed program was:" >&5
8966 sed 's/^/| /' conftest.$ac_ext >&5
8968 ac_cv_lib_lzo___lzo_init2=no
8971 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8972 conftest$ac_exeext conftest.$ac_ext
8973 LIBS=$ac_check_lib_save_LIBS
8975 { echo "$as_me:$LINENO: result: $ac_cv_lib_lzo___lzo_init2" >&5
8976 echo "${ECHO_T}$ac_cv_lib_lzo___lzo_init2" >&6; }
8977 if test $ac_cv_lib_lzo___lzo_init2 = yes; then
8980 { { echo "$as_me:$LINENO: error: LZO library version 1.02 or later is required" >&5
8981 echo "$as_me: error: LZO library version 1.02 or later is required" >&2;}
8982 { (exit 1); exit 1; }; }
8991 LIBS="$LIBS $LIBLZO"
8992 { echo "$as_me:$LINENO: checking for lzo1x_999_compress" >&5
8993 echo $ECHO_N "checking for lzo1x_999_compress... $ECHO_C" >&6; }
8994 if test "${ac_cv_func_lzo1x_999_compress+set}" = set; then
8995 echo $ECHO_N "(cached) $ECHO_C" >&6
8997 cat >conftest.$ac_ext <<_ACEOF
9000 cat confdefs.h >>conftest.$ac_ext
9001 cat >>conftest.$ac_ext <<_ACEOF
9002 /* end confdefs.h. */
9003 /* Define lzo1x_999_compress to an innocuous variant, in case <limits.h> declares lzo1x_999_compress.
9004 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9005 #define lzo1x_999_compress innocuous_lzo1x_999_compress
9007 /* System header to define __stub macros and hopefully few prototypes,
9008 which can conflict with char lzo1x_999_compress (); below.
9009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9010 <limits.h> exists even on freestanding compilers. */
9013 # include <limits.h>
9015 # include <assert.h>
9018 #undef lzo1x_999_compress
9020 /* Override any GCC internal prototype to avoid an error.
9021 Use char because int might match the return type of a GCC
9022 builtin and then its argument prototype would still apply. */
9026 char lzo1x_999_compress ();
9027 /* The GNU C library defines this for functions which it implements
9028 to always fail with ENOSYS. Some functions are actually named
9029 something starting with __ and the normal name is an alias. */
9030 #if defined __stub_lzo1x_999_compress || defined __stub___lzo1x_999_compress
9037 return lzo1x_999_compress ();
9042 rm -f conftest.$ac_objext conftest$ac_exeext
9043 if { (ac_try="$ac_link"
9045 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9046 *) ac_try_echo
=$ac_try;;
9048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9049 (eval "$ac_link") 2>conftest.er1
9051 grep -v '^ *+' conftest.er1
>conftest.err
9053 cat conftest.err
>&5
9054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9055 (exit $ac_status); } && {
9056 test -z "$ac_c_werror_flag" ||
9057 test ! -s conftest.err
9058 } && test -s conftest
$ac_exeext &&
9059 $as_test_x conftest
$ac_exeext; then
9060 ac_cv_func_lzo1x_999_compress
=yes
9062 echo "$as_me: failed program was:" >&5
9063 sed 's/^/| /' conftest.
$ac_ext >&5
9065 ac_cv_func_lzo1x_999_compress
=no
9068 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9069 conftest
$ac_exeext conftest.
$ac_ext
9071 { echo "$as_me:$LINENO: result: $ac_cv_func_lzo1x_999_compress" >&5
9072 echo "${ECHO_T}$ac_cv_func_lzo1x_999_compress" >&6; }
9073 if test $ac_cv_func_lzo1x_999_compress = yes; then
9076 { { echo "$as_me:$LINENO: error: LZO1X-999 must be enabled" >&5
9077 echo "$as_me: error: LZO1X-999 must be enabled" >&2;}
9078 { (exit 1); exit 1; }; }
9082 # LZO version 2 uses lzo/lzo1x.h, while LZO version 1 uses lzo1x.h.
9085 for ac_header
in lzo
/lzo1x.h lzo1x.h
9087 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9088 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9089 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9090 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9091 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9092 echo $ECHO_N "(cached) $ECHO_C" >&6
9094 ac_res
=`eval echo '${'$as_ac_Header'}'`
9095 { echo "$as_me:$LINENO: result: $ac_res" >&5
9096 echo "${ECHO_T}$ac_res" >&6; }
9098 # Is the header compilable?
9099 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9100 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9101 cat >conftest.
$ac_ext <<_ACEOF
9104 cat confdefs.h
>>conftest.
$ac_ext
9105 cat >>conftest.
$ac_ext <<_ACEOF
9106 /* end confdefs.h. */
9107 $ac_includes_default
9108 #include <$ac_header>
9110 rm -f conftest.
$ac_objext
9111 if { (ac_try
="$ac_compile"
9113 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9114 *) ac_try_echo=$ac_try;;
9116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9117 (eval "$ac_compile") 2>conftest.er1
9119 grep -v '^ *+' conftest.er1 >conftest.err
9121 cat conftest.err >&5
9122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9123 (exit $ac_status); } && {
9124 test -z "$ac_c_werror_flag" ||
9125 test ! -s conftest.err
9126 } && test -s conftest.$ac_objext; then
9127 ac_header_compiler=yes
9129 echo "$as_me: failed program was:" >&5
9130 sed 's/^/| /' conftest.$ac_ext >&5
9132 ac_header_compiler=no
9135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9136 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9137 echo "${ECHO_T}$ac_header_compiler" >&6; }
9139 # Is the header present?
9140 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9141 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9142 cat >conftest.$ac_ext <<_ACEOF
9145 cat confdefs.h >>conftest.$ac_ext
9146 cat >>conftest.$ac_ext <<_ACEOF
9147 /* end confdefs.h. */
9148 #include <$ac_header>
9150 if { (ac_try="$ac_cpp conftest.$ac_ext"
9152 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9153 *) ac_try_echo
=$ac_try;;
9155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9156 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9158 grep -v '^ *+' conftest.er1
>conftest.err
9160 cat conftest.err
>&5
9161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9162 (exit $ac_status); } >/dev
/null
&& {
9163 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9164 test ! -s conftest.err
9166 ac_header_preproc
=yes
9168 echo "$as_me: failed program was:" >&5
9169 sed 's/^/| /' conftest.
$ac_ext >&5
9171 ac_header_preproc
=no
9174 rm -f conftest.err conftest.
$ac_ext
9175 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9176 echo "${ECHO_T}$ac_header_preproc" >&6; }
9178 # So? What about this header?
9179 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9181 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9182 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9183 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9184 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9185 ac_header_preproc
=yes
9188 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9189 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9190 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9191 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9192 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9193 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9194 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9195 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9196 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9197 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9198 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9199 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9203 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9204 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9205 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9206 echo $ECHO_N "(cached) $ECHO_C" >&6
9208 eval "$as_ac_Header=\$ac_header_preproc"
9210 ac_res
=`eval echo '${'$as_ac_Header'}'`
9211 { echo "$as_me:$LINENO: result: $ac_res" >&5
9212 echo "${ECHO_T}$ac_res" >&6; }
9215 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9216 cat >>confdefs.h
<<_ACEOF
9217 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9226 { echo "$as_me:$LINENO: checking which GUI Theme to use" >&5
9227 echo $ECHO_N "checking which GUI Theme to use... $ECHO_C" >&6; }
9229 # Check whether --with-theme was given.
9230 if test "${with_theme+set}" = set; then
9231 withval
=$with_theme; target_guitheme
=$withval
9233 target_guitheme
="default"
9236 if test "$target_guitheme" = "default"; then
9237 aros_target_guitheme
="Ice"
9239 aros_target_guitheme
="$target_guitheme"
9241 { echo "$as_me:$LINENO: result: $aros_target_guitheme" >&5
9242 echo "${ECHO_T}$aros_target_guitheme" >&6; }
9244 # Find out if we are cross-compiling (ie. if we can't use the host compiler
9247 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
9250 if test "$aros_host_arch" == "darwin" ; then
9254 # Set prefix for target compiler etc. if we're cross-compiling
9255 # (should possibly be earlier but needs to be after AC_PROG_CC)
9256 if test "$cross_compiling" = "yes" ; then
9257 target_tool_prefix
=${target_cpu}-elf-
9258 CC
=${target_tool_prefix}gcc
9261 # Find all the tools we need to compile. This could be cross-compiling
9262 # though! If that is the case we use the GNU form of the target and
9263 # simply add this to the front of the binary name. This is rather simple,
9264 # but it should work under most circumstances.
9266 # The default tools are to use the same as the host, but only if the
9267 # host and target CPU are the same. With GCC this is normally enough.
9271 aros_shared_ld
="$aros_host_ld"
9273 aros_target_mkdep
="$aros_host_mkdep"
9274 aros_target_incl_def
="$aros_host_incl"
9276 # Extract the first word of "$CC", so it can be a program name with args.
9277 set dummy
$CC; ac_word
=$2
9278 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9280 if test "${ac_cv_path_aros_kernel_cc+set}" = set; then
9281 echo $ECHO_N "(cached) $ECHO_C" >&6
9283 case $aros_kernel_cc in
9285 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9292 test -z "$as_dir" && as_dir
=.
9293 for ac_exec_ext
in '' $ac_executable_extensions; do
9294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9295 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9306 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9307 if test -n "$aros_kernel_cc"; then
9308 { echo "$as_me:$LINENO: result: $aros_kernel_cc" >&5
9309 echo "${ECHO_T}$aros_kernel_cc" >&6; }
9311 { echo "$as_me:$LINENO: result: no" >&5
9312 echo "${ECHO_T}no" >&6; }
9317 # The default tools executables to be linked to.
9318 if test "$aros_target_cc" != ""; then
9319 # Extract the first word of "$aros_target_cc", so it can be a program name with args.
9320 set dummy
$aros_target_cc; ac_word
=$2
9321 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9323 if test "${ac_cv_path_aros_target_cc+set}" = set; then
9324 echo $ECHO_N "(cached) $ECHO_C" >&6
9326 case $aros_target_cc in
9328 ac_cv_path_aros_target_cc
="$aros_target_cc" # Let the user override the test with a path.
9331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9335 test -z "$as_dir" && as_dir
=.
9336 for ac_exec_ext
in '' $ac_executable_extensions; do
9337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9338 ac_cv_path_aros_target_cc
="$as_dir/$ac_word$ac_exec_ext"
9339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9349 aros_target_cc
=$ac_cv_path_aros_target_cc
9350 if test -n "$aros_target_cc"; then
9351 { echo "$as_me:$LINENO: result: $aros_target_cc" >&5
9352 echo "${ECHO_T}$aros_target_cc" >&6; }
9354 { echo "$as_me:$LINENO: result: no" >&5
9355 echo "${ECHO_T}no" >&6; }
9359 if test "$aros_target_cc" = ""; then
9360 { { echo "$as_me:$LINENO: error: gcc is required to build AROS. Please install and run configure again." >&5
9361 echo "$as_me: error: gcc is required to build AROS. Please install and run configure again." >&2;}
9362 { (exit 1); exit 1; }; }
9365 if test "$aros_target_ld" != ""; then
9366 # Extract the first word of "$aros_target_ld", so it can be a program name with args.
9367 set dummy
$aros_target_ld; ac_word
=$2
9368 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9370 if test "${ac_cv_path_aros_target_ld+set}" = set; then
9371 echo $ECHO_N "(cached) $ECHO_C" >&6
9373 case $aros_target_ld in
9375 ac_cv_path_aros_target_ld
="$aros_target_ld" # Let the user override the test with a path.
9378 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9382 test -z "$as_dir" && as_dir
=.
9383 for ac_exec_ext
in '' $ac_executable_extensions; do
9384 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9385 ac_cv_path_aros_target_ld
="$as_dir/$ac_word$ac_exec_ext"
9386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9396 aros_target_ld
=$ac_cv_path_aros_target_ld
9397 if test -n "$aros_target_ld"; then
9398 { echo "$as_me:$LINENO: result: $aros_target_ld" >&5
9399 echo "${ECHO_T}$aros_target_ld" >&6; }
9401 { echo "$as_me:$LINENO: result: no" >&5
9402 echo "${ECHO_T}no" >&6; }
9406 if test "$aros_target_ld" = ""; then
9407 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
9408 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
9409 { (exit 1); exit 1; }; }
9413 if test "$crosstools" != "yes"; then
9415 if test "$aros_target_as" = ""; then
9416 if test "$cross_compiling" = "yes" ; then
9417 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
9418 set dummy
${target_tool_prefix}as
; ac_word
=$2
9419 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9420 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9421 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9422 echo $ECHO_N "(cached) $ECHO_C" >&6
9424 case $aros_target_as_ln in
9426 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
9429 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9433 test -z "$as_dir" && as_dir
=.
9434 for ac_exec_ext
in '' $ac_executable_extensions; do
9435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9436 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
9437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9447 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
9448 if test -n "$aros_target_as_ln"; then
9449 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9450 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9452 { echo "$as_me:$LINENO: result: no" >&5
9453 echo "${ECHO_T}no" >&6; }
9458 if test "$GCC" = "yes"; then
9459 aros_gcc_as
=`$CC -print-prog-name=as`
9460 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
9461 set dummy
`basename $aros_gcc_as`; ac_word
=$2
9462 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9464 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9465 echo $ECHO_N "(cached) $ECHO_C" >&6
9467 case $aros_target_as_ln in
9469 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
9472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9473 for as_dir
in `dirname $aros_gcc_as`
9476 test -z "$as_dir" && as_dir
=.
9477 for ac_exec_ext
in '' $ac_executable_extensions; do
9478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9479 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
9480 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9490 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
9491 if test -n "$aros_target_as_ln"; then
9492 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9493 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9495 { echo "$as_me:$LINENO: result: no" >&5
9496 echo "${ECHO_T}no" >&6; }
9501 if test "$aros_target_as_ln" = ""; then
9502 # Extract the first word of "as", so it can be a program name with args.
9503 set dummy as
; ac_word
=$2
9504 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9506 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9507 echo $ECHO_N "(cached) $ECHO_C" >&6
9509 case $aros_target_as_ln in
9511 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
9514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9518 test -z "$as_dir" && as_dir
=.
9519 for ac_exec_ext
in '' $ac_executable_extensions; do
9520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9521 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
9522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9532 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
9533 if test -n "$aros_target_as_ln"; then
9534 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9535 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9537 { echo "$as_me:$LINENO: result: no" >&5
9538 echo "${ECHO_T}no" >&6; }
9545 # Extract the first word of "$aros_target_as", so it can be a program name with args.
9546 set dummy
$aros_target_as; ac_word
=$2
9547 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9549 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9550 echo $ECHO_N "(cached) $ECHO_C" >&6
9552 case $aros_target_as_ln in
9554 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
9557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9561 test -z "$as_dir" && as_dir
=.
9562 for ac_exec_ext
in '' $ac_executable_extensions; do
9563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9564 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
9565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9575 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
9576 if test -n "$aros_target_as_ln"; then
9577 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9578 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9580 { echo "$as_me:$LINENO: result: no" >&5
9581 echo "${ECHO_T}no" >&6; }
9587 if test "$aros_target_as_ln" = ""; then
9588 { { echo "$as_me:$LINENO: error: as is required to build AROS. Please install and run configure again." >&5
9589 echo "$as_me: error: as is required to build AROS. Please install and run configure again." >&2;}
9590 { (exit 1); exit 1; }; }
9593 if test "$aros_kernel_ld" = ""; then
9594 if test "$cross_compiling" = "yes" ; then
9595 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
9596 set dummy
${target_tool_prefix}ld
; ac_word
=$2
9597 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9599 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9600 echo $ECHO_N "(cached) $ECHO_C" >&6
9602 case $aros_kernel_ld in
9604 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9611 test -z "$as_dir" && as_dir
=.
9612 for ac_exec_ext
in '' $ac_executable_extensions; do
9613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9614 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9625 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9626 if test -n "$aros_kernel_ld"; then
9627 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9628 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9630 { echo "$as_me:$LINENO: result: no" >&5
9631 echo "${ECHO_T}no" >&6; }
9636 if test "$GCC" = "yes"; then
9637 aros_gcc_ld
=`$CC -print-prog-name=ld`
9638 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
9639 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
9640 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9641 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9642 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9643 echo $ECHO_N "(cached) $ECHO_C" >&6
9645 case $aros_kernel_ld in
9647 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9651 for as_dir
in `dirname $aros_gcc_ld`
9654 test -z "$as_dir" && as_dir
=.
9655 for ac_exec_ext
in '' $ac_executable_extensions; do
9656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9657 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9658 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9668 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9669 if test -n "$aros_kernel_ld"; then
9670 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9671 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9673 { echo "$as_me:$LINENO: result: no" >&5
9674 echo "${ECHO_T}no" >&6; }
9679 if test "$aros_kernel_ld" = ""; then
9680 # Extract the first word of "ld", so it can be a program name with args.
9681 set dummy ld
; ac_word
=$2
9682 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9684 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9685 echo $ECHO_N "(cached) $ECHO_C" >&6
9687 case $aros_kernel_ld in
9689 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9692 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9696 test -z "$as_dir" && as_dir
=.
9697 for ac_exec_ext
in '' $ac_executable_extensions; do
9698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9699 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9700 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9710 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9711 if test -n "$aros_kernel_ld"; then
9712 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9713 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9715 { echo "$as_me:$LINENO: result: no" >&5
9716 echo "${ECHO_T}no" >&6; }
9723 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
9724 set dummy
$aros_kernel_ld; ac_word
=$2
9725 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9727 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9728 echo $ECHO_N "(cached) $ECHO_C" >&6
9730 case $aros_kernel_ld in
9732 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9739 test -z "$as_dir" && as_dir
=.
9740 for ac_exec_ext
in '' $ac_executable_extensions; do
9741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9742 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9743 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9753 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9754 if test -n "$aros_kernel_ld"; then
9755 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9756 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9758 { echo "$as_me:$LINENO: result: no" >&5
9759 echo "${ECHO_T}no" >&6; }
9765 if test "$aros_kernel_ld" = ""; then
9766 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
9767 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
9768 { (exit 1); exit 1; }; }
9771 if test "$aros_target_ar" = ""; then
9772 if test "$cross_compiling" = "yes" ; then
9773 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
9774 set dummy
${target_tool_prefix}ar; ac_word
=$2
9775 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9777 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9778 echo $ECHO_N "(cached) $ECHO_C" >&6
9780 case $aros_target_ar_ln in
9782 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9789 test -z "$as_dir" && as_dir
=.
9790 for ac_exec_ext
in '' $ac_executable_extensions; do
9791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9792 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9803 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9804 if test -n "$aros_target_ar_ln"; then
9805 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9806 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9808 { echo "$as_me:$LINENO: result: no" >&5
9809 echo "${ECHO_T}no" >&6; }
9814 if test "$GCC" = "yes"; then
9815 aros_gcc_ar
=`$CC -print-prog-name=ar`
9816 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9817 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
9818 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9820 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9821 echo $ECHO_N "(cached) $ECHO_C" >&6
9823 case $aros_target_ar_ln in
9825 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9829 for as_dir
in `dirname $aros_gcc_ar`
9832 test -z "$as_dir" && as_dir
=.
9833 for ac_exec_ext
in '' $ac_executable_extensions; do
9834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9835 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9836 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9846 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9847 if test -n "$aros_target_ar_ln"; then
9848 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9849 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9851 { echo "$as_me:$LINENO: result: no" >&5
9852 echo "${ECHO_T}no" >&6; }
9857 if test "$aros_target_ar_ln" = ""; then
9858 # Extract the first word of "ar", so it can be a program name with args.
9859 set dummy
ar; ac_word
=$2
9860 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9862 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9863 echo $ECHO_N "(cached) $ECHO_C" >&6
9865 case $aros_target_ar_ln in
9867 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9874 test -z "$as_dir" && as_dir
=.
9875 for ac_exec_ext
in '' $ac_executable_extensions; do
9876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9877 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9888 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9889 if test -n "$aros_target_ar_ln"; then
9890 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9891 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9893 { echo "$as_me:$LINENO: result: no" >&5
9894 echo "${ECHO_T}no" >&6; }
9901 # Extract the first word of "$aros_target_ar", so it can be a program name with args.
9902 set dummy
$aros_target_ar; ac_word
=$2
9903 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9905 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9906 echo $ECHO_N "(cached) $ECHO_C" >&6
9908 case $aros_target_ar_ln in
9910 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9917 test -z "$as_dir" && as_dir
=.
9918 for ac_exec_ext
in '' $ac_executable_extensions; do
9919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9920 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9931 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9932 if test -n "$aros_target_ar_ln"; then
9933 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9934 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9936 { echo "$as_me:$LINENO: result: no" >&5
9937 echo "${ECHO_T}no" >&6; }
9943 if test "$aros_target_ar_ln" = ""; then
9944 { { echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
9945 echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
9946 { (exit 1); exit 1; }; }
9949 if test "$aros_target_nm" = ""; then
9950 if test "$cross_compiling" = "yes" ; then
9951 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
9952 set dummy
${target_tool_prefix}nm
; ac_word
=$2
9953 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9955 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
9956 echo $ECHO_N "(cached) $ECHO_C" >&6
9958 case $aros_target_nm_ln in
9960 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9963 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9967 test -z "$as_dir" && as_dir
=.
9968 for ac_exec_ext
in '' $ac_executable_extensions; do
9969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9970 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9981 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9982 if test -n "$aros_target_nm_ln"; then
9983 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
9984 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
9986 { echo "$as_me:$LINENO: result: no" >&5
9987 echo "${ECHO_T}no" >&6; }
9992 if test "$GCC" = "yes"; then
9993 aros_gcc_nm
=`$CC -print-prog-name=nm`
9994 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
9995 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
9996 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9998 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
9999 echo $ECHO_N "(cached) $ECHO_C" >&6
10001 case $aros_target_nm_ln in
10003 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
10006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10007 for as_dir
in `dirname $aros_gcc_nm`
10010 test -z "$as_dir" && as_dir
=.
10011 for ac_exec_ext
in '' $ac_executable_extensions; do
10012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10013 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
10014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10024 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
10025 if test -n "$aros_target_nm_ln"; then
10026 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10027 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
10029 { echo "$as_me:$LINENO: result: no" >&5
10030 echo "${ECHO_T}no" >&6; }
10035 if test "$aros_target_nm_ln" = ""; then
10036 # Extract the first word of "nm", so it can be a program name with args.
10037 set dummy nm
; ac_word
=$2
10038 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10040 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
10041 echo $ECHO_N "(cached) $ECHO_C" >&6
10043 case $aros_target_nm_ln in
10045 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
10048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10049 for as_dir
in $PATH
10052 test -z "$as_dir" && as_dir
=.
10053 for ac_exec_ext
in '' $ac_executable_extensions; do
10054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10055 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
10056 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10066 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
10067 if test -n "$aros_target_nm_ln"; then
10068 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10069 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
10071 { echo "$as_me:$LINENO: result: no" >&5
10072 echo "${ECHO_T}no" >&6; }
10079 # Extract the first word of "$aros_target_nm", so it can be a program name with args.
10080 set dummy
$aros_target_nm; ac_word
=$2
10081 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10083 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
10084 echo $ECHO_N "(cached) $ECHO_C" >&6
10086 case $aros_target_nm_ln in
10088 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
10091 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10092 for as_dir
in $PATH
10095 test -z "$as_dir" && as_dir
=.
10096 for ac_exec_ext
in '' $ac_executable_extensions; do
10097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10098 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
10099 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10109 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
10110 if test -n "$aros_target_nm_ln"; then
10111 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10112 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
10114 { echo "$as_me:$LINENO: result: no" >&5
10115 echo "${ECHO_T}no" >&6; }
10121 if test "$aros_target_nm_ln" = ""; then
10122 { { echo "$as_me:$LINENO: error: nm is required to build AROS. Please install and run configure again." >&5
10123 echo "$as_me: error: nm is required to build AROS. Please install and run configure again." >&2;}
10124 { (exit 1); exit 1; }; }
10127 if test "$aros_target_objcopy" = ""; then
10128 if test "$cross_compiling" = "yes" ; then
10129 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
10130 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
10131 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10133 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10134 echo $ECHO_N "(cached) $ECHO_C" >&6
10136 case $aros_target_objcopy_ln in
10138 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
10141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10142 for as_dir
in $PATH
10145 test -z "$as_dir" && as_dir
=.
10146 for ac_exec_ext
in '' $ac_executable_extensions; do
10147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10148 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
10149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10159 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
10160 if test -n "$aros_target_objcopy_ln"; then
10161 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10162 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
10164 { echo "$as_me:$LINENO: result: no" >&5
10165 echo "${ECHO_T}no" >&6; }
10170 if test "$GCC" = "yes"; then
10171 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
10172 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
10173 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
10174 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10176 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10177 echo $ECHO_N "(cached) $ECHO_C" >&6
10179 case $aros_target_objcopy_ln in
10181 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
10184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10185 for as_dir
in `dirname $aros_gcc_objcopy`
10188 test -z "$as_dir" && as_dir
=.
10189 for ac_exec_ext
in '' $ac_executable_extensions; do
10190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10191 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
10192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10202 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
10203 if test -n "$aros_target_objcopy_ln"; then
10204 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10205 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
10207 { echo "$as_me:$LINENO: result: no" >&5
10208 echo "${ECHO_T}no" >&6; }
10213 if test "$aros_target_objcopy_ln" = ""; then
10214 # Extract the first word of "objcopy", so it can be a program name with args.
10215 set dummy objcopy
; ac_word
=$2
10216 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10218 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10219 echo $ECHO_N "(cached) $ECHO_C" >&6
10221 case $aros_target_objcopy_ln in
10223 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
10226 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10227 for as_dir
in $PATH
10230 test -z "$as_dir" && as_dir
=.
10231 for ac_exec_ext
in '' $ac_executable_extensions; do
10232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10233 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
10234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10244 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
10245 if test -n "$aros_target_objcopy_ln"; then
10246 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10247 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
10249 { echo "$as_me:$LINENO: result: no" >&5
10250 echo "${ECHO_T}no" >&6; }
10257 # Extract the first word of "$aros_target_objcopy", so it can be a program name with args.
10258 set dummy
$aros_target_objcopy; ac_word
=$2
10259 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10261 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10262 echo $ECHO_N "(cached) $ECHO_C" >&6
10264 case $aros_target_objcopy_ln in
10266 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
10269 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10270 for as_dir
in $PATH
10273 test -z "$as_dir" && as_dir
=.
10274 for ac_exec_ext
in '' $ac_executable_extensions; do
10275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10276 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
10277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10287 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
10288 if test -n "$aros_target_objcopy_ln"; then
10289 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10290 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
10292 { echo "$as_me:$LINENO: result: no" >&5
10293 echo "${ECHO_T}no" >&6; }
10299 if test "$aros_target_objcopy_ln" = ""; then
10300 { { echo "$as_me:$LINENO: error: objcopy is required to build AROS. Please install and run configure again." >&5
10301 echo "$as_me: error: objcopy is required to build AROS. Please install and run configure again." >&2;}
10302 { (exit 1); exit 1; }; }
10305 if test "$aros_target_objdump" = ""; then
10306 if test "$cross_compiling" = "yes" ; then
10307 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
10308 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
10309 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10311 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10312 echo $ECHO_N "(cached) $ECHO_C" >&6
10314 case $aros_target_objdump_ln in
10316 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
10319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10320 for as_dir
in $PATH
10323 test -z "$as_dir" && as_dir
=.
10324 for ac_exec_ext
in '' $ac_executable_extensions; do
10325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10326 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
10327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10337 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
10338 if test -n "$aros_target_objdump_ln"; then
10339 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10340 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
10342 { echo "$as_me:$LINENO: result: no" >&5
10343 echo "${ECHO_T}no" >&6; }
10348 if test "$GCC" = "yes"; then
10349 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
10350 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
10351 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
10352 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10354 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10355 echo $ECHO_N "(cached) $ECHO_C" >&6
10357 case $aros_target_objdump_ln in
10359 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
10362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10363 for as_dir
in `dirname $aros_gcc_objdump`
10366 test -z "$as_dir" && as_dir
=.
10367 for ac_exec_ext
in '' $ac_executable_extensions; do
10368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10369 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
10370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10380 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
10381 if test -n "$aros_target_objdump_ln"; then
10382 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10383 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
10385 { echo "$as_me:$LINENO: result: no" >&5
10386 echo "${ECHO_T}no" >&6; }
10391 if test "$aros_target_objdump_ln" = ""; then
10392 # Extract the first word of "objdump", so it can be a program name with args.
10393 set dummy objdump
; ac_word
=$2
10394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10396 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10397 echo $ECHO_N "(cached) $ECHO_C" >&6
10399 case $aros_target_objdump_ln in
10401 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
10404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10405 for as_dir
in $PATH
10408 test -z "$as_dir" && as_dir
=.
10409 for ac_exec_ext
in '' $ac_executable_extensions; do
10410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10411 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
10412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10422 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
10423 if test -n "$aros_target_objdump_ln"; then
10424 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10425 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
10427 { echo "$as_me:$LINENO: result: no" >&5
10428 echo "${ECHO_T}no" >&6; }
10435 # Extract the first word of "$aros_target_objdump", so it can be a program name with args.
10436 set dummy
$aros_target_objdump; ac_word
=$2
10437 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10439 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10440 echo $ECHO_N "(cached) $ECHO_C" >&6
10442 case $aros_target_objdump_ln in
10444 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
10447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10448 for as_dir
in $PATH
10451 test -z "$as_dir" && as_dir
=.
10452 for ac_exec_ext
in '' $ac_executable_extensions; do
10453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10454 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
10455 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10465 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
10466 if test -n "$aros_target_objdump_ln"; then
10467 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10468 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
10470 { echo "$as_me:$LINENO: result: no" >&5
10471 echo "${ECHO_T}no" >&6; }
10477 if test "$aros_target_objdump_ln" = ""; then
10478 { { echo "$as_me:$LINENO: error: objdump is required to build AROS. Please install and run configure again." >&5
10479 echo "$as_me: error: objdump is required to build AROS. Please install and run configure again." >&2;}
10480 { (exit 1); exit 1; }; }
10483 if test "$aros_target_ranlib" = ""; then
10484 if test "$cross_compiling" = "yes" ; then
10485 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
10486 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
10487 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10489 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10490 echo $ECHO_N "(cached) $ECHO_C" >&6
10492 case $aros_target_ranlib_ln in
10494 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
10497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10498 for as_dir
in $PATH
10501 test -z "$as_dir" && as_dir
=.
10502 for ac_exec_ext
in '' $ac_executable_extensions; do
10503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10504 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
10505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10515 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
10516 if test -n "$aros_target_ranlib_ln"; then
10517 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10518 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10520 { echo "$as_me:$LINENO: result: no" >&5
10521 echo "${ECHO_T}no" >&6; }
10526 if test "$GCC" = "yes"; then
10527 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
10528 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
10529 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
10530 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10532 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10533 echo $ECHO_N "(cached) $ECHO_C" >&6
10535 case $aros_target_ranlib_ln in
10537 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
10540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10541 for as_dir
in `dirname $aros_gcc_ranlib`
10544 test -z "$as_dir" && as_dir
=.
10545 for ac_exec_ext
in '' $ac_executable_extensions; do
10546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10547 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
10548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10558 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
10559 if test -n "$aros_target_ranlib_ln"; then
10560 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10561 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10563 { echo "$as_me:$LINENO: result: no" >&5
10564 echo "${ECHO_T}no" >&6; }
10569 if test "$aros_target_ranlib_ln" = ""; then
10570 # Extract the first word of "ranlib", so it can be a program name with args.
10571 set dummy ranlib
; ac_word
=$2
10572 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10574 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10575 echo $ECHO_N "(cached) $ECHO_C" >&6
10577 case $aros_target_ranlib_ln in
10579 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
10582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10583 for as_dir
in $PATH
10586 test -z "$as_dir" && as_dir
=.
10587 for ac_exec_ext
in '' $ac_executable_extensions; do
10588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10589 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
10590 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10600 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
10601 if test -n "$aros_target_ranlib_ln"; then
10602 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10603 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10605 { echo "$as_me:$LINENO: result: no" >&5
10606 echo "${ECHO_T}no" >&6; }
10613 # Extract the first word of "$aros_target_ranlib", so it can be a program name with args.
10614 set dummy
$aros_target_ranlib; ac_word
=$2
10615 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10617 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10618 echo $ECHO_N "(cached) $ECHO_C" >&6
10620 case $aros_target_ranlib_ln in
10622 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
10625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10626 for as_dir
in $PATH
10629 test -z "$as_dir" && as_dir
=.
10630 for ac_exec_ext
in '' $ac_executable_extensions; do
10631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10632 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
10633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10643 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
10644 if test -n "$aros_target_ranlib_ln"; then
10645 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10646 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10648 { echo "$as_me:$LINENO: result: no" >&5
10649 echo "${ECHO_T}no" >&6; }
10655 if test "$aros_target_ranlib_ln" = ""; then
10656 { { echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
10657 echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
10658 { (exit 1); exit 1; }; }
10661 if test "$aros_target_strip" = ""; then
10662 if test "$cross_compiling" = "yes" ; then
10663 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
10664 set dummy
${target_tool_prefix}strip
; ac_word
=$2
10665 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10667 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10668 echo $ECHO_N "(cached) $ECHO_C" >&6
10670 case $aros_target_strip_ln in
10672 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
10675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10676 for as_dir
in $PATH
10679 test -z "$as_dir" && as_dir
=.
10680 for ac_exec_ext
in '' $ac_executable_extensions; do
10681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10682 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
10683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10693 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
10694 if test -n "$aros_target_strip_ln"; then
10695 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10696 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10698 { echo "$as_me:$LINENO: result: no" >&5
10699 echo "${ECHO_T}no" >&6; }
10704 if test "$GCC" = "yes"; then
10705 aros_gcc_strip
=`$CC -print-prog-name=strip`
10706 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
10707 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
10708 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10710 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10711 echo $ECHO_N "(cached) $ECHO_C" >&6
10713 case $aros_target_strip_ln in
10715 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
10718 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10719 for as_dir
in `dirname $aros_gcc_strip`
10722 test -z "$as_dir" && as_dir
=.
10723 for ac_exec_ext
in '' $ac_executable_extensions; do
10724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10725 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
10726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10736 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
10737 if test -n "$aros_target_strip_ln"; then
10738 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10739 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10741 { echo "$as_me:$LINENO: result: no" >&5
10742 echo "${ECHO_T}no" >&6; }
10747 if test "$aros_target_strip_ln" = ""; then
10748 # Extract the first word of "strip", so it can be a program name with args.
10749 set dummy strip
; ac_word
=$2
10750 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10752 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10753 echo $ECHO_N "(cached) $ECHO_C" >&6
10755 case $aros_target_strip_ln in
10757 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
10760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10761 for as_dir
in $PATH
10764 test -z "$as_dir" && as_dir
=.
10765 for ac_exec_ext
in '' $ac_executable_extensions; do
10766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10767 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
10768 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10778 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
10779 if test -n "$aros_target_strip_ln"; then
10780 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10781 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10783 { echo "$as_me:$LINENO: result: no" >&5
10784 echo "${ECHO_T}no" >&6; }
10791 # Extract the first word of "$aros_target_strip", so it can be a program name with args.
10792 set dummy
$aros_target_strip; ac_word
=$2
10793 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10795 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10796 echo $ECHO_N "(cached) $ECHO_C" >&6
10798 case $aros_target_strip_ln in
10800 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
10803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10804 for as_dir
in $PATH
10807 test -z "$as_dir" && as_dir
=.
10808 for ac_exec_ext
in '' $ac_executable_extensions; do
10809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10810 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
10811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10821 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
10822 if test -n "$aros_target_strip_ln"; then
10823 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10824 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10826 { echo "$as_me:$LINENO: result: no" >&5
10827 echo "${ECHO_T}no" >&6; }
10833 if test "$aros_target_strip_ln" = ""; then
10834 { { echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
10835 echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
10836 { (exit 1); exit 1; }; }
10840 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
10841 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
10842 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
10843 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
10844 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
10845 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
10846 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
10848 # aros_cc_pre is a variable that is added to the front of the compiler name
10849 # in the generated aros-gcc shell script. We need this to enable the cache
10850 # to work across cleaned builds. Also, support DISTCC using the correct
10851 # environment variable.
10854 if test "x${DISTCC}" != "x" ; then
10855 if test "x${CCACHE}" != "x" ; then
10856 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
10858 aros_cc_pre
="${DISTCC} "
10861 if test "x${CCACHE}" != "x" ; then
10862 aros_cc_pre
="${CCACHE} "
10866 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
10868 aros_target_nostdinc_cflags
=-nostdinc
10870 aros_target_nostartup_ldflags
=-nostartfiles
10872 aros_target_nix_ldflags
=-nix
10874 aros_target_detach_ldflags
=-detach
10876 aros_target_nostdlib_ldflags
=-nostdlib
10880 if test "$aros_target_cc" = ""; then
10881 orig_target_cc
=$aros_kernel_cc
10883 orig_target_cc
=$aros_target_cc
10885 if test "$aros_target_ld" = ""; then
10886 orig_target_ld
=$aros_kernel_ld
10888 orig_target_ld
=$aros_target_ld
10890 if test "$GCC" = "yes"; then
10891 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
10893 aros_target_cc
="${prefix}-gcc"
10894 aros_target_as
="${prefix}-as"
10895 aros_target_ld
="${prefix}-ld"
10896 aros_target_ar
="${prefix}-ar $aros_target_ar_flags"
10897 aros_target_objcopy
=${prefix}-objcopy
10898 aros_target_objdump
=${prefix}-objdump
10899 aros_target_ranlib
="${prefix}-ranlib $aros_target_ranlib_flags"
10900 aros_target_nm
="${prefix}-nm $aros_target_nm_flags"
10901 aros_kernel_nm
="${prefix}-nm"
10902 aros_target_strip
=${prefix}-strip
10904 # Find the system include path. We can suggest that an alternative is
10905 # used if we don't get it correct. The default is to use /usr/include.
10906 # Which is set in the aros_target_incl_def variable.
10908 # Check whether --enable-includes was given.
10909 if test "${enable_includes+set}" = set; then
10910 enableval
=$enable_includes; aros_target_incl
=$enable_includes
10912 aros_target_incl
=$aros_target_incl_def
10916 { echo "$as_me:$LINENO: checking for the target compiler's include path" >&5
10917 echo $ECHO_N "checking for the target compiler's include path... $ECHO_C" >&6; }
10918 if test "$aros_target_cc_includes" = "" ; then
10919 #try to guess where the directory is
10920 aros_target_cc_includes
=`dirname \`${aros_kernel_cc} -print-libgcc-file-name\
``/include
10921 if ! test -d $aros_target_cc_includes; then
10922 #the directory doesn't exist, we need to do some more work
10923 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
10925 #these are the headers we're looling for
10926 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
10927 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
10931 for h
in $headers; do
10932 #which other headers each of the above headers needs?
10933 deps
=$
(echo "#include <$h>" | \
10934 $aros_host_cc -E -M - 2>/dev
/null | \
10935 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
10937 #copy all the needed headers to a directory beneath gendir
10940 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
10941 sed -n "s,^.*/include\(/.*\),\1,p")
10942 ! test -d $dir && mkdir
-p $dir
10943 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
10948 { echo "$as_me:$LINENO: result: $aros_target_cc_includes" >&5
10949 echo "${ECHO_T}$aros_target_cc_includes" >&6; }
10952 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
10953 # On GCC >= 4.0 -iquote should be used
10957 save_cflags
="$CFLAGS"
10958 CC
="$aros_kernel_cc"
10960 { echo "$as_me:$LINENO: checking whether ${CC} accepts -iquote" >&5
10961 echo $ECHO_N "checking whether ${CC} accepts -iquote... $ECHO_C" >&6; }
10962 cat >conftest.
$ac_ext <<_ACEOF
10965 cat confdefs.h
>>conftest.
$ac_ext
10966 cat >>conftest.
$ac_ext <<_ACEOF
10967 /* end confdefs.h. */
10977 rm -f conftest.
$ac_objext
10978 if { (ac_try
="$ac_compile"
10979 case "(($ac_try" in
10980 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10981 *) ac_try_echo=$ac_try;;
10983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10984 (eval "$ac_compile") 2>conftest.er1
10986 grep -v '^ *+' conftest.er1 >conftest.err
10988 cat conftest.err >&5
10989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10990 (exit $ac_status); } && {
10991 test -z "$ac_c_werror_flag" ||
10992 test ! -s conftest.err
10993 } && test -s conftest.$ac_objext; then
10996 echo "$as_me: failed program was:" >&5
10997 sed 's/^/| /' conftest.$ac_ext >&5
11002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11003 { echo "$as_me:$LINENO: result: $has_iquote" >&5
11004 echo "${ECHO_T}$has_iquote" >&6; }
11005 if test "x-$has_iquote" = "x-yes" ; then
11006 aros_cflags_iquote=-iquote
11007 aros_cflags_iquote_end=
11009 aros_cflags_iquote=-I
11010 aros_cflags_iquote_end=-I-
11013 CFLAGS="$save_cflags"
11019 { echo "$as_me:$LINENO: checking for default resolution of WBScreen" >&5
11020 echo $ECHO_N "checking for default resolution of WBScreen... $ECHO_C" >&6; }
11022 # Check whether --with-resolution was given.
11023 if test "${with_resolution+set}" = set; then
11024 withval=$with_resolution; resolution=$withval
11029 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
11030 if test "$resolution" = "yes" ; then
11033 if test "$resolution" = "no" ; then
11036 if test "$resolution" != "none" ; then
11037 aros_default_wbwidth=`echo $resolution | cut
-d'x' -f1`
11038 aros_default_wbheight=`echo $resolution | cut
-d'x' -f2`
11039 aros_default_wbdepth=`echo $resolution | cut
-d'x' -f3`
11041 { echo "$as_me:$LINENO: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
11042 echo "${ECHO_T}$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
11043 aros_cv_default_wbwidth=$aros_default_wbwidth
11044 aros_cv_default_wbheight=$aros_default_wbheight
11045 aros_cv_default_wbdepth=$aros_default_wbdepth
11047 { echo "$as_me:$LINENO: checking if bochs hack is enabled" >&5
11048 echo $ECHO_N "checking if bochs hack is enabled... $ECHO_C" >&6; }
11049 # Check whether --enable-bochs_hack was given.
11050 if test "${enable_bochs_hack+set}" = set; then
11051 enableval=$enable_bochs_hack; bochs_hack="yes"
11056 if test "$bochs_hack" = "yes" ; then
11057 aros_bochs_hack="1"
11059 { echo "$as_me:$LINENO: result: $bochs_hack" >&5
11060 echo "${ECHO_T}$bochs_hack" >&6; }
11062 { echo "$as_me:$LINENO: checking if serial debug is enabled" >&5
11063 echo $ECHO_N "checking if serial debug is enabled... $ECHO_C" >&6; }
11065 # Check whether --with-serial-debug was given.
11066 if test "${with_serial_debug+set}" = set; then
11067 withval=$with_serial_debug; serial_debug=$withval
11072 if test "$aros_serial_debug" = 0 ; then
11073 serial_debug_forced=""
11074 if test "$serial_debug" = "yes" ; then
11077 if test "$serial_debug" = "no" ; then
11078 serial_debug="none"
11081 serial_debug_forced="(forced)"
11082 serial_debug=$aros_serial_debug
11084 if test "$serial_debug" != "none" ; then
11085 aros_serial_debug=$serial_debug
11086 { echo "$as_me:$LINENO: result: $serial_debug_forced on port $serial_debug" >&5
11087 echo "${ECHO_T}$serial_debug_forced on port $serial_debug" >&6; }
11089 { echo "$as_me:$LINENO: result: no" >&5
11090 echo "${ECHO_T}no" >&6; }
11093 { echo "$as_me:$LINENO: checking if palm debug hack is enabled" >&5
11094 echo $ECHO_N "checking if palm debug hack is enabled... $ECHO_C" >&6; }
11095 # Check whether --enable-palm_debug_hack was given.
11096 if test "${enable_palm_debug_hack+set}" = set; then
11097 enableval=$enable_palm_debug_hack; palm_debug_hack="yes"
11099 palm_debug_hack="no"
11102 if test "$palm_debug_hack" = "yes" ; then
11103 aros_palm_debug_hack="1"
11105 { echo "$as_me:$LINENO: result: $palm_debug_hack" >&5
11106 echo "${ECHO_T}$palm_debug_hack" >&6; }
11109 { echo "$as_me:$LINENO: checking if nesting supervisor support is enabled" >&5
11110 echo $ECHO_N "checking if nesting supervisor support is enabled... $ECHO_C" >&6; }
11111 # Check whether --enable-nesting_supervisor was given.
11112 if test "${enable_nesting_supervisor+set}" = set; then
11113 enableval=$enable_nesting_supervisor; nesting_supervisor="yes"
11115 nesting_supervisor="no"
11118 if test "$nesting_supervisor" = "yes" ; then
11119 aros_nesting_supervisor="1"
11121 { echo "$as_me:$LINENO: result: $nesting_supervisor" >&5
11122 echo "${ECHO_T}$nesting_supervisor" >&6; }
11125 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
11127 if test "x-$aros_host_arch" != "x-darwin" ; then
11128 { echo "$as_me:$LINENO: checking for dlopen" >&5
11129 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
11130 if test "${ac_cv_func_dlopen+set}" = set; then
11131 echo $ECHO_N "(cached) $ECHO_C" >&6
11133 cat >conftest.$ac_ext <<_ACEOF
11136 cat confdefs.h >>conftest.$ac_ext
11137 cat >>conftest.$ac_ext <<_ACEOF
11138 /* end confdefs.h. */
11139 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11141 #define dlopen innocuous_dlopen
11143 /* System header to define __stub macros and hopefully few prototypes,
11144 which can conflict with char dlopen (); below.
11145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11146 <limits.h> exists even on freestanding compilers. */
11149 # include <limits.h>
11151 # include <assert.h>
11156 /* Override any GCC internal prototype to avoid an error.
11157 Use char because int might match the return type of a GCC
11158 builtin and then its argument prototype would still apply. */
11163 /* The GNU C library defines this for functions which it implements
11164 to always fail with ENOSYS. Some functions are actually named
11165 something starting with __ and the normal name is an alias. */
11166 #if defined __stub_dlopen || defined __stub___dlopen
11178 rm -f conftest.$ac_objext conftest$ac_exeext
11179 if { (ac_try="$ac_link"
11180 case "(($ac_try" in
11181 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11182 *) ac_try_echo
=$ac_try;;
11184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11185 (eval "$ac_link") 2>conftest.er1
11187 grep -v '^ *+' conftest.er1
>conftest.err
11189 cat conftest.err
>&5
11190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11191 (exit $ac_status); } && {
11192 test -z "$ac_c_werror_flag" ||
11193 test ! -s conftest.err
11194 } && test -s conftest
$ac_exeext &&
11195 $as_test_x conftest
$ac_exeext; then
11196 ac_cv_func_dlopen
=yes
11198 echo "$as_me: failed program was:" >&5
11199 sed 's/^/| /' conftest.
$ac_ext >&5
11201 ac_cv_func_dlopen
=no
11204 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11205 conftest
$ac_exeext conftest.
$ac_ext
11207 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11208 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
11209 if test $ac_cv_func_dlopen = yes; then
11215 if test "x-$have_dl" = "x-no" ; then
11216 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11217 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11218 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11219 echo $ECHO_N "(cached) $ECHO_C" >&6
11221 ac_check_lib_save_LIBS
=$LIBS
11223 cat >conftest.
$ac_ext <<_ACEOF
11226 cat confdefs.h
>>conftest.
$ac_ext
11227 cat >>conftest.
$ac_ext <<_ACEOF
11228 /* end confdefs.h. */
11230 /* Override any GCC internal prototype to avoid an error.
11231 Use char because int might match the return type of a GCC
11232 builtin and then its argument prototype would still apply. */
11245 rm -f conftest.
$ac_objext conftest
$ac_exeext
11246 if { (ac_try
="$ac_link"
11247 case "(($ac_try" in
11248 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11249 *) ac_try_echo=$ac_try;;
11251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11252 (eval "$ac_link") 2>conftest.er1
11254 grep -v '^ *+' conftest.er1 >conftest.err
11256 cat conftest.err >&5
11257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11258 (exit $ac_status); } && {
11259 test -z "$ac_c_werror_flag" ||
11260 test ! -s conftest.err
11261 } && test -s conftest$ac_exeext &&
11262 $as_test_x conftest$ac_exeext; then
11263 ac_cv_lib_dl_dlopen=yes
11265 echo "$as_me: failed program was:" >&5
11266 sed 's/^/| /' conftest.$ac_ext >&5
11268 ac_cv_lib_dl_dlopen=no
11271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11272 conftest$ac_exeext conftest.$ac_ext
11273 LIBS=$ac_check_lib_save_LIBS
11275 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11276 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11277 if test $ac_cv_lib_dl_dlopen = yes; then
11279 aros_host_ldflags="$aros_host_ldflags -ldl"
11285 if test "x-$have_dl" = "x-no" ; then
11286 { { echo "$as_me:$LINENO: error: dlopen() dynamic linker functions not available" >&5
11287 echo "$as_me: error: dlopen() dynamic linker functions not available" >&2;}
11288 { (exit 1); exit 1; }; }
11293 # Check whether --enable-x11_hidd was given.
11294 if test "${enable_x11_hidd+set}" = set; then
11295 enableval=$enable_x11_hidd; x11_hidd="$enableval"
11300 case "x-$x11_hidd" in
11301 x-yes|x-no|x-auto) ;;
11302 *) x11_hidd="auto" ;;
11305 if test "x-$x11_hidd" != "x-no" ; then
11307 { echo "$as_me:$LINENO: checking for X" >&5
11308 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
11311 # Check whether --with-x was given.
11312 if test "${with_x+set}" = set; then
11316 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11317 if test "x$with_x" = xno; then
11318 # The user explicitly disabled X.
11321 case $x_includes,$x_libraries in #(
11322 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
11323 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
11324 { (exit 1); exit 1; }; };; #(
11325 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
11326 echo $ECHO_N "(cached) $ECHO_C" >&6
11328 # One or both of the vars are not set, and there is no cached value.
11329 ac_x_includes=no ac_x_libraries=no
11330 rm -f -r conftest.dir
11331 if mkdir conftest.dir; then
11333 cat >Imakefile <<'_ACEOF'
11335 @echo incroot='${INCROOT}'
11337 @echo usrlibdir='${USRLIBDIR}'
11339 @echo libdir='${LIBDIR}'
11341 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
11342 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11343 for ac_var in incroot usrlibdir libdir; do
11344 eval "ac_im_$ac_var=\`\
${MAKE-make} $ac_var 2>/dev
/null |
sed -n 's/^$ac_var=//p'\
`"
11346 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11347 for ac_extension in a so sl; do
11348 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
11349 test -f "$ac_im_libdir/libX11.$ac_extension"; then
11350 ac_im_usrlibdir=$ac_im_libdir; break
11353 # Screen out bogus values from the imake configuration. They are
11354 # bogus both because they are the default anyway, and because
11355 # using them would break gcc on systems where it needs fixed includes.
11356 case $ac_im_incroot in
11357 /usr/include) ac_x_includes= ;;
11358 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
11360 case $ac_im_usrlibdir in
11361 /usr/lib | /lib) ;;
11362 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
11366 rm -f -r conftest.dir
11369 # Standard set of common directories for X headers.
11370 # Check X11 before X11Rn because it is often a symlink to the current release.
11382 /usr/local/X11/include
11383 /usr/local/X11R6/include
11384 /usr/local/X11R5/include
11385 /usr/local/X11R4/include
11387 /usr/local/include/X11
11388 /usr/local/include/X11R6
11389 /usr/local/include/X11R5
11390 /usr/local/include/X11R4
11394 /usr/XFree86/include/X11
11398 /usr/unsupported/include
11399 /usr/athena/include
11400 /usr/local/x11r5/include
11401 /usr/lpp/Xamples/include
11403 /usr/openwin/include
11404 /usr/openwin/share/include'
11406 if test "$ac_x_includes" = no; then
11407 # Guess where to find include files, by looking for Xlib.h.
11408 # First, try using that file with no special directory specified.
11409 cat >conftest.$ac_ext <<_ACEOF
11412 cat confdefs.h >>conftest.$ac_ext
11413 cat >>conftest.$ac_ext <<_ACEOF
11414 /* end confdefs.h. */
11415 #include <X11/Xlib.h>
11417 if { (ac_try="$ac_cpp conftest.$ac_ext"
11418 case "(($ac_try" in
11419 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11420 *) ac_try_echo
=$ac_try;;
11422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11423 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11425 grep -v '^ *+' conftest.er1
>conftest.err
11427 cat conftest.err
>&5
11428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11429 (exit $ac_status); } >/dev
/null
&& {
11430 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11431 test ! -s conftest.err
11433 # We can compile using X headers with no special include directory.
11436 echo "$as_me: failed program was:" >&5
11437 sed 's/^/| /' conftest.
$ac_ext >&5
11439 for ac_dir
in $ac_x_header_dirs; do
11440 if test -r "$ac_dir/X11/Xlib.h"; then
11441 ac_x_includes
=$ac_dir
11447 rm -f conftest.err conftest.
$ac_ext
11448 fi # $ac_x_includes = no
11450 if test "$ac_x_libraries" = no
; then
11451 # Check for the libraries.
11452 # See if we find them without any special options.
11453 # Don't add to $LIBS permanently.
11456 cat >conftest.
$ac_ext <<_ACEOF
11459 cat confdefs.h
>>conftest.
$ac_ext
11460 cat >>conftest.
$ac_ext <<_ACEOF
11461 /* end confdefs.h. */
11462 #include <X11/Xlib.h>
11471 rm -f conftest.
$ac_objext conftest
$ac_exeext
11472 if { (ac_try
="$ac_link"
11473 case "(($ac_try" in
11474 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11475 *) ac_try_echo=$ac_try;;
11477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11478 (eval "$ac_link") 2>conftest.er1
11480 grep -v '^ *+' conftest.er1 >conftest.err
11482 cat conftest.err >&5
11483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11484 (exit $ac_status); } && {
11485 test -z "$ac_c_werror_flag" ||
11486 test ! -s conftest.err
11487 } && test -s conftest$ac_exeext &&
11488 $as_test_x conftest$ac_exeext; then
11490 # We can link X programs with no special library path.
11493 echo "$as_me: failed program was:" >&5
11494 sed 's/^/| /' conftest.$ac_ext >&5
11497 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
11499 # Don't even attempt the hair of trying to link an X program!
11500 for ac_extension in a so sl; do
11501 if test -r "$ac_dir/libX11.$ac_extension"; then
11502 ac_x_libraries=$ac_dir
11509 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11510 conftest$ac_exeext conftest.$ac_ext
11511 fi # $ac_x_libraries = no
11513 case $ac_x_includes,$ac_x_libraries in #(
11514 no,* | *,no | *\'*)
11515 # Didn't find X, or a directory has "'" in its name.
11516 ac_cv_have_x="have_x=no";; #(
11518 # Record where we found X for the cache.
11519 ac_cv_have_x="have_x=yes\
11520 ac_x_includes='$ac_x_includes'\
11521 ac_x_libraries='$ac_x_libraries'"
11527 eval "$ac_cv_have_x"
11530 if test "$have_x" != yes; then
11531 { echo "$as_me:$LINENO: result: $have_x" >&5
11532 echo "${ECHO_T}$have_x" >&6; }
11535 # If each of the values was on the command line, it overrides each guess.
11536 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11537 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11538 # Update the cache value to reflect the command line values.
11539 ac_cv_have_x="have_x=yes\
11540 ac_x_includes='$x_includes'\
11541 ac_x_libraries='$x_libraries'"
11542 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
11543 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
11548 for path in $x_libraries
11550 x_cflags="$x_cflags -L$path"
11553 for path in $x_includes
11555 x_cflags="$x_cflags -I$path"
11558 if test "x-$no_x" = "x-yes" ; then
11560 if test "x-$x11_hidd" != "x-auto" ; then
11561 { { echo "$as_me:$LINENO: error: X11 libs/headers not found, cannot build X11 hidd as requested" >&5
11562 echo "$as_me: error: X11 libs/headers not found, cannot build X11 hidd as requested" >&2;}
11563 { (exit 1); exit 1; }; }
11567 x11_hidd_target=kernel-x11gfx
11570 # Check whether --enable-x11_shm was given.
11571 if test "${enable_x11_shm+set}" = set; then
11572 enableval=$enable_x11_shm; x11_hidd_shm="$enableval"
11574 x11_hidd_shm="auto"
11577 case "x-$x11_hidd_shm" in
11578 x-yes|x-no|x-auto) ;;
11579 *) x11_hidd_shm="auto" ;;
11584 if test "x-$x11_hidd_shm" != "x-no" ; then
11587 for ac_header in sys/ipc.h
11589 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11590 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11591 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11593 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11594 echo $ECHO_N "(cached) $ECHO_C" >&6
11596 ac_res=`eval echo '${'$as_ac_Header'}'`
11597 { echo "$as_me:$LINENO: result: $ac_res" >&5
11598 echo "${ECHO_T}$ac_res" >&6; }
11600 # Is the header compilable?
11601 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11602 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11603 cat >conftest.$ac_ext <<_ACEOF
11606 cat confdefs.h >>conftest.$ac_ext
11607 cat >>conftest.$ac_ext <<_ACEOF
11608 /* end confdefs.h. */
11609 $ac_includes_default
11610 #include <$ac_header>
11612 rm -f conftest.$ac_objext
11613 if { (ac_try="$ac_compile"
11614 case "(($ac_try" in
11615 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11616 *) ac_try_echo
=$ac_try;;
11618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11619 (eval "$ac_compile") 2>conftest.er1
11621 grep -v '^ *+' conftest.er1
>conftest.err
11623 cat conftest.err
>&5
11624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11625 (exit $ac_status); } && {
11626 test -z "$ac_c_werror_flag" ||
11627 test ! -s conftest.err
11628 } && test -s conftest.
$ac_objext; then
11629 ac_header_compiler
=yes
11631 echo "$as_me: failed program was:" >&5
11632 sed 's/^/| /' conftest.
$ac_ext >&5
11634 ac_header_compiler
=no
11637 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11638 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11639 echo "${ECHO_T}$ac_header_compiler" >&6; }
11641 # Is the header present?
11642 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11643 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11644 cat >conftest.
$ac_ext <<_ACEOF
11647 cat confdefs.h
>>conftest.
$ac_ext
11648 cat >>conftest.
$ac_ext <<_ACEOF
11649 /* end confdefs.h. */
11650 #include <$ac_header>
11652 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11653 case "(($ac_try" in
11654 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11655 *) ac_try_echo=$ac_try;;
11657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11658 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11660 grep -v '^ *+' conftest.er1 >conftest.err
11662 cat conftest.err >&5
11663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11664 (exit $ac_status); } >/dev/null && {
11665 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11666 test ! -s conftest.err
11668 ac_header_preproc=yes
11670 echo "$as_me: failed program was:" >&5
11671 sed 's/^/| /' conftest.$ac_ext >&5
11673 ac_header_preproc=no
11676 rm -f conftest.err conftest.$ac_ext
11677 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11678 echo "${ECHO_T}$ac_header_preproc" >&6; }
11680 # So? What about this header?
11681 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11683 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11684 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11685 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11686 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11687 ac_header_preproc=yes
11690 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11691 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11692 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11693 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11694 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11695 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11696 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11697 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11698 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11699 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11700 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11701 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11705 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11706 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11707 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11708 echo $ECHO_N "(cached) $ECHO_C" >&6
11710 eval "$as_ac_Header=\$ac_header_preproc"
11712 ac_res=`eval echo '${'$as_ac_Header'}'`
11713 { echo "$as_me:$LINENO: result: $ac_res" >&5
11714 echo "${ECHO_T}$ac_res" >&6; }
11717 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11718 cat >>confdefs.h <<_ACEOF
11719 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11727 for ac_header in sys/shm.h
11729 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11730 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11731 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11732 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11733 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11734 echo $ECHO_N "(cached) $ECHO_C" >&6
11736 ac_res=`eval echo '${'$as_ac_Header'}'`
11737 { echo "$as_me:$LINENO: result: $ac_res" >&5
11738 echo "${ECHO_T}$ac_res" >&6; }
11740 # Is the header compilable?
11741 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11742 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11743 cat >conftest.$ac_ext <<_ACEOF
11746 cat confdefs.h >>conftest.$ac_ext
11747 cat >>conftest.$ac_ext <<_ACEOF
11748 /* end confdefs.h. */
11749 $ac_includes_default
11750 #include <$ac_header>
11752 rm -f conftest.$ac_objext
11753 if { (ac_try="$ac_compile"
11754 case "(($ac_try" in
11755 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11756 *) ac_try_echo
=$ac_try;;
11758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11759 (eval "$ac_compile") 2>conftest.er1
11761 grep -v '^ *+' conftest.er1
>conftest.err
11763 cat conftest.err
>&5
11764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11765 (exit $ac_status); } && {
11766 test -z "$ac_c_werror_flag" ||
11767 test ! -s conftest.err
11768 } && test -s conftest.
$ac_objext; then
11769 ac_header_compiler
=yes
11771 echo "$as_me: failed program was:" >&5
11772 sed 's/^/| /' conftest.
$ac_ext >&5
11774 ac_header_compiler
=no
11777 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11778 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11779 echo "${ECHO_T}$ac_header_compiler" >&6; }
11781 # Is the header present?
11782 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11783 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11784 cat >conftest.
$ac_ext <<_ACEOF
11787 cat confdefs.h
>>conftest.
$ac_ext
11788 cat >>conftest.
$ac_ext <<_ACEOF
11789 /* end confdefs.h. */
11790 #include <$ac_header>
11792 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11793 case "(($ac_try" in
11794 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11795 *) ac_try_echo=$ac_try;;
11797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11798 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11800 grep -v '^ *+' conftest.er1 >conftest.err
11802 cat conftest.err >&5
11803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11804 (exit $ac_status); } >/dev/null && {
11805 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11806 test ! -s conftest.err
11808 ac_header_preproc=yes
11810 echo "$as_me: failed program was:" >&5
11811 sed 's/^/| /' conftest.$ac_ext >&5
11813 ac_header_preproc=no
11816 rm -f conftest.err conftest.$ac_ext
11817 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11818 echo "${ECHO_T}$ac_header_preproc" >&6; }
11820 # So? What about this header?
11821 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11823 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11824 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11825 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11826 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11827 ac_header_preproc=yes
11830 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11831 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11832 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11833 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11834 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11835 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11836 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11837 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11838 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11839 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11840 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11841 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11845 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11846 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11847 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11848 echo $ECHO_N "(cached) $ECHO_C" >&6
11850 eval "$as_ac_Header=\$ac_header_preproc"
11852 ac_res=`eval echo '${'$as_ac_Header'}'`
11853 { echo "$as_me:$LINENO: result: $ac_res" >&5
11854 echo "${ECHO_T}$ac_res" >&6; }
11857 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11858 cat >>confdefs.h <<_ACEOF
11859 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11867 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
11869 save_cflags="$CFLAGS"
11870 CFLAGS="$CFLAGS $x_cflags"
11871 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
11872 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
11873 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
11874 echo $ECHO_N "(cached) $ECHO_C" >&6
11876 ac_check_lib_save_LIBS=$LIBS
11877 LIBS="-lXext $LIBS"
11878 cat >conftest.$ac_ext <<_ACEOF
11881 cat confdefs.h >>conftest.$ac_ext
11882 cat >>conftest.$ac_ext <<_ACEOF
11883 /* end confdefs.h. */
11885 /* Override any GCC internal prototype to avoid an error.
11886 Use char because int might match the return type of a GCC
11887 builtin and then its argument prototype would still apply. */
11891 char XShmQueryExtension ();
11895 return XShmQueryExtension ();
11900 rm -f conftest.$ac_objext conftest$ac_exeext
11901 if { (ac_try="$ac_link"
11902 case "(($ac_try" in
11903 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11904 *) ac_try_echo
=$ac_try;;
11906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11907 (eval "$ac_link") 2>conftest.er1
11909 grep -v '^ *+' conftest.er1
>conftest.err
11911 cat conftest.err
>&5
11912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11913 (exit $ac_status); } && {
11914 test -z "$ac_c_werror_flag" ||
11915 test ! -s conftest.err
11916 } && test -s conftest
$ac_exeext &&
11917 $as_test_x conftest
$ac_exeext; then
11918 ac_cv_lib_Xext_XShmQueryExtension
=yes
11920 echo "$as_me: failed program was:" >&5
11921 sed 's/^/| /' conftest.
$ac_ext >&5
11923 ac_cv_lib_Xext_XShmQueryExtension
=no
11926 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11927 conftest
$ac_exeext conftest.
$ac_ext
11928 LIBS
=$ac_check_lib_save_LIBS
11930 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11931 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11932 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
11936 CFLAGS
="$save_cflags"
11940 if test "x-$have_xshm" = "x-yes" ; then
11941 DO_XSHM_SUPPORT
="1"
11942 elif test "x-$x11_hidd_shm" = "x-yes" ; then
11943 { { echo "$as_me:$LINENO: error: X11 has no support for shared memory, cannot enable it as requested" >&5
11944 echo "$as_me: error: X11 has no support for shared memory, cannot enable it as requested" >&2;}
11945 { (exit 1); exit 1; }; }
11947 DO_XSHM_SUPPORT
="0"
11951 # Check whether --enable-x11_vidmode was given.
11952 if test "${enable_x11_vidmode+set}" = set; then
11953 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
11955 x11_hidd_vidmode
="auto"
11958 case "x-$x11_hidd_vidmode" in
11959 x-yes|x-no|x-auto
) ;;
11960 *) x11_hidd_vidmode
="auto" ;;
11965 if test "x-$x11_hidd_vidmode" != "x-no" ; then
11967 save_cflags
="$CFLAGS"
11968 CFLAGS
="$CFLAGS $x_cflags"
11969 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
11970 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
11971 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
11972 echo $ECHO_N "(cached) $ECHO_C" >&6
11974 ac_check_lib_save_LIBS
=$LIBS
11975 LIBS
="-lXxf86vm $LIBS"
11976 cat >conftest.
$ac_ext <<_ACEOF
11979 cat confdefs.h
>>conftest.
$ac_ext
11980 cat >>conftest.
$ac_ext <<_ACEOF
11981 /* end confdefs.h. */
11983 /* Override any GCC internal prototype to avoid an error.
11984 Use char because int might match the return type of a GCC
11985 builtin and then its argument prototype would still apply. */
11989 char XF86VidModeQueryExtension ();
11993 return XF86VidModeQueryExtension ();
11998 rm -f conftest.
$ac_objext conftest
$ac_exeext
11999 if { (ac_try
="$ac_link"
12000 case "(($ac_try" in
12001 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12002 *) ac_try_echo=$ac_try;;
12004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12005 (eval "$ac_link") 2>conftest.er1
12007 grep -v '^ *+' conftest.er1 >conftest.err
12009 cat conftest.err >&5
12010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12011 (exit $ac_status); } && {
12012 test -z "$ac_c_werror_flag" ||
12013 test ! -s conftest.err
12014 } && test -s conftest$ac_exeext &&
12015 $as_test_x conftest$ac_exeext; then
12016 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
12018 echo "$as_me: failed program was:" >&5
12019 sed 's/^/| /' conftest.$ac_ext >&5
12021 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
12024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12025 conftest$ac_exeext conftest.$ac_ext
12026 LIBS=$ac_check_lib_save_LIBS
12028 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
12029 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
12030 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
12034 CFLAGS="$save_cflags"
12037 if test "x-$have_vidmode" = "x-yes" ; then
12038 DO_VIDMODE_SUPPORT="1"
12039 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
12040 { { echo "$as_me:$LINENO: error: X11 vidmode extension not available, cannot enable it as requested" >&5
12041 echo "$as_me: error: X11 vidmode extension not available, cannot enable it as requested" >&2;}
12042 { (exit 1); exit 1; }; }
12044 DO_VIDMODE_SUPPORT="0"
12048 aros_host_x11_includes=$x_includes
12049 aros_host_x11_libdirs=$x_libraries
12053 # Check whether --enable-sdl_hidd was given.
12054 if test "${enable_sdl_hidd+set}" = set; then
12055 enableval=$enable_sdl_hidd; sdl_hidd="$enableval"
12060 case "x-$sdl_hidd" in
12061 x-yes|x-no|x-auto) ;;
12062 *) sdl_hidd="auto" ;;
12065 if test "x-$sdl_hidd" != "x-no" ; then
12068 # Check whether --with-sdl-prefix was given.
12069 if test "${with_sdl_prefix+set}" = set; then
12070 withval=$with_sdl_prefix; sdl_prefix="$withval"
12076 # Check whether --with-sdl-exec-prefix was given.
12077 if test "${with_sdl_exec_prefix+set}" = set; then
12078 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
12083 # Check whether --enable-sdltest was given.
12084 if test "${enable_sdltest+set}" = set; then
12085 enableval=$enable_sdltest;
12091 if test x$sdl_exec_prefix != x ; then
12092 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
12093 if test x${SDL_CONFIG+set} != xset ; then
12094 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
12097 if test x$sdl_prefix != x ; then
12098 sdl_args="$sdl_args --prefix=$sdl_prefix"
12099 if test x${SDL_CONFIG+set} != xset ; then
12100 SDL_CONFIG=$sdl_prefix/bin/sdl-config
12104 if test "x$prefix" != xNONE; then
12105 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
12107 # Extract the first word of "sdl-config", so it can be a program name with args.
12108 set dummy sdl-config; ac_word=$2
12109 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12111 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
12112 echo $ECHO_N "(cached) $ECHO_C" >&6
12114 case $SDL_CONFIG in
12116 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
12119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12120 for as_dir in $PATH
12123 test -z "$as_dir" && as_dir=.
12124 for ac_exec_ext in '' $ac_executable_extensions; do
12125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12126 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12134 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
12138 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
12139 if test -n "$SDL_CONFIG"; then
12140 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
12141 echo "${ECHO_T}$SDL_CONFIG" >&6; }
12143 { echo "$as_me:$LINENO: result: no" >&5
12144 echo "${ECHO_T}no" >&6; }
12148 min_sdl_version=1.2.10
12149 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
12150 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
12152 if test "$SDL_CONFIG" = "no" ; then
12155 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
12156 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
12158 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
12159 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12160 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
12161 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12162 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
12163 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12164 if test "x$enable_sdltest" = "xyes" ; then
12165 ac_save_CFLAGS="$CFLAGS"
12166 ac_save_CXXFLAGS="$CXXFLAGS"
12167 ac_save_LIBS="$LIBS"
12168 CFLAGS="$CFLAGS $SDL_CFLAGS"
12169 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
12170 LIBS="$LIBS $SDL_LIBS"
12172 if test "$cross_compiling" = yes; then
12173 echo $ac_n "cross compiling; assumed OK... $ac_c"
12175 cat >conftest.$ac_ext <<_ACEOF
12178 cat confdefs.h >>conftest.$ac_ext
12179 cat >>conftest.$ac_ext <<_ACEOF
12180 /* end confdefs.h. */
12183 #include <stdlib.h>
12184 #include <string.h>
12188 my_strdup (char *str)
12194 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
12195 strcpy (new_str, str);
12203 int main (int argc, char *argv[])
12205 int major, minor, micro;
12208 /* This hangs on some systems (?)
12209 system ("touch conf.sdltest");
12211 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
12213 /* HP/UX 9 (%@#!) writes to sscanf strings */
12214 tmp_version = my_strdup("$min_sdl_version");
12215 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12216 printf("%s, bad version string\n", "$min_sdl_version");
12220 if (($sdl_major_version > major) ||
12221 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
12222 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
12228 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
12229 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
12230 printf("*** best to upgrade to the required version.\n");
12231 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
12232 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
12233 printf("*** config.cache before re-running configure\n");
12240 rm -f conftest$ac_exeext
12241 if { (ac_try="$ac_link"
12242 case "(($ac_try" in
12243 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12244 *) ac_try_echo
=$ac_try;;
12246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12247 (eval "$ac_link") 2>&5
12249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12250 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12251 { (case "(($ac_try" in
12252 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12253 *) ac_try_echo=$ac_try;;
12255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12256 (eval "$ac_try") 2>&5
12258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12259 (exit $ac_status); }; }; then
12262 echo "$as_me: program exited with status $ac_status" >&5
12263 echo "$as_me: failed program was:" >&5
12264 sed 's/^/| /' conftest.$ac_ext >&5
12266 ( exit $ac_status )
12269 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12273 CFLAGS="$ac_save_CFLAGS"
12274 CXXFLAGS="$ac_save_CXXFLAGS"
12275 LIBS="$ac_save_LIBS"
12278 if test "x$no_sdl" = x ; then
12279 { echo "$as_me:$LINENO: result: yes" >&5
12280 echo "${ECHO_T}yes" >&6; }
12283 { echo "$as_me:$LINENO: result: no" >&5
12284 echo "${ECHO_T}no" >&6; }
12285 if test "$SDL_CONFIG" = "no" ; then
12286 echo "*** The sdl-config script installed by SDL could not be found"
12287 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
12288 echo "*** your path, or set the SDL_CONFIG environment variable to the"
12289 echo "*** full path to sdl-config."
12291 if test -f conf.sdltest ; then
12294 echo "*** Could not run SDL test program, checking why..."
12295 CFLAGS="$CFLAGS $SDL_CFLAGS"
12296 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
12297 LIBS="$LIBS $SDL_LIBS"
12298 cat >conftest.$ac_ext <<_ACEOF
12301 cat confdefs.h >>conftest.$ac_ext
12302 cat >>conftest.$ac_ext <<_ACEOF
12303 /* end confdefs.h. */
12308 int main(int argc, char *argv[])
12311 #define main K_and_R_C_main
12321 rm -f conftest.$ac_objext conftest$ac_exeext
12322 if { (ac_try="$ac_link"
12323 case "(($ac_try" in
12324 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12325 *) ac_try_echo
=$ac_try;;
12327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12328 (eval "$ac_link") 2>conftest.er1
12330 grep -v '^ *+' conftest.er1
>conftest.err
12332 cat conftest.err
>&5
12333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12334 (exit $ac_status); } && {
12335 test -z "$ac_c_werror_flag" ||
12336 test ! -s conftest.err
12337 } && test -s conftest
$ac_exeext &&
12338 $as_test_x conftest
$ac_exeext; then
12339 echo "*** The test program compiled, but did not run. This usually means"
12340 echo "*** that the run-time linker is not finding SDL or finding the wrong"
12341 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
12342 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12343 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12344 echo "*** is required on your system"
12346 echo "*** If you have an old version installed, it is best to remove it, although"
12347 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12349 echo "$as_me: failed program was:" >&5
12350 sed 's/^/| /' conftest.
$ac_ext >&5
12352 echo "*** The test program failed to compile or link. See the file config.log for the"
12353 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
12354 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
12355 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
12358 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12359 conftest
$ac_exeext conftest.
$ac_ext
12360 CFLAGS
="$ac_save_CFLAGS"
12361 CXXFLAGS
="$ac_save_CXXFLAGS"
12362 LIBS
="$ac_save_LIBS"
12374 if test "x-$have_sdl" != "x-yes" ; then
12376 if test "x-$sdl_hidd" != "x-auto" ; then
12377 { { echo "$as_me:$LINENO: error: SDL libs/headers not found, cannot build SDL hidd as requested" >&5
12378 echo "$as_me: error: SDL libs/headers not found, cannot build SDL hidd as requested" >&2;}
12379 { (exit 1); exit 1; }; }
12383 sdl_hidd_target
=kernel-hidd-sdl
12384 aros_host_sdl_cflags
=SDL_CFLAGS
12385 aros_host_sdl_libs
=SDL_LIBS
12392 { echo "$as_me:$LINENO: checking if building of dbus.library is enabled" >&5
12393 echo $ECHO_N "checking if building of dbus.library is enabled... $ECHO_C" >&6; }
12394 # Check whether --enable-dbus was given.
12395 if test "${enable_dbus+set}" = set; then
12396 enableval
=$enable_dbus; dbus
="yes"
12401 if test "$dbus" = "yes" ; then
12403 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
12404 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
12405 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
12406 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
12410 { echo "$as_me:$LINENO: result: $dbus" >&5
12411 echo "${ECHO_T}$dbus" >&6; }
12506 # Native version related
12510 # Palm native version related
12513 # Unix/Hosted version related
12529 # Collect-aros stuff: "-ius" to ignore undefined symbols
12532 # C compiler related
12535 case "$aros_flavour" in
12536 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
12537 aros_flavour
="emulation" ;;
12538 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
12539 aros_flavour
="emulation" ;;
12540 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
12541 aros_flavour
="standalone";;
12542 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
12543 aros_flavour
="native" ;;
12544 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
12545 aros_flavour
="native" ;;
12546 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
12547 aros_flavour
="linklib" ;;
12548 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
12549 aros_flavour
="palmnative" ;;
12550 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
12551 aros_flavour
="mac68knative" ;;
12552 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
12553 aros_flavour
="ppcnative" ;;
12556 if test ! -d ${aros_inc_dir} ; then
12557 ${MKDIR} ${aros_inc_dir}
12559 if test ! -d ${aros_geninc_dir} ; then
12560 ${MKDIR} ${aros_geninc_dir}
12562 if test ! -d ${aros_hostcfg_dir} ; then
12563 ${MKDIR} ${aros_hostcfg_dir}
12565 if test ! -d ${aros_targetcfg_dir} ; then
12566 ${MKDIR} ${aros_targetcfg_dir}
12568 if test ! -d ${aros_tools_dir} ; then
12569 ${MKDIR} ${aros_tools_dir}
12571 if test ! -d ${aros_scripts_dir} ; then
12572 ${MKDIR} ${aros_scripts_dir}
12575 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
12578 ac_config_commands
="$ac_config_commands compiler_executable"
12580 ac_config_commands
="$ac_config_commands genshared_executable"
12582 ac_config_commands
="$ac_config_commands genmf_executable"
12584 ac_config_commands
="$ac_config_commands adflib_myaros.conf_executable"
12587 ac_config_files
="$ac_config_files Makefile rom/mmakefile config/make.cfg ${aros_inc_dir}/config.h:config/config.h.in ${aros_geninc_dir}/config.h:config/config.h.in ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in mmake.config ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in ${aros_targetcfg_dir}/specs:config/specs.in ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-gcc:scripts/aros-gcc.in ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-ld:scripts/aros-ld.in ${aros_scripts_dir}/genshared:compiler/c_lib/source/lib_source/genshared.in ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py tools/adflib/myconf.aros tools/collect-aros/env.h"
12590 cat >confcache
<<\_ACEOF
12591 # This file is a shell script that caches the results of configure
12592 # tests run on this system so they can be shared between configure
12593 # scripts and configure runs, see configure's option --config-cache.
12594 # It is not useful on other systems. If it contains results you don't
12595 # want to keep, you may remove or edit it.
12597 # config.status only pays attention to the cache file if you give it
12598 # the --recheck option to rerun configure.
12600 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12601 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12602 # following values.
12606 # The following way of writing the cache mishandles newlines in values,
12607 # but we know of no workaround that is simple, portable, and efficient.
12608 # So, we kill variables containing newlines.
12609 # Ultrix sh set writes to stderr and can't be redirected directly,
12610 # and sets the high bit in the cache file unless we assign to the vars.
12612 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12613 eval ac_val
=\$
$ac_var
12617 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12618 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12621 _ | IFS | as_nl
) ;; #(
12622 *) $as_unset $ac_var ;;
12628 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12629 *${as_nl}ac_space
=\
*)
12630 # `set' does not quote correctly, so add quotes (double-quote
12631 # substitution turns \\\\ into \\, and sed turns \\ into \).
12634 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12637 # `set' quotes correctly as required by POSIX, so do not add quotes.
12638 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12647 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12649 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12651 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12652 if test -w "$cache_file"; then
12653 test "x$cache_file" != "x/dev/null" &&
12654 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12655 echo "$as_me: updating cache $cache_file" >&6;}
12656 cat confcache
>$cache_file
12658 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12659 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12664 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12665 # Let make expand exec_prefix.
12666 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12668 DEFS
=-DHAVE_CONFIG_H
12672 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12673 # 1. Remove the extension, and $U if already installed.
12674 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12675 ac_i
=`echo "$ac_i" | sed "$ac_script"`
12676 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12677 # will be set to the directory where LIBOBJS objects are built.
12678 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12679 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
12681 LIBOBJS
=$ac_libobjs
12683 LTLIBOBJS
=$ac_ltlibobjs
12687 : ${CONFIG_STATUS=./config.status}
12688 ac_clean_files_save
=$ac_clean_files
12689 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12690 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12691 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12692 cat >$CONFIG_STATUS <<_ACEOF
12694 # Generated by $as_me.
12695 # Run this file to recreate the current configuration.
12696 # Compiler output produced by configure, useful for debugging
12697 # configure, is in config.log if it exists.
12700 ac_cs_recheck=false
12702 SHELL=\${CONFIG_SHELL-$SHELL}
12705 cat >>$CONFIG_STATUS <<\_ACEOF
12706 ## --------------------- ##
12707 ## M4sh Initialization. ##
12708 ## --------------------- ##
12710 # Be more Bourne compatible
12711 DUALCASE
=1; export DUALCASE
# for MKS sh
12712 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
12715 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12716 # is contrary to our usage. Disable this feature.
12717 alias -g '${1+"$@"}'='"$@"'
12718 setopt NO_GLOB_SUBST
12720 case `(set -o) 2>/dev/null` in
12721 *posix
*) set -o posix
;;
12730 # Avoid depending upon Character Ranges.
12731 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12732 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12733 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12734 as_cr_digits
='0123456789'
12735 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12737 # The user is always right.
12738 if test "${PATH_SEPARATOR+set}" != set; then
12739 echo "#! /bin/sh" >conf$$.sh
12740 echo "exit 0" >>conf$$.sh
12742 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12750 # Support unset when possible.
12751 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
12759 # We need space, tab and new line, in precisely that order. Quoting is
12760 # there to prevent editors from complaining about space-tab.
12761 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12762 # splitting by setting IFS to empty value.)
12767 # Find who we are. Look in the path if we contain no directory separator.
12769 *[\\/]* ) as_myself
=$0 ;;
12770 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12771 for as_dir
in $PATH
12774 test -z "$as_dir" && as_dir
=.
12775 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
12781 # We did not find ourselves, most probably we were run as `sh COMMAND'
12782 # in which case we are not to be found in the path.
12783 if test "x$as_myself" = x
; then
12786 if test ! -f "$as_myself"; then
12787 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12788 { (exit 1); exit 1; }
12791 # Work around bugs in pre-3.0 UWIN ksh.
12792 for as_var
in ENV MAIL MAILPATH
12793 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
12801 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12802 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12803 LC_TELEPHONE LC_TIME
12805 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12806 eval $as_var=C
; export $as_var
12808 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
12812 # Required to use basename.
12813 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12814 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12820 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12821 as_basename
=basename
12827 # Name of the executable.
12828 as_me
=`$as_basename -- "$0" ||
12829 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12830 X"$0" : 'X\(//\)$' \| \
12831 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12833 sed '/^.*\/\([^/][^/]*\)\/*$/{
12852 as_lineno_1
=$LINENO
12853 as_lineno_2
=$LINENO
12854 test "x$as_lineno_1" != "x$as_lineno_2" &&
12855 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
12857 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12858 # uniformly replaced by the line number. The first 'sed' inserts a
12859 # line-number line after each line using $LINENO; the second 'sed'
12860 # does the real work. The second script uses 'N' to pair each
12861 # line-number line with the line containing $LINENO, and appends
12862 # trailing '-' during substitution so that $LINENO is not a special
12863 # case at line end.
12864 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12865 # scripts with optimization help from Paolo Bonzini. Blame Lee
12866 # E. McMahon (1931-1989) for sed's syntax. :-)
12878 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
12881 ' >$as_me.lineno
&&
12882 chmod +x
"$as_me.lineno" ||
12883 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
12884 { (exit 1); exit 1; }; }
12886 # Don't try to exec as it changes $[0], causing all sort of problems
12887 # (the dirname of $[0] is not the place where we might find the
12888 # original and so on. Autoconf is especially sensitive to this).
12889 .
"./$as_me.lineno"
12890 # Exit status is that of the last command.
12895 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12901 ECHO_C
= ECHO_N
= ECHO_T
=
12902 case `echo -n x` in
12904 case `echo 'x\c'` in
12905 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12912 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12913 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12919 rm -f conf$$ conf$$.exe conf$$.
file
12920 if test -d conf$$.dir
; then
12921 rm -f conf$$.dir
/conf$$.
file
12927 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12929 # ... but there are two gotchas:
12930 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12931 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12932 # In both cases, we have to default to `cp -p'.
12933 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12935 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12940 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12941 rmdir conf$$.dir
2>/dev
/null
12943 if mkdir
-p .
2>/dev
/null
; then
12946 test -d .
/-p && rmdir .
/-p
12950 if test -x / >/dev
/null
2>&1; then
12951 as_test_x
='test -x'
12953 if ls -dL / >/dev
/null
2>&1; then
12960 if test -d "$1"; then
12966 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
12967 ???[sx]*):;;*)false;;esac;fi
12971 as_executable_p
=$as_test_x
12973 # Sed expression to map a string onto a valid CPP name.
12974 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12976 # Sed expression to map a string onto a valid variable name.
12977 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12982 # Save the log message, to keep $[0] and so on meaningful, and to
12983 # report actual input values of CONFIG_FILES etc. instead of their
12984 # values after options handling.
12986 This file was extended by $as_me, which was
12987 generated by GNU Autoconf 2.61. Invocation command line was
12989 CONFIG_FILES = $CONFIG_FILES
12990 CONFIG_HEADERS = $CONFIG_HEADERS
12991 CONFIG_LINKS = $CONFIG_LINKS
12992 CONFIG_COMMANDS = $CONFIG_COMMANDS
12995 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13000 cat >>$CONFIG_STATUS <<_ACEOF
13001 # Files that config.status was made for.
13002 config_files="$ac_config_files"
13003 config_headers="$ac_config_headers"
13004 config_commands="$ac_config_commands"
13008 cat >>$CONFIG_STATUS <<\_ACEOF
13010 \`$as_me' instantiates files from templates according to the
13011 current configuration.
13013 Usage: $0 [OPTIONS] [FILE]...
13015 -h, --help print this help, then exit
13016 -V, --version print version number and configuration settings, then exit
13017 -q, --quiet do not print progress messages
13018 -d, --debug don't remove temporary files
13019 --recheck update $as_me by reconfiguring in the same conditions
13020 --file=FILE[:TEMPLATE]
13021 instantiate the configuration file FILE
13022 --header=FILE[:TEMPLATE]
13023 instantiate the configuration header FILE
13025 Configuration files:
13028 Configuration headers:
13031 Configuration commands:
13034 Report bugs to <bug-autoconf@gnu.org>."
13037 cat >>$CONFIG_STATUS <<_ACEOF
13040 configured by $0, generated by GNU Autoconf 2.61,
13041 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13043 Copyright (C) 2006 Free Software Foundation, Inc.
13044 This config.status script is free software; the Free Software Foundation
13045 gives unlimited permission to copy, distribute and modify it."
13051 cat >>$CONFIG_STATUS <<\_ACEOF
13052 # If no file are specified by the user, then we need to provide default
13053 # value. By we need to know if files were specified by the user.
13059 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13060 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13071 # Handling of the options.
13072 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13074 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13075 echo "$ac_cs_version"; exit ;;
13076 --debug |
--debu |
--deb |
--de |
--d |
-d )
13078 --file |
--fil |
--fi |
--f )
13080 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
13081 ac_need_defaults
=false
;;
13082 --header |
--heade |
--head |
--hea )
13084 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
13085 ac_need_defaults
=false
;;
13087 # Conflict between --help and --header
13088 { echo "$as_me: error: ambiguous option: $1
13089 Try \`$0 --help' for more information." >&2
13090 { (exit 1); exit 1; }; };;
13091 --help |
--hel |
-h )
13092 echo "$ac_cs_usage"; exit ;;
13093 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13094 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13097 # This is an error.
13098 -*) { echo "$as_me: error: unrecognized option: $1
13099 Try \`$0 --help' for more information." >&2
13100 { (exit 1); exit 1; }; } ;;
13102 *) ac_config_targets
="$ac_config_targets $1"
13103 ac_need_defaults
=false
;;
13109 ac_configure_extra_args
=
13111 if $ac_cs_silent; then
13113 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13117 cat >>$CONFIG_STATUS <<_ACEOF
13118 if \$ac_cs_recheck; then
13119 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13120 CONFIG_SHELL=$SHELL
13121 export CONFIG_SHELL
13122 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13126 cat >>$CONFIG_STATUS <<\_ACEOF
13130 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13131 ## Running $as_me. ##
13137 cat >>$CONFIG_STATUS <<_ACEOF
13142 aros_tools_dir=${aros_tools_dir}
13143 aros_target_cpu=${aros_target_cpu}
13144 aros_target_arch=${aros_target_arch}
13145 aros_target_suffix=${aros_target_suffix}
13146 aros_target_nm_ln=${aros_target_nm_ln}
13147 aros_target_as_ln=${aros_target_as_ln}
13148 aros_target_ar_ln=${aros_target_ar_ln}
13149 aros_target_ranlib_ln=${aros_target_ranlib_ln}
13150 aros_target_objdump_ln=${aros_target_objdump_ln}
13151 aros_target_objcopy_ln=${aros_target_objcopy_ln}
13152 aros_target_strip_ln=${aros_target_strip_ln}
13155 aros_scripts_dir=${aros_scripts_dir}
13157 aros_tools_dir=${aros_tools_dir}
13162 cat >>$CONFIG_STATUS <<\_ACEOF
13164 # Handling of arguments.
13165 for ac_config_target
in $ac_config_targets
13167 case $ac_config_target in
13168 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
13169 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
13170 "genshared_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genshared_executable" ;;
13171 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
13172 "adflib_myaros.conf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS adflib_myaros.conf_executable" ;;
13173 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13174 "rom/mmakefile") CONFIG_FILES
="$CONFIG_FILES rom/mmakefile" ;;
13175 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
13176 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
13177 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
13178 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
13179 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
13180 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
13181 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
13182 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
13183 "${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" ;;
13184 "${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" ;;
13185 "${aros_scripts_dir}/genshared") CONFIG_FILES
="$CONFIG_FILES ${aros_scripts_dir}/genshared:compiler/c_lib/source/lib_source/genshared.in" ;;
13186 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
13187 "tools/adflib/myconf.aros") CONFIG_FILES
="$CONFIG_FILES tools/adflib/myconf.aros" ;;
13188 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
13190 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13191 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13192 { (exit 1); exit 1; }; };;
13197 # If the user did not use the arguments to specify the items to instantiate,
13198 # then the envvar interface is used. Set only those that are not.
13199 # We use the long form for the default assignment because of an extremely
13200 # bizarre bug on SunOS 4.1.3.
13201 if $ac_need_defaults; then
13202 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13203 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13204 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13207 # Have a temporary directory for convenience. Make it in the build tree
13208 # simply because there is no reason against having it here, and in addition,
13209 # creating and moving files from /tmp can sometimes cause problems.
13210 # Hook for its removal unless debugging.
13211 # Note that there is a small window in which the directory will not be cleaned:
13212 # after its creation but before its name has been assigned to `$tmp'.
13216 trap 'exit_status=$?
13217 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13219 trap '{ (exit 1); exit 1; }' 1 2 13 15
13221 # Create a (secure) tmp directory for tmp files.
13224 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13225 test -n "$tmp" && test -d "$tmp"
13228 tmp
=.
/conf$$
-$RANDOM
13229 (umask 077 && mkdir
"$tmp")
13232 echo "$me: cannot create a temporary directory in ." >&2
13233 { (exit 1); exit 1; }
13237 # Set up the sed scripts for CONFIG_FILES section.
13240 # No need to generate the scripts if there are no CONFIG_FILES.
13241 # This happens for instance when ./config.status config.h
13242 if test -n "$CONFIG_FILES"; then
13249 for ac_last_try
in false false false false false
:; do
13250 cat >conf$
$subs.
sed <<_ACEOF
13251 SHELL!$SHELL$ac_delim
13252 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
13253 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
13254 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
13255 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
13256 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
13257 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
13258 exec_prefix!$exec_prefix$ac_delim
13259 prefix!$prefix$ac_delim
13260 program_transform_name!$program_transform_name$ac_delim
13261 bindir!$bindir$ac_delim
13262 sbindir!$sbindir$ac_delim
13263 libexecdir!$libexecdir$ac_delim
13264 datarootdir!$datarootdir$ac_delim
13265 datadir!$datadir$ac_delim
13266 sysconfdir!$sysconfdir$ac_delim
13267 sharedstatedir!$sharedstatedir$ac_delim
13268 localstatedir!$localstatedir$ac_delim
13269 includedir!$includedir$ac_delim
13270 oldincludedir!$oldincludedir$ac_delim
13271 docdir!$docdir$ac_delim
13272 infodir!$infodir$ac_delim
13273 htmldir!$htmldir$ac_delim
13274 dvidir!$dvidir$ac_delim
13275 pdfdir!$pdfdir$ac_delim
13276 psdir!$psdir$ac_delim
13277 libdir!$libdir$ac_delim
13278 localedir!$localedir$ac_delim
13279 mandir!$mandir$ac_delim
13280 DEFS!$DEFS$ac_delim
13281 ECHO_C!$ECHO_C$ac_delim
13282 ECHO_N!$ECHO_N$ac_delim
13283 ECHO_T!$ECHO_T$ac_delim
13284 LIBS!$LIBS$ac_delim
13285 build_alias!$build_alias$ac_delim
13286 host_alias!$host_alias$ac_delim
13287 target_alias!$target_alias$ac_delim
13288 build!$build$ac_delim
13289 build_cpu!$build_cpu$ac_delim
13290 build_vendor!$build_vendor$ac_delim
13291 build_os!$build_os$ac_delim
13292 host!$host$ac_delim
13293 host_cpu!$host_cpu$ac_delim
13294 host_vendor!$host_vendor$ac_delim
13295 host_os!$host_os$ac_delim
13297 CFLAGS!$CFLAGS$ac_delim
13298 LDFLAGS!$LDFLAGS$ac_delim
13299 CPPFLAGS!$CPPFLAGS$ac_delim
13300 ac_ct_CC!$ac_ct_CC$ac_delim
13301 EXEEXT!$EXEEXT$ac_delim
13302 OBJEXT!$OBJEXT$ac_delim
13305 MMAKE!$MMAKE$ac_delim
13306 aros_host_ld!$aros_host_ld$ac_delim
13307 aros_host_aclocal!$aros_host_aclocal$ac_delim
13308 aros_host_autoconf!$aros_host_autoconf$ac_delim
13309 aros_host_autoheader!$aros_host_autoheader$ac_delim
13310 aros_host_automake!$aros_host_automake$ac_delim
13311 aros_host_ar!$aros_host_ar$ac_delim
13312 aros_host_ranlib!$aros_host_ranlib$ac_delim
13313 aros_host_strip!$aros_host_strip$ac_delim
13317 ECHO!$ECHO$ac_delim
13318 MKDIR!$MKDIR$ac_delim
13319 TOUCH!$TOUCH$ac_delim
13320 SORT!$SORT$ac_delim
13321 UNIQ!$UNIQ$ac_delim
13324 BISON!$BISON$ac_delim
13325 FLEX!$FLEX$ac_delim
13326 PNGTOPNM!$PNGTOPNM$ac_delim
13327 PPMTOILBM!$PPMTOILBM$ac_delim
13329 CHMOD!$CHMOD$ac_delim
13330 PYTHON!$PYTHON$ac_delim
13331 PYTHON_VERSION!$PYTHON_VERSION$ac_delim
13332 PYTHON_PREFIX!$PYTHON_PREFIX$ac_delim
13333 PYTHON_EXEC_PREFIX!$PYTHON_EXEC_PREFIX$ac_delim
13334 PYTHON_PLATFORM!$PYTHON_PLATFORM$ac_delim
13335 pythondir!$pythondir$ac_delim
13336 pkgpythondir!$pkgpythondir$ac_delim
13337 pyexecdir!$pyexecdir$ac_delim
13338 pkgpyexecdir!$pkgpyexecdir$ac_delim
13341 TEST!$TEST$ac_delim
13343 GREP!$GREP$ac_delim
13344 EGREP!$EGREP$ac_delim
13345 LIBOBJS!$LIBOBJS$ac_delim
13346 DISTCC!$DISTCC$ac_delim
13347 CCACHE!$CCACHE$ac_delim
13350 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
13352 elif $ac_last_try; then
13353 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13354 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13355 { (exit 1); exit 1; }; }
13357 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
13361 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13362 if test -n "$ac_eof"; then
13363 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
13364 ac_eof
=`expr $ac_eof + 1`
13367 cat >>$CONFIG_STATUS <<_ACEOF
13368 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
13369 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13372 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13373 s/^/s,@/; s/!/@,|#_!!_#|/
13376 s/'"$ac_delim"'$/,g/; t
13378 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13379 ' >>$CONFIG_STATUS <conf$
$subs.
sed
13380 rm -f conf$
$subs.
sed
13381 cat >>$CONFIG_STATUS <<_ACEOF
13387 for ac_last_try
in false false false false false
:; do
13388 cat >conf$
$subs.
sed <<_ACEOF
13389 LIBLZO!$LIBLZO$ac_delim
13390 aros_kernel_cc!$aros_kernel_cc$ac_delim
13391 aros_target_cc!$aros_target_cc$ac_delim
13392 aros_target_ld!$aros_target_ld$ac_delim
13393 aros_target_as_ln!$aros_target_as_ln$ac_delim
13394 aros_kernel_ld!$aros_kernel_ld$ac_delim
13395 aros_target_ar_ln!$aros_target_ar_ln$ac_delim
13396 aros_target_nm_ln!$aros_target_nm_ln$ac_delim
13397 aros_target_objcopy_ln!$aros_target_objcopy_ln$ac_delim
13398 aros_target_objdump_ln!$aros_target_objdump_ln$ac_delim
13399 aros_target_ranlib_ln!$aros_target_ranlib_ln$ac_delim
13400 aros_target_strip_ln!$aros_target_strip_ln$ac_delim
13401 aros_target_nostdinc_cflags!$aros_target_nostdinc_cflags$ac_delim
13402 aros_target_nostartup_ldflags!$aros_target_nostartup_ldflags$ac_delim
13403 aros_target_nix_ldflags!$aros_target_nix_ldflags$ac_delim
13404 aros_target_detach_ldflags!$aros_target_detach_ldflags$ac_delim
13405 aros_target_nostdlib_ldflags!$aros_target_nostdlib_ldflags$ac_delim
13406 aros_cflags_iquote!$aros_cflags_iquote$ac_delim
13407 aros_cflags_iquote_end!$aros_cflags_iquote_end$ac_delim
13408 XMKMF!$XMKMF$ac_delim
13409 SDL_CONFIG!$SDL_CONFIG$ac_delim
13410 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
13411 SDL_LIBS!$SDL_LIBS$ac_delim
13412 aros_arch!$aros_arch$ac_delim
13413 aros_cpu!$aros_cpu$ac_delim
13414 aros_flavour!$aros_flavour$ac_delim
13415 aros_flavour_uc!$aros_flavour_uc$ac_delim
13416 AROS_BUILDDIR!$AROS_BUILDDIR$ac_delim
13417 SRCDIR!$SRCDIR$ac_delim
13418 AROS_PORTSSRCDIR!$AROS_PORTSSRCDIR$ac_delim
13419 aros_cc_pre!$aros_cc_pre$ac_delim
13420 aros_host_arch!$aros_host_arch$ac_delim
13421 aros_host_cpu!$aros_host_cpu$ac_delim
13422 aros_host_cc!$aros_host_cc$ac_delim
13423 aros_host_make!$aros_host_make$ac_delim
13424 aros_host_cflags!$aros_host_cflags$ac_delim
13425 aros_host_ldflags!$aros_host_ldflags$ac_delim
13426 aros_host_debug!$aros_host_debug$ac_delim
13427 aros_host_mkdep!$aros_host_mkdep$ac_delim
13428 aros_host_mkargs!$aros_host_mkargs$ac_delim
13429 aros_host_exe_suffix!$aros_host_exe_suffix$ac_delim
13430 aros_host_lib_suffix!$aros_host_lib_suffix$ac_delim
13431 aros_tools_dir!$aros_tools_dir$ac_delim
13432 aros_target_guitheme!$aros_target_guitheme$ac_delim
13433 aros_target_bootloader!$aros_target_bootloader$ac_delim
13434 aros_target_arch!$aros_target_arch$ac_delim
13435 aros_target_cpu!$aros_target_cpu$ac_delim
13436 aros_target_variant!$aros_target_variant$ac_delim
13437 aros_target_suffix!$aros_target_suffix$ac_delim
13438 aros_target_incl!$aros_target_incl$ac_delim
13439 aros_target_ar!$aros_target_ar$ac_delim
13440 aros_target_ranlib!$aros_target_ranlib$ac_delim
13441 aros_kernel_nm!$aros_kernel_nm$ac_delim
13442 orig_target_cc!$orig_target_cc$ac_delim
13443 aros_target_as!$aros_target_as$ac_delim
13444 orig_target_ld!$orig_target_ld$ac_delim
13445 aros_target_cc_includes!$aros_target_cc_includes$ac_delim
13446 aros_target_cc_path!$aros_target_cc_path$ac_delim
13447 aros_target_objdump!$aros_target_objdump$ac_delim
13448 aros_target_objcopy!$aros_target_objcopy$ac_delim
13449 aros_target_strip!$aros_target_strip$ac_delim
13450 aros_target_nm!$aros_target_nm$ac_delim
13451 aros_shared_default!$aros_shared_default$ac_delim
13452 aros_shared_ld!$aros_shared_ld$ac_delim
13453 aros_object_format!$aros_object_format$ac_delim
13454 aros_compiler_libs!$aros_compiler_libs$ac_delim
13455 aros_config_cflags!$aros_config_cflags$ac_delim
13456 aros_config_aflags!$aros_config_aflags$ac_delim
13457 aros_config_ldflags!$aros_config_ldflags$ac_delim
13458 aros_shared_cflags!$aros_shared_cflags$ac_delim
13459 aros_shared_aflags!$aros_shared_aflags$ac_delim
13460 aros_shared_ldflags!$aros_shared_ldflags$ac_delim
13461 aros_kernel_cflags!$aros_kernel_cflags$ac_delim
13462 aros_kernel_ldflags!$aros_kernel_ldflags$ac_delim
13463 aros_debug_cflags!$aros_debug_cflags$ac_delim
13464 aros_debug_aflags!$aros_debug_aflags$ac_delim
13465 aros_debug_ldflags!$aros_debug_ldflags$ac_delim
13466 aros_target_genmap!$aros_target_genmap$ac_delim
13467 aros_target_strip_flags!$aros_target_strip_flags$ac_delim
13468 x11_hidd_target!$x11_hidd_target$ac_delim
13469 sdl_hidd_target!$sdl_hidd_target$ac_delim
13470 aros_default_wbwidth!$aros_default_wbwidth$ac_delim
13471 aros_default_wbheight!$aros_default_wbheight$ac_delim
13472 aros_default_wbdepth!$aros_default_wbdepth$ac_delim
13473 DO_XSHM_SUPPORT!$DO_XSHM_SUPPORT$ac_delim
13474 DO_VIDMODE_SUPPORT!$DO_VIDMODE_SUPPORT$ac_delim
13475 aros_host_x11_includes!$aros_host_x11_includes$ac_delim
13476 aros_host_x11_libdirs!$aros_host_x11_libdirs$ac_delim
13477 aros_host_sdl_cflags!$aros_host_sdl_cflags$ac_delim
13478 aros_host_sdl_libs!$aros_host_sdl_libs$ac_delim
13479 aros_bochs_hack!$aros_bochs_hack$ac_delim
13480 aros_serial_debug!$aros_serial_debug$ac_delim
13481 aros_palm_debug_hack!$aros_palm_debug_hack$ac_delim
13482 aros_nesting_supervisor!$aros_nesting_supervisor$ac_delim
13483 ENABLE_DBUS!$ENABLE_DBUS$ac_delim
13484 DBUS_CFLAGS!$DBUS_CFLAGS$ac_delim
13485 DBUS_LIBFLAGS!$DBUS_LIBFLAGS$ac_delim
13488 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
13490 elif $ac_last_try; then
13491 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13492 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13493 { (exit 1); exit 1; }; }
13495 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
13499 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13500 if test -n "$ac_eof"; then
13501 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
13502 ac_eof
=`expr $ac_eof + 1`
13505 cat >>$CONFIG_STATUS <<_ACEOF
13506 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
13507 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13510 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13511 s/^/s,@/; s/!/@,|#_!!_#|/
13514 s/'"$ac_delim"'$/,g/; t
13516 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13517 ' >>$CONFIG_STATUS <conf$
$subs.
sed
13518 rm -f conf$
$subs.
sed
13519 cat >>$CONFIG_STATUS <<_ACEOF
13525 for ac_last_try
in false false false false false
:; do
13526 cat >conf$
$subs.
sed <<_ACEOF
13527 KERNEL_DBUS_KOBJ!$KERNEL_DBUS_KOBJ$ac_delim
13528 KERNEL_DBUS_INCLUDES!$KERNEL_DBUS_INCLUDES$ac_delim
13529 aros_debug!$aros_debug$ac_delim
13530 aros_mungwall_debug!$aros_mungwall_debug$ac_delim
13531 aros_stack_debug!$aros_stack_debug$ac_delim
13532 aros_modules_debug!$aros_modules_debug$ac_delim
13533 ignore_undefined_symbols!$ignore_undefined_symbols$ac_delim
13534 gcc_target_cpu!$gcc_target_cpu$ac_delim
13535 LTLIBOBJS!$LTLIBOBJS$ac_delim
13538 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 9; then
13540 elif $ac_last_try; then
13541 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13542 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13543 { (exit 1); exit 1; }; }
13545 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
13549 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13550 if test -n "$ac_eof"; then
13551 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
13552 ac_eof
=`expr $ac_eof + 1`
13555 cat >>$CONFIG_STATUS <<_ACEOF
13556 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
13557 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
13560 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13561 s/^/s,@/; s/!/@,|#_!!_#|/
13564 s/'"$ac_delim"'$/,g/; t
13566 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13567 ' >>$CONFIG_STATUS <conf$
$subs.
sed
13568 rm -f conf$
$subs.
sed
13569 cat >>$CONFIG_STATUS <<_ACEOF
13576 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13577 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13578 # trailing colons and then remove the whole line if VPATH becomes empty
13579 # (actually we leave an empty line to preserve line numbers).
13580 if test "x$srcdir" = x.
; then
13581 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
13582 s/:*\$(srcdir):*/:/
13583 s/:*\${srcdir}:*/:/
13585 s/^\([^=]*=[ ]*\):*/\1/
13591 cat >>$CONFIG_STATUS <<\_ACEOF
13592 fi # test -n "$CONFIG_FILES"
13595 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
13598 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13600 case $ac_mode$ac_tag in
13602 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
13603 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
13604 { (exit 1); exit 1; }; };;
13605 :[FH
]-) ac_tag
=-:-;;
13606 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13623 -) ac_f
="$tmp/stdin";;
13624 *) # Look for the file first in the build tree, then in the source tree
13625 # (if the path is not absolute). The absolute path cannot be DOS-style,
13626 # because $ac_f cannot contain `:'.
13630 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13632 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
13633 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
13634 { (exit 1); exit 1; }; };;
13636 ac_file_inputs
="$ac_file_inputs $ac_f"
13639 # Let's still pretend it is `configure' which instantiates (i.e., don't
13640 # use $as_me), people would be surprised to read:
13641 # /* config.h. Generated by config.status. */
13642 configure_input
="Generated from "`IFS=:
13643 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
13644 if test x
"$ac_file" != x-
; then
13645 configure_input
="$ac_file. $configure_input"
13646 { echo "$as_me:$LINENO: creating $ac_file" >&5
13647 echo "$as_me: creating $ac_file" >&6;}
13651 *:-:* |
*:-) cat >"$tmp/stdin";;
13656 ac_dir
=`$as_dirname -- "$ac_file" ||
13657 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13658 X"$ac_file" : 'X\(//\)[^/]' \| \
13659 X"$ac_file" : 'X\(//\)$' \| \
13660 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13662 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13666 /^X\(\/\/\)[^/].*/{
13681 -*) as_dir
=.
/$as_dir;;
13683 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
13687 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
13688 *) as_qdir
=$as_dir;;
13690 as_dirs
="'$as_qdir' $as_dirs"
13691 as_dir
=`$as_dirname -- "$as_dir" ||
13692 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13693 X"$as_dir" : 'X\(//\)[^/]' \| \
13694 X"$as_dir" : 'X\(//\)$' \| \
13695 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13697 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13701 /^X\(\/\/\)[^/].*/{
13714 test -d "$as_dir" && break
13716 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13717 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13718 echo "$as_me: error: cannot create directory $as_dir" >&2;}
13719 { (exit 1); exit 1; }; }; }
13723 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13725 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13726 # A ".." for each directory in $ac_dir_suffix.
13727 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
13728 case $ac_top_builddir_sub in
13729 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13730 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13733 ac_abs_top_builddir
=$ac_pwd
13734 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13735 # for backward compatibility:
13736 ac_top_builddir
=$ac_top_build_prefix
13739 .
) # We are building in place.
13741 ac_top_srcdir
=$ac_top_builddir_sub
13742 ac_abs_top_srcdir
=$ac_pwd ;;
13743 [\\/]* | ?
:[\\/]* ) # Absolute name.
13744 ac_srcdir
=$srcdir$ac_dir_suffix;
13745 ac_top_srcdir
=$srcdir
13746 ac_abs_top_srcdir
=$srcdir ;;
13747 *) # Relative name.
13748 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13749 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13750 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13752 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13763 cat >>$CONFIG_STATUS <<\_ACEOF
13764 # If the template does not know about datarootdir, expand it.
13765 # FIXME: This hack should be removed a few years after 2.60.
13766 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13768 case `sed -n '/datarootdir/ {
13777 ' $ac_file_inputs` in
13778 *datarootdir
*) ac_datarootdir_seen
=yes;;
13779 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13780 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13781 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13783 cat >>$CONFIG_STATUS <<_ACEOF
13784 ac_datarootdir_hack='
13785 s&@datadir@&$datadir&g
13786 s&@docdir@&$docdir&g
13787 s&@infodir@&$infodir&g
13788 s&@localedir@&$localedir&g
13789 s&@mandir@&$mandir&g
13790 s&\\\${datarootdir}&$datarootdir&g' ;;
13794 # Neutralize VPATH when `$srcdir' = `.'.
13795 # Shell code in configure.ac might set extrasub.
13796 # FIXME: do we really want to maintain this feature?
13797 cat >>$CONFIG_STATUS <<_ACEOF
13801 cat >>$CONFIG_STATUS <<\_ACEOF
13803 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13804 s
&@configure_input@
&$configure_input&;t t
13805 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13806 s
&@srcdir@
&$ac_srcdir&;t t
13807 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13808 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13809 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13810 s
&@builddir@
&$ac_builddir&;t t
13811 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13812 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13813 $ac_datarootdir_hack
13814 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" | sed -f "$tmp/subs-3.
sed" >$tmp/out
13816 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13817 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
13818 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
13819 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13820 which seems to be undefined. Please make sure it is defined." >&5
13821 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13822 which seems to be undefined. Please make sure it is defined." >&2;}
13826 -) cat "$tmp/out"; rm -f "$tmp/out";;
13827 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
13836 # Transform confdefs.h into a sed script `conftest.defines', that
13837 # substitutes the proper values into config.h.in to produce config.h.
13838 rm -f conftest.defines conftest.
tail
13839 # First, append a space to every undef/define line, to ease matching.
13840 echo 's/$/ /' >conftest.defines
13841 # Then, protect against being on the right side of a sed subst, or in
13842 # an unquoted here document, in config.status. If some macros were
13843 # called several times there might be several #defines for the same
13844 # symbol, which is useless. But do not sort them, since the last
13845 # AC_DEFINE must be honored.
13846 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
13847 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
13848 # NAME is the cpp macro being defined, VALUE is the value it is being given.
13849 # PARAMS is the parameter list in the macro definition--in most cases, it's
13850 # just an empty string.
13851 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
13852 ac_dB
='\\)[ (].*,\\1define\\2'
13860 s/^[ ]*#[ ]*define[ ][ ]*//
13865 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
13866 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
13867 ' >>conftest.defines
13869 # Remove the space that was appended to ease matching.
13870 # Then replace #undef with comments. This is necessary, for
13871 # example, in the case of _POSIX_SOURCE, which is predefined and required
13872 # on some systems where configure will not decide to define it.
13873 # (The regexp can be short, since the line contains either #define or #undef.)
13875 s,^[ #]*u.*,/* & */,' >>conftest.defines
13877 # Break up conftest.defines:
13878 ac_max_sed_lines
=50
13880 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
13881 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
13882 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
13884 ac_in
='$ac_file_inputs'
13885 ac_out
='"$tmp/out1"'
13886 ac_nxt
='"$tmp/out2"'
13890 # Write a here document:
13891 cat >>$CONFIG_STATUS <<_ACEOF
13892 # First, check the format of the line:
13893 cat >"\$tmp/defines.sed" <<\\CEOF
13894 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
13895 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
13899 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
13901 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
13902 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
13903 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
13904 grep . conftest.
tail >/dev
/null ||
break
13905 rm -f conftest.defines
13906 mv conftest.
tail conftest.defines
13908 rm -f conftest.defines conftest.
tail
13910 echo "ac_result=$ac_in" >>$CONFIG_STATUS
13911 cat >>$CONFIG_STATUS <<\_ACEOF
13912 if test x
"$ac_file" != x-
; then
13913 echo "/* $configure_input */" >"$tmp/config.h"
13914 cat "$ac_result" >>"$tmp/config.h"
13915 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
13916 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13917 echo "$as_me: $ac_file is unchanged" >&6;}
13920 mv "$tmp/config.h" $ac_file
13923 echo "/* $configure_input */"
13929 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
13930 echo "$as_me: executing $ac_file commands" >&6;}
13935 case $ac_file$ac_mode in
13936 "compiler_executable":C
)
13937 prefix
=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
13939 prefix
="${prefix}/${aros_target_cpu}-aros"
13940 prefix2
=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
13944 chmod a
+x
${prefix2}-gcc ${prefix2}-ld
13946 ln -sf ${prefix2}-gcc ${prefix}-gcc
13947 ln -sf ${prefix2}-ld ${prefix}-ld
13949 ln -sf $aros_target_as_ln ${prefix}-as
13950 ln -sf $aros_target_nm_ln ${prefix}-nm
13951 ln -sf $aros_target_ar_ln ${prefix}-ar
13952 ln -sf $aros_target_ranlib_ln ${prefix}-ranlib
13953 ln -sf $aros_target_objcopy_ln ${prefix}-objcopy
13954 ln -sf $aros_target_objdump_ln ${prefix}-objdump
13955 ln -sf $aros_target_strip_ln ${prefix}-strip
13957 ln -sf $aros_target_as_ln ${prefix2}-as
13958 ln -sf $aros_target_nm_ln ${prefix2}-nm
13959 ln -sf $aros_target_ar_ln ${prefix2}-ar
13960 ln -sf $aros_target_ranlib_ln ${prefix2}-ranlib
13961 ln -sf $aros_target_objcopy_ln ${prefix2}-objcopy
13962 ln -sf $aros_target_objdump_ln ${prefix2}-objdump
13963 ln -sf $aros_target_strip_ln ${prefix2}-strip
13965 "genshared_executable":C
) chmod a
+x
${aros_scripts_dir}/genshared
;;
13966 "genmf_executable":C
) chmod a
+x
${aros_tools_dir}/genmf.py
;;
13967 "adflib_myaros.conf_executable":C
) chmod a
+x tools
/adflib
/myconf.aros
13974 { (exit 0); exit 0; }
13976 chmod +x
$CONFIG_STATUS
13977 ac_clean_files
=$ac_clean_files_save
13980 # configure is writing to config.log, and then calls config.status.
13981 # config.status does its own redirection, appending to config.log.
13982 # Unfortunately, on DOS this fails, as config.log is still kept open
13983 # by configure, so config.status won't be able to write to it; its
13984 # output is simply discarded. So we exec the FD to /dev/null,
13985 # effectively closing config.log, so it can be properly (re)opened and
13986 # appended to by config.status. When coming back to configure, we
13987 # need to make the FD available again.
13988 if test "$no_create" != yes; then
13990 ac_config_status_args
=
13991 test "$silent" = yes &&
13992 ac_config_status_args
="$ac_config_status_args --quiet"
13994 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13996 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13997 # would make configure fail if this is the last instruction.
13998 $ac_cs_success ||
{ (exit 1); exit 1; }
14003 #XXX compatability...
14004 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
14006 if test -n "$aros_shared_cflags" ; then
14007 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
14008 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg