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
817 ignore_undefined_symbols
821 ac_precious_vars
='build_alias
833 # Initialize some variables set by options.
835 ac_init_version
=false
836 # The variables have the same names as the options, with
837 # dashes changed to underlines.
845 program_transform_name
=s
,x
,x
,
853 # Installation directory options.
854 # These are left unexpanded so users can "make install exec_prefix=/foo"
855 # and all the variables that are supposed to be based on exec_prefix
856 # by default will actually change.
857 # Use braces instead of parens because sh, perl, etc. also accept them.
858 # (The list follows the same order as the GNU Coding Standards.)
859 bindir
='${exec_prefix}/bin'
860 sbindir
='${exec_prefix}/sbin'
861 libexecdir
='${exec_prefix}/libexec'
862 datarootdir
='${prefix}/share'
863 datadir
='${datarootdir}'
864 sysconfdir
='${prefix}/etc'
865 sharedstatedir
='${prefix}/com'
866 localstatedir
='${prefix}/var'
867 includedir
='${prefix}/include'
868 oldincludedir
='/usr/include'
869 docdir
='${datarootdir}/doc/${PACKAGE}'
870 infodir
='${datarootdir}/info'
875 libdir
='${exec_prefix}/lib'
876 localedir
='${datarootdir}/locale'
877 mandir
='${datarootdir}/man'
883 # If the previous option needs an argument, assign it.
884 if test -n "$ac_prev"; then
885 eval $ac_prev=\
$ac_option
891 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
895 # Accept the important Cygnus configure options, so we can diagnose typos.
897 case $ac_dashdash$ac_option in
901 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
903 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
906 -build |
--build |
--buil |
--bui |
--bu)
907 ac_prev
=build_alias
;;
908 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
909 build_alias
=$ac_optarg ;;
911 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
912 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
913 ac_prev
=cache_file
;;
914 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
915 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
916 cache_file
=$ac_optarg ;;
919 cache_file
=config.cache
;;
921 -datadir |
--datadir |
--datadi |
--datad)
923 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
924 datadir
=$ac_optarg ;;
926 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
927 |
--dataroo |
--dataro |
--datar)
928 ac_prev
=datarootdir
;;
929 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
930 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
931 datarootdir
=$ac_optarg ;;
933 -disable-* |
--disable-*)
934 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
935 # Reject names that are not valid shell variable names.
936 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
937 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
938 { (exit 1); exit 1; }; }
939 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
940 eval enable_
$ac_feature=no
;;
942 -docdir |
--docdir |
--docdi |
--doc |
--do)
944 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
947 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
949 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
952 -enable-* |
--enable-*)
953 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
954 # Reject names that are not valid shell variable names.
955 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
956 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
957 { (exit 1); exit 1; }; }
958 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
959 eval enable_
$ac_feature=\
$ac_optarg ;;
961 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
962 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
963 |
--exec |
--exe |
--ex)
964 ac_prev
=exec_prefix
;;
965 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
966 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
967 |
--exec=* |
--exe=* |
--ex=*)
968 exec_prefix
=$ac_optarg ;;
970 -gas |
--gas |
--ga |
--g)
971 # Obsolete; use --with-gas.
974 -help |
--help |
--hel |
--he |
-h)
976 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
977 ac_init_help
=recursive
;;
978 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
979 ac_init_help
=short
;;
981 -host |
--host |
--hos |
--ho)
982 ac_prev
=host_alias
;;
983 -host=* |
--host=* |
--hos=* |
--ho=*)
984 host_alias
=$ac_optarg ;;
986 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
988 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
990 htmldir
=$ac_optarg ;;
992 -includedir |
--includedir |
--includedi |
--included |
--include \
993 |
--includ |
--inclu |
--incl |
--inc)
994 ac_prev
=includedir
;;
995 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
996 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
997 includedir
=$ac_optarg ;;
999 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1001 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1002 infodir
=$ac_optarg ;;
1004 -libdir |
--libdir |
--libdi |
--libd)
1006 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1007 libdir
=$ac_optarg ;;
1009 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1010 |
--libexe |
--libex |
--libe)
1011 ac_prev
=libexecdir
;;
1012 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1013 |
--libexe=* |
--libex=* |
--libe=*)
1014 libexecdir
=$ac_optarg ;;
1016 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1017 ac_prev
=localedir
;;
1018 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1019 localedir
=$ac_optarg ;;
1021 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1022 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1023 ac_prev
=localstatedir
;;
1024 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1025 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1026 localstatedir
=$ac_optarg ;;
1028 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1030 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1031 mandir
=$ac_optarg ;;
1033 -nfp |
--nfp |
--nf)
1034 # Obsolete; use --without-fp.
1037 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1038 |
--no-cr |
--no-c |
-n)
1041 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1042 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1045 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1046 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1047 |
--oldin |
--oldi |
--old |
--ol |
--o)
1048 ac_prev
=oldincludedir
;;
1049 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1050 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1051 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1052 oldincludedir
=$ac_optarg ;;
1054 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1056 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1057 prefix
=$ac_optarg ;;
1059 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1060 |
--program-pre |
--program-pr |
--program-p)
1061 ac_prev
=program_prefix
;;
1062 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1063 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1064 program_prefix
=$ac_optarg ;;
1066 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1067 |
--program-suf |
--program-su |
--program-s)
1068 ac_prev
=program_suffix
;;
1069 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1070 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1071 program_suffix
=$ac_optarg ;;
1073 -program-transform-name |
--program-transform-name \
1074 |
--program-transform-nam |
--program-transform-na \
1075 |
--program-transform-n |
--program-transform- \
1076 |
--program-transform |
--program-transfor \
1077 |
--program-transfo |
--program-transf \
1078 |
--program-trans |
--program-tran \
1079 |
--progr-tra |
--program-tr |
--program-t)
1080 ac_prev
=program_transform_name
;;
1081 -program-transform-name=* |
--program-transform-name=* \
1082 |
--program-transform-nam=* |
--program-transform-na=* \
1083 |
--program-transform-n=* |
--program-transform-=* \
1084 |
--program-transform=* |
--program-transfor=* \
1085 |
--program-transfo=* |
--program-transf=* \
1086 |
--program-trans=* |
--program-tran=* \
1087 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1088 program_transform_name
=$ac_optarg ;;
1090 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1092 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1093 pdfdir
=$ac_optarg ;;
1095 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1097 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1100 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1101 |
-silent |
--silent |
--silen |
--sile |
--sil)
1104 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1106 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1108 sbindir
=$ac_optarg ;;
1110 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1111 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1112 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1114 ac_prev
=sharedstatedir
;;
1115 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1116 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1117 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1119 sharedstatedir
=$ac_optarg ;;
1121 -site |
--site |
--sit)
1123 -site=* |
--site=* |
--sit=*)
1126 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1128 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1129 srcdir
=$ac_optarg ;;
1131 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1132 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1133 ac_prev
=sysconfdir
;;
1134 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1135 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1136 sysconfdir
=$ac_optarg ;;
1138 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1139 ac_prev
=target_alias
;;
1140 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1141 target_alias
=$ac_optarg ;;
1143 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1146 -version |
--version |
--versio |
--versi |
--vers |
-V)
1147 ac_init_version
=: ;;
1150 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1151 # Reject names that are not valid shell variable names.
1152 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1153 { echo "$as_me: error: invalid package name: $ac_package" >&2
1154 { (exit 1); exit 1; }; }
1155 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1156 eval with_
$ac_package=\
$ac_optarg ;;
1158 -without-* |
--without-*)
1159 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1160 # Reject names that are not valid shell variable names.
1161 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1162 { echo "$as_me: error: invalid package name: $ac_package" >&2
1163 { (exit 1); exit 1; }; }
1164 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1165 eval with_
$ac_package=no
;;
1168 # Obsolete; use --with-x.
1171 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1172 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1173 ac_prev
=x_includes
;;
1174 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1175 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1176 x_includes
=$ac_optarg ;;
1178 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1179 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1180 ac_prev
=x_libraries
;;
1181 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1182 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1183 x_libraries
=$ac_optarg ;;
1185 -*) { echo "$as_me: error: unrecognized option: $ac_option
1186 Try \`$0 --help' for more information." >&2
1187 { (exit 1); exit 1; }; }
1191 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1192 # Reject names that are not valid shell variable names.
1193 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1194 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1195 { (exit 1); exit 1; }; }
1196 eval $ac_envvar=\
$ac_optarg
1197 export $ac_envvar ;;
1200 # FIXME: should be removed in autoconf 3.0.
1201 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1202 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1203 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1204 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1210 if test -n "$ac_prev"; then
1211 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1212 { echo "$as_me: error: missing argument to $ac_option" >&2
1213 { (exit 1); exit 1; }; }
1216 # Be sure to have absolute directory names.
1217 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1218 datadir sysconfdir sharedstatedir localstatedir includedir \
1219 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1220 libdir localedir mandir
1222 eval ac_val
=\$
$ac_var
1224 [\\/$
]* | ?
:[\\/]* ) continue;;
1225 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1227 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1228 { (exit 1); exit 1; }; }
1231 # There might be people who depend on the old broken behavior: `$host'
1232 # used to hold the argument of --host etc.
1233 # FIXME: To remove some day.
1236 target
=$target_alias
1238 # FIXME: To remove some day.
1239 if test "x$host_alias" != x
; then
1240 if test "x$build_alias" = x
; then
1241 cross_compiling
=maybe
1242 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1243 If a cross compiler is detected then cross compile mode will be used." >&2
1244 elif test "x$build_alias" != "x$host_alias"; then
1250 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1252 test "$silent" = yes && exec 6>/dev
/null
1255 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1256 ac_ls_di
=`ls -di .` &&
1257 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1258 { echo "$as_me: error: Working directory cannot be determined" >&2
1259 { (exit 1); exit 1; }; }
1260 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1261 { echo "$as_me: error: pwd does not report name of working directory" >&2
1262 { (exit 1); exit 1; }; }
1265 # Find the source files, if location was not specified.
1266 if test -z "$srcdir"; then
1267 ac_srcdir_defaulted
=yes
1268 # Try the directory containing this script, then the parent directory.
1269 ac_confdir
=`$as_dirname -- "$0" ||
1270 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1271 X"$0" : 'X\(//\)[^/]' \| \
1272 X"$0" : 'X\(//\)$' \| \
1273 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1275 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1293 if test ! -r "$srcdir/$ac_unique_file"; then
1297 ac_srcdir_defaulted
=no
1299 if test ! -r "$srcdir/$ac_unique_file"; then
1300 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1301 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1302 { (exit 1); exit 1; }; }
1304 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1306 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1307 { (exit 1); exit 1; }; }
1309 # When building in place, set srcdir=.
1310 if test "$ac_abs_confdir" = "$ac_pwd"; then
1313 # Remove unnecessary trailing slashes from srcdir.
1314 # Double slashes in file names in object file debugging info
1315 # mess up M-x gdb in Emacs.
1317 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1319 for ac_var
in $ac_precious_vars; do
1320 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1321 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1322 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1323 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1327 # Report the --help message.
1329 if test "$ac_init_help" = "long"; then
1330 # Omit some internal or obsolete options to make the list less imposing.
1331 # This message is too long to be a string in the A/UX 3.1 sh.
1333 \`configure' configures this package to adapt to many kinds of systems.
1335 Usage: $0 [OPTION]... [VAR=VALUE]...
1337 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1338 VAR=VALUE. See below for descriptions of some of the useful variables.
1340 Defaults for the options are specified in brackets.
1343 -h, --help display this help and exit
1344 --help=short display options specific to this package
1345 --help=recursive display the short help of all the included packages
1346 -V, --version display version information and exit
1347 -q, --quiet, --silent do not print \`checking...' messages
1348 --cache-file=FILE cache test results in FILE [disabled]
1349 -C, --config-cache alias for \`--cache-file=config.cache'
1350 -n, --no-create do not create output files
1351 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1353 Installation directories:
1354 --prefix=PREFIX install architecture-independent files in PREFIX
1355 [$ac_default_prefix]
1356 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1359 By default, \`make install' will install all the files in
1360 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1361 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1362 for instance \`--prefix=\$HOME'.
1364 For better control, use the options below.
1366 Fine tuning of the installation directories:
1367 --bindir=DIR user executables [EPREFIX/bin]
1368 --sbindir=DIR system admin executables [EPREFIX/sbin]
1369 --libexecdir=DIR program executables [EPREFIX/libexec]
1370 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1371 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1372 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1373 --libdir=DIR object code libraries [EPREFIX/lib]
1374 --includedir=DIR C header files [PREFIX/include]
1375 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1376 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1377 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1378 --infodir=DIR info documentation [DATAROOTDIR/info]
1379 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1380 --mandir=DIR man documentation [DATAROOTDIR/man]
1381 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1382 --htmldir=DIR html documentation [DOCDIR]
1383 --dvidir=DIR dvi documentation [DOCDIR]
1384 --pdfdir=DIR pdf documentation [DOCDIR]
1385 --psdir=DIR ps documentation [DOCDIR]
1391 --x-includes=DIR X include files are
in DIR
1392 --x-libraries=DIR X library files are
in DIR
1395 --build=BUILD configure
for building on BUILD
[guessed
]
1396 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1400 if test -n "$ac_init_help"; then
1405 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1406 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1407 --enable-build-type=TYPE
1408 Select the build
type. Available types are
:
1409 personal
, nightly
, snapshot
, milestone
, release. Do
1410 NOT use this option unless you know what you are
1411 doing
! (default
=personal
)
1412 --enable-debug=list Enable different types of debug. Commas or
1413 whitespaces can be used to separate the items
in the
1414 list. Available types of debug are
: all
, none
,
1415 messages
, stack
, mungwall
, modules
, symbols. If no
1416 list is provided
then "all" is assumed.
1418 --enable-crosstools Build cross-compiler toolchains
if necessary
1420 --enable-distcc Use distcc as a front end to the compiler
1422 --enable-ccache Use ccache as a front end to the compiler
1424 --enable-target-variant=NAME
1425 Enable a specific target variant
(default
=none
)
1426 --enable-includes=dir Alternative system include directory
1427 --enable-bochs-hack Enable hacks to
make BOCHS
(partly
) work
1429 --enable-palm-debug-hack
1430 Enable palm debug output hack
in palm native
1432 --enable-nesting-supervisor
1433 Enable nesting supervisor support
in unix
1435 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1436 --enable-x11-shm use X11 shared memory
(default
=auto
)
1437 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1438 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1439 --disable-sdltest Do not try to compile and run a
test SDL program
1440 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1443 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1444 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1445 --with-optimization=FLAGS
1446 Use optimization flags FLAGS
(default
=-O2).
1447 --with-portssources=DIR Where to download sourcecode
for external ports
1448 --with-bootloader=NAME Use a specific bootloader
1449 --with-theme=NAME Use a specific GUI Theme
1450 --with-resolution=XRESxYRESxDEPTH
1451 Default resolution of the initial WorkbenchScreen
1452 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1453 --with-x use the X Window System
1454 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1455 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1457 Some influential environment variables
:
1458 CC C compiler
command
1459 CFLAGS C compiler flags
1460 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1461 nonstandard directory
<lib dir
>
1462 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1463 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1464 you have headers
in a nonstandard directory
<include dir
>
1466 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1468 Use these variables to override the choices made by
`configure' or to help
1469 it to find libraries and programs with nonstandard names/locations.
1475 if test "$ac_init_help" = "recursive"; then
1476 # If there are subdirs, report their specific --help.
1477 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1478 test -d "$ac_dir" || continue
1482 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1484 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1485 # A ".." for each directory in $ac_dir_suffix.
1486 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1487 case $ac_top_builddir_sub in
1488 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1489 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1492 ac_abs_top_builddir=$ac_pwd
1493 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1494 # for backward compatibility:
1495 ac_top_builddir=$ac_top_build_prefix
1498 .) # We are building in place.
1500 ac_top_srcdir=$ac_top_builddir_sub
1501 ac_abs_top_srcdir=$ac_pwd ;;
1502 [\\/]* | ?:[\\/]* ) # Absolute name.
1503 ac_srcdir=$srcdir$ac_dir_suffix;
1504 ac_top_srcdir=$srcdir
1505 ac_abs_top_srcdir=$srcdir ;;
1507 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1508 ac_top_srcdir=$ac_top_build_prefix$srcdir
1509 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1511 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1513 cd "$ac_dir" || { ac_status=$?; continue; }
1514 # Check for guested configure.
1515 if test -f "$ac_srcdir/configure.gnu"; then
1517 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1518 elif test -f "$ac_srcdir/configure"; then
1520 $SHELL "$ac_srcdir/configure" --help=recursive
1522 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1524 cd "$ac_pwd" || { ac_status=$?; break; }
1528 test -n "$ac_init_help" && exit $ac_status
1529 if $ac_init_version; then
1532 generated by GNU Autoconf 2.61
1534 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1535 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1536 This configure script is free software; the Free Software Foundation
1537 gives unlimited permission to copy, distribute and modify it.
1541 cat >config.log <<_ACEOF
1542 This file contains any messages produced by compilers while
1543 running configure, to aid debugging if configure makes a mistake.
1545 It was created by $as_me, which was
1546 generated by GNU Autoconf 2.61. Invocation command line was
1558 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1559 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1560 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1561 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1562 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1564 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1565 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1567 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1568 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1569 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1570 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1571 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1572 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1573 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1581 test -z "$as_dir" && as_dir=.
1582 echo "PATH: $as_dir"
1598 # Keep a trace of the command line.
1599 # Strip out --no-create and --no-recursion so they do not pile up.
1600 # Strip out --silent because we don't want to record it for future runs.
1601 # Also quote any args containing shell meta-characters.
1602 # Make two passes to allow for proper duplicate-argument suppression.
1606 ac_must_keep_next=false
1612 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1613 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1614 | -silent | --silent | --silen | --sile | --sil)
1617 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1620 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1622 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1623 if test $ac_must_keep_next = true; then
1624 ac_must_keep_next=false # Got value, back to normal.
1627 *=* | --config-cache | -C | -disable-* | --disable-* \
1628 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1629 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1630 | -with-* | --with-* | -without-* | --without-* | --x)
1631 case "$ac_configure_args0 " in
1632 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1635 -* ) ac_must_keep_next=true ;;
1638 ac_configure_args="$ac_configure_args '$ac_arg'"
1643 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1644 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1646 # When interrupted or exit'd, cleanup temporary files, and complete
1647 # config.log. We remove comments because anyway the quotes in there
1648 # would cause problems or look ugly.
1649 # WARNING: Use '\'' to represent an apostrophe within the trap.
1650 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1651 trap 'exit_status=$?
1652 # Save into config.log some information that might help in debugging.
1657 ## ---------------- ##
1658 ## Cache variables. ##
1659 ## ---------------- ##
1662 # The following way of writing the cache mishandles newlines in values,
1664 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1665 eval ac_val=\$$ac_var
1669 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1670 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1673 _ | IFS | as_nl) ;; #(
1674 *) $as_unset $ac_var ;;
1679 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1680 *${as_nl}ac_space=\ *)
1682 "s/'\''/'\''\\\\'\'''\''/g;
1683 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1686 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1694 ## ----------------- ##
1695 ## Output variables. ##
1696 ## ----------------- ##
1699 for ac_var in $ac_subst_vars
1701 eval ac_val=\$$ac_var
1703 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1705 echo "$ac_var='\''$ac_val'\''"
1709 if test -n "$ac_subst_files"; then
1711 ## ------------------- ##
1712 ## File substitutions. ##
1713 ## ------------------- ##
1716 for ac_var in $ac_subst_files
1718 eval ac_val=\$$ac_var
1720 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1722 echo "$ac_var='\''$ac_val'\''"
1727 if test -s confdefs.h; then
1737 test "$ac_signal" != 0 &&
1738 echo "$as_me: caught signal $ac_signal"
1739 echo "$as_me: exit $exit_status"
1741 rm -f core *.core core.conftest.* &&
1742 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1745 for ac_signal in 1 2 13 15; do
1746 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1750 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1751 rm -f -r conftest* confdefs.h
1753 # Predefined preprocessor variables.
1755 cat >>confdefs.h <<_ACEOF
1756 #define PACKAGE_NAME "$PACKAGE_NAME"
1760 cat >>confdefs.h <<_ACEOF
1761 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1765 cat >>confdefs.h <<_ACEOF
1766 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1770 cat >>confdefs.h <<_ACEOF
1771 #define PACKAGE_STRING "$PACKAGE_STRING"
1775 cat >>confdefs.h <<_ACEOF
1776 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1780 # Let the site file select an alternate cache file if it wants to.
1781 # Prefer explicitly selected file to automatically selected ones.
1782 if test -n "$CONFIG_SITE"; then
1783 set x "$CONFIG_SITE"
1784 elif test "x$prefix" != xNONE; then
1785 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1787 set x "$ac_default_prefix/share/config.site" \
1788 "$ac_default_prefix/etc/config.site"
1793 if test -r "$ac_site_file"; then
1794 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1795 echo "$as_me: loading site script $ac_site_file" >&6;}
1796 sed 's/^/| /' "$ac_site_file" >&5
1801 if test -r "$cache_file"; then
1802 # Some versions of bash will fail to source /dev/null (special
1803 # files actually), so we avoid doing that.
1804 if test -f "$cache_file"; then
1805 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1806 echo "$as_me: loading cache $cache_file" >&6;}
1808 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1809 *) . "./$cache_file";;
1813 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1814 echo "$as_me: creating cache $cache_file" >&6;}
1818 # Check that the precious variables saved in the cache have kept the same
1820 ac_cache_corrupted=false
1821 for ac_var in $ac_precious_vars; do
1822 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1823 eval ac_new_set=\$ac_env_${ac_var}_set
1824 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1825 eval ac_new_val=\$ac_env_${ac_var}_value
1826 case $ac_old_set,$ac_new_set in
1828 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1829 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1830 ac_cache_corrupted=: ;;
1832 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1833 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1834 ac_cache_corrupted=: ;;
1837 if test "x$ac_old_val" != "x$ac_new_val"; then
1838 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1839 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1840 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1841 echo "$as_me: former value
: $ac_old_val" >&2;}
1842 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1843 echo "$as_me: current value
: $ac_new_val" >&2;}
1844 ac_cache_corrupted=:
1847 # Pass precious variables to config.status.
1848 if test "$ac_new_set" = set; then
1850 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1851 *) ac_arg=$ac_var=$ac_new_val ;;
1853 case " $ac_configure_args " in
1854 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1855 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1859 if $ac_cache_corrupted; then
1860 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1861 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1862 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1863 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1864 { (exit 1); exit 1; }; }
1884 ac_cpp='$CPP $CPPFLAGS'
1885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1892 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
1893 if test -f "$ac_dir/install-sh"; then
1895 ac_install_sh="$ac_aux_dir/install-sh -c"
1897 elif test -f "$ac_dir/install.sh"; then
1899 ac_install_sh="$ac_aux_dir/install.sh -c"
1901 elif test -f "$ac_dir/shtool"; then
1903 ac_install_sh="$ac_aux_dir/shtool install -c"
1907 if test -z "$ac_aux_dir"; then
1908 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts/autoconf \"$srcdir\"/scripts/autoconf" >&5
1909 echo "$as_me: error: cannot find install-sh or install.sh in scripts/autoconf \"$srcdir\"/scripts/autoconf" >&2;}
1910 { (exit 1); exit 1; }; }
1913 # These three variables are undocumented and unsupported,
1914 # and are intended to be withdrawn in a future Autoconf release.
1915 # They can cause serious problems if a builder's source tree is in a directory
1916 # whose full name contains unusual characters.
1917 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1918 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1919 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1923 # Check what host we are running on.
1924 # If a target is not suggested, we use this one.
1925 # Note that what we call a target, Autoconf calls a host.
1926 # Make sure we can run config.sub.
1927 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1928 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1929 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1930 { (exit 1); exit 1; }; }
1932 { echo "$as_me:$LINENO: checking build system type" >&5
1933 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1934 if test "${ac_cv_build+set}" = set; then
1935 echo $ECHO_N "(cached) $ECHO_C" >&6
1937 ac_build_alias=$build_alias
1938 test "x$ac_build_alias" = x &&
1939 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1940 test "x$ac_build_alias" = x &&
1941 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1942 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1943 { (exit 1); exit 1; }; }
1944 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1945 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1946 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1947 { (exit 1); exit 1; }; }
1950 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1951 echo "${ECHO_T}$ac_cv_build" >&6; }
1952 case $ac_cv_build in
1954 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1955 echo "$as_me: error: invalid value of canonical build" >&2;}
1956 { (exit 1); exit 1; }; };;
1959 ac_save_IFS=$IFS; IFS='-'
1965 # Remember, the first character of IFS is used to create $*,
1966 # except with old shells:
1969 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
1972 { echo "$as_me:$LINENO: checking host system type" >&5
1973 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1974 if test "${ac_cv_host+set}" = set; then
1975 echo $ECHO_N "(cached) $ECHO_C" >&6
1977 if test "x$host_alias" = x; then
1978 ac_cv_host=$ac_cv_build
1980 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1981 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1982 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1983 { (exit 1); exit 1; }; }
1987 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1988 echo "${ECHO_T}$ac_cv_host" >&6; }
1991 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1992 echo "$as_me: error: invalid value of canonical host" >&2;}
1993 { (exit 1); exit 1; }; };;
1996 ac_save_IFS=$IFS; IFS='-'
2002 # Remember, the first character of IFS is used to create $*,
2003 # except with old shells:
2006 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2010 # The AROS target is slightly different to the normal GNU style
2011 # format. We don't have the middle part, and we reverse the order
2012 # of the $(CPU) and $(OS) bits.
2014 # Don't strip the version of the target yet, it might be
2015 # useful on some systems.
2017 { echo "$as_me:$LINENO: checking for AROS style target" >&5
2018 echo $ECHO_N "checking for AROS style target... $ECHO_C" >&6; }
2020 if test "$target" = "NONE" ; then
2021 target=$host_os-$host_cpu
2024 if test "$target" = "" ; then
2025 target=$host_os-$host_cpu
2031 { echo "$as_me:$LINENO: result: $target" >&5
2032 echo "${ECHO_T}$target" >&6; }
2034 #don't know where else to put this...
2035 { echo "$as_me:$LINENO: checking Building AROS in .. " >&5
2036 echo $ECHO_N "checking Building AROS in .. ... $ECHO_C" >&6; }
2038 { echo "$as_me:$LINENO: result: $AROS_BUILDDIR" >&5
2039 echo "${ECHO_T}$AROS_BUILDDIR" >&6; }
2041 { echo "$as_me:$LINENO: checking AROS Source in .. " >&5
2042 echo $ECHO_N "checking AROS Source in .. ... $ECHO_C" >&6; }
2043 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2045 { echo "$as_me:$LINENO: result: $SRCDIR" >&5
2046 echo "${ECHO_T}$SRCDIR" >&6; }
2048 # Parse the target field into something useful.
2050 target_os=`echo $target |
sed 's/^\([^-]*\)-\(.*\)$/\1/'`
2051 target_cpu=`echo $target |
sed 's/^\([^-]*\)-\(.*\)$/\2/'`
2054 aros_default_wbwidth=800
2055 aros_default_wbheight=600
2056 aros_default_wbdepth=4
2059 # The first step is to find the host binaries.
2060 # Check for a compiler.
2062 ac_cpp='$CPP $CPPFLAGS'
2063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2066 if test -n "$ac_tool_prefix"; then
2067 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2068 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2069 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2071 if test "${ac_cv_prog_CC+set}" = set; then
2072 echo $ECHO_N "(cached) $ECHO_C" >&6
2074 if test -n "$CC"; then
2075 ac_cv_prog_CC="$CC" # Let the user override the test.
2077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2081 test -z "$as_dir" && as_dir=.
2082 for ac_exec_ext in '' $ac_executable_extensions; do
2083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2084 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2095 if test -n "$CC"; then
2096 { echo "$as_me:$LINENO: result: $CC" >&5
2097 echo "${ECHO_T}$CC" >&6; }
2099 { echo "$as_me:$LINENO: result: no" >&5
2100 echo "${ECHO_T}no" >&6; }
2105 if test -z "$ac_cv_prog_CC"; then
2107 # Extract the first word of "gcc", so it can be a program name with args.
2108 set dummy gcc; ac_word=$2
2109 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2111 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2112 echo $ECHO_N "(cached) $ECHO_C" >&6
2114 if test -n "$ac_ct_CC"; then
2115 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2121 test -z "$as_dir" && as_dir=.
2122 for ac_exec_ext in '' $ac_executable_extensions; do
2123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2124 ac_cv_prog_ac_ct_CC="gcc"
2125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2134 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2135 if test -n "$ac_ct_CC"; then
2136 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2137 echo "${ECHO_T}$ac_ct_CC" >&6; }
2139 { echo "$as_me:$LINENO: result: no" >&5
2140 echo "${ECHO_T}no" >&6; }
2143 if test "x$ac_ct_CC" = x; then
2146 case $cross_compiling:$ac_tool_warned in
2148 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2149 whose name does not start with the host triplet. If you think this
2150 configuration is useful to you, please write to autoconf@gnu.org." >&5
2151 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2152 whose name does not start with the host triplet. If you think this
2153 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2154 ac_tool_warned=yes ;;
2162 if test -z "$CC"; then
2163 if test -n "$ac_tool_prefix"; then
2164 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2165 set dummy ${ac_tool_prefix}cc; ac_word=$2
2166 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2167 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2168 if test "${ac_cv_prog_CC+set}" = set; then
2169 echo $ECHO_N "(cached) $ECHO_C" >&6
2171 if test -n "$CC"; then
2172 ac_cv_prog_CC="$CC" # Let the user override the test.
2174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2178 test -z "$as_dir" && as_dir=.
2179 for ac_exec_ext in '' $ac_executable_extensions; do
2180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2181 ac_cv_prog_CC="${ac_tool_prefix}cc"
2182 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2192 if test -n "$CC"; then
2193 { echo "$as_me:$LINENO: result: $CC" >&5
2194 echo "${ECHO_T}$CC" >&6; }
2196 { echo "$as_me:$LINENO: result: no" >&5
2197 echo "${ECHO_T}no" >&6; }
2203 if test -z "$CC"; then
2204 # Extract the first word of "cc", so it can be a program name with args.
2205 set dummy cc; ac_word=$2
2206 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2208 if test "${ac_cv_prog_CC+set}" = set; then
2209 echo $ECHO_N "(cached) $ECHO_C" >&6
2211 if test -n "$CC"; then
2212 ac_cv_prog_CC="$CC" # Let the user override the test.
2215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2219 test -z "$as_dir" && as_dir=.
2220 for ac_exec_ext in '' $ac_executable_extensions; do
2221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2222 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2223 ac_prog_rejected=yes
2227 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2234 if test $ac_prog_rejected = yes; then
2235 # We found a bogon in the path, so make sure we never use it.
2236 set dummy $ac_cv_prog_CC
2238 if test $# != 0; then
2239 # We chose a different compiler from the bogus one.
2240 # However, it has the same basename, so the bogon will be chosen
2241 # first if we set CC to just the basename; use the full file name.
2243 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2249 if test -n "$CC"; then
2250 { echo "$as_me:$LINENO: result: $CC" >&5
2251 echo "${ECHO_T}$CC" >&6; }
2253 { echo "$as_me:$LINENO: result: no" >&5
2254 echo "${ECHO_T}no" >&6; }
2259 if test -z "$CC"; then
2260 if test -n "$ac_tool_prefix"; then
2261 for ac_prog in cl.exe
2263 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2264 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2265 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2267 if test "${ac_cv_prog_CC+set}" = set; then
2268 echo $ECHO_N "(cached) $ECHO_C" >&6
2270 if test -n "$CC"; then
2271 ac_cv_prog_CC="$CC" # Let the user override the test.
2273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2277 test -z "$as_dir" && as_dir=.
2278 for ac_exec_ext in '' $ac_executable_extensions; do
2279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2280 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2291 if test -n "$CC"; then
2292 { echo "$as_me:$LINENO: result: $CC" >&5
2293 echo "${ECHO_T}$CC" >&6; }
2295 { echo "$as_me:$LINENO: result: no" >&5
2296 echo "${ECHO_T}no" >&6; }
2300 test -n "$CC" && break
2303 if test -z "$CC"; then
2305 for ac_prog in cl.exe
2307 # Extract the first word of "$ac_prog", so it can be a program name with args.
2308 set dummy $ac_prog; ac_word=$2
2309 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2311 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2312 echo $ECHO_N "(cached) $ECHO_C" >&6
2314 if test -n "$ac_ct_CC"; then
2315 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2321 test -z "$as_dir" && as_dir=.
2322 for ac_exec_ext in '' $ac_executable_extensions; do
2323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2324 ac_cv_prog_ac_ct_CC="$ac_prog"
2325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2334 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2335 if test -n "$ac_ct_CC"; then
2336 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2337 echo "${ECHO_T}$ac_ct_CC" >&6; }
2339 { echo "$as_me:$LINENO: result: no" >&5
2340 echo "${ECHO_T}no" >&6; }
2344 test -n "$ac_ct_CC" && break
2347 if test "x$ac_ct_CC" = x; then
2350 case $cross_compiling:$ac_tool_warned in
2352 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2353 whose name does not start with the host triplet. If you think this
2354 configuration is useful to you, please write to autoconf@gnu.org." >&5
2355 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2356 whose name does not start with the host triplet. If you think this
2357 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2358 ac_tool_warned=yes ;;
2367 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2368 See \`config.log
' for more details." >&5
2369 echo "$as_me: error: no acceptable C compiler found in \$PATH
2370 See \`config.log' for more details.
" >&2;}
2371 { (exit 1); exit 1; }; }
2373 # Provide some information about the compiler.
2374 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2375 ac_compiler=`set X $ac_compile; echo $2`
2376 { (ac_try="$ac_compiler --version >&5"
2378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2379 *) ac_try_echo=$ac_try;;
2381 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2382 (eval "$ac_compiler --version >&5") 2>&5
2384 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2385 (exit $ac_status); }
2386 { (ac_try="$ac_compiler -v >&5"
2388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2389 *) ac_try_echo=$ac_try;;
2391 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2392 (eval "$ac_compiler -v >&5") 2>&5
2394 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2395 (exit $ac_status); }
2396 { (ac_try="$ac_compiler -V >&5"
2398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2399 *) ac_try_echo=$ac_try;;
2401 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2402 (eval "$ac_compiler -V >&5") 2>&5
2404 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2405 (exit $ac_status); }
2407 cat >conftest.$ac_ext <<_ACEOF
2410 cat confdefs.h >>conftest.$ac_ext
2411 cat >>conftest.$ac_ext <<_ACEOF
2412 /* end confdefs.h. */
2422 ac_clean_files_save=$ac_clean_files
2423 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2424 # Try to create an executable without -o first, disregard a.out.
2425 # It will help us diagnose broken compilers, and finding out an intuition
2427 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2428 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2429 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2431 # List of possible output files, starting from the most likely.
2432 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2433 # only as a last resort. b.out is created by i960 compilers.
2434 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2436 # The IRIX 6 linker writes into existing files which may not be
2437 # executable, retaining their permissions. Remove them first so a
2438 # subsequent execution test works.
2440 for ac_file in $ac_files
2443 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2444 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2449 if { (ac_try="$ac_link_default"
2451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2452 *) ac_try_echo=$ac_try;;
2454 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2455 (eval "$ac_link_default") 2>&5
2457 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2458 (exit $ac_status); }; then
2459 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2460 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2461 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2462 # so that the user can short-circuit this test for compilers unknown to
2464 for ac_file in $ac_files ''
2466 test -f "$ac_file" || continue
2468 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2471 # We found the default executable, but exeext='' is most
2475 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2477 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2479 # We set ac_cv_exeext here because the later test for it is not
2480 # safe: cross compilers may not add the suffix if given an `-o'
2481 # argument, so we may need to know it at that point already.
2482 # Even if this section looks crufty: it has the advantage of
2489 test "$ac_cv_exeext" = no && ac_cv_exeext=
2495 { echo "$as_me:$LINENO: result
: $ac_file" >&5
2496 echo "${ECHO_T}$ac_file" >&6; }
2497 if test -z "$ac_file"; then
2498 echo "$as_me: failed program was
:" >&5
2499 sed 's/^/| /' conftest.$ac_ext >&5
2501 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2502 See \
`config.log' for more details." >&5
2503 echo "$as_me: error: C compiler cannot create executables
2504 See \`config.log
' for more details." >&2;}
2505 { (exit 77); exit 77; }; }
2508 ac_exeext=$ac_cv_exeext
2510 # Check that the compiler produces executables we can run. If not, either
2511 # the compiler is broken, or we cross compile.
2512 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2513 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2514 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2515 # If not cross compiling, check that we can run a simple program.
2516 if test "$cross_compiling" != yes; then
2517 if { ac_try='.
/$ac_file'
2518 { (case "(($ac_try" in
2519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2520 *) ac_try_echo=$ac_try;;
2522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2523 (eval "$ac_try") 2>&5
2525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2526 (exit $ac_status); }; }; then
2529 if test "$cross_compiling" = maybe; then
2532 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2533 If you meant to cross compile, use \`--host'.
2534 See \
`config.log' for more details." >&5
2535 echo "$as_me: error: cannot run C compiled programs.
2536 If you meant to cross compile, use \`--host'.
2537 See \`config.log' for more details.
" >&2;}
2538 { (exit 1); exit 1; }; }
2542 { echo "$as_me:$LINENO: result
: yes" >&5
2543 echo "${ECHO_T}yes" >&6; }
2545 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2546 ac_clean_files=$ac_clean_files_save
2547 # Check that the compiler produces executables we can run. If not, either
2548 # the compiler is broken, or we cross compile.
2549 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2550 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2551 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2552 echo "${ECHO_T}$cross_compiling" >&6; }
2554 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2555 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2556 if { (ac_try="$ac_link"
2558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2559 *) ac_try_echo=$ac_try;;
2561 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2562 (eval "$ac_link") 2>&5
2564 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2565 (exit $ac_status); }; then
2566 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2567 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2568 # work properly (i.e., refer to `conftest.exe'), while it won't with
2570 for ac_file in conftest.exe conftest conftest.*; do
2571 test -f "$ac_file" || continue
2573 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2574 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2580 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2581 See \
`config.log' for more details." >&5
2582 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2583 See \`config.log
' for more details." >&2;}
2584 { (exit 1); exit 1; }; }
2587 rm -f conftest$ac_cv_exeext
2588 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2589 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2591 rm -f conftest.$ac_ext
2592 EXEEXT=$ac_cv_exeext
2594 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2595 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2596 if test "${ac_cv_objext+set}" = set; then
2597 echo $ECHO_N "(cached) $ECHO_C" >&6
2599 cat >conftest.$ac_ext <<_ACEOF
2602 cat confdefs.h >>conftest.$ac_ext
2603 cat >>conftest.$ac_ext <<_ACEOF
2604 /* end confdefs.h. */
2614 rm -f conftest.o conftest.obj
2615 if { (ac_try="$ac_compile"
2617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2618 *) ac_try_echo=$ac_try;;
2620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2621 (eval "$ac_compile") 2>&5
2623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2624 (exit $ac_status); }; then
2625 for ac_file in conftest.o conftest.obj conftest.*; do
2626 test -f "$ac_file" || continue;
2628 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2629 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2634 echo "$as_me: failed program was:" >&5
2635 sed 's
/^
/|
/' conftest.$ac_ext >&5
2637 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2638 See \`config.log' for more details.
" >&5
2639 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2640 See \
`config.log' for more details." >&2;}
2641 { (exit 1); exit 1; }; }
2644 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2646 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2647 echo "${ECHO_T}$ac_cv_objext" >&6; }
2648 OBJEXT=$ac_cv_objext
2650 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2651 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2652 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2653 echo $ECHO_N "(cached) $ECHO_C" >&6
2655 cat >conftest.$ac_ext <<_ACEOF
2658 cat confdefs.h >>conftest.$ac_ext
2659 cat >>conftest.$ac_ext <<_ACEOF
2660 /* end confdefs.h. */
2673 rm -f conftest.$ac_objext
2674 if { (ac_try="$ac_compile"
2676 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2677 *) ac_try_echo
=$ac_try;;
2679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2680 (eval "$ac_compile") 2>conftest.er1
2682 grep -v '^ *+' conftest.er1
>conftest.err
2684 cat conftest.err
>&5
2685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2686 (exit $ac_status); } && {
2687 test -z "$ac_c_werror_flag" ||
2688 test ! -s conftest.err
2689 } && test -s conftest.
$ac_objext; then
2692 echo "$as_me: failed program was:" >&5
2693 sed 's/^/| /' conftest.
$ac_ext >&5
2698 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2699 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2702 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2703 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2704 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2705 ac_test_CFLAGS
=${CFLAGS+set}
2706 ac_save_CFLAGS
=$CFLAGS
2707 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2708 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2709 if test "${ac_cv_prog_cc_g+set}" = set; then
2710 echo $ECHO_N "(cached) $ECHO_C" >&6
2712 ac_save_c_werror_flag
=$ac_c_werror_flag
2713 ac_c_werror_flag
=yes
2716 cat >conftest.
$ac_ext <<_ACEOF
2719 cat confdefs.h
>>conftest.
$ac_ext
2720 cat >>conftest.
$ac_ext <<_ACEOF
2721 /* end confdefs.h. */
2731 rm -f conftest.
$ac_objext
2732 if { (ac_try
="$ac_compile"
2734 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2735 *) ac_try_echo=$ac_try;;
2737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2738 (eval "$ac_compile") 2>conftest.er1
2740 grep -v '^ *+' conftest.er1 >conftest.err
2742 cat conftest.err >&5
2743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2744 (exit $ac_status); } && {
2745 test -z "$ac_c_werror_flag" ||
2746 test ! -s conftest.err
2747 } && test -s conftest.$ac_objext; then
2750 echo "$as_me: failed program was:" >&5
2751 sed 's/^/| /' conftest.$ac_ext >&5
2754 cat >conftest.$ac_ext <<_ACEOF
2757 cat confdefs.h >>conftest.$ac_ext
2758 cat >>conftest.$ac_ext <<_ACEOF
2759 /* end confdefs.h. */
2769 rm -f conftest.$ac_objext
2770 if { (ac_try="$ac_compile"
2772 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2773 *) ac_try_echo
=$ac_try;;
2775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2776 (eval "$ac_compile") 2>conftest.er1
2778 grep -v '^ *+' conftest.er1
>conftest.err
2780 cat conftest.err
>&5
2781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2782 (exit $ac_status); } && {
2783 test -z "$ac_c_werror_flag" ||
2784 test ! -s conftest.err
2785 } && test -s conftest.
$ac_objext; then
2788 echo "$as_me: failed program was:" >&5
2789 sed 's/^/| /' conftest.
$ac_ext >&5
2791 ac_c_werror_flag
=$ac_save_c_werror_flag
2793 cat >conftest.
$ac_ext <<_ACEOF
2796 cat confdefs.h
>>conftest.
$ac_ext
2797 cat >>conftest.
$ac_ext <<_ACEOF
2798 /* end confdefs.h. */
2808 rm -f conftest.
$ac_objext
2809 if { (ac_try
="$ac_compile"
2811 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2812 *) ac_try_echo=$ac_try;;
2814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2815 (eval "$ac_compile") 2>conftest.er1
2817 grep -v '^ *+' conftest.er1 >conftest.err
2819 cat conftest.err >&5
2820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2821 (exit $ac_status); } && {
2822 test -z "$ac_c_werror_flag" ||
2823 test ! -s conftest.err
2824 } && test -s conftest.$ac_objext; then
2827 echo "$as_me: failed program was:" >&5
2828 sed 's/^/| /' conftest.$ac_ext >&5
2833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2840 ac_c_werror_flag=$ac_save_c_werror_flag
2842 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2843 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2844 if test "$ac_test_CFLAGS" = set; then
2845 CFLAGS=$ac_save_CFLAGS
2846 elif test $ac_cv_prog_cc_g = yes; then
2847 if test "$GCC" = yes; then
2853 if test "$GCC" = yes; then
2859 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2860 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2861 if test "${ac_cv_prog_cc_c89+set}" = set; then
2862 echo $ECHO_N "(cached) $ECHO_C" >&6
2864 ac_cv_prog_cc_c89=no
2866 cat >conftest.$ac_ext <<_ACEOF
2869 cat confdefs.h >>conftest.$ac_ext
2870 cat >>conftest.$ac_ext <<_ACEOF
2871 /* end confdefs.h. */
2874 #include <sys/types.h>
2875 #include <sys/stat.h>
2876 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2877 struct buf { int x; };
2878 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2879 static char *e (p, i)
2885 static char *f (char * (*g) (char **, int), char **p, ...)
2890 s = g (p, va_arg (v,int));
2895 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2896 function prototypes and stuff, but not '\xHH' hex character constants.
2897 These don't provoke an error unfortunately, instead are silently treated
2898 as 'x'. The following induces an error, until -std is added to get
2899 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2900 array size at least. It's necessary to write '\x00'==0 to get something
2901 that's true only with -std. */
2902 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2904 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2905 inside strings and character constants. */
2907 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2909 int test (int i, double x);
2910 struct s1 {int (*f) (int a);};
2911 struct s2 {int (*f) (double a);};
2912 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2918 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2923 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2924 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2926 CC="$ac_save_CC $ac_arg"
2927 rm -f conftest.$ac_objext
2928 if { (ac_try="$ac_compile"
2930 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2931 *) ac_try_echo
=$ac_try;;
2933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2934 (eval "$ac_compile") 2>conftest.er1
2936 grep -v '^ *+' conftest.er1
>conftest.err
2938 cat conftest.err
>&5
2939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2940 (exit $ac_status); } && {
2941 test -z "$ac_c_werror_flag" ||
2942 test ! -s conftest.err
2943 } && test -s conftest.
$ac_objext; then
2944 ac_cv_prog_cc_c89
=$ac_arg
2946 echo "$as_me: failed program was:" >&5
2947 sed 's/^/| /' conftest.
$ac_ext >&5
2952 rm -f core conftest.err conftest.
$ac_objext
2953 test "x$ac_cv_prog_cc_c89" != "xno" && break
2955 rm -f conftest.
$ac_ext
2960 case "x$ac_cv_prog_cc_c89" in
2962 { echo "$as_me:$LINENO: result: none needed" >&5
2963 echo "${ECHO_T}none needed" >&6; } ;;
2965 { echo "$as_me:$LINENO: result: unsupported" >&5
2966 echo "${ECHO_T}unsupported" >&6; } ;;
2968 CC
="$CC $ac_cv_prog_cc_c89"
2969 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2970 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2975 ac_cpp
='$CPP $CPPFLAGS'
2976 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2977 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2978 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2980 case $ac_cv_prog_cc_stdc in
2981 no
) ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;;
2982 *) { echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
2983 echo $ECHO_N "checking for $CC option to accept ISO C99... $ECHO_C" >&6; }
2984 if test "${ac_cv_prog_cc_c99+set}" = set; then
2985 echo $ECHO_N "(cached) $ECHO_C" >&6
2987 ac_cv_prog_cc_c99
=no
2989 cat >conftest.
$ac_ext <<_ACEOF
2992 cat confdefs.h
>>conftest.
$ac_ext
2993 cat >>conftest.
$ac_ext <<_ACEOF
2994 /* end confdefs.h. */
2996 #include <stdbool.h>
3001 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3002 #define debug(...) fprintf (stderr, __VA_ARGS__)
3003 #define showlist(...) puts (#__VA_ARGS__)
3004 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3006 test_varargs_macros (void)
3011 debug ("X = %d\n", x);
3012 showlist (The first, second, and third items.);
3013 report (x>y, "x is %d but y is %d", x, y);
3016 // Check long long types.
3017 #define BIG64 18446744073709551615ull
3018 #define BIG32 4294967295ul
3019 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3021 your preprocessor is broken;
3025 your preprocessor is broken;
3027 static long long int bignum = -9223372036854775807LL;
3028 static unsigned long long int ubignum = BIG64;
3030 struct incomplete_array
3038 const wchar_t *name;
3042 typedef const char *ccp;
3045 test_restrict (ccp restrict text)
3047 // See if C++-style comments work.
3048 // Iterate through items via the restricted pointer.
3049 // Also check for declarations in for loops.
3050 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3055 // Check varargs and va_copy.
3057 test_varargs (const char *format, ...)
3060 va_start (args, format);
3062 va_copy (args_copy, args);
3073 str = va_arg (args_copy, const char *);
3076 number = va_arg (args_copy, int);
3079 fnumber = va_arg (args_copy, double);
3094 _Bool success = false;
3097 if (test_restrict ("String literal") == 0)
3099 char *restrict newvar = "Another string";
3102 test_varargs ("s, d' f .", "string", 65, 34.234);
3103 test_varargs_macros ();
3105 // Check flexible array members.
3106 struct incomplete_array *ia =
3107 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3109 for (int i = 0; i < ia->datasize; ++i)
3110 ia->data[i] = i * 1.234;
3112 // Check named initializers.
3113 struct named_init ni = {
3115 .name = L"Test wide string",
3116 .average = 543.34343,
3121 int dynamic_array[ni.number];
3122 dynamic_array[ni.number - 1] = 543;
3124 // work around unused variable warnings
3125 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3126 || dynamic_array[ni.number - 1] != 543);
3132 for ac_arg
in '' -std=gnu99
-c99 -qlanglvl=extc99
3134 CC
="$ac_save_CC $ac_arg"
3135 rm -f conftest.
$ac_objext
3136 if { (ac_try
="$ac_compile"
3138 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3139 *) ac_try_echo=$ac_try;;
3141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3142 (eval "$ac_compile") 2>conftest.er1
3144 grep -v '^ *+' conftest.er1 >conftest.err
3146 cat conftest.err >&5
3147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3148 (exit $ac_status); } && {
3149 test -z "$ac_c_werror_flag" ||
3150 test ! -s conftest.err
3151 } && test -s conftest.$ac_objext; then
3152 ac_cv_prog_cc_c99=$ac_arg
3154 echo "$as_me: failed program was:" >&5
3155 sed 's/^/| /' conftest.$ac_ext >&5
3160 rm -f core conftest.err conftest.$ac_objext
3161 test "x$ac_cv_prog_cc_c99" != "xno" && break
3163 rm -f conftest.$ac_ext
3168 case "x$ac_cv_prog_cc_c99" in
3170 { echo "$as_me:$LINENO: result: none needed" >&5
3171 echo "${ECHO_T}none needed" >&6; } ;;
3173 { echo "$as_me:$LINENO: result: unsupported" >&5
3174 echo "${ECHO_T}unsupported" >&6; } ;;
3176 CC="$CC $ac_cv_prog_cc_c99"
3177 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
3178 echo "${ECHO_T}$ac_cv_prog_cc_c99" >&6; } ;;
3180 if test "x$ac_cv_prog_cc_c99" != xno; then
3181 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3183 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3184 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3185 if test "${ac_cv_prog_cc_c89+set}" = set; then
3186 echo $ECHO_N "(cached) $ECHO_C" >&6
3188 ac_cv_prog_cc_c89=no
3190 cat >conftest.$ac_ext <<_ACEOF
3193 cat confdefs.h >>conftest.$ac_ext
3194 cat >>conftest.$ac_ext <<_ACEOF
3195 /* end confdefs.h. */
3198 #include <sys/types.h>
3199 #include <sys/stat.h>
3200 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3201 struct buf { int x; };
3202 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3203 static char *e (p, i)
3209 static char *f (char * (*g) (char **, int), char **p, ...)
3214 s = g (p, va_arg (v,int));
3219 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3220 function prototypes and stuff, but not '\xHH' hex character constants.
3221 These don't provoke an error unfortunately, instead are silently treated
3222 as 'x'. The following induces an error, until -std is added to get
3223 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3224 array size at least. It's necessary to write '\x00'==0 to get something
3225 that's true only with -std. */
3226 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3228 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3229 inside strings and character constants. */
3231 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3233 int test (int i, double x);
3234 struct s1 {int (*f) (int a);};
3235 struct s2 {int (*f) (double a);};
3236 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3242 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3247 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3248 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3250 CC="$ac_save_CC $ac_arg"
3251 rm -f conftest.$ac_objext
3252 if { (ac_try="$ac_compile"
3254 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3255 *) ac_try_echo
=$ac_try;;
3257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3258 (eval "$ac_compile") 2>conftest.er1
3260 grep -v '^ *+' conftest.er1
>conftest.err
3262 cat conftest.err
>&5
3263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3264 (exit $ac_status); } && {
3265 test -z "$ac_c_werror_flag" ||
3266 test ! -s conftest.err
3267 } && test -s conftest.
$ac_objext; then
3268 ac_cv_prog_cc_c89
=$ac_arg
3270 echo "$as_me: failed program was:" >&5
3271 sed 's/^/| /' conftest.
$ac_ext >&5
3276 rm -f core conftest.err conftest.
$ac_objext
3277 test "x$ac_cv_prog_cc_c89" != "xno" && break
3279 rm -f conftest.
$ac_ext
3284 case "x$ac_cv_prog_cc_c89" in
3286 { echo "$as_me:$LINENO: result: none needed" >&5
3287 echo "${ECHO_T}none needed" >&6; } ;;
3289 { echo "$as_me:$LINENO: result: unsupported" >&5
3290 echo "${ECHO_T}unsupported" >&6; } ;;
3292 CC
="$CC $ac_cv_prog_cc_c89"
3293 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3294 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3296 if test "x$ac_cv_prog_cc_c89" != xno
; then
3297 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
3299 ac_cv_prog_cc_stdc
=no
3307 { echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5
3308 echo $ECHO_N "checking for $CC option to accept ISO Standard C... $ECHO_C" >&6; }
3309 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3310 echo $ECHO_N "(cached) $ECHO_C" >&6
3313 case $ac_cv_prog_cc_stdc in
3314 no
) { echo "$as_me:$LINENO: result: unsupported" >&5
3315 echo "${ECHO_T}unsupported" >&6; } ;;
3316 '') { echo "$as_me:$LINENO: result: none needed" >&5
3317 echo "${ECHO_T}none needed" >&6; } ;;
3318 *) { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3319 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; } ;;
3324 ac_cpp
='$CPP $CPPFLAGS'
3325 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3326 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3327 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3328 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3329 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3330 # On Suns, sometimes $CPP names a directory.
3331 if test -n "$CPP" && test -d "$CPP"; then
3334 if test -z "$CPP"; then
3335 if test "${ac_cv_prog_CPP+set}" = set; then
3336 echo $ECHO_N "(cached) $ECHO_C" >&6
3338 # Double quotes because CPP needs to be expanded
3339 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3342 for ac_c_preproc_warn_flag
in '' yes
3344 # Use a header file that comes with gcc, so configuring glibc
3345 # with a fresh cross-compiler works.
3346 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3347 # <limits.h> exists even on freestanding compilers.
3348 # On the NeXT, cc -E runs the code through the compiler's parser,
3349 # not just through cpp. "Syntax error" is here to catch this case.
3350 cat >conftest.
$ac_ext <<_ACEOF
3353 cat confdefs.h
>>conftest.
$ac_ext
3354 cat >>conftest.
$ac_ext <<_ACEOF
3355 /* end confdefs.h. */
3357 # include <limits.h>
3359 # include <assert.h>
3363 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3365 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3366 *) ac_try_echo=$ac_try;;
3368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3369 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3371 grep -v '^ *+' conftest.er1 >conftest.err
3373 cat conftest.err >&5
3374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3375 (exit $ac_status); } >/dev/null && {
3376 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3377 test ! -s conftest.err
3381 echo "$as_me: failed program was:" >&5
3382 sed 's/^/| /' conftest.$ac_ext >&5
3384 # Broken: fails on valid input.
3388 rm -f conftest.err conftest.$ac_ext
3390 # OK, works on sane cases. Now check whether nonexistent headers
3391 # can be detected and how.
3392 cat >conftest.$ac_ext <<_ACEOF
3395 cat confdefs.h >>conftest.$ac_ext
3396 cat >>conftest.$ac_ext <<_ACEOF
3397 /* end confdefs.h. */
3398 #include <ac_nonexistent.h>
3400 if { (ac_try="$ac_cpp conftest.$ac_ext"
3402 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3403 *) ac_try_echo
=$ac_try;;
3405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3406 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3408 grep -v '^ *+' conftest.er1
>conftest.err
3410 cat conftest.err
>&5
3411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3412 (exit $ac_status); } >/dev
/null
&& {
3413 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3414 test ! -s conftest.err
3416 # Broken: success on invalid input.
3419 echo "$as_me: failed program was:" >&5
3420 sed 's/^/| /' conftest.
$ac_ext >&5
3422 # Passes both tests.
3427 rm -f conftest.err conftest.
$ac_ext
3430 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3431 rm -f conftest.err conftest.
$ac_ext
3432 if $ac_preproc_ok; then
3444 { echo "$as_me:$LINENO: result: $CPP" >&5
3445 echo "${ECHO_T}$CPP" >&6; }
3447 for ac_c_preproc_warn_flag
in '' yes
3449 # Use a header file that comes with gcc, so configuring glibc
3450 # with a fresh cross-compiler works.
3451 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3452 # <limits.h> exists even on freestanding compilers.
3453 # On the NeXT, cc -E runs the code through the compiler's parser,
3454 # not just through cpp. "Syntax error" is here to catch this case.
3455 cat >conftest.
$ac_ext <<_ACEOF
3458 cat confdefs.h
>>conftest.
$ac_ext
3459 cat >>conftest.
$ac_ext <<_ACEOF
3460 /* end confdefs.h. */
3462 # include <limits.h>
3464 # include <assert.h>
3468 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3470 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3471 *) ac_try_echo=$ac_try;;
3473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3474 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3476 grep -v '^ *+' conftest.er1 >conftest.err
3478 cat conftest.err >&5
3479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3480 (exit $ac_status); } >/dev/null && {
3481 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3482 test ! -s conftest.err
3486 echo "$as_me: failed program was:" >&5
3487 sed 's/^/| /' conftest.$ac_ext >&5
3489 # Broken: fails on valid input.
3493 rm -f conftest.err conftest.$ac_ext
3495 # OK, works on sane cases. Now check whether nonexistent headers
3496 # can be detected and how.
3497 cat >conftest.$ac_ext <<_ACEOF
3500 cat confdefs.h >>conftest.$ac_ext
3501 cat >>conftest.$ac_ext <<_ACEOF
3502 /* end confdefs.h. */
3503 #include <ac_nonexistent.h>
3505 if { (ac_try="$ac_cpp conftest.$ac_ext"
3507 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3508 *) ac_try_echo
=$ac_try;;
3510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3511 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3513 grep -v '^ *+' conftest.er1
>conftest.err
3515 cat conftest.err
>&5
3516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3517 (exit $ac_status); } >/dev
/null
&& {
3518 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3519 test ! -s conftest.err
3521 # Broken: success on invalid input.
3524 echo "$as_me: failed program was:" >&5
3525 sed 's/^/| /' conftest.
$ac_ext >&5
3527 # Passes both tests.
3532 rm -f conftest.err conftest.
$ac_ext
3535 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3536 rm -f conftest.err conftest.
$ac_ext
3537 if $ac_preproc_ok; then
3540 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3541 See \`config.log' for more details." >&5
3542 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3543 See \`config.log' for more details." >&2;}
3544 { (exit 1); exit 1; }; }
3548 ac_cpp
='$CPP $CPPFLAGS'
3549 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3550 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3551 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3554 # Check for a compatible awk
3555 for ac_prog
in gawk nawk
3557 # Extract the first word of "$ac_prog", so it can be a program name with args.
3558 set dummy
$ac_prog; ac_word
=$2
3559 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3561 if test "${ac_cv_prog_AWK+set}" = set; then
3562 echo $ECHO_N "(cached) $ECHO_C" >&6
3564 if test -n "$AWK"; then
3565 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3571 test -z "$as_dir" && as_dir
=.
3572 for ac_exec_ext
in '' $ac_executable_extensions; do
3573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3574 ac_cv_prog_AWK
="$ac_prog"
3575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3585 if test -n "$AWK"; then
3586 { echo "$as_me:$LINENO: result: $AWK" >&5
3587 echo "${ECHO_T}$AWK" >&6; }
3589 { echo "$as_me:$LINENO: result: no" >&5
3590 echo "${ECHO_T}no" >&6; }
3594 test -n "$AWK" && break
3597 if test "$AWK" = ""; then
3598 { { echo "$as_me:$LINENO: error: gawk is required to build AROS. Please install and run configure again." >&5
3599 echo "$as_me: error: gawk is required to build AROS. Please install and run configure again." >&2;}
3600 { (exit 1); exit 1; }; }
3602 # Extract the first word of "mmake", so it can be a program name with args.
3603 set dummy mmake
; ac_word
=$2
3604 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3606 if test "${ac_cv_prog_MMAKE+set}" = set; then
3607 echo $ECHO_N "(cached) $ECHO_C" >&6
3609 if test -n "$MMAKE"; then
3610 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
3612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3616 test -z "$as_dir" && as_dir
=.
3617 for ac_exec_ext
in '' $ac_executable_extensions; do
3618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3619 ac_cv_prog_MMAKE
="mmake "
3620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3629 MMAKE
=$ac_cv_prog_MMAKE
3630 if test -n "$MMAKE"; then
3631 { echo "$as_me:$LINENO: result: $MMAKE" >&5
3632 echo "${ECHO_T}$MMAKE" >&6; }
3634 { echo "$as_me:$LINENO: result: no" >&5
3635 echo "${ECHO_T}no" >&6; }
3640 # Perform some default variable assignments. Note all of these will be
3641 # Regenerated from the script, so there is no need to cache them.
3644 if test "$GCC" = "yes"; then
3645 aros_gcc_ld
=`$CC -print-prog-name=ld`
3646 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
3647 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
3648 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3650 if test "${ac_cv_path_aros_host_ld+set}" = set; then
3651 echo $ECHO_N "(cached) $ECHO_C" >&6
3653 case $aros_host_ld in
3655 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3659 for as_dir
in `dirname $aros_gcc_ld`
3662 test -z "$as_dir" && as_dir
=.
3663 for ac_exec_ext
in '' $ac_executable_extensions; do
3664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3665 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3676 aros_host_ld
=$ac_cv_path_aros_host_ld
3677 if test -n "$aros_host_ld"; then
3678 { echo "$as_me:$LINENO: result: $aros_host_ld" >&5
3679 echo "${ECHO_T}$aros_host_ld" >&6; }
3681 { echo "$as_me:$LINENO: result: no" >&5
3682 echo "${ECHO_T}no" >&6; }
3687 if test "$aros_host_ld" = ""; then
3688 # Extract the first word of "ld", so it can be a program name with args.
3689 set dummy ld
; ac_word
=$2
3690 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3692 if test "${ac_cv_path_aros_host_ld+set}" = set; then
3693 echo $ECHO_N "(cached) $ECHO_C" >&6
3695 case $aros_host_ld in
3697 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3704 test -z "$as_dir" && as_dir
=.
3705 for ac_exec_ext
in '' $ac_executable_extensions; do
3706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3707 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3718 aros_host_ld
=$ac_cv_path_aros_host_ld
3719 if test -n "$aros_host_ld"; then
3720 { echo "$as_me:$LINENO: result: $aros_host_ld" >&5
3721 echo "${ECHO_T}$aros_host_ld" >&6; }
3723 { echo "$as_me:$LINENO: result: no" >&5
3724 echo "${ECHO_T}no" >&6; }
3729 if test "$aros_host_ld" = ""; then
3730 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
3731 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
3732 { (exit 1); exit 1; }; }
3734 aros_host_make
="make"
3735 aros_host_cflags
=$CFLAGS
3736 aros_host_ldflags
=$LDFLAGS
3737 aros_host_debug
="-g -O0"
3738 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
3739 aros_host_mkargs
="--no-print-directory"
3740 aros_host_incl
="/usr/include"
3741 aros_host_exe_suffix
="$EXEEXT"
3742 aros_host_lib_suffix
=""
3744 for ac_prog
in aclocal aclocal19 aclocal-1.9
3746 # Extract the first word of "$ac_prog", so it can be a program name with args.
3747 set dummy
$ac_prog; ac_word
=$2
3748 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3750 if test "${ac_cv_prog_aros_host_aclocal+set}" = set; then
3751 echo $ECHO_N "(cached) $ECHO_C" >&6
3753 if test -n "$aros_host_aclocal"; then
3754 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
3756 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3760 test -z "$as_dir" && as_dir
=.
3761 for ac_exec_ext
in '' $ac_executable_extensions; do
3762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3763 ac_cv_prog_aros_host_aclocal
="$ac_prog"
3764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3773 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
3774 if test -n "$aros_host_aclocal"; then
3775 { echo "$as_me:$LINENO: result: $aros_host_aclocal" >&5
3776 echo "${ECHO_T}$aros_host_aclocal" >&6; }
3778 { echo "$as_me:$LINENO: result: no" >&5
3779 echo "${ECHO_T}no" >&6; }
3783 test -n "$aros_host_aclocal" && break
3786 for ac_prog
in autoconf autoconf259 autoconf253
3788 # Extract the first word of "$ac_prog", so it can be a program name with args.
3789 set dummy
$ac_prog; ac_word
=$2
3790 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3792 if test "${ac_cv_prog_aros_host_autoconf+set}" = set; then
3793 echo $ECHO_N "(cached) $ECHO_C" >&6
3795 if test -n "$aros_host_autoconf"; then
3796 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
3798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3802 test -z "$as_dir" && as_dir
=.
3803 for ac_exec_ext
in '' $ac_executable_extensions; do
3804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3805 ac_cv_prog_aros_host_autoconf
="$ac_prog"
3806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3815 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
3816 if test -n "$aros_host_autoconf"; then
3817 { echo "$as_me:$LINENO: result: $aros_host_autoconf" >&5
3818 echo "${ECHO_T}$aros_host_autoconf" >&6; }
3820 { echo "$as_me:$LINENO: result: no" >&5
3821 echo "${ECHO_T}no" >&6; }
3825 test -n "$aros_host_autoconf" && break
3828 for ac_prog
in autoheader autoheader259 autoheader253
3830 # Extract the first word of "$ac_prog", so it can be a program name with args.
3831 set dummy
$ac_prog; ac_word
=$2
3832 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3833 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3834 if test "${ac_cv_prog_aros_host_autoheader+set}" = set; then
3835 echo $ECHO_N "(cached) $ECHO_C" >&6
3837 if test -n "$aros_host_autoheader"; then
3838 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
3840 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3844 test -z "$as_dir" && as_dir
=.
3845 for ac_exec_ext
in '' $ac_executable_extensions; do
3846 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3847 ac_cv_prog_aros_host_autoheader
="$ac_prog"
3848 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3857 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
3858 if test -n "$aros_host_autoheader"; then
3859 { echo "$as_me:$LINENO: result: $aros_host_autoheader" >&5
3860 echo "${ECHO_T}$aros_host_autoheader" >&6; }
3862 { echo "$as_me:$LINENO: result: no" >&5
3863 echo "${ECHO_T}no" >&6; }
3867 test -n "$aros_host_autoheader" && break
3870 for ac_prog
in automake automake19 automake-1.9
3872 # Extract the first word of "$ac_prog", so it can be a program name with args.
3873 set dummy
$ac_prog; ac_word
=$2
3874 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3876 if test "${ac_cv_prog_aros_host_automake+set}" = set; then
3877 echo $ECHO_N "(cached) $ECHO_C" >&6
3879 if test -n "$aros_host_automake"; then
3880 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
3882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3886 test -z "$as_dir" && as_dir
=.
3887 for ac_exec_ext
in '' $ac_executable_extensions; do
3888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3889 ac_cv_prog_aros_host_automake
="$ac_prog"
3890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3899 aros_host_automake
=$ac_cv_prog_aros_host_automake
3900 if test -n "$aros_host_automake"; then
3901 { echo "$as_me:$LINENO: result: $aros_host_automake" >&5
3902 echo "${ECHO_T}$aros_host_automake" >&6; }
3904 { echo "$as_me:$LINENO: result: no" >&5
3905 echo "${ECHO_T}no" >&6; }
3909 test -n "$aros_host_automake" && break
3913 if test "$aros_host_aclocal" = ""; then
3914 { { echo "$as_me:$LINENO: error: aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." >&5
3915 echo "$as_me: error: aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." >&2;}
3916 { (exit 1); exit 1; }; }
3918 if test "$aros_host_automake" = ""; then
3919 { { echo "$as_me:$LINENO: error: automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." >&5
3920 echo "$as_me: error: automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." >&2;}
3921 { (exit 1); exit 1; }; }
3924 case "$aros_host_cc" in
3926 aros_host_cc_pipe
="-pipe"
3929 aros_host_cc_pipe
=""
3932 aros_host_cc_pipe
=""
3936 aros_target_cc_includes
=""
3938 # This is the main host configuration section. It is where the host
3939 # can change the values of any variables it needs to change. We do
3940 # not look at anything that compiles to the target yet, we'll get
3945 aros_host_arch
="aros"
3946 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3949 aros_host_cpu
="i386"
3952 aros_host_cpu
="x86_64"
3955 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
3956 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
3957 aros_host_cpu
="$host_cpu"
3963 aros_host_arch
="linux"
3964 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3967 aros_host_cpu
="i386"
3970 aros_host_cpu
="x86_64"
3973 aros_host_cpu
="m68k"
3979 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
3980 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
3981 aros_host_cpu
="$host_cpu"
3987 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
3988 aros_host_make
="gmake"
3989 aros_host_arch
="freebsd"
3990 aros_host_cpu
="i386"
3992 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
3997 aros_object_format
="elf_i386"
4001 aros_object_format
="elf_i386_fbsd"
4008 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4009 aros_host_arch
="darwin"
4012 aros_host_cpu
="i386"
4018 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4019 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4020 aros_host_cpu
="$host_cpu"
4024 aros_host_ldflags
="$aros_host_ldflags -liconv"
4029 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4030 aros_host_make
="gmake"
4031 aros_host_arch
="netbsd"
4034 aros_host_cpu
="i386"
4037 aros_host_cpu
="m68k"
4040 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4041 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4042 aros_host_cpu
="$host_cpu"
4045 aros_host_lib_suffix
=".0.0"
4049 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4050 aros_host_make
="gmake"
4051 aros_host_arch
="openbsd"
4054 aros_host_cpu
="i386"
4057 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4058 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4059 aros_host_cpu
="$host_cpu"
4065 aros_host_arch
="solaris"
4066 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4069 aros_host_cpu
="i386"
4072 aros_host_cpu
="sparc"
4075 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4076 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4077 aros_host_cpu
="$host_cpu"
4083 aros_host_arch
="morphos"
4088 aros_host_arch
="amiga"
4093 TOUCH
="/gg/bin/touch"
4096 aros_host_cpu
="m68k"
4102 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4103 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4104 aros_host_cpu
="$host_cpu"
4110 aros_host_arch
="cygwin"
4111 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4114 aros_host_cpu
="i386"
4117 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4118 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4119 aros_host_cpu
="$host_cpu"
4125 aros_host_arch
="mingw32"
4126 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4129 aros_host_cpu
="i386"
4132 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4133 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4134 aros_host_cpu
="$host_cpu"
4139 { { echo "$as_me:$LINENO: error: Unsupported host architecture $host" >&5
4140 echo "$as_me: error: Unsupported host architecture $host" >&2;}
4141 { (exit 1); exit 1; }; }
4145 # Extract the first word of "ar", so it can be a program name with args.
4146 set dummy
ar; ac_word
=$2
4147 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4149 if test "${ac_cv_prog_aros_host_ar+set}" = set; then
4150 echo $ECHO_N "(cached) $ECHO_C" >&6
4152 if test -n "$aros_host_ar"; then
4153 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4159 test -z "$as_dir" && as_dir
=.
4160 for ac_exec_ext
in '' $ac_executable_extensions; do
4161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4162 ac_cv_prog_aros_host_ar
="ar cr"
4163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4172 aros_host_ar
=$ac_cv_prog_aros_host_ar
4173 if test -n "$aros_host_ar"; then
4174 { echo "$as_me:$LINENO: result: $aros_host_ar" >&5
4175 echo "${ECHO_T}$aros_host_ar" >&6; }
4177 { echo "$as_me:$LINENO: result: no" >&5
4178 echo "${ECHO_T}no" >&6; }
4182 if test "$aros_host_ar" = ""; then
4183 { { echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
4184 echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
4185 { (exit 1); exit 1; }; }
4187 # Extract the first word of "ranlib", so it can be a program name with args.
4188 set dummy ranlib
; ac_word
=$2
4189 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4191 if test "${ac_cv_prog_aros_host_ranlib+set}" = set; then
4192 echo $ECHO_N "(cached) $ECHO_C" >&6
4194 if test -n "$aros_host_ranlib"; then
4195 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4201 test -z "$as_dir" && as_dir
=.
4202 for ac_exec_ext
in '' $ac_executable_extensions; do
4203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4204 ac_cv_prog_aros_host_ranlib
="ranlib "
4205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4214 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4215 if test -n "$aros_host_ranlib"; then
4216 { echo "$as_me:$LINENO: result: $aros_host_ranlib" >&5
4217 echo "${ECHO_T}$aros_host_ranlib" >&6; }
4219 { echo "$as_me:$LINENO: result: no" >&5
4220 echo "${ECHO_T}no" >&6; }
4224 if test "$aros_host_ranlib" = ""; then
4225 { { echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
4226 echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
4227 { (exit 1); exit 1; }; }
4229 # Extract the first word of "strip", so it can be a program name with args.
4230 set dummy strip
; ac_word
=$2
4231 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4233 if test "${ac_cv_prog_aros_host_strip+set}" = set; then
4234 echo $ECHO_N "(cached) $ECHO_C" >&6
4236 if test -n "$aros_host_strip"; then
4237 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4243 test -z "$as_dir" && as_dir
=.
4244 for ac_exec_ext
in '' $ac_executable_extensions; do
4245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4246 ac_cv_prog_aros_host_strip
="strip "
4247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4256 aros_host_strip
=$ac_cv_prog_aros_host_strip
4257 if test -n "$aros_host_strip"; then
4258 { echo "$as_me:$LINENO: result: $aros_host_strip" >&5
4259 echo "${ECHO_T}$aros_host_strip" >&6; }
4261 { echo "$as_me:$LINENO: result: no" >&5
4262 echo "${ECHO_T}no" >&6; }
4266 if test "$aros_host_strip" = ""; then
4267 { { echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
4268 echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
4269 { (exit 1); exit 1; }; }
4272 # Extract the first word of "rm", so it can be a program name with args.
4273 set dummy
rm; ac_word
=$2
4274 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4276 if test "${ac_cv_prog_RM+set}" = set; then
4277 echo $ECHO_N "(cached) $ECHO_C" >&6
4279 if test -n "$RM"; then
4280 ac_cv_prog_RM
="$RM" # Let the user override the test.
4282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4286 test -z "$as_dir" && as_dir
=.
4287 for ac_exec_ext
in '' $ac_executable_extensions; do
4288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4289 ac_cv_prog_RM
="rm -rf"
4290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4300 if test -n "$RM"; then
4301 { echo "$as_me:$LINENO: result: $RM" >&5
4302 echo "${ECHO_T}$RM" >&6; }
4304 { echo "$as_me:$LINENO: result: no" >&5
4305 echo "${ECHO_T}no" >&6; }
4309 if test "$RM" = ""; then
4310 { { echo "$as_me:$LINENO: error: rm is required to build AROS. Please install and run configure again." >&5
4311 echo "$as_me: error: rm is required to build AROS. Please install and run configure again." >&2;}
4312 { (exit 1); exit 1; }; }
4314 # Extract the first word of "cp", so it can be a program name with args.
4315 set dummy
cp; ac_word
=$2
4316 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4318 if test "${ac_cv_prog_CP+set}" = set; then
4319 echo $ECHO_N "(cached) $ECHO_C" >&6
4321 if test -n "$CP"; then
4322 ac_cv_prog_CP
="$CP" # Let the user override the test.
4324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4328 test -z "$as_dir" && as_dir
=.
4329 for ac_exec_ext
in '' $ac_executable_extensions; do
4330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4342 if test -n "$CP"; then
4343 { echo "$as_me:$LINENO: result: $CP" >&5
4344 echo "${ECHO_T}$CP" >&6; }
4346 { echo "$as_me:$LINENO: result: no" >&5
4347 echo "${ECHO_T}no" >&6; }
4351 if test "$CP" = ""; then
4352 { { echo "$as_me:$LINENO: error: cp is required to build AROS. Please install and run configure again." >&5
4353 echo "$as_me: error: cp is required to build AROS. Please install and run configure again." >&2;}
4354 { (exit 1); exit 1; }; }
4356 # Extract the first word of "mv", so it can be a program name with args.
4357 set dummy
mv; ac_word
=$2
4358 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4360 if test "${ac_cv_prog_MV+set}" = set; then
4361 echo $ECHO_N "(cached) $ECHO_C" >&6
4363 if test -n "$MV"; then
4364 ac_cv_prog_MV
="$MV" # Let the user override the test.
4366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4370 test -z "$as_dir" && as_dir
=.
4371 for ac_exec_ext
in '' $ac_executable_extensions; do
4372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4384 if test -n "$MV"; then
4385 { echo "$as_me:$LINENO: result: $MV" >&5
4386 echo "${ECHO_T}$MV" >&6; }
4388 { echo "$as_me:$LINENO: result: no" >&5
4389 echo "${ECHO_T}no" >&6; }
4393 if test "$MV" = ""; then
4394 { { echo "$as_me:$LINENO: error: mv is required to build AROS. Please install and run configure again." >&5
4395 echo "$as_me: error: mv is required to build AROS. Please install and run configure again." >&2;}
4396 { (exit 1); exit 1; }; }
4398 # Extract the first word of "echo", so it can be a program name with args.
4399 set dummy
echo; ac_word
=$2
4400 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4402 if test "${ac_cv_prog_ECHO+set}" = set; then
4403 echo $ECHO_N "(cached) $ECHO_C" >&6
4405 if test -n "$ECHO"; then
4406 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
4408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4412 test -z "$as_dir" && as_dir
=.
4413 for ac_exec_ext
in '' $ac_executable_extensions; do
4414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4415 ac_cv_prog_ECHO
="echo "
4416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4425 ECHO
=$ac_cv_prog_ECHO
4426 if test -n "$ECHO"; then
4427 { echo "$as_me:$LINENO: result: $ECHO" >&5
4428 echo "${ECHO_T}$ECHO" >&6; }
4430 { echo "$as_me:$LINENO: result: no" >&5
4431 echo "${ECHO_T}no" >&6; }
4435 if test "$ECHO" = ""; then
4436 { { echo "$as_me:$LINENO: error: echo is required to build AROS. Please install and run configure again." >&5
4437 echo "$as_me: error: echo is required to build AROS. Please install and run configure again." >&2;}
4438 { (exit 1); exit 1; }; }
4440 # Extract the first word of "mkdir", so it can be a program name with args.
4441 set dummy mkdir
; ac_word
=$2
4442 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4444 if test "${ac_cv_prog_MKDIR+set}" = set; then
4445 echo $ECHO_N "(cached) $ECHO_C" >&6
4447 if test -n "$MKDIR"; then
4448 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
4450 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4454 test -z "$as_dir" && as_dir
=.
4455 for ac_exec_ext
in '' $ac_executable_extensions; do
4456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4457 ac_cv_prog_MKDIR
="mkdir -p"
4458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4467 MKDIR
=$ac_cv_prog_MKDIR
4468 if test -n "$MKDIR"; then
4469 { echo "$as_me:$LINENO: result: $MKDIR" >&5
4470 echo "${ECHO_T}$MKDIR" >&6; }
4472 { echo "$as_me:$LINENO: result: no" >&5
4473 echo "${ECHO_T}no" >&6; }
4477 if test "$MKDIR" = ""; then
4478 { { echo "$as_me:$LINENO: error: mkdir is required to build AROS. Please install and run configure again." >&5
4479 echo "$as_me: error: mkdir is required to build AROS. Please install and run configure again." >&2;}
4480 { (exit 1); exit 1; }; }
4482 # Extract the first word of "touch", so it can be a program name with args.
4483 set dummy
touch; ac_word
=$2
4484 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4486 if test "${ac_cv_prog_TOUCH+set}" = set; then
4487 echo $ECHO_N "(cached) $ECHO_C" >&6
4489 if test -n "$TOUCH"; then
4490 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
4492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4496 test -z "$as_dir" && as_dir
=.
4497 for ac_exec_ext
in '' $ac_executable_extensions; do
4498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4499 ac_cv_prog_TOUCH
="touch "
4500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4509 TOUCH
=$ac_cv_prog_TOUCH
4510 if test -n "$TOUCH"; then
4511 { echo "$as_me:$LINENO: result: $TOUCH" >&5
4512 echo "${ECHO_T}$TOUCH" >&6; }
4514 { echo "$as_me:$LINENO: result: no" >&5
4515 echo "${ECHO_T}no" >&6; }
4519 if test "$TOUCH" = ""; then
4520 { { echo "$as_me:$LINENO: error: touch is required to build AROS. Please install and run configure again." >&5
4521 echo "$as_me: error: touch is required to build AROS. Please install and run configure again." >&2;}
4522 { (exit 1); exit 1; }; }
4524 # Extract the first word of "sort", so it can be a program name with args.
4525 set dummy
sort; ac_word
=$2
4526 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4527 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4528 if test "${ac_cv_prog_SORT+set}" = set; then
4529 echo $ECHO_N "(cached) $ECHO_C" >&6
4531 if test -n "$SORT"; then
4532 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
4534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4538 test -z "$as_dir" && as_dir
=.
4539 for ac_exec_ext
in '' $ac_executable_extensions; do
4540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4541 ac_cv_prog_SORT
="sort "
4542 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4551 SORT
=$ac_cv_prog_SORT
4552 if test -n "$SORT"; then
4553 { echo "$as_me:$LINENO: result: $SORT" >&5
4554 echo "${ECHO_T}$SORT" >&6; }
4556 { echo "$as_me:$LINENO: result: no" >&5
4557 echo "${ECHO_T}no" >&6; }
4561 if test "$SORT" = ""; then
4562 { { echo "$as_me:$LINENO: error: sort is required to build AROS. Please install and run configure again." >&5
4563 echo "$as_me: error: sort is required to build AROS. Please install and run configure again." >&2;}
4564 { (exit 1); exit 1; }; }
4566 # Extract the first word of "uniq", so it can be a program name with args.
4567 set dummy
uniq; ac_word
=$2
4568 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4569 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4570 if test "${ac_cv_prog_UNIQ+set}" = set; then
4571 echo $ECHO_N "(cached) $ECHO_C" >&6
4573 if test -n "$UNIQ"; then
4574 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
4576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4580 test -z "$as_dir" && as_dir
=.
4581 for ac_exec_ext
in '' $ac_executable_extensions; do
4582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4583 ac_cv_prog_UNIQ
="uniq "
4584 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4593 UNIQ
=$ac_cv_prog_UNIQ
4594 if test -n "$UNIQ"; then
4595 { echo "$as_me:$LINENO: result: $UNIQ" >&5
4596 echo "${ECHO_T}$UNIQ" >&6; }
4598 { echo "$as_me:$LINENO: result: no" >&5
4599 echo "${ECHO_T}no" >&6; }
4603 if test "$UNIQ" = ""; then
4604 { { echo "$as_me:$LINENO: error: uniq is required to build AROS. Please install and run configure again." >&5
4605 echo "$as_me: error: uniq is required to build AROS. Please install and run configure again." >&2;}
4606 { (exit 1); exit 1; }; }
4608 # Extract the first word of "true", so it can be a program name with args.
4609 set dummy true
; ac_word
=$2
4610 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4611 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4612 if test "${ac_cv_prog_NOP+set}" = set; then
4613 echo $ECHO_N "(cached) $ECHO_C" >&6
4615 if test -n "$NOP"; then
4616 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
4618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4622 test -z "$as_dir" && as_dir
=.
4623 for ac_exec_ext
in '' $ac_executable_extensions; do
4624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4625 ac_cv_prog_NOP
="true "
4626 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4636 if test -n "$NOP"; then
4637 { echo "$as_me:$LINENO: result: $NOP" >&5
4638 echo "${ECHO_T}$NOP" >&6; }
4640 { echo "$as_me:$LINENO: result: no" >&5
4641 echo "${ECHO_T}no" >&6; }
4645 if test "$NOP" = ""; then
4646 { { echo "$as_me:$LINENO: error: true is required to build AROS. Please install and run configure again." >&5
4647 echo "$as_me: error: true is required to build AROS. Please install and run configure again." >&2;}
4648 { (exit 1); exit 1; }; }
4650 # Extract the first word of "cat", so it can be a program name with args.
4651 set dummy
cat; ac_word
=$2
4652 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4654 if test "${ac_cv_prog_CAT+set}" = set; then
4655 echo $ECHO_N "(cached) $ECHO_C" >&6
4657 if test -n "$CAT"; then
4658 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
4660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4664 test -z "$as_dir" && as_dir
=.
4665 for ac_exec_ext
in '' $ac_executable_extensions; do
4666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4667 ac_cv_prog_CAT
="cat "
4668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4678 if test -n "$CAT"; then
4679 { echo "$as_me:$LINENO: result: $CAT" >&5
4680 echo "${ECHO_T}$CAT" >&6; }
4682 { echo "$as_me:$LINENO: result: no" >&5
4683 echo "${ECHO_T}no" >&6; }
4687 if test "$CAT" = ""; then
4688 { { echo "$as_me:$LINENO: error: cat is required to build AROS. Please install and run configure again." >&5
4689 echo "$as_me: error: cat is required to build AROS. Please install and run configure again." >&2;}
4690 { (exit 1); exit 1; }; }
4692 # Extract the first word of "bison", so it can be a program name with args.
4693 set dummy bison
; ac_word
=$2
4694 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4696 if test "${ac_cv_prog_BISON+set}" = set; then
4697 echo $ECHO_N "(cached) $ECHO_C" >&6
4699 if test -n "$BISON"; then
4700 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4702 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4706 test -z "$as_dir" && as_dir
=.
4707 for ac_exec_ext
in '' $ac_executable_extensions; do
4708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4709 ac_cv_prog_BISON
="bison "
4710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4719 BISON
=$ac_cv_prog_BISON
4720 if test -n "$BISON"; then
4721 { echo "$as_me:$LINENO: result: $BISON" >&5
4722 echo "${ECHO_T}$BISON" >&6; }
4724 { echo "$as_me:$LINENO: result: no" >&5
4725 echo "${ECHO_T}no" >&6; }
4729 if test "$BISON" = ""; then
4730 { { echo "$as_me:$LINENO: error: bison is required to build AROS. Please install and run configure again." >&5
4731 echo "$as_me: error: bison is required to build AROS. Please install and run configure again." >&2;}
4732 { (exit 1); exit 1; }; }
4734 # Extract the first word of "flex", so it can be a program name with args.
4735 set dummy flex
; ac_word
=$2
4736 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4737 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4738 if test "${ac_cv_prog_FLEX+set}" = set; then
4739 echo $ECHO_N "(cached) $ECHO_C" >&6
4741 if test -n "$FLEX"; then
4742 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4748 test -z "$as_dir" && as_dir
=.
4749 for ac_exec_ext
in '' $ac_executable_extensions; do
4750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4751 ac_cv_prog_FLEX
="flex "
4752 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4761 FLEX
=$ac_cv_prog_FLEX
4762 if test -n "$FLEX"; then
4763 { echo "$as_me:$LINENO: result: $FLEX" >&5
4764 echo "${ECHO_T}$FLEX" >&6; }
4766 { echo "$as_me:$LINENO: result: no" >&5
4767 echo "${ECHO_T}no" >&6; }
4771 if test "$FLEX" = ""; then
4772 { { echo "$as_me:$LINENO: error: flex is required to build AROS. Please install and run configure again." >&5
4773 echo "$as_me: error: flex is required to build AROS. Please install and run configure again." >&2;}
4774 { (exit 1); exit 1; }; }
4776 # Extract the first word of "pngtopnm", so it can be a program name with args.
4777 set dummy pngtopnm
; ac_word
=$2
4778 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4780 if test "${ac_cv_prog_PNGTOPNM+set}" = set; then
4781 echo $ECHO_N "(cached) $ECHO_C" >&6
4783 if test -n "$PNGTOPNM"; then
4784 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
4786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4790 test -z "$as_dir" && as_dir
=.
4791 for ac_exec_ext
in '' $ac_executable_extensions; do
4792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4793 ac_cv_prog_PNGTOPNM
="pngtopnm "
4794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4803 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
4804 if test -n "$PNGTOPNM"; then
4805 { echo "$as_me:$LINENO: result: $PNGTOPNM" >&5
4806 echo "${ECHO_T}$PNGTOPNM" >&6; }
4808 { echo "$as_me:$LINENO: result: no" >&5
4809 echo "${ECHO_T}no" >&6; }
4813 if test "$PNGTOPNM" = ""; then
4814 { { echo "$as_me:$LINENO: error: pngtopnm is required to build AROS. Please install and run configure again." >&5
4815 echo "$as_me: error: pngtopnm is required to build AROS. Please install and run configure again." >&2;}
4816 { (exit 1); exit 1; }; }
4818 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
4819 set dummy ppmtoilbm
; ac_word
=$2
4820 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4822 if test "${ac_cv_prog_PPMTOILBM+set}" = set; then
4823 echo $ECHO_N "(cached) $ECHO_C" >&6
4825 if test -n "$PPMTOILBM"; then
4826 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
4828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4832 test -z "$as_dir" && as_dir
=.
4833 for ac_exec_ext
in '' $ac_executable_extensions; do
4834 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4835 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
4836 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4845 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
4846 if test -n "$PPMTOILBM"; then
4847 { echo "$as_me:$LINENO: result: $PPMTOILBM" >&5
4848 echo "${ECHO_T}$PPMTOILBM" >&6; }
4850 { echo "$as_me:$LINENO: result: no" >&5
4851 echo "${ECHO_T}no" >&6; }
4855 if test "$PPMTOILBM" = ""; then
4856 { { echo "$as_me:$LINENO: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&5
4857 echo "$as_me: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&2;}
4858 { (exit 1); exit 1; }; }
4860 # Extract the first word of "sed", so it can be a program name with args.
4861 set dummy
sed; ac_word
=$2
4862 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4864 if test "${ac_cv_prog_SED+set}" = set; then
4865 echo $ECHO_N "(cached) $ECHO_C" >&6
4867 if test -n "$SED"; then
4868 ac_cv_prog_SED
="$SED" # Let the user override the test.
4870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4874 test -z "$as_dir" && as_dir
=.
4875 for ac_exec_ext
in '' $ac_executable_extensions; do
4876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4877 ac_cv_prog_SED
="sed "
4878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4888 if test -n "$SED"; then
4889 { echo "$as_me:$LINENO: result: $SED" >&5
4890 echo "${ECHO_T}$SED" >&6; }
4892 { echo "$as_me:$LINENO: result: no" >&5
4893 echo "${ECHO_T}no" >&6; }
4897 if test "$SED" = ""; then
4898 { { echo "$as_me:$LINENO: error: sed is required to build AROS. Please install and run configure again." >&5
4899 echo "$as_me: error: sed is required to build AROS. Please install and run configure again." >&2;}
4900 { (exit 1); exit 1; }; }
4902 # Extract the first word of "chmod", so it can be a program name with args.
4903 set dummy
chmod; ac_word
=$2
4904 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4906 if test "${ac_cv_prog_CHMOD+set}" = set; then
4907 echo $ECHO_N "(cached) $ECHO_C" >&6
4909 if test -n "$CHMOD"; then
4910 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
4912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4916 test -z "$as_dir" && as_dir
=.
4917 for ac_exec_ext
in '' $ac_executable_extensions; do
4918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4919 ac_cv_prog_CHMOD
="chmod "
4920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4929 CHMOD
=$ac_cv_prog_CHMOD
4930 if test -n "$CHMOD"; then
4931 { echo "$as_me:$LINENO: result: $CHMOD" >&5
4932 echo "${ECHO_T}$CHMOD" >&6; }
4934 { echo "$as_me:$LINENO: result: no" >&5
4935 echo "${ECHO_T}no" >&6; }
4939 if test "$CHMOD" = ""; then
4940 { { echo "$as_me:$LINENO: error: chmod is required to build AROS. Please install and run configure again." >&5
4941 echo "$as_me: error: chmod is required to build AROS. Please install and run configure again." >&2;}
4942 { (exit 1); exit 1; }; }
4949 if test -n "$PYTHON"; then
4950 # If the user set $PYTHON, use it and don't search something else.
4951 { echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.2.1" >&5
4952 echo $ECHO_N "checking whether $PYTHON version >= 2.2.1... $ECHO_C" >&6; }
4953 prog
="import sys, string
4954 # split strings by '.' and convert to numeric. Append some zeros
4955 # because we need at least 4 digits for the hex conversion.
4956 minver = map(int, string.split('2.2.1', '.')) + [0, 0, 0]
4958 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
4959 sys.exit(sys.hexversion < minverhex)"
4960 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
4961 ($PYTHON -c "$prog") >&5 2>&5
4963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4964 (exit $ac_status); }; then
4965 { echo "$as_me:$LINENO: result: yes" >&5
4966 echo "${ECHO_T}yes" >&6; }
4968 { { echo "$as_me:$LINENO: error: too old" >&5
4969 echo "$as_me: error: too old" >&2;}
4970 { (exit 1); exit 1; }; }
4973 am_display_PYTHON
=$PYTHON
4975 # Otherwise, try each interpreter until we find one that satisfies
4977 { echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.2.1" >&5
4978 echo $ECHO_N "checking for a Python interpreter with version >= 2.2.1... $ECHO_C" >&6; }
4979 if test "${am_cv_pathless_PYTHON+set}" = set; then
4980 echo $ECHO_N "(cached) $ECHO_C" >&6
4983 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
4984 test "$am_cv_pathless_PYTHON" = none
&& break
4985 prog
="import sys, string
4986 # split strings by '.' and convert to numeric. Append some zeros
4987 # because we need at least 4 digits for the hex conversion.
4988 minver = map(int, string.split('2.2.1', '.')) + [0, 0, 0]
4990 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
4991 sys.exit(sys.hexversion < minverhex)"
4992 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
4993 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
4995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4996 (exit $ac_status); }; then
5002 { echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
5003 echo "${ECHO_T}$am_cv_pathless_PYTHON" >&6; }
5004 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5005 if test "$am_cv_pathless_PYTHON" = none
; then
5008 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5009 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5010 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5012 if test "${ac_cv_path_PYTHON+set}" = set; then
5013 echo $ECHO_N "(cached) $ECHO_C" >&6
5017 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5024 test -z "$as_dir" && as_dir
=.
5025 for ac_exec_ext
in '' $ac_executable_extensions; do
5026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5027 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5038 PYTHON
=$ac_cv_path_PYTHON
5039 if test -n "$PYTHON"; then
5040 { echo "$as_me:$LINENO: result: $PYTHON" >&5
5041 echo "${ECHO_T}$PYTHON" >&6; }
5043 { echo "$as_me:$LINENO: result: no" >&5
5044 echo "${ECHO_T}no" >&6; }
5049 am_display_PYTHON
=$am_cv_pathless_PYTHON
5053 if test "$PYTHON" = :; then
5054 { { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
5055 echo "$as_me: error: no suitable Python interpreter found" >&2;}
5056 { (exit 1); exit 1; }; }
5060 { echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
5061 echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; }
5062 if test "${am_cv_python_version+set}" = set; then
5063 echo $ECHO_N "(cached) $ECHO_C" >&6
5065 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
5067 { echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
5068 echo "${ECHO_T}$am_cv_python_version" >&6; }
5069 PYTHON_VERSION
=$am_cv_python_version
5073 PYTHON_PREFIX
='${prefix}'
5075 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5079 { echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
5080 echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; }
5081 if test "${am_cv_python_platform+set}" = set; then
5082 echo $ECHO_N "(cached) $ECHO_C" >&6
5084 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
5086 { echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
5087 echo "${ECHO_T}$am_cv_python_platform" >&6; }
5088 PYTHON_PLATFORM
=$am_cv_python_platform
5093 { echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
5094 echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6; }
5095 if test "${am_cv_python_pythondir+set}" = set; then
5096 echo $ECHO_N "(cached) $ECHO_C" >&6
5098 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5099 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5101 { echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
5102 echo "${ECHO_T}$am_cv_python_pythondir" >&6; }
5103 pythondir
=$am_cv_python_pythondir
5107 pkgpythondir
=\
${pythondir}/$PACKAGE
5110 { echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
5111 echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6; }
5112 if test "${am_cv_python_pyexecdir+set}" = set; then
5113 echo $ECHO_N "(cached) $ECHO_C" >&6
5115 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5116 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5118 { echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
5119 echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; }
5120 pyexecdir
=$am_cv_python_pyexecdir
5124 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5142 # Check for some includes for the X11 HIDD and the kernel
5145 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5146 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5147 if test "${ac_cv_path_GREP+set}" = set; then
5148 echo $ECHO_N "(cached) $ECHO_C" >&6
5150 # Extract the first word of "grep ggrep" to use in msg output
5151 if test -z "$GREP"; then
5152 set dummy
grep ggrep
; ac_prog_name
=$2
5153 if test "${ac_cv_path_GREP+set}" = set; then
5154 echo $ECHO_N "(cached) $ECHO_C" >&6
5156 ac_path_GREP_found
=false
5157 # Loop through the user's path and test for each of PROGNAME-LIST
5158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5159 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5162 test -z "$as_dir" && as_dir
=.
5163 for ac_prog
in grep ggrep
; do
5164 for ac_exec_ext
in '' $ac_executable_extensions; do
5165 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5166 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5167 # Check for GNU ac_path_GREP and select it if it is found.
5168 # Check for GNU $ac_path_GREP
5169 case `"$ac_path_GREP" --version 2>&1` in
5171 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5174 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5177 cat "conftest.in" "conftest.in" >"conftest.tmp"
5178 mv "conftest.tmp" "conftest.in"
5179 cp "conftest.in" "conftest.nl"
5180 echo 'GREP' >> "conftest.nl"
5181 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5182 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5183 ac_count
=`expr $ac_count + 1`
5184 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5185 # Best one so far, save it but keep looking for a better one
5186 ac_cv_path_GREP
="$ac_path_GREP"
5187 ac_path_GREP_max
=$ac_count
5189 # 10*(2^10) chars as input seems more than enough
5190 test $ac_count -gt 10 && break
5192 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5196 $ac_path_GREP_found && break 3
5206 GREP
="$ac_cv_path_GREP"
5207 if test -z "$GREP"; then
5208 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5209 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5210 { (exit 1); exit 1; }; }
5214 ac_cv_path_GREP
=$GREP
5219 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5220 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5221 GREP
="$ac_cv_path_GREP"
5224 { echo "$as_me:$LINENO: checking for egrep" >&5
5225 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5226 if test "${ac_cv_path_EGREP+set}" = set; then
5227 echo $ECHO_N "(cached) $ECHO_C" >&6
5229 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5230 then ac_cv_path_EGREP
="$GREP -E"
5232 # Extract the first word of "egrep" to use in msg output
5233 if test -z "$EGREP"; then
5234 set dummy
egrep; ac_prog_name
=$2
5235 if test "${ac_cv_path_EGREP+set}" = set; then
5236 echo $ECHO_N "(cached) $ECHO_C" >&6
5238 ac_path_EGREP_found
=false
5239 # Loop through the user's path and test for each of PROGNAME-LIST
5240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5241 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5244 test -z "$as_dir" && as_dir
=.
5245 for ac_prog
in egrep; do
5246 for ac_exec_ext
in '' $ac_executable_extensions; do
5247 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5248 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5249 # Check for GNU ac_path_EGREP and select it if it is found.
5250 # Check for GNU $ac_path_EGREP
5251 case `"$ac_path_EGREP" --version 2>&1` in
5253 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5256 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5259 cat "conftest.in" "conftest.in" >"conftest.tmp"
5260 mv "conftest.tmp" "conftest.in"
5261 cp "conftest.in" "conftest.nl"
5262 echo 'EGREP' >> "conftest.nl"
5263 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5264 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5265 ac_count
=`expr $ac_count + 1`
5266 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5267 # Best one so far, save it but keep looking for a better one
5268 ac_cv_path_EGREP
="$ac_path_EGREP"
5269 ac_path_EGREP_max
=$ac_count
5271 # 10*(2^10) chars as input seems more than enough
5272 test $ac_count -gt 10 && break
5274 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5278 $ac_path_EGREP_found && break 3
5288 EGREP
="$ac_cv_path_EGREP"
5289 if test -z "$EGREP"; then
5290 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5291 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5292 { (exit 1); exit 1; }; }
5296 ac_cv_path_EGREP
=$EGREP
5302 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5303 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5304 EGREP
="$ac_cv_path_EGREP"
5307 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5308 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5309 if test "${ac_cv_header_stdc+set}" = set; then
5310 echo $ECHO_N "(cached) $ECHO_C" >&6
5312 cat >conftest.
$ac_ext <<_ACEOF
5315 cat confdefs.h
>>conftest.
$ac_ext
5316 cat >>conftest.
$ac_ext <<_ACEOF
5317 /* end confdefs.h. */
5331 rm -f conftest.
$ac_objext
5332 if { (ac_try
="$ac_compile"
5334 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5335 *) ac_try_echo=$ac_try;;
5337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5338 (eval "$ac_compile") 2>conftest.er1
5340 grep -v '^ *+' conftest.er1 >conftest.err
5342 cat conftest.err >&5
5343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5344 (exit $ac_status); } && {
5345 test -z "$ac_c_werror_flag" ||
5346 test ! -s conftest.err
5347 } && test -s conftest.$ac_objext; then
5348 ac_cv_header_stdc=yes
5350 echo "$as_me: failed program was:" >&5
5351 sed 's/^/| /' conftest.$ac_ext >&5
5353 ac_cv_header_stdc=no
5356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5358 if test $ac_cv_header_stdc = yes; then
5359 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5360 cat >conftest.$ac_ext <<_ACEOF
5363 cat confdefs.h >>conftest.$ac_ext
5364 cat >>conftest.$ac_ext <<_ACEOF
5365 /* end confdefs.h. */
5369 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5370 $EGREP "memchr" >/dev/null 2>&1; then
5373 ac_cv_header_stdc=no
5379 if test $ac_cv_header_stdc = yes; then
5380 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5381 cat >conftest.$ac_ext <<_ACEOF
5384 cat confdefs.h >>conftest.$ac_ext
5385 cat >>conftest.$ac_ext <<_ACEOF
5386 /* end confdefs.h. */
5390 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5391 $EGREP "free" >/dev/null 2>&1; then
5394 ac_cv_header_stdc=no
5400 if test $ac_cv_header_stdc = yes; then
5401 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5402 if test "$cross_compiling" = yes; then
5405 cat >conftest.$ac_ext <<_ACEOF
5408 cat confdefs.h >>conftest.$ac_ext
5409 cat >>conftest.$ac_ext <<_ACEOF
5410 /* end confdefs.h. */
5413 #if ((' ' & 0x0FF) == 0x020)
5414 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5415 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5417 # define ISLOWER(c) \
5418 (('a' <= (c) && (c) <= 'i') \
5419 || ('j' <= (c) && (c) <= 'r') \
5420 || ('s' <= (c) && (c) <= 'z'))
5421 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5424 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5429 for (i = 0; i < 256; i++)
5430 if (XOR (islower (i), ISLOWER (i))
5431 || toupper (i) != TOUPPER (i))
5436 rm -f conftest$ac_exeext
5437 if { (ac_try="$ac_link"
5439 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5440 *) ac_try_echo
=$ac_try;;
5442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5443 (eval "$ac_link") 2>&5
5445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5446 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5447 { (case "(($ac_try" in
5448 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5449 *) ac_try_echo=$ac_try;;
5451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5452 (eval "$ac_try") 2>&5
5454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5455 (exit $ac_status); }; }; then
5458 echo "$as_me: program exited with status $ac_status" >&5
5459 echo "$as_me: failed program was:" >&5
5460 sed 's/^/| /' conftest.$ac_ext >&5
5463 ac_cv_header_stdc=no
5465 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5471 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5472 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5473 if test $ac_cv_header_stdc = yes; then
5475 cat >>confdefs.h <<\_ACEOF
5476 #define STDC_HEADERS 1
5481 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5491 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5492 inttypes.h stdint.h unistd.h
5494 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5495 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5497 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5498 echo $ECHO_N "(cached) $ECHO_C" >&6
5500 cat >conftest.$ac_ext <<_ACEOF
5503 cat confdefs.h >>conftest.$ac_ext
5504 cat >>conftest.$ac_ext <<_ACEOF
5505 /* end confdefs.h. */
5506 $ac_includes_default
5508 #include <$ac_header>
5510 rm -f conftest.$ac_objext
5511 if { (ac_try="$ac_compile"
5513 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5514 *) ac_try_echo
=$ac_try;;
5516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5517 (eval "$ac_compile") 2>conftest.er1
5519 grep -v '^ *+' conftest.er1
>conftest.err
5521 cat conftest.err
>&5
5522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5523 (exit $ac_status); } && {
5524 test -z "$ac_c_werror_flag" ||
5525 test ! -s conftest.err
5526 } && test -s conftest.
$ac_objext; then
5527 eval "$as_ac_Header=yes"
5529 echo "$as_me: failed program was:" >&5
5530 sed 's/^/| /' conftest.
$ac_ext >&5
5532 eval "$as_ac_Header=no"
5535 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5537 ac_res
=`eval echo '${'$as_ac_Header'}'`
5538 { echo "$as_me:$LINENO: result: $ac_res" >&5
5539 echo "${ECHO_T}$ac_res" >&6; }
5540 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5541 cat >>confdefs.h
<<_ACEOF
5542 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5559 for ac_header
in sys
/ipc.h sys
/shm.h \
5560 sys
/mmap.h sys
/mman.h sysexits.h \
5561 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
5564 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5565 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5566 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5567 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5568 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5569 echo $ECHO_N "(cached) $ECHO_C" >&6
5571 ac_res
=`eval echo '${'$as_ac_Header'}'`
5572 { echo "$as_me:$LINENO: result: $ac_res" >&5
5573 echo "${ECHO_T}$ac_res" >&6; }
5575 # Is the header compilable?
5576 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5577 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5578 cat >conftest.
$ac_ext <<_ACEOF
5581 cat confdefs.h
>>conftest.
$ac_ext
5582 cat >>conftest.
$ac_ext <<_ACEOF
5583 /* end confdefs.h. */
5584 $ac_includes_default
5585 #include <$ac_header>
5587 rm -f conftest.
$ac_objext
5588 if { (ac_try
="$ac_compile"
5590 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5591 *) ac_try_echo=$ac_try;;
5593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5594 (eval "$ac_compile") 2>conftest.er1
5596 grep -v '^ *+' conftest.er1 >conftest.err
5598 cat conftest.err >&5
5599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5600 (exit $ac_status); } && {
5601 test -z "$ac_c_werror_flag" ||
5602 test ! -s conftest.err
5603 } && test -s conftest.$ac_objext; then
5604 ac_header_compiler=yes
5606 echo "$as_me: failed program was:" >&5
5607 sed 's/^/| /' conftest.$ac_ext >&5
5609 ac_header_compiler=no
5612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5613 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5614 echo "${ECHO_T}$ac_header_compiler" >&6; }
5616 # Is the header present?
5617 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5618 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5619 cat >conftest.$ac_ext <<_ACEOF
5622 cat confdefs.h >>conftest.$ac_ext
5623 cat >>conftest.$ac_ext <<_ACEOF
5624 /* end confdefs.h. */
5625 #include <$ac_header>
5627 if { (ac_try="$ac_cpp conftest.$ac_ext"
5629 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5630 *) ac_try_echo
=$ac_try;;
5632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5633 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5635 grep -v '^ *+' conftest.er1
>conftest.err
5637 cat conftest.err
>&5
5638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5639 (exit $ac_status); } >/dev
/null
&& {
5640 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5641 test ! -s conftest.err
5643 ac_header_preproc
=yes
5645 echo "$as_me: failed program was:" >&5
5646 sed 's/^/| /' conftest.
$ac_ext >&5
5648 ac_header_preproc
=no
5651 rm -f conftest.err conftest.
$ac_ext
5652 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5653 echo "${ECHO_T}$ac_header_preproc" >&6; }
5655 # So? What about this header?
5656 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5658 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5659 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5660 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5661 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5662 ac_header_preproc
=yes
5665 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5666 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5667 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5668 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5669 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5670 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5671 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5672 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5673 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5674 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5675 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5676 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5680 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5681 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5682 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5683 echo $ECHO_N "(cached) $ECHO_C" >&6
5685 eval "$as_ac_Header=\$ac_header_preproc"
5687 ac_res
=`eval echo '${'$as_ac_Header'}'`
5688 { echo "$as_me:$LINENO: result: $ac_res" >&5
5689 echo "${ECHO_T}$ac_res" >&6; }
5692 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5693 cat >>confdefs.h
<<_ACEOF
5694 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5703 for ac_header
in sys
/mount.h
5705 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5706 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5707 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5708 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5709 echo $ECHO_N "(cached) $ECHO_C" >&6
5711 cat >conftest.
$ac_ext <<_ACEOF
5714 cat confdefs.h
>>conftest.
$ac_ext
5715 cat >>conftest.
$ac_ext <<_ACEOF
5716 /* end confdefs.h. */
5717 #include <sys/param.h>
5719 #include <$ac_header>
5721 rm -f conftest.
$ac_objext
5722 if { (ac_try
="$ac_compile"
5724 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5725 *) ac_try_echo=$ac_try;;
5727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5728 (eval "$ac_compile") 2>conftest.er1
5730 grep -v '^ *+' conftest.er1 >conftest.err
5732 cat conftest.err >&5
5733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5734 (exit $ac_status); } && {
5735 test -z "$ac_c_werror_flag" ||
5736 test ! -s conftest.err
5737 } && test -s conftest.$ac_objext; then
5738 eval "$as_ac_Header=yes"
5740 echo "$as_me: failed program was:" >&5
5741 sed 's/^/| /' conftest.$ac_ext >&5
5743 eval "$as_ac_Header=no"
5746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5748 ac_res=`eval echo '${'$as_ac_Header'}'`
5749 { echo "$as_me:$LINENO: result: $ac_res" >&5
5750 echo "${ECHO_T}$ac_res" >&6; }
5751 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5752 cat >>confdefs.h <<_ACEOF
5753 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5767 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
5768 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
5769 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
5770 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
5771 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5772 echo $ECHO_N "(cached) $ECHO_C" >&6
5774 cat >conftest.$ac_ext <<_ACEOF
5777 cat confdefs.h >>conftest.$ac_ext
5778 cat >>conftest.$ac_ext <<_ACEOF
5779 /* end confdefs.h. */
5780 #include <sys/types.h>
5792 rm -f conftest.$ac_objext
5793 if { (ac_try="$ac_compile"
5795 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5796 *) ac_try_echo
=$ac_try;;
5798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5799 (eval "$ac_compile") 2>conftest.er1
5801 grep -v '^ *+' conftest.er1
>conftest.err
5803 cat conftest.err
>&5
5804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5805 (exit $ac_status); } && {
5806 test -z "$ac_c_werror_flag" ||
5807 test ! -s conftest.err
5808 } && test -s conftest.
$ac_objext; then
5809 eval "$as_ac_Header=yes"
5811 echo "$as_me: failed program was:" >&5
5812 sed 's/^/| /' conftest.
$ac_ext >&5
5814 eval "$as_ac_Header=no"
5817 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5819 ac_res
=`eval echo '${'$as_ac_Header'}'`
5820 { echo "$as_me:$LINENO: result: $ac_res" >&5
5821 echo "${ECHO_T}$ac_res" >&6; }
5822 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5823 cat >>confdefs.h
<<_ACEOF
5824 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5827 ac_header_dirent
=$ac_hdr; break
5831 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5832 if test $ac_header_dirent = dirent.h
; then
5833 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
5834 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
5835 if test "${ac_cv_search_opendir+set}" = set; then
5836 echo $ECHO_N "(cached) $ECHO_C" >&6
5838 ac_func_search_save_LIBS
=$LIBS
5839 cat >conftest.
$ac_ext <<_ACEOF
5842 cat confdefs.h
>>conftest.
$ac_ext
5843 cat >>conftest.
$ac_ext <<_ACEOF
5844 /* end confdefs.h. */
5846 /* Override any GCC internal prototype to avoid an error.
5847 Use char because int might match the return type of a GCC
5848 builtin and then its argument prototype would still apply. */
5861 for ac_lib
in '' dir
; do
5862 if test -z "$ac_lib"; then
5863 ac_res
="none required"
5866 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5868 rm -f conftest.
$ac_objext conftest
$ac_exeext
5869 if { (ac_try
="$ac_link"
5871 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5872 *) ac_try_echo=$ac_try;;
5874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5875 (eval "$ac_link") 2>conftest.er1
5877 grep -v '^ *+' conftest.er1 >conftest.err
5879 cat conftest.err >&5
5880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5881 (exit $ac_status); } && {
5882 test -z "$ac_c_werror_flag" ||
5883 test ! -s conftest.err
5884 } && test -s conftest$ac_exeext &&
5885 $as_test_x conftest$ac_exeext; then
5886 ac_cv_search_opendir=$ac_res
5888 echo "$as_me: failed program was:" >&5
5889 sed 's/^/| /' conftest.$ac_ext >&5
5894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5896 if test "${ac_cv_search_opendir+set}" = set; then
5900 if test "${ac_cv_search_opendir+set}" = set; then
5903 ac_cv_search_opendir=no
5906 LIBS=$ac_func_search_save_LIBS
5908 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5909 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
5910 ac_res=$ac_cv_search_opendir
5911 if test "$ac_res" != no; then
5912 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5917 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
5918 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
5919 if test "${ac_cv_search_opendir+set}" = set; then
5920 echo $ECHO_N "(cached) $ECHO_C" >&6
5922 ac_func_search_save_LIBS=$LIBS
5923 cat >conftest.$ac_ext <<_ACEOF
5926 cat confdefs.h >>conftest.$ac_ext
5927 cat >>conftest.$ac_ext <<_ACEOF
5928 /* end confdefs.h. */
5930 /* Override any GCC internal prototype to avoid an error.
5931 Use char because int might match the return type of a GCC
5932 builtin and then its argument prototype would still apply. */
5945 for ac_lib in '' x; do
5946 if test -z "$ac_lib"; then
5947 ac_res="none required"
5950 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5952 rm -f conftest.$ac_objext conftest$ac_exeext
5953 if { (ac_try="$ac_link"
5955 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5956 *) ac_try_echo
=$ac_try;;
5958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5959 (eval "$ac_link") 2>conftest.er1
5961 grep -v '^ *+' conftest.er1
>conftest.err
5963 cat conftest.err
>&5
5964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5965 (exit $ac_status); } && {
5966 test -z "$ac_c_werror_flag" ||
5967 test ! -s conftest.err
5968 } && test -s conftest
$ac_exeext &&
5969 $as_test_x conftest
$ac_exeext; then
5970 ac_cv_search_opendir
=$ac_res
5972 echo "$as_me: failed program was:" >&5
5973 sed 's/^/| /' conftest.
$ac_ext >&5
5978 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5980 if test "${ac_cv_search_opendir+set}" = set; then
5984 if test "${ac_cv_search_opendir+set}" = set; then
5987 ac_cv_search_opendir
=no
5990 LIBS
=$ac_func_search_save_LIBS
5992 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5993 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
5994 ac_res
=$ac_cv_search_opendir
5995 if test "$ac_res" != no
; then
5996 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6002 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
6003 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
6004 if test "${ac_cv_header_stat_broken+set}" = set; then
6005 echo $ECHO_N "(cached) $ECHO_C" >&6
6007 cat >conftest.
$ac_ext <<_ACEOF
6010 cat confdefs.h
>>conftest.
$ac_ext
6011 cat >>conftest.
$ac_ext <<_ACEOF
6012 /* end confdefs.h. */
6013 #include <sys/types.h>
6014 #include <sys/stat.h>
6016 #if defined S_ISBLK && defined S_IFDIR
6017 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6020 #if defined S_ISBLK && defined S_IFCHR
6021 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6024 #if defined S_ISLNK && defined S_IFREG
6025 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6028 #if defined S_ISSOCK && defined S_IFREG
6029 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6033 rm -f conftest.
$ac_objext
6034 if { (ac_try
="$ac_compile"
6036 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6037 *) ac_try_echo=$ac_try;;
6039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6040 (eval "$ac_compile") 2>conftest.er1
6042 grep -v '^ *+' conftest.er1 >conftest.err
6044 cat conftest.err >&5
6045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6046 (exit $ac_status); } && {
6047 test -z "$ac_c_werror_flag" ||
6048 test ! -s conftest.err
6049 } && test -s conftest.$ac_objext; then
6050 ac_cv_header_stat_broken=no
6052 echo "$as_me: failed program was:" >&5
6053 sed 's/^/| /' conftest.$ac_ext >&5
6055 ac_cv_header_stat_broken=yes
6058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6060 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
6061 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
6062 if test $ac_cv_header_stat_broken = yes; then
6064 cat >>confdefs.h <<\_ACEOF
6065 #define STAT_MACROS_BROKEN 1
6070 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6071 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6072 if test "${ac_cv_header_stdc+set}" = set; then
6073 echo $ECHO_N "(cached) $ECHO_C" >&6
6075 cat >conftest.$ac_ext <<_ACEOF
6078 cat confdefs.h >>conftest.$ac_ext
6079 cat >>conftest.$ac_ext <<_ACEOF
6080 /* end confdefs.h. */
6094 rm -f conftest.$ac_objext
6095 if { (ac_try="$ac_compile"
6097 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6098 *) ac_try_echo
=$ac_try;;
6100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6101 (eval "$ac_compile") 2>conftest.er1
6103 grep -v '^ *+' conftest.er1
>conftest.err
6105 cat conftest.err
>&5
6106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6107 (exit $ac_status); } && {
6108 test -z "$ac_c_werror_flag" ||
6109 test ! -s conftest.err
6110 } && test -s conftest.
$ac_objext; then
6111 ac_cv_header_stdc
=yes
6113 echo "$as_me: failed program was:" >&5
6114 sed 's/^/| /' conftest.
$ac_ext >&5
6116 ac_cv_header_stdc
=no
6119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6121 if test $ac_cv_header_stdc = yes; then
6122 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6123 cat >conftest.
$ac_ext <<_ACEOF
6126 cat confdefs.h
>>conftest.
$ac_ext
6127 cat >>conftest.
$ac_ext <<_ACEOF
6128 /* end confdefs.h. */
6132 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6133 $EGREP "memchr" >/dev
/null
2>&1; then
6136 ac_cv_header_stdc
=no
6142 if test $ac_cv_header_stdc = yes; then
6143 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6144 cat >conftest.
$ac_ext <<_ACEOF
6147 cat confdefs.h
>>conftest.
$ac_ext
6148 cat >>conftest.
$ac_ext <<_ACEOF
6149 /* end confdefs.h. */
6153 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6154 $EGREP "free" >/dev
/null
2>&1; then
6157 ac_cv_header_stdc
=no
6163 if test $ac_cv_header_stdc = yes; then
6164 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6165 if test "$cross_compiling" = yes; then
6168 cat >conftest.
$ac_ext <<_ACEOF
6171 cat confdefs.h
>>conftest.
$ac_ext
6172 cat >>conftest.
$ac_ext <<_ACEOF
6173 /* end confdefs.h. */
6176 #if ((' ' & 0x0FF) == 0x020)
6177 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6178 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6180 # define ISLOWER(c) \
6181 (('a' <= (c) && (c) <= 'i') \
6182 || ('j' <= (c) && (c) <= 'r') \
6183 || ('s' <= (c) && (c) <= 'z'))
6184 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6187 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6192 for (i = 0; i < 256; i++)
6193 if (XOR (islower (i), ISLOWER (i))
6194 || toupper (i) != TOUPPER (i))
6199 rm -f conftest
$ac_exeext
6200 if { (ac_try
="$ac_link"
6202 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6203 *) ac_try_echo=$ac_try;;
6205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6206 (eval "$ac_link") 2>&5
6208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6209 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6210 { (case "(($ac_try" in
6211 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6212 *) ac_try_echo
=$ac_try;;
6214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6215 (eval "$ac_try") 2>&5
6217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6218 (exit $ac_status); }; }; then
6221 echo "$as_me: program exited with status $ac_status" >&5
6222 echo "$as_me: failed program was:" >&5
6223 sed 's/^/| /' conftest.
$ac_ext >&5
6226 ac_cv_header_stdc
=no
6228 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6234 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6235 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6236 if test $ac_cv_header_stdc = yes; then
6238 cat >>confdefs.h
<<\_ACEOF
6239 #define STDC_HEADERS 1
6244 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
6245 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
6246 if test "${ac_cv_header_sys_wait_h+set}" = set; then
6247 echo $ECHO_N "(cached) $ECHO_C" >&6
6249 cat >conftest.
$ac_ext <<_ACEOF
6252 cat confdefs.h
>>conftest.
$ac_ext
6253 cat >>conftest.
$ac_ext <<_ACEOF
6254 /* end confdefs.h. */
6255 #include <sys/types.h>
6256 #include <sys/wait.h>
6258 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6261 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6269 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6274 rm -f conftest.
$ac_objext
6275 if { (ac_try
="$ac_compile"
6277 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6278 *) ac_try_echo=$ac_try;;
6280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6281 (eval "$ac_compile") 2>conftest.er1
6283 grep -v '^ *+' conftest.er1 >conftest.err
6285 cat conftest.err >&5
6286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6287 (exit $ac_status); } && {
6288 test -z "$ac_c_werror_flag" ||
6289 test ! -s conftest.err
6290 } && test -s conftest.$ac_objext; then
6291 ac_cv_header_sys_wait_h=yes
6293 echo "$as_me: failed program was:" >&5
6294 sed 's/^/| /' conftest.$ac_ext >&5
6296 ac_cv_header_sys_wait_h=no
6299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6301 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
6302 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
6303 if test $ac_cv_header_sys_wait_h = yes; then
6305 cat >>confdefs.h <<\_ACEOF
6306 #define HAVE_SYS_WAIT_H 1
6311 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6312 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
6313 if test "${ac_cv_header_time+set}" = set; then
6314 echo $ECHO_N "(cached) $ECHO_C" >&6
6316 cat >conftest.$ac_ext <<_ACEOF
6319 cat confdefs.h >>conftest.$ac_ext
6320 cat >>conftest.$ac_ext <<_ACEOF
6321 /* end confdefs.h. */
6322 #include <sys/types.h>
6323 #include <sys/time.h>
6329 if ((struct tm *) 0)
6335 rm -f conftest.$ac_objext
6336 if { (ac_try="$ac_compile"
6338 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6339 *) ac_try_echo
=$ac_try;;
6341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6342 (eval "$ac_compile") 2>conftest.er1
6344 grep -v '^ *+' conftest.er1
>conftest.err
6346 cat conftest.err
>&5
6347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6348 (exit $ac_status); } && {
6349 test -z "$ac_c_werror_flag" ||
6350 test ! -s conftest.err
6351 } && test -s conftest.
$ac_objext; then
6352 ac_cv_header_time
=yes
6354 echo "$as_me: failed program was:" >&5
6355 sed 's/^/| /' conftest.
$ac_ext >&5
6357 ac_cv_header_time
=no
6360 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6362 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6363 echo "${ECHO_T}$ac_cv_header_time" >&6; }
6364 if test $ac_cv_header_time = yes; then
6366 cat >>confdefs.h
<<\_ACEOF
6367 #define TIME_WITH_SYS_TIME 1
6372 { echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6373 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6; }
6374 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6375 echo $ECHO_N "(cached) $ECHO_C" >&6
6377 cat >conftest.
$ac_ext <<_ACEOF
6380 cat confdefs.h
>>conftest.
$ac_ext
6381 cat >>conftest.
$ac_ext <<_ACEOF
6382 /* end confdefs.h. */
6383 $ac_includes_default
6387 static struct stat ac_aggr;
6388 if (ac_aggr.st_blksize)
6394 rm -f conftest.
$ac_objext
6395 if { (ac_try
="$ac_compile"
6397 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6398 *) ac_try_echo=$ac_try;;
6400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6401 (eval "$ac_compile") 2>conftest.er1
6403 grep -v '^ *+' conftest.er1 >conftest.err
6405 cat conftest.err >&5
6406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6407 (exit $ac_status); } && {
6408 test -z "$ac_c_werror_flag" ||
6409 test ! -s conftest.err
6410 } && test -s conftest.$ac_objext; then
6411 ac_cv_member_struct_stat_st_blksize=yes
6413 echo "$as_me: failed program was:" >&5
6414 sed 's/^/| /' conftest.$ac_ext >&5
6416 cat >conftest.$ac_ext <<_ACEOF
6419 cat confdefs.h >>conftest.$ac_ext
6420 cat >>conftest.$ac_ext <<_ACEOF
6421 /* end confdefs.h. */
6422 $ac_includes_default
6426 static struct stat ac_aggr;
6427 if (sizeof ac_aggr.st_blksize)
6433 rm -f conftest.$ac_objext
6434 if { (ac_try="$ac_compile"
6436 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6437 *) ac_try_echo
=$ac_try;;
6439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6440 (eval "$ac_compile") 2>conftest.er1
6442 grep -v '^ *+' conftest.er1
>conftest.err
6444 cat conftest.err
>&5
6445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6446 (exit $ac_status); } && {
6447 test -z "$ac_c_werror_flag" ||
6448 test ! -s conftest.err
6449 } && test -s conftest.
$ac_objext; then
6450 ac_cv_member_struct_stat_st_blksize
=yes
6452 echo "$as_me: failed program was:" >&5
6453 sed 's/^/| /' conftest.
$ac_ext >&5
6455 ac_cv_member_struct_stat_st_blksize
=no
6458 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6461 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6463 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
6464 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6; }
6465 if test $ac_cv_member_struct_stat_st_blksize = yes; then
6467 cat >>confdefs.h
<<_ACEOF
6468 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6472 cat >>confdefs.h
<<\_ACEOF
6473 #define HAVE_ST_BLKSIZE 1
6479 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
6480 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
6481 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
6482 echo $ECHO_N "(cached) $ECHO_C" >&6
6484 cat >conftest.
$ac_ext <<_ACEOF
6487 cat confdefs.h
>>conftest.
$ac_ext
6488 cat >>conftest.
$ac_ext <<_ACEOF
6489 /* end confdefs.h. */
6490 $ac_includes_default
6494 static struct stat ac_aggr;
6495 if (ac_aggr.st_blocks)
6501 rm -f conftest.
$ac_objext
6502 if { (ac_try
="$ac_compile"
6504 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6505 *) ac_try_echo=$ac_try;;
6507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6508 (eval "$ac_compile") 2>conftest.er1
6510 grep -v '^ *+' conftest.er1 >conftest.err
6512 cat conftest.err >&5
6513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6514 (exit $ac_status); } && {
6515 test -z "$ac_c_werror_flag" ||
6516 test ! -s conftest.err
6517 } && test -s conftest.$ac_objext; then
6518 ac_cv_member_struct_stat_st_blocks=yes
6520 echo "$as_me: failed program was:" >&5
6521 sed 's/^/| /' conftest.$ac_ext >&5
6523 cat >conftest.$ac_ext <<_ACEOF
6526 cat confdefs.h >>conftest.$ac_ext
6527 cat >>conftest.$ac_ext <<_ACEOF
6528 /* end confdefs.h. */
6529 $ac_includes_default
6533 static struct stat ac_aggr;
6534 if (sizeof ac_aggr.st_blocks)
6540 rm -f conftest.$ac_objext
6541 if { (ac_try="$ac_compile"
6543 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6544 *) ac_try_echo
=$ac_try;;
6546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6547 (eval "$ac_compile") 2>conftest.er1
6549 grep -v '^ *+' conftest.er1
>conftest.err
6551 cat conftest.err
>&5
6552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6553 (exit $ac_status); } && {
6554 test -z "$ac_c_werror_flag" ||
6555 test ! -s conftest.err
6556 } && test -s conftest.
$ac_objext; then
6557 ac_cv_member_struct_stat_st_blocks
=yes
6559 echo "$as_me: failed program was:" >&5
6560 sed 's/^/| /' conftest.
$ac_ext >&5
6562 ac_cv_member_struct_stat_st_blocks
=no
6565 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6568 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6570 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
6571 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
6572 if test $ac_cv_member_struct_stat_st_blocks = yes; then
6574 cat >>confdefs.h
<<_ACEOF
6575 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6579 cat >>confdefs.h
<<\_ACEOF
6580 #define HAVE_ST_BLOCKS 1
6584 case " $LIBOBJS " in
6585 *" fileblocks.$ac_objext "* ) ;;
6586 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6593 { echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6594 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6; }
6595 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6596 echo $ECHO_N "(cached) $ECHO_C" >&6
6598 cat >conftest.
$ac_ext <<_ACEOF
6601 cat confdefs.h
>>conftest.
$ac_ext
6602 cat >>conftest.
$ac_ext <<_ACEOF
6603 /* end confdefs.h. */
6604 $ac_includes_default
6608 static struct stat ac_aggr;
6609 if (ac_aggr.st_rdev)
6615 rm -f conftest.
$ac_objext
6616 if { (ac_try
="$ac_compile"
6618 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6619 *) ac_try_echo=$ac_try;;
6621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6622 (eval "$ac_compile") 2>conftest.er1
6624 grep -v '^ *+' conftest.er1 >conftest.err
6626 cat conftest.err >&5
6627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6628 (exit $ac_status); } && {
6629 test -z "$ac_c_werror_flag" ||
6630 test ! -s conftest.err
6631 } && test -s conftest.$ac_objext; then
6632 ac_cv_member_struct_stat_st_rdev=yes
6634 echo "$as_me: failed program was:" >&5
6635 sed 's/^/| /' conftest.$ac_ext >&5
6637 cat >conftest.$ac_ext <<_ACEOF
6640 cat confdefs.h >>conftest.$ac_ext
6641 cat >>conftest.$ac_ext <<_ACEOF
6642 /* end confdefs.h. */
6643 $ac_includes_default
6647 static struct stat ac_aggr;
6648 if (sizeof ac_aggr.st_rdev)
6654 rm -f conftest.$ac_objext
6655 if { (ac_try="$ac_compile"
6657 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6658 *) ac_try_echo
=$ac_try;;
6660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6661 (eval "$ac_compile") 2>conftest.er1
6663 grep -v '^ *+' conftest.er1
>conftest.err
6665 cat conftest.err
>&5
6666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6667 (exit $ac_status); } && {
6668 test -z "$ac_c_werror_flag" ||
6669 test ! -s conftest.err
6670 } && test -s conftest.
$ac_objext; then
6671 ac_cv_member_struct_stat_st_rdev
=yes
6673 echo "$as_me: failed program was:" >&5
6674 sed 's/^/| /' conftest.
$ac_ext >&5
6676 ac_cv_member_struct_stat_st_rdev
=no
6679 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6682 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6684 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
6685 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6; }
6686 if test $ac_cv_member_struct_stat_st_rdev = yes; then
6688 cat >>confdefs.h
<<_ACEOF
6689 #define HAVE_STRUCT_STAT_ST_RDEV 1
6693 cat >>confdefs.h
<<\_ACEOF
6694 #define HAVE_ST_RDEV 1
6700 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6701 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
6702 if test "${ac_cv_struct_tm+set}" = set; then
6703 echo $ECHO_N "(cached) $ECHO_C" >&6
6705 cat >conftest.
$ac_ext <<_ACEOF
6708 cat confdefs.h
>>conftest.
$ac_ext
6709 cat >>conftest.
$ac_ext <<_ACEOF
6710 /* end confdefs.h. */
6711 #include <sys/types.h>
6718 int *p = &tm.tm_sec;
6724 rm -f conftest.
$ac_objext
6725 if { (ac_try
="$ac_compile"
6727 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6728 *) ac_try_echo=$ac_try;;
6730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6731 (eval "$ac_compile") 2>conftest.er1
6733 grep -v '^ *+' conftest.er1 >conftest.err
6735 cat conftest.err >&5
6736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6737 (exit $ac_status); } && {
6738 test -z "$ac_c_werror_flag" ||
6739 test ! -s conftest.err
6740 } && test -s conftest.$ac_objext; then
6741 ac_cv_struct_tm=time.h
6743 echo "$as_me: failed program was:" >&5
6744 sed 's/^/| /' conftest.$ac_ext >&5
6746 ac_cv_struct_tm=sys/time.h
6749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6751 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6752 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
6753 if test $ac_cv_struct_tm = sys/time.h; then
6755 cat >>confdefs.h <<\_ACEOF
6756 #define TM_IN_SYS_TIME 1
6761 { echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
6762 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6; }
6763 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
6764 echo $ECHO_N "(cached) $ECHO_C" >&6
6766 cat >conftest.$ac_ext <<_ACEOF
6769 cat confdefs.h >>conftest.$ac_ext
6770 cat >>conftest.$ac_ext <<_ACEOF
6771 /* end confdefs.h. */
6772 #include <sys/types.h>
6773 #include <$ac_cv_struct_tm>
6779 static struct tm ac_aggr;
6780 if (ac_aggr.tm_zone)
6786 rm -f conftest.$ac_objext
6787 if { (ac_try="$ac_compile"
6789 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6790 *) ac_try_echo
=$ac_try;;
6792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6793 (eval "$ac_compile") 2>conftest.er1
6795 grep -v '^ *+' conftest.er1
>conftest.err
6797 cat conftest.err
>&5
6798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6799 (exit $ac_status); } && {
6800 test -z "$ac_c_werror_flag" ||
6801 test ! -s conftest.err
6802 } && test -s conftest.
$ac_objext; then
6803 ac_cv_member_struct_tm_tm_zone
=yes
6805 echo "$as_me: failed program was:" >&5
6806 sed 's/^/| /' conftest.
$ac_ext >&5
6808 cat >conftest.
$ac_ext <<_ACEOF
6811 cat confdefs.h
>>conftest.
$ac_ext
6812 cat >>conftest.
$ac_ext <<_ACEOF
6813 /* end confdefs.h. */
6814 #include <sys/types.h>
6815 #include <$ac_cv_struct_tm>
6821 static struct tm ac_aggr;
6822 if (sizeof ac_aggr.tm_zone)
6828 rm -f conftest.
$ac_objext
6829 if { (ac_try
="$ac_compile"
6831 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6832 *) ac_try_echo=$ac_try;;
6834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6835 (eval "$ac_compile") 2>conftest.er1
6837 grep -v '^ *+' conftest.er1 >conftest.err
6839 cat conftest.err >&5
6840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6841 (exit $ac_status); } && {
6842 test -z "$ac_c_werror_flag" ||
6843 test ! -s conftest.err
6844 } && test -s conftest.$ac_objext; then
6845 ac_cv_member_struct_tm_tm_zone=yes
6847 echo "$as_me: failed program was:" >&5
6848 sed 's/^/| /' conftest.$ac_ext >&5
6850 ac_cv_member_struct_tm_tm_zone=no
6853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6858 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
6859 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6; }
6860 if test $ac_cv_member_struct_tm_tm_zone = yes; then
6862 cat >>confdefs.h <<_ACEOF
6863 #define HAVE_STRUCT_TM_TM_ZONE 1
6869 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6871 cat >>confdefs.h <<\_ACEOF
6872 #define HAVE_TM_ZONE 1
6876 { echo "$as_me:$LINENO: checking whether tzname is declared" >&5
6877 echo $ECHO_N "checking whether tzname is declared... $ECHO_C" >&6; }
6878 if test "${ac_cv_have_decl_tzname+set}" = set; then
6879 echo $ECHO_N "(cached) $ECHO_C" >&6
6881 cat >conftest.$ac_ext <<_ACEOF
6884 cat confdefs.h >>conftest.$ac_ext
6885 cat >>conftest.$ac_ext <<_ACEOF
6886 /* end confdefs.h. */
6900 rm -f conftest.$ac_objext
6901 if { (ac_try="$ac_compile"
6903 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6904 *) ac_try_echo
=$ac_try;;
6906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6907 (eval "$ac_compile") 2>conftest.er1
6909 grep -v '^ *+' conftest.er1
>conftest.err
6911 cat conftest.err
>&5
6912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6913 (exit $ac_status); } && {
6914 test -z "$ac_c_werror_flag" ||
6915 test ! -s conftest.err
6916 } && test -s conftest.
$ac_objext; then
6917 ac_cv_have_decl_tzname
=yes
6919 echo "$as_me: failed program was:" >&5
6920 sed 's/^/| /' conftest.
$ac_ext >&5
6922 ac_cv_have_decl_tzname
=no
6925 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6927 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5
6928 echo "${ECHO_T}$ac_cv_have_decl_tzname" >&6; }
6929 if test $ac_cv_have_decl_tzname = yes; then
6931 cat >>confdefs.h
<<_ACEOF
6932 #define HAVE_DECL_TZNAME 1
6937 cat >>confdefs.h
<<_ACEOF
6938 #define HAVE_DECL_TZNAME 0
6945 { echo "$as_me:$LINENO: checking for tzname" >&5
6946 echo $ECHO_N "checking for tzname... $ECHO_C" >&6; }
6947 if test "${ac_cv_var_tzname+set}" = set; then
6948 echo $ECHO_N "(cached) $ECHO_C" >&6
6950 cat >conftest.
$ac_ext <<_ACEOF
6953 cat confdefs.h
>>conftest.
$ac_ext
6954 cat >>conftest.
$ac_ext <<_ACEOF
6955 /* end confdefs.h. */
6957 #if !HAVE_DECL_TZNAME
6958 extern char *tzname[];
6964 return tzname[0][0];
6969 rm -f conftest.
$ac_objext conftest
$ac_exeext
6970 if { (ac_try
="$ac_link"
6972 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6973 *) ac_try_echo=$ac_try;;
6975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6976 (eval "$ac_link") 2>conftest.er1
6978 grep -v '^ *+' conftest.er1 >conftest.err
6980 cat conftest.err >&5
6981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6982 (exit $ac_status); } && {
6983 test -z "$ac_c_werror_flag" ||
6984 test ! -s conftest.err
6985 } && test -s conftest$ac_exeext &&
6986 $as_test_x conftest$ac_exeext; then
6987 ac_cv_var_tzname=yes
6989 echo "$as_me: failed program was:" >&5
6990 sed 's/^/| /' conftest.$ac_ext >&5
6995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6996 conftest$ac_exeext conftest.$ac_ext
6998 { echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
6999 echo "${ECHO_T}$ac_cv_var_tzname" >&6; }
7000 if test $ac_cv_var_tzname = yes; then
7002 cat >>confdefs.h <<\_ACEOF
7003 #define HAVE_TZNAME 1
7009 { echo "$as_me:$LINENO: checking for off_t" >&5
7010 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
7011 if test "${ac_cv_type_off_t+set}" = set; then
7012 echo $ECHO_N "(cached) $ECHO_C" >&6
7014 cat >conftest.$ac_ext <<_ACEOF
7017 cat confdefs.h >>conftest.$ac_ext
7018 cat >>conftest.$ac_ext <<_ACEOF
7019 /* end confdefs.h. */
7020 $ac_includes_default
7021 typedef off_t ac__type_new_;
7025 if ((ac__type_new_ *) 0)
7027 if (sizeof (ac__type_new_))
7033 rm -f conftest.$ac_objext
7034 if { (ac_try="$ac_compile"
7036 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7037 *) ac_try_echo
=$ac_try;;
7039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7040 (eval "$ac_compile") 2>conftest.er1
7042 grep -v '^ *+' conftest.er1
>conftest.err
7044 cat conftest.err
>&5
7045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7046 (exit $ac_status); } && {
7047 test -z "$ac_c_werror_flag" ||
7048 test ! -s conftest.err
7049 } && test -s conftest.
$ac_objext; then
7050 ac_cv_type_off_t
=yes
7052 echo "$as_me: failed program was:" >&5
7053 sed 's/^/| /' conftest.
$ac_ext >&5
7058 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7060 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
7061 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
7062 if test $ac_cv_type_off_t = yes; then
7066 cat >>confdefs.h
<<_ACEOF
7067 #define off_t long int
7072 { echo "$as_me:$LINENO: checking for pid_t" >&5
7073 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
7074 if test "${ac_cv_type_pid_t+set}" = set; then
7075 echo $ECHO_N "(cached) $ECHO_C" >&6
7077 cat >conftest.
$ac_ext <<_ACEOF
7080 cat confdefs.h
>>conftest.
$ac_ext
7081 cat >>conftest.
$ac_ext <<_ACEOF
7082 /* end confdefs.h. */
7083 $ac_includes_default
7084 typedef pid_t ac__type_new_;
7088 if ((ac__type_new_ *) 0)
7090 if (sizeof (ac__type_new_))
7096 rm -f conftest.
$ac_objext
7097 if { (ac_try
="$ac_compile"
7099 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7100 *) ac_try_echo=$ac_try;;
7102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7103 (eval "$ac_compile") 2>conftest.er1
7105 grep -v '^ *+' conftest.er1 >conftest.err
7107 cat conftest.err >&5
7108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7109 (exit $ac_status); } && {
7110 test -z "$ac_c_werror_flag" ||
7111 test ! -s conftest.err
7112 } && test -s conftest.$ac_objext; then
7113 ac_cv_type_pid_t=yes
7115 echo "$as_me: failed program was:" >&5
7116 sed 's/^/| /' conftest.$ac_ext >&5
7121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7123 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
7124 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
7125 if test $ac_cv_type_pid_t = yes; then
7129 cat >>confdefs.h <<_ACEOF
7135 { echo "$as_me:$LINENO: checking for size_t" >&5
7136 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
7137 if test "${ac_cv_type_size_t+set}" = set; then
7138 echo $ECHO_N "(cached) $ECHO_C" >&6
7140 cat >conftest.$ac_ext <<_ACEOF
7143 cat confdefs.h >>conftest.$ac_ext
7144 cat >>conftest.$ac_ext <<_ACEOF
7145 /* end confdefs.h. */
7146 $ac_includes_default
7147 typedef size_t ac__type_new_;
7151 if ((ac__type_new_ *) 0)
7153 if (sizeof (ac__type_new_))
7159 rm -f conftest.$ac_objext
7160 if { (ac_try="$ac_compile"
7162 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7163 *) ac_try_echo
=$ac_try;;
7165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7166 (eval "$ac_compile") 2>conftest.er1
7168 grep -v '^ *+' conftest.er1
>conftest.err
7170 cat conftest.err
>&5
7171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7172 (exit $ac_status); } && {
7173 test -z "$ac_c_werror_flag" ||
7174 test ! -s conftest.err
7175 } && test -s conftest.
$ac_objext; then
7176 ac_cv_type_size_t
=yes
7178 echo "$as_me: failed program was:" >&5
7179 sed 's/^/| /' conftest.
$ac_ext >&5
7181 ac_cv_type_size_t
=no
7184 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7186 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
7187 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
7188 if test $ac_cv_type_size_t = yes; then
7192 cat >>confdefs.h
<<_ACEOF
7193 #define size_t unsigned int
7198 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
7199 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
7200 if test "${ac_cv_type_uid_t+set}" = set; then
7201 echo $ECHO_N "(cached) $ECHO_C" >&6
7203 cat >conftest.
$ac_ext <<_ACEOF
7206 cat confdefs.h
>>conftest.
$ac_ext
7207 cat >>conftest.
$ac_ext <<_ACEOF
7208 /* end confdefs.h. */
7209 #include <sys/types.h>
7212 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7213 $EGREP "uid_t" >/dev
/null
2>&1; then
7214 ac_cv_type_uid_t
=yes
7221 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
7222 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
7223 if test $ac_cv_type_uid_t = no
; then
7225 cat >>confdefs.h
<<\_ACEOF
7230 cat >>confdefs.h
<<\_ACEOF
7237 { echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
7238 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6; }
7239 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
7240 echo $ECHO_N "(cached) $ECHO_C" >&6
7242 cat >conftest.
$ac_ext <<_ACEOF
7245 cat confdefs.h
>>conftest.
$ac_ext
7246 cat >>conftest.
$ac_ext <<_ACEOF
7247 /* end confdefs.h. */
7248 $ac_includes_default
7252 static struct tm ac_aggr;
7253 if (ac_aggr.tm_gmtoff)
7259 rm -f conftest.
$ac_objext
7260 if { (ac_try
="$ac_compile"
7262 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7263 *) ac_try_echo=$ac_try;;
7265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7266 (eval "$ac_compile") 2>conftest.er1
7268 grep -v '^ *+' conftest.er1 >conftest.err
7270 cat conftest.err >&5
7271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7272 (exit $ac_status); } && {
7273 test -z "$ac_c_werror_flag" ||
7274 test ! -s conftest.err
7275 } && test -s conftest.$ac_objext; then
7276 ac_cv_member_struct_tm_tm_gmtoff=yes
7278 echo "$as_me: failed program was:" >&5
7279 sed 's/^/| /' conftest.$ac_ext >&5
7281 cat >conftest.$ac_ext <<_ACEOF
7284 cat confdefs.h >>conftest.$ac_ext
7285 cat >>conftest.$ac_ext <<_ACEOF
7286 /* end confdefs.h. */
7287 $ac_includes_default
7291 static struct tm ac_aggr;
7292 if (sizeof ac_aggr.tm_gmtoff)
7298 rm -f conftest.$ac_objext
7299 if { (ac_try="$ac_compile"
7301 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7302 *) ac_try_echo
=$ac_try;;
7304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7305 (eval "$ac_compile") 2>conftest.er1
7307 grep -v '^ *+' conftest.er1
>conftest.err
7309 cat conftest.err
>&5
7310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7311 (exit $ac_status); } && {
7312 test -z "$ac_c_werror_flag" ||
7313 test ! -s conftest.err
7314 } && test -s conftest.
$ac_objext; then
7315 ac_cv_member_struct_tm_tm_gmtoff
=yes
7317 echo "$as_me: failed program was:" >&5
7318 sed 's/^/| /' conftest.
$ac_ext >&5
7320 ac_cv_member_struct_tm_tm_gmtoff
=no
7323 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7326 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7328 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
7329 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6; }
7330 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
7332 cat >>confdefs.h
<<_ACEOF
7333 #define HAVE_STRUCT_TM_TM_GMTOFF 1
7340 # Look for some functions
7355 for ac_func
in getpagesize kqueue statfs statvfs \
7356 clone kse_create rfork_thread thr_create sa_register \
7357 getcontext makecontext setcontext sigaltstack swapcontext
7359 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7360 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7362 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7363 echo $ECHO_N "(cached) $ECHO_C" >&6
7365 cat >conftest.
$ac_ext <<_ACEOF
7368 cat confdefs.h
>>conftest.
$ac_ext
7369 cat >>conftest.
$ac_ext <<_ACEOF
7370 /* end confdefs.h. */
7371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7373 #define $ac_func innocuous_$ac_func
7375 /* System header to define __stub macros and hopefully few prototypes,
7376 which can conflict with char $ac_func (); below.
7377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7378 <limits.h> exists even on freestanding compilers. */
7381 # include <limits.h>
7383 # include <assert.h>
7388 /* Override any GCC internal prototype to avoid an error.
7389 Use char because int might match the return type of a GCC
7390 builtin and then its argument prototype would still apply. */
7395 /* The GNU C library defines this for functions which it implements
7396 to always fail with ENOSYS. Some functions are actually named
7397 something starting with __ and the normal name is an alias. */
7398 #if defined __stub_$ac_func || defined __stub___$ac_func
7410 rm -f conftest.
$ac_objext conftest
$ac_exeext
7411 if { (ac_try
="$ac_link"
7413 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7414 *) ac_try_echo=$ac_try;;
7416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7417 (eval "$ac_link") 2>conftest.er1
7419 grep -v '^ *+' conftest.er1 >conftest.err
7421 cat conftest.err >&5
7422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7423 (exit $ac_status); } && {
7424 test -z "$ac_c_werror_flag" ||
7425 test ! -s conftest.err
7426 } && test -s conftest$ac_exeext &&
7427 $as_test_x conftest$ac_exeext; then
7428 eval "$as_ac_var=yes"
7430 echo "$as_me: failed program was:" >&5
7431 sed 's/^/| /' conftest.$ac_ext >&5
7433 eval "$as_ac_var=no"
7436 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7437 conftest$ac_exeext conftest.$ac_ext
7439 ac_res=`eval echo '${'$as_ac_var'}'`
7440 { echo "$as_me:$LINENO: result: $ac_res" >&5
7441 echo "${ECHO_T}$ac_res" >&6; }
7442 if test `eval echo '${'$as_ac_var'}'` = yes; then
7443 cat >>confdefs.h <<_ACEOF
7444 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7453 for ac_header in stdlib.h unistd.h
7455 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7456 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7457 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7458 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7459 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7460 echo $ECHO_N "(cached) $ECHO_C" >&6
7462 ac_res=`eval echo '${'$as_ac_Header'}'`
7463 { echo "$as_me:$LINENO: result: $ac_res" >&5
7464 echo "${ECHO_T}$ac_res" >&6; }
7466 # Is the header compilable?
7467 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7468 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7469 cat >conftest.$ac_ext <<_ACEOF
7472 cat confdefs.h >>conftest.$ac_ext
7473 cat >>conftest.$ac_ext <<_ACEOF
7474 /* end confdefs.h. */
7475 $ac_includes_default
7476 #include <$ac_header>
7478 rm -f conftest.$ac_objext
7479 if { (ac_try="$ac_compile"
7481 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7482 *) ac_try_echo
=$ac_try;;
7484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7485 (eval "$ac_compile") 2>conftest.er1
7487 grep -v '^ *+' conftest.er1
>conftest.err
7489 cat conftest.err
>&5
7490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7491 (exit $ac_status); } && {
7492 test -z "$ac_c_werror_flag" ||
7493 test ! -s conftest.err
7494 } && test -s conftest.
$ac_objext; then
7495 ac_header_compiler
=yes
7497 echo "$as_me: failed program was:" >&5
7498 sed 's/^/| /' conftest.
$ac_ext >&5
7500 ac_header_compiler
=no
7503 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7504 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7505 echo "${ECHO_T}$ac_header_compiler" >&6; }
7507 # Is the header present?
7508 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7509 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7510 cat >conftest.
$ac_ext <<_ACEOF
7513 cat confdefs.h
>>conftest.
$ac_ext
7514 cat >>conftest.
$ac_ext <<_ACEOF
7515 /* end confdefs.h. */
7516 #include <$ac_header>
7518 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7520 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7521 *) ac_try_echo=$ac_try;;
7523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7524 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7526 grep -v '^ *+' conftest.er1 >conftest.err
7528 cat conftest.err >&5
7529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7530 (exit $ac_status); } >/dev/null && {
7531 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7532 test ! -s conftest.err
7534 ac_header_preproc=yes
7536 echo "$as_me: failed program was:" >&5
7537 sed 's/^/| /' conftest.$ac_ext >&5
7539 ac_header_preproc=no
7542 rm -f conftest.err conftest.$ac_ext
7543 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7544 echo "${ECHO_T}$ac_header_preproc" >&6; }
7546 # So? What about this header?
7547 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7549 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7550 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7551 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7552 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7553 ac_header_preproc=yes
7556 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7557 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7558 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7559 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7560 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7561 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7562 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7563 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7564 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7565 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7566 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7567 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7571 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7572 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7573 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7574 echo $ECHO_N "(cached) $ECHO_C" >&6
7576 eval "$as_ac_Header=\$ac_header_preproc"
7578 ac_res=`eval echo '${'$as_ac_Header'}'`
7579 { echo "$as_me:$LINENO: result: $ac_res" >&5
7580 echo "${ECHO_T}$ac_res" >&6; }
7583 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7584 cat >>confdefs.h <<_ACEOF
7585 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7593 for ac_func in getpagesize
7595 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
7596 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7598 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7599 echo $ECHO_N "(cached) $ECHO_C" >&6
7601 cat >conftest.$ac_ext <<_ACEOF
7604 cat confdefs.h >>conftest.$ac_ext
7605 cat >>conftest.$ac_ext <<_ACEOF
7606 /* end confdefs.h. */
7607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7609 #define $ac_func innocuous_$ac_func
7611 /* System header to define __stub macros and hopefully few prototypes,
7612 which can conflict with char $ac_func (); below.
7613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7614 <limits.h> exists even on freestanding compilers. */
7617 # include <limits.h>
7619 # include <assert.h>
7624 /* Override any GCC internal prototype to avoid an error.
7625 Use char because int might match the return type of a GCC
7626 builtin and then its argument prototype would still apply. */
7631 /* The GNU C library defines this for functions which it implements
7632 to always fail with ENOSYS. Some functions are actually named
7633 something starting with __ and the normal name is an alias. */
7634 #if defined __stub_$ac_func || defined __stub___$ac_func
7646 rm -f conftest.$ac_objext conftest$ac_exeext
7647 if { (ac_try="$ac_link"
7649 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7650 *) ac_try_echo
=$ac_try;;
7652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7653 (eval "$ac_link") 2>conftest.er1
7655 grep -v '^ *+' conftest.er1
>conftest.err
7657 cat conftest.err
>&5
7658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7659 (exit $ac_status); } && {
7660 test -z "$ac_c_werror_flag" ||
7661 test ! -s conftest.err
7662 } && test -s conftest
$ac_exeext &&
7663 $as_test_x conftest
$ac_exeext; then
7664 eval "$as_ac_var=yes"
7666 echo "$as_me: failed program was:" >&5
7667 sed 's/^/| /' conftest.
$ac_ext >&5
7669 eval "$as_ac_var=no"
7672 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7673 conftest
$ac_exeext conftest.
$ac_ext
7675 ac_res
=`eval echo '${'$as_ac_var'}'`
7676 { echo "$as_me:$LINENO: result: $ac_res" >&5
7677 echo "${ECHO_T}$ac_res" >&6; }
7678 if test `eval echo '${'$as_ac_var'}'` = yes; then
7679 cat >>confdefs.h
<<_ACEOF
7680 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7686 { echo "$as_me:$LINENO: checking for working mmap" >&5
7687 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
7688 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
7689 echo $ECHO_N "(cached) $ECHO_C" >&6
7691 if test "$cross_compiling" = yes; then
7692 ac_cv_func_mmap_fixed_mapped
=no
7694 cat >conftest.
$ac_ext <<_ACEOF
7697 cat confdefs.h
>>conftest.
$ac_ext
7698 cat >>conftest.
$ac_ext <<_ACEOF
7699 /* end confdefs.h. */
7700 $ac_includes_default
7701 /* malloc might have been renamed as rpl_malloc. */
7704 /* Thanks to Mike Haertel and Jim Avera for this test.
7705 Here is a matrix of mmap possibilities:
7706 mmap private not fixed
7707 mmap private fixed at somewhere currently unmapped
7708 mmap private fixed at somewhere already mapped
7709 mmap shared not fixed
7710 mmap shared fixed at somewhere currently unmapped
7711 mmap shared fixed at somewhere already mapped
7712 For private mappings, we should verify that changes cannot be read()
7713 back from the file, nor mmap's back from the file at a different
7714 address. (There have been systems where private was not correctly
7715 implemented like the infamous i386 svr4.0, and systems where the
7716 VM page cache was not coherent with the file system buffer cache
7717 like early versions of FreeBSD and possibly contemporary NetBSD.)
7718 For shared mappings, we should conversely verify that changes get
7719 propagated back to all the places they're supposed to be.
7721 Grep wants private fixed already mapped.
7722 The main things grep needs to know about mmap are:
7723 * does it exist and is it safe to write into the mmap'd area
7724 * how to use it (BSD variants) */
7727 #include <sys/mman.h>
7729 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7733 /* This mess was copied from the GNU getpagesize.h. */
7734 #ifndef HAVE_GETPAGESIZE
7735 /* Assume that all systems that can run configure have sys/param.h. */
7736 # ifndef HAVE_SYS_PARAM_H
7737 # define HAVE_SYS_PARAM_H 1
7740 # ifdef _SC_PAGESIZE
7741 # define getpagesize() sysconf(_SC_PAGESIZE)
7742 # else /* no _SC_PAGESIZE */
7743 # ifdef HAVE_SYS_PARAM_H
7744 # include <sys/param.h>
7745 # ifdef EXEC_PAGESIZE
7746 # define getpagesize() EXEC_PAGESIZE
7747 # else /* no EXEC_PAGESIZE */
7749 # define getpagesize() NBPG * CLSIZE
7752 # endif /* no CLSIZE */
7753 # else /* no NBPG */
7755 # define getpagesize() NBPC
7756 # else /* no NBPC */
7758 # define getpagesize() PAGESIZE
7759 # endif /* PAGESIZE */
7760 # endif /* no NBPC */
7761 # endif /* no NBPG */
7762 # endif /* no EXEC_PAGESIZE */
7763 # else /* no HAVE_SYS_PARAM_H */
7764 # define getpagesize() 8192 /* punt totally */
7765 # endif /* no HAVE_SYS_PARAM_H */
7766 # endif /* no _SC_PAGESIZE */
7768 #endif /* no HAVE_GETPAGESIZE */
7773 char *data, *data2, *data3;
7777 pagesize = getpagesize ();
7779 /* First, make a file with some known garbage in it. */
7780 data = (char *) malloc (pagesize);
7783 for (i = 0; i < pagesize; ++i)
7784 *(data + i) = rand ();
7786 fd = creat ("conftest.mmap", 0600);
7789 if (write (fd, data, pagesize) != pagesize)
7793 /* Next, try to mmap the file at a fixed address which already has
7794 something else allocated at it. If we can, also make sure that
7795 we see the same garbage. */
7796 fd = open ("conftest.mmap", O_RDWR);
7799 data2 = (char *) malloc (2 * pagesize);
7802 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
7803 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7804 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7806 for (i = 0; i < pagesize; ++i)
7807 if (*(data + i) != *(data2 + i))
7810 /* Finally, make sure that changes to the mapped area do not
7811 percolate back to the file as seen by read(). (This is a bug on
7812 some variants of i386 svr4.0.) */
7813 for (i = 0; i < pagesize; ++i)
7814 *(data2 + i) = *(data2 + i) + 1;
7815 data3 = (char *) malloc (pagesize);
7818 if (read (fd, data3, pagesize) != pagesize)
7820 for (i = 0; i < pagesize; ++i)
7821 if (*(data + i) != *(data3 + i))
7827 rm -f conftest
$ac_exeext
7828 if { (ac_try
="$ac_link"
7830 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7831 *) ac_try_echo=$ac_try;;
7833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7834 (eval "$ac_link") 2>&5
7836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7837 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7838 { (case "(($ac_try" in
7839 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7840 *) ac_try_echo
=$ac_try;;
7842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7843 (eval "$ac_try") 2>&5
7845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7846 (exit $ac_status); }; }; then
7847 ac_cv_func_mmap_fixed_mapped
=yes
7849 echo "$as_me: program exited with status $ac_status" >&5
7850 echo "$as_me: failed program was:" >&5
7851 sed 's/^/| /' conftest.
$ac_ext >&5
7854 ac_cv_func_mmap_fixed_mapped
=no
7856 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7861 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
7862 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
7863 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7865 cat >>confdefs.h
<<\_ACEOF
7875 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7876 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7877 aros_config_ldflags
=""
7879 aros_shared_default
=yes
7881 aros_shared_cflags
="-fPIC"
7882 aros_shared_aflags
=""
7883 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7884 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7886 aros_target_ar_flags
="cr"
7887 aros_target_nm_flags
="-C -ul"
7888 aros_target_strip_flags
="--strip-unneeded -R.comment"
7892 aros_target_genmap
="-Wl,-Map -Xlinker"
7894 # Native flavour stuff
7896 aros_serial_debug
="0"
7898 # Palm native flavour stuff
7899 aros_palm_debug_hack
="0"
7901 # Unix flavour stuff
7902 aros_nesting_supervisor
="0"
7904 # Collect-aros stuff: "-ius" to ignore undefined symbols
7905 ignore_undefined_symbols
=""
7907 #-----------------------------------------------------------------------------
7910 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7911 # it switched on by default, and we use the host compiler, so it compiles AROS
7912 # code with this enabled resulting in link failures as we don't have support
7915 # We use two methods to disable it. For the host compiler (used to compile
7916 # some hosted modules), we test to see if the compiler supports stack
7917 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7918 # work on all platforms.
7920 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
7921 # (this is done unconditionally, as it should have no effect on compilers
7922 # without the stack protection feature). This may be specific to the way that
7923 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
7924 # strong enough to disable it in a generic way though, so we'll live with it
7925 # until another vendor ships GCC with it enabled in a different way, and deal
7929 { echo "$as_me:$LINENO: checking whether ${CC} accepts -fno-stack-protector" >&5
7930 echo $ECHO_N "checking whether ${CC} accepts -fno-stack-protector... $ECHO_C" >&6; }
7931 save_cflags
="$CFLAGS"
7932 CFLAGS
="$CFLAGS -fno-stack-protector"
7933 cat >conftest.
$ac_ext <<_ACEOF
7936 cat confdefs.h
>>conftest.
$ac_ext
7937 cat >>conftest.
$ac_ext <<_ACEOF
7938 /* end confdefs.h. */
7948 rm -f conftest.
$ac_objext
7949 if { (ac_try
="$ac_compile"
7951 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7952 *) ac_try_echo=$ac_try;;
7954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7955 (eval "$ac_compile") 2>conftest.er1
7957 grep -v '^ *+' conftest.er1 >conftest.err
7959 cat conftest.err >&5
7960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7961 (exit $ac_status); } && {
7962 test -z "$ac_c_werror_flag" ||
7963 test ! -s conftest.err
7964 } && test -s conftest.$ac_objext; then
7965 use_no_stack_protector="yes"
7967 echo "$as_me: failed program was:" >&5
7968 sed 's/^/| /' conftest.$ac_ext >&5
7970 use_no_stack_protector="no"
7973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7974 { echo "$as_me:$LINENO: result: $use_no_stack_protector" >&5
7975 echo "${ECHO_T}$use_no_stack_protector" >&6; }
7976 if test "x-$use_no_stack_protector" = "x-yes" ; then
7977 aros_host_cflags="$aros_host_cflags -fno-stack-protector"
7979 CFLAGS="$save_cflags"
7982 #-----------------------------------------------------------------------------
7984 # Disable pointer-signedness warnings if the compiler recognises the option
7985 # (this only works for the host compiler at the moment)
7987 { echo "$as_me:$LINENO: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7988 echo $ECHO_N "checking whether ${CC} accepts -Wno-pointer-sign... $ECHO_C" >&6; }
7989 save_cflags="$CFLAGS"
7990 CFLAGS="$CFLAGS -Wno-pointer-sign"
7991 cat >conftest.$ac_ext <<_ACEOF
7994 cat confdefs.h >>conftest.$ac_ext
7995 cat >>conftest.$ac_ext <<_ACEOF
7996 /* end confdefs.h. */
8006 rm -f conftest.$ac_objext
8007 if { (ac_try="$ac_compile"
8009 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8010 *) ac_try_echo
=$ac_try;;
8012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8013 (eval "$ac_compile") 2>conftest.er1
8015 grep -v '^ *+' conftest.er1
>conftest.err
8017 cat conftest.err
>&5
8018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8019 (exit $ac_status); } && {
8020 test -z "$ac_c_werror_flag" ||
8021 test ! -s conftest.err
8022 } && test -s conftest.
$ac_objext; then
8023 use_no_sign_warning
="yes"
8025 echo "$as_me: failed program was:" >&5
8026 sed 's/^/| /' conftest.
$ac_ext >&5
8028 use_no_sign_warning
="no"
8031 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8032 { echo "$as_me:$LINENO: result: $use_no_sign_warning" >&5
8033 echo "${ECHO_T}$use_no_sign_warning" >&6; }
8034 if test "x-$use_no_sign_warning" = "x-yes" ; then
8035 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
8037 CFLAGS
="$save_cflags"
8039 #-----------------------------------------------------------------------------
8041 { echo "$as_me:$LINENO: checking for type of build" >&5
8042 echo $ECHO_N "checking for type of build... $ECHO_C" >&6; }
8043 # Check whether --enable-build_type was given.
8044 if test "${enable_build_type+set}" = set; then
8045 enableval
=$enable_build_type; build_type
=$enableval
8047 build_type
="personal"
8051 if test "$build_type" = "nightly"; then
8052 build_type_string
="NIGHTLY"
8053 elif test "$build_type" = "snapshot"; then
8054 build_type_string
="SNAPSHOT"
8055 elif test "$build_type" = "milestone"; then
8056 build_type_string
="MILESTONE"
8057 elif test "$build_type" = "release"; then
8058 build_type_string
="RELEASE"
8060 build_type_string
="PERSONAL"
8061 build_type
="personal"
8064 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
8066 { echo "$as_me:$LINENO: result: $build_type" >&5
8067 echo "${ECHO_T}$build_type" >&6; }
8069 #-----------------------------------------------------------------------------
8070 all_debug_types
="messages stack mungwall modules symbols"
8072 { echo "$as_me:$LINENO: checking which debug types to enable" >&5
8073 echo $ECHO_N "checking which debug types to enable... $ECHO_C" >&6; }
8074 # Check whether --enable-debug was given.
8075 if test "${enable_debug+set}" = set; then
8076 enableval
=$enable_debug; debug
="$enableval"
8082 if test "$debug" = "" -o "$debug" = "no"; then
8084 elif test "$debug" = "yes"; then
8088 if test "$debug" = "all" ; then
8089 debug
=$all_debug_types
8090 for d
in $all_debug_types; do
8091 export aros_
${d}_debug
="1"
8094 for d
in $all_debug_types; do
8095 export aros_
${d}_debug
="0"
8099 if test "$debug" != "none"; then
8100 debug
=`echo $debug | sed s/,/\ /g`
8103 for d2
in $all_debug_types; do
8104 if test "$d2" = "$d"; then
8109 if test "$found" = "0"; then
8110 { { echo "$as_me:$LINENO: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&5
8111 echo "$as_me: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&2;}
8112 { (exit 1); exit 1; }; }
8114 export aros_
${d}_debug
="1"
8118 { echo "$as_me:$LINENO: result: $debug" >&5
8119 echo "${ECHO_T}$debug" >&6; }
8121 if test "$aros_messages_debug" = "1"; then
8122 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
8124 aros_messages_debug
=""
8126 if test "$aros_symbols_debug" = "1"; then
8127 aros_symbols_debug
="-g"
8129 aros_symbols_debug
=""
8132 # These are the flags to pass when compiling debugged programs
8133 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8134 aros_debug_aflags
=""
8135 aros_debug_ldflags
="$aros_symbols_debug"
8137 aros_crosstools
="no"
8139 #-----------------------------------------------------------------------------
8140 # Checking if we should build crosstools..
8141 { echo "$as_me:$LINENO: checking whether to build crosstools" >&5
8142 echo $ECHO_N "checking whether to build crosstools... $ECHO_C" >&6; }
8143 # Check whether --enable-crosstools was given.
8144 if test "${enable_crosstools+set}" = set; then
8145 enableval
=$enable_crosstools; crosstools
="$enableval"
8150 if test "$crosstools" != "" -a "$crosstools" != "no"; then
8151 { echo "$as_me:$LINENO: result: yes" >&5
8152 echo "${ECHO_T}yes" >&6; }
8153 aros_crosstools
="yes"
8155 { echo "$as_me:$LINENO: result: no" >&5
8156 echo "${ECHO_T}no" >&6; }
8159 #-----------------------------------------------------------------------------
8160 # Checking for distcc and ccache.
8162 # Always apply the transforms in this particular order. Basically you should
8163 # always run 'ccache distcc compiler' in that order for the best performance.
8165 { echo "$as_me:$LINENO: checking whether to enable distcc" >&5
8166 echo $ECHO_N "checking whether to enable distcc... $ECHO_C" >&6; }
8167 # Check whether --enable-distcc was given.
8168 if test "${enable_distcc+set}" = set; then
8169 enableval
=$enable_distcc; distcc
="$enableval"
8174 if test "$distcc" != "" -a "$distcc" != "no"; then
8175 # AC_CHECK_PROG will print out the result in this case
8176 # Extract the first word of "distcc", so it can be a program name with args.
8177 set dummy distcc
; ac_word
=$2
8178 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8180 if test "${ac_cv_path_DISTCC+set}" = set; then
8181 echo $ECHO_N "(cached) $ECHO_C" >&6
8185 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
8188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8192 test -z "$as_dir" && as_dir
=.
8193 for ac_exec_ext
in '' $ac_executable_extensions; do
8194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8195 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
8196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8203 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
8207 DISTCC
=$ac_cv_path_DISTCC
8208 if test -n "$DISTCC"; then
8209 { echo "$as_me:$LINENO: result: $DISTCC" >&5
8210 echo "${ECHO_T}$DISTCC" >&6; }
8212 { echo "$as_me:$LINENO: result: no" >&5
8213 echo "${ECHO_T}no" >&6; }
8218 { echo "$as_me:$LINENO: result: no" >&5
8219 echo "${ECHO_T}no" >&6; }
8222 { echo "$as_me:$LINENO: checking whether to enable ccache" >&5
8223 echo $ECHO_N "checking whether to enable ccache... $ECHO_C" >&6; }
8224 # Check whether --enable-ccache was given.
8225 if test "${enable_ccache+set}" = set; then
8226 enableval
=$enable_ccache; ccache
="$enableval"
8231 if test "$ccache" != "" -a "$ccache" != "no"; then
8232 # AC_CHECK_PROG will print out the result in this case
8233 # Extract the first word of "ccache", so it can be a program name with args.
8234 set dummy ccache
; ac_word
=$2
8235 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8237 if test "${ac_cv_prog_CCACHE+set}" = set; then
8238 echo $ECHO_N "(cached) $ECHO_C" >&6
8240 if test -n "$CCACHE"; then
8241 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
8243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8247 test -z "$as_dir" && as_dir
=.
8248 for ac_exec_ext
in '' $ac_executable_extensions; do
8249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8250 ac_cv_prog_CCACHE
="ccache"
8251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8260 CCACHE
=$ac_cv_prog_CCACHE
8261 if test -n "$CCACHE"; then
8262 { echo "$as_me:$LINENO: result: $CCACHE" >&5
8263 echo "${ECHO_T}$CCACHE" >&6; }
8265 { echo "$as_me:$LINENO: result: no" >&5
8266 echo "${ECHO_T}no" >&6; }
8271 { echo "$as_me:$LINENO: result: no" >&5
8272 echo "${ECHO_T}no" >&6; }
8275 #-----------------------------------------------------------------------------
8276 { echo "$as_me:$LINENO: checking what optimization flags to use" >&5
8277 echo $ECHO_N "checking what optimization flags to use... $ECHO_C" >&6; }
8279 # Check whether --with-optimization was given.
8280 if test "${with_optimization+set}" = set; then
8281 withval
=$with_optimization; optimization
="$withval"
8283 optimization
="unknown"
8286 if test "$optimization" = "unknown"; then
8287 if test "$debug" != "none"; then
8293 aros_config_cflags
="$aros_config_cflags $optimization"
8294 { echo "$as_me:$LINENO: result: $optimization" >&5
8295 echo "${ECHO_T}$optimization" >&6; }
8297 #-----------------------------------------------------------------------------
8298 { echo "$as_me:$LINENO: checking what target variant to enable" >&5
8299 echo $ECHO_N "checking what target variant to enable... $ECHO_C" >&6; }
8300 # Check whether --enable-target_variant was given.
8301 if test "${enable_target_variant+set}" = set; then
8302 enableval
=$enable_target_variant; target_variant
=$enableval
8304 target_variant
="none"
8307 if test "$target_variant" = "none"; then
8308 aros_target_variant
=""
8309 aros_target_suffix
=""
8311 aros_target_variant
="$target_variant"
8312 aros_target_suffix
="-$target_variant"
8314 { echo "$as_me:$LINENO: result: $enableval" >&5
8315 echo "${ECHO_T}$enableval" >&6; }
8317 target_bootloader
="none"
8319 #-----------------------------------------------------------------------------
8320 # This is the target configuration switch.
8321 case "$target_os" in
8323 aros_target_arch
="linux"
8324 case "$target_cpu" in
8326 aros_target_cpu
="m68k"
8327 aros_object_format
="m68kelf"
8328 aros_flavour
="emulcompat"
8329 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
8330 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
8331 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
8332 gcc_target_cpu
="mc68000"
8335 aros_target_cpu
="i386"
8336 aros_object_format
="elf_i386"
8337 aros_flavour
="emulation"
8338 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
8339 aros_default_wbdepth
=8
8340 gcc_target_cpu
="i386"
8343 aros_target_cpu
="x86_64"
8344 aros_object_format
="elf_x86_64"
8345 aros_flavour
="emulation"
8346 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
8347 aros_config_cflags
="$aros_config_cflags -mno-red-zone"
8348 aros_default_wbdepth
=8
8349 gcc_target_cpu
="x86_64"
8352 aros_target_cpu
="ppc"
8353 aros_object_format
="elf32ppc"
8354 aros_flavour
="emulation"
8355 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8356 aros_default_wbdepth
=8
8357 gcc_target_cpu
="ppc"
8360 # Same as powerpc, but I need this for the nightly build to work again.
8361 # Actually, the nightly should be made working with powerpc target.
8362 # That just was too much work for the moment, another week or two.
8364 aros_target_cpu
="ppc"
8365 aros_object_format
="elf32ppc"
8366 aros_flavour
="emulation"
8367 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8368 aros_default_wbdepth
=8
8369 gcc_target_cpu
="ppc"
8372 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Linux -- $target_cpu\"" >&5
8373 echo "$as_me: error: \"Unknown CPU for Linux -- $target_cpu\"" >&2;}
8374 { (exit 1); exit 1; }; }
8380 aros_target_arch
="pc"
8381 aros_shared_default
="no"
8382 target_bootloader
="grub2"
8383 case "$target_cpu" in
8385 aros_target_cpu
="i386"
8388 if test "$aros_object_format" = "" ; then
8389 aros_object_format
="elf_i386"
8391 aros_flavour
="standalone"
8392 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8393 aros_kernel_ldflags
=""
8394 aros_default_wbwidth
=640
8395 aros_default_wbheight
=480
8396 gcc_target_cpu
="i386"
8399 aros_target_cpu
="x86_64"
8401 if test "$aros_object_format" = "" ; then
8402 aros_object_format
="elf_x86_64"
8404 aros_flavour
="standalone"
8405 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8406 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone"
8407 aros_kernel_ldflags
=""
8408 aros_default_wbwidth
=640
8409 aros_default_wbheight
=480
8410 gcc_target_cpu
="x86_64"
8413 { { echo "$as_me:$LINENO: error: \"Unknown native CPU -- $target_cpu\"" >&5
8414 echo "$as_me: error: \"Unknown native CPU -- $target_cpu\"" >&2;}
8415 { (exit 1); exit 1; }; }
8421 aros_target_arch
="prep"
8422 aros_shared_default
="no"
8423 aros_target_cpu
="ppc"
8424 aros_object_format
="elf32ppc"
8425 aros_flavour
="ppcnative"
8426 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8427 aros_kernel_ldflags
=""
8428 aros_default_wbwidth
=640
8429 aros_default_wbheight
=480
8430 gcc_target_cpu
="ppc"
8434 aros_target_arch
="freebsd"
8435 aros_target_cpu
="i386"
8436 aros_flavour
="emulation"
8437 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8438 gcc_target_cpu
="i386"
8440 aros_target_strip_flags
="-x"
8444 aros_target_arch
="darwin"
8445 aros_flavour
="emulation"
8446 case "$target_cpu" in
8448 aros_target_cpu
="i386"
8449 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8450 gcc_target_cpu
="i386"
8451 aros_object_format
="elf_i386"
8452 aros_target_strip_flags
="-x"
8455 { { echo "$as_me:$LINENO: error: \"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" >&5
8456 echo "$as_me: error: \"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" >&2;}
8457 { (exit 1); exit 1; }; }
8462 aros_target_arch
="netbsd"
8463 case "$target_cpu" in
8465 aros_target_cpu
="m68k"
8466 aros_object_format
="m68kelf"
8467 aros_flavour
="emulcompat"
8468 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8469 gcc_target_cpu
="mc68000"
8472 aros_target_cpu
="i386"
8473 aros_object_format
="elf_i386"
8474 aros_flavour
="emulation"
8475 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8476 aros_default_wbdepth
=8
8477 gcc_target_cpu
="i386"
8480 { { echo "$as_me:$LINENO: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&5
8481 echo "$as_me: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&2;}
8482 { (exit 1); exit 1; }; }
8485 aros_target_genmap
="-Wl,-M -Xlinker >"
8486 aros_flavour
="emulation"
8487 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8491 aros_target_arch
="openbsd"
8492 case "$target_cpu" in
8494 aros_target_cpu
="i386"
8495 aros_object_format
="elf_i386"
8496 aros_flavour
="emulation"
8497 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8498 gcc_target_cpu
="i386"
8501 { { echo "$as_me:$LINENO: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&5
8502 echo "$as_me: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&2;}
8503 { (exit 1); exit 1; }; }
8506 aros_target_genmap
="-Wl,-M -Xlinker >"
8507 aros_target_nm_flags
="-u"
8508 aros_flavour
="emulation"
8512 aros_target_arch
="solaris"
8513 case "$target_cpu" in
8515 aros_target_cpu
="i386"
8516 aros_object_format
="elf_i386"
8517 aros_flavour
="emulation"
8518 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8519 aros_default_wbdepth
=8
8520 gcc_target_cpu
="i386"
8523 aros_target_cpu
="sparc"
8524 aros_object_format
="elf_sparc"
8525 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8526 gcc_target_cpu
="sparc"
8529 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&5
8530 echo "$as_me: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&2;}
8531 { (exit 1); exit 1; }; }
8534 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8535 aros_flavour
="emulation"
8539 aros_target_arch
="morphos"
8540 aros_shared_default
="no"
8541 aros_target_cpu
="ppc"
8542 aros_object_format
="elf_ppc"
8543 aros_flavour
="nativecompat"
8544 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8545 gcc_target_cpu
="ppc"
8549 aros_target_arch
="sam440"
8550 aros_shared_default
="no"
8551 aros_target_cpu
="ppc"
8552 aros_object_format
="elf32ppc"
8553 aros_flavour
="ppcnative"
8554 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8555 aros_kernel_ldflags
=""
8556 aros_default_wbwidth
=640
8557 aros_default_wbheight
=480
8558 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8559 gcc_target_cpu
="powerpc"
8563 aros_target_arch
="chrp"
8564 aros_shared_default
="no"
8565 aros_target_cpu
="ppc"
8566 aros_object_format
="elf32ppc"
8567 aros_flavour
="ppcnative"
8568 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8569 aros_kernel_ldflags
=""
8570 aros_default_wbwidth
=640
8571 aros_default_wbheight
=480
8572 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
8573 gcc_target_cpu
="powerpc"
8574 case "$aros_target_variant" in
8576 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
8582 aros_target_arch
="amiga"
8583 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8584 aros_shared_default
="no"
8586 aros_config_cflags
="$aros_config_cflags -fomit-frame-pointer -fbuiltin -ffreestanding"
8588 case "$target_cpu" in
8590 aros_target_cpu
="m68k"
8591 aros_object_format
="m68kelf"
8592 aros_flavour
="nativecompat"
8593 gcc_target_cpu
="mc68000"
8597 aros_flavour
="native"
8598 gcc_target_cpu
="ppc"
8601 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Amiga $target_cpu\"" >&5
8602 echo "$as_me: error: \"Unknown CPU for Amiga $target_cpu\"" >&2;}
8603 { (exit 1); exit 1; }; }
8609 aros_target_arch
="cygwin"
8610 aros_shared_default
="no"
8611 case "$target_cpu" in
8613 aros_target_cpu
="i386"
8614 aros_object_format
="elf_i386"
8615 aros_flavour
="emulation"
8616 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__CYGWIN32__"
8617 aros_shared_cflags
=""
8618 aros_default_wbdepth
=8
8619 gcc_target_cpu
="i386"
8620 aros_target_cc
="i386-aros-gcc"
8621 aros_target_ld
="i386-aros-ld"
8622 aros_target_as
="i386-aros-as"
8623 aros_target_ar
="i386-aros-ar"
8624 aros_target_ranlib
="i386-aros-ranlib"
8625 aros_target_nm
="i386-aros-nm"
8626 aros_target_strip
="i386-aros-strip"
8627 aros_target_objcopy
="i386-aros-objcopy"
8628 aros_target_objdump
="i386-aros-objdump"
8631 { { echo "$as_me:$LINENO: error: \"Unknown CPU for CygWin -- $target_cpu\"" >&5
8632 echo "$as_me: error: \"Unknown CPU for CygWin -- $target_cpu\"" >&2;}
8633 { (exit 1); exit 1; }; }
8639 aros_target_arch
="mingw32"
8640 aros_shared_default
="no"
8641 case "$target_cpu" in
8643 aros_target_cpu
="i386"
8644 aros_object_format
="elf_i386"
8645 aros_flavour
="emulation"
8646 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8647 aros_shared_cflags
=""
8648 aros_default_wbdepth
=8
8649 gcc_target_cpu
="i386"
8650 aros_target_cc
="i386-aros-gcc"
8651 aros_target_ld
="i386-aros-ld"
8652 aros_target_as
="i386-aros-as"
8653 aros_target_ar
="i386-aros-ar"
8654 aros_target_ranlib
="i386-aros-ranlib"
8655 aros_target_nm
="i386-aros-nm"
8656 aros_target_strip
="i386-aros-strip"
8657 aros_target_objcopy
="i386-aros-objcopy"
8658 aros_target_objdump
="i386-aros-objdump"
8661 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Mingw32 -- $target_cpu\"" >&5
8662 echo "$as_me: error: \"Unknown CPU for Mingw32 -- $target_cpu\"" >&2;}
8663 { (exit 1); exit 1; }; }
8666 if test $host_os = "cygwin"; then
8667 aros_kernel_cflags
="-mno-cygwin"
8671 aros_target_arch
="pp"
8672 aros_shared_default
="no"
8673 case "$target_cpu" in
8675 aros_target_cpu
="m68k"
8676 aros_object_format
="m68kelf"
8677 aros_flavour
="palmnative"
8678 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8679 aros_kernel_ldflags
=""
8680 aros_default_wbwidth
=160
8681 aros_default_wbheight
=160
8682 aros_default_wbdepth
=1
8683 aros_target_ar_flags
="cru"
8684 aros_compiler_libs
="-lgcc1"
8685 aros_shared_default
=no
8686 aros_shared_cflags
="-fpic"
8687 aros_shared_aflags
=""
8688 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8689 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8690 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
8691 aros_debug_aflags
=""
8692 aros_debug_ldflags
="$aros_symbols_debug"
8693 aros_mungwall_debug
="0"
8694 aros_modules_debug
="0"
8695 gcc_target_cpu
="mc68000"
8696 ignore_undefined_symbols
="-ius"
8699 { { echo "$as_me:$LINENO: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&5
8700 echo "$as_me: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&2;}
8701 { (exit 1); exit 1; }; }
8707 aros_target_arch
="mac"
8708 aros_shared_default
="no"
8709 case "$target_cpu" in
8711 aros_target_cpu
="m68k"
8712 aros_object_format
="m68kelf"
8713 aros_flavour
="mac68knative"
8714 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8715 aros_default_wbwidth
=512
8716 aros_default_wbheight
=384
8717 aros_default_wbdepth
=8
8718 aros_target_ar_flags
="cru"
8719 aros_compiler_libs
="-lgcc1"
8720 aros_shared_default
=no
8721 aros_shared_cflags
="-fpic"
8722 aros_shared_aflags
=""
8723 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8724 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8725 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000"
8726 aros_debug_aflags
=""
8727 aros_debug_ldflags
="$aros_symbols_debug"
8728 aros_mungwall_debug
="0"
8729 aros_modules_debug
="0"
8730 gcc_target_cpu
="mc68000"
8731 ignore_undefined_symbols
="-ius"
8734 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&5
8735 echo "$as_me: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&2;}
8736 { (exit 1); exit 1; }; }
8742 { { echo "$as_me:$LINENO: error: Unsupported target architecture $target" >&5
8743 echo "$as_me: error: Unsupported target architecture $target" >&2;}
8744 { (exit 1); exit 1; }; }
8748 { echo "$as_me:$LINENO: checking Where to download sourcecode for external ports" >&5
8749 echo $ECHO_N "checking Where to download sourcecode for external ports... $ECHO_C" >&6; }
8751 # Check whether --with-portssources was given.
8752 if test "${with_portssources+set}" = set; then
8753 withval
=$with_portssources; with_portssrcdir
=$withval
8755 with_portssrcdir
="default"
8758 if test "$with_portssrcdir" = "default"; then
8759 AROS_PORTSSRCDIR
="$AROS_BUILDDIR/bin/Sources"
8761 AROS_PORTSSRCDIR
="$with_portssrcdir"
8763 { echo "$as_me:$LINENO: result: $AROS_PORTSSRCDIR" >&5
8764 echo "${ECHO_T}$AROS_PORTSSRCDIR" >&6; }
8766 { echo "$as_me:$LINENO: checking which bootloader to use" >&5
8767 echo $ECHO_N "checking which bootloader to use... $ECHO_C" >&6; }
8769 # Check whether --with-bootloader was given.
8770 if test "${with_bootloader+set}" = set; then
8771 withval
=$with_bootloader; target_bootloader
=$withval
8773 target_bootloader
=$target_bootloader
8776 if test "$target_bootloader" = "none"; then
8777 aros_target_bootloader
=""
8779 aros_target_bootloader
="$target_bootloader"
8781 { echo "$as_me:$LINENO: result: $target_bootloader" >&5
8782 echo "${ECHO_T}$target_bootloader" >&6; }
8784 # Check LZO when compiling the grub2 bootloader on i386/x86_64.
8785 aros_liblzo_check
="no"
8786 case "$aros_target_bootloader" in
8788 case "$target_cpu" in
8790 aros_liblzo_check
="yes"
8793 aros_liblzo_check
="yes"
8804 if test "$aros_liblzo_check" = "yes"; then
8805 # There are three possibilities. LZO version 2 installed with the name
8806 # liblzo2, with the name liblzo, and LZO version 1.
8807 { echo "$as_me:$LINENO: checking for __lzo_init_v2 in -llzo2" >&5
8808 echo $ECHO_N "checking for __lzo_init_v2 in -llzo2... $ECHO_C" >&6; }
8809 if test "${ac_cv_lib_lzo2___lzo_init_v2+set}" = set; then
8810 echo $ECHO_N "(cached) $ECHO_C" >&6
8812 ac_check_lib_save_LIBS
=$LIBS
8814 cat >conftest.
$ac_ext <<_ACEOF
8817 cat confdefs.h
>>conftest.
$ac_ext
8818 cat >>conftest.
$ac_ext <<_ACEOF
8819 /* end confdefs.h. */
8821 /* Override any GCC internal prototype to avoid an error.
8822 Use char because int might match the return type of a GCC
8823 builtin and then its argument prototype would still apply. */
8827 char __lzo_init_v2 ();
8831 return __lzo_init_v2 ();
8836 rm -f conftest.
$ac_objext conftest
$ac_exeext
8837 if { (ac_try
="$ac_link"
8839 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8840 *) ac_try_echo=$ac_try;;
8842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8843 (eval "$ac_link") 2>conftest.er1
8845 grep -v '^ *+' conftest.er1 >conftest.err
8847 cat conftest.err >&5
8848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8849 (exit $ac_status); } && {
8850 test -z "$ac_c_werror_flag" ||
8851 test ! -s conftest.err
8852 } && test -s conftest$ac_exeext &&
8853 $as_test_x conftest$ac_exeext; then
8854 ac_cv_lib_lzo2___lzo_init_v2=yes
8856 echo "$as_me: failed program was:" >&5
8857 sed 's/^/| /' conftest.$ac_ext >&5
8859 ac_cv_lib_lzo2___lzo_init_v2=no
8862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8863 conftest$ac_exeext conftest.$ac_ext
8864 LIBS=$ac_check_lib_save_LIBS
8866 { echo "$as_me:$LINENO: result: $ac_cv_lib_lzo2___lzo_init_v2" >&5
8867 echo "${ECHO_T}$ac_cv_lib_lzo2___lzo_init_v2" >&6; }
8868 if test $ac_cv_lib_lzo2___lzo_init_v2 = yes; then
8871 { echo "$as_me:$LINENO: checking for __lzo_init_v2 in -llzo" >&5
8872 echo $ECHO_N "checking for __lzo_init_v2 in -llzo... $ECHO_C" >&6; }
8873 if test "${ac_cv_lib_lzo___lzo_init_v2+set}" = set; then
8874 echo $ECHO_N "(cached) $ECHO_C" >&6
8876 ac_check_lib_save_LIBS=$LIBS
8878 cat >conftest.$ac_ext <<_ACEOF
8881 cat confdefs.h >>conftest.$ac_ext
8882 cat >>conftest.$ac_ext <<_ACEOF
8883 /* end confdefs.h. */
8885 /* Override any GCC internal prototype to avoid an error.
8886 Use char because int might match the return type of a GCC
8887 builtin and then its argument prototype would still apply. */
8891 char __lzo_init_v2 ();
8895 return __lzo_init_v2 ();
8900 rm -f conftest.$ac_objext conftest$ac_exeext
8901 if { (ac_try="$ac_link"
8903 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8904 *) ac_try_echo
=$ac_try;;
8906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8907 (eval "$ac_link") 2>conftest.er1
8909 grep -v '^ *+' conftest.er1
>conftest.err
8911 cat conftest.err
>&5
8912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8913 (exit $ac_status); } && {
8914 test -z "$ac_c_werror_flag" ||
8915 test ! -s conftest.err
8916 } && test -s conftest
$ac_exeext &&
8917 $as_test_x conftest
$ac_exeext; then
8918 ac_cv_lib_lzo___lzo_init_v2
=yes
8920 echo "$as_me: failed program was:" >&5
8921 sed 's/^/| /' conftest.
$ac_ext >&5
8923 ac_cv_lib_lzo___lzo_init_v2
=no
8926 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8927 conftest
$ac_exeext conftest.
$ac_ext
8928 LIBS
=$ac_check_lib_save_LIBS
8930 { echo "$as_me:$LINENO: result: $ac_cv_lib_lzo___lzo_init_v2" >&5
8931 echo "${ECHO_T}$ac_cv_lib_lzo___lzo_init_v2" >&6; }
8932 if test $ac_cv_lib_lzo___lzo_init_v2 = yes; then
8935 { echo "$as_me:$LINENO: checking for __lzo_init2 in -llzo" >&5
8936 echo $ECHO_N "checking for __lzo_init2 in -llzo... $ECHO_C" >&6; }
8937 if test "${ac_cv_lib_lzo___lzo_init2+set}" = set; then
8938 echo $ECHO_N "(cached) $ECHO_C" >&6
8940 ac_check_lib_save_LIBS
=$LIBS
8942 cat >conftest.
$ac_ext <<_ACEOF
8945 cat confdefs.h
>>conftest.
$ac_ext
8946 cat >>conftest.
$ac_ext <<_ACEOF
8947 /* end confdefs.h. */
8949 /* Override any GCC internal prototype to avoid an error.
8950 Use char because int might match the return type of a GCC
8951 builtin and then its argument prototype would still apply. */
8955 char __lzo_init2 ();
8959 return __lzo_init2 ();
8964 rm -f conftest.
$ac_objext conftest
$ac_exeext
8965 if { (ac_try
="$ac_link"
8967 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8968 *) ac_try_echo=$ac_try;;
8970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8971 (eval "$ac_link") 2>conftest.er1
8973 grep -v '^ *+' conftest.er1 >conftest.err
8975 cat conftest.err >&5
8976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8977 (exit $ac_status); } && {
8978 test -z "$ac_c_werror_flag" ||
8979 test ! -s conftest.err
8980 } && test -s conftest$ac_exeext &&
8981 $as_test_x conftest$ac_exeext; then
8982 ac_cv_lib_lzo___lzo_init2=yes
8984 echo "$as_me: failed program was:" >&5
8985 sed 's/^/| /' conftest.$ac_ext >&5
8987 ac_cv_lib_lzo___lzo_init2=no
8990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8991 conftest$ac_exeext conftest.$ac_ext
8992 LIBS=$ac_check_lib_save_LIBS
8994 { echo "$as_me:$LINENO: result: $ac_cv_lib_lzo___lzo_init2" >&5
8995 echo "${ECHO_T}$ac_cv_lib_lzo___lzo_init2" >&6; }
8996 if test $ac_cv_lib_lzo___lzo_init2 = yes; then
8999 { { echo "$as_me:$LINENO: error: LZO library version 1.02 or later is required" >&5
9000 echo "$as_me: error: LZO library version 1.02 or later is required" >&2;}
9001 { (exit 1); exit 1; }; }
9010 LIBS="$LIBS $LIBLZO"
9011 { echo "$as_me:$LINENO: checking for lzo1x_999_compress" >&5
9012 echo $ECHO_N "checking for lzo1x_999_compress... $ECHO_C" >&6; }
9013 if test "${ac_cv_func_lzo1x_999_compress+set}" = set; then
9014 echo $ECHO_N "(cached) $ECHO_C" >&6
9016 cat >conftest.$ac_ext <<_ACEOF
9019 cat confdefs.h >>conftest.$ac_ext
9020 cat >>conftest.$ac_ext <<_ACEOF
9021 /* end confdefs.h. */
9022 /* Define lzo1x_999_compress to an innocuous variant, in case <limits.h> declares lzo1x_999_compress.
9023 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9024 #define lzo1x_999_compress innocuous_lzo1x_999_compress
9026 /* System header to define __stub macros and hopefully few prototypes,
9027 which can conflict with char lzo1x_999_compress (); below.
9028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9029 <limits.h> exists even on freestanding compilers. */
9032 # include <limits.h>
9034 # include <assert.h>
9037 #undef lzo1x_999_compress
9039 /* Override any GCC internal prototype to avoid an error.
9040 Use char because int might match the return type of a GCC
9041 builtin and then its argument prototype would still apply. */
9045 char lzo1x_999_compress ();
9046 /* The GNU C library defines this for functions which it implements
9047 to always fail with ENOSYS. Some functions are actually named
9048 something starting with __ and the normal name is an alias. */
9049 #if defined __stub_lzo1x_999_compress || defined __stub___lzo1x_999_compress
9056 return lzo1x_999_compress ();
9061 rm -f conftest.$ac_objext conftest$ac_exeext
9062 if { (ac_try="$ac_link"
9064 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9065 *) ac_try_echo
=$ac_try;;
9067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9068 (eval "$ac_link") 2>conftest.er1
9070 grep -v '^ *+' conftest.er1
>conftest.err
9072 cat conftest.err
>&5
9073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9074 (exit $ac_status); } && {
9075 test -z "$ac_c_werror_flag" ||
9076 test ! -s conftest.err
9077 } && test -s conftest
$ac_exeext &&
9078 $as_test_x conftest
$ac_exeext; then
9079 ac_cv_func_lzo1x_999_compress
=yes
9081 echo "$as_me: failed program was:" >&5
9082 sed 's/^/| /' conftest.
$ac_ext >&5
9084 ac_cv_func_lzo1x_999_compress
=no
9087 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9088 conftest
$ac_exeext conftest.
$ac_ext
9090 { echo "$as_me:$LINENO: result: $ac_cv_func_lzo1x_999_compress" >&5
9091 echo "${ECHO_T}$ac_cv_func_lzo1x_999_compress" >&6; }
9092 if test $ac_cv_func_lzo1x_999_compress = yes; then
9095 { { echo "$as_me:$LINENO: error: LZO1X-999 must be enabled" >&5
9096 echo "$as_me: error: LZO1X-999 must be enabled" >&2;}
9097 { (exit 1); exit 1; }; }
9101 # LZO version 2 uses lzo/lzo1x.h, while LZO version 1 uses lzo1x.h.
9104 for ac_header
in lzo
/lzo1x.h lzo1x.h
9106 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9107 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9108 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9109 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9110 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9111 echo $ECHO_N "(cached) $ECHO_C" >&6
9113 ac_res
=`eval echo '${'$as_ac_Header'}'`
9114 { echo "$as_me:$LINENO: result: $ac_res" >&5
9115 echo "${ECHO_T}$ac_res" >&6; }
9117 # Is the header compilable?
9118 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9119 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9120 cat >conftest.
$ac_ext <<_ACEOF
9123 cat confdefs.h
>>conftest.
$ac_ext
9124 cat >>conftest.
$ac_ext <<_ACEOF
9125 /* end confdefs.h. */
9126 $ac_includes_default
9127 #include <$ac_header>
9129 rm -f conftest.
$ac_objext
9130 if { (ac_try
="$ac_compile"
9132 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9133 *) ac_try_echo=$ac_try;;
9135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9136 (eval "$ac_compile") 2>conftest.er1
9138 grep -v '^ *+' conftest.er1 >conftest.err
9140 cat conftest.err >&5
9141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9142 (exit $ac_status); } && {
9143 test -z "$ac_c_werror_flag" ||
9144 test ! -s conftest.err
9145 } && test -s conftest.$ac_objext; then
9146 ac_header_compiler=yes
9148 echo "$as_me: failed program was:" >&5
9149 sed 's/^/| /' conftest.$ac_ext >&5
9151 ac_header_compiler=no
9154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9155 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9156 echo "${ECHO_T}$ac_header_compiler" >&6; }
9158 # Is the header present?
9159 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9160 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9161 cat >conftest.$ac_ext <<_ACEOF
9164 cat confdefs.h >>conftest.$ac_ext
9165 cat >>conftest.$ac_ext <<_ACEOF
9166 /* end confdefs.h. */
9167 #include <$ac_header>
9169 if { (ac_try="$ac_cpp conftest.$ac_ext"
9171 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9172 *) ac_try_echo
=$ac_try;;
9174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9175 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9177 grep -v '^ *+' conftest.er1
>conftest.err
9179 cat conftest.err
>&5
9180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9181 (exit $ac_status); } >/dev
/null
&& {
9182 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9183 test ! -s conftest.err
9185 ac_header_preproc
=yes
9187 echo "$as_me: failed program was:" >&5
9188 sed 's/^/| /' conftest.
$ac_ext >&5
9190 ac_header_preproc
=no
9193 rm -f conftest.err conftest.
$ac_ext
9194 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9195 echo "${ECHO_T}$ac_header_preproc" >&6; }
9197 # So? What about this header?
9198 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9200 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9201 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9202 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9203 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9204 ac_header_preproc
=yes
9207 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9208 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9209 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9210 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9211 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9212 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9213 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9214 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9215 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9216 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9217 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9218 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9222 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9223 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9224 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9225 echo $ECHO_N "(cached) $ECHO_C" >&6
9227 eval "$as_ac_Header=\$ac_header_preproc"
9229 ac_res
=`eval echo '${'$as_ac_Header'}'`
9230 { echo "$as_me:$LINENO: result: $ac_res" >&5
9231 echo "${ECHO_T}$ac_res" >&6; }
9234 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9235 cat >>confdefs.h
<<_ACEOF
9236 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9245 { echo "$as_me:$LINENO: checking which GUI Theme to use" >&5
9246 echo $ECHO_N "checking which GUI Theme to use... $ECHO_C" >&6; }
9248 # Check whether --with-theme was given.
9249 if test "${with_theme+set}" = set; then
9250 withval
=$with_theme; target_guitheme
=$withval
9252 target_guitheme
="default"
9255 if test "$target_guitheme" = "default"; then
9256 aros_target_guitheme
="Ice"
9258 aros_target_guitheme
="$target_guitheme"
9260 { echo "$as_me:$LINENO: result: $aros_target_guitheme" >&5
9261 echo "${ECHO_T}$aros_target_guitheme" >&6; }
9263 # Find out if we are cross-compiling (ie. if we can't use the host compiler
9266 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
9269 if test "$aros_host_arch" == "darwin" ; then
9273 # Set prefix for target compiler etc. if we're cross-compiling
9274 # (should possibly be earlier but needs to be after AC_PROG_CC)
9275 if test "$cross_compiling" = "yes" ; then
9276 target_tool_prefix
=${target_cpu}-elf-
9277 CC
=${target_tool_prefix}gcc
9280 #-----------------------------------------------------------------------------
9282 # Disable pointer-signedness warnings if the compiler recognises the option
9284 { echo "$as_me:$LINENO: checking whether ${CC} accepts -Wno-pointer-sign" >&5
9285 echo $ECHO_N "checking whether ${CC} accepts -Wno-pointer-sign... $ECHO_C" >&6; }
9286 save_cflags
="$CFLAGS"
9287 CFLAGS
="$CFLAGS -Wno-pointer-sign"
9288 cat >conftest.
$ac_ext <<_ACEOF
9291 cat confdefs.h
>>conftest.
$ac_ext
9292 cat >>conftest.
$ac_ext <<_ACEOF
9293 /* end confdefs.h. */
9303 rm -f conftest.
$ac_objext
9304 if { (ac_try
="$ac_compile"
9306 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9307 *) ac_try_echo=$ac_try;;
9309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9310 (eval "$ac_compile") 2>conftest.er1
9312 grep -v '^ *+' conftest.er1 >conftest.err
9314 cat conftest.err >&5
9315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9316 (exit $ac_status); } && {
9317 test -z "$ac_c_werror_flag" ||
9318 test ! -s conftest.err
9319 } && test -s conftest.$ac_objext; then
9320 use_no_sign_warning="yes"
9322 echo "$as_me: failed program was:" >&5
9323 sed 's/^/| /' conftest.$ac_ext >&5
9325 use_no_sign_warning="no"
9328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9329 { echo "$as_me:$LINENO: result: $use_no_sign_warning" >&5
9330 echo "${ECHO_T}$use_no_sign_warning" >&6; }
9331 if test "x-$use_no_sign_warning" = "x-yes" ; then
9332 aros_config_cflags="$aros_config_cflags -Wno-pointer-sign"
9334 CFLAGS="$save_cflags"
9336 #-----------------------------------------------------------------------------
9338 # Find all the tools we need to compile. This could be cross-compiling
9339 # though! If that is the case we use the GNU form of the target and
9340 # simply add this to the front of the binary name. This is rather simple,
9341 # but it should work under most circumstances.
9343 # The default tools are to use the same as the host, but only if the
9344 # host and target CPU are the same. With GCC this is normally enough.
9348 aros_shared_ld="$aros_host_ld"
9350 aros_target_mkdep="$aros_host_mkdep"
9351 aros_target_incl_def="$aros_host_incl"
9353 # Extract the first word of "$CC", so it can be a program name with args.
9354 set dummy $CC; ac_word=$2
9355 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9356 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9357 if test "${ac_cv_path_aros_kernel_cc+set}" = set; then
9358 echo $ECHO_N "(cached) $ECHO_C" >&6
9360 case $aros_kernel_cc in
9362 ac_cv_path_aros_kernel_cc="$aros_kernel_cc" # Let the user override the test with a path.
9365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9369 test -z "$as_dir" && as_dir=.
9370 for ac_exec_ext in '' $ac_executable_extensions; do
9371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9372 ac_cv_path_aros_kernel_cc="$as_dir/$ac_word$ac_exec_ext"
9373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9383 aros_kernel_cc=$ac_cv_path_aros_kernel_cc
9384 if test -n "$aros_kernel_cc"; then
9385 { echo "$as_me:$LINENO: result: $aros_kernel_cc" >&5
9386 echo "${ECHO_T}$aros_kernel_cc" >&6; }
9388 { echo "$as_me:$LINENO: result: no" >&5
9389 echo "${ECHO_T}no" >&6; }
9394 # The default tools executables to be linked to.
9395 if test "$aros_target_cc" != ""; then
9396 # Extract the first word of "$aros_target_cc", so it can be a program name with args.
9397 set dummy $aros_target_cc; ac_word=$2
9398 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9400 if test "${ac_cv_path_aros_target_cc+set}" = set; then
9401 echo $ECHO_N "(cached) $ECHO_C" >&6
9403 case $aros_target_cc in
9405 ac_cv_path_aros_target_cc="$aros_target_cc" # Let the user override the test with a path.
9408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9412 test -z "$as_dir" && as_dir=.
9413 for ac_exec_ext in '' $ac_executable_extensions; do
9414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9415 ac_cv_path_aros_target_cc="$as_dir/$ac_word$ac_exec_ext"
9416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9426 aros_target_cc=$ac_cv_path_aros_target_cc
9427 if test -n "$aros_target_cc"; then
9428 { echo "$as_me:$LINENO: result: $aros_target_cc" >&5
9429 echo "${ECHO_T}$aros_target_cc" >&6; }
9431 { echo "$as_me:$LINENO: result: no" >&5
9432 echo "${ECHO_T}no" >&6; }
9436 if test "$aros_target_cc" = ""; then
9437 { { echo "$as_me:$LINENO: error: gcc is required to build AROS. Please install and run configure again." >&5
9438 echo "$as_me: error: gcc is required to build AROS. Please install and run configure again." >&2;}
9439 { (exit 1); exit 1; }; }
9442 if test "$aros_target_ld" != ""; then
9443 # Extract the first word of "$aros_target_ld", so it can be a program name with args.
9444 set dummy $aros_target_ld; ac_word=$2
9445 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9447 if test "${ac_cv_path_aros_target_ld+set}" = set; then
9448 echo $ECHO_N "(cached) $ECHO_C" >&6
9450 case $aros_target_ld in
9452 ac_cv_path_aros_target_ld="$aros_target_ld" # Let the user override the test with a path.
9455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9459 test -z "$as_dir" && as_dir=.
9460 for ac_exec_ext in '' $ac_executable_extensions; do
9461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9462 ac_cv_path_aros_target_ld="$as_dir/$ac_word$ac_exec_ext"
9463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9473 aros_target_ld=$ac_cv_path_aros_target_ld
9474 if test -n "$aros_target_ld"; then
9475 { echo "$as_me:$LINENO: result: $aros_target_ld" >&5
9476 echo "${ECHO_T}$aros_target_ld" >&6; }
9478 { echo "$as_me:$LINENO: result: no" >&5
9479 echo "${ECHO_T}no" >&6; }
9483 if test "$aros_target_ld" = ""; then
9484 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
9485 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
9486 { (exit 1); exit 1; }; }
9490 if test "$crosstools" != "yes"; then
9492 if test "$aros_target_as" = ""; then
9493 if test "$cross_compiling" = "yes" ; then
9494 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
9495 set dummy ${target_tool_prefix}as; ac_word=$2
9496 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9498 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9499 echo $ECHO_N "(cached) $ECHO_C" >&6
9501 case $aros_target_as_ln in
9503 ac_cv_path_aros_target_as_ln="$aros_target_as_ln" # Let the user override the test with a path.
9506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9510 test -z "$as_dir" && as_dir=.
9511 for ac_exec_ext in '' $ac_executable_extensions; do
9512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9513 ac_cv_path_aros_target_as_ln="$as_dir/$ac_word$ac_exec_ext"
9514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9524 aros_target_as_ln=$ac_cv_path_aros_target_as_ln
9525 if test -n "$aros_target_as_ln"; then
9526 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9527 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9529 { echo "$as_me:$LINENO: result: no" >&5
9530 echo "${ECHO_T}no" >&6; }
9535 if test "$GCC" = "yes"; then
9536 aros_gcc_as=`$CC -print-prog-name=as
`
9537 # Extract the first word of "`basename $aros_gcc_[as
]`", so it can be a program name with args.
9538 set dummy `basename $aros_gcc_as`; ac_word=$2
9539 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9541 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9542 echo $ECHO_N "(cached) $ECHO_C" >&6
9544 case $aros_target_as_ln in
9546 ac_cv_path_aros_target_as_ln="$aros_target_as_ln" # Let the user override the test with a path.
9549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9550 for as_dir in `dirname $aros_gcc_as`
9553 test -z "$as_dir" && as_dir=.
9554 for ac_exec_ext in '' $ac_executable_extensions; do
9555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9556 ac_cv_path_aros_target_as_ln="$as_dir/$ac_word$ac_exec_ext"
9557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9567 aros_target_as_ln=$ac_cv_path_aros_target_as_ln
9568 if test -n "$aros_target_as_ln"; then
9569 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9570 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9572 { echo "$as_me:$LINENO: result: no" >&5
9573 echo "${ECHO_T}no" >&6; }
9578 if test "$aros_target_as_ln" = ""; then
9579 # Extract the first word of "as", so it can be a program name with args.
9580 set dummy as; ac_word=$2
9581 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9583 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9584 echo $ECHO_N "(cached) $ECHO_C" >&6
9586 case $aros_target_as_ln in
9588 ac_cv_path_aros_target_as_ln="$aros_target_as_ln" # Let the user override the test with a path.
9591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9595 test -z "$as_dir" && as_dir=.
9596 for ac_exec_ext in '' $ac_executable_extensions; do
9597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9598 ac_cv_path_aros_target_as_ln="$as_dir/$ac_word$ac_exec_ext"
9599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9609 aros_target_as_ln=$ac_cv_path_aros_target_as_ln
9610 if test -n "$aros_target_as_ln"; then
9611 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9612 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9614 { echo "$as_me:$LINENO: result: no" >&5
9615 echo "${ECHO_T}no" >&6; }
9622 # Extract the first word of "$aros_target_as", so it can be a program name with args.
9623 set dummy $aros_target_as; ac_word=$2
9624 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9626 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9627 echo $ECHO_N "(cached) $ECHO_C" >&6
9629 case $aros_target_as_ln in
9631 ac_cv_path_aros_target_as_ln="$aros_target_as_ln" # Let the user override the test with a path.
9634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9638 test -z "$as_dir" && as_dir=.
9639 for ac_exec_ext in '' $ac_executable_extensions; do
9640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9641 ac_cv_path_aros_target_as_ln="$as_dir/$ac_word$ac_exec_ext"
9642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9652 aros_target_as_ln=$ac_cv_path_aros_target_as_ln
9653 if test -n "$aros_target_as_ln"; then
9654 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9655 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9657 { echo "$as_me:$LINENO: result: no" >&5
9658 echo "${ECHO_T}no" >&6; }
9664 if test "$aros_target_as_ln" = ""; then
9665 { { echo "$as_me:$LINENO: error: as is required to build AROS. Please install and run configure again." >&5
9666 echo "$as_me: error: as is required to build AROS. Please install and run configure again." >&2;}
9667 { (exit 1); exit 1; }; }
9670 if test "$aros_kernel_ld" = ""; then
9671 if test "$cross_compiling" = "yes" ; then
9672 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
9673 set dummy ${target_tool_prefix}ld; ac_word=$2
9674 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9675 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9676 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9677 echo $ECHO_N "(cached) $ECHO_C" >&6
9679 case $aros_kernel_ld in
9681 ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path.
9684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9688 test -z "$as_dir" && as_dir=.
9689 for ac_exec_ext in '' $ac_executable_extensions; do
9690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9691 ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext"
9692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9702 aros_kernel_ld=$ac_cv_path_aros_kernel_ld
9703 if test -n "$aros_kernel_ld"; then
9704 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9705 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9707 { echo "$as_me:$LINENO: result: no" >&5
9708 echo "${ECHO_T}no" >&6; }
9713 if test "$GCC" = "yes"; then
9714 aros_gcc_ld=`$CC -print-prog-name=ld
`
9715 # Extract the first word of "`basename $aros_gcc_[ld
]`", so it can be a program name with args.
9716 set dummy `basename $aros_gcc_ld`; ac_word=$2
9717 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9719 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9720 echo $ECHO_N "(cached) $ECHO_C" >&6
9722 case $aros_kernel_ld in
9724 ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path.
9727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9728 for as_dir in `dirname $aros_gcc_ld`
9731 test -z "$as_dir" && as_dir=.
9732 for ac_exec_ext in '' $ac_executable_extensions; do
9733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9734 ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext"
9735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9745 aros_kernel_ld=$ac_cv_path_aros_kernel_ld
9746 if test -n "$aros_kernel_ld"; then
9747 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9748 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9750 { echo "$as_me:$LINENO: result: no" >&5
9751 echo "${ECHO_T}no" >&6; }
9756 if test "$aros_kernel_ld" = ""; then
9757 # Extract the first word of "ld", so it can be a program name with args.
9758 set dummy ld; ac_word=$2
9759 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9761 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9762 echo $ECHO_N "(cached) $ECHO_C" >&6
9764 case $aros_kernel_ld in
9766 ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path.
9769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9773 test -z "$as_dir" && as_dir=.
9774 for ac_exec_ext in '' $ac_executable_extensions; do
9775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9776 ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext"
9777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9787 aros_kernel_ld=$ac_cv_path_aros_kernel_ld
9788 if test -n "$aros_kernel_ld"; then
9789 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9790 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9792 { echo "$as_me:$LINENO: result: no" >&5
9793 echo "${ECHO_T}no" >&6; }
9800 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
9801 set dummy $aros_kernel_ld; ac_word=$2
9802 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9804 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9805 echo $ECHO_N "(cached) $ECHO_C" >&6
9807 case $aros_kernel_ld in
9809 ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path.
9812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9816 test -z "$as_dir" && as_dir=.
9817 for ac_exec_ext in '' $ac_executable_extensions; do
9818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9819 ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext"
9820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9830 aros_kernel_ld=$ac_cv_path_aros_kernel_ld
9831 if test -n "$aros_kernel_ld"; then
9832 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9833 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9835 { echo "$as_me:$LINENO: result: no" >&5
9836 echo "${ECHO_T}no" >&6; }
9842 if test "$aros_kernel_ld" = ""; then
9843 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
9844 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
9845 { (exit 1); exit 1; }; }
9848 if test "$aros_target_ar" = ""; then
9849 if test "$cross_compiling" = "yes" ; then
9850 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
9851 set dummy ${target_tool_prefix}ar; ac_word=$2
9852 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9854 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9855 echo $ECHO_N "(cached) $ECHO_C" >&6
9857 case $aros_target_ar_ln in
9859 ac_cv_path_aros_target_ar_ln="$aros_target_ar_ln" # Let the user override the test with a path.
9862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9866 test -z "$as_dir" && as_dir=.
9867 for ac_exec_ext in '' $ac_executable_extensions; do
9868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9869 ac_cv_path_aros_target_ar_ln="$as_dir/$ac_word$ac_exec_ext"
9870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9880 aros_target_ar_ln=$ac_cv_path_aros_target_ar_ln
9881 if test -n "$aros_target_ar_ln"; then
9882 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9883 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9885 { echo "$as_me:$LINENO: result: no" >&5
9886 echo "${ECHO_T}no" >&6; }
9891 if test "$GCC" = "yes"; then
9892 aros_gcc_ar=`$CC -print-prog-name=ar`
9893 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9894 set dummy `basename $aros_gcc_ar`; ac_word=$2
9895 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9896 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9897 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9898 echo $ECHO_N "(cached) $ECHO_C" >&6
9900 case $aros_target_ar_ln in
9902 ac_cv_path_aros_target_ar_ln="$aros_target_ar_ln" # Let the user override the test with a path.
9905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9906 for as_dir in `dirname $aros_gcc_ar`
9909 test -z "$as_dir" && as_dir=.
9910 for ac_exec_ext in '' $ac_executable_extensions; do
9911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9912 ac_cv_path_aros_target_ar_ln="$as_dir/$ac_word$ac_exec_ext"
9913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9923 aros_target_ar_ln=$ac_cv_path_aros_target_ar_ln
9924 if test -n "$aros_target_ar_ln"; then
9925 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9926 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9928 { echo "$as_me:$LINENO: result: no" >&5
9929 echo "${ECHO_T}no" >&6; }
9934 if test "$aros_target_ar_ln" = ""; then
9935 # Extract the first word of "ar", so it can be a program name with args.
9936 set dummy ar; ac_word=$2
9937 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9939 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9940 echo $ECHO_N "(cached) $ECHO_C" >&6
9942 case $aros_target_ar_ln in
9944 ac_cv_path_aros_target_ar_ln="$aros_target_ar_ln" # Let the user override the test with a path.
9947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9951 test -z "$as_dir" && as_dir=.
9952 for ac_exec_ext in '' $ac_executable_extensions; do
9953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9954 ac_cv_path_aros_target_ar_ln="$as_dir/$ac_word$ac_exec_ext"
9955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9965 aros_target_ar_ln=$ac_cv_path_aros_target_ar_ln
9966 if test -n "$aros_target_ar_ln"; then
9967 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9968 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9970 { echo "$as_me:$LINENO: result: no" >&5
9971 echo "${ECHO_T}no" >&6; }
9978 # Extract the first word of "$aros_target_ar", so it can be a program name with args.
9979 set dummy $aros_target_ar; ac_word=$2
9980 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9982 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9983 echo $ECHO_N "(cached) $ECHO_C" >&6
9985 case $aros_target_ar_ln in
9987 ac_cv_path_aros_target_ar_ln="$aros_target_ar_ln" # Let the user override the test with a path.
9990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9994 test -z "$as_dir" && as_dir=.
9995 for ac_exec_ext in '' $ac_executable_extensions; do
9996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9997 ac_cv_path_aros_target_ar_ln="$as_dir/$ac_word$ac_exec_ext"
9998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10008 aros_target_ar_ln=$ac_cv_path_aros_target_ar_ln
10009 if test -n "$aros_target_ar_ln"; then
10010 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
10011 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
10013 { echo "$as_me:$LINENO: result: no" >&5
10014 echo "${ECHO_T}no" >&6; }
10020 if test "$aros_target_ar_ln" = ""; then
10021 { { echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
10022 echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
10023 { (exit 1); exit 1; }; }
10026 if test "$aros_target_nm" = ""; then
10027 if test "$cross_compiling" = "yes" ; then
10028 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
10029 set dummy ${target_tool_prefix}nm; ac_word=$2
10030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10032 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
10033 echo $ECHO_N "(cached) $ECHO_C" >&6
10035 case $aros_target_nm_ln in
10037 ac_cv_path_aros_target_nm_ln="$aros_target_nm_ln" # Let the user override the test with a path.
10040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10041 for as_dir in $PATH
10044 test -z "$as_dir" && as_dir=.
10045 for ac_exec_ext in '' $ac_executable_extensions; do
10046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10047 ac_cv_path_aros_target_nm_ln="$as_dir/$ac_word$ac_exec_ext"
10048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10058 aros_target_nm_ln=$ac_cv_path_aros_target_nm_ln
10059 if test -n "$aros_target_nm_ln"; then
10060 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10061 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
10063 { echo "$as_me:$LINENO: result: no" >&5
10064 echo "${ECHO_T}no" >&6; }
10069 if test "$GCC" = "yes"; then
10070 aros_gcc_nm=`$CC -print-prog-name=nm
`
10071 # Extract the first word of "`basename $aros_gcc_[nm
]`", so it can be a program name with args.
10072 set dummy `basename $aros_gcc_nm`; ac_word=$2
10073 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10075 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
10076 echo $ECHO_N "(cached) $ECHO_C" >&6
10078 case $aros_target_nm_ln in
10080 ac_cv_path_aros_target_nm_ln="$aros_target_nm_ln" # Let the user override the test with a path.
10083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10084 for as_dir in `dirname $aros_gcc_nm`
10087 test -z "$as_dir" && as_dir=.
10088 for ac_exec_ext in '' $ac_executable_extensions; do
10089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10090 ac_cv_path_aros_target_nm_ln="$as_dir/$ac_word$ac_exec_ext"
10091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10101 aros_target_nm_ln=$ac_cv_path_aros_target_nm_ln
10102 if test -n "$aros_target_nm_ln"; then
10103 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10104 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
10106 { echo "$as_me:$LINENO: result: no" >&5
10107 echo "${ECHO_T}no" >&6; }
10112 if test "$aros_target_nm_ln" = ""; then
10113 # Extract the first word of "nm", so it can be a program name with args.
10114 set dummy nm; ac_word=$2
10115 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10117 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
10118 echo $ECHO_N "(cached) $ECHO_C" >&6
10120 case $aros_target_nm_ln in
10122 ac_cv_path_aros_target_nm_ln="$aros_target_nm_ln" # Let the user override the test with a path.
10125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10126 for as_dir in $PATH
10129 test -z "$as_dir" && as_dir=.
10130 for ac_exec_ext in '' $ac_executable_extensions; do
10131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10132 ac_cv_path_aros_target_nm_ln="$as_dir/$ac_word$ac_exec_ext"
10133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10143 aros_target_nm_ln=$ac_cv_path_aros_target_nm_ln
10144 if test -n "$aros_target_nm_ln"; then
10145 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10146 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
10148 { echo "$as_me:$LINENO: result: no" >&5
10149 echo "${ECHO_T}no" >&6; }
10156 # Extract the first word of "$aros_target_nm", so it can be a program name with args.
10157 set dummy $aros_target_nm; ac_word=$2
10158 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10160 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
10161 echo $ECHO_N "(cached) $ECHO_C" >&6
10163 case $aros_target_nm_ln in
10165 ac_cv_path_aros_target_nm_ln="$aros_target_nm_ln" # Let the user override the test with a path.
10168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10169 for as_dir in $PATH
10172 test -z "$as_dir" && as_dir=.
10173 for ac_exec_ext in '' $ac_executable_extensions; do
10174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10175 ac_cv_path_aros_target_nm_ln="$as_dir/$ac_word$ac_exec_ext"
10176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10186 aros_target_nm_ln=$ac_cv_path_aros_target_nm_ln
10187 if test -n "$aros_target_nm_ln"; then
10188 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10189 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
10191 { echo "$as_me:$LINENO: result: no" >&5
10192 echo "${ECHO_T}no" >&6; }
10198 if test "$aros_target_nm_ln" = ""; then
10199 { { echo "$as_me:$LINENO: error: nm is required to build AROS. Please install and run configure again." >&5
10200 echo "$as_me: error: nm is required to build AROS. Please install and run configure again." >&2;}
10201 { (exit 1); exit 1; }; }
10204 if test "$aros_target_objcopy" = ""; then
10205 if test "$cross_compiling" = "yes" ; then
10206 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
10207 set dummy ${target_tool_prefix}objcopy; ac_word=$2
10208 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10209 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10210 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10211 echo $ECHO_N "(cached) $ECHO_C" >&6
10213 case $aros_target_objcopy_ln in
10215 ac_cv_path_aros_target_objcopy_ln="$aros_target_objcopy_ln" # Let the user override the test with a path.
10218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10219 for as_dir in $PATH
10222 test -z "$as_dir" && as_dir=.
10223 for ac_exec_ext in '' $ac_executable_extensions; do
10224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10225 ac_cv_path_aros_target_objcopy_ln="$as_dir/$ac_word$ac_exec_ext"
10226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10236 aros_target_objcopy_ln=$ac_cv_path_aros_target_objcopy_ln
10237 if test -n "$aros_target_objcopy_ln"; then
10238 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10239 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
10241 { echo "$as_me:$LINENO: result: no" >&5
10242 echo "${ECHO_T}no" >&6; }
10247 if test "$GCC" = "yes"; then
10248 aros_gcc_objcopy=`$CC -print-prog-name=objcopy
`
10249 # Extract the first word of "`basename $aros_gcc_[objcopy
]`", so it can be a program name with args.
10250 set dummy `basename $aros_gcc_objcopy`; ac_word=$2
10251 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10252 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10253 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10254 echo $ECHO_N "(cached) $ECHO_C" >&6
10256 case $aros_target_objcopy_ln in
10258 ac_cv_path_aros_target_objcopy_ln="$aros_target_objcopy_ln" # Let the user override the test with a path.
10261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10262 for as_dir in `dirname $aros_gcc_objcopy`
10265 test -z "$as_dir" && as_dir=.
10266 for ac_exec_ext in '' $ac_executable_extensions; do
10267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10268 ac_cv_path_aros_target_objcopy_ln="$as_dir/$ac_word$ac_exec_ext"
10269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10279 aros_target_objcopy_ln=$ac_cv_path_aros_target_objcopy_ln
10280 if test -n "$aros_target_objcopy_ln"; then
10281 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10282 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
10284 { echo "$as_me:$LINENO: result: no" >&5
10285 echo "${ECHO_T}no" >&6; }
10290 if test "$aros_target_objcopy_ln" = ""; then
10291 # Extract the first word of "objcopy", so it can be a program name with args.
10292 set dummy objcopy; ac_word=$2
10293 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10295 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10296 echo $ECHO_N "(cached) $ECHO_C" >&6
10298 case $aros_target_objcopy_ln in
10300 ac_cv_path_aros_target_objcopy_ln="$aros_target_objcopy_ln" # Let the user override the test with a path.
10303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10304 for as_dir in $PATH
10307 test -z "$as_dir" && as_dir=.
10308 for ac_exec_ext in '' $ac_executable_extensions; do
10309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10310 ac_cv_path_aros_target_objcopy_ln="$as_dir/$ac_word$ac_exec_ext"
10311 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10321 aros_target_objcopy_ln=$ac_cv_path_aros_target_objcopy_ln
10322 if test -n "$aros_target_objcopy_ln"; then
10323 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10324 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
10326 { echo "$as_me:$LINENO: result: no" >&5
10327 echo "${ECHO_T}no" >&6; }
10334 # Extract the first word of "$aros_target_objcopy", so it can be a program name with args.
10335 set dummy $aros_target_objcopy; ac_word=$2
10336 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10338 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10339 echo $ECHO_N "(cached) $ECHO_C" >&6
10341 case $aros_target_objcopy_ln in
10343 ac_cv_path_aros_target_objcopy_ln="$aros_target_objcopy_ln" # Let the user override the test with a path.
10346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10347 for as_dir in $PATH
10350 test -z "$as_dir" && as_dir=.
10351 for ac_exec_ext in '' $ac_executable_extensions; do
10352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10353 ac_cv_path_aros_target_objcopy_ln="$as_dir/$ac_word$ac_exec_ext"
10354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10364 aros_target_objcopy_ln=$ac_cv_path_aros_target_objcopy_ln
10365 if test -n "$aros_target_objcopy_ln"; then
10366 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10367 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
10369 { echo "$as_me:$LINENO: result: no" >&5
10370 echo "${ECHO_T}no" >&6; }
10376 if test "$aros_target_objcopy_ln" = ""; then
10377 { { echo "$as_me:$LINENO: error: objcopy is required to build AROS. Please install and run configure again." >&5
10378 echo "$as_me: error: objcopy is required to build AROS. Please install and run configure again." >&2;}
10379 { (exit 1); exit 1; }; }
10382 if test "$aros_target_objdump" = ""; then
10383 if test "$cross_compiling" = "yes" ; then
10384 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
10385 set dummy ${target_tool_prefix}objdump; ac_word=$2
10386 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10388 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10389 echo $ECHO_N "(cached) $ECHO_C" >&6
10391 case $aros_target_objdump_ln in
10393 ac_cv_path_aros_target_objdump_ln="$aros_target_objdump_ln" # Let the user override the test with a path.
10396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10397 for as_dir in $PATH
10400 test -z "$as_dir" && as_dir=.
10401 for ac_exec_ext in '' $ac_executable_extensions; do
10402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10403 ac_cv_path_aros_target_objdump_ln="$as_dir/$ac_word$ac_exec_ext"
10404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10414 aros_target_objdump_ln=$ac_cv_path_aros_target_objdump_ln
10415 if test -n "$aros_target_objdump_ln"; then
10416 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10417 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
10419 { echo "$as_me:$LINENO: result: no" >&5
10420 echo "${ECHO_T}no" >&6; }
10425 if test "$GCC" = "yes"; then
10426 aros_gcc_objdump=`$CC -print-prog-name=objdump
`
10427 # Extract the first word of "`basename $aros_gcc_[objdump
]`", so it can be a program name with args.
10428 set dummy `basename $aros_gcc_objdump`; ac_word=$2
10429 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10431 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10432 echo $ECHO_N "(cached) $ECHO_C" >&6
10434 case $aros_target_objdump_ln in
10436 ac_cv_path_aros_target_objdump_ln="$aros_target_objdump_ln" # Let the user override the test with a path.
10439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10440 for as_dir in `dirname $aros_gcc_objdump`
10443 test -z "$as_dir" && as_dir=.
10444 for ac_exec_ext in '' $ac_executable_extensions; do
10445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10446 ac_cv_path_aros_target_objdump_ln="$as_dir/$ac_word$ac_exec_ext"
10447 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10457 aros_target_objdump_ln=$ac_cv_path_aros_target_objdump_ln
10458 if test -n "$aros_target_objdump_ln"; then
10459 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10460 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
10462 { echo "$as_me:$LINENO: result: no" >&5
10463 echo "${ECHO_T}no" >&6; }
10468 if test "$aros_target_objdump_ln" = ""; then
10469 # Extract the first word of "objdump", so it can be a program name with args.
10470 set dummy objdump; ac_word=$2
10471 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10472 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10473 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10474 echo $ECHO_N "(cached) $ECHO_C" >&6
10476 case $aros_target_objdump_ln in
10478 ac_cv_path_aros_target_objdump_ln="$aros_target_objdump_ln" # Let the user override the test with a path.
10481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10482 for as_dir in $PATH
10485 test -z "$as_dir" && as_dir=.
10486 for ac_exec_ext in '' $ac_executable_extensions; do
10487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10488 ac_cv_path_aros_target_objdump_ln="$as_dir/$ac_word$ac_exec_ext"
10489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10499 aros_target_objdump_ln=$ac_cv_path_aros_target_objdump_ln
10500 if test -n "$aros_target_objdump_ln"; then
10501 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10502 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
10504 { echo "$as_me:$LINENO: result: no" >&5
10505 echo "${ECHO_T}no" >&6; }
10512 # Extract the first word of "$aros_target_objdump", so it can be a program name with args.
10513 set dummy $aros_target_objdump; ac_word=$2
10514 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10516 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10517 echo $ECHO_N "(cached) $ECHO_C" >&6
10519 case $aros_target_objdump_ln in
10521 ac_cv_path_aros_target_objdump_ln="$aros_target_objdump_ln" # Let the user override the test with a path.
10524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10525 for as_dir in $PATH
10528 test -z "$as_dir" && as_dir=.
10529 for ac_exec_ext in '' $ac_executable_extensions; do
10530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10531 ac_cv_path_aros_target_objdump_ln="$as_dir/$ac_word$ac_exec_ext"
10532 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10542 aros_target_objdump_ln=$ac_cv_path_aros_target_objdump_ln
10543 if test -n "$aros_target_objdump_ln"; then
10544 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10545 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
10547 { echo "$as_me:$LINENO: result: no" >&5
10548 echo "${ECHO_T}no" >&6; }
10554 if test "$aros_target_objdump_ln" = ""; then
10555 { { echo "$as_me:$LINENO: error: objdump is required to build AROS. Please install and run configure again." >&5
10556 echo "$as_me: error: objdump is required to build AROS. Please install and run configure again." >&2;}
10557 { (exit 1); exit 1; }; }
10560 if test "$aros_target_ranlib" = ""; then
10561 if test "$cross_compiling" = "yes" ; then
10562 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
10563 set dummy ${target_tool_prefix}ranlib; ac_word=$2
10564 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10566 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10567 echo $ECHO_N "(cached) $ECHO_C" >&6
10569 case $aros_target_ranlib_ln in
10571 ac_cv_path_aros_target_ranlib_ln="$aros_target_ranlib_ln" # Let the user override the test with a path.
10574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10575 for as_dir in $PATH
10578 test -z "$as_dir" && as_dir=.
10579 for ac_exec_ext in '' $ac_executable_extensions; do
10580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10581 ac_cv_path_aros_target_ranlib_ln="$as_dir/$ac_word$ac_exec_ext"
10582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10592 aros_target_ranlib_ln=$ac_cv_path_aros_target_ranlib_ln
10593 if test -n "$aros_target_ranlib_ln"; then
10594 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10595 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10597 { echo "$as_me:$LINENO: result: no" >&5
10598 echo "${ECHO_T}no" >&6; }
10603 if test "$GCC" = "yes"; then
10604 aros_gcc_ranlib=`$CC -print-prog-name=ranlib
`
10605 # Extract the first word of "`basename $aros_gcc_[ranlib
]`", so it can be a program name with args.
10606 set dummy `basename $aros_gcc_ranlib`; ac_word=$2
10607 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10609 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10610 echo $ECHO_N "(cached) $ECHO_C" >&6
10612 case $aros_target_ranlib_ln in
10614 ac_cv_path_aros_target_ranlib_ln="$aros_target_ranlib_ln" # Let the user override the test with a path.
10617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10618 for as_dir in `dirname $aros_gcc_ranlib`
10621 test -z "$as_dir" && as_dir=.
10622 for ac_exec_ext in '' $ac_executable_extensions; do
10623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10624 ac_cv_path_aros_target_ranlib_ln="$as_dir/$ac_word$ac_exec_ext"
10625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10635 aros_target_ranlib_ln=$ac_cv_path_aros_target_ranlib_ln
10636 if test -n "$aros_target_ranlib_ln"; then
10637 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10638 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10640 { echo "$as_me:$LINENO: result: no" >&5
10641 echo "${ECHO_T}no" >&6; }
10646 if test "$aros_target_ranlib_ln" = ""; then
10647 # Extract the first word of "ranlib", so it can be a program name with args.
10648 set dummy ranlib; ac_word=$2
10649 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10651 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10652 echo $ECHO_N "(cached) $ECHO_C" >&6
10654 case $aros_target_ranlib_ln in
10656 ac_cv_path_aros_target_ranlib_ln="$aros_target_ranlib_ln" # Let the user override the test with a path.
10659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10660 for as_dir in $PATH
10663 test -z "$as_dir" && as_dir=.
10664 for ac_exec_ext in '' $ac_executable_extensions; do
10665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10666 ac_cv_path_aros_target_ranlib_ln="$as_dir/$ac_word$ac_exec_ext"
10667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10677 aros_target_ranlib_ln=$ac_cv_path_aros_target_ranlib_ln
10678 if test -n "$aros_target_ranlib_ln"; then
10679 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10680 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10682 { echo "$as_me:$LINENO: result: no" >&5
10683 echo "${ECHO_T}no" >&6; }
10690 # Extract the first word of "$aros_target_ranlib", so it can be a program name with args.
10691 set dummy $aros_target_ranlib; ac_word=$2
10692 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10694 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10695 echo $ECHO_N "(cached) $ECHO_C" >&6
10697 case $aros_target_ranlib_ln in
10699 ac_cv_path_aros_target_ranlib_ln="$aros_target_ranlib_ln" # Let the user override the test with a path.
10702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10703 for as_dir in $PATH
10706 test -z "$as_dir" && as_dir=.
10707 for ac_exec_ext in '' $ac_executable_extensions; do
10708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10709 ac_cv_path_aros_target_ranlib_ln="$as_dir/$ac_word$ac_exec_ext"
10710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10720 aros_target_ranlib_ln=$ac_cv_path_aros_target_ranlib_ln
10721 if test -n "$aros_target_ranlib_ln"; then
10722 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10723 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10725 { echo "$as_me:$LINENO: result: no" >&5
10726 echo "${ECHO_T}no" >&6; }
10732 if test "$aros_target_ranlib_ln" = ""; then
10733 { { echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
10734 echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
10735 { (exit 1); exit 1; }; }
10738 if test "$aros_target_strip" = ""; then
10739 if test "$cross_compiling" = "yes" ; then
10740 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
10741 set dummy ${target_tool_prefix}strip; ac_word=$2
10742 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10743 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10744 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10745 echo $ECHO_N "(cached) $ECHO_C" >&6
10747 case $aros_target_strip_ln in
10749 ac_cv_path_aros_target_strip_ln="$aros_target_strip_ln" # Let the user override the test with a path.
10752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10753 for as_dir in $PATH
10756 test -z "$as_dir" && as_dir=.
10757 for ac_exec_ext in '' $ac_executable_extensions; do
10758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10759 ac_cv_path_aros_target_strip_ln="$as_dir/$ac_word$ac_exec_ext"
10760 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10770 aros_target_strip_ln=$ac_cv_path_aros_target_strip_ln
10771 if test -n "$aros_target_strip_ln"; then
10772 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10773 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10775 { echo "$as_me:$LINENO: result: no" >&5
10776 echo "${ECHO_T}no" >&6; }
10781 if test "$GCC" = "yes"; then
10782 aros_gcc_strip=`$CC -print-prog-name=strip
`
10783 # Extract the first word of "`basename $aros_gcc_[strip
]`", so it can be a program name with args.
10784 set dummy `basename $aros_gcc_strip`; ac_word=$2
10785 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10787 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10788 echo $ECHO_N "(cached) $ECHO_C" >&6
10790 case $aros_target_strip_ln in
10792 ac_cv_path_aros_target_strip_ln="$aros_target_strip_ln" # Let the user override the test with a path.
10795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10796 for as_dir in `dirname $aros_gcc_strip`
10799 test -z "$as_dir" && as_dir=.
10800 for ac_exec_ext in '' $ac_executable_extensions; do
10801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10802 ac_cv_path_aros_target_strip_ln="$as_dir/$ac_word$ac_exec_ext"
10803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10813 aros_target_strip_ln=$ac_cv_path_aros_target_strip_ln
10814 if test -n "$aros_target_strip_ln"; then
10815 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10816 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10818 { echo "$as_me:$LINENO: result: no" >&5
10819 echo "${ECHO_T}no" >&6; }
10824 if test "$aros_target_strip_ln" = ""; then
10825 # Extract the first word of "strip", so it can be a program name with args.
10826 set dummy strip; ac_word=$2
10827 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10829 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10830 echo $ECHO_N "(cached) $ECHO_C" >&6
10832 case $aros_target_strip_ln in
10834 ac_cv_path_aros_target_strip_ln="$aros_target_strip_ln" # Let the user override the test with a path.
10837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10838 for as_dir in $PATH
10841 test -z "$as_dir" && as_dir=.
10842 for ac_exec_ext in '' $ac_executable_extensions; do
10843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10844 ac_cv_path_aros_target_strip_ln="$as_dir/$ac_word$ac_exec_ext"
10845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10855 aros_target_strip_ln=$ac_cv_path_aros_target_strip_ln
10856 if test -n "$aros_target_strip_ln"; then
10857 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10858 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10860 { echo "$as_me:$LINENO: result: no" >&5
10861 echo "${ECHO_T}no" >&6; }
10868 # Extract the first word of "$aros_target_strip", so it can be a program name with args.
10869 set dummy $aros_target_strip; ac_word=$2
10870 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10872 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10873 echo $ECHO_N "(cached) $ECHO_C" >&6
10875 case $aros_target_strip_ln in
10877 ac_cv_path_aros_target_strip_ln="$aros_target_strip_ln" # Let the user override the test with a path.
10880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10881 for as_dir in $PATH
10884 test -z "$as_dir" && as_dir=.
10885 for ac_exec_ext in '' $ac_executable_extensions; do
10886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10887 ac_cv_path_aros_target_strip_ln="$as_dir/$ac_word$ac_exec_ext"
10888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10898 aros_target_strip_ln=$ac_cv_path_aros_target_strip_ln
10899 if test -n "$aros_target_strip_ln"; then
10900 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10901 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10903 { echo "$as_me:$LINENO: result: no" >&5
10904 echo "${ECHO_T}no" >&6; }
10910 if test "$aros_target_strip_ln" = ""; then
10911 { { echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
10912 echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
10913 { (exit 1); exit 1; }; }
10917 aros_hostcfg_dir="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
10918 aros_targetcfg_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
10919 aros_inc_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
10920 aros_gendir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
10921 aros_geninc_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
10922 aros_tools_dir="bin/${aros_host_arch}-${aros_host_cpu}/tools"
10923 aros_scripts_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
10925 # aros_cc_pre is a variable that is added to the front of the compiler name
10926 # in the generated aros-gcc shell script. We need this to enable the cache
10927 # to work across cleaned builds. Also, support DISTCC using the correct
10928 # environment variable.
10931 if test "x${DISTCC}" != "x" ; then
10932 if test "x${CCACHE}" != "x" ; then
10933 aros_cc_pre="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
10935 aros_cc_pre="${DISTCC} "
10938 if test "x${CCACHE}" != "x" ; then
10939 aros_cc_pre="${CCACHE} "
10943 prefix="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
10945 aros_target_nostdinc_cflags=-nostdinc
10947 aros_target_nostartup_ldflags=-nostartfiles
10949 aros_target_nix_ldflags=-nix
10951 aros_target_detach_ldflags=-detach
10953 aros_target_nostdlib_ldflags=-nostdlib
10957 if test "$aros_target_cc" = ""; then
10958 orig_target_cc=$aros_kernel_cc
10960 orig_target_cc=$aros_target_cc
10962 if test "$aros_target_ld" = ""; then
10963 orig_target_ld=$aros_kernel_ld
10965 orig_target_ld=$aros_target_ld
10967 if test "$GCC" = "yes"; then
10968 aros_target_cc_path=`$orig_target_cc -print-search-dirs |
grep "programs: =" | cut
-c 12-`
10970 aros_target_cc="${prefix}-gcc"
10971 aros_target_as="${prefix}-as"
10972 aros_target_ld="${prefix}-ld"
10973 aros_target_ar="${prefix}-ar $aros_target_ar_flags"
10974 aros_target_objcopy=${prefix}-objcopy
10975 aros_target_objdump=${prefix}-objdump
10976 aros_target_ranlib="${prefix}-ranlib $aros_target_ranlib_flags"
10977 aros_target_nm="${prefix}-nm $aros_target_nm_flags"
10978 aros_kernel_nm="${prefix}-nm"
10979 aros_target_strip=${prefix}-strip
10981 # Find the system include path. We can suggest that an alternative is
10982 # used if we don't get it correct. The default is to use /usr/include.
10983 # Which is set in the aros_target_incl_def variable.
10985 # Check whether --enable-includes was given.
10986 if test "${enable_includes+set}" = set; then
10987 enableval=$enable_includes; aros_target_incl=$enable_includes
10989 aros_target_incl=$aros_target_incl_def
10993 { echo "$as_me:$LINENO: checking for the target compiler's include path" >&5
10994 echo $ECHO_N "checking for the target compiler's include path... $ECHO_C" >&6; }
10995 if test "$aros_target_cc_includes" = "" ; then
10996 #try to guess where the directory is
10997 aros_target_cc_includes=`dirname \
`${aros_kernel_cc} -print-libgcc-file-name\``/include
10998 if ! test -d $aros_target_cc_includes; then
10999 #the directory doesn't exist, we need to do some more work
11000 aros_target_cc_includes=${PWD}/${aros_gendir}/cc_include
11002 #these are the headers we're looling for
11003 headers="limits.h mmintrin.h stdbool.h syslimits.h float.h \
11004 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
11008 for h in $headers; do
11009 #which other headers each of the above headers needs?
11010 deps=$(echo "#include <$h>" | \
11011 $aros_host_cc -E -M - 2>/dev/null | \
11012 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
11014 #copy all the needed headers to a directory beneath gendir
11017 dir=${aros_target_cc_includes}$(echo $(dirname $d) | \
11018 sed -n "s,^.*/include\(/.*\),\1,p")
11019 ! test -d $dir && mkdir -p $dir
11020 ! test -f $dir/$h && { cp $d $dir; chmod u+w $dir/$h; }
11025 { echo "$as_me:$LINENO: result: $aros_target_cc_includes" >&5
11026 echo "${ECHO_T}$aros_target_cc_includes" >&6; }
11029 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
11030 # On GCC >= 4.0 -iquote should be used
11034 save_cflags="$CFLAGS"
11035 CC="$aros_kernel_cc"
11037 { echo "$as_me:$LINENO: checking whether ${CC} accepts -iquote" >&5
11038 echo $ECHO_N "checking whether ${CC} accepts -iquote... $ECHO_C" >&6; }
11039 cat >conftest.$ac_ext <<_ACEOF
11042 cat confdefs.h >>conftest.$ac_ext
11043 cat >>conftest.$ac_ext <<_ACEOF
11044 /* end confdefs.h. */
11054 rm -f conftest.$ac_objext
11055 if { (ac_try="$ac_compile"
11056 case "(($ac_try" in
11057 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11058 *) ac_try_echo
=$ac_try;;
11060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11061 (eval "$ac_compile") 2>conftest.er1
11063 grep -v '^ *+' conftest.er1
>conftest.err
11065 cat conftest.err
>&5
11066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11067 (exit $ac_status); } && {
11068 test -z "$ac_c_werror_flag" ||
11069 test ! -s conftest.err
11070 } && test -s conftest.
$ac_objext; then
11073 echo "$as_me: failed program was:" >&5
11074 sed 's/^/| /' conftest.
$ac_ext >&5
11079 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11080 { echo "$as_me:$LINENO: result: $has_iquote" >&5
11081 echo "${ECHO_T}$has_iquote" >&6; }
11082 if test "x-$has_iquote" = "x-yes" ; then
11083 aros_cflags_iquote
=-iquote
11084 aros_cflags_iquote_end
=
11086 aros_cflags_iquote
=-I
11087 aros_cflags_iquote_end
=-I-
11090 CFLAGS
="$save_cflags"
11096 { echo "$as_me:$LINENO: checking for default resolution of WBScreen" >&5
11097 echo $ECHO_N "checking for default resolution of WBScreen... $ECHO_C" >&6; }
11099 # Check whether --with-resolution was given.
11100 if test "${with_resolution+set}" = set; then
11101 withval
=$with_resolution; resolution
=$withval
11106 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
11107 if test "$resolution" = "yes" ; then
11110 if test "$resolution" = "no" ; then
11113 if test "$resolution" != "none" ; then
11114 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
11115 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
11116 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
11118 { echo "$as_me:$LINENO: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
11119 echo "${ECHO_T}$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
11120 aros_cv_default_wbwidth
=$aros_default_wbwidth
11121 aros_cv_default_wbheight
=$aros_default_wbheight
11122 aros_cv_default_wbdepth
=$aros_default_wbdepth
11124 { echo "$as_me:$LINENO: checking if bochs hack is enabled" >&5
11125 echo $ECHO_N "checking if bochs hack is enabled... $ECHO_C" >&6; }
11126 # Check whether --enable-bochs_hack was given.
11127 if test "${enable_bochs_hack+set}" = set; then
11128 enableval
=$enable_bochs_hack; bochs_hack
="yes"
11133 if test "$bochs_hack" = "yes" ; then
11134 aros_bochs_hack
="1"
11136 { echo "$as_me:$LINENO: result: $bochs_hack" >&5
11137 echo "${ECHO_T}$bochs_hack" >&6; }
11139 { echo "$as_me:$LINENO: checking if serial debug is enabled" >&5
11140 echo $ECHO_N "checking if serial debug is enabled... $ECHO_C" >&6; }
11142 # Check whether --with-serial-debug was given.
11143 if test "${with_serial_debug+set}" = set; then
11144 withval
=$with_serial_debug; serial_debug
=$withval
11149 if test "$aros_serial_debug" = 0 ; then
11150 serial_debug_forced
=""
11151 if test "$serial_debug" = "yes" ; then
11154 if test "$serial_debug" = "no" ; then
11155 serial_debug
="none"
11158 serial_debug_forced
="(forced)"
11159 serial_debug
=$aros_serial_debug
11161 if test "$serial_debug" != "none" ; then
11162 aros_serial_debug
=$serial_debug
11163 { echo "$as_me:$LINENO: result: $serial_debug_forced on port $serial_debug" >&5
11164 echo "${ECHO_T}$serial_debug_forced on port $serial_debug" >&6; }
11166 { echo "$as_me:$LINENO: result: no" >&5
11167 echo "${ECHO_T}no" >&6; }
11170 { echo "$as_me:$LINENO: checking if palm debug hack is enabled" >&5
11171 echo $ECHO_N "checking if palm debug hack is enabled... $ECHO_C" >&6; }
11172 # Check whether --enable-palm_debug_hack was given.
11173 if test "${enable_palm_debug_hack+set}" = set; then
11174 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
11176 palm_debug_hack
="no"
11179 if test "$palm_debug_hack" = "yes" ; then
11180 aros_palm_debug_hack
="1"
11182 { echo "$as_me:$LINENO: result: $palm_debug_hack" >&5
11183 echo "${ECHO_T}$palm_debug_hack" >&6; }
11186 { echo "$as_me:$LINENO: checking if nesting supervisor support is enabled" >&5
11187 echo $ECHO_N "checking if nesting supervisor support is enabled... $ECHO_C" >&6; }
11188 # Check whether --enable-nesting_supervisor was given.
11189 if test "${enable_nesting_supervisor+set}" = set; then
11190 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
11192 nesting_supervisor
="no"
11195 if test "$nesting_supervisor" = "yes" ; then
11196 aros_nesting_supervisor
="1"
11198 { echo "$as_me:$LINENO: result: $nesting_supervisor" >&5
11199 echo "${ECHO_T}$nesting_supervisor" >&6; }
11202 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
11204 if test "x-$aros_host_arch" != "x-darwin" ; then
11205 { echo "$as_me:$LINENO: checking for dlopen" >&5
11206 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
11207 if test "${ac_cv_func_dlopen+set}" = set; then
11208 echo $ECHO_N "(cached) $ECHO_C" >&6
11210 cat >conftest.
$ac_ext <<_ACEOF
11213 cat confdefs.h
>>conftest.
$ac_ext
11214 cat >>conftest.
$ac_ext <<_ACEOF
11215 /* end confdefs.h. */
11216 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11217 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11218 #define dlopen innocuous_dlopen
11220 /* System header to define __stub macros and hopefully few prototypes,
11221 which can conflict with char dlopen (); below.
11222 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11223 <limits.h> exists even on freestanding compilers. */
11226 # include <limits.h>
11228 # include <assert.h>
11233 /* Override any GCC internal prototype to avoid an error.
11234 Use char because int might match the return type of a GCC
11235 builtin and then its argument prototype would still apply. */
11240 /* The GNU C library defines this for functions which it implements
11241 to always fail with ENOSYS. Some functions are actually named
11242 something starting with __ and the normal name is an alias. */
11243 #if defined __stub_dlopen || defined __stub___dlopen
11255 rm -f conftest.
$ac_objext conftest
$ac_exeext
11256 if { (ac_try
="$ac_link"
11257 case "(($ac_try" in
11258 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11259 *) ac_try_echo=$ac_try;;
11261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11262 (eval "$ac_link") 2>conftest.er1
11264 grep -v '^ *+' conftest.er1 >conftest.err
11266 cat conftest.err >&5
11267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11268 (exit $ac_status); } && {
11269 test -z "$ac_c_werror_flag" ||
11270 test ! -s conftest.err
11271 } && test -s conftest$ac_exeext &&
11272 $as_test_x conftest$ac_exeext; then
11273 ac_cv_func_dlopen=yes
11275 echo "$as_me: failed program was:" >&5
11276 sed 's/^/| /' conftest.$ac_ext >&5
11278 ac_cv_func_dlopen=no
11281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11282 conftest$ac_exeext conftest.$ac_ext
11284 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11285 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
11286 if test $ac_cv_func_dlopen = yes; then
11292 if test "x-$have_dl" = "x-no" ; then
11293 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11294 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11295 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11296 echo $ECHO_N "(cached) $ECHO_C" >&6
11298 ac_check_lib_save_LIBS=$LIBS
11300 cat >conftest.$ac_ext <<_ACEOF
11303 cat confdefs.h >>conftest.$ac_ext
11304 cat >>conftest.$ac_ext <<_ACEOF
11305 /* end confdefs.h. */
11307 /* Override any GCC internal prototype to avoid an error.
11308 Use char because int might match the return type of a GCC
11309 builtin and then its argument prototype would still apply. */
11322 rm -f conftest.$ac_objext conftest$ac_exeext
11323 if { (ac_try="$ac_link"
11324 case "(($ac_try" in
11325 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11326 *) ac_try_echo
=$ac_try;;
11328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11329 (eval "$ac_link") 2>conftest.er1
11331 grep -v '^ *+' conftest.er1
>conftest.err
11333 cat conftest.err
>&5
11334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11335 (exit $ac_status); } && {
11336 test -z "$ac_c_werror_flag" ||
11337 test ! -s conftest.err
11338 } && test -s conftest
$ac_exeext &&
11339 $as_test_x conftest
$ac_exeext; then
11340 ac_cv_lib_dl_dlopen
=yes
11342 echo "$as_me: failed program was:" >&5
11343 sed 's/^/| /' conftest.
$ac_ext >&5
11345 ac_cv_lib_dl_dlopen
=no
11348 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11349 conftest
$ac_exeext conftest.
$ac_ext
11350 LIBS
=$ac_check_lib_save_LIBS
11352 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11353 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11354 if test $ac_cv_lib_dl_dlopen = yes; then
11356 aros_host_ldflags
="$aros_host_ldflags -ldl"
11362 if test "x-$have_dl" = "x-no" ; then
11363 { { echo "$as_me:$LINENO: error: dlopen() dynamic linker functions not available" >&5
11364 echo "$as_me: error: dlopen() dynamic linker functions not available" >&2;}
11365 { (exit 1); exit 1; }; }
11370 # Check whether --enable-x11_hidd was given.
11371 if test "${enable_x11_hidd+set}" = set; then
11372 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
11377 case "x-$x11_hidd" in
11378 x-yes|x-no|x-auto
) ;;
11379 *) x11_hidd
="auto" ;;
11382 if test "x-$x11_hidd" != "x-no" ; then
11384 { echo "$as_me:$LINENO: checking for X" >&5
11385 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
11388 # Check whether --with-x was given.
11389 if test "${with_x+set}" = set; then
11393 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11394 if test "x$with_x" = xno
; then
11395 # The user explicitly disabled X.
11398 case $x_includes,$x_libraries in #(
11399 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
11400 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
11401 { (exit 1); exit 1; }; };; #(
11402 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then
11403 echo $ECHO_N "(cached) $ECHO_C" >&6
11405 # One or both of the vars are not set, and there is no cached value.
11406 ac_x_includes
=no ac_x_libraries
=no
11407 rm -f -r conftest.dir
11408 if mkdir conftest.dir
; then
11410 cat >Imakefile
<<'_ACEOF'
11412 @echo incroot='${INCROOT}'
11414 @echo usrlibdir='${USRLIBDIR}'
11416 @echo libdir='${LIBDIR}'
11418 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
11419 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11420 for ac_var
in incroot usrlibdir libdir
; do
11421 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
11423 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11424 for ac_extension
in a so sl
; do
11425 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
11426 test -f "$ac_im_libdir/libX11.$ac_extension"; then
11427 ac_im_usrlibdir
=$ac_im_libdir; break
11430 # Screen out bogus values from the imake configuration. They are
11431 # bogus both because they are the default anyway, and because
11432 # using them would break gcc on systems where it needs fixed includes.
11433 case $ac_im_incroot in
11434 /usr
/include
) ac_x_includes
= ;;
11435 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
11437 case $ac_im_usrlibdir in
11438 /usr
/lib |
/lib
) ;;
11439 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
11443 rm -f -r conftest.dir
11446 # Standard set of common directories for X headers.
11447 # Check X11 before X11Rn because it is often a symlink to the current release.
11459 /usr/local/X11/include
11460 /usr/local/X11R6/include
11461 /usr/local/X11R5/include
11462 /usr/local/X11R4/include
11464 /usr/local/include/X11
11465 /usr/local/include/X11R6
11466 /usr/local/include/X11R5
11467 /usr/local/include/X11R4
11471 /usr/XFree86/include/X11
11475 /usr/unsupported/include
11476 /usr/athena/include
11477 /usr/local/x11r5/include
11478 /usr/lpp/Xamples/include
11480 /usr/openwin/include
11481 /usr/openwin/share/include'
11483 if test "$ac_x_includes" = no
; then
11484 # Guess where to find include files, by looking for Xlib.h.
11485 # First, try using that file with no special directory specified.
11486 cat >conftest.
$ac_ext <<_ACEOF
11489 cat confdefs.h
>>conftest.
$ac_ext
11490 cat >>conftest.
$ac_ext <<_ACEOF
11491 /* end confdefs.h. */
11492 #include <X11/Xlib.h>
11494 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11495 case "(($ac_try" in
11496 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11497 *) ac_try_echo=$ac_try;;
11499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11500 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11502 grep -v '^ *+' conftest.er1 >conftest.err
11504 cat conftest.err >&5
11505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11506 (exit $ac_status); } >/dev/null && {
11507 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11508 test ! -s conftest.err
11510 # We can compile using X headers with no special include directory.
11513 echo "$as_me: failed program was:" >&5
11514 sed 's/^/| /' conftest.$ac_ext >&5
11516 for ac_dir in $ac_x_header_dirs; do
11517 if test -r "$ac_dir/X11/Xlib.h"; then
11518 ac_x_includes=$ac_dir
11524 rm -f conftest.err conftest.$ac_ext
11525 fi # $ac_x_includes = no
11527 if test "$ac_x_libraries" = no; then
11528 # Check for the libraries.
11529 # See if we find them without any special options.
11530 # Don't add to $LIBS permanently.
11533 cat >conftest.$ac_ext <<_ACEOF
11536 cat confdefs.h >>conftest.$ac_ext
11537 cat >>conftest.$ac_ext <<_ACEOF
11538 /* end confdefs.h. */
11539 #include <X11/Xlib.h>
11548 rm -f conftest.$ac_objext conftest$ac_exeext
11549 if { (ac_try="$ac_link"
11550 case "(($ac_try" in
11551 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11552 *) ac_try_echo
=$ac_try;;
11554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11555 (eval "$ac_link") 2>conftest.er1
11557 grep -v '^ *+' conftest.er1
>conftest.err
11559 cat conftest.err
>&5
11560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11561 (exit $ac_status); } && {
11562 test -z "$ac_c_werror_flag" ||
11563 test ! -s conftest.err
11564 } && test -s conftest
$ac_exeext &&
11565 $as_test_x conftest
$ac_exeext; then
11567 # We can link X programs with no special library path.
11570 echo "$as_me: failed program was:" >&5
11571 sed 's/^/| /' conftest.
$ac_ext >&5
11574 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
11576 # Don't even attempt the hair of trying to link an X program!
11577 for ac_extension
in a so sl
; do
11578 if test -r "$ac_dir/libX11.$ac_extension"; then
11579 ac_x_libraries
=$ac_dir
11586 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11587 conftest
$ac_exeext conftest.
$ac_ext
11588 fi # $ac_x_libraries = no
11590 case $ac_x_includes,$ac_x_libraries in #(
11591 no
,* |
*,no |
*\'*)
11592 # Didn't find X, or a directory has "'" in its name.
11593 ac_cv_have_x
="have_x=no";; #(
11595 # Record where we found X for the cache.
11596 ac_cv_have_x
="have_x=yes\
11597 ac_x_includes='$ac_x_includes'\
11598 ac_x_libraries='$ac_x_libraries'"
11604 eval "$ac_cv_have_x"
11607 if test "$have_x" != yes; then
11608 { echo "$as_me:$LINENO: result: $have_x" >&5
11609 echo "${ECHO_T}$have_x" >&6; }
11612 # If each of the values was on the command line, it overrides each guess.
11613 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
11614 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
11615 # Update the cache value to reflect the command line values.
11616 ac_cv_have_x
="have_x=yes\
11617 ac_x_includes='$x_includes'\
11618 ac_x_libraries='$x_libraries'"
11619 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
11620 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
11625 for path
in $x_libraries
11627 x_cflags
="$x_cflags -L$path"
11630 for path
in $x_includes
11632 x_cflags
="$x_cflags -I$path"
11635 if test "x-$no_x" = "x-yes" ; then
11637 if test "x-$x11_hidd" != "x-auto" ; then
11638 { { echo "$as_me:$LINENO: error: X11 libs/headers not found, cannot build X11 hidd as requested" >&5
11639 echo "$as_me: error: X11 libs/headers not found, cannot build X11 hidd as requested" >&2;}
11640 { (exit 1); exit 1; }; }
11645 x11_hidd_target
=kernel-x11gfx-kobj
11648 # Check whether --enable-x11_shm was given.
11649 if test "${enable_x11_shm+set}" = set; then
11650 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
11652 x11_hidd_shm
="auto"
11655 case "x-$x11_hidd_shm" in
11656 x-yes|x-no|x-auto
) ;;
11657 *) x11_hidd_shm
="auto" ;;
11662 if test "x-$x11_hidd_shm" != "x-no" ; then
11665 for ac_header
in sys
/ipc.h
11667 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11668 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11669 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11670 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11671 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11672 echo $ECHO_N "(cached) $ECHO_C" >&6
11674 ac_res
=`eval echo '${'$as_ac_Header'}'`
11675 { echo "$as_me:$LINENO: result: $ac_res" >&5
11676 echo "${ECHO_T}$ac_res" >&6; }
11678 # Is the header compilable?
11679 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11680 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11681 cat >conftest.
$ac_ext <<_ACEOF
11684 cat confdefs.h
>>conftest.
$ac_ext
11685 cat >>conftest.
$ac_ext <<_ACEOF
11686 /* end confdefs.h. */
11687 $ac_includes_default
11688 #include <$ac_header>
11690 rm -f conftest.
$ac_objext
11691 if { (ac_try
="$ac_compile"
11692 case "(($ac_try" in
11693 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11694 *) ac_try_echo=$ac_try;;
11696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11697 (eval "$ac_compile") 2>conftest.er1
11699 grep -v '^ *+' conftest.er1 >conftest.err
11701 cat conftest.err >&5
11702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11703 (exit $ac_status); } && {
11704 test -z "$ac_c_werror_flag" ||
11705 test ! -s conftest.err
11706 } && test -s conftest.$ac_objext; then
11707 ac_header_compiler=yes
11709 echo "$as_me: failed program was:" >&5
11710 sed 's/^/| /' conftest.$ac_ext >&5
11712 ac_header_compiler=no
11715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11716 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11717 echo "${ECHO_T}$ac_header_compiler" >&6; }
11719 # Is the header present?
11720 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11721 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11722 cat >conftest.$ac_ext <<_ACEOF
11725 cat confdefs.h >>conftest.$ac_ext
11726 cat >>conftest.$ac_ext <<_ACEOF
11727 /* end confdefs.h. */
11728 #include <$ac_header>
11730 if { (ac_try="$ac_cpp conftest.$ac_ext"
11731 case "(($ac_try" in
11732 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11733 *) ac_try_echo
=$ac_try;;
11735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11736 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11738 grep -v '^ *+' conftest.er1
>conftest.err
11740 cat conftest.err
>&5
11741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11742 (exit $ac_status); } >/dev
/null
&& {
11743 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11744 test ! -s conftest.err
11746 ac_header_preproc
=yes
11748 echo "$as_me: failed program was:" >&5
11749 sed 's/^/| /' conftest.
$ac_ext >&5
11751 ac_header_preproc
=no
11754 rm -f conftest.err conftest.
$ac_ext
11755 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11756 echo "${ECHO_T}$ac_header_preproc" >&6; }
11758 # So? What about this header?
11759 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11761 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11762 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11763 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11764 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11765 ac_header_preproc
=yes
11768 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11769 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11770 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11771 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11772 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11773 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11774 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11775 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11776 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11777 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11778 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11779 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11783 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11785 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11786 echo $ECHO_N "(cached) $ECHO_C" >&6
11788 eval "$as_ac_Header=\$ac_header_preproc"
11790 ac_res
=`eval echo '${'$as_ac_Header'}'`
11791 { echo "$as_me:$LINENO: result: $ac_res" >&5
11792 echo "${ECHO_T}$ac_res" >&6; }
11795 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11796 cat >>confdefs.h
<<_ACEOF
11797 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11805 for ac_header
in sys
/shm.h
11807 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11808 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11809 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11810 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11811 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11812 echo $ECHO_N "(cached) $ECHO_C" >&6
11814 ac_res
=`eval echo '${'$as_ac_Header'}'`
11815 { echo "$as_me:$LINENO: result: $ac_res" >&5
11816 echo "${ECHO_T}$ac_res" >&6; }
11818 # Is the header compilable?
11819 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11820 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11821 cat >conftest.
$ac_ext <<_ACEOF
11824 cat confdefs.h
>>conftest.
$ac_ext
11825 cat >>conftest.
$ac_ext <<_ACEOF
11826 /* end confdefs.h. */
11827 $ac_includes_default
11828 #include <$ac_header>
11830 rm -f conftest.
$ac_objext
11831 if { (ac_try
="$ac_compile"
11832 case "(($ac_try" in
11833 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11834 *) ac_try_echo=$ac_try;;
11836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11837 (eval "$ac_compile") 2>conftest.er1
11839 grep -v '^ *+' conftest.er1 >conftest.err
11841 cat conftest.err >&5
11842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11843 (exit $ac_status); } && {
11844 test -z "$ac_c_werror_flag" ||
11845 test ! -s conftest.err
11846 } && test -s conftest.$ac_objext; then
11847 ac_header_compiler=yes
11849 echo "$as_me: failed program was:" >&5
11850 sed 's/^/| /' conftest.$ac_ext >&5
11852 ac_header_compiler=no
11855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11856 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11857 echo "${ECHO_T}$ac_header_compiler" >&6; }
11859 # Is the header present?
11860 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11861 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11862 cat >conftest.$ac_ext <<_ACEOF
11865 cat confdefs.h >>conftest.$ac_ext
11866 cat >>conftest.$ac_ext <<_ACEOF
11867 /* end confdefs.h. */
11868 #include <$ac_header>
11870 if { (ac_try="$ac_cpp conftest.$ac_ext"
11871 case "(($ac_try" in
11872 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11873 *) ac_try_echo
=$ac_try;;
11875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11876 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11878 grep -v '^ *+' conftest.er1
>conftest.err
11880 cat conftest.err
>&5
11881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11882 (exit $ac_status); } >/dev
/null
&& {
11883 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11884 test ! -s conftest.err
11886 ac_header_preproc
=yes
11888 echo "$as_me: failed program was:" >&5
11889 sed 's/^/| /' conftest.
$ac_ext >&5
11891 ac_header_preproc
=no
11894 rm -f conftest.err conftest.
$ac_ext
11895 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11896 echo "${ECHO_T}$ac_header_preproc" >&6; }
11898 # So? What about this header?
11899 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11901 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11902 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11903 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11904 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11905 ac_header_preproc
=yes
11908 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11909 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11910 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11911 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11912 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11913 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11914 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11915 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11916 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11917 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11918 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11919 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11923 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11924 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11925 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11926 echo $ECHO_N "(cached) $ECHO_C" >&6
11928 eval "$as_ac_Header=\$ac_header_preproc"
11930 ac_res
=`eval echo '${'$as_ac_Header'}'`
11931 { echo "$as_me:$LINENO: result: $ac_res" >&5
11932 echo "${ECHO_T}$ac_res" >&6; }
11935 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11936 cat >>confdefs.h
<<_ACEOF
11937 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11945 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
11947 save_cflags
="$CFLAGS"
11948 CFLAGS
="$CFLAGS $x_cflags"
11949 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
11950 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
11951 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
11952 echo $ECHO_N "(cached) $ECHO_C" >&6
11954 ac_check_lib_save_LIBS
=$LIBS
11955 LIBS
="-lXext $LIBS"
11956 cat >conftest.
$ac_ext <<_ACEOF
11959 cat confdefs.h
>>conftest.
$ac_ext
11960 cat >>conftest.
$ac_ext <<_ACEOF
11961 /* end confdefs.h. */
11963 /* Override any GCC internal prototype to avoid an error.
11964 Use char because int might match the return type of a GCC
11965 builtin and then its argument prototype would still apply. */
11969 char XShmQueryExtension ();
11973 return XShmQueryExtension ();
11978 rm -f conftest.
$ac_objext conftest
$ac_exeext
11979 if { (ac_try
="$ac_link"
11980 case "(($ac_try" in
11981 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11982 *) ac_try_echo=$ac_try;;
11984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11985 (eval "$ac_link") 2>conftest.er1
11987 grep -v '^ *+' conftest.er1 >conftest.err
11989 cat conftest.err >&5
11990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11991 (exit $ac_status); } && {
11992 test -z "$ac_c_werror_flag" ||
11993 test ! -s conftest.err
11994 } && test -s conftest$ac_exeext &&
11995 $as_test_x conftest$ac_exeext; then
11996 ac_cv_lib_Xext_XShmQueryExtension=yes
11998 echo "$as_me: failed program was:" >&5
11999 sed 's/^/| /' conftest.$ac_ext >&5
12001 ac_cv_lib_Xext_XShmQueryExtension=no
12004 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12005 conftest$ac_exeext conftest.$ac_ext
12006 LIBS=$ac_check_lib_save_LIBS
12008 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
12009 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
12010 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
12014 CFLAGS="$save_cflags"
12018 if test "x-$have_xshm" = "x-yes" ; then
12019 DO_XSHM_SUPPORT="1"
12020 elif test "x-$x11_hidd_shm" = "x-yes" ; then
12021 { { echo "$as_me:$LINENO: error: X11 has no support for shared memory, cannot enable it as requested" >&5
12022 echo "$as_me: error: X11 has no support for shared memory, cannot enable it as requested" >&2;}
12023 { (exit 1); exit 1; }; }
12025 DO_XSHM_SUPPORT="0"
12029 # Check whether --enable-x11_vidmode was given.
12030 if test "${enable_x11_vidmode+set}" = set; then
12031 enableval=$enable_x11_vidmode; x11_hidd_vidmode="$enableval"
12033 x11_hidd_vidmode="auto"
12036 case "x-$x11_hidd_vidmode" in
12037 x-yes|x-no|x-auto) ;;
12038 *) x11_hidd_vidmode="auto" ;;
12043 if test "x-$x11_hidd_vidmode" != "x-no" ; then
12045 save_cflags="$CFLAGS"
12046 CFLAGS="$CFLAGS $x_cflags"
12047 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
12048 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
12049 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
12050 echo $ECHO_N "(cached) $ECHO_C" >&6
12052 ac_check_lib_save_LIBS=$LIBS
12053 LIBS="-lXxf86vm $LIBS"
12054 cat >conftest.$ac_ext <<_ACEOF
12057 cat confdefs.h >>conftest.$ac_ext
12058 cat >>conftest.$ac_ext <<_ACEOF
12059 /* end confdefs.h. */
12061 /* Override any GCC internal prototype to avoid an error.
12062 Use char because int might match the return type of a GCC
12063 builtin and then its argument prototype would still apply. */
12067 char XF86VidModeQueryExtension ();
12071 return XF86VidModeQueryExtension ();
12076 rm -f conftest.$ac_objext conftest$ac_exeext
12077 if { (ac_try="$ac_link"
12078 case "(($ac_try" in
12079 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12080 *) ac_try_echo
=$ac_try;;
12082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12083 (eval "$ac_link") 2>conftest.er1
12085 grep -v '^ *+' conftest.er1
>conftest.err
12087 cat conftest.err
>&5
12088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12089 (exit $ac_status); } && {
12090 test -z "$ac_c_werror_flag" ||
12091 test ! -s conftest.err
12092 } && test -s conftest
$ac_exeext &&
12093 $as_test_x conftest
$ac_exeext; then
12094 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
12096 echo "$as_me: failed program was:" >&5
12097 sed 's/^/| /' conftest.
$ac_ext >&5
12099 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
12102 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12103 conftest
$ac_exeext conftest.
$ac_ext
12104 LIBS
=$ac_check_lib_save_LIBS
12106 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
12107 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
12108 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
12112 CFLAGS
="$save_cflags"
12115 if test "x-$have_vidmode" = "x-yes" ; then
12116 DO_VIDMODE_SUPPORT
="1"
12117 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
12118 { { echo "$as_me:$LINENO: error: X11 vidmode extension not available, cannot enable it as requested" >&5
12119 echo "$as_me: error: X11 vidmode extension not available, cannot enable it as requested" >&2;}
12120 { (exit 1); exit 1; }; }
12122 DO_VIDMODE_SUPPORT
="0"
12126 aros_host_x11_includes
=$x_includes
12127 aros_host_x11_libdirs
=$x_libraries
12131 # Check whether --enable-sdl_hidd was given.
12132 if test "${enable_sdl_hidd+set}" = set; then
12133 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
12138 case "x-$sdl_hidd" in
12139 x-yes|x-no|x-auto
) ;;
12140 *) sdl_hidd
="auto" ;;
12143 if test "x-$sdl_hidd" != "x-no" ; then
12146 # Check whether --with-sdl-prefix was given.
12147 if test "${with_sdl_prefix+set}" = set; then
12148 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
12154 # Check whether --with-sdl-exec-prefix was given.
12155 if test "${with_sdl_exec_prefix+set}" = set; then
12156 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
12161 # Check whether --enable-sdltest was given.
12162 if test "${enable_sdltest+set}" = set; then
12163 enableval
=$enable_sdltest;
12169 if test x
$sdl_exec_prefix != x
; then
12170 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
12171 if test x
${SDL_CONFIG+set} != xset
; then
12172 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
12175 if test x
$sdl_prefix != x
; then
12176 sdl_args
="$sdl_args --prefix=$sdl_prefix"
12177 if test x
${SDL_CONFIG+set} != xset
; then
12178 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
12182 if test "x$prefix" != xNONE
; then
12183 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
12185 # Extract the first word of "sdl-config", so it can be a program name with args.
12186 set dummy sdl-config
; ac_word
=$2
12187 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12189 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
12190 echo $ECHO_N "(cached) $ECHO_C" >&6
12192 case $SDL_CONFIG in
12194 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
12197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12198 for as_dir
in $PATH
12201 test -z "$as_dir" && as_dir
=.
12202 for ac_exec_ext
in '' $ac_executable_extensions; do
12203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12204 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12212 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
12216 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
12217 if test -n "$SDL_CONFIG"; then
12218 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
12219 echo "${ECHO_T}$SDL_CONFIG" >&6; }
12221 { echo "$as_me:$LINENO: result: no" >&5
12222 echo "${ECHO_T}no" >&6; }
12226 min_sdl_version
=1.2.10
12227 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
12228 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
12230 if test "$SDL_CONFIG" = "no" ; then
12233 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
12234 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
12236 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
12237 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12238 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
12239 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12240 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
12241 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12242 if test "x$enable_sdltest" = "xyes" ; then
12243 ac_save_CFLAGS
="$CFLAGS"
12244 ac_save_CXXFLAGS
="$CXXFLAGS"
12245 ac_save_LIBS
="$LIBS"
12246 CFLAGS
="$CFLAGS $SDL_CFLAGS"
12247 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
12248 LIBS
="$LIBS $SDL_LIBS"
12250 if test "$cross_compiling" = yes; then
12251 echo $ac_n "cross compiling; assumed OK... $ac_c"
12253 cat >conftest.
$ac_ext <<_ACEOF
12256 cat confdefs.h
>>conftest.
$ac_ext
12257 cat >>conftest.
$ac_ext <<_ACEOF
12258 /* end confdefs.h. */
12261 #include <stdlib.h>
12262 #include <string.h>
12266 my_strdup (char *str)
12272 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
12273 strcpy (new_str, str);
12281 int main (int argc, char *argv[])
12283 int major, minor, micro;
12286 /* This hangs on some systems (?)
12287 system ("touch conf.sdltest");
12289 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
12291 /* HP/UX 9 (%@#!) writes to sscanf strings */
12292 tmp_version = my_strdup("$min_sdl_version");
12293 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12294 printf("%s, bad version string\n", "$min_sdl_version");
12298 if (($sdl_major_version > major) ||
12299 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
12300 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
12306 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
12307 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
12308 printf("*** best to upgrade to the required version.\n");
12309 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
12310 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
12311 printf("*** config.cache before re-running configure\n");
12318 rm -f conftest
$ac_exeext
12319 if { (ac_try
="$ac_link"
12320 case "(($ac_try" in
12321 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12322 *) ac_try_echo=$ac_try;;
12324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12325 (eval "$ac_link") 2>&5
12327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12328 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12329 { (case "(($ac_try" in
12330 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12331 *) ac_try_echo
=$ac_try;;
12333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12334 (eval "$ac_try") 2>&5
12336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12337 (exit $ac_status); }; }; then
12340 echo "$as_me: program exited with status $ac_status" >&5
12341 echo "$as_me: failed program was:" >&5
12342 sed 's/^/| /' conftest.
$ac_ext >&5
12344 ( exit $ac_status )
12347 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12351 CFLAGS
="$ac_save_CFLAGS"
12352 CXXFLAGS
="$ac_save_CXXFLAGS"
12353 LIBS
="$ac_save_LIBS"
12356 if test "x$no_sdl" = x
; then
12357 { echo "$as_me:$LINENO: result: yes" >&5
12358 echo "${ECHO_T}yes" >&6; }
12361 { echo "$as_me:$LINENO: result: no" >&5
12362 echo "${ECHO_T}no" >&6; }
12363 if test "$SDL_CONFIG" = "no" ; then
12364 echo "*** The sdl-config script installed by SDL could not be found"
12365 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
12366 echo "*** your path, or set the SDL_CONFIG environment variable to the"
12367 echo "*** full path to sdl-config."
12369 if test -f conf.sdltest
; then
12372 echo "*** Could not run SDL test program, checking why..."
12373 CFLAGS
="$CFLAGS $SDL_CFLAGS"
12374 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
12375 LIBS
="$LIBS $SDL_LIBS"
12376 cat >conftest.
$ac_ext <<_ACEOF
12379 cat confdefs.h
>>conftest.
$ac_ext
12380 cat >>conftest.
$ac_ext <<_ACEOF
12381 /* end confdefs.h. */
12386 int main(int argc, char *argv[])
12389 #define main K_and_R_C_main
12399 rm -f conftest.
$ac_objext conftest
$ac_exeext
12400 if { (ac_try
="$ac_link"
12401 case "(($ac_try" in
12402 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12403 *) ac_try_echo=$ac_try;;
12405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12406 (eval "$ac_link") 2>conftest.er1
12408 grep -v '^ *+' conftest.er1 >conftest.err
12410 cat conftest.err >&5
12411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12412 (exit $ac_status); } && {
12413 test -z "$ac_c_werror_flag" ||
12414 test ! -s conftest.err
12415 } && test -s conftest$ac_exeext &&
12416 $as_test_x conftest$ac_exeext; then
12417 echo "*** The test program compiled, but did not run. This usually means"
12418 echo "*** that the run-time linker is not finding SDL or finding the wrong"
12419 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
12420 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12421 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12422 echo "*** is required on your system"
12424 echo "*** If you have an old version installed, it is best to remove it, although"
12425 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12427 echo "$as_me: failed program was:" >&5
12428 sed 's/^/| /' conftest.$ac_ext >&5
12430 echo "*** The test program failed to compile or link. See the file config.log for the"
12431 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
12432 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
12433 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
12436 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12437 conftest$ac_exeext conftest.$ac_ext
12438 CFLAGS="$ac_save_CFLAGS"
12439 CXXFLAGS="$ac_save_CXXFLAGS"
12440 LIBS="$ac_save_LIBS"
12452 if test "x-$have_sdl" != "x-yes" ; then
12454 if test "x-$sdl_hidd" != "x-auto" ; then
12455 { { echo "$as_me:$LINENO: error: SDL libs/headers not found, cannot build SDL hidd as requested" >&5
12456 echo "$as_me: error: SDL libs/headers not found, cannot build SDL hidd as requested" >&2;}
12457 { (exit 1); exit 1; }; }
12461 sdl_hidd_target=kernel-hidd-sdl
12462 aros_host_sdl_cflags=SDL_CFLAGS
12463 aros_host_sdl_libs=SDL_LIBS
12470 { echo "$as_me:$LINENO: checking if building of dbus.library is enabled" >&5
12471 echo $ECHO_N "checking if building of dbus.library is enabled... $ECHO_C" >&6; }
12472 # Check whether --enable-dbus was given.
12473 if test "${enable_dbus+set}" = set; then
12474 enableval=$enable_dbus; dbus="yes"
12479 if test "$dbus" = "yes" ; then
12481 DBUS_CFLAGS=`pkg-config
--cflags dbus-1
`
12482 DBUS_LIBFLAGS=`pkg-config
--libs dbus-1
`
12483 KERNEL_DBUS_KOBJ=kernel-dbus-kobj
12484 KERNEL_DBUS_INCLUDES=kernel-dbus-includes
12488 { echo "$as_me:$LINENO: result: $dbus" >&5
12489 echo "${ECHO_T}$dbus" >&6; }
12584 # Native version related
12588 # Palm native version related
12591 # Unix/Hosted version related
12610 # Collect-aros stuff: "-ius" to ignore undefined symbols
12613 # C compiler related
12616 case "$aros_flavour" in
12617 emulation) aros_flavour_uc="AROS_FLAVOUR_EMULATION"
12618 aros_flavour="emulation" ;;
12619 emulcompat) aros_flavour_uc="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
12620 aros_flavour="emulation" ;;
12621 standalone) aros_flavour_uc="AROS_FLAVOUR_STANDALONE"
12622 aros_flavour="standalone";;
12623 native) aros_flavour_uc="AROS_FLAVOUR_NATIVE"
12624 aros_flavour="native" ;;
12625 nativecompat) aros_flavour_uc="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
12626 aros_flavour="native" ;;
12627 linklib) aros_flavour_uc="AROS_FLAVOUR_LINKLIB"
12628 aros_flavour="linklib" ;;
12629 palmnative) aros_flavour_uc="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
12630 aros_flavour="palmnative" ;;
12631 mac68knative) aros_flavour_uc="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
12632 aros_flavour="mac68knative" ;;
12633 ppcnative) aros_flavour_uc="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
12634 aros_flavour="ppcnative" ;;
12637 if test ! -d ${aros_inc_dir} ; then
12638 ${MKDIR} ${aros_inc_dir}
12640 if test ! -d ${aros_geninc_dir} ; then
12641 ${MKDIR} ${aros_geninc_dir}
12643 if test ! -d ${aros_hostcfg_dir} ; then
12644 ${MKDIR} ${aros_hostcfg_dir}
12646 if test ! -d ${aros_targetcfg_dir} ; then
12647 ${MKDIR} ${aros_targetcfg_dir}
12649 if test ! -d ${aros_tools_dir} ; then
12650 ${MKDIR} ${aros_tools_dir}
12652 if test ! -d ${aros_scripts_dir} ; then
12653 ${MKDIR} ${aros_scripts_dir}
12656 ac_config_headers="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
12659 ac_config_commands="$ac_config_commands compiler_executable"
12661 ac_config_commands="$ac_config_commands genshared_executable"
12663 ac_config_commands="$ac_config_commands genmf_executable"
12665 ac_config_commands="$ac_config_commands adflib_myaros.conf_executable"
12668 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"
12671 cat >confcache <<\_ACEOF
12672 # This file is a shell script that caches the results of configure
12673 # tests run on this system so they can be shared between configure
12674 # scripts and configure runs, see configure's option --config-cache.
12675 # It is not useful on other systems. If it contains results you don't
12676 # want to keep, you may remove or edit it.
12678 # config.status only pays attention to the cache file if you give it
12679 # the --recheck option to rerun configure.
12681 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
12682 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12683 # following values.
12687 # The following way of writing the cache mishandles newlines in values,
12688 # but we know of no workaround that is simple, portable, and efficient.
12689 # So, we kill variables containing newlines.
12690 # Ultrix sh set writes to stderr and can't be redirected directly,
12691 # and sets the high bit in the cache file unless we assign to the vars.
12693 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12694 eval ac_val
=\$
$ac_var
12698 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12699 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12702 _ | IFS | as_nl
) ;; #(
12703 *) $as_unset $ac_var ;;
12709 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12710 *${as_nl}ac_space
=\
*)
12711 # `set' does not quote correctly, so add quotes (double-quote
12712 # substitution turns \\\\ into \\, and sed turns \\ into \).
12715 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12718 # `set' quotes correctly as required by POSIX, so do not add quotes.
12719 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12728 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12730 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12732 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12733 if test -w "$cache_file"; then
12734 test "x$cache_file" != "x/dev/null" &&
12735 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12736 echo "$as_me: updating cache $cache_file" >&6;}
12737 cat confcache
>$cache_file
12739 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12740 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12745 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12746 # Let make expand exec_prefix.
12747 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12749 DEFS
=-DHAVE_CONFIG_H
12753 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12754 # 1. Remove the extension, and $U if already installed.
12755 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12756 ac_i
=`echo "$ac_i" | sed "$ac_script"`
12757 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12758 # will be set to the directory where LIBOBJS objects are built.
12759 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12760 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
12762 LIBOBJS
=$ac_libobjs
12764 LTLIBOBJS
=$ac_ltlibobjs
12768 : ${CONFIG_STATUS=./config.status}
12769 ac_clean_files_save
=$ac_clean_files
12770 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12771 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12772 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12773 cat >$CONFIG_STATUS <<_ACEOF
12775 # Generated by $as_me.
12776 # Run this file to recreate the current configuration.
12777 # Compiler output produced by configure, useful for debugging
12778 # configure, is in config.log if it exists.
12781 ac_cs_recheck=false
12783 SHELL=\${CONFIG_SHELL-$SHELL}
12786 cat >>$CONFIG_STATUS <<\_ACEOF
12787 ## --------------------- ##
12788 ## M4sh Initialization. ##
12789 ## --------------------- ##
12791 # Be more Bourne compatible
12792 DUALCASE
=1; export DUALCASE
# for MKS sh
12793 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
12796 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12797 # is contrary to our usage. Disable this feature.
12798 alias -g '${1+"$@"}'='"$@"'
12799 setopt NO_GLOB_SUBST
12801 case `(set -o) 2>/dev/null` in
12802 *posix
*) set -o posix
;;
12811 # Avoid depending upon Character Ranges.
12812 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12813 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12814 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12815 as_cr_digits
='0123456789'
12816 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12818 # The user is always right.
12819 if test "${PATH_SEPARATOR+set}" != set; then
12820 echo "#! /bin/sh" >conf$$.sh
12821 echo "exit 0" >>conf$$.sh
12823 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12831 # Support unset when possible.
12832 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
12840 # We need space, tab and new line, in precisely that order. Quoting is
12841 # there to prevent editors from complaining about space-tab.
12842 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12843 # splitting by setting IFS to empty value.)
12848 # Find who we are. Look in the path if we contain no directory separator.
12850 *[\\/]* ) as_myself
=$0 ;;
12851 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12852 for as_dir
in $PATH
12855 test -z "$as_dir" && as_dir
=.
12856 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
12862 # We did not find ourselves, most probably we were run as `sh COMMAND'
12863 # in which case we are not to be found in the path.
12864 if test "x$as_myself" = x
; then
12867 if test ! -f "$as_myself"; then
12868 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12869 { (exit 1); exit 1; }
12872 # Work around bugs in pre-3.0 UWIN ksh.
12873 for as_var
in ENV MAIL MAILPATH
12874 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
12882 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12883 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12884 LC_TELEPHONE LC_TIME
12886 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12887 eval $as_var=C
; export $as_var
12889 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
12893 # Required to use basename.
12894 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12895 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12901 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12902 as_basename
=basename
12908 # Name of the executable.
12909 as_me
=`$as_basename -- "$0" ||
12910 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12911 X"$0" : 'X\(//\)$' \| \
12912 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12914 sed '/^.*\/\([^/][^/]*\)\/*$/{
12933 as_lineno_1
=$LINENO
12934 as_lineno_2
=$LINENO
12935 test "x$as_lineno_1" != "x$as_lineno_2" &&
12936 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
12938 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12939 # uniformly replaced by the line number. The first 'sed' inserts a
12940 # line-number line after each line using $LINENO; the second 'sed'
12941 # does the real work. The second script uses 'N' to pair each
12942 # line-number line with the line containing $LINENO, and appends
12943 # trailing '-' during substitution so that $LINENO is not a special
12944 # case at line end.
12945 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12946 # scripts with optimization help from Paolo Bonzini. Blame Lee
12947 # E. McMahon (1931-1989) for sed's syntax. :-)
12959 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
12962 ' >$as_me.lineno
&&
12963 chmod +x
"$as_me.lineno" ||
12964 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
12965 { (exit 1); exit 1; }; }
12967 # Don't try to exec as it changes $[0], causing all sort of problems
12968 # (the dirname of $[0] is not the place where we might find the
12969 # original and so on. Autoconf is especially sensitive to this).
12970 .
"./$as_me.lineno"
12971 # Exit status is that of the last command.
12976 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12982 ECHO_C
= ECHO_N
= ECHO_T
=
12983 case `echo -n x` in
12985 case `echo 'x\c'` in
12986 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12993 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12994 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13000 rm -f conf$$ conf$$.exe conf$$.
file
13001 if test -d conf$$.dir
; then
13002 rm -f conf$$.dir
/conf$$.
file
13008 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13010 # ... but there are two gotchas:
13011 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13012 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13013 # In both cases, we have to default to `cp -p'.
13014 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13016 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13021 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13022 rmdir conf$$.dir
2>/dev
/null
13024 if mkdir
-p .
2>/dev
/null
; then
13027 test -d .
/-p && rmdir .
/-p
13031 if test -x / >/dev
/null
2>&1; then
13032 as_test_x
='test -x'
13034 if ls -dL / >/dev
/null
2>&1; then
13041 if test -d "$1"; then
13047 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13048 ???[sx]*):;;*)false;;esac;fi
13052 as_executable_p
=$as_test_x
13054 # Sed expression to map a string onto a valid CPP name.
13055 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13057 # Sed expression to map a string onto a valid variable name.
13058 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13063 # Save the log message, to keep $[0] and so on meaningful, and to
13064 # report actual input values of CONFIG_FILES etc. instead of their
13065 # values after options handling.
13067 This file was extended by $as_me, which was
13068 generated by GNU Autoconf 2.61. Invocation command line was
13070 CONFIG_FILES = $CONFIG_FILES
13071 CONFIG_HEADERS = $CONFIG_HEADERS
13072 CONFIG_LINKS = $CONFIG_LINKS
13073 CONFIG_COMMANDS = $CONFIG_COMMANDS
13076 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13081 cat >>$CONFIG_STATUS <<_ACEOF
13082 # Files that config.status was made for.
13083 config_files="$ac_config_files"
13084 config_headers="$ac_config_headers"
13085 config_commands="$ac_config_commands"
13089 cat >>$CONFIG_STATUS <<\_ACEOF
13091 \`$as_me' instantiates files from templates according to the
13092 current configuration.
13094 Usage: $0 [OPTIONS] [FILE]...
13096 -h, --help print this help, then exit
13097 -V, --version print version number and configuration settings, then exit
13098 -q, --quiet do not print progress messages
13099 -d, --debug don't remove temporary files
13100 --recheck update $as_me by reconfiguring in the same conditions
13101 --file=FILE[:TEMPLATE]
13102 instantiate the configuration file FILE
13103 --header=FILE[:TEMPLATE]
13104 instantiate the configuration header FILE
13106 Configuration files:
13109 Configuration headers:
13112 Configuration commands:
13115 Report bugs to <bug-autoconf@gnu.org>."
13118 cat >>$CONFIG_STATUS <<_ACEOF
13121 configured by $0, generated by GNU Autoconf 2.61,
13122 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13124 Copyright (C) 2006 Free Software Foundation, Inc.
13125 This config.status script is free software; the Free Software Foundation
13126 gives unlimited permission to copy, distribute and modify it."
13132 cat >>$CONFIG_STATUS <<\_ACEOF
13133 # If no file are specified by the user, then we need to provide default
13134 # value. By we need to know if files were specified by the user.
13140 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13141 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13152 # Handling of the options.
13153 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13155 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13156 echo "$ac_cs_version"; exit ;;
13157 --debug |
--debu |
--deb |
--de |
--d |
-d )
13159 --file |
--fil |
--fi |
--f )
13161 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
13162 ac_need_defaults
=false
;;
13163 --header |
--heade |
--head |
--hea )
13165 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
13166 ac_need_defaults
=false
;;
13168 # Conflict between --help and --header
13169 { echo "$as_me: error: ambiguous option: $1
13170 Try \`$0 --help' for more information." >&2
13171 { (exit 1); exit 1; }; };;
13172 --help |
--hel |
-h )
13173 echo "$ac_cs_usage"; exit ;;
13174 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13175 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13178 # This is an error.
13179 -*) { echo "$as_me: error: unrecognized option: $1
13180 Try \`$0 --help' for more information." >&2
13181 { (exit 1); exit 1; }; } ;;
13183 *) ac_config_targets
="$ac_config_targets $1"
13184 ac_need_defaults
=false
;;
13190 ac_configure_extra_args
=
13192 if $ac_cs_silent; then
13194 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13198 cat >>$CONFIG_STATUS <<_ACEOF
13199 if \$ac_cs_recheck; then
13200 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13201 CONFIG_SHELL=$SHELL
13202 export CONFIG_SHELL
13203 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13207 cat >>$CONFIG_STATUS <<\_ACEOF
13211 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13212 ## Running $as_me. ##
13218 cat >>$CONFIG_STATUS <<_ACEOF
13223 aros_tools_dir=${aros_tools_dir}
13224 aros_target_cpu=${aros_target_cpu}
13225 aros_target_arch=${aros_target_arch}
13226 aros_target_suffix=${aros_target_suffix}
13227 aros_target_nm_ln=${aros_target_nm_ln}
13228 aros_target_as_ln=${aros_target_as_ln}
13229 aros_target_ar_ln=${aros_target_ar_ln}
13230 aros_target_ranlib_ln=${aros_target_ranlib_ln}
13231 aros_target_objdump_ln=${aros_target_objdump_ln}
13232 aros_target_objcopy_ln=${aros_target_objcopy_ln}
13233 aros_target_strip_ln=${aros_target_strip_ln}
13236 aros_scripts_dir=${aros_scripts_dir}
13238 aros_tools_dir=${aros_tools_dir}
13243 cat >>$CONFIG_STATUS <<\_ACEOF
13245 # Handling of arguments.
13246 for ac_config_target
in $ac_config_targets
13248 case $ac_config_target in
13249 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
13250 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
13251 "genshared_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genshared_executable" ;;
13252 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
13253 "adflib_myaros.conf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS adflib_myaros.conf_executable" ;;
13254 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13255 "rom/mmakefile") CONFIG_FILES
="$CONFIG_FILES rom/mmakefile" ;;
13256 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
13257 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
13258 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
13259 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
13260 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
13261 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
13262 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
13263 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
13264 "${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" ;;
13265 "${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" ;;
13266 "${aros_scripts_dir}/genshared") CONFIG_FILES
="$CONFIG_FILES ${aros_scripts_dir}/genshared:compiler/c_lib/source/lib_source/genshared.in" ;;
13267 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
13268 "tools/adflib/myconf.aros") CONFIG_FILES
="$CONFIG_FILES tools/adflib/myconf.aros" ;;
13269 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
13271 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13272 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13273 { (exit 1); exit 1; }; };;
13278 # If the user did not use the arguments to specify the items to instantiate,
13279 # then the envvar interface is used. Set only those that are not.
13280 # We use the long form for the default assignment because of an extremely
13281 # bizarre bug on SunOS 4.1.3.
13282 if $ac_need_defaults; then
13283 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13284 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13285 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13288 # Have a temporary directory for convenience. Make it in the build tree
13289 # simply because there is no reason against having it here, and in addition,
13290 # creating and moving files from /tmp can sometimes cause problems.
13291 # Hook for its removal unless debugging.
13292 # Note that there is a small window in which the directory will not be cleaned:
13293 # after its creation but before its name has been assigned to `$tmp'.
13297 trap 'exit_status=$?
13298 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13300 trap '{ (exit 1); exit 1; }' 1 2 13 15
13302 # Create a (secure) tmp directory for tmp files.
13305 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13306 test -n "$tmp" && test -d "$tmp"
13309 tmp
=.
/conf$$
-$RANDOM
13310 (umask 077 && mkdir
"$tmp")
13313 echo "$me: cannot create a temporary directory in ." >&2
13314 { (exit 1); exit 1; }
13318 # Set up the sed scripts for CONFIG_FILES section.
13321 # No need to generate the scripts if there are no CONFIG_FILES.
13322 # This happens for instance when ./config.status config.h
13323 if test -n "$CONFIG_FILES"; then
13330 for ac_last_try
in false false false false false
:; do
13331 cat >conf$
$subs.
sed <<_ACEOF
13332 SHELL!$SHELL$ac_delim
13333 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
13334 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
13335 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
13336 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
13337 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
13338 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
13339 exec_prefix!$exec_prefix$ac_delim
13340 prefix!$prefix$ac_delim
13341 program_transform_name!$program_transform_name$ac_delim
13342 bindir!$bindir$ac_delim
13343 sbindir!$sbindir$ac_delim
13344 libexecdir!$libexecdir$ac_delim
13345 datarootdir!$datarootdir$ac_delim
13346 datadir!$datadir$ac_delim
13347 sysconfdir!$sysconfdir$ac_delim
13348 sharedstatedir!$sharedstatedir$ac_delim
13349 localstatedir!$localstatedir$ac_delim
13350 includedir!$includedir$ac_delim
13351 oldincludedir!$oldincludedir$ac_delim
13352 docdir!$docdir$ac_delim
13353 infodir!$infodir$ac_delim
13354 htmldir!$htmldir$ac_delim
13355 dvidir!$dvidir$ac_delim
13356 pdfdir!$pdfdir$ac_delim
13357 psdir!$psdir$ac_delim
13358 libdir!$libdir$ac_delim
13359 localedir!$localedir$ac_delim
13360 mandir!$mandir$ac_delim
13361 DEFS!$DEFS$ac_delim
13362 ECHO_C!$ECHO_C$ac_delim
13363 ECHO_N!$ECHO_N$ac_delim
13364 ECHO_T!$ECHO_T$ac_delim
13365 LIBS!$LIBS$ac_delim
13366 build_alias!$build_alias$ac_delim
13367 host_alias!$host_alias$ac_delim
13368 target_alias!$target_alias$ac_delim
13369 build!$build$ac_delim
13370 build_cpu!$build_cpu$ac_delim
13371 build_vendor!$build_vendor$ac_delim
13372 build_os!$build_os$ac_delim
13373 host!$host$ac_delim
13374 host_cpu!$host_cpu$ac_delim
13375 host_vendor!$host_vendor$ac_delim
13376 host_os!$host_os$ac_delim
13378 CFLAGS!$CFLAGS$ac_delim
13379 LDFLAGS!$LDFLAGS$ac_delim
13380 CPPFLAGS!$CPPFLAGS$ac_delim
13381 ac_ct_CC!$ac_ct_CC$ac_delim
13382 EXEEXT!$EXEEXT$ac_delim
13383 OBJEXT!$OBJEXT$ac_delim
13386 MMAKE!$MMAKE$ac_delim
13387 aros_host_ld!$aros_host_ld$ac_delim
13388 aros_host_aclocal!$aros_host_aclocal$ac_delim
13389 aros_host_autoconf!$aros_host_autoconf$ac_delim
13390 aros_host_autoheader!$aros_host_autoheader$ac_delim
13391 aros_host_automake!$aros_host_automake$ac_delim
13392 aros_host_ar!$aros_host_ar$ac_delim
13393 aros_host_ranlib!$aros_host_ranlib$ac_delim
13394 aros_host_strip!$aros_host_strip$ac_delim
13398 ECHO!$ECHO$ac_delim
13399 MKDIR!$MKDIR$ac_delim
13400 TOUCH!$TOUCH$ac_delim
13401 SORT!$SORT$ac_delim
13402 UNIQ!$UNIQ$ac_delim
13405 BISON!$BISON$ac_delim
13406 FLEX!$FLEX$ac_delim
13407 PNGTOPNM!$PNGTOPNM$ac_delim
13408 PPMTOILBM!$PPMTOILBM$ac_delim
13410 CHMOD!$CHMOD$ac_delim
13411 PYTHON!$PYTHON$ac_delim
13412 PYTHON_VERSION!$PYTHON_VERSION$ac_delim
13413 PYTHON_PREFIX!$PYTHON_PREFIX$ac_delim
13414 PYTHON_EXEC_PREFIX!$PYTHON_EXEC_PREFIX$ac_delim
13415 PYTHON_PLATFORM!$PYTHON_PLATFORM$ac_delim
13416 pythondir!$pythondir$ac_delim
13417 pkgpythondir!$pkgpythondir$ac_delim
13418 pyexecdir!$pyexecdir$ac_delim
13419 pkgpyexecdir!$pkgpyexecdir$ac_delim
13422 TEST!$TEST$ac_delim
13424 GREP!$GREP$ac_delim
13425 EGREP!$EGREP$ac_delim
13426 LIBOBJS!$LIBOBJS$ac_delim
13427 DISTCC!$DISTCC$ac_delim
13428 CCACHE!$CCACHE$ac_delim
13431 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
13433 elif $ac_last_try; then
13434 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13435 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13436 { (exit 1); exit 1; }; }
13438 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
13442 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13443 if test -n "$ac_eof"; then
13444 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
13445 ac_eof
=`expr $ac_eof + 1`
13448 cat >>$CONFIG_STATUS <<_ACEOF
13449 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
13450 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13453 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13454 s/^/s,@/; s/!/@,|#_!!_#|/
13457 s/'"$ac_delim"'$/,g/; t
13459 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13460 ' >>$CONFIG_STATUS <conf$
$subs.
sed
13461 rm -f conf$
$subs.
sed
13462 cat >>$CONFIG_STATUS <<_ACEOF
13468 for ac_last_try
in false false false false false
:; do
13469 cat >conf$
$subs.
sed <<_ACEOF
13470 LIBLZO!$LIBLZO$ac_delim
13471 aros_kernel_cc!$aros_kernel_cc$ac_delim
13472 aros_target_cc!$aros_target_cc$ac_delim
13473 aros_target_ld!$aros_target_ld$ac_delim
13474 aros_target_as_ln!$aros_target_as_ln$ac_delim
13475 aros_kernel_ld!$aros_kernel_ld$ac_delim
13476 aros_target_ar_ln!$aros_target_ar_ln$ac_delim
13477 aros_target_nm_ln!$aros_target_nm_ln$ac_delim
13478 aros_target_objcopy_ln!$aros_target_objcopy_ln$ac_delim
13479 aros_target_objdump_ln!$aros_target_objdump_ln$ac_delim
13480 aros_target_ranlib_ln!$aros_target_ranlib_ln$ac_delim
13481 aros_target_strip_ln!$aros_target_strip_ln$ac_delim
13482 aros_target_nostdinc_cflags!$aros_target_nostdinc_cflags$ac_delim
13483 aros_target_nostartup_ldflags!$aros_target_nostartup_ldflags$ac_delim
13484 aros_target_nix_ldflags!$aros_target_nix_ldflags$ac_delim
13485 aros_target_detach_ldflags!$aros_target_detach_ldflags$ac_delim
13486 aros_target_nostdlib_ldflags!$aros_target_nostdlib_ldflags$ac_delim
13487 aros_cflags_iquote!$aros_cflags_iquote$ac_delim
13488 aros_cflags_iquote_end!$aros_cflags_iquote_end$ac_delim
13489 XMKMF!$XMKMF$ac_delim
13490 SDL_CONFIG!$SDL_CONFIG$ac_delim
13491 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
13492 SDL_LIBS!$SDL_LIBS$ac_delim
13493 aros_arch!$aros_arch$ac_delim
13494 aros_cpu!$aros_cpu$ac_delim
13495 aros_flavour!$aros_flavour$ac_delim
13496 aros_flavour_uc!$aros_flavour_uc$ac_delim
13497 AROS_BUILDDIR!$AROS_BUILDDIR$ac_delim
13498 SRCDIR!$SRCDIR$ac_delim
13499 AROS_PORTSSRCDIR!$AROS_PORTSSRCDIR$ac_delim
13500 aros_cc_pre!$aros_cc_pre$ac_delim
13501 aros_host_arch!$aros_host_arch$ac_delim
13502 aros_host_cpu!$aros_host_cpu$ac_delim
13503 aros_host_cc!$aros_host_cc$ac_delim
13504 aros_host_make!$aros_host_make$ac_delim
13505 aros_host_cflags!$aros_host_cflags$ac_delim
13506 aros_host_ldflags!$aros_host_ldflags$ac_delim
13507 aros_host_debug!$aros_host_debug$ac_delim
13508 aros_host_mkdep!$aros_host_mkdep$ac_delim
13509 aros_host_mkargs!$aros_host_mkargs$ac_delim
13510 aros_host_exe_suffix!$aros_host_exe_suffix$ac_delim
13511 aros_host_lib_suffix!$aros_host_lib_suffix$ac_delim
13512 aros_tools_dir!$aros_tools_dir$ac_delim
13513 aros_target_guitheme!$aros_target_guitheme$ac_delim
13514 aros_target_bootloader!$aros_target_bootloader$ac_delim
13515 aros_target_arch!$aros_target_arch$ac_delim
13516 aros_target_cpu!$aros_target_cpu$ac_delim
13517 aros_target_variant!$aros_target_variant$ac_delim
13518 aros_target_suffix!$aros_target_suffix$ac_delim
13519 aros_target_incl!$aros_target_incl$ac_delim
13520 aros_target_ar!$aros_target_ar$ac_delim
13521 aros_target_ranlib!$aros_target_ranlib$ac_delim
13522 aros_kernel_nm!$aros_kernel_nm$ac_delim
13523 orig_target_cc!$orig_target_cc$ac_delim
13524 aros_target_as!$aros_target_as$ac_delim
13525 orig_target_ld!$orig_target_ld$ac_delim
13526 aros_target_cc_includes!$aros_target_cc_includes$ac_delim
13527 aros_target_cc_path!$aros_target_cc_path$ac_delim
13528 aros_target_objdump!$aros_target_objdump$ac_delim
13529 aros_target_objcopy!$aros_target_objcopy$ac_delim
13530 aros_target_strip!$aros_target_strip$ac_delim
13531 aros_target_nm!$aros_target_nm$ac_delim
13532 aros_shared_default!$aros_shared_default$ac_delim
13533 aros_shared_ld!$aros_shared_ld$ac_delim
13534 aros_object_format!$aros_object_format$ac_delim
13535 aros_compiler_libs!$aros_compiler_libs$ac_delim
13536 aros_config_cflags!$aros_config_cflags$ac_delim
13537 aros_config_aflags!$aros_config_aflags$ac_delim
13538 aros_config_ldflags!$aros_config_ldflags$ac_delim
13539 aros_shared_cflags!$aros_shared_cflags$ac_delim
13540 aros_shared_aflags!$aros_shared_aflags$ac_delim
13541 aros_shared_ldflags!$aros_shared_ldflags$ac_delim
13542 aros_kernel_cflags!$aros_kernel_cflags$ac_delim
13543 aros_kernel_ldflags!$aros_kernel_ldflags$ac_delim
13544 aros_debug_cflags!$aros_debug_cflags$ac_delim
13545 aros_debug_aflags!$aros_debug_aflags$ac_delim
13546 aros_debug_ldflags!$aros_debug_ldflags$ac_delim
13547 aros_target_genmap!$aros_target_genmap$ac_delim
13548 aros_target_strip_flags!$aros_target_strip_flags$ac_delim
13549 x11_hidd_target!$x11_hidd_target$ac_delim
13550 sdl_hidd_target!$sdl_hidd_target$ac_delim
13551 aros_default_wbwidth!$aros_default_wbwidth$ac_delim
13552 aros_default_wbheight!$aros_default_wbheight$ac_delim
13553 aros_default_wbdepth!$aros_default_wbdepth$ac_delim
13554 DO_XSHM_SUPPORT!$DO_XSHM_SUPPORT$ac_delim
13555 DO_VIDMODE_SUPPORT!$DO_VIDMODE_SUPPORT$ac_delim
13556 aros_host_x11_includes!$aros_host_x11_includes$ac_delim
13557 aros_host_x11_libdirs!$aros_host_x11_libdirs$ac_delim
13558 aros_host_sdl_cflags!$aros_host_sdl_cflags$ac_delim
13559 aros_host_sdl_libs!$aros_host_sdl_libs$ac_delim
13560 aros_bochs_hack!$aros_bochs_hack$ac_delim
13561 aros_serial_debug!$aros_serial_debug$ac_delim
13562 aros_palm_debug_hack!$aros_palm_debug_hack$ac_delim
13563 aros_nesting_supervisor!$aros_nesting_supervisor$ac_delim
13564 ENABLE_DBUS!$ENABLE_DBUS$ac_delim
13565 DBUS_CFLAGS!$DBUS_CFLAGS$ac_delim
13566 DBUS_LIBFLAGS!$DBUS_LIBFLAGS$ac_delim
13569 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
13571 elif $ac_last_try; then
13572 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13573 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13574 { (exit 1); exit 1; }; }
13576 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
13580 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13581 if test -n "$ac_eof"; then
13582 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
13583 ac_eof
=`expr $ac_eof + 1`
13586 cat >>$CONFIG_STATUS <<_ACEOF
13587 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
13588 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13591 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13592 s/^/s,@/; s/!/@,|#_!!_#|/
13595 s/'"$ac_delim"'$/,g/; t
13597 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13598 ' >>$CONFIG_STATUS <conf$
$subs.
sed
13599 rm -f conf$
$subs.
sed
13600 cat >>$CONFIG_STATUS <<_ACEOF
13606 for ac_last_try
in false false false false false
:; do
13607 cat >conf$
$subs.
sed <<_ACEOF
13608 KERNEL_DBUS_KOBJ!$KERNEL_DBUS_KOBJ$ac_delim
13609 KERNEL_DBUS_INCLUDES!$KERNEL_DBUS_INCLUDES$ac_delim
13610 ENABLE_X11!$ENABLE_X11$ac_delim
13611 aros_debug!$aros_debug$ac_delim
13612 aros_mungwall_debug!$aros_mungwall_debug$ac_delim
13613 aros_stack_debug!$aros_stack_debug$ac_delim
13614 aros_modules_debug!$aros_modules_debug$ac_delim
13615 ignore_undefined_symbols!$ignore_undefined_symbols$ac_delim
13616 gcc_target_cpu!$gcc_target_cpu$ac_delim
13617 LTLIBOBJS!$LTLIBOBJS$ac_delim
13620 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 10; then
13622 elif $ac_last_try; then
13623 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13624 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13625 { (exit 1); exit 1; }; }
13627 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
13631 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13632 if test -n "$ac_eof"; then
13633 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
13634 ac_eof
=`expr $ac_eof + 1`
13637 cat >>$CONFIG_STATUS <<_ACEOF
13638 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
13639 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
13642 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13643 s/^/s,@/; s/!/@,|#_!!_#|/
13646 s/'"$ac_delim"'$/,g/; t
13648 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13649 ' >>$CONFIG_STATUS <conf$
$subs.
sed
13650 rm -f conf$
$subs.
sed
13651 cat >>$CONFIG_STATUS <<_ACEOF
13658 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13659 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13660 # trailing colons and then remove the whole line if VPATH becomes empty
13661 # (actually we leave an empty line to preserve line numbers).
13662 if test "x$srcdir" = x.
; then
13663 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
13664 s/:*\$(srcdir):*/:/
13665 s/:*\${srcdir}:*/:/
13667 s/^\([^=]*=[ ]*\):*/\1/
13673 cat >>$CONFIG_STATUS <<\_ACEOF
13674 fi # test -n "$CONFIG_FILES"
13677 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
13680 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13682 case $ac_mode$ac_tag in
13684 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
13685 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
13686 { (exit 1); exit 1; }; };;
13687 :[FH
]-) ac_tag
=-:-;;
13688 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13705 -) ac_f
="$tmp/stdin";;
13706 *) # Look for the file first in the build tree, then in the source tree
13707 # (if the path is not absolute). The absolute path cannot be DOS-style,
13708 # because $ac_f cannot contain `:'.
13712 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13714 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
13715 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
13716 { (exit 1); exit 1; }; };;
13718 ac_file_inputs
="$ac_file_inputs $ac_f"
13721 # Let's still pretend it is `configure' which instantiates (i.e., don't
13722 # use $as_me), people would be surprised to read:
13723 # /* config.h. Generated by config.status. */
13724 configure_input
="Generated from "`IFS=:
13725 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
13726 if test x
"$ac_file" != x-
; then
13727 configure_input
="$ac_file. $configure_input"
13728 { echo "$as_me:$LINENO: creating $ac_file" >&5
13729 echo "$as_me: creating $ac_file" >&6;}
13733 *:-:* |
*:-) cat >"$tmp/stdin";;
13738 ac_dir
=`$as_dirname -- "$ac_file" ||
13739 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13740 X"$ac_file" : 'X\(//\)[^/]' \| \
13741 X"$ac_file" : 'X\(//\)$' \| \
13742 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13744 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13748 /^X\(\/\/\)[^/].*/{
13763 -*) as_dir
=.
/$as_dir;;
13765 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
13769 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
13770 *) as_qdir
=$as_dir;;
13772 as_dirs
="'$as_qdir' $as_dirs"
13773 as_dir
=`$as_dirname -- "$as_dir" ||
13774 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13775 X"$as_dir" : 'X\(//\)[^/]' \| \
13776 X"$as_dir" : 'X\(//\)$' \| \
13777 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13779 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13783 /^X\(\/\/\)[^/].*/{
13796 test -d "$as_dir" && break
13798 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13799 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13800 echo "$as_me: error: cannot create directory $as_dir" >&2;}
13801 { (exit 1); exit 1; }; }; }
13805 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13807 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13808 # A ".." for each directory in $ac_dir_suffix.
13809 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
13810 case $ac_top_builddir_sub in
13811 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13812 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13815 ac_abs_top_builddir
=$ac_pwd
13816 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13817 # for backward compatibility:
13818 ac_top_builddir
=$ac_top_build_prefix
13821 .
) # We are building in place.
13823 ac_top_srcdir
=$ac_top_builddir_sub
13824 ac_abs_top_srcdir
=$ac_pwd ;;
13825 [\\/]* | ?
:[\\/]* ) # Absolute name.
13826 ac_srcdir
=$srcdir$ac_dir_suffix;
13827 ac_top_srcdir
=$srcdir
13828 ac_abs_top_srcdir
=$srcdir ;;
13829 *) # Relative name.
13830 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13831 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13832 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13834 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13845 cat >>$CONFIG_STATUS <<\_ACEOF
13846 # If the template does not know about datarootdir, expand it.
13847 # FIXME: This hack should be removed a few years after 2.60.
13848 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13850 case `sed -n '/datarootdir/ {
13859 ' $ac_file_inputs` in
13860 *datarootdir
*) ac_datarootdir_seen
=yes;;
13861 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13862 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13863 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13865 cat >>$CONFIG_STATUS <<_ACEOF
13866 ac_datarootdir_hack='
13867 s&@datadir@&$datadir&g
13868 s&@docdir@&$docdir&g
13869 s&@infodir@&$infodir&g
13870 s&@localedir@&$localedir&g
13871 s&@mandir@&$mandir&g
13872 s&\\\${datarootdir}&$datarootdir&g' ;;
13876 # Neutralize VPATH when `$srcdir' = `.'.
13877 # Shell code in configure.ac might set extrasub.
13878 # FIXME: do we really want to maintain this feature?
13879 cat >>$CONFIG_STATUS <<_ACEOF
13883 cat >>$CONFIG_STATUS <<\_ACEOF
13885 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13886 s
&@configure_input@
&$configure_input&;t t
13887 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13888 s
&@srcdir@
&$ac_srcdir&;t t
13889 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13890 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13891 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13892 s
&@builddir@
&$ac_builddir&;t t
13893 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13894 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13895 $ac_datarootdir_hack
13896 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" | sed -f "$tmp/subs-3.
sed" >$tmp/out
13898 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13899 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
13900 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
13901 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13902 which seems to be undefined. Please make sure it is defined." >&5
13903 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13904 which seems to be undefined. Please make sure it is defined." >&2;}
13908 -) cat "$tmp/out"; rm -f "$tmp/out";;
13909 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
13918 # Transform confdefs.h into a sed script `conftest.defines', that
13919 # substitutes the proper values into config.h.in to produce config.h.
13920 rm -f conftest.defines conftest.
tail
13921 # First, append a space to every undef/define line, to ease matching.
13922 echo 's/$/ /' >conftest.defines
13923 # Then, protect against being on the right side of a sed subst, or in
13924 # an unquoted here document, in config.status. If some macros were
13925 # called several times there might be several #defines for the same
13926 # symbol, which is useless. But do not sort them, since the last
13927 # AC_DEFINE must be honored.
13928 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
13929 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
13930 # NAME is the cpp macro being defined, VALUE is the value it is being given.
13931 # PARAMS is the parameter list in the macro definition--in most cases, it's
13932 # just an empty string.
13933 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
13934 ac_dB
='\\)[ (].*,\\1define\\2'
13942 s/^[ ]*#[ ]*define[ ][ ]*//
13947 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
13948 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
13949 ' >>conftest.defines
13951 # Remove the space that was appended to ease matching.
13952 # Then replace #undef with comments. This is necessary, for
13953 # example, in the case of _POSIX_SOURCE, which is predefined and required
13954 # on some systems where configure will not decide to define it.
13955 # (The regexp can be short, since the line contains either #define or #undef.)
13957 s,^[ #]*u.*,/* & */,' >>conftest.defines
13959 # Break up conftest.defines:
13960 ac_max_sed_lines
=50
13962 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
13963 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
13964 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
13966 ac_in
='$ac_file_inputs'
13967 ac_out
='"$tmp/out1"'
13968 ac_nxt
='"$tmp/out2"'
13972 # Write a here document:
13973 cat >>$CONFIG_STATUS <<_ACEOF
13974 # First, check the format of the line:
13975 cat >"\$tmp/defines.sed" <<\\CEOF
13976 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
13977 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
13981 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
13983 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
13984 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
13985 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
13986 grep . conftest.
tail >/dev
/null ||
break
13987 rm -f conftest.defines
13988 mv conftest.
tail conftest.defines
13990 rm -f conftest.defines conftest.
tail
13992 echo "ac_result=$ac_in" >>$CONFIG_STATUS
13993 cat >>$CONFIG_STATUS <<\_ACEOF
13994 if test x
"$ac_file" != x-
; then
13995 echo "/* $configure_input */" >"$tmp/config.h"
13996 cat "$ac_result" >>"$tmp/config.h"
13997 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
13998 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13999 echo "$as_me: $ac_file is unchanged" >&6;}
14002 mv "$tmp/config.h" $ac_file
14005 echo "/* $configure_input */"
14011 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
14012 echo "$as_me: executing $ac_file commands" >&6;}
14017 case $ac_file$ac_mode in
14018 "compiler_executable":C
)
14019 prefix
=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
14021 prefix
="${prefix}/${aros_target_cpu}-aros"
14022 prefix2
=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
14026 chmod a
+x
${prefix2}-gcc ${prefix2}-ld
14028 ln -sf ${prefix2}-gcc ${prefix}-gcc
14029 ln -sf ${prefix2}-ld ${prefix}-ld
14031 ln -sf $aros_target_as_ln ${prefix}-as
14032 ln -sf $aros_target_nm_ln ${prefix}-nm
14033 ln -sf $aros_target_ar_ln ${prefix}-ar
14034 ln -sf $aros_target_ranlib_ln ${prefix}-ranlib
14035 ln -sf $aros_target_objcopy_ln ${prefix}-objcopy
14036 ln -sf $aros_target_objdump_ln ${prefix}-objdump
14037 ln -sf $aros_target_strip_ln ${prefix}-strip
14039 ln -sf $aros_target_as_ln ${prefix2}-as
14040 ln -sf $aros_target_nm_ln ${prefix2}-nm
14041 ln -sf $aros_target_ar_ln ${prefix2}-ar
14042 ln -sf $aros_target_ranlib_ln ${prefix2}-ranlib
14043 ln -sf $aros_target_objcopy_ln ${prefix2}-objcopy
14044 ln -sf $aros_target_objdump_ln ${prefix2}-objdump
14045 ln -sf $aros_target_strip_ln ${prefix2}-strip
14047 "genshared_executable":C
) chmod a
+x
${aros_scripts_dir}/genshared
;;
14048 "genmf_executable":C
) chmod a
+x
${aros_tools_dir}/genmf.py
;;
14049 "adflib_myaros.conf_executable":C
) chmod a
+x tools
/adflib
/myconf.aros
14056 { (exit 0); exit 0; }
14058 chmod +x
$CONFIG_STATUS
14059 ac_clean_files
=$ac_clean_files_save
14062 # configure is writing to config.log, and then calls config.status.
14063 # config.status does its own redirection, appending to config.log.
14064 # Unfortunately, on DOS this fails, as config.log is still kept open
14065 # by configure, so config.status won't be able to write to it; its
14066 # output is simply discarded. So we exec the FD to /dev/null,
14067 # effectively closing config.log, so it can be properly (re)opened and
14068 # appended to by config.status. When coming back to configure, we
14069 # need to make the FD available again.
14070 if test "$no_create" != yes; then
14072 ac_config_status_args
=
14073 test "$silent" = yes &&
14074 ac_config_status_args
="$ac_config_status_args --quiet"
14076 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14078 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14079 # would make configure fail if this is the last instruction.
14080 $ac_cs_success ||
{ (exit 1); exit 1; }
14085 #XXX compatability...
14086 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
14088 if test -n "$aros_shared_cflags" ; then
14089 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
14090 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg