2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE
=1; export DUALCASE
# for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix
*) set -o posix
;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits
='0123456789'
38 as_cr_alnum
=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53 # Support unset when possible.
54 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself
=$0 ;;
73 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir
=.
78 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x
; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var
in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C
; export $as_var
111 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
123 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me
=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x
; then
155 if (eval ":") 2>/dev
/null
; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev
/null
; then
221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
222 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir
=.
228 for as_base
in sh bash ksh sh5
; do
229 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
236 for as_shell
in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix
*) set -o posix
;;
258 CONFIG_SHELL
=$as_shell
260 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
286 as_func_ret_success
() {
289 as_func_ret_failure
() {
294 if as_func_success
; then
298 echo as_func_success failed.
301 if as_func_failure
; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success
; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure
; then
315 echo as_func_ret_failure succeeded.
318 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) ||
{ (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x
; then
343 for as_var
in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no
; then
352 echo This
script requires a shell
more modern than all the
353 echo shells that I found on your system. Please
install a
354 echo modern shell
, or manually run the
script under such a
355 echo shell
if you
do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") ||
{
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system
,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x
"$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
472 ECHO_C
= ECHO_N
= ECHO_T
=
476 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
483 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
490 rm -f conf$$ conf$$.exe conf$$.
file
491 if test -d conf$$.dir
; then
492 rm -f conf$$.dir
/conf$$.
file
498 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
506 elif ln conf$$.
file conf$$
2>/dev
/null
; then
511 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
512 rmdir conf$$.dir
2>/dev
/null
514 if mkdir
-p .
2>/dev
/null
; then
517 test -d .
/-p && rmdir .
/-p
521 if test -x / >/dev
/null
2>&1; then
524 if ls -dL / >/dev
/null
2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p
=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev
/null
6>&1
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix
=/usr
/local
564 ac_config_libobj_dir
=.
570 SHELL
=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
579 ac_unique_file
="mmakefile"
580 # Factoring default headers for most tests.
581 ac_includes_default
="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
625 program_transform_name
721 aros_target_objcopy_ln
722 aros_target_objdump_ln
723 aros_target_ranlib_ln
725 aros_target_nostdinc_cflags
726 aros_target_nostartup_ldflags
727 aros_target_nix_ldflags
728 aros_target_detach_ldflags
729 aros_target_nostdlib_ldflags
731 aros_cflags_iquote_end
757 aros_target_bootloader
769 aros_target_cc_includes
791 aros_target_strip_flags
795 aros_default_wbheight
799 aros_host_x11_includes
800 aros_host_x11_libdirs
806 aros_nesting_supervisor
816 ignore_undefined_symbols
820 ac_precious_vars
='build_alias
832 # Initialize some variables set by options.
834 ac_init_version
=false
835 # The variables have the same names as the options, with
836 # dashes changed to underlines.
844 program_transform_name
=s
,x
,x
,
852 # Installation directory options.
853 # These are left unexpanded so users can "make install exec_prefix=/foo"
854 # and all the variables that are supposed to be based on exec_prefix
855 # by default will actually change.
856 # Use braces instead of parens because sh, perl, etc. also accept them.
857 # (The list follows the same order as the GNU Coding Standards.)
858 bindir
='${exec_prefix}/bin'
859 sbindir
='${exec_prefix}/sbin'
860 libexecdir
='${exec_prefix}/libexec'
861 datarootdir
='${prefix}/share'
862 datadir
='${datarootdir}'
863 sysconfdir
='${prefix}/etc'
864 sharedstatedir
='${prefix}/com'
865 localstatedir
='${prefix}/var'
866 includedir
='${prefix}/include'
867 oldincludedir
='/usr/include'
868 docdir
='${datarootdir}/doc/${PACKAGE}'
869 infodir
='${datarootdir}/info'
874 libdir
='${exec_prefix}/lib'
875 localedir
='${datarootdir}/locale'
876 mandir
='${datarootdir}/man'
882 # If the previous option needs an argument, assign it.
883 if test -n "$ac_prev"; then
884 eval $ac_prev=\
$ac_option
890 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
894 # Accept the important Cygnus configure options, so we can diagnose typos.
896 case $ac_dashdash$ac_option in
900 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
902 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
905 -build |
--build |
--buil |
--bui |
--bu)
906 ac_prev
=build_alias
;;
907 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
908 build_alias
=$ac_optarg ;;
910 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
911 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
912 ac_prev
=cache_file
;;
913 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
914 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
915 cache_file
=$ac_optarg ;;
918 cache_file
=config.cache
;;
920 -datadir |
--datadir |
--datadi |
--datad)
922 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
923 datadir
=$ac_optarg ;;
925 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
926 |
--dataroo |
--dataro |
--datar)
927 ac_prev
=datarootdir
;;
928 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
929 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
930 datarootdir
=$ac_optarg ;;
932 -disable-* |
--disable-*)
933 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
934 # Reject names that are not valid shell variable names.
935 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
936 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
937 { (exit 1); exit 1; }; }
938 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
939 eval enable_
$ac_feature=no
;;
941 -docdir |
--docdir |
--docdi |
--doc |
--do)
943 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
946 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
948 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
951 -enable-* |
--enable-*)
952 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
953 # Reject names that are not valid shell variable names.
954 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
955 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
956 { (exit 1); exit 1; }; }
957 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
958 eval enable_
$ac_feature=\
$ac_optarg ;;
960 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
961 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
962 |
--exec |
--exe |
--ex)
963 ac_prev
=exec_prefix
;;
964 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
965 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
966 |
--exec=* |
--exe=* |
--ex=*)
967 exec_prefix
=$ac_optarg ;;
969 -gas |
--gas |
--ga |
--g)
970 # Obsolete; use --with-gas.
973 -help |
--help |
--hel |
--he |
-h)
975 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
976 ac_init_help
=recursive
;;
977 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
978 ac_init_help
=short
;;
980 -host |
--host |
--hos |
--ho)
981 ac_prev
=host_alias
;;
982 -host=* |
--host=* |
--hos=* |
--ho=*)
983 host_alias
=$ac_optarg ;;
985 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
987 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
989 htmldir
=$ac_optarg ;;
991 -includedir |
--includedir |
--includedi |
--included |
--include \
992 |
--includ |
--inclu |
--incl |
--inc)
993 ac_prev
=includedir
;;
994 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
995 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
996 includedir
=$ac_optarg ;;
998 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1000 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1001 infodir
=$ac_optarg ;;
1003 -libdir |
--libdir |
--libdi |
--libd)
1005 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1006 libdir
=$ac_optarg ;;
1008 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1009 |
--libexe |
--libex |
--libe)
1010 ac_prev
=libexecdir
;;
1011 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1012 |
--libexe=* |
--libex=* |
--libe=*)
1013 libexecdir
=$ac_optarg ;;
1015 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1016 ac_prev
=localedir
;;
1017 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1018 localedir
=$ac_optarg ;;
1020 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1021 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1022 ac_prev
=localstatedir
;;
1023 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1024 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1025 localstatedir
=$ac_optarg ;;
1027 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1029 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1030 mandir
=$ac_optarg ;;
1032 -nfp |
--nfp |
--nf)
1033 # Obsolete; use --without-fp.
1036 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1037 |
--no-cr |
--no-c |
-n)
1040 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1041 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1044 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1045 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1046 |
--oldin |
--oldi |
--old |
--ol |
--o)
1047 ac_prev
=oldincludedir
;;
1048 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1049 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1050 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1051 oldincludedir
=$ac_optarg ;;
1053 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1055 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1056 prefix
=$ac_optarg ;;
1058 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1059 |
--program-pre |
--program-pr |
--program-p)
1060 ac_prev
=program_prefix
;;
1061 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1062 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1063 program_prefix
=$ac_optarg ;;
1065 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1066 |
--program-suf |
--program-su |
--program-s)
1067 ac_prev
=program_suffix
;;
1068 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1069 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1070 program_suffix
=$ac_optarg ;;
1072 -program-transform-name |
--program-transform-name \
1073 |
--program-transform-nam |
--program-transform-na \
1074 |
--program-transform-n |
--program-transform- \
1075 |
--program-transform |
--program-transfor \
1076 |
--program-transfo |
--program-transf \
1077 |
--program-trans |
--program-tran \
1078 |
--progr-tra |
--program-tr |
--program-t)
1079 ac_prev
=program_transform_name
;;
1080 -program-transform-name=* |
--program-transform-name=* \
1081 |
--program-transform-nam=* |
--program-transform-na=* \
1082 |
--program-transform-n=* |
--program-transform-=* \
1083 |
--program-transform=* |
--program-transfor=* \
1084 |
--program-transfo=* |
--program-transf=* \
1085 |
--program-trans=* |
--program-tran=* \
1086 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1087 program_transform_name
=$ac_optarg ;;
1089 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1091 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1092 pdfdir
=$ac_optarg ;;
1094 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1096 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1099 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1100 |
-silent |
--silent |
--silen |
--sile |
--sil)
1103 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1105 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1107 sbindir
=$ac_optarg ;;
1109 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1110 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1111 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1113 ac_prev
=sharedstatedir
;;
1114 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1115 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1116 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1118 sharedstatedir
=$ac_optarg ;;
1120 -site |
--site |
--sit)
1122 -site=* |
--site=* |
--sit=*)
1125 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1127 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1128 srcdir
=$ac_optarg ;;
1130 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1131 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1132 ac_prev
=sysconfdir
;;
1133 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1134 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1135 sysconfdir
=$ac_optarg ;;
1137 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1138 ac_prev
=target_alias
;;
1139 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1140 target_alias
=$ac_optarg ;;
1142 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1145 -version |
--version |
--versio |
--versi |
--vers |
-V)
1146 ac_init_version
=: ;;
1149 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1150 # Reject names that are not valid shell variable names.
1151 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1152 { echo "$as_me: error: invalid package name: $ac_package" >&2
1153 { (exit 1); exit 1; }; }
1154 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1155 eval with_
$ac_package=\
$ac_optarg ;;
1157 -without-* |
--without-*)
1158 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1159 # Reject names that are not valid shell variable names.
1160 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1161 { echo "$as_me: error: invalid package name: $ac_package" >&2
1162 { (exit 1); exit 1; }; }
1163 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1164 eval with_
$ac_package=no
;;
1167 # Obsolete; use --with-x.
1170 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1171 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1172 ac_prev
=x_includes
;;
1173 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1174 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1175 x_includes
=$ac_optarg ;;
1177 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1178 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1179 ac_prev
=x_libraries
;;
1180 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1181 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1182 x_libraries
=$ac_optarg ;;
1184 -*) { echo "$as_me: error: unrecognized option: $ac_option
1185 Try \`$0 --help' for more information." >&2
1186 { (exit 1); exit 1; }; }
1190 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1191 # Reject names that are not valid shell variable names.
1192 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1193 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1194 { (exit 1); exit 1; }; }
1195 eval $ac_envvar=\
$ac_optarg
1196 export $ac_envvar ;;
1199 # FIXME: should be removed in autoconf 3.0.
1200 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1201 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1202 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1203 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1209 if test -n "$ac_prev"; then
1210 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1211 { echo "$as_me: error: missing argument to $ac_option" >&2
1212 { (exit 1); exit 1; }; }
1215 # Be sure to have absolute directory names.
1216 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1217 datadir sysconfdir sharedstatedir localstatedir includedir \
1218 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1219 libdir localedir mandir
1221 eval ac_val
=\$
$ac_var
1223 [\\/$
]* | ?
:[\\/]* ) continue;;
1224 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1226 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1227 { (exit 1); exit 1; }; }
1230 # There might be people who depend on the old broken behavior: `$host'
1231 # used to hold the argument of --host etc.
1232 # FIXME: To remove some day.
1235 target
=$target_alias
1237 # FIXME: To remove some day.
1238 if test "x$host_alias" != x
; then
1239 if test "x$build_alias" = x
; then
1240 cross_compiling
=maybe
1241 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1242 If a cross compiler is detected then cross compile mode will be used." >&2
1243 elif test "x$build_alias" != "x$host_alias"; then
1249 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1251 test "$silent" = yes && exec 6>/dev
/null
1254 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1255 ac_ls_di
=`ls -di .` &&
1256 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1257 { echo "$as_me: error: Working directory cannot be determined" >&2
1258 { (exit 1); exit 1; }; }
1259 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1260 { echo "$as_me: error: pwd does not report name of working directory" >&2
1261 { (exit 1); exit 1; }; }
1264 # Find the source files, if location was not specified.
1265 if test -z "$srcdir"; then
1266 ac_srcdir_defaulted
=yes
1267 # Try the directory containing this script, then the parent directory.
1268 ac_confdir
=`$as_dirname -- "$0" ||
1269 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1270 X"$0" : 'X\(//\)[^/]' \| \
1271 X"$0" : 'X\(//\)$' \| \
1272 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1274 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1292 if test ! -r "$srcdir/$ac_unique_file"; then
1296 ac_srcdir_defaulted
=no
1298 if test ! -r "$srcdir/$ac_unique_file"; then
1299 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1300 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1301 { (exit 1); exit 1; }; }
1303 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1305 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1306 { (exit 1); exit 1; }; }
1308 # When building in place, set srcdir=.
1309 if test "$ac_abs_confdir" = "$ac_pwd"; then
1312 # Remove unnecessary trailing slashes from srcdir.
1313 # Double slashes in file names in object file debugging info
1314 # mess up M-x gdb in Emacs.
1316 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1318 for ac_var
in $ac_precious_vars; do
1319 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1320 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1321 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1322 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1326 # Report the --help message.
1328 if test "$ac_init_help" = "long"; then
1329 # Omit some internal or obsolete options to make the list less imposing.
1330 # This message is too long to be a string in the A/UX 3.1 sh.
1332 \`configure' configures this package to adapt to many kinds of systems.
1334 Usage: $0 [OPTION]... [VAR=VALUE]...
1336 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1337 VAR=VALUE. See below for descriptions of some of the useful variables.
1339 Defaults for the options are specified in brackets.
1342 -h, --help display this help and exit
1343 --help=short display options specific to this package
1344 --help=recursive display the short help of all the included packages
1345 -V, --version display version information and exit
1346 -q, --quiet, --silent do not print \`checking...' messages
1347 --cache-file=FILE cache test results in FILE [disabled]
1348 -C, --config-cache alias for \`--cache-file=config.cache'
1349 -n, --no-create do not create output files
1350 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1352 Installation directories:
1353 --prefix=PREFIX install architecture-independent files in PREFIX
1354 [$ac_default_prefix]
1355 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1358 By default, \`make install' will install all the files in
1359 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1360 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1361 for instance \`--prefix=\$HOME'.
1363 For better control, use the options below.
1365 Fine tuning of the installation directories:
1366 --bindir=DIR user executables [EPREFIX/bin]
1367 --sbindir=DIR system admin executables [EPREFIX/sbin]
1368 --libexecdir=DIR program executables [EPREFIX/libexec]
1369 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1370 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1371 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1372 --libdir=DIR object code libraries [EPREFIX/lib]
1373 --includedir=DIR C header files [PREFIX/include]
1374 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1375 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1376 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1377 --infodir=DIR info documentation [DATAROOTDIR/info]
1378 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1379 --mandir=DIR man documentation [DATAROOTDIR/man]
1380 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1381 --htmldir=DIR html documentation [DOCDIR]
1382 --dvidir=DIR dvi documentation [DOCDIR]
1383 --pdfdir=DIR pdf documentation [DOCDIR]
1384 --psdir=DIR ps documentation [DOCDIR]
1390 --x-includes=DIR X include files are
in DIR
1391 --x-libraries=DIR X library files are
in DIR
1394 --build=BUILD configure
for building on BUILD
[guessed
]
1395 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1399 if test -n "$ac_init_help"; then
1404 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1405 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1406 --enable-build-type=TYPE
1407 Select the build
type. Available types are
:
1408 personal
, nightly
, snapshot
, milestone
, release. Do
1409 NOT use this option unless you know what you are
1410 doing
! (default
=personal
)
1411 --enable-debug=list Enable different types of debug. Commas or
1412 whitespaces can be used to separate the items
in the
1413 list. Available types of debug are
: all
, none
,
1414 messages
, stack
, mungwall
, modules
, symbols. If no
1415 list is provided
then "all" is assumed.
1417 --enable-crosstools Build cross-compiler toolchains
if necessary
1419 --enable-distcc Use distcc as a front end to the compiler
1421 --enable-ccache Use ccache as a front end to the compiler
1423 --enable-target-variant=NAME
1424 Enable a specific target variant
(default
=none
)
1425 --enable-includes=dir Alternative system include directory
1426 --enable-bochs-hack Enable hacks to
make BOCHS
(partly
) work
1428 --enable-palm-debug-hack
1429 Enable palm debug output hack
in palm native
1431 --enable-nesting-supervisor
1432 Enable nesting supervisor support
in unix
1434 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1435 --enable-x11-shm use X11 shared memory
(default
=auto
)
1436 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1437 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1438 --disable-sdltest Do not try to compile and run a
test SDL program
1439 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1442 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1443 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1444 --with-optimization=FLAGS
1445 Use optimization flags FLAGS
(default
=-O2).
1446 --with-portssources=DIR Where to download sourcecode
for external ports
1447 --with-bootloader=NAME Use a specific bootloader
1448 --with-theme=NAME Use a specific GUI Theme
1449 --with-resolution=XRESxYRESxDEPTH
1450 Default resolution of the initial WorkbenchScreen
1451 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1452 --with-x use the X Window System
1453 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1454 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1456 Some influential environment variables
:
1457 CC C compiler
command
1458 CFLAGS C compiler flags
1459 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1460 nonstandard directory
<lib dir
>
1461 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1462 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1463 you have headers
in a nonstandard directory
<include dir
>
1465 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1467 Use these variables to override the choices made by
`configure' or to help
1468 it to find libraries and programs with nonstandard names/locations.
1474 if test "$ac_init_help" = "recursive"; then
1475 # If there are subdirs, report their specific --help.
1476 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1477 test -d "$ac_dir" || continue
1481 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1483 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1484 # A ".." for each directory in $ac_dir_suffix.
1485 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1486 case $ac_top_builddir_sub in
1487 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1488 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1491 ac_abs_top_builddir=$ac_pwd
1492 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1493 # for backward compatibility:
1494 ac_top_builddir=$ac_top_build_prefix
1497 .) # We are building in place.
1499 ac_top_srcdir=$ac_top_builddir_sub
1500 ac_abs_top_srcdir=$ac_pwd ;;
1501 [\\/]* | ?:[\\/]* ) # Absolute name.
1502 ac_srcdir=$srcdir$ac_dir_suffix;
1503 ac_top_srcdir=$srcdir
1504 ac_abs_top_srcdir=$srcdir ;;
1506 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1507 ac_top_srcdir=$ac_top_build_prefix$srcdir
1508 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1510 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1512 cd "$ac_dir" || { ac_status=$?; continue; }
1513 # Check for guested configure.
1514 if test -f "$ac_srcdir/configure.gnu"; then
1516 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1517 elif test -f "$ac_srcdir/configure"; then
1519 $SHELL "$ac_srcdir/configure" --help=recursive
1521 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1523 cd "$ac_pwd" || { ac_status=$?; break; }
1527 test -n "$ac_init_help" && exit $ac_status
1528 if $ac_init_version; then
1531 generated by GNU Autoconf 2.61
1533 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1534 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1535 This configure script is free software; the Free Software Foundation
1536 gives unlimited permission to copy, distribute and modify it.
1540 cat >config.log <<_ACEOF
1541 This file contains any messages produced by compilers while
1542 running configure, to aid debugging if configure makes a mistake.
1544 It was created by $as_me, which was
1545 generated by GNU Autoconf 2.61. Invocation command line was
1557 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1558 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1559 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1560 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1561 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1563 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1564 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1566 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1567 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1568 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1569 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1570 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1571 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1572 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1580 test -z "$as_dir" && as_dir=.
1581 echo "PATH: $as_dir"
1597 # Keep a trace of the command line.
1598 # Strip out --no-create and --no-recursion so they do not pile up.
1599 # Strip out --silent because we don't want to record it for future runs.
1600 # Also quote any args containing shell meta-characters.
1601 # Make two passes to allow for proper duplicate-argument suppression.
1605 ac_must_keep_next=false
1611 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1612 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1613 | -silent | --silent | --silen | --sile | --sil)
1616 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1619 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1621 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1622 if test $ac_must_keep_next = true; then
1623 ac_must_keep_next=false # Got value, back to normal.
1626 *=* | --config-cache | -C | -disable-* | --disable-* \
1627 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1628 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1629 | -with-* | --with-* | -without-* | --without-* | --x)
1630 case "$ac_configure_args0 " in
1631 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1634 -* ) ac_must_keep_next=true ;;
1637 ac_configure_args="$ac_configure_args '$ac_arg'"
1642 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1643 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1645 # When interrupted or exit'd, cleanup temporary files, and complete
1646 # config.log. We remove comments because anyway the quotes in there
1647 # would cause problems or look ugly.
1648 # WARNING: Use '\'' to represent an apostrophe within the trap.
1649 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1650 trap 'exit_status=$?
1651 # Save into config.log some information that might help in debugging.
1656 ## ---------------- ##
1657 ## Cache variables. ##
1658 ## ---------------- ##
1661 # The following way of writing the cache mishandles newlines in values,
1663 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1664 eval ac_val=\$$ac_var
1668 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1669 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1672 _ | IFS | as_nl) ;; #(
1673 *) $as_unset $ac_var ;;
1678 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1679 *${as_nl}ac_space=\ *)
1681 "s/'\''/'\''\\\\'\'''\''/g;
1682 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1685 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1693 ## ----------------- ##
1694 ## Output variables. ##
1695 ## ----------------- ##
1698 for ac_var in $ac_subst_vars
1700 eval ac_val=\$$ac_var
1702 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1704 echo "$ac_var='\''$ac_val'\''"
1708 if test -n "$ac_subst_files"; then
1710 ## ------------------- ##
1711 ## File substitutions. ##
1712 ## ------------------- ##
1715 for ac_var in $ac_subst_files
1717 eval ac_val=\$$ac_var
1719 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1721 echo "$ac_var='\''$ac_val'\''"
1726 if test -s confdefs.h; then
1736 test "$ac_signal" != 0 &&
1737 echo "$as_me: caught signal $ac_signal"
1738 echo "$as_me: exit $exit_status"
1740 rm -f core *.core core.conftest.* &&
1741 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1744 for ac_signal in 1 2 13 15; do
1745 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1749 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1750 rm -f -r conftest* confdefs.h
1752 # Predefined preprocessor variables.
1754 cat >>confdefs.h <<_ACEOF
1755 #define PACKAGE_NAME "$PACKAGE_NAME"
1759 cat >>confdefs.h <<_ACEOF
1760 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1764 cat >>confdefs.h <<_ACEOF
1765 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1769 cat >>confdefs.h <<_ACEOF
1770 #define PACKAGE_STRING "$PACKAGE_STRING"
1774 cat >>confdefs.h <<_ACEOF
1775 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1779 # Let the site file select an alternate cache file if it wants to.
1780 # Prefer explicitly selected file to automatically selected ones.
1781 if test -n "$CONFIG_SITE"; then
1782 set x "$CONFIG_SITE"
1783 elif test "x$prefix" != xNONE; then
1784 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1786 set x "$ac_default_prefix/share/config.site" \
1787 "$ac_default_prefix/etc/config.site"
1792 if test -r "$ac_site_file"; then
1793 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1794 echo "$as_me: loading site script $ac_site_file" >&6;}
1795 sed 's/^/| /' "$ac_site_file" >&5
1800 if test -r "$cache_file"; then
1801 # Some versions of bash will fail to source /dev/null (special
1802 # files actually), so we avoid doing that.
1803 if test -f "$cache_file"; then
1804 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1805 echo "$as_me: loading cache $cache_file" >&6;}
1807 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1808 *) . "./$cache_file";;
1812 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1813 echo "$as_me: creating cache $cache_file" >&6;}
1817 # Check that the precious variables saved in the cache have kept the same
1819 ac_cache_corrupted=false
1820 for ac_var in $ac_precious_vars; do
1821 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1822 eval ac_new_set=\$ac_env_${ac_var}_set
1823 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1824 eval ac_new_val=\$ac_env_${ac_var}_value
1825 case $ac_old_set,$ac_new_set in
1827 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1828 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1829 ac_cache_corrupted=: ;;
1831 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1832 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1833 ac_cache_corrupted=: ;;
1836 if test "x$ac_old_val" != "x$ac_new_val"; then
1837 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1838 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1839 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1840 echo "$as_me: former value
: $ac_old_val" >&2;}
1841 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1842 echo "$as_me: current value
: $ac_new_val" >&2;}
1843 ac_cache_corrupted=:
1846 # Pass precious variables to config.status.
1847 if test "$ac_new_set" = set; then
1849 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1850 *) ac_arg=$ac_var=$ac_new_val ;;
1852 case " $ac_configure_args " in
1853 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1854 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1858 if $ac_cache_corrupted; then
1859 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1860 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1861 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1862 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1863 { (exit 1); exit 1; }; }
1883 ac_cpp='$CPP $CPPFLAGS'
1884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1891 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
1892 if test -f "$ac_dir/install-sh"; then
1894 ac_install_sh="$ac_aux_dir/install-sh -c"
1896 elif test -f "$ac_dir/install.sh"; then
1898 ac_install_sh="$ac_aux_dir/install.sh -c"
1900 elif test -f "$ac_dir/shtool"; then
1902 ac_install_sh="$ac_aux_dir/shtool install -c"
1906 if test -z "$ac_aux_dir"; then
1907 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts/autoconf \"$srcdir\"/scripts/autoconf" >&5
1908 echo "$as_me: error: cannot find install-sh or install.sh in scripts/autoconf \"$srcdir\"/scripts/autoconf" >&2;}
1909 { (exit 1); exit 1; }; }
1912 # These three variables are undocumented and unsupported,
1913 # and are intended to be withdrawn in a future Autoconf release.
1914 # They can cause serious problems if a builder's source tree is in a directory
1915 # whose full name contains unusual characters.
1916 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1917 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1918 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1922 # Check what host we are running on.
1923 # If a target is not suggested, we use this one.
1924 # Note that what we call a target, Autoconf calls a host.
1925 # Make sure we can run config.sub.
1926 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1927 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1928 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1929 { (exit 1); exit 1; }; }
1931 { echo "$as_me:$LINENO: checking build system type" >&5
1932 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1933 if test "${ac_cv_build+set}" = set; then
1934 echo $ECHO_N "(cached) $ECHO_C" >&6
1936 ac_build_alias=$build_alias
1937 test "x$ac_build_alias" = x &&
1938 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1939 test "x$ac_build_alias" = x &&
1940 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1941 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1942 { (exit 1); exit 1; }; }
1943 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1944 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1945 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1946 { (exit 1); exit 1; }; }
1949 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1950 echo "${ECHO_T}$ac_cv_build" >&6; }
1951 case $ac_cv_build in
1953 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1954 echo "$as_me: error: invalid value of canonical build" >&2;}
1955 { (exit 1); exit 1; }; };;
1958 ac_save_IFS=$IFS; IFS='-'
1964 # Remember, the first character of IFS is used to create $*,
1965 # except with old shells:
1968 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
1971 { echo "$as_me:$LINENO: checking host system type" >&5
1972 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1973 if test "${ac_cv_host+set}" = set; then
1974 echo $ECHO_N "(cached) $ECHO_C" >&6
1976 if test "x$host_alias" = x; then
1977 ac_cv_host=$ac_cv_build
1979 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1980 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1981 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1982 { (exit 1); exit 1; }; }
1986 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1987 echo "${ECHO_T}$ac_cv_host" >&6; }
1990 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1991 echo "$as_me: error: invalid value of canonical host" >&2;}
1992 { (exit 1); exit 1; }; };;
1995 ac_save_IFS=$IFS; IFS='-'
2001 # Remember, the first character of IFS is used to create $*,
2002 # except with old shells:
2005 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2009 # The AROS target is slightly different to the normal GNU style
2010 # format. We don't have the middle part, and we reverse the order
2011 # of the $(CPU) and $(OS) bits.
2013 # Don't strip the version of the target yet, it might be
2014 # useful on some systems.
2016 { echo "$as_me:$LINENO: checking for AROS style target" >&5
2017 echo $ECHO_N "checking for AROS style target... $ECHO_C" >&6; }
2019 if test "$target" = "NONE" ; then
2020 target=$host_os-$host_cpu
2023 if test "$target" = "" ; then
2024 target=$host_os-$host_cpu
2030 { echo "$as_me:$LINENO: result: $target" >&5
2031 echo "${ECHO_T}$target" >&6; }
2033 #don't know where else to put this...
2034 { echo "$as_me:$LINENO: checking Building AROS in .. " >&5
2035 echo $ECHO_N "checking Building AROS in .. ... $ECHO_C" >&6; }
2037 { echo "$as_me:$LINENO: result: $AROS_BUILDDIR" >&5
2038 echo "${ECHO_T}$AROS_BUILDDIR" >&6; }
2040 { echo "$as_me:$LINENO: checking AROS Source in .. " >&5
2041 echo $ECHO_N "checking AROS Source in .. ... $ECHO_C" >&6; }
2042 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2044 { echo "$as_me:$LINENO: result: $SRCDIR" >&5
2045 echo "${ECHO_T}$SRCDIR" >&6; }
2047 # Parse the target field into something useful.
2049 target_os=`echo $target |
sed 's/^\([^-]*\)-\(.*\)$/\1/'`
2050 target_cpu=`echo $target |
sed 's/^\([^-]*\)-\(.*\)$/\2/'`
2053 aros_default_wbwidth=800
2054 aros_default_wbheight=600
2055 aros_default_wbdepth=4
2058 # The first step is to find the host binaries.
2059 # Check for a compiler.
2061 ac_cpp='$CPP $CPPFLAGS'
2062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2065 if test -n "$ac_tool_prefix"; then
2066 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2067 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2068 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2070 if test "${ac_cv_prog_CC+set}" = set; then
2071 echo $ECHO_N "(cached) $ECHO_C" >&6
2073 if test -n "$CC"; then
2074 ac_cv_prog_CC="$CC" # Let the user override the test.
2076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2080 test -z "$as_dir" && as_dir=.
2081 for ac_exec_ext in '' $ac_executable_extensions; do
2082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2083 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2094 if test -n "$CC"; then
2095 { echo "$as_me:$LINENO: result: $CC" >&5
2096 echo "${ECHO_T}$CC" >&6; }
2098 { echo "$as_me:$LINENO: result: no" >&5
2099 echo "${ECHO_T}no" >&6; }
2104 if test -z "$ac_cv_prog_CC"; then
2106 # Extract the first word of "gcc", so it can be a program name with args.
2107 set dummy gcc; ac_word=$2
2108 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2110 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2111 echo $ECHO_N "(cached) $ECHO_C" >&6
2113 if test -n "$ac_ct_CC"; then
2114 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2120 test -z "$as_dir" && as_dir=.
2121 for ac_exec_ext in '' $ac_executable_extensions; do
2122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2123 ac_cv_prog_ac_ct_CC="gcc"
2124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2133 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2134 if test -n "$ac_ct_CC"; then
2135 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2136 echo "${ECHO_T}$ac_ct_CC" >&6; }
2138 { echo "$as_me:$LINENO: result: no" >&5
2139 echo "${ECHO_T}no" >&6; }
2142 if test "x$ac_ct_CC" = x; then
2145 case $cross_compiling:$ac_tool_warned in
2147 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2148 whose name does not start with the host triplet. If you think this
2149 configuration is useful to you, please write to autoconf@gnu.org." >&5
2150 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2151 whose name does not start with the host triplet. If you think this
2152 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2153 ac_tool_warned=yes ;;
2161 if test -z "$CC"; then
2162 if test -n "$ac_tool_prefix"; then
2163 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2164 set dummy ${ac_tool_prefix}cc; ac_word=$2
2165 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2166 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2167 if test "${ac_cv_prog_CC+set}" = set; then
2168 echo $ECHO_N "(cached) $ECHO_C" >&6
2170 if test -n "$CC"; then
2171 ac_cv_prog_CC="$CC" # Let the user override the test.
2173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2177 test -z "$as_dir" && as_dir=.
2178 for ac_exec_ext in '' $ac_executable_extensions; do
2179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2180 ac_cv_prog_CC="${ac_tool_prefix}cc"
2181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2191 if test -n "$CC"; then
2192 { echo "$as_me:$LINENO: result: $CC" >&5
2193 echo "${ECHO_T}$CC" >&6; }
2195 { echo "$as_me:$LINENO: result: no" >&5
2196 echo "${ECHO_T}no" >&6; }
2202 if test -z "$CC"; then
2203 # Extract the first word of "cc", so it can be a program name with args.
2204 set dummy cc; ac_word=$2
2205 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2207 if test "${ac_cv_prog_CC+set}" = set; then
2208 echo $ECHO_N "(cached) $ECHO_C" >&6
2210 if test -n "$CC"; then
2211 ac_cv_prog_CC="$CC" # Let the user override the test.
2214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2218 test -z "$as_dir" && as_dir=.
2219 for ac_exec_ext in '' $ac_executable_extensions; do
2220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2221 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2222 ac_prog_rejected=yes
2226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2233 if test $ac_prog_rejected = yes; then
2234 # We found a bogon in the path, so make sure we never use it.
2235 set dummy $ac_cv_prog_CC
2237 if test $# != 0; then
2238 # We chose a different compiler from the bogus one.
2239 # However, it has the same basename, so the bogon will be chosen
2240 # first if we set CC to just the basename; use the full file name.
2242 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2248 if test -n "$CC"; then
2249 { echo "$as_me:$LINENO: result: $CC" >&5
2250 echo "${ECHO_T}$CC" >&6; }
2252 { echo "$as_me:$LINENO: result: no" >&5
2253 echo "${ECHO_T}no" >&6; }
2258 if test -z "$CC"; then
2259 if test -n "$ac_tool_prefix"; then
2260 for ac_prog in cl.exe
2262 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2263 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2264 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2266 if test "${ac_cv_prog_CC+set}" = set; then
2267 echo $ECHO_N "(cached) $ECHO_C" >&6
2269 if test -n "$CC"; then
2270 ac_cv_prog_CC="$CC" # Let the user override the test.
2272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2276 test -z "$as_dir" && as_dir=.
2277 for ac_exec_ext in '' $ac_executable_extensions; do
2278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2279 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2280 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2290 if test -n "$CC"; then
2291 { echo "$as_me:$LINENO: result: $CC" >&5
2292 echo "${ECHO_T}$CC" >&6; }
2294 { echo "$as_me:$LINENO: result: no" >&5
2295 echo "${ECHO_T}no" >&6; }
2299 test -n "$CC" && break
2302 if test -z "$CC"; then
2304 for ac_prog in cl.exe
2306 # Extract the first word of "$ac_prog", so it can be a program name with args.
2307 set dummy $ac_prog; ac_word=$2
2308 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2310 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2311 echo $ECHO_N "(cached) $ECHO_C" >&6
2313 if test -n "$ac_ct_CC"; then
2314 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2320 test -z "$as_dir" && as_dir=.
2321 for ac_exec_ext in '' $ac_executable_extensions; do
2322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2323 ac_cv_prog_ac_ct_CC="$ac_prog"
2324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2333 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2334 if test -n "$ac_ct_CC"; then
2335 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2336 echo "${ECHO_T}$ac_ct_CC" >&6; }
2338 { echo "$as_me:$LINENO: result: no" >&5
2339 echo "${ECHO_T}no" >&6; }
2343 test -n "$ac_ct_CC" && break
2346 if test "x$ac_ct_CC" = x; then
2349 case $cross_compiling:$ac_tool_warned in
2351 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2352 whose name does not start with the host triplet. If you think this
2353 configuration is useful to you, please write to autoconf@gnu.org." >&5
2354 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2355 whose name does not start with the host triplet. If you think this
2356 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2357 ac_tool_warned=yes ;;
2366 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2367 See \`config.log
' for more details." >&5
2368 echo "$as_me: error: no acceptable C compiler found in \$PATH
2369 See \`config.log' for more details.
" >&2;}
2370 { (exit 1); exit 1; }; }
2372 # Provide some information about the compiler.
2373 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2374 ac_compiler=`set X $ac_compile; echo $2`
2375 { (ac_try="$ac_compiler --version >&5"
2377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2378 *) ac_try_echo=$ac_try;;
2380 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2381 (eval "$ac_compiler --version >&5") 2>&5
2383 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2384 (exit $ac_status); }
2385 { (ac_try="$ac_compiler -v >&5"
2387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2388 *) ac_try_echo=$ac_try;;
2390 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2391 (eval "$ac_compiler -v >&5") 2>&5
2393 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2394 (exit $ac_status); }
2395 { (ac_try="$ac_compiler -V >&5"
2397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2398 *) ac_try_echo=$ac_try;;
2400 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2401 (eval "$ac_compiler -V >&5") 2>&5
2403 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2404 (exit $ac_status); }
2406 cat >conftest.$ac_ext <<_ACEOF
2409 cat confdefs.h >>conftest.$ac_ext
2410 cat >>conftest.$ac_ext <<_ACEOF
2411 /* end confdefs.h. */
2421 ac_clean_files_save=$ac_clean_files
2422 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2423 # Try to create an executable without -o first, disregard a.out.
2424 # It will help us diagnose broken compilers, and finding out an intuition
2426 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2427 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2428 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2430 # List of possible output files, starting from the most likely.
2431 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2432 # only as a last resort. b.out is created by i960 compilers.
2433 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2435 # The IRIX 6 linker writes into existing files which may not be
2436 # executable, retaining their permissions. Remove them first so a
2437 # subsequent execution test works.
2439 for ac_file in $ac_files
2442 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2443 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2448 if { (ac_try="$ac_link_default"
2450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2451 *) ac_try_echo=$ac_try;;
2453 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2454 (eval "$ac_link_default") 2>&5
2456 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2457 (exit $ac_status); }; then
2458 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2459 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2460 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2461 # so that the user can short-circuit this test for compilers unknown to
2463 for ac_file in $ac_files ''
2465 test -f "$ac_file" || continue
2467 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2470 # We found the default executable, but exeext='' is most
2474 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2476 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2478 # We set ac_cv_exeext here because the later test for it is not
2479 # safe: cross compilers may not add the suffix if given an `-o'
2480 # argument, so we may need to know it at that point already.
2481 # Even if this section looks crufty: it has the advantage of
2488 test "$ac_cv_exeext" = no && ac_cv_exeext=
2494 { echo "$as_me:$LINENO: result
: $ac_file" >&5
2495 echo "${ECHO_T}$ac_file" >&6; }
2496 if test -z "$ac_file"; then
2497 echo "$as_me: failed program was
:" >&5
2498 sed 's/^/| /' conftest.$ac_ext >&5
2500 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2501 See \
`config.log' for more details." >&5
2502 echo "$as_me: error: C compiler cannot create executables
2503 See \`config.log
' for more details." >&2;}
2504 { (exit 77); exit 77; }; }
2507 ac_exeext=$ac_cv_exeext
2509 # Check that the compiler produces executables we can run. If not, either
2510 # the compiler is broken, or we cross compile.
2511 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2512 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2513 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2514 # If not cross compiling, check that we can run a simple program.
2515 if test "$cross_compiling" != yes; then
2516 if { ac_try='.
/$ac_file'
2517 { (case "(($ac_try" in
2518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2519 *) ac_try_echo=$ac_try;;
2521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2522 (eval "$ac_try") 2>&5
2524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2525 (exit $ac_status); }; }; then
2528 if test "$cross_compiling" = maybe; then
2531 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2532 If you meant to cross compile, use \`--host'.
2533 See \
`config.log' for more details." >&5
2534 echo "$as_me: error: cannot run C compiled programs.
2535 If you meant to cross compile, use \`--host'.
2536 See \`config.log' for more details.
" >&2;}
2537 { (exit 1); exit 1; }; }
2541 { echo "$as_me:$LINENO: result
: yes" >&5
2542 echo "${ECHO_T}yes" >&6; }
2544 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2545 ac_clean_files=$ac_clean_files_save
2546 # Check that the compiler produces executables we can run. If not, either
2547 # the compiler is broken, or we cross compile.
2548 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2549 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2550 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2551 echo "${ECHO_T}$cross_compiling" >&6; }
2553 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2554 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2555 if { (ac_try="$ac_link"
2557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2558 *) ac_try_echo=$ac_try;;
2560 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2561 (eval "$ac_link") 2>&5
2563 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2564 (exit $ac_status); }; then
2565 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2566 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2567 # work properly (i.e., refer to `conftest.exe'), while it won't with
2569 for ac_file in conftest.exe conftest conftest.*; do
2570 test -f "$ac_file" || continue
2572 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2573 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2579 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2580 See \
`config.log' for more details." >&5
2581 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2582 See \`config.log
' for more details." >&2;}
2583 { (exit 1); exit 1; }; }
2586 rm -f conftest$ac_cv_exeext
2587 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2588 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2590 rm -f conftest.$ac_ext
2591 EXEEXT=$ac_cv_exeext
2593 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2594 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2595 if test "${ac_cv_objext+set}" = set; then
2596 echo $ECHO_N "(cached) $ECHO_C" >&6
2598 cat >conftest.$ac_ext <<_ACEOF
2601 cat confdefs.h >>conftest.$ac_ext
2602 cat >>conftest.$ac_ext <<_ACEOF
2603 /* end confdefs.h. */
2613 rm -f conftest.o conftest.obj
2614 if { (ac_try="$ac_compile"
2616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2617 *) ac_try_echo=$ac_try;;
2619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2620 (eval "$ac_compile") 2>&5
2622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623 (exit $ac_status); }; then
2624 for ac_file in conftest.o conftest.obj conftest.*; do
2625 test -f "$ac_file" || continue;
2627 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2628 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2633 echo "$as_me: failed program was:" >&5
2634 sed 's
/^
/|
/' conftest.$ac_ext >&5
2636 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2637 See \`config.log' for more details.
" >&5
2638 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2639 See \
`config.log' for more details." >&2;}
2640 { (exit 1); exit 1; }; }
2643 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2645 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2646 echo "${ECHO_T}$ac_cv_objext" >&6; }
2647 OBJEXT=$ac_cv_objext
2649 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2650 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2651 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2652 echo $ECHO_N "(cached) $ECHO_C" >&6
2654 cat >conftest.$ac_ext <<_ACEOF
2657 cat confdefs.h >>conftest.$ac_ext
2658 cat >>conftest.$ac_ext <<_ACEOF
2659 /* end confdefs.h. */
2672 rm -f conftest.$ac_objext
2673 if { (ac_try="$ac_compile"
2675 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2676 *) ac_try_echo
=$ac_try;;
2678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2679 (eval "$ac_compile") 2>conftest.er1
2681 grep -v '^ *+' conftest.er1
>conftest.err
2683 cat conftest.err
>&5
2684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2685 (exit $ac_status); } && {
2686 test -z "$ac_c_werror_flag" ||
2687 test ! -s conftest.err
2688 } && test -s conftest.
$ac_objext; then
2691 echo "$as_me: failed program was:" >&5
2692 sed 's/^/| /' conftest.
$ac_ext >&5
2697 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2698 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2701 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2702 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2703 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2704 ac_test_CFLAGS
=${CFLAGS+set}
2705 ac_save_CFLAGS
=$CFLAGS
2706 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2707 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2708 if test "${ac_cv_prog_cc_g+set}" = set; then
2709 echo $ECHO_N "(cached) $ECHO_C" >&6
2711 ac_save_c_werror_flag
=$ac_c_werror_flag
2712 ac_c_werror_flag
=yes
2715 cat >conftest.
$ac_ext <<_ACEOF
2718 cat confdefs.h
>>conftest.
$ac_ext
2719 cat >>conftest.
$ac_ext <<_ACEOF
2720 /* end confdefs.h. */
2730 rm -f conftest.
$ac_objext
2731 if { (ac_try
="$ac_compile"
2733 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2734 *) ac_try_echo=$ac_try;;
2736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2737 (eval "$ac_compile") 2>conftest.er1
2739 grep -v '^ *+' conftest.er1 >conftest.err
2741 cat conftest.err >&5
2742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2743 (exit $ac_status); } && {
2744 test -z "$ac_c_werror_flag" ||
2745 test ! -s conftest.err
2746 } && test -s conftest.$ac_objext; then
2749 echo "$as_me: failed program was:" >&5
2750 sed 's/^/| /' conftest.$ac_ext >&5
2753 cat >conftest.$ac_ext <<_ACEOF
2756 cat confdefs.h >>conftest.$ac_ext
2757 cat >>conftest.$ac_ext <<_ACEOF
2758 /* end confdefs.h. */
2768 rm -f conftest.$ac_objext
2769 if { (ac_try="$ac_compile"
2771 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2772 *) ac_try_echo
=$ac_try;;
2774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2775 (eval "$ac_compile") 2>conftest.er1
2777 grep -v '^ *+' conftest.er1
>conftest.err
2779 cat conftest.err
>&5
2780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2781 (exit $ac_status); } && {
2782 test -z "$ac_c_werror_flag" ||
2783 test ! -s conftest.err
2784 } && test -s conftest.
$ac_objext; then
2787 echo "$as_me: failed program was:" >&5
2788 sed 's/^/| /' conftest.
$ac_ext >&5
2790 ac_c_werror_flag
=$ac_save_c_werror_flag
2792 cat >conftest.
$ac_ext <<_ACEOF
2795 cat confdefs.h
>>conftest.
$ac_ext
2796 cat >>conftest.
$ac_ext <<_ACEOF
2797 /* end confdefs.h. */
2807 rm -f conftest.
$ac_objext
2808 if { (ac_try
="$ac_compile"
2810 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2811 *) ac_try_echo=$ac_try;;
2813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2814 (eval "$ac_compile") 2>conftest.er1
2816 grep -v '^ *+' conftest.er1 >conftest.err
2818 cat conftest.err >&5
2819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2820 (exit $ac_status); } && {
2821 test -z "$ac_c_werror_flag" ||
2822 test ! -s conftest.err
2823 } && test -s conftest.$ac_objext; then
2826 echo "$as_me: failed program was:" >&5
2827 sed 's/^/| /' conftest.$ac_ext >&5
2832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2839 ac_c_werror_flag=$ac_save_c_werror_flag
2841 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2842 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2843 if test "$ac_test_CFLAGS" = set; then
2844 CFLAGS=$ac_save_CFLAGS
2845 elif test $ac_cv_prog_cc_g = yes; then
2846 if test "$GCC" = yes; then
2852 if test "$GCC" = yes; then
2858 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2859 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2860 if test "${ac_cv_prog_cc_c89+set}" = set; then
2861 echo $ECHO_N "(cached) $ECHO_C" >&6
2863 ac_cv_prog_cc_c89=no
2865 cat >conftest.$ac_ext <<_ACEOF
2868 cat confdefs.h >>conftest.$ac_ext
2869 cat >>conftest.$ac_ext <<_ACEOF
2870 /* end confdefs.h. */
2873 #include <sys/types.h>
2874 #include <sys/stat.h>
2875 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2876 struct buf { int x; };
2877 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2878 static char *e (p, i)
2884 static char *f (char * (*g) (char **, int), char **p, ...)
2889 s = g (p, va_arg (v,int));
2894 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2895 function prototypes and stuff, but not '\xHH' hex character constants.
2896 These don't provoke an error unfortunately, instead are silently treated
2897 as 'x'. The following induces an error, until -std is added to get
2898 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2899 array size at least. It's necessary to write '\x00'==0 to get something
2900 that's true only with -std. */
2901 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2903 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2904 inside strings and character constants. */
2906 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2908 int test (int i, double x);
2909 struct s1 {int (*f) (int a);};
2910 struct s2 {int (*f) (double a);};
2911 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2917 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2922 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2923 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2925 CC="$ac_save_CC $ac_arg"
2926 rm -f conftest.$ac_objext
2927 if { (ac_try="$ac_compile"
2929 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2930 *) ac_try_echo
=$ac_try;;
2932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2933 (eval "$ac_compile") 2>conftest.er1
2935 grep -v '^ *+' conftest.er1
>conftest.err
2937 cat conftest.err
>&5
2938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 (exit $ac_status); } && {
2940 test -z "$ac_c_werror_flag" ||
2941 test ! -s conftest.err
2942 } && test -s conftest.
$ac_objext; then
2943 ac_cv_prog_cc_c89
=$ac_arg
2945 echo "$as_me: failed program was:" >&5
2946 sed 's/^/| /' conftest.
$ac_ext >&5
2951 rm -f core conftest.err conftest.
$ac_objext
2952 test "x$ac_cv_prog_cc_c89" != "xno" && break
2954 rm -f conftest.
$ac_ext
2959 case "x$ac_cv_prog_cc_c89" in
2961 { echo "$as_me:$LINENO: result: none needed" >&5
2962 echo "${ECHO_T}none needed" >&6; } ;;
2964 { echo "$as_me:$LINENO: result: unsupported" >&5
2965 echo "${ECHO_T}unsupported" >&6; } ;;
2967 CC
="$CC $ac_cv_prog_cc_c89"
2968 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2969 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2974 ac_cpp
='$CPP $CPPFLAGS'
2975 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2976 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2977 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2979 case $ac_cv_prog_cc_stdc in
2980 no
) ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;;
2981 *) { echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
2982 echo $ECHO_N "checking for $CC option to accept ISO C99... $ECHO_C" >&6; }
2983 if test "${ac_cv_prog_cc_c99+set}" = set; then
2984 echo $ECHO_N "(cached) $ECHO_C" >&6
2986 ac_cv_prog_cc_c99
=no
2988 cat >conftest.
$ac_ext <<_ACEOF
2991 cat confdefs.h
>>conftest.
$ac_ext
2992 cat >>conftest.
$ac_ext <<_ACEOF
2993 /* end confdefs.h. */
2995 #include <stdbool.h>
3000 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3001 #define debug(...) fprintf (stderr, __VA_ARGS__)
3002 #define showlist(...) puts (#__VA_ARGS__)
3003 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3005 test_varargs_macros (void)
3010 debug ("X = %d\n", x);
3011 showlist (The first, second, and third items.);
3012 report (x>y, "x is %d but y is %d", x, y);
3015 // Check long long types.
3016 #define BIG64 18446744073709551615ull
3017 #define BIG32 4294967295ul
3018 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3020 your preprocessor is broken;
3024 your preprocessor is broken;
3026 static long long int bignum = -9223372036854775807LL;
3027 static unsigned long long int ubignum = BIG64;
3029 struct incomplete_array
3037 const wchar_t *name;
3041 typedef const char *ccp;
3044 test_restrict (ccp restrict text)
3046 // See if C++-style comments work.
3047 // Iterate through items via the restricted pointer.
3048 // Also check for declarations in for loops.
3049 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3054 // Check varargs and va_copy.
3056 test_varargs (const char *format, ...)
3059 va_start (args, format);
3061 va_copy (args_copy, args);
3072 str = va_arg (args_copy, const char *);
3075 number = va_arg (args_copy, int);
3078 fnumber = va_arg (args_copy, double);
3093 _Bool success = false;
3096 if (test_restrict ("String literal") == 0)
3098 char *restrict newvar = "Another string";
3101 test_varargs ("s, d' f .", "string", 65, 34.234);
3102 test_varargs_macros ();
3104 // Check flexible array members.
3105 struct incomplete_array *ia =
3106 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3108 for (int i = 0; i < ia->datasize; ++i)
3109 ia->data[i] = i * 1.234;
3111 // Check named initializers.
3112 struct named_init ni = {
3114 .name = L"Test wide string",
3115 .average = 543.34343,
3120 int dynamic_array[ni.number];
3121 dynamic_array[ni.number - 1] = 543;
3123 // work around unused variable warnings
3124 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3125 || dynamic_array[ni.number - 1] != 543);
3131 for ac_arg
in '' -std=gnu99
-c99 -qlanglvl=extc99
3133 CC
="$ac_save_CC $ac_arg"
3134 rm -f conftest.
$ac_objext
3135 if { (ac_try
="$ac_compile"
3137 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3138 *) ac_try_echo=$ac_try;;
3140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3141 (eval "$ac_compile") 2>conftest.er1
3143 grep -v '^ *+' conftest.er1 >conftest.err
3145 cat conftest.err >&5
3146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147 (exit $ac_status); } && {
3148 test -z "$ac_c_werror_flag" ||
3149 test ! -s conftest.err
3150 } && test -s conftest.$ac_objext; then
3151 ac_cv_prog_cc_c99=$ac_arg
3153 echo "$as_me: failed program was:" >&5
3154 sed 's/^/| /' conftest.$ac_ext >&5
3159 rm -f core conftest.err conftest.$ac_objext
3160 test "x$ac_cv_prog_cc_c99" != "xno" && break
3162 rm -f conftest.$ac_ext
3167 case "x$ac_cv_prog_cc_c99" in
3169 { echo "$as_me:$LINENO: result: none needed" >&5
3170 echo "${ECHO_T}none needed" >&6; } ;;
3172 { echo "$as_me:$LINENO: result: unsupported" >&5
3173 echo "${ECHO_T}unsupported" >&6; } ;;
3175 CC="$CC $ac_cv_prog_cc_c99"
3176 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
3177 echo "${ECHO_T}$ac_cv_prog_cc_c99" >&6; } ;;
3179 if test "x$ac_cv_prog_cc_c99" != xno; then
3180 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3182 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3183 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3184 if test "${ac_cv_prog_cc_c89+set}" = set; then
3185 echo $ECHO_N "(cached) $ECHO_C" >&6
3187 ac_cv_prog_cc_c89=no
3189 cat >conftest.$ac_ext <<_ACEOF
3192 cat confdefs.h >>conftest.$ac_ext
3193 cat >>conftest.$ac_ext <<_ACEOF
3194 /* end confdefs.h. */
3197 #include <sys/types.h>
3198 #include <sys/stat.h>
3199 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3200 struct buf { int x; };
3201 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3202 static char *e (p, i)
3208 static char *f (char * (*g) (char **, int), char **p, ...)
3213 s = g (p, va_arg (v,int));
3218 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3219 function prototypes and stuff, but not '\xHH' hex character constants.
3220 These don't provoke an error unfortunately, instead are silently treated
3221 as 'x'. The following induces an error, until -std is added to get
3222 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3223 array size at least. It's necessary to write '\x00'==0 to get something
3224 that's true only with -std. */
3225 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3227 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3228 inside strings and character constants. */
3230 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3232 int test (int i, double x);
3233 struct s1 {int (*f) (int a);};
3234 struct s2 {int (*f) (double a);};
3235 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3241 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3246 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3247 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3249 CC="$ac_save_CC $ac_arg"
3250 rm -f conftest.$ac_objext
3251 if { (ac_try="$ac_compile"
3253 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3254 *) ac_try_echo
=$ac_try;;
3256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3257 (eval "$ac_compile") 2>conftest.er1
3259 grep -v '^ *+' conftest.er1
>conftest.err
3261 cat conftest.err
>&5
3262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3263 (exit $ac_status); } && {
3264 test -z "$ac_c_werror_flag" ||
3265 test ! -s conftest.err
3266 } && test -s conftest.
$ac_objext; then
3267 ac_cv_prog_cc_c89
=$ac_arg
3269 echo "$as_me: failed program was:" >&5
3270 sed 's/^/| /' conftest.
$ac_ext >&5
3275 rm -f core conftest.err conftest.
$ac_objext
3276 test "x$ac_cv_prog_cc_c89" != "xno" && break
3278 rm -f conftest.
$ac_ext
3283 case "x$ac_cv_prog_cc_c89" in
3285 { echo "$as_me:$LINENO: result: none needed" >&5
3286 echo "${ECHO_T}none needed" >&6; } ;;
3288 { echo "$as_me:$LINENO: result: unsupported" >&5
3289 echo "${ECHO_T}unsupported" >&6; } ;;
3291 CC
="$CC $ac_cv_prog_cc_c89"
3292 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3293 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3295 if test "x$ac_cv_prog_cc_c89" != xno
; then
3296 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
3298 ac_cv_prog_cc_stdc
=no
3306 { echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5
3307 echo $ECHO_N "checking for $CC option to accept ISO Standard C... $ECHO_C" >&6; }
3308 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3309 echo $ECHO_N "(cached) $ECHO_C" >&6
3312 case $ac_cv_prog_cc_stdc in
3313 no
) { echo "$as_me:$LINENO: result: unsupported" >&5
3314 echo "${ECHO_T}unsupported" >&6; } ;;
3315 '') { echo "$as_me:$LINENO: result: none needed" >&5
3316 echo "${ECHO_T}none needed" >&6; } ;;
3317 *) { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3318 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; } ;;
3323 ac_cpp
='$CPP $CPPFLAGS'
3324 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3325 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3326 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3327 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3328 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3329 # On Suns, sometimes $CPP names a directory.
3330 if test -n "$CPP" && test -d "$CPP"; then
3333 if test -z "$CPP"; then
3334 if test "${ac_cv_prog_CPP+set}" = set; then
3335 echo $ECHO_N "(cached) $ECHO_C" >&6
3337 # Double quotes because CPP needs to be expanded
3338 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3341 for ac_c_preproc_warn_flag
in '' yes
3343 # Use a header file that comes with gcc, so configuring glibc
3344 # with a fresh cross-compiler works.
3345 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3346 # <limits.h> exists even on freestanding compilers.
3347 # On the NeXT, cc -E runs the code through the compiler's parser,
3348 # not just through cpp. "Syntax error" is here to catch this case.
3349 cat >conftest.
$ac_ext <<_ACEOF
3352 cat confdefs.h
>>conftest.
$ac_ext
3353 cat >>conftest.
$ac_ext <<_ACEOF
3354 /* end confdefs.h. */
3356 # include <limits.h>
3358 # include <assert.h>
3362 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3364 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3365 *) ac_try_echo=$ac_try;;
3367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3368 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3370 grep -v '^ *+' conftest.er1 >conftest.err
3372 cat conftest.err >&5
3373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3374 (exit $ac_status); } >/dev/null && {
3375 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3376 test ! -s conftest.err
3380 echo "$as_me: failed program was:" >&5
3381 sed 's/^/| /' conftest.$ac_ext >&5
3383 # Broken: fails on valid input.
3387 rm -f conftest.err conftest.$ac_ext
3389 # OK, works on sane cases. Now check whether nonexistent headers
3390 # can be detected and how.
3391 cat >conftest.$ac_ext <<_ACEOF
3394 cat confdefs.h >>conftest.$ac_ext
3395 cat >>conftest.$ac_ext <<_ACEOF
3396 /* end confdefs.h. */
3397 #include <ac_nonexistent.h>
3399 if { (ac_try="$ac_cpp conftest.$ac_ext"
3401 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3402 *) ac_try_echo
=$ac_try;;
3404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3405 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3407 grep -v '^ *+' conftest.er1
>conftest.err
3409 cat conftest.err
>&5
3410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3411 (exit $ac_status); } >/dev
/null
&& {
3412 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3413 test ! -s conftest.err
3415 # Broken: success on invalid input.
3418 echo "$as_me: failed program was:" >&5
3419 sed 's/^/| /' conftest.
$ac_ext >&5
3421 # Passes both tests.
3426 rm -f conftest.err conftest.
$ac_ext
3429 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3430 rm -f conftest.err conftest.
$ac_ext
3431 if $ac_preproc_ok; then
3443 { echo "$as_me:$LINENO: result: $CPP" >&5
3444 echo "${ECHO_T}$CPP" >&6; }
3446 for ac_c_preproc_warn_flag
in '' yes
3448 # Use a header file that comes with gcc, so configuring glibc
3449 # with a fresh cross-compiler works.
3450 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3451 # <limits.h> exists even on freestanding compilers.
3452 # On the NeXT, cc -E runs the code through the compiler's parser,
3453 # not just through cpp. "Syntax error" is here to catch this case.
3454 cat >conftest.
$ac_ext <<_ACEOF
3457 cat confdefs.h
>>conftest.
$ac_ext
3458 cat >>conftest.
$ac_ext <<_ACEOF
3459 /* end confdefs.h. */
3461 # include <limits.h>
3463 # include <assert.h>
3467 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3469 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3470 *) ac_try_echo=$ac_try;;
3472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3473 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3475 grep -v '^ *+' conftest.er1 >conftest.err
3477 cat conftest.err >&5
3478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3479 (exit $ac_status); } >/dev/null && {
3480 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3481 test ! -s conftest.err
3485 echo "$as_me: failed program was:" >&5
3486 sed 's/^/| /' conftest.$ac_ext >&5
3488 # Broken: fails on valid input.
3492 rm -f conftest.err conftest.$ac_ext
3494 # OK, works on sane cases. Now check whether nonexistent headers
3495 # can be detected and how.
3496 cat >conftest.$ac_ext <<_ACEOF
3499 cat confdefs.h >>conftest.$ac_ext
3500 cat >>conftest.$ac_ext <<_ACEOF
3501 /* end confdefs.h. */
3502 #include <ac_nonexistent.h>
3504 if { (ac_try="$ac_cpp conftest.$ac_ext"
3506 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3507 *) ac_try_echo
=$ac_try;;
3509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3510 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3512 grep -v '^ *+' conftest.er1
>conftest.err
3514 cat conftest.err
>&5
3515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3516 (exit $ac_status); } >/dev
/null
&& {
3517 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3518 test ! -s conftest.err
3520 # Broken: success on invalid input.
3523 echo "$as_me: failed program was:" >&5
3524 sed 's/^/| /' conftest.
$ac_ext >&5
3526 # Passes both tests.
3531 rm -f conftest.err conftest.
$ac_ext
3534 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3535 rm -f conftest.err conftest.
$ac_ext
3536 if $ac_preproc_ok; then
3539 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3540 See \`config.log' for more details." >&5
3541 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3542 See \`config.log' for more details." >&2;}
3543 { (exit 1); exit 1; }; }
3547 ac_cpp
='$CPP $CPPFLAGS'
3548 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3549 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3550 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3553 # Check for a compatible awk
3554 for ac_prog
in gawk nawk
3556 # Extract the first word of "$ac_prog", so it can be a program name with args.
3557 set dummy
$ac_prog; ac_word
=$2
3558 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3560 if test "${ac_cv_prog_AWK+set}" = set; then
3561 echo $ECHO_N "(cached) $ECHO_C" >&6
3563 if test -n "$AWK"; then
3564 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3570 test -z "$as_dir" && as_dir
=.
3571 for ac_exec_ext
in '' $ac_executable_extensions; do
3572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3573 ac_cv_prog_AWK
="$ac_prog"
3574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3584 if test -n "$AWK"; then
3585 { echo "$as_me:$LINENO: result: $AWK" >&5
3586 echo "${ECHO_T}$AWK" >&6; }
3588 { echo "$as_me:$LINENO: result: no" >&5
3589 echo "${ECHO_T}no" >&6; }
3593 test -n "$AWK" && break
3596 if test "$AWK" = ""; then
3597 { { echo "$as_me:$LINENO: error: gawk is required to build AROS. Please install and run configure again." >&5
3598 echo "$as_me: error: gawk is required to build AROS. Please install and run configure again." >&2;}
3599 { (exit 1); exit 1; }; }
3601 # Extract the first word of "mmake", so it can be a program name with args.
3602 set dummy mmake
; ac_word
=$2
3603 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3605 if test "${ac_cv_prog_MMAKE+set}" = set; then
3606 echo $ECHO_N "(cached) $ECHO_C" >&6
3608 if test -n "$MMAKE"; then
3609 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
3611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3615 test -z "$as_dir" && as_dir
=.
3616 for ac_exec_ext
in '' $ac_executable_extensions; do
3617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3618 ac_cv_prog_MMAKE
="mmake "
3619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3628 MMAKE
=$ac_cv_prog_MMAKE
3629 if test -n "$MMAKE"; then
3630 { echo "$as_me:$LINENO: result: $MMAKE" >&5
3631 echo "${ECHO_T}$MMAKE" >&6; }
3633 { echo "$as_me:$LINENO: result: no" >&5
3634 echo "${ECHO_T}no" >&6; }
3639 # Perform some default variable assignments. Note all of these will be
3640 # Regenerated from the script, so there is no need to cache them.
3643 if test "$GCC" = "yes"; then
3644 aros_gcc_ld
=`$CC -print-prog-name=ld`
3645 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
3646 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
3647 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3649 if test "${ac_cv_path_aros_host_ld+set}" = set; then
3650 echo $ECHO_N "(cached) $ECHO_C" >&6
3652 case $aros_host_ld in
3654 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3658 for as_dir
in `dirname $aros_gcc_ld`
3661 test -z "$as_dir" && as_dir
=.
3662 for ac_exec_ext
in '' $ac_executable_extensions; do
3663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3664 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3675 aros_host_ld
=$ac_cv_path_aros_host_ld
3676 if test -n "$aros_host_ld"; then
3677 { echo "$as_me:$LINENO: result: $aros_host_ld" >&5
3678 echo "${ECHO_T}$aros_host_ld" >&6; }
3680 { echo "$as_me:$LINENO: result: no" >&5
3681 echo "${ECHO_T}no" >&6; }
3686 if test "$aros_host_ld" = ""; then
3687 # Extract the first word of "ld", so it can be a program name with args.
3688 set dummy ld
; ac_word
=$2
3689 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3691 if test "${ac_cv_path_aros_host_ld+set}" = set; then
3692 echo $ECHO_N "(cached) $ECHO_C" >&6
3694 case $aros_host_ld in
3696 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3703 test -z "$as_dir" && as_dir
=.
3704 for ac_exec_ext
in '' $ac_executable_extensions; do
3705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3706 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3717 aros_host_ld
=$ac_cv_path_aros_host_ld
3718 if test -n "$aros_host_ld"; then
3719 { echo "$as_me:$LINENO: result: $aros_host_ld" >&5
3720 echo "${ECHO_T}$aros_host_ld" >&6; }
3722 { echo "$as_me:$LINENO: result: no" >&5
3723 echo "${ECHO_T}no" >&6; }
3728 if test "$aros_host_ld" = ""; then
3729 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
3730 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
3731 { (exit 1); exit 1; }; }
3733 aros_host_make
="make"
3734 aros_host_cflags
=$CFLAGS
3735 aros_host_ldflags
=$LDFLAGS
3736 aros_host_debug
="-g -O0"
3737 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
3738 aros_host_mkargs
="--no-print-directory"
3739 aros_host_incl
="/usr/include"
3740 aros_host_exe_suffix
="$EXEEXT"
3741 aros_host_lib_suffix
=""
3743 for ac_prog
in aclocal aclocal19 aclocal-1.9
3745 # Extract the first word of "$ac_prog", so it can be a program name with args.
3746 set dummy
$ac_prog; ac_word
=$2
3747 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3749 if test "${ac_cv_prog_aros_host_aclocal+set}" = set; then
3750 echo $ECHO_N "(cached) $ECHO_C" >&6
3752 if test -n "$aros_host_aclocal"; then
3753 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
3755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3759 test -z "$as_dir" && as_dir
=.
3760 for ac_exec_ext
in '' $ac_executable_extensions; do
3761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3762 ac_cv_prog_aros_host_aclocal
="$ac_prog"
3763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3772 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
3773 if test -n "$aros_host_aclocal"; then
3774 { echo "$as_me:$LINENO: result: $aros_host_aclocal" >&5
3775 echo "${ECHO_T}$aros_host_aclocal" >&6; }
3777 { echo "$as_me:$LINENO: result: no" >&5
3778 echo "${ECHO_T}no" >&6; }
3782 test -n "$aros_host_aclocal" && break
3785 for ac_prog
in autoconf autoconf259 autoconf253
3787 # Extract the first word of "$ac_prog", so it can be a program name with args.
3788 set dummy
$ac_prog; ac_word
=$2
3789 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3791 if test "${ac_cv_prog_aros_host_autoconf+set}" = set; then
3792 echo $ECHO_N "(cached) $ECHO_C" >&6
3794 if test -n "$aros_host_autoconf"; then
3795 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
3797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3801 test -z "$as_dir" && as_dir
=.
3802 for ac_exec_ext
in '' $ac_executable_extensions; do
3803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3804 ac_cv_prog_aros_host_autoconf
="$ac_prog"
3805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3814 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
3815 if test -n "$aros_host_autoconf"; then
3816 { echo "$as_me:$LINENO: result: $aros_host_autoconf" >&5
3817 echo "${ECHO_T}$aros_host_autoconf" >&6; }
3819 { echo "$as_me:$LINENO: result: no" >&5
3820 echo "${ECHO_T}no" >&6; }
3824 test -n "$aros_host_autoconf" && break
3827 for ac_prog
in autoheader autoheader259 autoheader253
3829 # Extract the first word of "$ac_prog", so it can be a program name with args.
3830 set dummy
$ac_prog; ac_word
=$2
3831 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3833 if test "${ac_cv_prog_aros_host_autoheader+set}" = set; then
3834 echo $ECHO_N "(cached) $ECHO_C" >&6
3836 if test -n "$aros_host_autoheader"; then
3837 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
3839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3843 test -z "$as_dir" && as_dir
=.
3844 for ac_exec_ext
in '' $ac_executable_extensions; do
3845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3846 ac_cv_prog_aros_host_autoheader
="$ac_prog"
3847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3856 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
3857 if test -n "$aros_host_autoheader"; then
3858 { echo "$as_me:$LINENO: result: $aros_host_autoheader" >&5
3859 echo "${ECHO_T}$aros_host_autoheader" >&6; }
3861 { echo "$as_me:$LINENO: result: no" >&5
3862 echo "${ECHO_T}no" >&6; }
3866 test -n "$aros_host_autoheader" && break
3869 for ac_prog
in automake automake19 automake-1.9
3871 # Extract the first word of "$ac_prog", so it can be a program name with args.
3872 set dummy
$ac_prog; ac_word
=$2
3873 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3875 if test "${ac_cv_prog_aros_host_automake+set}" = set; then
3876 echo $ECHO_N "(cached) $ECHO_C" >&6
3878 if test -n "$aros_host_automake"; then
3879 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
3881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3885 test -z "$as_dir" && as_dir
=.
3886 for ac_exec_ext
in '' $ac_executable_extensions; do
3887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3888 ac_cv_prog_aros_host_automake
="$ac_prog"
3889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3898 aros_host_automake
=$ac_cv_prog_aros_host_automake
3899 if test -n "$aros_host_automake"; then
3900 { echo "$as_me:$LINENO: result: $aros_host_automake" >&5
3901 echo "${ECHO_T}$aros_host_automake" >&6; }
3903 { echo "$as_me:$LINENO: result: no" >&5
3904 echo "${ECHO_T}no" >&6; }
3908 test -n "$aros_host_automake" && break
3912 if test "$aros_host_aclocal" = ""; then
3913 { { echo "$as_me:$LINENO: error: aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." >&5
3914 echo "$as_me: error: aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." >&2;}
3915 { (exit 1); exit 1; }; }
3917 if test "$aros_host_automake" = ""; then
3918 { { echo "$as_me:$LINENO: error: automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." >&5
3919 echo "$as_me: error: automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." >&2;}
3920 { (exit 1); exit 1; }; }
3923 case "$aros_host_cc" in
3925 aros_host_cc_pipe
="-pipe"
3928 aros_host_cc_pipe
=""
3931 aros_host_cc_pipe
=""
3935 aros_target_cc_includes
=""
3937 # This is the main host configuration section. It is where the host
3938 # can change the values of any variables it needs to change. We do
3939 # not look at anything that compiles to the target yet, we'll get
3944 aros_host_arch
="aros"
3945 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3948 aros_host_cpu
="i386"
3951 aros_host_cpu
="x86_64"
3954 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
3955 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
3956 aros_host_cpu
="$host_cpu"
3962 aros_host_arch
="linux"
3963 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3966 aros_host_cpu
="i386"
3969 aros_host_cpu
="x86_64"
3972 aros_host_cpu
="m68k"
3978 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
3979 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
3980 aros_host_cpu
="$host_cpu"
3986 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
3987 aros_host_make
="gmake"
3988 aros_host_arch
="freebsd"
3989 aros_host_cpu
="i386"
3991 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
3996 aros_object_format
="elf_i386"
4000 aros_object_format
="elf_i386_fbsd"
4007 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4008 aros_host_arch
="darwin"
4011 aros_host_cpu
="i386"
4017 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4018 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4019 aros_host_cpu
="$host_cpu"
4023 aros_host_ldflags
="$aros_host_ldflags -liconv"
4028 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4029 aros_host_make
="gmake"
4030 aros_host_arch
="netbsd"
4033 aros_host_cpu
="i386"
4036 aros_host_cpu
="m68k"
4039 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4040 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4041 aros_host_cpu
="$host_cpu"
4044 aros_host_lib_suffix
=".0.0"
4048 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4049 aros_host_make
="gmake"
4050 aros_host_arch
="openbsd"
4053 aros_host_cpu
="i386"
4056 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4057 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4058 aros_host_cpu
="$host_cpu"
4064 aros_host_arch
="solaris"
4065 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4068 aros_host_cpu
="i386"
4071 aros_host_cpu
="sparc"
4074 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4075 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4076 aros_host_cpu
="$host_cpu"
4082 aros_host_arch
="morphos"
4087 aros_host_arch
="amiga"
4092 TOUCH
="/gg/bin/touch"
4095 aros_host_cpu
="m68k"
4101 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4102 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4103 aros_host_cpu
="$host_cpu"
4109 aros_host_arch
="cygwin"
4110 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4113 aros_host_cpu
="i386"
4116 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4117 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4118 aros_host_cpu
="$host_cpu"
4124 aros_host_arch
="mingw32"
4125 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4128 aros_host_cpu
="i386"
4131 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4132 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4133 aros_host_cpu
="$host_cpu"
4138 { { echo "$as_me:$LINENO: error: Unsupported host architecture $host" >&5
4139 echo "$as_me: error: Unsupported host architecture $host" >&2;}
4140 { (exit 1); exit 1; }; }
4144 # Extract the first word of "ar", so it can be a program name with args.
4145 set dummy
ar; ac_word
=$2
4146 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4148 if test "${ac_cv_prog_aros_host_ar+set}" = set; then
4149 echo $ECHO_N "(cached) $ECHO_C" >&6
4151 if test -n "$aros_host_ar"; then
4152 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4158 test -z "$as_dir" && as_dir
=.
4159 for ac_exec_ext
in '' $ac_executable_extensions; do
4160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4161 ac_cv_prog_aros_host_ar
="ar cr"
4162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4171 aros_host_ar
=$ac_cv_prog_aros_host_ar
4172 if test -n "$aros_host_ar"; then
4173 { echo "$as_me:$LINENO: result: $aros_host_ar" >&5
4174 echo "${ECHO_T}$aros_host_ar" >&6; }
4176 { echo "$as_me:$LINENO: result: no" >&5
4177 echo "${ECHO_T}no" >&6; }
4181 if test "$aros_host_ar" = ""; then
4182 { { echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
4183 echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
4184 { (exit 1); exit 1; }; }
4186 # Extract the first word of "ranlib", so it can be a program name with args.
4187 set dummy ranlib
; ac_word
=$2
4188 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4190 if test "${ac_cv_prog_aros_host_ranlib+set}" = set; then
4191 echo $ECHO_N "(cached) $ECHO_C" >&6
4193 if test -n "$aros_host_ranlib"; then
4194 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4200 test -z "$as_dir" && as_dir
=.
4201 for ac_exec_ext
in '' $ac_executable_extensions; do
4202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4203 ac_cv_prog_aros_host_ranlib
="ranlib "
4204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4213 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4214 if test -n "$aros_host_ranlib"; then
4215 { echo "$as_me:$LINENO: result: $aros_host_ranlib" >&5
4216 echo "${ECHO_T}$aros_host_ranlib" >&6; }
4218 { echo "$as_me:$LINENO: result: no" >&5
4219 echo "${ECHO_T}no" >&6; }
4223 if test "$aros_host_ranlib" = ""; then
4224 { { echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
4225 echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
4226 { (exit 1); exit 1; }; }
4228 # Extract the first word of "strip", so it can be a program name with args.
4229 set dummy strip
; ac_word
=$2
4230 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4232 if test "${ac_cv_prog_aros_host_strip+set}" = set; then
4233 echo $ECHO_N "(cached) $ECHO_C" >&6
4235 if test -n "$aros_host_strip"; then
4236 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4242 test -z "$as_dir" && as_dir
=.
4243 for ac_exec_ext
in '' $ac_executable_extensions; do
4244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4245 ac_cv_prog_aros_host_strip
="strip "
4246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4255 aros_host_strip
=$ac_cv_prog_aros_host_strip
4256 if test -n "$aros_host_strip"; then
4257 { echo "$as_me:$LINENO: result: $aros_host_strip" >&5
4258 echo "${ECHO_T}$aros_host_strip" >&6; }
4260 { echo "$as_me:$LINENO: result: no" >&5
4261 echo "${ECHO_T}no" >&6; }
4265 if test "$aros_host_strip" = ""; then
4266 { { echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
4267 echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
4268 { (exit 1); exit 1; }; }
4271 # Extract the first word of "rm", so it can be a program name with args.
4272 set dummy
rm; ac_word
=$2
4273 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4275 if test "${ac_cv_prog_RM+set}" = set; then
4276 echo $ECHO_N "(cached) $ECHO_C" >&6
4278 if test -n "$RM"; then
4279 ac_cv_prog_RM
="$RM" # Let the user override the test.
4281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4285 test -z "$as_dir" && as_dir
=.
4286 for ac_exec_ext
in '' $ac_executable_extensions; do
4287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4288 ac_cv_prog_RM
="rm -rf"
4289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4299 if test -n "$RM"; then
4300 { echo "$as_me:$LINENO: result: $RM" >&5
4301 echo "${ECHO_T}$RM" >&6; }
4303 { echo "$as_me:$LINENO: result: no" >&5
4304 echo "${ECHO_T}no" >&6; }
4308 if test "$RM" = ""; then
4309 { { echo "$as_me:$LINENO: error: rm is required to build AROS. Please install and run configure again." >&5
4310 echo "$as_me: error: rm is required to build AROS. Please install and run configure again." >&2;}
4311 { (exit 1); exit 1; }; }
4313 # Extract the first word of "cp", so it can be a program name with args.
4314 set dummy
cp; ac_word
=$2
4315 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4317 if test "${ac_cv_prog_CP+set}" = set; then
4318 echo $ECHO_N "(cached) $ECHO_C" >&6
4320 if test -n "$CP"; then
4321 ac_cv_prog_CP
="$CP" # Let the user override the test.
4323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4327 test -z "$as_dir" && as_dir
=.
4328 for ac_exec_ext
in '' $ac_executable_extensions; do
4329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4341 if test -n "$CP"; then
4342 { echo "$as_me:$LINENO: result: $CP" >&5
4343 echo "${ECHO_T}$CP" >&6; }
4345 { echo "$as_me:$LINENO: result: no" >&5
4346 echo "${ECHO_T}no" >&6; }
4350 if test "$CP" = ""; then
4351 { { echo "$as_me:$LINENO: error: cp is required to build AROS. Please install and run configure again." >&5
4352 echo "$as_me: error: cp is required to build AROS. Please install and run configure again." >&2;}
4353 { (exit 1); exit 1; }; }
4355 # Extract the first word of "mv", so it can be a program name with args.
4356 set dummy
mv; ac_word
=$2
4357 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4359 if test "${ac_cv_prog_MV+set}" = set; then
4360 echo $ECHO_N "(cached) $ECHO_C" >&6
4362 if test -n "$MV"; then
4363 ac_cv_prog_MV
="$MV" # Let the user override the test.
4365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4369 test -z "$as_dir" && as_dir
=.
4370 for ac_exec_ext
in '' $ac_executable_extensions; do
4371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4383 if test -n "$MV"; then
4384 { echo "$as_me:$LINENO: result: $MV" >&5
4385 echo "${ECHO_T}$MV" >&6; }
4387 { echo "$as_me:$LINENO: result: no" >&5
4388 echo "${ECHO_T}no" >&6; }
4392 if test "$MV" = ""; then
4393 { { echo "$as_me:$LINENO: error: mv is required to build AROS. Please install and run configure again." >&5
4394 echo "$as_me: error: mv is required to build AROS. Please install and run configure again." >&2;}
4395 { (exit 1); exit 1; }; }
4397 # Extract the first word of "echo", so it can be a program name with args.
4398 set dummy
echo; ac_word
=$2
4399 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4400 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4401 if test "${ac_cv_prog_ECHO+set}" = set; then
4402 echo $ECHO_N "(cached) $ECHO_C" >&6
4404 if test -n "$ECHO"; then
4405 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
4407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4411 test -z "$as_dir" && as_dir
=.
4412 for ac_exec_ext
in '' $ac_executable_extensions; do
4413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4414 ac_cv_prog_ECHO
="echo "
4415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4424 ECHO
=$ac_cv_prog_ECHO
4425 if test -n "$ECHO"; then
4426 { echo "$as_me:$LINENO: result: $ECHO" >&5
4427 echo "${ECHO_T}$ECHO" >&6; }
4429 { echo "$as_me:$LINENO: result: no" >&5
4430 echo "${ECHO_T}no" >&6; }
4434 if test "$ECHO" = ""; then
4435 { { echo "$as_me:$LINENO: error: echo is required to build AROS. Please install and run configure again." >&5
4436 echo "$as_me: error: echo is required to build AROS. Please install and run configure again." >&2;}
4437 { (exit 1); exit 1; }; }
4439 # Extract the first word of "mkdir", so it can be a program name with args.
4440 set dummy mkdir
; ac_word
=$2
4441 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4442 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4443 if test "${ac_cv_prog_MKDIR+set}" = set; then
4444 echo $ECHO_N "(cached) $ECHO_C" >&6
4446 if test -n "$MKDIR"; then
4447 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
4449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4453 test -z "$as_dir" && as_dir
=.
4454 for ac_exec_ext
in '' $ac_executable_extensions; do
4455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4456 ac_cv_prog_MKDIR
="mkdir -p"
4457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4466 MKDIR
=$ac_cv_prog_MKDIR
4467 if test -n "$MKDIR"; then
4468 { echo "$as_me:$LINENO: result: $MKDIR" >&5
4469 echo "${ECHO_T}$MKDIR" >&6; }
4471 { echo "$as_me:$LINENO: result: no" >&5
4472 echo "${ECHO_T}no" >&6; }
4476 if test "$MKDIR" = ""; then
4477 { { echo "$as_me:$LINENO: error: mkdir is required to build AROS. Please install and run configure again." >&5
4478 echo "$as_me: error: mkdir is required to build AROS. Please install and run configure again." >&2;}
4479 { (exit 1); exit 1; }; }
4481 # Extract the first word of "touch", so it can be a program name with args.
4482 set dummy
touch; ac_word
=$2
4483 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4485 if test "${ac_cv_prog_TOUCH+set}" = set; then
4486 echo $ECHO_N "(cached) $ECHO_C" >&6
4488 if test -n "$TOUCH"; then
4489 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
4491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4495 test -z "$as_dir" && as_dir
=.
4496 for ac_exec_ext
in '' $ac_executable_extensions; do
4497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4498 ac_cv_prog_TOUCH
="touch "
4499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4508 TOUCH
=$ac_cv_prog_TOUCH
4509 if test -n "$TOUCH"; then
4510 { echo "$as_me:$LINENO: result: $TOUCH" >&5
4511 echo "${ECHO_T}$TOUCH" >&6; }
4513 { echo "$as_me:$LINENO: result: no" >&5
4514 echo "${ECHO_T}no" >&6; }
4518 if test "$TOUCH" = ""; then
4519 { { echo "$as_me:$LINENO: error: touch is required to build AROS. Please install and run configure again." >&5
4520 echo "$as_me: error: touch is required to build AROS. Please install and run configure again." >&2;}
4521 { (exit 1); exit 1; }; }
4523 # Extract the first word of "sort", so it can be a program name with args.
4524 set dummy
sort; ac_word
=$2
4525 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4526 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4527 if test "${ac_cv_prog_SORT+set}" = set; then
4528 echo $ECHO_N "(cached) $ECHO_C" >&6
4530 if test -n "$SORT"; then
4531 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
4533 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4537 test -z "$as_dir" && as_dir
=.
4538 for ac_exec_ext
in '' $ac_executable_extensions; do
4539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4540 ac_cv_prog_SORT
="sort "
4541 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4550 SORT
=$ac_cv_prog_SORT
4551 if test -n "$SORT"; then
4552 { echo "$as_me:$LINENO: result: $SORT" >&5
4553 echo "${ECHO_T}$SORT" >&6; }
4555 { echo "$as_me:$LINENO: result: no" >&5
4556 echo "${ECHO_T}no" >&6; }
4560 if test "$SORT" = ""; then
4561 { { echo "$as_me:$LINENO: error: sort is required to build AROS. Please install and run configure again." >&5
4562 echo "$as_me: error: sort is required to build AROS. Please install and run configure again." >&2;}
4563 { (exit 1); exit 1; }; }
4565 # Extract the first word of "uniq", so it can be a program name with args.
4566 set dummy
uniq; ac_word
=$2
4567 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4569 if test "${ac_cv_prog_UNIQ+set}" = set; then
4570 echo $ECHO_N "(cached) $ECHO_C" >&6
4572 if test -n "$UNIQ"; then
4573 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
4575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4579 test -z "$as_dir" && as_dir
=.
4580 for ac_exec_ext
in '' $ac_executable_extensions; do
4581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4582 ac_cv_prog_UNIQ
="uniq "
4583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4592 UNIQ
=$ac_cv_prog_UNIQ
4593 if test -n "$UNIQ"; then
4594 { echo "$as_me:$LINENO: result: $UNIQ" >&5
4595 echo "${ECHO_T}$UNIQ" >&6; }
4597 { echo "$as_me:$LINENO: result: no" >&5
4598 echo "${ECHO_T}no" >&6; }
4602 if test "$UNIQ" = ""; then
4603 { { echo "$as_me:$LINENO: error: uniq is required to build AROS. Please install and run configure again." >&5
4604 echo "$as_me: error: uniq is required to build AROS. Please install and run configure again." >&2;}
4605 { (exit 1); exit 1; }; }
4607 # Extract the first word of "true", so it can be a program name with args.
4608 set dummy true
; ac_word
=$2
4609 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4611 if test "${ac_cv_prog_NOP+set}" = set; then
4612 echo $ECHO_N "(cached) $ECHO_C" >&6
4614 if test -n "$NOP"; then
4615 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
4617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4621 test -z "$as_dir" && as_dir
=.
4622 for ac_exec_ext
in '' $ac_executable_extensions; do
4623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4624 ac_cv_prog_NOP
="true "
4625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4635 if test -n "$NOP"; then
4636 { echo "$as_me:$LINENO: result: $NOP" >&5
4637 echo "${ECHO_T}$NOP" >&6; }
4639 { echo "$as_me:$LINENO: result: no" >&5
4640 echo "${ECHO_T}no" >&6; }
4644 if test "$NOP" = ""; then
4645 { { echo "$as_me:$LINENO: error: true is required to build AROS. Please install and run configure again." >&5
4646 echo "$as_me: error: true is required to build AROS. Please install and run configure again." >&2;}
4647 { (exit 1); exit 1; }; }
4649 # Extract the first word of "cat", so it can be a program name with args.
4650 set dummy
cat; ac_word
=$2
4651 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4653 if test "${ac_cv_prog_CAT+set}" = set; then
4654 echo $ECHO_N "(cached) $ECHO_C" >&6
4656 if test -n "$CAT"; then
4657 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
4659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4663 test -z "$as_dir" && as_dir
=.
4664 for ac_exec_ext
in '' $ac_executable_extensions; do
4665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4666 ac_cv_prog_CAT
="cat "
4667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4677 if test -n "$CAT"; then
4678 { echo "$as_me:$LINENO: result: $CAT" >&5
4679 echo "${ECHO_T}$CAT" >&6; }
4681 { echo "$as_me:$LINENO: result: no" >&5
4682 echo "${ECHO_T}no" >&6; }
4686 if test "$CAT" = ""; then
4687 { { echo "$as_me:$LINENO: error: cat is required to build AROS. Please install and run configure again." >&5
4688 echo "$as_me: error: cat is required to build AROS. Please install and run configure again." >&2;}
4689 { (exit 1); exit 1; }; }
4691 # Extract the first word of "bison", so it can be a program name with args.
4692 set dummy bison
; ac_word
=$2
4693 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4695 if test "${ac_cv_prog_BISON+set}" = set; then
4696 echo $ECHO_N "(cached) $ECHO_C" >&6
4698 if test -n "$BISON"; then
4699 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4705 test -z "$as_dir" && as_dir
=.
4706 for ac_exec_ext
in '' $ac_executable_extensions; do
4707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4708 ac_cv_prog_BISON
="bison "
4709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4718 BISON
=$ac_cv_prog_BISON
4719 if test -n "$BISON"; then
4720 { echo "$as_me:$LINENO: result: $BISON" >&5
4721 echo "${ECHO_T}$BISON" >&6; }
4723 { echo "$as_me:$LINENO: result: no" >&5
4724 echo "${ECHO_T}no" >&6; }
4728 if test "$BISON" = ""; then
4729 { { echo "$as_me:$LINENO: error: bison is required to build AROS. Please install and run configure again." >&5
4730 echo "$as_me: error: bison is required to build AROS. Please install and run configure again." >&2;}
4731 { (exit 1); exit 1; }; }
4733 # Extract the first word of "flex", so it can be a program name with args.
4734 set dummy flex
; ac_word
=$2
4735 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4736 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4737 if test "${ac_cv_prog_FLEX+set}" = set; then
4738 echo $ECHO_N "(cached) $ECHO_C" >&6
4740 if test -n "$FLEX"; then
4741 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4743 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4747 test -z "$as_dir" && as_dir
=.
4748 for ac_exec_ext
in '' $ac_executable_extensions; do
4749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4750 ac_cv_prog_FLEX
="flex "
4751 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4760 FLEX
=$ac_cv_prog_FLEX
4761 if test -n "$FLEX"; then
4762 { echo "$as_me:$LINENO: result: $FLEX" >&5
4763 echo "${ECHO_T}$FLEX" >&6; }
4765 { echo "$as_me:$LINENO: result: no" >&5
4766 echo "${ECHO_T}no" >&6; }
4770 if test "$FLEX" = ""; then
4771 { { echo "$as_me:$LINENO: error: flex is required to build AROS. Please install and run configure again." >&5
4772 echo "$as_me: error: flex is required to build AROS. Please install and run configure again." >&2;}
4773 { (exit 1); exit 1; }; }
4775 # Extract the first word of "pngtopnm", so it can be a program name with args.
4776 set dummy pngtopnm
; ac_word
=$2
4777 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4779 if test "${ac_cv_prog_PNGTOPNM+set}" = set; then
4780 echo $ECHO_N "(cached) $ECHO_C" >&6
4782 if test -n "$PNGTOPNM"; then
4783 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
4785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4789 test -z "$as_dir" && as_dir
=.
4790 for ac_exec_ext
in '' $ac_executable_extensions; do
4791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4792 ac_cv_prog_PNGTOPNM
="pngtopnm "
4793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4802 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
4803 if test -n "$PNGTOPNM"; then
4804 { echo "$as_me:$LINENO: result: $PNGTOPNM" >&5
4805 echo "${ECHO_T}$PNGTOPNM" >&6; }
4807 { echo "$as_me:$LINENO: result: no" >&5
4808 echo "${ECHO_T}no" >&6; }
4812 if test "$PNGTOPNM" = ""; then
4813 { { echo "$as_me:$LINENO: error: pngtopnm is required to build AROS. Please install and run configure again." >&5
4814 echo "$as_me: error: pngtopnm is required to build AROS. Please install and run configure again." >&2;}
4815 { (exit 1); exit 1; }; }
4817 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
4818 set dummy ppmtoilbm
; ac_word
=$2
4819 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4821 if test "${ac_cv_prog_PPMTOILBM+set}" = set; then
4822 echo $ECHO_N "(cached) $ECHO_C" >&6
4824 if test -n "$PPMTOILBM"; then
4825 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
4827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4831 test -z "$as_dir" && as_dir
=.
4832 for ac_exec_ext
in '' $ac_executable_extensions; do
4833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4834 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
4835 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4844 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
4845 if test -n "$PPMTOILBM"; then
4846 { echo "$as_me:$LINENO: result: $PPMTOILBM" >&5
4847 echo "${ECHO_T}$PPMTOILBM" >&6; }
4849 { echo "$as_me:$LINENO: result: no" >&5
4850 echo "${ECHO_T}no" >&6; }
4854 if test "$PPMTOILBM" = ""; then
4855 { { echo "$as_me:$LINENO: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&5
4856 echo "$as_me: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&2;}
4857 { (exit 1); exit 1; }; }
4859 # Extract the first word of "sed", so it can be a program name with args.
4860 set dummy
sed; ac_word
=$2
4861 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4862 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4863 if test "${ac_cv_prog_SED+set}" = set; then
4864 echo $ECHO_N "(cached) $ECHO_C" >&6
4866 if test -n "$SED"; then
4867 ac_cv_prog_SED
="$SED" # Let the user override the test.
4869 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4873 test -z "$as_dir" && as_dir
=.
4874 for ac_exec_ext
in '' $ac_executable_extensions; do
4875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4876 ac_cv_prog_SED
="sed "
4877 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4887 if test -n "$SED"; then
4888 { echo "$as_me:$LINENO: result: $SED" >&5
4889 echo "${ECHO_T}$SED" >&6; }
4891 { echo "$as_me:$LINENO: result: no" >&5
4892 echo "${ECHO_T}no" >&6; }
4896 if test "$SED" = ""; then
4897 { { echo "$as_me:$LINENO: error: sed is required to build AROS. Please install and run configure again." >&5
4898 echo "$as_me: error: sed is required to build AROS. Please install and run configure again." >&2;}
4899 { (exit 1); exit 1; }; }
4901 # Extract the first word of "chmod", so it can be a program name with args.
4902 set dummy
chmod; ac_word
=$2
4903 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4905 if test "${ac_cv_prog_CHMOD+set}" = set; then
4906 echo $ECHO_N "(cached) $ECHO_C" >&6
4908 if test -n "$CHMOD"; then
4909 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
4911 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4915 test -z "$as_dir" && as_dir
=.
4916 for ac_exec_ext
in '' $ac_executable_extensions; do
4917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4918 ac_cv_prog_CHMOD
="chmod "
4919 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4928 CHMOD
=$ac_cv_prog_CHMOD
4929 if test -n "$CHMOD"; then
4930 { echo "$as_me:$LINENO: result: $CHMOD" >&5
4931 echo "${ECHO_T}$CHMOD" >&6; }
4933 { echo "$as_me:$LINENO: result: no" >&5
4934 echo "${ECHO_T}no" >&6; }
4938 if test "$CHMOD" = ""; then
4939 { { echo "$as_me:$LINENO: error: chmod is required to build AROS. Please install and run configure again." >&5
4940 echo "$as_me: error: chmod is required to build AROS. Please install and run configure again." >&2;}
4941 { (exit 1); exit 1; }; }
4948 if test -n "$PYTHON"; then
4949 # If the user set $PYTHON, use it and don't search something else.
4950 { echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.2.1" >&5
4951 echo $ECHO_N "checking whether $PYTHON version >= 2.2.1... $ECHO_C" >&6; }
4952 prog
="import sys, string
4953 # split strings by '.' and convert to numeric. Append some zeros
4954 # because we need at least 4 digits for the hex conversion.
4955 minver = map(int, string.split('2.2.1', '.')) + [0, 0, 0]
4957 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
4958 sys.exit(sys.hexversion < minverhex)"
4959 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
4960 ($PYTHON -c "$prog") >&5 2>&5
4962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4963 (exit $ac_status); }; then
4964 { echo "$as_me:$LINENO: result: yes" >&5
4965 echo "${ECHO_T}yes" >&6; }
4967 { { echo "$as_me:$LINENO: error: too old" >&5
4968 echo "$as_me: error: too old" >&2;}
4969 { (exit 1); exit 1; }; }
4972 am_display_PYTHON
=$PYTHON
4974 # Otherwise, try each interpreter until we find one that satisfies
4976 { echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.2.1" >&5
4977 echo $ECHO_N "checking for a Python interpreter with version >= 2.2.1... $ECHO_C" >&6; }
4978 if test "${am_cv_pathless_PYTHON+set}" = set; then
4979 echo $ECHO_N "(cached) $ECHO_C" >&6
4982 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
4983 test "$am_cv_pathless_PYTHON" = none
&& break
4984 prog
="import sys, string
4985 # split strings by '.' and convert to numeric. Append some zeros
4986 # because we need at least 4 digits for the hex conversion.
4987 minver = map(int, string.split('2.2.1', '.')) + [0, 0, 0]
4989 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
4990 sys.exit(sys.hexversion < minverhex)"
4991 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
4992 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
4994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4995 (exit $ac_status); }; then
5001 { echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
5002 echo "${ECHO_T}$am_cv_pathless_PYTHON" >&6; }
5003 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5004 if test "$am_cv_pathless_PYTHON" = none
; then
5007 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5008 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5009 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5011 if test "${ac_cv_path_PYTHON+set}" = set; then
5012 echo $ECHO_N "(cached) $ECHO_C" >&6
5016 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5023 test -z "$as_dir" && as_dir
=.
5024 for ac_exec_ext
in '' $ac_executable_extensions; do
5025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5026 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5037 PYTHON
=$ac_cv_path_PYTHON
5038 if test -n "$PYTHON"; then
5039 { echo "$as_me:$LINENO: result: $PYTHON" >&5
5040 echo "${ECHO_T}$PYTHON" >&6; }
5042 { echo "$as_me:$LINENO: result: no" >&5
5043 echo "${ECHO_T}no" >&6; }
5048 am_display_PYTHON
=$am_cv_pathless_PYTHON
5052 if test "$PYTHON" = :; then
5053 { { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
5054 echo "$as_me: error: no suitable Python interpreter found" >&2;}
5055 { (exit 1); exit 1; }; }
5059 { echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
5060 echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; }
5061 if test "${am_cv_python_version+set}" = set; then
5062 echo $ECHO_N "(cached) $ECHO_C" >&6
5064 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
5066 { echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
5067 echo "${ECHO_T}$am_cv_python_version" >&6; }
5068 PYTHON_VERSION
=$am_cv_python_version
5072 PYTHON_PREFIX
='${prefix}'
5074 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5078 { echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
5079 echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; }
5080 if test "${am_cv_python_platform+set}" = set; then
5081 echo $ECHO_N "(cached) $ECHO_C" >&6
5083 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
5085 { echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
5086 echo "${ECHO_T}$am_cv_python_platform" >&6; }
5087 PYTHON_PLATFORM
=$am_cv_python_platform
5092 { echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
5093 echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6; }
5094 if test "${am_cv_python_pythondir+set}" = set; then
5095 echo $ECHO_N "(cached) $ECHO_C" >&6
5097 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5098 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5100 { echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
5101 echo "${ECHO_T}$am_cv_python_pythondir" >&6; }
5102 pythondir
=$am_cv_python_pythondir
5106 pkgpythondir
=\
${pythondir}/$PACKAGE
5109 { echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
5110 echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6; }
5111 if test "${am_cv_python_pyexecdir+set}" = set; then
5112 echo $ECHO_N "(cached) $ECHO_C" >&6
5114 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5115 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5117 { echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
5118 echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; }
5119 pyexecdir
=$am_cv_python_pyexecdir
5123 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5141 # Check for some includes for the X11 HIDD and the kernel
5144 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5145 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5146 if test "${ac_cv_path_GREP+set}" = set; then
5147 echo $ECHO_N "(cached) $ECHO_C" >&6
5149 # Extract the first word of "grep ggrep" to use in msg output
5150 if test -z "$GREP"; then
5151 set dummy
grep ggrep
; ac_prog_name
=$2
5152 if test "${ac_cv_path_GREP+set}" = set; then
5153 echo $ECHO_N "(cached) $ECHO_C" >&6
5155 ac_path_GREP_found
=false
5156 # Loop through the user's path and test for each of PROGNAME-LIST
5157 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5158 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5161 test -z "$as_dir" && as_dir
=.
5162 for ac_prog
in grep ggrep
; do
5163 for ac_exec_ext
in '' $ac_executable_extensions; do
5164 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5165 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5166 # Check for GNU ac_path_GREP and select it if it is found.
5167 # Check for GNU $ac_path_GREP
5168 case `"$ac_path_GREP" --version 2>&1` in
5170 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5173 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5176 cat "conftest.in" "conftest.in" >"conftest.tmp"
5177 mv "conftest.tmp" "conftest.in"
5178 cp "conftest.in" "conftest.nl"
5179 echo 'GREP' >> "conftest.nl"
5180 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5181 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5182 ac_count
=`expr $ac_count + 1`
5183 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5184 # Best one so far, save it but keep looking for a better one
5185 ac_cv_path_GREP
="$ac_path_GREP"
5186 ac_path_GREP_max
=$ac_count
5188 # 10*(2^10) chars as input seems more than enough
5189 test $ac_count -gt 10 && break
5191 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5195 $ac_path_GREP_found && break 3
5205 GREP
="$ac_cv_path_GREP"
5206 if test -z "$GREP"; then
5207 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5208 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5209 { (exit 1); exit 1; }; }
5213 ac_cv_path_GREP
=$GREP
5218 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5219 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5220 GREP
="$ac_cv_path_GREP"
5223 { echo "$as_me:$LINENO: checking for egrep" >&5
5224 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5225 if test "${ac_cv_path_EGREP+set}" = set; then
5226 echo $ECHO_N "(cached) $ECHO_C" >&6
5228 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5229 then ac_cv_path_EGREP
="$GREP -E"
5231 # Extract the first word of "egrep" to use in msg output
5232 if test -z "$EGREP"; then
5233 set dummy
egrep; ac_prog_name
=$2
5234 if test "${ac_cv_path_EGREP+set}" = set; then
5235 echo $ECHO_N "(cached) $ECHO_C" >&6
5237 ac_path_EGREP_found
=false
5238 # Loop through the user's path and test for each of PROGNAME-LIST
5239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5240 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5243 test -z "$as_dir" && as_dir
=.
5244 for ac_prog
in egrep; do
5245 for ac_exec_ext
in '' $ac_executable_extensions; do
5246 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5247 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5248 # Check for GNU ac_path_EGREP and select it if it is found.
5249 # Check for GNU $ac_path_EGREP
5250 case `"$ac_path_EGREP" --version 2>&1` in
5252 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5255 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5258 cat "conftest.in" "conftest.in" >"conftest.tmp"
5259 mv "conftest.tmp" "conftest.in"
5260 cp "conftest.in" "conftest.nl"
5261 echo 'EGREP' >> "conftest.nl"
5262 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5263 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5264 ac_count
=`expr $ac_count + 1`
5265 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5266 # Best one so far, save it but keep looking for a better one
5267 ac_cv_path_EGREP
="$ac_path_EGREP"
5268 ac_path_EGREP_max
=$ac_count
5270 # 10*(2^10) chars as input seems more than enough
5271 test $ac_count -gt 10 && break
5273 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5277 $ac_path_EGREP_found && break 3
5287 EGREP
="$ac_cv_path_EGREP"
5288 if test -z "$EGREP"; then
5289 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5290 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5291 { (exit 1); exit 1; }; }
5295 ac_cv_path_EGREP
=$EGREP
5301 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5302 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5303 EGREP
="$ac_cv_path_EGREP"
5306 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5307 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5308 if test "${ac_cv_header_stdc+set}" = set; then
5309 echo $ECHO_N "(cached) $ECHO_C" >&6
5311 cat >conftest.
$ac_ext <<_ACEOF
5314 cat confdefs.h
>>conftest.
$ac_ext
5315 cat >>conftest.
$ac_ext <<_ACEOF
5316 /* end confdefs.h. */
5330 rm -f conftest.
$ac_objext
5331 if { (ac_try
="$ac_compile"
5333 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5334 *) ac_try_echo=$ac_try;;
5336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5337 (eval "$ac_compile") 2>conftest.er1
5339 grep -v '^ *+' conftest.er1 >conftest.err
5341 cat conftest.err >&5
5342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5343 (exit $ac_status); } && {
5344 test -z "$ac_c_werror_flag" ||
5345 test ! -s conftest.err
5346 } && test -s conftest.$ac_objext; then
5347 ac_cv_header_stdc=yes
5349 echo "$as_me: failed program was:" >&5
5350 sed 's/^/| /' conftest.$ac_ext >&5
5352 ac_cv_header_stdc=no
5355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5357 if test $ac_cv_header_stdc = yes; then
5358 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5359 cat >conftest.$ac_ext <<_ACEOF
5362 cat confdefs.h >>conftest.$ac_ext
5363 cat >>conftest.$ac_ext <<_ACEOF
5364 /* end confdefs.h. */
5368 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5369 $EGREP "memchr" >/dev/null 2>&1; then
5372 ac_cv_header_stdc=no
5378 if test $ac_cv_header_stdc = yes; then
5379 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5380 cat >conftest.$ac_ext <<_ACEOF
5383 cat confdefs.h >>conftest.$ac_ext
5384 cat >>conftest.$ac_ext <<_ACEOF
5385 /* end confdefs.h. */
5389 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5390 $EGREP "free" >/dev/null 2>&1; then
5393 ac_cv_header_stdc=no
5399 if test $ac_cv_header_stdc = yes; then
5400 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5401 if test "$cross_compiling" = yes; then
5404 cat >conftest.$ac_ext <<_ACEOF
5407 cat confdefs.h >>conftest.$ac_ext
5408 cat >>conftest.$ac_ext <<_ACEOF
5409 /* end confdefs.h. */
5412 #if ((' ' & 0x0FF) == 0x020)
5413 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5414 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5416 # define ISLOWER(c) \
5417 (('a' <= (c) && (c) <= 'i') \
5418 || ('j' <= (c) && (c) <= 'r') \
5419 || ('s' <= (c) && (c) <= 'z'))
5420 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5423 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5428 for (i = 0; i < 256; i++)
5429 if (XOR (islower (i), ISLOWER (i))
5430 || toupper (i) != TOUPPER (i))
5435 rm -f conftest$ac_exeext
5436 if { (ac_try="$ac_link"
5438 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5439 *) ac_try_echo
=$ac_try;;
5441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5442 (eval "$ac_link") 2>&5
5444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5445 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5446 { (case "(($ac_try" in
5447 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5448 *) ac_try_echo=$ac_try;;
5450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5451 (eval "$ac_try") 2>&5
5453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5454 (exit $ac_status); }; }; then
5457 echo "$as_me: program exited with status $ac_status" >&5
5458 echo "$as_me: failed program was:" >&5
5459 sed 's/^/| /' conftest.$ac_ext >&5
5462 ac_cv_header_stdc=no
5464 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5470 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5471 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5472 if test $ac_cv_header_stdc = yes; then
5474 cat >>confdefs.h <<\_ACEOF
5475 #define STDC_HEADERS 1
5480 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5490 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5491 inttypes.h stdint.h unistd.h
5493 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5494 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5495 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5496 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5497 echo $ECHO_N "(cached) $ECHO_C" >&6
5499 cat >conftest.$ac_ext <<_ACEOF
5502 cat confdefs.h >>conftest.$ac_ext
5503 cat >>conftest.$ac_ext <<_ACEOF
5504 /* end confdefs.h. */
5505 $ac_includes_default
5507 #include <$ac_header>
5509 rm -f conftest.$ac_objext
5510 if { (ac_try="$ac_compile"
5512 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5513 *) ac_try_echo
=$ac_try;;
5515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5516 (eval "$ac_compile") 2>conftest.er1
5518 grep -v '^ *+' conftest.er1
>conftest.err
5520 cat conftest.err
>&5
5521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5522 (exit $ac_status); } && {
5523 test -z "$ac_c_werror_flag" ||
5524 test ! -s conftest.err
5525 } && test -s conftest.
$ac_objext; then
5526 eval "$as_ac_Header=yes"
5528 echo "$as_me: failed program was:" >&5
5529 sed 's/^/| /' conftest.
$ac_ext >&5
5531 eval "$as_ac_Header=no"
5534 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5536 ac_res
=`eval echo '${'$as_ac_Header'}'`
5537 { echo "$as_me:$LINENO: result: $ac_res" >&5
5538 echo "${ECHO_T}$ac_res" >&6; }
5539 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5540 cat >>confdefs.h
<<_ACEOF
5541 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5558 for ac_header
in sys
/ipc.h sys
/shm.h \
5559 sys
/mmap.h sys
/mman.h sysexits.h \
5560 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
5563 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5564 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5565 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5566 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5567 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5568 echo $ECHO_N "(cached) $ECHO_C" >&6
5570 ac_res
=`eval echo '${'$as_ac_Header'}'`
5571 { echo "$as_me:$LINENO: result: $ac_res" >&5
5572 echo "${ECHO_T}$ac_res" >&6; }
5574 # Is the header compilable?
5575 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5576 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5577 cat >conftest.
$ac_ext <<_ACEOF
5580 cat confdefs.h
>>conftest.
$ac_ext
5581 cat >>conftest.
$ac_ext <<_ACEOF
5582 /* end confdefs.h. */
5583 $ac_includes_default
5584 #include <$ac_header>
5586 rm -f conftest.
$ac_objext
5587 if { (ac_try
="$ac_compile"
5589 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5590 *) ac_try_echo=$ac_try;;
5592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5593 (eval "$ac_compile") 2>conftest.er1
5595 grep -v '^ *+' conftest.er1 >conftest.err
5597 cat conftest.err >&5
5598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5599 (exit $ac_status); } && {
5600 test -z "$ac_c_werror_flag" ||
5601 test ! -s conftest.err
5602 } && test -s conftest.$ac_objext; then
5603 ac_header_compiler=yes
5605 echo "$as_me: failed program was:" >&5
5606 sed 's/^/| /' conftest.$ac_ext >&5
5608 ac_header_compiler=no
5611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5612 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5613 echo "${ECHO_T}$ac_header_compiler" >&6; }
5615 # Is the header present?
5616 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5617 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5618 cat >conftest.$ac_ext <<_ACEOF
5621 cat confdefs.h >>conftest.$ac_ext
5622 cat >>conftest.$ac_ext <<_ACEOF
5623 /* end confdefs.h. */
5624 #include <$ac_header>
5626 if { (ac_try="$ac_cpp conftest.$ac_ext"
5628 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5629 *) ac_try_echo
=$ac_try;;
5631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5632 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5634 grep -v '^ *+' conftest.er1
>conftest.err
5636 cat conftest.err
>&5
5637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5638 (exit $ac_status); } >/dev
/null
&& {
5639 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5640 test ! -s conftest.err
5642 ac_header_preproc
=yes
5644 echo "$as_me: failed program was:" >&5
5645 sed 's/^/| /' conftest.
$ac_ext >&5
5647 ac_header_preproc
=no
5650 rm -f conftest.err conftest.
$ac_ext
5651 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5652 echo "${ECHO_T}$ac_header_preproc" >&6; }
5654 # So? What about this header?
5655 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5657 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5658 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5659 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5660 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5661 ac_header_preproc
=yes
5664 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5665 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5666 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5667 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5668 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5669 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5670 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5671 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5672 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5673 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5674 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5675 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5679 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5680 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5681 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5682 echo $ECHO_N "(cached) $ECHO_C" >&6
5684 eval "$as_ac_Header=\$ac_header_preproc"
5686 ac_res
=`eval echo '${'$as_ac_Header'}'`
5687 { echo "$as_me:$LINENO: result: $ac_res" >&5
5688 echo "${ECHO_T}$ac_res" >&6; }
5691 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5692 cat >>confdefs.h
<<_ACEOF
5693 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5702 for ac_header
in sys
/mount.h
5704 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5705 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5706 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5707 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5708 echo $ECHO_N "(cached) $ECHO_C" >&6
5710 cat >conftest.
$ac_ext <<_ACEOF
5713 cat confdefs.h
>>conftest.
$ac_ext
5714 cat >>conftest.
$ac_ext <<_ACEOF
5715 /* end confdefs.h. */
5716 #include <sys/param.h>
5718 #include <$ac_header>
5720 rm -f conftest.
$ac_objext
5721 if { (ac_try
="$ac_compile"
5723 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5724 *) ac_try_echo=$ac_try;;
5726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5727 (eval "$ac_compile") 2>conftest.er1
5729 grep -v '^ *+' conftest.er1 >conftest.err
5731 cat conftest.err >&5
5732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5733 (exit $ac_status); } && {
5734 test -z "$ac_c_werror_flag" ||
5735 test ! -s conftest.err
5736 } && test -s conftest.$ac_objext; then
5737 eval "$as_ac_Header=yes"
5739 echo "$as_me: failed program was:" >&5
5740 sed 's/^/| /' conftest.$ac_ext >&5
5742 eval "$as_ac_Header=no"
5745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5747 ac_res=`eval echo '${'$as_ac_Header'}'`
5748 { echo "$as_me:$LINENO: result: $ac_res" >&5
5749 echo "${ECHO_T}$ac_res" >&6; }
5750 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5751 cat >>confdefs.h <<_ACEOF
5752 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5766 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
5767 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
5768 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
5769 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
5770 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5771 echo $ECHO_N "(cached) $ECHO_C" >&6
5773 cat >conftest.$ac_ext <<_ACEOF
5776 cat confdefs.h >>conftest.$ac_ext
5777 cat >>conftest.$ac_ext <<_ACEOF
5778 /* end confdefs.h. */
5779 #include <sys/types.h>
5791 rm -f conftest.$ac_objext
5792 if { (ac_try="$ac_compile"
5794 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5795 *) ac_try_echo
=$ac_try;;
5797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5798 (eval "$ac_compile") 2>conftest.er1
5800 grep -v '^ *+' conftest.er1
>conftest.err
5802 cat conftest.err
>&5
5803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5804 (exit $ac_status); } && {
5805 test -z "$ac_c_werror_flag" ||
5806 test ! -s conftest.err
5807 } && test -s conftest.
$ac_objext; then
5808 eval "$as_ac_Header=yes"
5810 echo "$as_me: failed program was:" >&5
5811 sed 's/^/| /' conftest.
$ac_ext >&5
5813 eval "$as_ac_Header=no"
5816 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5818 ac_res
=`eval echo '${'$as_ac_Header'}'`
5819 { echo "$as_me:$LINENO: result: $ac_res" >&5
5820 echo "${ECHO_T}$ac_res" >&6; }
5821 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5822 cat >>confdefs.h
<<_ACEOF
5823 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5826 ac_header_dirent
=$ac_hdr; break
5830 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5831 if test $ac_header_dirent = dirent.h
; then
5832 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
5833 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
5834 if test "${ac_cv_search_opendir+set}" = set; then
5835 echo $ECHO_N "(cached) $ECHO_C" >&6
5837 ac_func_search_save_LIBS
=$LIBS
5838 cat >conftest.
$ac_ext <<_ACEOF
5841 cat confdefs.h
>>conftest.
$ac_ext
5842 cat >>conftest.
$ac_ext <<_ACEOF
5843 /* end confdefs.h. */
5845 /* Override any GCC internal prototype to avoid an error.
5846 Use char because int might match the return type of a GCC
5847 builtin and then its argument prototype would still apply. */
5860 for ac_lib
in '' dir
; do
5861 if test -z "$ac_lib"; then
5862 ac_res
="none required"
5865 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5867 rm -f conftest.
$ac_objext conftest
$ac_exeext
5868 if { (ac_try
="$ac_link"
5870 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5871 *) ac_try_echo=$ac_try;;
5873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5874 (eval "$ac_link") 2>conftest.er1
5876 grep -v '^ *+' conftest.er1 >conftest.err
5878 cat conftest.err >&5
5879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5880 (exit $ac_status); } && {
5881 test -z "$ac_c_werror_flag" ||
5882 test ! -s conftest.err
5883 } && test -s conftest$ac_exeext &&
5884 $as_test_x conftest$ac_exeext; then
5885 ac_cv_search_opendir=$ac_res
5887 echo "$as_me: failed program was:" >&5
5888 sed 's/^/| /' conftest.$ac_ext >&5
5893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5895 if test "${ac_cv_search_opendir+set}" = set; then
5899 if test "${ac_cv_search_opendir+set}" = set; then
5902 ac_cv_search_opendir=no
5905 LIBS=$ac_func_search_save_LIBS
5907 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5908 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
5909 ac_res=$ac_cv_search_opendir
5910 if test "$ac_res" != no; then
5911 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5916 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
5917 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
5918 if test "${ac_cv_search_opendir+set}" = set; then
5919 echo $ECHO_N "(cached) $ECHO_C" >&6
5921 ac_func_search_save_LIBS=$LIBS
5922 cat >conftest.$ac_ext <<_ACEOF
5925 cat confdefs.h >>conftest.$ac_ext
5926 cat >>conftest.$ac_ext <<_ACEOF
5927 /* end confdefs.h. */
5929 /* Override any GCC internal prototype to avoid an error.
5930 Use char because int might match the return type of a GCC
5931 builtin and then its argument prototype would still apply. */
5944 for ac_lib in '' x; do
5945 if test -z "$ac_lib"; then
5946 ac_res="none required"
5949 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5951 rm -f conftest.$ac_objext conftest$ac_exeext
5952 if { (ac_try="$ac_link"
5954 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5955 *) ac_try_echo
=$ac_try;;
5957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5958 (eval "$ac_link") 2>conftest.er1
5960 grep -v '^ *+' conftest.er1
>conftest.err
5962 cat conftest.err
>&5
5963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5964 (exit $ac_status); } && {
5965 test -z "$ac_c_werror_flag" ||
5966 test ! -s conftest.err
5967 } && test -s conftest
$ac_exeext &&
5968 $as_test_x conftest
$ac_exeext; then
5969 ac_cv_search_opendir
=$ac_res
5971 echo "$as_me: failed program was:" >&5
5972 sed 's/^/| /' conftest.
$ac_ext >&5
5977 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5979 if test "${ac_cv_search_opendir+set}" = set; then
5983 if test "${ac_cv_search_opendir+set}" = set; then
5986 ac_cv_search_opendir
=no
5989 LIBS
=$ac_func_search_save_LIBS
5991 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5992 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
5993 ac_res
=$ac_cv_search_opendir
5994 if test "$ac_res" != no
; then
5995 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6001 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
6002 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
6003 if test "${ac_cv_header_stat_broken+set}" = set; then
6004 echo $ECHO_N "(cached) $ECHO_C" >&6
6006 cat >conftest.
$ac_ext <<_ACEOF
6009 cat confdefs.h
>>conftest.
$ac_ext
6010 cat >>conftest.
$ac_ext <<_ACEOF
6011 /* end confdefs.h. */
6012 #include <sys/types.h>
6013 #include <sys/stat.h>
6015 #if defined S_ISBLK && defined S_IFDIR
6016 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6019 #if defined S_ISBLK && defined S_IFCHR
6020 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6023 #if defined S_ISLNK && defined S_IFREG
6024 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6027 #if defined S_ISSOCK && defined S_IFREG
6028 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6032 rm -f conftest.
$ac_objext
6033 if { (ac_try
="$ac_compile"
6035 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6036 *) ac_try_echo=$ac_try;;
6038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6039 (eval "$ac_compile") 2>conftest.er1
6041 grep -v '^ *+' conftest.er1 >conftest.err
6043 cat conftest.err >&5
6044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6045 (exit $ac_status); } && {
6046 test -z "$ac_c_werror_flag" ||
6047 test ! -s conftest.err
6048 } && test -s conftest.$ac_objext; then
6049 ac_cv_header_stat_broken=no
6051 echo "$as_me: failed program was:" >&5
6052 sed 's/^/| /' conftest.$ac_ext >&5
6054 ac_cv_header_stat_broken=yes
6057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6059 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
6060 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
6061 if test $ac_cv_header_stat_broken = yes; then
6063 cat >>confdefs.h <<\_ACEOF
6064 #define STAT_MACROS_BROKEN 1
6069 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6070 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6071 if test "${ac_cv_header_stdc+set}" = set; then
6072 echo $ECHO_N "(cached) $ECHO_C" >&6
6074 cat >conftest.$ac_ext <<_ACEOF
6077 cat confdefs.h >>conftest.$ac_ext
6078 cat >>conftest.$ac_ext <<_ACEOF
6079 /* end confdefs.h. */
6093 rm -f conftest.$ac_objext
6094 if { (ac_try="$ac_compile"
6096 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6097 *) ac_try_echo
=$ac_try;;
6099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6100 (eval "$ac_compile") 2>conftest.er1
6102 grep -v '^ *+' conftest.er1
>conftest.err
6104 cat conftest.err
>&5
6105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6106 (exit $ac_status); } && {
6107 test -z "$ac_c_werror_flag" ||
6108 test ! -s conftest.err
6109 } && test -s conftest.
$ac_objext; then
6110 ac_cv_header_stdc
=yes
6112 echo "$as_me: failed program was:" >&5
6113 sed 's/^/| /' conftest.
$ac_ext >&5
6115 ac_cv_header_stdc
=no
6118 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6120 if test $ac_cv_header_stdc = yes; then
6121 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6122 cat >conftest.
$ac_ext <<_ACEOF
6125 cat confdefs.h
>>conftest.
$ac_ext
6126 cat >>conftest.
$ac_ext <<_ACEOF
6127 /* end confdefs.h. */
6131 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6132 $EGREP "memchr" >/dev
/null
2>&1; then
6135 ac_cv_header_stdc
=no
6141 if test $ac_cv_header_stdc = yes; then
6142 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6143 cat >conftest.
$ac_ext <<_ACEOF
6146 cat confdefs.h
>>conftest.
$ac_ext
6147 cat >>conftest.
$ac_ext <<_ACEOF
6148 /* end confdefs.h. */
6152 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6153 $EGREP "free" >/dev
/null
2>&1; then
6156 ac_cv_header_stdc
=no
6162 if test $ac_cv_header_stdc = yes; then
6163 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6164 if test "$cross_compiling" = yes; then
6167 cat >conftest.
$ac_ext <<_ACEOF
6170 cat confdefs.h
>>conftest.
$ac_ext
6171 cat >>conftest.
$ac_ext <<_ACEOF
6172 /* end confdefs.h. */
6175 #if ((' ' & 0x0FF) == 0x020)
6176 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6177 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6179 # define ISLOWER(c) \
6180 (('a' <= (c) && (c) <= 'i') \
6181 || ('j' <= (c) && (c) <= 'r') \
6182 || ('s' <= (c) && (c) <= 'z'))
6183 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6186 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6191 for (i = 0; i < 256; i++)
6192 if (XOR (islower (i), ISLOWER (i))
6193 || toupper (i) != TOUPPER (i))
6198 rm -f conftest
$ac_exeext
6199 if { (ac_try
="$ac_link"
6201 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6202 *) ac_try_echo=$ac_try;;
6204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6205 (eval "$ac_link") 2>&5
6207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6208 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6209 { (case "(($ac_try" in
6210 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6211 *) ac_try_echo
=$ac_try;;
6213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6214 (eval "$ac_try") 2>&5
6216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6217 (exit $ac_status); }; }; then
6220 echo "$as_me: program exited with status $ac_status" >&5
6221 echo "$as_me: failed program was:" >&5
6222 sed 's/^/| /' conftest.
$ac_ext >&5
6225 ac_cv_header_stdc
=no
6227 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6233 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6234 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6235 if test $ac_cv_header_stdc = yes; then
6237 cat >>confdefs.h
<<\_ACEOF
6238 #define STDC_HEADERS 1
6243 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
6244 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
6245 if test "${ac_cv_header_sys_wait_h+set}" = set; then
6246 echo $ECHO_N "(cached) $ECHO_C" >&6
6248 cat >conftest.
$ac_ext <<_ACEOF
6251 cat confdefs.h
>>conftest.
$ac_ext
6252 cat >>conftest.
$ac_ext <<_ACEOF
6253 /* end confdefs.h. */
6254 #include <sys/types.h>
6255 #include <sys/wait.h>
6257 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6260 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6268 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6273 rm -f conftest.
$ac_objext
6274 if { (ac_try
="$ac_compile"
6276 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6277 *) ac_try_echo=$ac_try;;
6279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6280 (eval "$ac_compile") 2>conftest.er1
6282 grep -v '^ *+' conftest.er1 >conftest.err
6284 cat conftest.err >&5
6285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6286 (exit $ac_status); } && {
6287 test -z "$ac_c_werror_flag" ||
6288 test ! -s conftest.err
6289 } && test -s conftest.$ac_objext; then
6290 ac_cv_header_sys_wait_h=yes
6292 echo "$as_me: failed program was:" >&5
6293 sed 's/^/| /' conftest.$ac_ext >&5
6295 ac_cv_header_sys_wait_h=no
6298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6300 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
6301 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
6302 if test $ac_cv_header_sys_wait_h = yes; then
6304 cat >>confdefs.h <<\_ACEOF
6305 #define HAVE_SYS_WAIT_H 1
6310 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6311 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
6312 if test "${ac_cv_header_time+set}" = set; then
6313 echo $ECHO_N "(cached) $ECHO_C" >&6
6315 cat >conftest.$ac_ext <<_ACEOF
6318 cat confdefs.h >>conftest.$ac_ext
6319 cat >>conftest.$ac_ext <<_ACEOF
6320 /* end confdefs.h. */
6321 #include <sys/types.h>
6322 #include <sys/time.h>
6328 if ((struct tm *) 0)
6334 rm -f conftest.$ac_objext
6335 if { (ac_try="$ac_compile"
6337 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6338 *) ac_try_echo
=$ac_try;;
6340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6341 (eval "$ac_compile") 2>conftest.er1
6343 grep -v '^ *+' conftest.er1
>conftest.err
6345 cat conftest.err
>&5
6346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6347 (exit $ac_status); } && {
6348 test -z "$ac_c_werror_flag" ||
6349 test ! -s conftest.err
6350 } && test -s conftest.
$ac_objext; then
6351 ac_cv_header_time
=yes
6353 echo "$as_me: failed program was:" >&5
6354 sed 's/^/| /' conftest.
$ac_ext >&5
6356 ac_cv_header_time
=no
6359 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6361 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6362 echo "${ECHO_T}$ac_cv_header_time" >&6; }
6363 if test $ac_cv_header_time = yes; then
6365 cat >>confdefs.h
<<\_ACEOF
6366 #define TIME_WITH_SYS_TIME 1
6371 { echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6372 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6; }
6373 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6374 echo $ECHO_N "(cached) $ECHO_C" >&6
6376 cat >conftest.
$ac_ext <<_ACEOF
6379 cat confdefs.h
>>conftest.
$ac_ext
6380 cat >>conftest.
$ac_ext <<_ACEOF
6381 /* end confdefs.h. */
6382 $ac_includes_default
6386 static struct stat ac_aggr;
6387 if (ac_aggr.st_blksize)
6393 rm -f conftest.
$ac_objext
6394 if { (ac_try
="$ac_compile"
6396 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6397 *) ac_try_echo=$ac_try;;
6399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6400 (eval "$ac_compile") 2>conftest.er1
6402 grep -v '^ *+' conftest.er1 >conftest.err
6404 cat conftest.err >&5
6405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6406 (exit $ac_status); } && {
6407 test -z "$ac_c_werror_flag" ||
6408 test ! -s conftest.err
6409 } && test -s conftest.$ac_objext; then
6410 ac_cv_member_struct_stat_st_blksize=yes
6412 echo "$as_me: failed program was:" >&5
6413 sed 's/^/| /' conftest.$ac_ext >&5
6415 cat >conftest.$ac_ext <<_ACEOF
6418 cat confdefs.h >>conftest.$ac_ext
6419 cat >>conftest.$ac_ext <<_ACEOF
6420 /* end confdefs.h. */
6421 $ac_includes_default
6425 static struct stat ac_aggr;
6426 if (sizeof ac_aggr.st_blksize)
6432 rm -f conftest.$ac_objext
6433 if { (ac_try="$ac_compile"
6435 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6436 *) ac_try_echo
=$ac_try;;
6438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6439 (eval "$ac_compile") 2>conftest.er1
6441 grep -v '^ *+' conftest.er1
>conftest.err
6443 cat conftest.err
>&5
6444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6445 (exit $ac_status); } && {
6446 test -z "$ac_c_werror_flag" ||
6447 test ! -s conftest.err
6448 } && test -s conftest.
$ac_objext; then
6449 ac_cv_member_struct_stat_st_blksize
=yes
6451 echo "$as_me: failed program was:" >&5
6452 sed 's/^/| /' conftest.
$ac_ext >&5
6454 ac_cv_member_struct_stat_st_blksize
=no
6457 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6460 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6462 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
6463 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6; }
6464 if test $ac_cv_member_struct_stat_st_blksize = yes; then
6466 cat >>confdefs.h
<<_ACEOF
6467 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6471 cat >>confdefs.h
<<\_ACEOF
6472 #define HAVE_ST_BLKSIZE 1
6478 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
6479 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
6480 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
6481 echo $ECHO_N "(cached) $ECHO_C" >&6
6483 cat >conftest.
$ac_ext <<_ACEOF
6486 cat confdefs.h
>>conftest.
$ac_ext
6487 cat >>conftest.
$ac_ext <<_ACEOF
6488 /* end confdefs.h. */
6489 $ac_includes_default
6493 static struct stat ac_aggr;
6494 if (ac_aggr.st_blocks)
6500 rm -f conftest.
$ac_objext
6501 if { (ac_try
="$ac_compile"
6503 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6504 *) ac_try_echo=$ac_try;;
6506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6507 (eval "$ac_compile") 2>conftest.er1
6509 grep -v '^ *+' conftest.er1 >conftest.err
6511 cat conftest.err >&5
6512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6513 (exit $ac_status); } && {
6514 test -z "$ac_c_werror_flag" ||
6515 test ! -s conftest.err
6516 } && test -s conftest.$ac_objext; then
6517 ac_cv_member_struct_stat_st_blocks=yes
6519 echo "$as_me: failed program was:" >&5
6520 sed 's/^/| /' conftest.$ac_ext >&5
6522 cat >conftest.$ac_ext <<_ACEOF
6525 cat confdefs.h >>conftest.$ac_ext
6526 cat >>conftest.$ac_ext <<_ACEOF
6527 /* end confdefs.h. */
6528 $ac_includes_default
6532 static struct stat ac_aggr;
6533 if (sizeof ac_aggr.st_blocks)
6539 rm -f conftest.$ac_objext
6540 if { (ac_try="$ac_compile"
6542 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6543 *) ac_try_echo
=$ac_try;;
6545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6546 (eval "$ac_compile") 2>conftest.er1
6548 grep -v '^ *+' conftest.er1
>conftest.err
6550 cat conftest.err
>&5
6551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6552 (exit $ac_status); } && {
6553 test -z "$ac_c_werror_flag" ||
6554 test ! -s conftest.err
6555 } && test -s conftest.
$ac_objext; then
6556 ac_cv_member_struct_stat_st_blocks
=yes
6558 echo "$as_me: failed program was:" >&5
6559 sed 's/^/| /' conftest.
$ac_ext >&5
6561 ac_cv_member_struct_stat_st_blocks
=no
6564 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6567 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6569 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
6570 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
6571 if test $ac_cv_member_struct_stat_st_blocks = yes; then
6573 cat >>confdefs.h
<<_ACEOF
6574 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6578 cat >>confdefs.h
<<\_ACEOF
6579 #define HAVE_ST_BLOCKS 1
6583 case " $LIBOBJS " in
6584 *" fileblocks.$ac_objext "* ) ;;
6585 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6592 { echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6593 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6; }
6594 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6595 echo $ECHO_N "(cached) $ECHO_C" >&6
6597 cat >conftest.
$ac_ext <<_ACEOF
6600 cat confdefs.h
>>conftest.
$ac_ext
6601 cat >>conftest.
$ac_ext <<_ACEOF
6602 /* end confdefs.h. */
6603 $ac_includes_default
6607 static struct stat ac_aggr;
6608 if (ac_aggr.st_rdev)
6614 rm -f conftest.
$ac_objext
6615 if { (ac_try
="$ac_compile"
6617 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6618 *) ac_try_echo=$ac_try;;
6620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6621 (eval "$ac_compile") 2>conftest.er1
6623 grep -v '^ *+' conftest.er1 >conftest.err
6625 cat conftest.err >&5
6626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6627 (exit $ac_status); } && {
6628 test -z "$ac_c_werror_flag" ||
6629 test ! -s conftest.err
6630 } && test -s conftest.$ac_objext; then
6631 ac_cv_member_struct_stat_st_rdev=yes
6633 echo "$as_me: failed program was:" >&5
6634 sed 's/^/| /' conftest.$ac_ext >&5
6636 cat >conftest.$ac_ext <<_ACEOF
6639 cat confdefs.h >>conftest.$ac_ext
6640 cat >>conftest.$ac_ext <<_ACEOF
6641 /* end confdefs.h. */
6642 $ac_includes_default
6646 static struct stat ac_aggr;
6647 if (sizeof ac_aggr.st_rdev)
6653 rm -f conftest.$ac_objext
6654 if { (ac_try="$ac_compile"
6656 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6657 *) ac_try_echo
=$ac_try;;
6659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6660 (eval "$ac_compile") 2>conftest.er1
6662 grep -v '^ *+' conftest.er1
>conftest.err
6664 cat conftest.err
>&5
6665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6666 (exit $ac_status); } && {
6667 test -z "$ac_c_werror_flag" ||
6668 test ! -s conftest.err
6669 } && test -s conftest.
$ac_objext; then
6670 ac_cv_member_struct_stat_st_rdev
=yes
6672 echo "$as_me: failed program was:" >&5
6673 sed 's/^/| /' conftest.
$ac_ext >&5
6675 ac_cv_member_struct_stat_st_rdev
=no
6678 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6681 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6683 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
6684 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6; }
6685 if test $ac_cv_member_struct_stat_st_rdev = yes; then
6687 cat >>confdefs.h
<<_ACEOF
6688 #define HAVE_STRUCT_STAT_ST_RDEV 1
6692 cat >>confdefs.h
<<\_ACEOF
6693 #define HAVE_ST_RDEV 1
6699 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6700 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
6701 if test "${ac_cv_struct_tm+set}" = set; then
6702 echo $ECHO_N "(cached) $ECHO_C" >&6
6704 cat >conftest.
$ac_ext <<_ACEOF
6707 cat confdefs.h
>>conftest.
$ac_ext
6708 cat >>conftest.
$ac_ext <<_ACEOF
6709 /* end confdefs.h. */
6710 #include <sys/types.h>
6717 int *p = &tm.tm_sec;
6723 rm -f conftest.
$ac_objext
6724 if { (ac_try
="$ac_compile"
6726 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6727 *) ac_try_echo=$ac_try;;
6729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6730 (eval "$ac_compile") 2>conftest.er1
6732 grep -v '^ *+' conftest.er1 >conftest.err
6734 cat conftest.err >&5
6735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6736 (exit $ac_status); } && {
6737 test -z "$ac_c_werror_flag" ||
6738 test ! -s conftest.err
6739 } && test -s conftest.$ac_objext; then
6740 ac_cv_struct_tm=time.h
6742 echo "$as_me: failed program was:" >&5
6743 sed 's/^/| /' conftest.$ac_ext >&5
6745 ac_cv_struct_tm=sys/time.h
6748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6750 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6751 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
6752 if test $ac_cv_struct_tm = sys/time.h; then
6754 cat >>confdefs.h <<\_ACEOF
6755 #define TM_IN_SYS_TIME 1
6760 { echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
6761 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6; }
6762 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
6763 echo $ECHO_N "(cached) $ECHO_C" >&6
6765 cat >conftest.$ac_ext <<_ACEOF
6768 cat confdefs.h >>conftest.$ac_ext
6769 cat >>conftest.$ac_ext <<_ACEOF
6770 /* end confdefs.h. */
6771 #include <sys/types.h>
6772 #include <$ac_cv_struct_tm>
6778 static struct tm ac_aggr;
6779 if (ac_aggr.tm_zone)
6785 rm -f conftest.$ac_objext
6786 if { (ac_try="$ac_compile"
6788 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6789 *) ac_try_echo
=$ac_try;;
6791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6792 (eval "$ac_compile") 2>conftest.er1
6794 grep -v '^ *+' conftest.er1
>conftest.err
6796 cat conftest.err
>&5
6797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6798 (exit $ac_status); } && {
6799 test -z "$ac_c_werror_flag" ||
6800 test ! -s conftest.err
6801 } && test -s conftest.
$ac_objext; then
6802 ac_cv_member_struct_tm_tm_zone
=yes
6804 echo "$as_me: failed program was:" >&5
6805 sed 's/^/| /' conftest.
$ac_ext >&5
6807 cat >conftest.
$ac_ext <<_ACEOF
6810 cat confdefs.h
>>conftest.
$ac_ext
6811 cat >>conftest.
$ac_ext <<_ACEOF
6812 /* end confdefs.h. */
6813 #include <sys/types.h>
6814 #include <$ac_cv_struct_tm>
6820 static struct tm ac_aggr;
6821 if (sizeof ac_aggr.tm_zone)
6827 rm -f conftest.
$ac_objext
6828 if { (ac_try
="$ac_compile"
6830 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6831 *) ac_try_echo=$ac_try;;
6833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6834 (eval "$ac_compile") 2>conftest.er1
6836 grep -v '^ *+' conftest.er1 >conftest.err
6838 cat conftest.err >&5
6839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6840 (exit $ac_status); } && {
6841 test -z "$ac_c_werror_flag" ||
6842 test ! -s conftest.err
6843 } && test -s conftest.$ac_objext; then
6844 ac_cv_member_struct_tm_tm_zone=yes
6846 echo "$as_me: failed program was:" >&5
6847 sed 's/^/| /' conftest.$ac_ext >&5
6849 ac_cv_member_struct_tm_tm_zone=no
6852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6857 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
6858 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6; }
6859 if test $ac_cv_member_struct_tm_tm_zone = yes; then
6861 cat >>confdefs.h <<_ACEOF
6862 #define HAVE_STRUCT_TM_TM_ZONE 1
6868 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6870 cat >>confdefs.h <<\_ACEOF
6871 #define HAVE_TM_ZONE 1
6875 { echo "$as_me:$LINENO: checking whether tzname is declared" >&5
6876 echo $ECHO_N "checking whether tzname is declared... $ECHO_C" >&6; }
6877 if test "${ac_cv_have_decl_tzname+set}" = set; then
6878 echo $ECHO_N "(cached) $ECHO_C" >&6
6880 cat >conftest.$ac_ext <<_ACEOF
6883 cat confdefs.h >>conftest.$ac_ext
6884 cat >>conftest.$ac_ext <<_ACEOF
6885 /* end confdefs.h. */
6899 rm -f conftest.$ac_objext
6900 if { (ac_try="$ac_compile"
6902 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6903 *) ac_try_echo
=$ac_try;;
6905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6906 (eval "$ac_compile") 2>conftest.er1
6908 grep -v '^ *+' conftest.er1
>conftest.err
6910 cat conftest.err
>&5
6911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6912 (exit $ac_status); } && {
6913 test -z "$ac_c_werror_flag" ||
6914 test ! -s conftest.err
6915 } && test -s conftest.
$ac_objext; then
6916 ac_cv_have_decl_tzname
=yes
6918 echo "$as_me: failed program was:" >&5
6919 sed 's/^/| /' conftest.
$ac_ext >&5
6921 ac_cv_have_decl_tzname
=no
6924 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6926 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5
6927 echo "${ECHO_T}$ac_cv_have_decl_tzname" >&6; }
6928 if test $ac_cv_have_decl_tzname = yes; then
6930 cat >>confdefs.h
<<_ACEOF
6931 #define HAVE_DECL_TZNAME 1
6936 cat >>confdefs.h
<<_ACEOF
6937 #define HAVE_DECL_TZNAME 0
6944 { echo "$as_me:$LINENO: checking for tzname" >&5
6945 echo $ECHO_N "checking for tzname... $ECHO_C" >&6; }
6946 if test "${ac_cv_var_tzname+set}" = set; then
6947 echo $ECHO_N "(cached) $ECHO_C" >&6
6949 cat >conftest.
$ac_ext <<_ACEOF
6952 cat confdefs.h
>>conftest.
$ac_ext
6953 cat >>conftest.
$ac_ext <<_ACEOF
6954 /* end confdefs.h. */
6956 #if !HAVE_DECL_TZNAME
6957 extern char *tzname[];
6963 return tzname[0][0];
6968 rm -f conftest.
$ac_objext conftest
$ac_exeext
6969 if { (ac_try
="$ac_link"
6971 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6972 *) ac_try_echo=$ac_try;;
6974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6975 (eval "$ac_link") 2>conftest.er1
6977 grep -v '^ *+' conftest.er1 >conftest.err
6979 cat conftest.err >&5
6980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6981 (exit $ac_status); } && {
6982 test -z "$ac_c_werror_flag" ||
6983 test ! -s conftest.err
6984 } && test -s conftest$ac_exeext &&
6985 $as_test_x conftest$ac_exeext; then
6986 ac_cv_var_tzname=yes
6988 echo "$as_me: failed program was:" >&5
6989 sed 's/^/| /' conftest.$ac_ext >&5
6994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6995 conftest$ac_exeext conftest.$ac_ext
6997 { echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
6998 echo "${ECHO_T}$ac_cv_var_tzname" >&6; }
6999 if test $ac_cv_var_tzname = yes; then
7001 cat >>confdefs.h <<\_ACEOF
7002 #define HAVE_TZNAME 1
7008 { echo "$as_me:$LINENO: checking for off_t" >&5
7009 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
7010 if test "${ac_cv_type_off_t+set}" = set; then
7011 echo $ECHO_N "(cached) $ECHO_C" >&6
7013 cat >conftest.$ac_ext <<_ACEOF
7016 cat confdefs.h >>conftest.$ac_ext
7017 cat >>conftest.$ac_ext <<_ACEOF
7018 /* end confdefs.h. */
7019 $ac_includes_default
7020 typedef off_t ac__type_new_;
7024 if ((ac__type_new_ *) 0)
7026 if (sizeof (ac__type_new_))
7032 rm -f conftest.$ac_objext
7033 if { (ac_try="$ac_compile"
7035 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7036 *) ac_try_echo
=$ac_try;;
7038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7039 (eval "$ac_compile") 2>conftest.er1
7041 grep -v '^ *+' conftest.er1
>conftest.err
7043 cat conftest.err
>&5
7044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7045 (exit $ac_status); } && {
7046 test -z "$ac_c_werror_flag" ||
7047 test ! -s conftest.err
7048 } && test -s conftest.
$ac_objext; then
7049 ac_cv_type_off_t
=yes
7051 echo "$as_me: failed program was:" >&5
7052 sed 's/^/| /' conftest.
$ac_ext >&5
7057 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7059 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
7060 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
7061 if test $ac_cv_type_off_t = yes; then
7065 cat >>confdefs.h
<<_ACEOF
7066 #define off_t long int
7071 { echo "$as_me:$LINENO: checking for pid_t" >&5
7072 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
7073 if test "${ac_cv_type_pid_t+set}" = set; then
7074 echo $ECHO_N "(cached) $ECHO_C" >&6
7076 cat >conftest.
$ac_ext <<_ACEOF
7079 cat confdefs.h
>>conftest.
$ac_ext
7080 cat >>conftest.
$ac_ext <<_ACEOF
7081 /* end confdefs.h. */
7082 $ac_includes_default
7083 typedef pid_t ac__type_new_;
7087 if ((ac__type_new_ *) 0)
7089 if (sizeof (ac__type_new_))
7095 rm -f conftest.
$ac_objext
7096 if { (ac_try
="$ac_compile"
7098 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7099 *) ac_try_echo=$ac_try;;
7101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7102 (eval "$ac_compile") 2>conftest.er1
7104 grep -v '^ *+' conftest.er1 >conftest.err
7106 cat conftest.err >&5
7107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7108 (exit $ac_status); } && {
7109 test -z "$ac_c_werror_flag" ||
7110 test ! -s conftest.err
7111 } && test -s conftest.$ac_objext; then
7112 ac_cv_type_pid_t=yes
7114 echo "$as_me: failed program was:" >&5
7115 sed 's/^/| /' conftest.$ac_ext >&5
7120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7122 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
7123 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
7124 if test $ac_cv_type_pid_t = yes; then
7128 cat >>confdefs.h <<_ACEOF
7134 { echo "$as_me:$LINENO: checking for size_t" >&5
7135 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
7136 if test "${ac_cv_type_size_t+set}" = set; then
7137 echo $ECHO_N "(cached) $ECHO_C" >&6
7139 cat >conftest.$ac_ext <<_ACEOF
7142 cat confdefs.h >>conftest.$ac_ext
7143 cat >>conftest.$ac_ext <<_ACEOF
7144 /* end confdefs.h. */
7145 $ac_includes_default
7146 typedef size_t ac__type_new_;
7150 if ((ac__type_new_ *) 0)
7152 if (sizeof (ac__type_new_))
7158 rm -f conftest.$ac_objext
7159 if { (ac_try="$ac_compile"
7161 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7162 *) ac_try_echo
=$ac_try;;
7164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7165 (eval "$ac_compile") 2>conftest.er1
7167 grep -v '^ *+' conftest.er1
>conftest.err
7169 cat conftest.err
>&5
7170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7171 (exit $ac_status); } && {
7172 test -z "$ac_c_werror_flag" ||
7173 test ! -s conftest.err
7174 } && test -s conftest.
$ac_objext; then
7175 ac_cv_type_size_t
=yes
7177 echo "$as_me: failed program was:" >&5
7178 sed 's/^/| /' conftest.
$ac_ext >&5
7180 ac_cv_type_size_t
=no
7183 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7185 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
7186 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
7187 if test $ac_cv_type_size_t = yes; then
7191 cat >>confdefs.h
<<_ACEOF
7192 #define size_t unsigned int
7197 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
7198 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
7199 if test "${ac_cv_type_uid_t+set}" = set; then
7200 echo $ECHO_N "(cached) $ECHO_C" >&6
7202 cat >conftest.
$ac_ext <<_ACEOF
7205 cat confdefs.h
>>conftest.
$ac_ext
7206 cat >>conftest.
$ac_ext <<_ACEOF
7207 /* end confdefs.h. */
7208 #include <sys/types.h>
7211 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7212 $EGREP "uid_t" >/dev
/null
2>&1; then
7213 ac_cv_type_uid_t
=yes
7220 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
7221 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
7222 if test $ac_cv_type_uid_t = no
; then
7224 cat >>confdefs.h
<<\_ACEOF
7229 cat >>confdefs.h
<<\_ACEOF
7236 { echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
7237 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6; }
7238 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
7239 echo $ECHO_N "(cached) $ECHO_C" >&6
7241 cat >conftest.
$ac_ext <<_ACEOF
7244 cat confdefs.h
>>conftest.
$ac_ext
7245 cat >>conftest.
$ac_ext <<_ACEOF
7246 /* end confdefs.h. */
7247 $ac_includes_default
7251 static struct tm ac_aggr;
7252 if (ac_aggr.tm_gmtoff)
7258 rm -f conftest.
$ac_objext
7259 if { (ac_try
="$ac_compile"
7261 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7262 *) ac_try_echo=$ac_try;;
7264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7265 (eval "$ac_compile") 2>conftest.er1
7267 grep -v '^ *+' conftest.er1 >conftest.err
7269 cat conftest.err >&5
7270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7271 (exit $ac_status); } && {
7272 test -z "$ac_c_werror_flag" ||
7273 test ! -s conftest.err
7274 } && test -s conftest.$ac_objext; then
7275 ac_cv_member_struct_tm_tm_gmtoff=yes
7277 echo "$as_me: failed program was:" >&5
7278 sed 's/^/| /' conftest.$ac_ext >&5
7280 cat >conftest.$ac_ext <<_ACEOF
7283 cat confdefs.h >>conftest.$ac_ext
7284 cat >>conftest.$ac_ext <<_ACEOF
7285 /* end confdefs.h. */
7286 $ac_includes_default
7290 static struct tm ac_aggr;
7291 if (sizeof ac_aggr.tm_gmtoff)
7297 rm -f conftest.$ac_objext
7298 if { (ac_try="$ac_compile"
7300 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7301 *) ac_try_echo
=$ac_try;;
7303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7304 (eval "$ac_compile") 2>conftest.er1
7306 grep -v '^ *+' conftest.er1
>conftest.err
7308 cat conftest.err
>&5
7309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7310 (exit $ac_status); } && {
7311 test -z "$ac_c_werror_flag" ||
7312 test ! -s conftest.err
7313 } && test -s conftest.
$ac_objext; then
7314 ac_cv_member_struct_tm_tm_gmtoff
=yes
7316 echo "$as_me: failed program was:" >&5
7317 sed 's/^/| /' conftest.
$ac_ext >&5
7319 ac_cv_member_struct_tm_tm_gmtoff
=no
7322 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7325 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7327 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
7328 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6; }
7329 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
7331 cat >>confdefs.h
<<_ACEOF
7332 #define HAVE_STRUCT_TM_TM_GMTOFF 1
7339 # Look for some functions
7354 for ac_func
in getpagesize kqueue statfs statvfs \
7355 clone kse_create rfork_thread thr_create sa_register \
7356 getcontext makecontext setcontext sigaltstack swapcontext
7358 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7359 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7361 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7362 echo $ECHO_N "(cached) $ECHO_C" >&6
7364 cat >conftest.
$ac_ext <<_ACEOF
7367 cat confdefs.h
>>conftest.
$ac_ext
7368 cat >>conftest.
$ac_ext <<_ACEOF
7369 /* end confdefs.h. */
7370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7372 #define $ac_func innocuous_$ac_func
7374 /* System header to define __stub macros and hopefully few prototypes,
7375 which can conflict with char $ac_func (); below.
7376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7377 <limits.h> exists even on freestanding compilers. */
7380 # include <limits.h>
7382 # include <assert.h>
7387 /* Override any GCC internal prototype to avoid an error.
7388 Use char because int might match the return type of a GCC
7389 builtin and then its argument prototype would still apply. */
7394 /* The GNU C library defines this for functions which it implements
7395 to always fail with ENOSYS. Some functions are actually named
7396 something starting with __ and the normal name is an alias. */
7397 #if defined __stub_$ac_func || defined __stub___$ac_func
7409 rm -f conftest.
$ac_objext conftest
$ac_exeext
7410 if { (ac_try
="$ac_link"
7412 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7413 *) ac_try_echo=$ac_try;;
7415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7416 (eval "$ac_link") 2>conftest.er1
7418 grep -v '^ *+' conftest.er1 >conftest.err
7420 cat conftest.err >&5
7421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7422 (exit $ac_status); } && {
7423 test -z "$ac_c_werror_flag" ||
7424 test ! -s conftest.err
7425 } && test -s conftest$ac_exeext &&
7426 $as_test_x conftest$ac_exeext; then
7427 eval "$as_ac_var=yes"
7429 echo "$as_me: failed program was:" >&5
7430 sed 's/^/| /' conftest.$ac_ext >&5
7432 eval "$as_ac_var=no"
7435 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7436 conftest$ac_exeext conftest.$ac_ext
7438 ac_res=`eval echo '${'$as_ac_var'}'`
7439 { echo "$as_me:$LINENO: result: $ac_res" >&5
7440 echo "${ECHO_T}$ac_res" >&6; }
7441 if test `eval echo '${'$as_ac_var'}'` = yes; then
7442 cat >>confdefs.h <<_ACEOF
7443 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7452 for ac_header in stdlib.h unistd.h
7454 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7455 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7456 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7457 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7458 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7459 echo $ECHO_N "(cached) $ECHO_C" >&6
7461 ac_res=`eval echo '${'$as_ac_Header'}'`
7462 { echo "$as_me:$LINENO: result: $ac_res" >&5
7463 echo "${ECHO_T}$ac_res" >&6; }
7465 # Is the header compilable?
7466 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7467 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7468 cat >conftest.$ac_ext <<_ACEOF
7471 cat confdefs.h >>conftest.$ac_ext
7472 cat >>conftest.$ac_ext <<_ACEOF
7473 /* end confdefs.h. */
7474 $ac_includes_default
7475 #include <$ac_header>
7477 rm -f conftest.$ac_objext
7478 if { (ac_try="$ac_compile"
7480 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7481 *) ac_try_echo
=$ac_try;;
7483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7484 (eval "$ac_compile") 2>conftest.er1
7486 grep -v '^ *+' conftest.er1
>conftest.err
7488 cat conftest.err
>&5
7489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7490 (exit $ac_status); } && {
7491 test -z "$ac_c_werror_flag" ||
7492 test ! -s conftest.err
7493 } && test -s conftest.
$ac_objext; then
7494 ac_header_compiler
=yes
7496 echo "$as_me: failed program was:" >&5
7497 sed 's/^/| /' conftest.
$ac_ext >&5
7499 ac_header_compiler
=no
7502 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7503 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7504 echo "${ECHO_T}$ac_header_compiler" >&6; }
7506 # Is the header present?
7507 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7508 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7509 cat >conftest.
$ac_ext <<_ACEOF
7512 cat confdefs.h
>>conftest.
$ac_ext
7513 cat >>conftest.
$ac_ext <<_ACEOF
7514 /* end confdefs.h. */
7515 #include <$ac_header>
7517 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7519 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7520 *) ac_try_echo=$ac_try;;
7522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7523 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7525 grep -v '^ *+' conftest.er1 >conftest.err
7527 cat conftest.err >&5
7528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7529 (exit $ac_status); } >/dev/null && {
7530 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7531 test ! -s conftest.err
7533 ac_header_preproc=yes
7535 echo "$as_me: failed program was:" >&5
7536 sed 's/^/| /' conftest.$ac_ext >&5
7538 ac_header_preproc=no
7541 rm -f conftest.err conftest.$ac_ext
7542 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7543 echo "${ECHO_T}$ac_header_preproc" >&6; }
7545 # So? What about this header?
7546 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7548 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7549 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7550 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7551 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7552 ac_header_preproc=yes
7555 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7556 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7557 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7558 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7559 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7560 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7561 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7562 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7563 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7564 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7565 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7566 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7570 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7571 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7572 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7573 echo $ECHO_N "(cached) $ECHO_C" >&6
7575 eval "$as_ac_Header=\$ac_header_preproc"
7577 ac_res=`eval echo '${'$as_ac_Header'}'`
7578 { echo "$as_me:$LINENO: result: $ac_res" >&5
7579 echo "${ECHO_T}$ac_res" >&6; }
7582 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7583 cat >>confdefs.h <<_ACEOF
7584 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7592 for ac_func in getpagesize
7594 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
7595 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7597 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7598 echo $ECHO_N "(cached) $ECHO_C" >&6
7600 cat >conftest.$ac_ext <<_ACEOF
7603 cat confdefs.h >>conftest.$ac_ext
7604 cat >>conftest.$ac_ext <<_ACEOF
7605 /* end confdefs.h. */
7606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7607 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7608 #define $ac_func innocuous_$ac_func
7610 /* System header to define __stub macros and hopefully few prototypes,
7611 which can conflict with char $ac_func (); below.
7612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7613 <limits.h> exists even on freestanding compilers. */
7616 # include <limits.h>
7618 # include <assert.h>
7623 /* Override any GCC internal prototype to avoid an error.
7624 Use char because int might match the return type of a GCC
7625 builtin and then its argument prototype would still apply. */
7630 /* The GNU C library defines this for functions which it implements
7631 to always fail with ENOSYS. Some functions are actually named
7632 something starting with __ and the normal name is an alias. */
7633 #if defined __stub_$ac_func || defined __stub___$ac_func
7645 rm -f conftest.$ac_objext conftest$ac_exeext
7646 if { (ac_try="$ac_link"
7648 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7649 *) ac_try_echo
=$ac_try;;
7651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7652 (eval "$ac_link") 2>conftest.er1
7654 grep -v '^ *+' conftest.er1
>conftest.err
7656 cat conftest.err
>&5
7657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7658 (exit $ac_status); } && {
7659 test -z "$ac_c_werror_flag" ||
7660 test ! -s conftest.err
7661 } && test -s conftest
$ac_exeext &&
7662 $as_test_x conftest
$ac_exeext; then
7663 eval "$as_ac_var=yes"
7665 echo "$as_me: failed program was:" >&5
7666 sed 's/^/| /' conftest.
$ac_ext >&5
7668 eval "$as_ac_var=no"
7671 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7672 conftest
$ac_exeext conftest.
$ac_ext
7674 ac_res
=`eval echo '${'$as_ac_var'}'`
7675 { echo "$as_me:$LINENO: result: $ac_res" >&5
7676 echo "${ECHO_T}$ac_res" >&6; }
7677 if test `eval echo '${'$as_ac_var'}'` = yes; then
7678 cat >>confdefs.h
<<_ACEOF
7679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7685 { echo "$as_me:$LINENO: checking for working mmap" >&5
7686 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
7687 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
7688 echo $ECHO_N "(cached) $ECHO_C" >&6
7690 if test "$cross_compiling" = yes; then
7691 ac_cv_func_mmap_fixed_mapped
=no
7693 cat >conftest.
$ac_ext <<_ACEOF
7696 cat confdefs.h
>>conftest.
$ac_ext
7697 cat >>conftest.
$ac_ext <<_ACEOF
7698 /* end confdefs.h. */
7699 $ac_includes_default
7700 /* malloc might have been renamed as rpl_malloc. */
7703 /* Thanks to Mike Haertel and Jim Avera for this test.
7704 Here is a matrix of mmap possibilities:
7705 mmap private not fixed
7706 mmap private fixed at somewhere currently unmapped
7707 mmap private fixed at somewhere already mapped
7708 mmap shared not fixed
7709 mmap shared fixed at somewhere currently unmapped
7710 mmap shared fixed at somewhere already mapped
7711 For private mappings, we should verify that changes cannot be read()
7712 back from the file, nor mmap's back from the file at a different
7713 address. (There have been systems where private was not correctly
7714 implemented like the infamous i386 svr4.0, and systems where the
7715 VM page cache was not coherent with the file system buffer cache
7716 like early versions of FreeBSD and possibly contemporary NetBSD.)
7717 For shared mappings, we should conversely verify that changes get
7718 propagated back to all the places they're supposed to be.
7720 Grep wants private fixed already mapped.
7721 The main things grep needs to know about mmap are:
7722 * does it exist and is it safe to write into the mmap'd area
7723 * how to use it (BSD variants) */
7726 #include <sys/mman.h>
7728 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7732 /* This mess was copied from the GNU getpagesize.h. */
7733 #ifndef HAVE_GETPAGESIZE
7734 /* Assume that all systems that can run configure have sys/param.h. */
7735 # ifndef HAVE_SYS_PARAM_H
7736 # define HAVE_SYS_PARAM_H 1
7739 # ifdef _SC_PAGESIZE
7740 # define getpagesize() sysconf(_SC_PAGESIZE)
7741 # else /* no _SC_PAGESIZE */
7742 # ifdef HAVE_SYS_PARAM_H
7743 # include <sys/param.h>
7744 # ifdef EXEC_PAGESIZE
7745 # define getpagesize() EXEC_PAGESIZE
7746 # else /* no EXEC_PAGESIZE */
7748 # define getpagesize() NBPG * CLSIZE
7751 # endif /* no CLSIZE */
7752 # else /* no NBPG */
7754 # define getpagesize() NBPC
7755 # else /* no NBPC */
7757 # define getpagesize() PAGESIZE
7758 # endif /* PAGESIZE */
7759 # endif /* no NBPC */
7760 # endif /* no NBPG */
7761 # endif /* no EXEC_PAGESIZE */
7762 # else /* no HAVE_SYS_PARAM_H */
7763 # define getpagesize() 8192 /* punt totally */
7764 # endif /* no HAVE_SYS_PARAM_H */
7765 # endif /* no _SC_PAGESIZE */
7767 #endif /* no HAVE_GETPAGESIZE */
7772 char *data, *data2, *data3;
7776 pagesize = getpagesize ();
7778 /* First, make a file with some known garbage in it. */
7779 data = (char *) malloc (pagesize);
7782 for (i = 0; i < pagesize; ++i)
7783 *(data + i) = rand ();
7785 fd = creat ("conftest.mmap", 0600);
7788 if (write (fd, data, pagesize) != pagesize)
7792 /* Next, try to mmap the file at a fixed address which already has
7793 something else allocated at it. If we can, also make sure that
7794 we see the same garbage. */
7795 fd = open ("conftest.mmap", O_RDWR);
7798 data2 = (char *) malloc (2 * pagesize);
7801 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
7802 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7803 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7805 for (i = 0; i < pagesize; ++i)
7806 if (*(data + i) != *(data2 + i))
7809 /* Finally, make sure that changes to the mapped area do not
7810 percolate back to the file as seen by read(). (This is a bug on
7811 some variants of i386 svr4.0.) */
7812 for (i = 0; i < pagesize; ++i)
7813 *(data2 + i) = *(data2 + i) + 1;
7814 data3 = (char *) malloc (pagesize);
7817 if (read (fd, data3, pagesize) != pagesize)
7819 for (i = 0; i < pagesize; ++i)
7820 if (*(data + i) != *(data3 + i))
7826 rm -f conftest
$ac_exeext
7827 if { (ac_try
="$ac_link"
7829 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7830 *) ac_try_echo=$ac_try;;
7832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7833 (eval "$ac_link") 2>&5
7835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7836 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7837 { (case "(($ac_try" in
7838 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7839 *) ac_try_echo
=$ac_try;;
7841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7842 (eval "$ac_try") 2>&5
7844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7845 (exit $ac_status); }; }; then
7846 ac_cv_func_mmap_fixed_mapped
=yes
7848 echo "$as_me: program exited with status $ac_status" >&5
7849 echo "$as_me: failed program was:" >&5
7850 sed 's/^/| /' conftest.
$ac_ext >&5
7853 ac_cv_func_mmap_fixed_mapped
=no
7855 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7860 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
7861 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
7862 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7864 cat >>confdefs.h
<<\_ACEOF
7874 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7875 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7876 aros_config_ldflags
=""
7878 aros_shared_default
=yes
7880 aros_shared_cflags
="-fPIC"
7881 aros_shared_aflags
=""
7882 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7883 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7885 aros_target_ar_flags
="cr"
7886 aros_target_nm_flags
="-C -ul"
7887 aros_target_strip_flags
="--strip-unneeded -R.comment"
7891 aros_target_genmap
="-Wl,-Map -Xlinker"
7893 # Native flavour stuff
7895 aros_serial_debug
="0"
7897 # Palm native flavour stuff
7898 aros_palm_debug_hack
="0"
7900 # Unix flavour stuff
7901 aros_nesting_supervisor
="0"
7903 # Collect-aros stuff: "-ius" to ignore undefined symbols
7904 ignore_undefined_symbols
=""
7906 #-----------------------------------------------------------------------------
7909 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7910 # it switched on by default, and we use the host compiler, so it compiles AROS
7911 # code with this enabled resulting in link failures as we don't have support
7914 # We use two methods to disable it. For the host compiler (used to compile
7915 # some hosted modules), we test to see if the compiler supports stack
7916 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7917 # work on all platforms.
7919 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
7920 # (this is done unconditionally, as it should have no effect on compilers
7921 # without the stack protection feature). This may be specific to the way that
7922 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
7923 # strong enough to disable it in a generic way though, so we'll live with it
7924 # until another vendor ships GCC with it enabled in a different way, and deal
7928 { echo "$as_me:$LINENO: checking whether ${CC} accepts -fno-stack-protector" >&5
7929 echo $ECHO_N "checking whether ${CC} accepts -fno-stack-protector... $ECHO_C" >&6; }
7930 save_cflags
="$CFLAGS"
7931 CFLAGS
="$CFLAGS -fno-stack-protector"
7932 cat >conftest.
$ac_ext <<_ACEOF
7935 cat confdefs.h
>>conftest.
$ac_ext
7936 cat >>conftest.
$ac_ext <<_ACEOF
7937 /* end confdefs.h. */
7947 rm -f conftest.
$ac_objext
7948 if { (ac_try
="$ac_compile"
7950 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7951 *) ac_try_echo=$ac_try;;
7953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7954 (eval "$ac_compile") 2>conftest.er1
7956 grep -v '^ *+' conftest.er1 >conftest.err
7958 cat conftest.err >&5
7959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7960 (exit $ac_status); } && {
7961 test -z "$ac_c_werror_flag" ||
7962 test ! -s conftest.err
7963 } && test -s conftest.$ac_objext; then
7964 use_no_stack_protector="yes"
7966 echo "$as_me: failed program was:" >&5
7967 sed 's/^/| /' conftest.$ac_ext >&5
7969 use_no_stack_protector="no"
7972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7973 { echo "$as_me:$LINENO: result: $use_no_stack_protector" >&5
7974 echo "${ECHO_T}$use_no_stack_protector" >&6; }
7975 if test "x-$use_no_stack_protector" = "x-yes" ; then
7976 aros_host_cflags="$aros_host_cflags -fno-stack-protector"
7978 CFLAGS="$save_cflags"
7981 #-----------------------------------------------------------------------------
7983 # Disable pointer-signedness warnings if the compiler recognises the option
7984 # (this only works for the host compiler at the moment)
7986 { echo "$as_me:$LINENO: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7987 echo $ECHO_N "checking whether ${CC} accepts -Wno-pointer-sign... $ECHO_C" >&6; }
7988 save_cflags="$CFLAGS"
7989 CFLAGS="$CFLAGS -Wno-pointer-sign"
7990 cat >conftest.$ac_ext <<_ACEOF
7993 cat confdefs.h >>conftest.$ac_ext
7994 cat >>conftest.$ac_ext <<_ACEOF
7995 /* end confdefs.h. */
8005 rm -f conftest.$ac_objext
8006 if { (ac_try="$ac_compile"
8008 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8009 *) ac_try_echo
=$ac_try;;
8011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8012 (eval "$ac_compile") 2>conftest.er1
8014 grep -v '^ *+' conftest.er1
>conftest.err
8016 cat conftest.err
>&5
8017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8018 (exit $ac_status); } && {
8019 test -z "$ac_c_werror_flag" ||
8020 test ! -s conftest.err
8021 } && test -s conftest.
$ac_objext; then
8022 use_no_sign_warning
="yes"
8024 echo "$as_me: failed program was:" >&5
8025 sed 's/^/| /' conftest.
$ac_ext >&5
8027 use_no_sign_warning
="no"
8030 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8031 { echo "$as_me:$LINENO: result: $use_no_sign_warning" >&5
8032 echo "${ECHO_T}$use_no_sign_warning" >&6; }
8033 if test "x-$use_no_sign_warning" = "x-yes" ; then
8034 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
8036 CFLAGS
="$save_cflags"
8038 #-----------------------------------------------------------------------------
8040 { echo "$as_me:$LINENO: checking for type of build" >&5
8041 echo $ECHO_N "checking for type of build... $ECHO_C" >&6; }
8042 # Check whether --enable-build_type was given.
8043 if test "${enable_build_type+set}" = set; then
8044 enableval
=$enable_build_type; build_type
=$enableval
8046 build_type
="personal"
8050 if test "$build_type" = "nightly"; then
8051 build_type_string
="NIGHTLY"
8052 elif test "$build_type" = "snapshot"; then
8053 build_type_string
="SNAPSHOT"
8054 elif test "$build_type" = "milestone"; then
8055 build_type_string
="MILESTONE"
8056 elif test "$build_type" = "release"; then
8057 build_type_string
="RELEASE"
8059 build_type_string
="PERSONAL"
8060 build_type
="personal"
8063 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
8065 { echo "$as_me:$LINENO: result: $build_type" >&5
8066 echo "${ECHO_T}$build_type" >&6; }
8068 #-----------------------------------------------------------------------------
8069 all_debug_types
="messages stack mungwall modules symbols"
8071 { echo "$as_me:$LINENO: checking which debug types to enable" >&5
8072 echo $ECHO_N "checking which debug types to enable... $ECHO_C" >&6; }
8073 # Check whether --enable-debug was given.
8074 if test "${enable_debug+set}" = set; then
8075 enableval
=$enable_debug; debug
="$enableval"
8081 if test "$debug" = "" -o "$debug" = "no"; then
8083 elif test "$debug" = "yes"; then
8087 if test "$debug" = "all" ; then
8088 debug
=$all_debug_types
8089 for d
in $all_debug_types; do
8090 export aros_
${d}_debug
="1"
8093 for d
in $all_debug_types; do
8094 export aros_
${d}_debug
="0"
8098 if test "$debug" != "none"; then
8099 debug
=`echo $debug | sed s/,/\ /g`
8102 for d2
in $all_debug_types; do
8103 if test "$d2" = "$d"; then
8108 if test "$found" = "0"; then
8109 { { echo "$as_me:$LINENO: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&5
8110 echo "$as_me: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&2;}
8111 { (exit 1); exit 1; }; }
8113 export aros_
${d}_debug
="1"
8117 { echo "$as_me:$LINENO: result: $debug" >&5
8118 echo "${ECHO_T}$debug" >&6; }
8120 if test "$aros_messages_debug" = "1"; then
8121 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
8123 aros_messages_debug
=""
8125 if test "$aros_symbols_debug" = "1"; then
8126 aros_symbols_debug
="-g"
8128 aros_symbols_debug
=""
8131 # These are the flags to pass when compiling debugged programs
8132 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8133 aros_debug_aflags
=""
8134 aros_debug_ldflags
="$aros_symbols_debug"
8136 aros_crosstools
="no"
8138 #-----------------------------------------------------------------------------
8139 # Checking if we should build crosstools..
8140 { echo "$as_me:$LINENO: checking whether to build crosstools" >&5
8141 echo $ECHO_N "checking whether to build crosstools... $ECHO_C" >&6; }
8142 # Check whether --enable-crosstools was given.
8143 if test "${enable_crosstools+set}" = set; then
8144 enableval
=$enable_crosstools; crosstools
="$enableval"
8149 if test "$crosstools" != "" -a "$crosstools" != "no"; then
8150 { echo "$as_me:$LINENO: result: yes" >&5
8151 echo "${ECHO_T}yes" >&6; }
8152 aros_crosstools
="yes"
8154 { echo "$as_me:$LINENO: result: no" >&5
8155 echo "${ECHO_T}no" >&6; }
8158 #-----------------------------------------------------------------------------
8159 # Checking for distcc and ccache.
8161 # Always apply the transforms in this particular order. Basically you should
8162 # always run 'ccache distcc compiler' in that order for the best performance.
8164 { echo "$as_me:$LINENO: checking whether to enable distcc" >&5
8165 echo $ECHO_N "checking whether to enable distcc... $ECHO_C" >&6; }
8166 # Check whether --enable-distcc was given.
8167 if test "${enable_distcc+set}" = set; then
8168 enableval
=$enable_distcc; distcc
="$enableval"
8173 if test "$distcc" != "" -a "$distcc" != "no"; then
8174 # AC_CHECK_PROG will print out the result in this case
8175 # Extract the first word of "distcc", so it can be a program name with args.
8176 set dummy distcc
; ac_word
=$2
8177 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8179 if test "${ac_cv_path_DISTCC+set}" = set; then
8180 echo $ECHO_N "(cached) $ECHO_C" >&6
8184 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
8187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8191 test -z "$as_dir" && as_dir
=.
8192 for ac_exec_ext
in '' $ac_executable_extensions; do
8193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8194 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
8195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8202 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
8206 DISTCC
=$ac_cv_path_DISTCC
8207 if test -n "$DISTCC"; then
8208 { echo "$as_me:$LINENO: result: $DISTCC" >&5
8209 echo "${ECHO_T}$DISTCC" >&6; }
8211 { echo "$as_me:$LINENO: result: no" >&5
8212 echo "${ECHO_T}no" >&6; }
8217 { echo "$as_me:$LINENO: result: no" >&5
8218 echo "${ECHO_T}no" >&6; }
8221 { echo "$as_me:$LINENO: checking whether to enable ccache" >&5
8222 echo $ECHO_N "checking whether to enable ccache... $ECHO_C" >&6; }
8223 # Check whether --enable-ccache was given.
8224 if test "${enable_ccache+set}" = set; then
8225 enableval
=$enable_ccache; ccache
="$enableval"
8230 if test "$ccache" != "" -a "$ccache" != "no"; then
8231 # AC_CHECK_PROG will print out the result in this case
8232 # Extract the first word of "ccache", so it can be a program name with args.
8233 set dummy ccache
; ac_word
=$2
8234 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8236 if test "${ac_cv_prog_CCACHE+set}" = set; then
8237 echo $ECHO_N "(cached) $ECHO_C" >&6
8239 if test -n "$CCACHE"; then
8240 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
8242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8246 test -z "$as_dir" && as_dir
=.
8247 for ac_exec_ext
in '' $ac_executable_extensions; do
8248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8249 ac_cv_prog_CCACHE
="ccache"
8250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8259 CCACHE
=$ac_cv_prog_CCACHE
8260 if test -n "$CCACHE"; then
8261 { echo "$as_me:$LINENO: result: $CCACHE" >&5
8262 echo "${ECHO_T}$CCACHE" >&6; }
8264 { echo "$as_me:$LINENO: result: no" >&5
8265 echo "${ECHO_T}no" >&6; }
8270 { echo "$as_me:$LINENO: result: no" >&5
8271 echo "${ECHO_T}no" >&6; }
8274 #-----------------------------------------------------------------------------
8275 { echo "$as_me:$LINENO: checking what optimization flags to use" >&5
8276 echo $ECHO_N "checking what optimization flags to use... $ECHO_C" >&6; }
8278 # Check whether --with-optimization was given.
8279 if test "${with_optimization+set}" = set; then
8280 withval
=$with_optimization; optimization
="$withval"
8282 optimization
="unknown"
8285 if test "$optimization" = "unknown"; then
8286 if test "$debug" != "none"; then
8292 aros_config_cflags
="$aros_config_cflags $optimization"
8293 { echo "$as_me:$LINENO: result: $optimization" >&5
8294 echo "${ECHO_T}$optimization" >&6; }
8296 #-----------------------------------------------------------------------------
8297 { echo "$as_me:$LINENO: checking what target variant to enable" >&5
8298 echo $ECHO_N "checking what target variant to enable... $ECHO_C" >&6; }
8299 # Check whether --enable-target_variant was given.
8300 if test "${enable_target_variant+set}" = set; then
8301 enableval
=$enable_target_variant; target_variant
=$enableval
8303 target_variant
="none"
8306 if test "$target_variant" = "none"; then
8307 aros_target_variant
=""
8308 aros_target_suffix
=""
8310 aros_target_variant
="$target_variant"
8311 aros_target_suffix
="-$target_variant"
8313 { echo "$as_me:$LINENO: result: $enableval" >&5
8314 echo "${ECHO_T}$enableval" >&6; }
8316 target_bootloader
="none"
8318 #-----------------------------------------------------------------------------
8319 # This is the target configuration switch.
8320 case "$target_os" in
8322 aros_target_arch
="linux"
8323 case "$target_cpu" in
8325 aros_target_cpu
="m68k"
8326 aros_object_format
="m68kelf"
8327 aros_flavour
="emulcompat"
8328 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
8329 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
8330 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
8331 gcc_target_cpu
="mc68000"
8334 aros_target_cpu
="i386"
8335 aros_object_format
="elf_i386"
8336 aros_flavour
="emulation"
8337 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
8338 aros_default_wbdepth
=8
8339 gcc_target_cpu
="i386"
8342 aros_target_cpu
="x86_64"
8343 aros_object_format
="elf_x86_64"
8344 aros_flavour
="emulation"
8345 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
8346 aros_config_cflags
="$aros_config_cflags -mno-red-zone"
8347 aros_default_wbdepth
=8
8348 gcc_target_cpu
="x86_64"
8351 aros_target_cpu
="ppc"
8352 aros_object_format
="elf32ppc"
8353 aros_flavour
="emulation"
8354 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8355 aros_default_wbdepth
=8
8356 gcc_target_cpu
="ppc"
8359 # Same as powerpc, but I need this for the nightly build to work again.
8360 # Actually, the nightly should be made working with powerpc target.
8361 # That just was too much work for the moment, another week or two.
8363 aros_target_cpu
="ppc"
8364 aros_object_format
="elf32ppc"
8365 aros_flavour
="emulation"
8366 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8367 aros_default_wbdepth
=8
8368 gcc_target_cpu
="ppc"
8371 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Linux -- $target_cpu\"" >&5
8372 echo "$as_me: error: \"Unknown CPU for Linux -- $target_cpu\"" >&2;}
8373 { (exit 1); exit 1; }; }
8379 aros_target_arch
="pc"
8380 aros_shared_default
="no"
8381 target_bootloader
="grub2"
8382 case "$target_cpu" in
8384 aros_target_cpu
="i386"
8387 if test "$aros_object_format" = "" ; then
8388 aros_object_format
="elf_i386"
8390 aros_flavour
="standalone"
8391 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8392 aros_kernel_ldflags
=""
8393 aros_default_wbwidth
=640
8394 aros_default_wbheight
=480
8395 gcc_target_cpu
="i386"
8398 aros_target_cpu
="x86_64"
8400 if test "$aros_object_format" = "" ; then
8401 aros_object_format
="elf_x86_64"
8403 aros_flavour
="standalone"
8404 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8405 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone"
8406 aros_kernel_ldflags
=""
8407 aros_default_wbwidth
=640
8408 aros_default_wbheight
=480
8409 gcc_target_cpu
="x86_64"
8412 { { echo "$as_me:$LINENO: error: \"Unknown native CPU -- $target_cpu\"" >&5
8413 echo "$as_me: error: \"Unknown native CPU -- $target_cpu\"" >&2;}
8414 { (exit 1); exit 1; }; }
8420 aros_target_arch
="prep"
8421 aros_shared_default
="no"
8422 aros_target_cpu
="ppc"
8423 aros_object_format
="elf32ppc"
8424 aros_flavour
="ppcnative"
8425 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8426 aros_kernel_ldflags
=""
8427 aros_default_wbwidth
=640
8428 aros_default_wbheight
=480
8429 gcc_target_cpu
="ppc"
8433 aros_target_arch
="freebsd"
8434 aros_target_cpu
="i386"
8435 aros_flavour
="emulation"
8436 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8437 gcc_target_cpu
="i386"
8439 aros_target_strip_flags
="-x"
8443 aros_target_arch
="darwin"
8444 aros_flavour
="emulation"
8445 case "$target_cpu" in
8447 aros_target_cpu
="i386"
8448 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8449 gcc_target_cpu
="i386"
8450 aros_object_format
="elf_i386"
8451 aros_target_strip_flags
="-x"
8454 { { echo "$as_me:$LINENO: error: \"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" >&5
8455 echo "$as_me: error: \"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" >&2;}
8456 { (exit 1); exit 1; }; }
8461 aros_target_arch
="netbsd"
8462 case "$target_cpu" in
8464 aros_target_cpu
="m68k"
8465 aros_object_format
="m68kelf"
8466 aros_flavour
="emulcompat"
8467 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8468 gcc_target_cpu
="mc68000"
8471 aros_target_cpu
="i386"
8472 aros_object_format
="elf_i386"
8473 aros_flavour
="emulation"
8474 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8475 aros_default_wbdepth
=8
8476 gcc_target_cpu
="i386"
8479 { { echo "$as_me:$LINENO: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&5
8480 echo "$as_me: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&2;}
8481 { (exit 1); exit 1; }; }
8484 aros_target_genmap
="-Wl,-M -Xlinker >"
8485 aros_flavour
="emulation"
8486 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8490 aros_target_arch
="openbsd"
8491 case "$target_cpu" in
8493 aros_target_cpu
="i386"
8494 aros_object_format
="elf_i386"
8495 aros_flavour
="emulation"
8496 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8497 gcc_target_cpu
="i386"
8500 { { echo "$as_me:$LINENO: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&5
8501 echo "$as_me: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&2;}
8502 { (exit 1); exit 1; }; }
8505 aros_target_genmap
="-Wl,-M -Xlinker >"
8506 aros_target_nm_flags
="-u"
8507 aros_flavour
="emulation"
8511 aros_target_arch
="solaris"
8512 case "$target_cpu" in
8514 aros_target_cpu
="i386"
8515 aros_object_format
="elf_i386"
8516 aros_flavour
="emulation"
8517 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8518 aros_default_wbdepth
=8
8519 gcc_target_cpu
="i386"
8522 aros_target_cpu
="sparc"
8523 aros_object_format
="elf_sparc"
8524 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8525 gcc_target_cpu
="sparc"
8528 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&5
8529 echo "$as_me: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&2;}
8530 { (exit 1); exit 1; }; }
8533 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8534 aros_flavour
="emulation"
8538 aros_target_arch
="morphos"
8539 aros_shared_default
="no"
8540 aros_target_cpu
="ppc"
8541 aros_object_format
="elf_ppc"
8542 aros_flavour
="nativecompat"
8543 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8544 gcc_target_cpu
="ppc"
8548 aros_target_arch
="sam440"
8549 aros_shared_default
="no"
8550 aros_target_cpu
="ppc"
8551 aros_object_format
="elf32ppc"
8552 aros_flavour
="ppcnative"
8553 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8554 aros_kernel_ldflags
=""
8555 aros_default_wbwidth
=640
8556 aros_default_wbheight
=480
8557 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8558 gcc_target_cpu
="powerpc"
8562 aros_target_arch
="chrp"
8563 aros_shared_default
="no"
8564 aros_target_cpu
="ppc"
8565 aros_object_format
="elf32ppc"
8566 aros_flavour
="ppcnative"
8567 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8568 aros_kernel_ldflags
=""
8569 aros_default_wbwidth
=640
8570 aros_default_wbheight
=480
8571 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
8572 gcc_target_cpu
="powerpc"
8573 case "$aros_target_variant" in
8575 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
8581 aros_target_arch
="amiga"
8582 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8583 aros_shared_default
="no"
8585 aros_config_cflags
="$aros_config_cflags -fomit-frame-pointer -fbuiltin -ffreestanding"
8587 case "$target_cpu" in
8589 aros_target_cpu
="m68k"
8590 aros_object_format
="m68kelf"
8591 aros_flavour
="nativecompat"
8592 gcc_target_cpu
="mc68000"
8596 aros_flavour
="native"
8597 gcc_target_cpu
="ppc"
8600 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Amiga $target_cpu\"" >&5
8601 echo "$as_me: error: \"Unknown CPU for Amiga $target_cpu\"" >&2;}
8602 { (exit 1); exit 1; }; }
8608 aros_target_arch
="cygwin"
8609 aros_shared_default
="no"
8610 case "$target_cpu" in
8612 aros_target_cpu
="i386"
8613 aros_object_format
="elf_i386"
8614 aros_flavour
="emulation"
8615 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__CYGWIN32__"
8616 aros_shared_cflags
=""
8617 aros_default_wbdepth
=8
8618 gcc_target_cpu
="i386"
8619 aros_target_cc
="i386-aros-gcc"
8620 aros_target_ld
="i386-aros-ld"
8621 aros_target_as
="i386-aros-as"
8622 aros_target_ar
="i386-aros-ar"
8623 aros_target_ranlib
="i386-aros-ranlib"
8624 aros_target_nm
="i386-aros-nm"
8625 aros_target_strip
="i386-aros-strip"
8626 aros_target_objcopy
="i386-aros-objcopy"
8627 aros_target_objdump
="i386-aros-objdump"
8630 { { echo "$as_me:$LINENO: error: \"Unknown CPU for CygWin -- $target_cpu\"" >&5
8631 echo "$as_me: error: \"Unknown CPU for CygWin -- $target_cpu\"" >&2;}
8632 { (exit 1); exit 1; }; }
8638 aros_target_arch
="mingw32"
8639 aros_shared_default
="no"
8640 case "$target_cpu" in
8642 aros_target_cpu
="i386"
8643 aros_object_format
="elf_i386"
8644 aros_flavour
="emulation"
8645 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8646 aros_shared_cflags
=""
8647 aros_default_wbdepth
=8
8648 gcc_target_cpu
="i386"
8649 aros_target_cc
="i386-aros-gcc"
8650 aros_target_ld
="i386-aros-ld"
8651 aros_target_as
="i386-aros-as"
8652 aros_target_ar
="i386-aros-ar"
8653 aros_target_ranlib
="i386-aros-ranlib"
8654 aros_target_nm
="i386-aros-nm"
8655 aros_target_strip
="i386-aros-strip"
8656 aros_target_objcopy
="i386-aros-objcopy"
8657 aros_target_objdump
="i386-aros-objdump"
8660 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Mingw32 -- $target_cpu\"" >&5
8661 echo "$as_me: error: \"Unknown CPU for Mingw32 -- $target_cpu\"" >&2;}
8662 { (exit 1); exit 1; }; }
8665 if test $host_os = "cygwin"; then
8666 aros_kernel_cflags
="-mno-cygwin"
8670 aros_target_arch
="pp"
8671 aros_shared_default
="no"
8672 case "$target_cpu" in
8674 aros_target_cpu
="m68k"
8675 aros_object_format
="m68kelf"
8676 aros_flavour
="palmnative"
8677 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8678 aros_kernel_ldflags
=""
8679 aros_default_wbwidth
=160
8680 aros_default_wbheight
=160
8681 aros_default_wbdepth
=1
8682 aros_target_ar_flags
="cru"
8683 aros_compiler_libs
="-lgcc1"
8684 aros_shared_default
=no
8685 aros_shared_cflags
="-fpic"
8686 aros_shared_aflags
=""
8687 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8688 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8689 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
8690 aros_debug_aflags
=""
8691 aros_debug_ldflags
="$aros_symbols_debug"
8692 aros_mungwall_debug
="0"
8693 aros_modules_debug
="0"
8694 gcc_target_cpu
="mc68000"
8695 ignore_undefined_symbols
="-ius"
8698 { { echo "$as_me:$LINENO: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&5
8699 echo "$as_me: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&2;}
8700 { (exit 1); exit 1; }; }
8706 aros_target_arch
="mac"
8707 aros_shared_default
="no"
8708 case "$target_cpu" in
8710 aros_target_cpu
="m68k"
8711 aros_object_format
="m68kelf"
8712 aros_flavour
="mac68knative"
8713 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8714 aros_default_wbwidth
=512
8715 aros_default_wbheight
=384
8716 aros_default_wbdepth
=8
8717 aros_target_ar_flags
="cru"
8718 aros_compiler_libs
="-lgcc1"
8719 aros_shared_default
=no
8720 aros_shared_cflags
="-fpic"
8721 aros_shared_aflags
=""
8722 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8723 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8724 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000"
8725 aros_debug_aflags
=""
8726 aros_debug_ldflags
="$aros_symbols_debug"
8727 aros_mungwall_debug
="0"
8728 aros_modules_debug
="0"
8729 gcc_target_cpu
="mc68000"
8730 ignore_undefined_symbols
="-ius"
8733 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&5
8734 echo "$as_me: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&2;}
8735 { (exit 1); exit 1; }; }
8741 { { echo "$as_me:$LINENO: error: Unsupported target architecture $target" >&5
8742 echo "$as_me: error: Unsupported target architecture $target" >&2;}
8743 { (exit 1); exit 1; }; }
8747 { echo "$as_me:$LINENO: checking Where to download sourcecode for external ports" >&5
8748 echo $ECHO_N "checking Where to download sourcecode for external ports... $ECHO_C" >&6; }
8750 # Check whether --with-portssources was given.
8751 if test "${with_portssources+set}" = set; then
8752 withval
=$with_portssources; with_portssrcdir
=$withval
8754 with_portssrcdir
="default"
8757 if test "$with_portssrcdir" = "default"; then
8758 AROS_PORTSSRCDIR
="$AROS_BUILDDIR/bin/Sources"
8760 AROS_PORTSSRCDIR
="$with_portssrcdir"
8762 { echo "$as_me:$LINENO: result: $AROS_PORTSSRCDIR" >&5
8763 echo "${ECHO_T}$AROS_PORTSSRCDIR" >&6; }
8765 { echo "$as_me:$LINENO: checking which bootloader to use" >&5
8766 echo $ECHO_N "checking which bootloader to use... $ECHO_C" >&6; }
8768 # Check whether --with-bootloader was given.
8769 if test "${with_bootloader+set}" = set; then
8770 withval
=$with_bootloader; target_bootloader
=$withval
8772 target_bootloader
=$target_bootloader
8775 if test "$target_bootloader" = "none"; then
8776 aros_target_bootloader
=""
8778 aros_target_bootloader
="$target_bootloader"
8780 { echo "$as_me:$LINENO: result: $target_bootloader" >&5
8781 echo "${ECHO_T}$target_bootloader" >&6; }
8783 # Check LZO when compiling the grub2 bootloader on i386/x86_64.
8784 aros_liblzo_check
="no"
8785 case "$aros_target_bootloader" in
8787 case "$target_cpu" in
8789 aros_liblzo_check
="yes"
8792 aros_liblzo_check
="yes"
8803 if test "$aros_liblzo_check" = "yes"; then
8804 # There are three possibilities. LZO version 2 installed with the name
8805 # liblzo2, with the name liblzo, and LZO version 1.
8806 { echo "$as_me:$LINENO: checking for __lzo_init_v2 in -llzo2" >&5
8807 echo $ECHO_N "checking for __lzo_init_v2 in -llzo2... $ECHO_C" >&6; }
8808 if test "${ac_cv_lib_lzo2___lzo_init_v2+set}" = set; then
8809 echo $ECHO_N "(cached) $ECHO_C" >&6
8811 ac_check_lib_save_LIBS
=$LIBS
8813 cat >conftest.
$ac_ext <<_ACEOF
8816 cat confdefs.h
>>conftest.
$ac_ext
8817 cat >>conftest.
$ac_ext <<_ACEOF
8818 /* end confdefs.h. */
8820 /* Override any GCC internal prototype to avoid an error.
8821 Use char because int might match the return type of a GCC
8822 builtin and then its argument prototype would still apply. */
8826 char __lzo_init_v2 ();
8830 return __lzo_init_v2 ();
8835 rm -f conftest.
$ac_objext conftest
$ac_exeext
8836 if { (ac_try
="$ac_link"
8838 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8839 *) ac_try_echo=$ac_try;;
8841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8842 (eval "$ac_link") 2>conftest.er1
8844 grep -v '^ *+' conftest.er1 >conftest.err
8846 cat conftest.err >&5
8847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8848 (exit $ac_status); } && {
8849 test -z "$ac_c_werror_flag" ||
8850 test ! -s conftest.err
8851 } && test -s conftest$ac_exeext &&
8852 $as_test_x conftest$ac_exeext; then
8853 ac_cv_lib_lzo2___lzo_init_v2=yes
8855 echo "$as_me: failed program was:" >&5
8856 sed 's/^/| /' conftest.$ac_ext >&5
8858 ac_cv_lib_lzo2___lzo_init_v2=no
8861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8862 conftest$ac_exeext conftest.$ac_ext
8863 LIBS=$ac_check_lib_save_LIBS
8865 { echo "$as_me:$LINENO: result: $ac_cv_lib_lzo2___lzo_init_v2" >&5
8866 echo "${ECHO_T}$ac_cv_lib_lzo2___lzo_init_v2" >&6; }
8867 if test $ac_cv_lib_lzo2___lzo_init_v2 = yes; then
8870 { echo "$as_me:$LINENO: checking for __lzo_init_v2 in -llzo" >&5
8871 echo $ECHO_N "checking for __lzo_init_v2 in -llzo... $ECHO_C" >&6; }
8872 if test "${ac_cv_lib_lzo___lzo_init_v2+set}" = set; then
8873 echo $ECHO_N "(cached) $ECHO_C" >&6
8875 ac_check_lib_save_LIBS=$LIBS
8877 cat >conftest.$ac_ext <<_ACEOF
8880 cat confdefs.h >>conftest.$ac_ext
8881 cat >>conftest.$ac_ext <<_ACEOF
8882 /* end confdefs.h. */
8884 /* Override any GCC internal prototype to avoid an error.
8885 Use char because int might match the return type of a GCC
8886 builtin and then its argument prototype would still apply. */
8890 char __lzo_init_v2 ();
8894 return __lzo_init_v2 ();
8899 rm -f conftest.$ac_objext conftest$ac_exeext
8900 if { (ac_try="$ac_link"
8902 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8903 *) ac_try_echo
=$ac_try;;
8905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8906 (eval "$ac_link") 2>conftest.er1
8908 grep -v '^ *+' conftest.er1
>conftest.err
8910 cat conftest.err
>&5
8911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8912 (exit $ac_status); } && {
8913 test -z "$ac_c_werror_flag" ||
8914 test ! -s conftest.err
8915 } && test -s conftest
$ac_exeext &&
8916 $as_test_x conftest
$ac_exeext; then
8917 ac_cv_lib_lzo___lzo_init_v2
=yes
8919 echo "$as_me: failed program was:" >&5
8920 sed 's/^/| /' conftest.
$ac_ext >&5
8922 ac_cv_lib_lzo___lzo_init_v2
=no
8925 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8926 conftest
$ac_exeext conftest.
$ac_ext
8927 LIBS
=$ac_check_lib_save_LIBS
8929 { echo "$as_me:$LINENO: result: $ac_cv_lib_lzo___lzo_init_v2" >&5
8930 echo "${ECHO_T}$ac_cv_lib_lzo___lzo_init_v2" >&6; }
8931 if test $ac_cv_lib_lzo___lzo_init_v2 = yes; then
8934 { echo "$as_me:$LINENO: checking for __lzo_init2 in -llzo" >&5
8935 echo $ECHO_N "checking for __lzo_init2 in -llzo... $ECHO_C" >&6; }
8936 if test "${ac_cv_lib_lzo___lzo_init2+set}" = set; then
8937 echo $ECHO_N "(cached) $ECHO_C" >&6
8939 ac_check_lib_save_LIBS
=$LIBS
8941 cat >conftest.
$ac_ext <<_ACEOF
8944 cat confdefs.h
>>conftest.
$ac_ext
8945 cat >>conftest.
$ac_ext <<_ACEOF
8946 /* end confdefs.h. */
8948 /* Override any GCC internal prototype to avoid an error.
8949 Use char because int might match the return type of a GCC
8950 builtin and then its argument prototype would still apply. */
8954 char __lzo_init2 ();
8958 return __lzo_init2 ();
8963 rm -f conftest.
$ac_objext conftest
$ac_exeext
8964 if { (ac_try
="$ac_link"
8966 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8967 *) ac_try_echo=$ac_try;;
8969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8970 (eval "$ac_link") 2>conftest.er1
8972 grep -v '^ *+' conftest.er1 >conftest.err
8974 cat conftest.err >&5
8975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8976 (exit $ac_status); } && {
8977 test -z "$ac_c_werror_flag" ||
8978 test ! -s conftest.err
8979 } && test -s conftest$ac_exeext &&
8980 $as_test_x conftest$ac_exeext; then
8981 ac_cv_lib_lzo___lzo_init2=yes
8983 echo "$as_me: failed program was:" >&5
8984 sed 's/^/| /' conftest.$ac_ext >&5
8986 ac_cv_lib_lzo___lzo_init2=no
8989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8990 conftest$ac_exeext conftest.$ac_ext
8991 LIBS=$ac_check_lib_save_LIBS
8993 { echo "$as_me:$LINENO: result: $ac_cv_lib_lzo___lzo_init2" >&5
8994 echo "${ECHO_T}$ac_cv_lib_lzo___lzo_init2" >&6; }
8995 if test $ac_cv_lib_lzo___lzo_init2 = yes; then
8998 { { echo "$as_me:$LINENO: error: LZO library version 1.02 or later is required" >&5
8999 echo "$as_me: error: LZO library version 1.02 or later is required" >&2;}
9000 { (exit 1); exit 1; }; }
9009 LIBS="$LIBS $LIBLZO"
9010 { echo "$as_me:$LINENO: checking for lzo1x_999_compress" >&5
9011 echo $ECHO_N "checking for lzo1x_999_compress... $ECHO_C" >&6; }
9012 if test "${ac_cv_func_lzo1x_999_compress+set}" = set; then
9013 echo $ECHO_N "(cached) $ECHO_C" >&6
9015 cat >conftest.$ac_ext <<_ACEOF
9018 cat confdefs.h >>conftest.$ac_ext
9019 cat >>conftest.$ac_ext <<_ACEOF
9020 /* end confdefs.h. */
9021 /* Define lzo1x_999_compress to an innocuous variant, in case <limits.h> declares lzo1x_999_compress.
9022 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9023 #define lzo1x_999_compress innocuous_lzo1x_999_compress
9025 /* System header to define __stub macros and hopefully few prototypes,
9026 which can conflict with char lzo1x_999_compress (); below.
9027 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9028 <limits.h> exists even on freestanding compilers. */
9031 # include <limits.h>
9033 # include <assert.h>
9036 #undef lzo1x_999_compress
9038 /* Override any GCC internal prototype to avoid an error.
9039 Use char because int might match the return type of a GCC
9040 builtin and then its argument prototype would still apply. */
9044 char lzo1x_999_compress ();
9045 /* The GNU C library defines this for functions which it implements
9046 to always fail with ENOSYS. Some functions are actually named
9047 something starting with __ and the normal name is an alias. */
9048 #if defined __stub_lzo1x_999_compress || defined __stub___lzo1x_999_compress
9055 return lzo1x_999_compress ();
9060 rm -f conftest.$ac_objext conftest$ac_exeext
9061 if { (ac_try="$ac_link"
9063 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9064 *) ac_try_echo
=$ac_try;;
9066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9067 (eval "$ac_link") 2>conftest.er1
9069 grep -v '^ *+' conftest.er1
>conftest.err
9071 cat conftest.err
>&5
9072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9073 (exit $ac_status); } && {
9074 test -z "$ac_c_werror_flag" ||
9075 test ! -s conftest.err
9076 } && test -s conftest
$ac_exeext &&
9077 $as_test_x conftest
$ac_exeext; then
9078 ac_cv_func_lzo1x_999_compress
=yes
9080 echo "$as_me: failed program was:" >&5
9081 sed 's/^/| /' conftest.
$ac_ext >&5
9083 ac_cv_func_lzo1x_999_compress
=no
9086 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9087 conftest
$ac_exeext conftest.
$ac_ext
9089 { echo "$as_me:$LINENO: result: $ac_cv_func_lzo1x_999_compress" >&5
9090 echo "${ECHO_T}$ac_cv_func_lzo1x_999_compress" >&6; }
9091 if test $ac_cv_func_lzo1x_999_compress = yes; then
9094 { { echo "$as_me:$LINENO: error: LZO1X-999 must be enabled" >&5
9095 echo "$as_me: error: LZO1X-999 must be enabled" >&2;}
9096 { (exit 1); exit 1; }; }
9100 # LZO version 2 uses lzo/lzo1x.h, while LZO version 1 uses lzo1x.h.
9103 for ac_header
in lzo
/lzo1x.h lzo1x.h
9105 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9106 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9107 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9109 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9110 echo $ECHO_N "(cached) $ECHO_C" >&6
9112 ac_res
=`eval echo '${'$as_ac_Header'}'`
9113 { echo "$as_me:$LINENO: result: $ac_res" >&5
9114 echo "${ECHO_T}$ac_res" >&6; }
9116 # Is the header compilable?
9117 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9118 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9119 cat >conftest.
$ac_ext <<_ACEOF
9122 cat confdefs.h
>>conftest.
$ac_ext
9123 cat >>conftest.
$ac_ext <<_ACEOF
9124 /* end confdefs.h. */
9125 $ac_includes_default
9126 #include <$ac_header>
9128 rm -f conftest.
$ac_objext
9129 if { (ac_try
="$ac_compile"
9131 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9132 *) ac_try_echo=$ac_try;;
9134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9135 (eval "$ac_compile") 2>conftest.er1
9137 grep -v '^ *+' conftest.er1 >conftest.err
9139 cat conftest.err >&5
9140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9141 (exit $ac_status); } && {
9142 test -z "$ac_c_werror_flag" ||
9143 test ! -s conftest.err
9144 } && test -s conftest.$ac_objext; then
9145 ac_header_compiler=yes
9147 echo "$as_me: failed program was:" >&5
9148 sed 's/^/| /' conftest.$ac_ext >&5
9150 ac_header_compiler=no
9153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9154 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9155 echo "${ECHO_T}$ac_header_compiler" >&6; }
9157 # Is the header present?
9158 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9159 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9160 cat >conftest.$ac_ext <<_ACEOF
9163 cat confdefs.h >>conftest.$ac_ext
9164 cat >>conftest.$ac_ext <<_ACEOF
9165 /* end confdefs.h. */
9166 #include <$ac_header>
9168 if { (ac_try="$ac_cpp conftest.$ac_ext"
9170 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9171 *) ac_try_echo
=$ac_try;;
9173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9174 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9176 grep -v '^ *+' conftest.er1
>conftest.err
9178 cat conftest.err
>&5
9179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9180 (exit $ac_status); } >/dev
/null
&& {
9181 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9182 test ! -s conftest.err
9184 ac_header_preproc
=yes
9186 echo "$as_me: failed program was:" >&5
9187 sed 's/^/| /' conftest.
$ac_ext >&5
9189 ac_header_preproc
=no
9192 rm -f conftest.err conftest.
$ac_ext
9193 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9194 echo "${ECHO_T}$ac_header_preproc" >&6; }
9196 # So? What about this header?
9197 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9199 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9200 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9201 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9202 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9203 ac_header_preproc
=yes
9206 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9207 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9208 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9209 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9210 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9211 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9212 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9213 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9214 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9215 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9216 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9217 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9221 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9222 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9223 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9224 echo $ECHO_N "(cached) $ECHO_C" >&6
9226 eval "$as_ac_Header=\$ac_header_preproc"
9228 ac_res
=`eval echo '${'$as_ac_Header'}'`
9229 { echo "$as_me:$LINENO: result: $ac_res" >&5
9230 echo "${ECHO_T}$ac_res" >&6; }
9233 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9234 cat >>confdefs.h
<<_ACEOF
9235 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9244 { echo "$as_me:$LINENO: checking which GUI Theme to use" >&5
9245 echo $ECHO_N "checking which GUI Theme to use... $ECHO_C" >&6; }
9247 # Check whether --with-theme was given.
9248 if test "${with_theme+set}" = set; then
9249 withval
=$with_theme; target_guitheme
=$withval
9251 target_guitheme
="default"
9254 if test "$target_guitheme" = "default"; then
9255 aros_target_guitheme
="Ice"
9257 aros_target_guitheme
="$target_guitheme"
9259 { echo "$as_me:$LINENO: result: $aros_target_guitheme" >&5
9260 echo "${ECHO_T}$aros_target_guitheme" >&6; }
9262 # Find out if we are cross-compiling (ie. if we can't use the host compiler
9265 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
9268 if test "$aros_host_arch" == "darwin" ; then
9272 # Set prefix for target compiler etc. if we're cross-compiling
9273 # (should possibly be earlier but needs to be after AC_PROG_CC)
9274 if test "$cross_compiling" = "yes" ; then
9275 target_tool_prefix
=${target_cpu}-elf-
9276 CC
=${target_tool_prefix}gcc
9279 #-----------------------------------------------------------------------------
9281 # Disable pointer-signedness warnings if the compiler recognises the option
9283 { echo "$as_me:$LINENO: checking whether ${CC} accepts -Wno-pointer-sign" >&5
9284 echo $ECHO_N "checking whether ${CC} accepts -Wno-pointer-sign... $ECHO_C" >&6; }
9285 save_cflags
="$CFLAGS"
9286 CFLAGS
="$CFLAGS -Wno-pointer-sign"
9287 cat >conftest.
$ac_ext <<_ACEOF
9290 cat confdefs.h
>>conftest.
$ac_ext
9291 cat >>conftest.
$ac_ext <<_ACEOF
9292 /* end confdefs.h. */
9302 rm -f conftest.
$ac_objext
9303 if { (ac_try
="$ac_compile"
9305 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9306 *) ac_try_echo=$ac_try;;
9308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9309 (eval "$ac_compile") 2>conftest.er1
9311 grep -v '^ *+' conftest.er1 >conftest.err
9313 cat conftest.err >&5
9314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9315 (exit $ac_status); } && {
9316 test -z "$ac_c_werror_flag" ||
9317 test ! -s conftest.err
9318 } && test -s conftest.$ac_objext; then
9319 use_no_sign_warning="yes"
9321 echo "$as_me: failed program was:" >&5
9322 sed 's/^/| /' conftest.$ac_ext >&5
9324 use_no_sign_warning="no"
9327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9328 { echo "$as_me:$LINENO: result: $use_no_sign_warning" >&5
9329 echo "${ECHO_T}$use_no_sign_warning" >&6; }
9330 if test "x-$use_no_sign_warning" = "x-yes" ; then
9331 aros_config_cflags="$aros_config_cflags -Wno-pointer-sign"
9333 CFLAGS="$save_cflags"
9335 #-----------------------------------------------------------------------------
9337 # Find all the tools we need to compile. This could be cross-compiling
9338 # though! If that is the case we use the GNU form of the target and
9339 # simply add this to the front of the binary name. This is rather simple,
9340 # but it should work under most circumstances.
9342 # The default tools are to use the same as the host, but only if the
9343 # host and target CPU are the same. With GCC this is normally enough.
9347 aros_shared_ld="$aros_host_ld"
9349 aros_target_mkdep="$aros_host_mkdep"
9350 aros_target_incl_def="$aros_host_incl"
9352 # Extract the first word of "$CC", so it can be a program name with args.
9353 set dummy $CC; ac_word=$2
9354 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9356 if test "${ac_cv_path_aros_kernel_cc+set}" = set; then
9357 echo $ECHO_N "(cached) $ECHO_C" >&6
9359 case $aros_kernel_cc in
9361 ac_cv_path_aros_kernel_cc="$aros_kernel_cc" # Let the user override the test with a path.
9364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9368 test -z "$as_dir" && as_dir=.
9369 for ac_exec_ext in '' $ac_executable_extensions; do
9370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9371 ac_cv_path_aros_kernel_cc="$as_dir/$ac_word$ac_exec_ext"
9372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9382 aros_kernel_cc=$ac_cv_path_aros_kernel_cc
9383 if test -n "$aros_kernel_cc"; then
9384 { echo "$as_me:$LINENO: result: $aros_kernel_cc" >&5
9385 echo "${ECHO_T}$aros_kernel_cc" >&6; }
9387 { echo "$as_me:$LINENO: result: no" >&5
9388 echo "${ECHO_T}no" >&6; }
9393 # The default tools executables to be linked to.
9394 if test "$aros_target_cc" != ""; then
9395 # Extract the first word of "$aros_target_cc", so it can be a program name with args.
9396 set dummy $aros_target_cc; ac_word=$2
9397 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9399 if test "${ac_cv_path_aros_target_cc+set}" = set; then
9400 echo $ECHO_N "(cached) $ECHO_C" >&6
9402 case $aros_target_cc in
9404 ac_cv_path_aros_target_cc="$aros_target_cc" # Let the user override the test with a path.
9407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9411 test -z "$as_dir" && as_dir=.
9412 for ac_exec_ext in '' $ac_executable_extensions; do
9413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9414 ac_cv_path_aros_target_cc="$as_dir/$ac_word$ac_exec_ext"
9415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9425 aros_target_cc=$ac_cv_path_aros_target_cc
9426 if test -n "$aros_target_cc"; then
9427 { echo "$as_me:$LINENO: result: $aros_target_cc" >&5
9428 echo "${ECHO_T}$aros_target_cc" >&6; }
9430 { echo "$as_me:$LINENO: result: no" >&5
9431 echo "${ECHO_T}no" >&6; }
9435 if test "$aros_target_cc" = ""; then
9436 { { echo "$as_me:$LINENO: error: gcc is required to build AROS. Please install and run configure again." >&5
9437 echo "$as_me: error: gcc is required to build AROS. Please install and run configure again." >&2;}
9438 { (exit 1); exit 1; }; }
9441 if test "$aros_target_ld" != ""; then
9442 # Extract the first word of "$aros_target_ld", so it can be a program name with args.
9443 set dummy $aros_target_ld; ac_word=$2
9444 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9446 if test "${ac_cv_path_aros_target_ld+set}" = set; then
9447 echo $ECHO_N "(cached) $ECHO_C" >&6
9449 case $aros_target_ld in
9451 ac_cv_path_aros_target_ld="$aros_target_ld" # Let the user override the test with a path.
9454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9458 test -z "$as_dir" && as_dir=.
9459 for ac_exec_ext in '' $ac_executable_extensions; do
9460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9461 ac_cv_path_aros_target_ld="$as_dir/$ac_word$ac_exec_ext"
9462 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9472 aros_target_ld=$ac_cv_path_aros_target_ld
9473 if test -n "$aros_target_ld"; then
9474 { echo "$as_me:$LINENO: result: $aros_target_ld" >&5
9475 echo "${ECHO_T}$aros_target_ld" >&6; }
9477 { echo "$as_me:$LINENO: result: no" >&5
9478 echo "${ECHO_T}no" >&6; }
9482 if test "$aros_target_ld" = ""; then
9483 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
9484 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
9485 { (exit 1); exit 1; }; }
9489 if test "$crosstools" != "yes"; then
9491 if test "$aros_target_as" = ""; then
9492 if test "$cross_compiling" = "yes" ; then
9493 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
9494 set dummy ${target_tool_prefix}as; ac_word=$2
9495 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9497 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9498 echo $ECHO_N "(cached) $ECHO_C" >&6
9500 case $aros_target_as_ln in
9502 ac_cv_path_aros_target_as_ln="$aros_target_as_ln" # Let the user override the test with a path.
9505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9509 test -z "$as_dir" && as_dir=.
9510 for ac_exec_ext in '' $ac_executable_extensions; do
9511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9512 ac_cv_path_aros_target_as_ln="$as_dir/$ac_word$ac_exec_ext"
9513 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9523 aros_target_as_ln=$ac_cv_path_aros_target_as_ln
9524 if test -n "$aros_target_as_ln"; then
9525 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9526 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9528 { echo "$as_me:$LINENO: result: no" >&5
9529 echo "${ECHO_T}no" >&6; }
9534 if test "$GCC" = "yes"; then
9535 aros_gcc_as=`$CC -print-prog-name=as
`
9536 # Extract the first word of "`basename $aros_gcc_[as
]`", so it can be a program name with args.
9537 set dummy `basename $aros_gcc_as`; ac_word=$2
9538 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9540 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9541 echo $ECHO_N "(cached) $ECHO_C" >&6
9543 case $aros_target_as_ln in
9545 ac_cv_path_aros_target_as_ln="$aros_target_as_ln" # Let the user override the test with a path.
9548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9549 for as_dir in `dirname $aros_gcc_as`
9552 test -z "$as_dir" && as_dir=.
9553 for ac_exec_ext in '' $ac_executable_extensions; do
9554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9555 ac_cv_path_aros_target_as_ln="$as_dir/$ac_word$ac_exec_ext"
9556 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9566 aros_target_as_ln=$ac_cv_path_aros_target_as_ln
9567 if test -n "$aros_target_as_ln"; then
9568 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9569 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9571 { echo "$as_me:$LINENO: result: no" >&5
9572 echo "${ECHO_T}no" >&6; }
9577 if test "$aros_target_as_ln" = ""; then
9578 # Extract the first word of "as", so it can be a program name with args.
9579 set dummy as; ac_word=$2
9580 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9582 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9583 echo $ECHO_N "(cached) $ECHO_C" >&6
9585 case $aros_target_as_ln in
9587 ac_cv_path_aros_target_as_ln="$aros_target_as_ln" # Let the user override the test with a path.
9590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9594 test -z "$as_dir" && as_dir=.
9595 for ac_exec_ext in '' $ac_executable_extensions; do
9596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9597 ac_cv_path_aros_target_as_ln="$as_dir/$ac_word$ac_exec_ext"
9598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9608 aros_target_as_ln=$ac_cv_path_aros_target_as_ln
9609 if test -n "$aros_target_as_ln"; then
9610 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9611 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9613 { echo "$as_me:$LINENO: result: no" >&5
9614 echo "${ECHO_T}no" >&6; }
9621 # Extract the first word of "$aros_target_as", so it can be a program name with args.
9622 set dummy $aros_target_as; ac_word=$2
9623 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9624 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9625 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9626 echo $ECHO_N "(cached) $ECHO_C" >&6
9628 case $aros_target_as_ln in
9630 ac_cv_path_aros_target_as_ln="$aros_target_as_ln" # Let the user override the test with a path.
9633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9637 test -z "$as_dir" && as_dir=.
9638 for ac_exec_ext in '' $ac_executable_extensions; do
9639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9640 ac_cv_path_aros_target_as_ln="$as_dir/$ac_word$ac_exec_ext"
9641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9651 aros_target_as_ln=$ac_cv_path_aros_target_as_ln
9652 if test -n "$aros_target_as_ln"; then
9653 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9654 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9656 { echo "$as_me:$LINENO: result: no" >&5
9657 echo "${ECHO_T}no" >&6; }
9663 if test "$aros_target_as_ln" = ""; then
9664 { { echo "$as_me:$LINENO: error: as is required to build AROS. Please install and run configure again." >&5
9665 echo "$as_me: error: as is required to build AROS. Please install and run configure again." >&2;}
9666 { (exit 1); exit 1; }; }
9669 if test "$aros_kernel_ld" = ""; then
9670 if test "$cross_compiling" = "yes" ; then
9671 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
9672 set dummy ${target_tool_prefix}ld; ac_word=$2
9673 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9674 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9675 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9676 echo $ECHO_N "(cached) $ECHO_C" >&6
9678 case $aros_kernel_ld in
9680 ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path.
9683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9687 test -z "$as_dir" && as_dir=.
9688 for ac_exec_ext in '' $ac_executable_extensions; do
9689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9690 ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext"
9691 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9701 aros_kernel_ld=$ac_cv_path_aros_kernel_ld
9702 if test -n "$aros_kernel_ld"; then
9703 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9704 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9706 { echo "$as_me:$LINENO: result: no" >&5
9707 echo "${ECHO_T}no" >&6; }
9712 if test "$GCC" = "yes"; then
9713 aros_gcc_ld=`$CC -print-prog-name=ld
`
9714 # Extract the first word of "`basename $aros_gcc_[ld
]`", so it can be a program name with args.
9715 set dummy `basename $aros_gcc_ld`; ac_word=$2
9716 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9718 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9719 echo $ECHO_N "(cached) $ECHO_C" >&6
9721 case $aros_kernel_ld in
9723 ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path.
9726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9727 for as_dir in `dirname $aros_gcc_ld`
9730 test -z "$as_dir" && as_dir=.
9731 for ac_exec_ext in '' $ac_executable_extensions; do
9732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9733 ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext"
9734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9744 aros_kernel_ld=$ac_cv_path_aros_kernel_ld
9745 if test -n "$aros_kernel_ld"; then
9746 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9747 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9749 { echo "$as_me:$LINENO: result: no" >&5
9750 echo "${ECHO_T}no" >&6; }
9755 if test "$aros_kernel_ld" = ""; then
9756 # Extract the first word of "ld", so it can be a program name with args.
9757 set dummy ld; ac_word=$2
9758 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9760 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9761 echo $ECHO_N "(cached) $ECHO_C" >&6
9763 case $aros_kernel_ld in
9765 ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path.
9768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9772 test -z "$as_dir" && as_dir=.
9773 for ac_exec_ext in '' $ac_executable_extensions; do
9774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9775 ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext"
9776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9786 aros_kernel_ld=$ac_cv_path_aros_kernel_ld
9787 if test -n "$aros_kernel_ld"; then
9788 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9789 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9791 { echo "$as_me:$LINENO: result: no" >&5
9792 echo "${ECHO_T}no" >&6; }
9799 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
9800 set dummy $aros_kernel_ld; ac_word=$2
9801 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9803 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9804 echo $ECHO_N "(cached) $ECHO_C" >&6
9806 case $aros_kernel_ld in
9808 ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path.
9811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9815 test -z "$as_dir" && as_dir=.
9816 for ac_exec_ext in '' $ac_executable_extensions; do
9817 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9818 ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext"
9819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9829 aros_kernel_ld=$ac_cv_path_aros_kernel_ld
9830 if test -n "$aros_kernel_ld"; then
9831 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9832 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9834 { echo "$as_me:$LINENO: result: no" >&5
9835 echo "${ECHO_T}no" >&6; }
9841 if test "$aros_kernel_ld" = ""; then
9842 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
9843 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
9844 { (exit 1); exit 1; }; }
9847 if test "$aros_target_ar" = ""; then
9848 if test "$cross_compiling" = "yes" ; then
9849 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
9850 set dummy ${target_tool_prefix}ar; ac_word=$2
9851 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9853 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9854 echo $ECHO_N "(cached) $ECHO_C" >&6
9856 case $aros_target_ar_ln in
9858 ac_cv_path_aros_target_ar_ln="$aros_target_ar_ln" # Let the user override the test with a path.
9861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9865 test -z "$as_dir" && as_dir=.
9866 for ac_exec_ext in '' $ac_executable_extensions; do
9867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9868 ac_cv_path_aros_target_ar_ln="$as_dir/$ac_word$ac_exec_ext"
9869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9879 aros_target_ar_ln=$ac_cv_path_aros_target_ar_ln
9880 if test -n "$aros_target_ar_ln"; then
9881 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9882 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9884 { echo "$as_me:$LINENO: result: no" >&5
9885 echo "${ECHO_T}no" >&6; }
9890 if test "$GCC" = "yes"; then
9891 aros_gcc_ar=`$CC -print-prog-name=ar`
9892 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9893 set dummy `basename $aros_gcc_ar`; ac_word=$2
9894 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9896 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9897 echo $ECHO_N "(cached) $ECHO_C" >&6
9899 case $aros_target_ar_ln in
9901 ac_cv_path_aros_target_ar_ln="$aros_target_ar_ln" # Let the user override the test with a path.
9904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9905 for as_dir in `dirname $aros_gcc_ar`
9908 test -z "$as_dir" && as_dir=.
9909 for ac_exec_ext in '' $ac_executable_extensions; do
9910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9911 ac_cv_path_aros_target_ar_ln="$as_dir/$ac_word$ac_exec_ext"
9912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9922 aros_target_ar_ln=$ac_cv_path_aros_target_ar_ln
9923 if test -n "$aros_target_ar_ln"; then
9924 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9925 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9927 { echo "$as_me:$LINENO: result: no" >&5
9928 echo "${ECHO_T}no" >&6; }
9933 if test "$aros_target_ar_ln" = ""; then
9934 # Extract the first word of "ar", so it can be a program name with args.
9935 set dummy ar; ac_word=$2
9936 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9938 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9939 echo $ECHO_N "(cached) $ECHO_C" >&6
9941 case $aros_target_ar_ln in
9943 ac_cv_path_aros_target_ar_ln="$aros_target_ar_ln" # Let the user override the test with a path.
9946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9950 test -z "$as_dir" && as_dir=.
9951 for ac_exec_ext in '' $ac_executable_extensions; do
9952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9953 ac_cv_path_aros_target_ar_ln="$as_dir/$ac_word$ac_exec_ext"
9954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9964 aros_target_ar_ln=$ac_cv_path_aros_target_ar_ln
9965 if test -n "$aros_target_ar_ln"; then
9966 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9967 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9969 { echo "$as_me:$LINENO: result: no" >&5
9970 echo "${ECHO_T}no" >&6; }
9977 # Extract the first word of "$aros_target_ar", so it can be a program name with args.
9978 set dummy $aros_target_ar; ac_word=$2
9979 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9981 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9982 echo $ECHO_N "(cached) $ECHO_C" >&6
9984 case $aros_target_ar_ln in
9986 ac_cv_path_aros_target_ar_ln="$aros_target_ar_ln" # Let the user override the test with a path.
9989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9993 test -z "$as_dir" && as_dir=.
9994 for ac_exec_ext in '' $ac_executable_extensions; do
9995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9996 ac_cv_path_aros_target_ar_ln="$as_dir/$ac_word$ac_exec_ext"
9997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10007 aros_target_ar_ln=$ac_cv_path_aros_target_ar_ln
10008 if test -n "$aros_target_ar_ln"; then
10009 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
10010 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
10012 { echo "$as_me:$LINENO: result: no" >&5
10013 echo "${ECHO_T}no" >&6; }
10019 if test "$aros_target_ar_ln" = ""; then
10020 { { echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
10021 echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
10022 { (exit 1); exit 1; }; }
10025 if test "$aros_target_nm" = ""; then
10026 if test "$cross_compiling" = "yes" ; then
10027 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
10028 set dummy ${target_tool_prefix}nm; ac_word=$2
10029 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10031 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
10032 echo $ECHO_N "(cached) $ECHO_C" >&6
10034 case $aros_target_nm_ln in
10036 ac_cv_path_aros_target_nm_ln="$aros_target_nm_ln" # Let the user override the test with a path.
10039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10040 for as_dir in $PATH
10043 test -z "$as_dir" && as_dir=.
10044 for ac_exec_ext in '' $ac_executable_extensions; do
10045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10046 ac_cv_path_aros_target_nm_ln="$as_dir/$ac_word$ac_exec_ext"
10047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10057 aros_target_nm_ln=$ac_cv_path_aros_target_nm_ln
10058 if test -n "$aros_target_nm_ln"; then
10059 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10060 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
10062 { echo "$as_me:$LINENO: result: no" >&5
10063 echo "${ECHO_T}no" >&6; }
10068 if test "$GCC" = "yes"; then
10069 aros_gcc_nm=`$CC -print-prog-name=nm
`
10070 # Extract the first word of "`basename $aros_gcc_[nm
]`", so it can be a program name with args.
10071 set dummy `basename $aros_gcc_nm`; ac_word=$2
10072 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10073 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10074 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
10075 echo $ECHO_N "(cached) $ECHO_C" >&6
10077 case $aros_target_nm_ln in
10079 ac_cv_path_aros_target_nm_ln="$aros_target_nm_ln" # Let the user override the test with a path.
10082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10083 for as_dir in `dirname $aros_gcc_nm`
10086 test -z "$as_dir" && as_dir=.
10087 for ac_exec_ext in '' $ac_executable_extensions; do
10088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10089 ac_cv_path_aros_target_nm_ln="$as_dir/$ac_word$ac_exec_ext"
10090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10100 aros_target_nm_ln=$ac_cv_path_aros_target_nm_ln
10101 if test -n "$aros_target_nm_ln"; then
10102 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10103 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
10105 { echo "$as_me:$LINENO: result: no" >&5
10106 echo "${ECHO_T}no" >&6; }
10111 if test "$aros_target_nm_ln" = ""; then
10112 # Extract the first word of "nm", so it can be a program name with args.
10113 set dummy nm; ac_word=$2
10114 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10116 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
10117 echo $ECHO_N "(cached) $ECHO_C" >&6
10119 case $aros_target_nm_ln in
10121 ac_cv_path_aros_target_nm_ln="$aros_target_nm_ln" # Let the user override the test with a path.
10124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10125 for as_dir in $PATH
10128 test -z "$as_dir" && as_dir=.
10129 for ac_exec_ext in '' $ac_executable_extensions; do
10130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10131 ac_cv_path_aros_target_nm_ln="$as_dir/$ac_word$ac_exec_ext"
10132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10142 aros_target_nm_ln=$ac_cv_path_aros_target_nm_ln
10143 if test -n "$aros_target_nm_ln"; then
10144 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10145 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
10147 { echo "$as_me:$LINENO: result: no" >&5
10148 echo "${ECHO_T}no" >&6; }
10155 # Extract the first word of "$aros_target_nm", so it can be a program name with args.
10156 set dummy $aros_target_nm; ac_word=$2
10157 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10159 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
10160 echo $ECHO_N "(cached) $ECHO_C" >&6
10162 case $aros_target_nm_ln in
10164 ac_cv_path_aros_target_nm_ln="$aros_target_nm_ln" # Let the user override the test with a path.
10167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10168 for as_dir in $PATH
10171 test -z "$as_dir" && as_dir=.
10172 for ac_exec_ext in '' $ac_executable_extensions; do
10173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10174 ac_cv_path_aros_target_nm_ln="$as_dir/$ac_word$ac_exec_ext"
10175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10185 aros_target_nm_ln=$ac_cv_path_aros_target_nm_ln
10186 if test -n "$aros_target_nm_ln"; then
10187 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10188 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
10190 { echo "$as_me:$LINENO: result: no" >&5
10191 echo "${ECHO_T}no" >&6; }
10197 if test "$aros_target_nm_ln" = ""; then
10198 { { echo "$as_me:$LINENO: error: nm is required to build AROS. Please install and run configure again." >&5
10199 echo "$as_me: error: nm is required to build AROS. Please install and run configure again." >&2;}
10200 { (exit 1); exit 1; }; }
10203 if test "$aros_target_objcopy" = ""; then
10204 if test "$cross_compiling" = "yes" ; then
10205 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
10206 set dummy ${target_tool_prefix}objcopy; ac_word=$2
10207 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10209 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10210 echo $ECHO_N "(cached) $ECHO_C" >&6
10212 case $aros_target_objcopy_ln in
10214 ac_cv_path_aros_target_objcopy_ln="$aros_target_objcopy_ln" # Let the user override the test with a path.
10217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10218 for as_dir in $PATH
10221 test -z "$as_dir" && as_dir=.
10222 for ac_exec_ext in '' $ac_executable_extensions; do
10223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10224 ac_cv_path_aros_target_objcopy_ln="$as_dir/$ac_word$ac_exec_ext"
10225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10235 aros_target_objcopy_ln=$ac_cv_path_aros_target_objcopy_ln
10236 if test -n "$aros_target_objcopy_ln"; then
10237 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10238 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
10240 { echo "$as_me:$LINENO: result: no" >&5
10241 echo "${ECHO_T}no" >&6; }
10246 if test "$GCC" = "yes"; then
10247 aros_gcc_objcopy=`$CC -print-prog-name=objcopy
`
10248 # Extract the first word of "`basename $aros_gcc_[objcopy
]`", so it can be a program name with args.
10249 set dummy `basename $aros_gcc_objcopy`; ac_word=$2
10250 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10252 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10253 echo $ECHO_N "(cached) $ECHO_C" >&6
10255 case $aros_target_objcopy_ln in
10257 ac_cv_path_aros_target_objcopy_ln="$aros_target_objcopy_ln" # Let the user override the test with a path.
10260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10261 for as_dir in `dirname $aros_gcc_objcopy`
10264 test -z "$as_dir" && as_dir=.
10265 for ac_exec_ext in '' $ac_executable_extensions; do
10266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10267 ac_cv_path_aros_target_objcopy_ln="$as_dir/$ac_word$ac_exec_ext"
10268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10278 aros_target_objcopy_ln=$ac_cv_path_aros_target_objcopy_ln
10279 if test -n "$aros_target_objcopy_ln"; then
10280 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10281 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
10283 { echo "$as_me:$LINENO: result: no" >&5
10284 echo "${ECHO_T}no" >&6; }
10289 if test "$aros_target_objcopy_ln" = ""; then
10290 # Extract the first word of "objcopy", so it can be a program name with args.
10291 set dummy objcopy; ac_word=$2
10292 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10294 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10295 echo $ECHO_N "(cached) $ECHO_C" >&6
10297 case $aros_target_objcopy_ln in
10299 ac_cv_path_aros_target_objcopy_ln="$aros_target_objcopy_ln" # Let the user override the test with a path.
10302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10303 for as_dir in $PATH
10306 test -z "$as_dir" && as_dir=.
10307 for ac_exec_ext in '' $ac_executable_extensions; do
10308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10309 ac_cv_path_aros_target_objcopy_ln="$as_dir/$ac_word$ac_exec_ext"
10310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10320 aros_target_objcopy_ln=$ac_cv_path_aros_target_objcopy_ln
10321 if test -n "$aros_target_objcopy_ln"; then
10322 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10323 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
10325 { echo "$as_me:$LINENO: result: no" >&5
10326 echo "${ECHO_T}no" >&6; }
10333 # Extract the first word of "$aros_target_objcopy", so it can be a program name with args.
10334 set dummy $aros_target_objcopy; ac_word=$2
10335 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10337 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10338 echo $ECHO_N "(cached) $ECHO_C" >&6
10340 case $aros_target_objcopy_ln in
10342 ac_cv_path_aros_target_objcopy_ln="$aros_target_objcopy_ln" # Let the user override the test with a path.
10345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10346 for as_dir in $PATH
10349 test -z "$as_dir" && as_dir=.
10350 for ac_exec_ext in '' $ac_executable_extensions; do
10351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10352 ac_cv_path_aros_target_objcopy_ln="$as_dir/$ac_word$ac_exec_ext"
10353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10363 aros_target_objcopy_ln=$ac_cv_path_aros_target_objcopy_ln
10364 if test -n "$aros_target_objcopy_ln"; then
10365 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10366 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
10368 { echo "$as_me:$LINENO: result: no" >&5
10369 echo "${ECHO_T}no" >&6; }
10375 if test "$aros_target_objcopy_ln" = ""; then
10376 { { echo "$as_me:$LINENO: error: objcopy is required to build AROS. Please install and run configure again." >&5
10377 echo "$as_me: error: objcopy is required to build AROS. Please install and run configure again." >&2;}
10378 { (exit 1); exit 1; }; }
10381 if test "$aros_target_objdump" = ""; then
10382 if test "$cross_compiling" = "yes" ; then
10383 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
10384 set dummy ${target_tool_prefix}objdump; ac_word=$2
10385 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10387 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10388 echo $ECHO_N "(cached) $ECHO_C" >&6
10390 case $aros_target_objdump_ln in
10392 ac_cv_path_aros_target_objdump_ln="$aros_target_objdump_ln" # Let the user override the test with a path.
10395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10396 for as_dir in $PATH
10399 test -z "$as_dir" && as_dir=.
10400 for ac_exec_ext in '' $ac_executable_extensions; do
10401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10402 ac_cv_path_aros_target_objdump_ln="$as_dir/$ac_word$ac_exec_ext"
10403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10413 aros_target_objdump_ln=$ac_cv_path_aros_target_objdump_ln
10414 if test -n "$aros_target_objdump_ln"; then
10415 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10416 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
10418 { echo "$as_me:$LINENO: result: no" >&5
10419 echo "${ECHO_T}no" >&6; }
10424 if test "$GCC" = "yes"; then
10425 aros_gcc_objdump=`$CC -print-prog-name=objdump
`
10426 # Extract the first word of "`basename $aros_gcc_[objdump
]`", so it can be a program name with args.
10427 set dummy `basename $aros_gcc_objdump`; ac_word=$2
10428 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10430 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10431 echo $ECHO_N "(cached) $ECHO_C" >&6
10433 case $aros_target_objdump_ln in
10435 ac_cv_path_aros_target_objdump_ln="$aros_target_objdump_ln" # Let the user override the test with a path.
10438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10439 for as_dir in `dirname $aros_gcc_objdump`
10442 test -z "$as_dir" && as_dir=.
10443 for ac_exec_ext in '' $ac_executable_extensions; do
10444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10445 ac_cv_path_aros_target_objdump_ln="$as_dir/$ac_word$ac_exec_ext"
10446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10456 aros_target_objdump_ln=$ac_cv_path_aros_target_objdump_ln
10457 if test -n "$aros_target_objdump_ln"; then
10458 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10459 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
10461 { echo "$as_me:$LINENO: result: no" >&5
10462 echo "${ECHO_T}no" >&6; }
10467 if test "$aros_target_objdump_ln" = ""; then
10468 # Extract the first word of "objdump", so it can be a program name with args.
10469 set dummy objdump; ac_word=$2
10470 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10472 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10473 echo $ECHO_N "(cached) $ECHO_C" >&6
10475 case $aros_target_objdump_ln in
10477 ac_cv_path_aros_target_objdump_ln="$aros_target_objdump_ln" # Let the user override the test with a path.
10480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10481 for as_dir in $PATH
10484 test -z "$as_dir" && as_dir=.
10485 for ac_exec_ext in '' $ac_executable_extensions; do
10486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10487 ac_cv_path_aros_target_objdump_ln="$as_dir/$ac_word$ac_exec_ext"
10488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10498 aros_target_objdump_ln=$ac_cv_path_aros_target_objdump_ln
10499 if test -n "$aros_target_objdump_ln"; then
10500 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10501 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
10503 { echo "$as_me:$LINENO: result: no" >&5
10504 echo "${ECHO_T}no" >&6; }
10511 # Extract the first word of "$aros_target_objdump", so it can be a program name with args.
10512 set dummy $aros_target_objdump; ac_word=$2
10513 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10515 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10516 echo $ECHO_N "(cached) $ECHO_C" >&6
10518 case $aros_target_objdump_ln in
10520 ac_cv_path_aros_target_objdump_ln="$aros_target_objdump_ln" # Let the user override the test with a path.
10523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10524 for as_dir in $PATH
10527 test -z "$as_dir" && as_dir=.
10528 for ac_exec_ext in '' $ac_executable_extensions; do
10529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10530 ac_cv_path_aros_target_objdump_ln="$as_dir/$ac_word$ac_exec_ext"
10531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10541 aros_target_objdump_ln=$ac_cv_path_aros_target_objdump_ln
10542 if test -n "$aros_target_objdump_ln"; then
10543 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10544 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
10546 { echo "$as_me:$LINENO: result: no" >&5
10547 echo "${ECHO_T}no" >&6; }
10553 if test "$aros_target_objdump_ln" = ""; then
10554 { { echo "$as_me:$LINENO: error: objdump is required to build AROS. Please install and run configure again." >&5
10555 echo "$as_me: error: objdump is required to build AROS. Please install and run configure again." >&2;}
10556 { (exit 1); exit 1; }; }
10559 if test "$aros_target_ranlib" = ""; then
10560 if test "$cross_compiling" = "yes" ; then
10561 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
10562 set dummy ${target_tool_prefix}ranlib; ac_word=$2
10563 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10564 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10565 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10566 echo $ECHO_N "(cached) $ECHO_C" >&6
10568 case $aros_target_ranlib_ln in
10570 ac_cv_path_aros_target_ranlib_ln="$aros_target_ranlib_ln" # Let the user override the test with a path.
10573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10574 for as_dir in $PATH
10577 test -z "$as_dir" && as_dir=.
10578 for ac_exec_ext in '' $ac_executable_extensions; do
10579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10580 ac_cv_path_aros_target_ranlib_ln="$as_dir/$ac_word$ac_exec_ext"
10581 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10591 aros_target_ranlib_ln=$ac_cv_path_aros_target_ranlib_ln
10592 if test -n "$aros_target_ranlib_ln"; then
10593 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10594 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10596 { echo "$as_me:$LINENO: result: no" >&5
10597 echo "${ECHO_T}no" >&6; }
10602 if test "$GCC" = "yes"; then
10603 aros_gcc_ranlib=`$CC -print-prog-name=ranlib
`
10604 # Extract the first word of "`basename $aros_gcc_[ranlib
]`", so it can be a program name with args.
10605 set dummy `basename $aros_gcc_ranlib`; ac_word=$2
10606 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10608 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10609 echo $ECHO_N "(cached) $ECHO_C" >&6
10611 case $aros_target_ranlib_ln in
10613 ac_cv_path_aros_target_ranlib_ln="$aros_target_ranlib_ln" # Let the user override the test with a path.
10616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10617 for as_dir in `dirname $aros_gcc_ranlib`
10620 test -z "$as_dir" && as_dir=.
10621 for ac_exec_ext in '' $ac_executable_extensions; do
10622 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10623 ac_cv_path_aros_target_ranlib_ln="$as_dir/$ac_word$ac_exec_ext"
10624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10634 aros_target_ranlib_ln=$ac_cv_path_aros_target_ranlib_ln
10635 if test -n "$aros_target_ranlib_ln"; then
10636 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10637 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10639 { echo "$as_me:$LINENO: result: no" >&5
10640 echo "${ECHO_T}no" >&6; }
10645 if test "$aros_target_ranlib_ln" = ""; then
10646 # Extract the first word of "ranlib", so it can be a program name with args.
10647 set dummy ranlib; ac_word=$2
10648 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10650 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10651 echo $ECHO_N "(cached) $ECHO_C" >&6
10653 case $aros_target_ranlib_ln in
10655 ac_cv_path_aros_target_ranlib_ln="$aros_target_ranlib_ln" # Let the user override the test with a path.
10658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10659 for as_dir in $PATH
10662 test -z "$as_dir" && as_dir=.
10663 for ac_exec_ext in '' $ac_executable_extensions; do
10664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10665 ac_cv_path_aros_target_ranlib_ln="$as_dir/$ac_word$ac_exec_ext"
10666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10676 aros_target_ranlib_ln=$ac_cv_path_aros_target_ranlib_ln
10677 if test -n "$aros_target_ranlib_ln"; then
10678 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10679 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10681 { echo "$as_me:$LINENO: result: no" >&5
10682 echo "${ECHO_T}no" >&6; }
10689 # Extract the first word of "$aros_target_ranlib", so it can be a program name with args.
10690 set dummy $aros_target_ranlib; ac_word=$2
10691 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10693 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10694 echo $ECHO_N "(cached) $ECHO_C" >&6
10696 case $aros_target_ranlib_ln in
10698 ac_cv_path_aros_target_ranlib_ln="$aros_target_ranlib_ln" # Let the user override the test with a path.
10701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10702 for as_dir in $PATH
10705 test -z "$as_dir" && as_dir=.
10706 for ac_exec_ext in '' $ac_executable_extensions; do
10707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10708 ac_cv_path_aros_target_ranlib_ln="$as_dir/$ac_word$ac_exec_ext"
10709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10719 aros_target_ranlib_ln=$ac_cv_path_aros_target_ranlib_ln
10720 if test -n "$aros_target_ranlib_ln"; then
10721 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10722 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10724 { echo "$as_me:$LINENO: result: no" >&5
10725 echo "${ECHO_T}no" >&6; }
10731 if test "$aros_target_ranlib_ln" = ""; then
10732 { { echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
10733 echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
10734 { (exit 1); exit 1; }; }
10737 if test "$aros_target_strip" = ""; then
10738 if test "$cross_compiling" = "yes" ; then
10739 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
10740 set dummy ${target_tool_prefix}strip; ac_word=$2
10741 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10743 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10744 echo $ECHO_N "(cached) $ECHO_C" >&6
10746 case $aros_target_strip_ln in
10748 ac_cv_path_aros_target_strip_ln="$aros_target_strip_ln" # Let the user override the test with a path.
10751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10752 for as_dir in $PATH
10755 test -z "$as_dir" && as_dir=.
10756 for ac_exec_ext in '' $ac_executable_extensions; do
10757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10758 ac_cv_path_aros_target_strip_ln="$as_dir/$ac_word$ac_exec_ext"
10759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10769 aros_target_strip_ln=$ac_cv_path_aros_target_strip_ln
10770 if test -n "$aros_target_strip_ln"; then
10771 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10772 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10774 { echo "$as_me:$LINENO: result: no" >&5
10775 echo "${ECHO_T}no" >&6; }
10780 if test "$GCC" = "yes"; then
10781 aros_gcc_strip=`$CC -print-prog-name=strip
`
10782 # Extract the first word of "`basename $aros_gcc_[strip
]`", so it can be a program name with args.
10783 set dummy `basename $aros_gcc_strip`; ac_word=$2
10784 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10786 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10787 echo $ECHO_N "(cached) $ECHO_C" >&6
10789 case $aros_target_strip_ln in
10791 ac_cv_path_aros_target_strip_ln="$aros_target_strip_ln" # Let the user override the test with a path.
10794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10795 for as_dir in `dirname $aros_gcc_strip`
10798 test -z "$as_dir" && as_dir=.
10799 for ac_exec_ext in '' $ac_executable_extensions; do
10800 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10801 ac_cv_path_aros_target_strip_ln="$as_dir/$ac_word$ac_exec_ext"
10802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10812 aros_target_strip_ln=$ac_cv_path_aros_target_strip_ln
10813 if test -n "$aros_target_strip_ln"; then
10814 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10815 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10817 { echo "$as_me:$LINENO: result: no" >&5
10818 echo "${ECHO_T}no" >&6; }
10823 if test "$aros_target_strip_ln" = ""; then
10824 # Extract the first word of "strip", so it can be a program name with args.
10825 set dummy strip; ac_word=$2
10826 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10828 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10829 echo $ECHO_N "(cached) $ECHO_C" >&6
10831 case $aros_target_strip_ln in
10833 ac_cv_path_aros_target_strip_ln="$aros_target_strip_ln" # Let the user override the test with a path.
10836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10837 for as_dir in $PATH
10840 test -z "$as_dir" && as_dir=.
10841 for ac_exec_ext in '' $ac_executable_extensions; do
10842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10843 ac_cv_path_aros_target_strip_ln="$as_dir/$ac_word$ac_exec_ext"
10844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10854 aros_target_strip_ln=$ac_cv_path_aros_target_strip_ln
10855 if test -n "$aros_target_strip_ln"; then
10856 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10857 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10859 { echo "$as_me:$LINENO: result: no" >&5
10860 echo "${ECHO_T}no" >&6; }
10867 # Extract the first word of "$aros_target_strip", so it can be a program name with args.
10868 set dummy $aros_target_strip; ac_word=$2
10869 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10871 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10872 echo $ECHO_N "(cached) $ECHO_C" >&6
10874 case $aros_target_strip_ln in
10876 ac_cv_path_aros_target_strip_ln="$aros_target_strip_ln" # Let the user override the test with a path.
10879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10880 for as_dir in $PATH
10883 test -z "$as_dir" && as_dir=.
10884 for ac_exec_ext in '' $ac_executable_extensions; do
10885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10886 ac_cv_path_aros_target_strip_ln="$as_dir/$ac_word$ac_exec_ext"
10887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10897 aros_target_strip_ln=$ac_cv_path_aros_target_strip_ln
10898 if test -n "$aros_target_strip_ln"; then
10899 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10900 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10902 { echo "$as_me:$LINENO: result: no" >&5
10903 echo "${ECHO_T}no" >&6; }
10909 if test "$aros_target_strip_ln" = ""; then
10910 { { echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
10911 echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
10912 { (exit 1); exit 1; }; }
10916 aros_hostcfg_dir="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
10917 aros_targetcfg_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
10918 aros_inc_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
10919 aros_gendir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
10920 aros_geninc_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
10921 aros_tools_dir="bin/${aros_host_arch}-${aros_host_cpu}/tools"
10922 aros_scripts_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
10924 # aros_cc_pre is a variable that is added to the front of the compiler name
10925 # in the generated aros-gcc shell script. We need this to enable the cache
10926 # to work across cleaned builds. Also, support DISTCC using the correct
10927 # environment variable.
10930 if test "x${DISTCC}" != "x" ; then
10931 if test "x${CCACHE}" != "x" ; then
10932 aros_cc_pre="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
10934 aros_cc_pre="${DISTCC} "
10937 if test "x${CCACHE}" != "x" ; then
10938 aros_cc_pre="${CCACHE} "
10942 prefix="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
10944 aros_target_nostdinc_cflags=-nostdinc
10946 aros_target_nostartup_ldflags=-nostartfiles
10948 aros_target_nix_ldflags=-nix
10950 aros_target_detach_ldflags=-detach
10952 aros_target_nostdlib_ldflags=-nostdlib
10956 if test "$aros_target_cc" = ""; then
10957 orig_target_cc=$aros_kernel_cc
10959 orig_target_cc=$aros_target_cc
10961 if test "$aros_target_ld" = ""; then
10962 orig_target_ld=$aros_kernel_ld
10964 orig_target_ld=$aros_target_ld
10966 if test "$GCC" = "yes"; then
10967 aros_target_cc_path=`$orig_target_cc -print-search-dirs |
grep "programs: =" | cut
-c 12-`
10969 aros_target_cc="${prefix}-gcc"
10970 aros_target_as="${prefix}-as"
10971 aros_target_ld="${prefix}-ld"
10972 aros_target_ar="${prefix}-ar $aros_target_ar_flags"
10973 aros_target_objcopy=${prefix}-objcopy
10974 aros_target_objdump=${prefix}-objdump
10975 aros_target_ranlib="${prefix}-ranlib $aros_target_ranlib_flags"
10976 aros_target_nm="${prefix}-nm $aros_target_nm_flags"
10977 aros_kernel_nm="${prefix}-nm"
10978 aros_target_strip=${prefix}-strip
10980 # Find the system include path. We can suggest that an alternative is
10981 # used if we don't get it correct. The default is to use /usr/include.
10982 # Which is set in the aros_target_incl_def variable.
10984 # Check whether --enable-includes was given.
10985 if test "${enable_includes+set}" = set; then
10986 enableval=$enable_includes; aros_target_incl=$enable_includes
10988 aros_target_incl=$aros_target_incl_def
10992 { echo "$as_me:$LINENO: checking for the target compiler's include path" >&5
10993 echo $ECHO_N "checking for the target compiler's include path... $ECHO_C" >&6; }
10994 if test "$aros_target_cc_includes" = "" ; then
10995 #try to guess where the directory is
10996 aros_target_cc_includes=`dirname \
`${aros_kernel_cc} -print-libgcc-file-name\``/include
10997 if ! test -d $aros_target_cc_includes; then
10998 #the directory doesn't exist, we need to do some more work
10999 aros_target_cc_includes=${PWD}/${aros_gendir}/cc_include
11001 #these are the headers we're looling for
11002 headers="limits.h mmintrin.h stdbool.h syslimits.h float.h \
11003 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
11007 for h in $headers; do
11008 #which other headers each of the above headers needs?
11009 deps=$(echo "#include <$h>" | \
11010 $aros_host_cc -E -M - 2>/dev/null | \
11011 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
11013 #copy all the needed headers to a directory beneath gendir
11016 dir=${aros_target_cc_includes}$(echo $(dirname $d) | \
11017 sed -n "s,^.*/include\(/.*\),\1,p")
11018 ! test -d $dir && mkdir -p $dir
11019 ! test -f $dir/$h && { cp $d $dir; chmod u+w $dir/$h; }
11024 { echo "$as_me:$LINENO: result: $aros_target_cc_includes" >&5
11025 echo "${ECHO_T}$aros_target_cc_includes" >&6; }
11028 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
11029 # On GCC >= 4.0 -iquote should be used
11033 save_cflags="$CFLAGS"
11034 CC="$aros_kernel_cc"
11036 { echo "$as_me:$LINENO: checking whether ${CC} accepts -iquote" >&5
11037 echo $ECHO_N "checking whether ${CC} accepts -iquote... $ECHO_C" >&6; }
11038 cat >conftest.$ac_ext <<_ACEOF
11041 cat confdefs.h >>conftest.$ac_ext
11042 cat >>conftest.$ac_ext <<_ACEOF
11043 /* end confdefs.h. */
11053 rm -f conftest.$ac_objext
11054 if { (ac_try="$ac_compile"
11055 case "(($ac_try" in
11056 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11057 *) ac_try_echo
=$ac_try;;
11059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11060 (eval "$ac_compile") 2>conftest.er1
11062 grep -v '^ *+' conftest.er1
>conftest.err
11064 cat conftest.err
>&5
11065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11066 (exit $ac_status); } && {
11067 test -z "$ac_c_werror_flag" ||
11068 test ! -s conftest.err
11069 } && test -s conftest.
$ac_objext; then
11072 echo "$as_me: failed program was:" >&5
11073 sed 's/^/| /' conftest.
$ac_ext >&5
11078 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11079 { echo "$as_me:$LINENO: result: $has_iquote" >&5
11080 echo "${ECHO_T}$has_iquote" >&6; }
11081 if test "x-$has_iquote" = "x-yes" ; then
11082 aros_cflags_iquote
=-iquote
11083 aros_cflags_iquote_end
=
11085 aros_cflags_iquote
=-I
11086 aros_cflags_iquote_end
=-I-
11089 CFLAGS
="$save_cflags"
11095 { echo "$as_me:$LINENO: checking for default resolution of WBScreen" >&5
11096 echo $ECHO_N "checking for default resolution of WBScreen... $ECHO_C" >&6; }
11098 # Check whether --with-resolution was given.
11099 if test "${with_resolution+set}" = set; then
11100 withval
=$with_resolution; resolution
=$withval
11105 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
11106 if test "$resolution" = "yes" ; then
11109 if test "$resolution" = "no" ; then
11112 if test "$resolution" != "none" ; then
11113 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
11114 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
11115 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
11117 { echo "$as_me:$LINENO: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
11118 echo "${ECHO_T}$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
11119 aros_cv_default_wbwidth
=$aros_default_wbwidth
11120 aros_cv_default_wbheight
=$aros_default_wbheight
11121 aros_cv_default_wbdepth
=$aros_default_wbdepth
11123 { echo "$as_me:$LINENO: checking if bochs hack is enabled" >&5
11124 echo $ECHO_N "checking if bochs hack is enabled... $ECHO_C" >&6; }
11125 # Check whether --enable-bochs_hack was given.
11126 if test "${enable_bochs_hack+set}" = set; then
11127 enableval
=$enable_bochs_hack; bochs_hack
="yes"
11132 if test "$bochs_hack" = "yes" ; then
11133 aros_bochs_hack
="1"
11135 { echo "$as_me:$LINENO: result: $bochs_hack" >&5
11136 echo "${ECHO_T}$bochs_hack" >&6; }
11138 { echo "$as_me:$LINENO: checking if serial debug is enabled" >&5
11139 echo $ECHO_N "checking if serial debug is enabled... $ECHO_C" >&6; }
11141 # Check whether --with-serial-debug was given.
11142 if test "${with_serial_debug+set}" = set; then
11143 withval
=$with_serial_debug; serial_debug
=$withval
11148 if test "$aros_serial_debug" = 0 ; then
11149 serial_debug_forced
=""
11150 if test "$serial_debug" = "yes" ; then
11153 if test "$serial_debug" = "no" ; then
11154 serial_debug
="none"
11157 serial_debug_forced
="(forced)"
11158 serial_debug
=$aros_serial_debug
11160 if test "$serial_debug" != "none" ; then
11161 aros_serial_debug
=$serial_debug
11162 { echo "$as_me:$LINENO: result: $serial_debug_forced on port $serial_debug" >&5
11163 echo "${ECHO_T}$serial_debug_forced on port $serial_debug" >&6; }
11165 { echo "$as_me:$LINENO: result: no" >&5
11166 echo "${ECHO_T}no" >&6; }
11169 { echo "$as_me:$LINENO: checking if palm debug hack is enabled" >&5
11170 echo $ECHO_N "checking if palm debug hack is enabled... $ECHO_C" >&6; }
11171 # Check whether --enable-palm_debug_hack was given.
11172 if test "${enable_palm_debug_hack+set}" = set; then
11173 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
11175 palm_debug_hack
="no"
11178 if test "$palm_debug_hack" = "yes" ; then
11179 aros_palm_debug_hack
="1"
11181 { echo "$as_me:$LINENO: result: $palm_debug_hack" >&5
11182 echo "${ECHO_T}$palm_debug_hack" >&6; }
11185 { echo "$as_me:$LINENO: checking if nesting supervisor support is enabled" >&5
11186 echo $ECHO_N "checking if nesting supervisor support is enabled... $ECHO_C" >&6; }
11187 # Check whether --enable-nesting_supervisor was given.
11188 if test "${enable_nesting_supervisor+set}" = set; then
11189 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
11191 nesting_supervisor
="no"
11194 if test "$nesting_supervisor" = "yes" ; then
11195 aros_nesting_supervisor
="1"
11197 { echo "$as_me:$LINENO: result: $nesting_supervisor" >&5
11198 echo "${ECHO_T}$nesting_supervisor" >&6; }
11201 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
11203 if test "x-$aros_host_arch" != "x-darwin" ; then
11204 { echo "$as_me:$LINENO: checking for dlopen" >&5
11205 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
11206 if test "${ac_cv_func_dlopen+set}" = set; then
11207 echo $ECHO_N "(cached) $ECHO_C" >&6
11209 cat >conftest.
$ac_ext <<_ACEOF
11212 cat confdefs.h
>>conftest.
$ac_ext
11213 cat >>conftest.
$ac_ext <<_ACEOF
11214 /* end confdefs.h. */
11215 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11216 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11217 #define dlopen innocuous_dlopen
11219 /* System header to define __stub macros and hopefully few prototypes,
11220 which can conflict with char dlopen (); below.
11221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11222 <limits.h> exists even on freestanding compilers. */
11225 # include <limits.h>
11227 # include <assert.h>
11232 /* Override any GCC internal prototype to avoid an error.
11233 Use char because int might match the return type of a GCC
11234 builtin and then its argument prototype would still apply. */
11239 /* The GNU C library defines this for functions which it implements
11240 to always fail with ENOSYS. Some functions are actually named
11241 something starting with __ and the normal name is an alias. */
11242 #if defined __stub_dlopen || defined __stub___dlopen
11254 rm -f conftest.
$ac_objext conftest
$ac_exeext
11255 if { (ac_try
="$ac_link"
11256 case "(($ac_try" in
11257 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11258 *) ac_try_echo=$ac_try;;
11260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11261 (eval "$ac_link") 2>conftest.er1
11263 grep -v '^ *+' conftest.er1 >conftest.err
11265 cat conftest.err >&5
11266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11267 (exit $ac_status); } && {
11268 test -z "$ac_c_werror_flag" ||
11269 test ! -s conftest.err
11270 } && test -s conftest$ac_exeext &&
11271 $as_test_x conftest$ac_exeext; then
11272 ac_cv_func_dlopen=yes
11274 echo "$as_me: failed program was:" >&5
11275 sed 's/^/| /' conftest.$ac_ext >&5
11277 ac_cv_func_dlopen=no
11280 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11281 conftest$ac_exeext conftest.$ac_ext
11283 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11284 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
11285 if test $ac_cv_func_dlopen = yes; then
11291 if test "x-$have_dl" = "x-no" ; then
11292 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11293 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11294 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11295 echo $ECHO_N "(cached) $ECHO_C" >&6
11297 ac_check_lib_save_LIBS=$LIBS
11299 cat >conftest.$ac_ext <<_ACEOF
11302 cat confdefs.h >>conftest.$ac_ext
11303 cat >>conftest.$ac_ext <<_ACEOF
11304 /* end confdefs.h. */
11306 /* Override any GCC internal prototype to avoid an error.
11307 Use char because int might match the return type of a GCC
11308 builtin and then its argument prototype would still apply. */
11321 rm -f conftest.$ac_objext conftest$ac_exeext
11322 if { (ac_try="$ac_link"
11323 case "(($ac_try" in
11324 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11325 *) ac_try_echo
=$ac_try;;
11327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11328 (eval "$ac_link") 2>conftest.er1
11330 grep -v '^ *+' conftest.er1
>conftest.err
11332 cat conftest.err
>&5
11333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11334 (exit $ac_status); } && {
11335 test -z "$ac_c_werror_flag" ||
11336 test ! -s conftest.err
11337 } && test -s conftest
$ac_exeext &&
11338 $as_test_x conftest
$ac_exeext; then
11339 ac_cv_lib_dl_dlopen
=yes
11341 echo "$as_me: failed program was:" >&5
11342 sed 's/^/| /' conftest.
$ac_ext >&5
11344 ac_cv_lib_dl_dlopen
=no
11347 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11348 conftest
$ac_exeext conftest.
$ac_ext
11349 LIBS
=$ac_check_lib_save_LIBS
11351 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11352 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11353 if test $ac_cv_lib_dl_dlopen = yes; then
11355 aros_host_ldflags
="$aros_host_ldflags -ldl"
11361 if test "x-$have_dl" = "x-no" ; then
11362 { { echo "$as_me:$LINENO: error: dlopen() dynamic linker functions not available" >&5
11363 echo "$as_me: error: dlopen() dynamic linker functions not available" >&2;}
11364 { (exit 1); exit 1; }; }
11369 # Check whether --enable-x11_hidd was given.
11370 if test "${enable_x11_hidd+set}" = set; then
11371 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
11376 case "x-$x11_hidd" in
11377 x-yes|x-no|x-auto
) ;;
11378 *) x11_hidd
="auto" ;;
11381 if test "x-$x11_hidd" != "x-no" ; then
11383 { echo "$as_me:$LINENO: checking for X" >&5
11384 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
11387 # Check whether --with-x was given.
11388 if test "${with_x+set}" = set; then
11392 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11393 if test "x$with_x" = xno
; then
11394 # The user explicitly disabled X.
11397 case $x_includes,$x_libraries in #(
11398 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
11399 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
11400 { (exit 1); exit 1; }; };; #(
11401 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then
11402 echo $ECHO_N "(cached) $ECHO_C" >&6
11404 # One or both of the vars are not set, and there is no cached value.
11405 ac_x_includes
=no ac_x_libraries
=no
11406 rm -f -r conftest.dir
11407 if mkdir conftest.dir
; then
11409 cat >Imakefile
<<'_ACEOF'
11411 @echo incroot='${INCROOT}'
11413 @echo usrlibdir='${USRLIBDIR}'
11415 @echo libdir='${LIBDIR}'
11417 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
11418 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11419 for ac_var
in incroot usrlibdir libdir
; do
11420 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
11422 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11423 for ac_extension
in a so sl
; do
11424 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
11425 test -f "$ac_im_libdir/libX11.$ac_extension"; then
11426 ac_im_usrlibdir
=$ac_im_libdir; break
11429 # Screen out bogus values from the imake configuration. They are
11430 # bogus both because they are the default anyway, and because
11431 # using them would break gcc on systems where it needs fixed includes.
11432 case $ac_im_incroot in
11433 /usr
/include
) ac_x_includes
= ;;
11434 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
11436 case $ac_im_usrlibdir in
11437 /usr
/lib |
/lib
) ;;
11438 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
11442 rm -f -r conftest.dir
11445 # Standard set of common directories for X headers.
11446 # Check X11 before X11Rn because it is often a symlink to the current release.
11458 /usr/local/X11/include
11459 /usr/local/X11R6/include
11460 /usr/local/X11R5/include
11461 /usr/local/X11R4/include
11463 /usr/local/include/X11
11464 /usr/local/include/X11R6
11465 /usr/local/include/X11R5
11466 /usr/local/include/X11R4
11470 /usr/XFree86/include/X11
11474 /usr/unsupported/include
11475 /usr/athena/include
11476 /usr/local/x11r5/include
11477 /usr/lpp/Xamples/include
11479 /usr/openwin/include
11480 /usr/openwin/share/include'
11482 if test "$ac_x_includes" = no
; then
11483 # Guess where to find include files, by looking for Xlib.h.
11484 # First, try using that file with no special directory specified.
11485 cat >conftest.
$ac_ext <<_ACEOF
11488 cat confdefs.h
>>conftest.
$ac_ext
11489 cat >>conftest.
$ac_ext <<_ACEOF
11490 /* end confdefs.h. */
11491 #include <X11/Xlib.h>
11493 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11494 case "(($ac_try" in
11495 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11496 *) ac_try_echo=$ac_try;;
11498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11499 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11501 grep -v '^ *+' conftest.er1 >conftest.err
11503 cat conftest.err >&5
11504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11505 (exit $ac_status); } >/dev/null && {
11506 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11507 test ! -s conftest.err
11509 # We can compile using X headers with no special include directory.
11512 echo "$as_me: failed program was:" >&5
11513 sed 's/^/| /' conftest.$ac_ext >&5
11515 for ac_dir in $ac_x_header_dirs; do
11516 if test -r "$ac_dir/X11/Xlib.h"; then
11517 ac_x_includes=$ac_dir
11523 rm -f conftest.err conftest.$ac_ext
11524 fi # $ac_x_includes = no
11526 if test "$ac_x_libraries" = no; then
11527 # Check for the libraries.
11528 # See if we find them without any special options.
11529 # Don't add to $LIBS permanently.
11532 cat >conftest.$ac_ext <<_ACEOF
11535 cat confdefs.h >>conftest.$ac_ext
11536 cat >>conftest.$ac_ext <<_ACEOF
11537 /* end confdefs.h. */
11538 #include <X11/Xlib.h>
11547 rm -f conftest.$ac_objext conftest$ac_exeext
11548 if { (ac_try="$ac_link"
11549 case "(($ac_try" in
11550 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11551 *) ac_try_echo
=$ac_try;;
11553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11554 (eval "$ac_link") 2>conftest.er1
11556 grep -v '^ *+' conftest.er1
>conftest.err
11558 cat conftest.err
>&5
11559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11560 (exit $ac_status); } && {
11561 test -z "$ac_c_werror_flag" ||
11562 test ! -s conftest.err
11563 } && test -s conftest
$ac_exeext &&
11564 $as_test_x conftest
$ac_exeext; then
11566 # We can link X programs with no special library path.
11569 echo "$as_me: failed program was:" >&5
11570 sed 's/^/| /' conftest.
$ac_ext >&5
11573 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
11575 # Don't even attempt the hair of trying to link an X program!
11576 for ac_extension
in a so sl
; do
11577 if test -r "$ac_dir/libX11.$ac_extension"; then
11578 ac_x_libraries
=$ac_dir
11585 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11586 conftest
$ac_exeext conftest.
$ac_ext
11587 fi # $ac_x_libraries = no
11589 case $ac_x_includes,$ac_x_libraries in #(
11590 no
,* |
*,no |
*\'*)
11591 # Didn't find X, or a directory has "'" in its name.
11592 ac_cv_have_x
="have_x=no";; #(
11594 # Record where we found X for the cache.
11595 ac_cv_have_x
="have_x=yes\
11596 ac_x_includes='$ac_x_includes'\
11597 ac_x_libraries='$ac_x_libraries'"
11603 eval "$ac_cv_have_x"
11606 if test "$have_x" != yes; then
11607 { echo "$as_me:$LINENO: result: $have_x" >&5
11608 echo "${ECHO_T}$have_x" >&6; }
11611 # If each of the values was on the command line, it overrides each guess.
11612 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
11613 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
11614 # Update the cache value to reflect the command line values.
11615 ac_cv_have_x
="have_x=yes\
11616 ac_x_includes='$x_includes'\
11617 ac_x_libraries='$x_libraries'"
11618 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
11619 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
11624 for path
in $x_libraries
11626 x_cflags
="$x_cflags -L$path"
11629 for path
in $x_includes
11631 x_cflags
="$x_cflags -I$path"
11634 if test "x-$no_x" = "x-yes" ; then
11636 if test "x-$x11_hidd" != "x-auto" ; then
11637 { { echo "$as_me:$LINENO: error: X11 libs/headers not found, cannot build X11 hidd as requested" >&5
11638 echo "$as_me: error: X11 libs/headers not found, cannot build X11 hidd as requested" >&2;}
11639 { (exit 1); exit 1; }; }
11643 x11_hidd_target
=kernel-x11gfx
11646 # Check whether --enable-x11_shm was given.
11647 if test "${enable_x11_shm+set}" = set; then
11648 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
11650 x11_hidd_shm
="auto"
11653 case "x-$x11_hidd_shm" in
11654 x-yes|x-no|x-auto
) ;;
11655 *) x11_hidd_shm
="auto" ;;
11660 if test "x-$x11_hidd_shm" != "x-no" ; then
11663 for ac_header
in sys
/ipc.h
11665 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11666 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11667 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11668 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11669 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11670 echo $ECHO_N "(cached) $ECHO_C" >&6
11672 ac_res
=`eval echo '${'$as_ac_Header'}'`
11673 { echo "$as_me:$LINENO: result: $ac_res" >&5
11674 echo "${ECHO_T}$ac_res" >&6; }
11676 # Is the header compilable?
11677 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11678 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11679 cat >conftest.
$ac_ext <<_ACEOF
11682 cat confdefs.h
>>conftest.
$ac_ext
11683 cat >>conftest.
$ac_ext <<_ACEOF
11684 /* end confdefs.h. */
11685 $ac_includes_default
11686 #include <$ac_header>
11688 rm -f conftest.
$ac_objext
11689 if { (ac_try
="$ac_compile"
11690 case "(($ac_try" in
11691 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11692 *) ac_try_echo=$ac_try;;
11694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11695 (eval "$ac_compile") 2>conftest.er1
11697 grep -v '^ *+' conftest.er1 >conftest.err
11699 cat conftest.err >&5
11700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11701 (exit $ac_status); } && {
11702 test -z "$ac_c_werror_flag" ||
11703 test ! -s conftest.err
11704 } && test -s conftest.$ac_objext; then
11705 ac_header_compiler=yes
11707 echo "$as_me: failed program was:" >&5
11708 sed 's/^/| /' conftest.$ac_ext >&5
11710 ac_header_compiler=no
11713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11714 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11715 echo "${ECHO_T}$ac_header_compiler" >&6; }
11717 # Is the header present?
11718 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11719 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11720 cat >conftest.$ac_ext <<_ACEOF
11723 cat confdefs.h >>conftest.$ac_ext
11724 cat >>conftest.$ac_ext <<_ACEOF
11725 /* end confdefs.h. */
11726 #include <$ac_header>
11728 if { (ac_try="$ac_cpp conftest.$ac_ext"
11729 case "(($ac_try" in
11730 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11731 *) ac_try_echo
=$ac_try;;
11733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11734 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11736 grep -v '^ *+' conftest.er1
>conftest.err
11738 cat conftest.err
>&5
11739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11740 (exit $ac_status); } >/dev
/null
&& {
11741 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11742 test ! -s conftest.err
11744 ac_header_preproc
=yes
11746 echo "$as_me: failed program was:" >&5
11747 sed 's/^/| /' conftest.
$ac_ext >&5
11749 ac_header_preproc
=no
11752 rm -f conftest.err conftest.
$ac_ext
11753 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11754 echo "${ECHO_T}$ac_header_preproc" >&6; }
11756 # So? What about this header?
11757 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11759 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11760 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11761 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11762 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11763 ac_header_preproc
=yes
11766 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11767 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11768 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11769 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11770 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11771 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11772 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11773 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11774 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11775 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11776 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11777 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11781 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11782 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11783 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11784 echo $ECHO_N "(cached) $ECHO_C" >&6
11786 eval "$as_ac_Header=\$ac_header_preproc"
11788 ac_res
=`eval echo '${'$as_ac_Header'}'`
11789 { echo "$as_me:$LINENO: result: $ac_res" >&5
11790 echo "${ECHO_T}$ac_res" >&6; }
11793 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11794 cat >>confdefs.h
<<_ACEOF
11795 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11803 for ac_header
in sys
/shm.h
11805 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11806 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11807 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11808 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11809 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11810 echo $ECHO_N "(cached) $ECHO_C" >&6
11812 ac_res
=`eval echo '${'$as_ac_Header'}'`
11813 { echo "$as_me:$LINENO: result: $ac_res" >&5
11814 echo "${ECHO_T}$ac_res" >&6; }
11816 # Is the header compilable?
11817 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11818 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11819 cat >conftest.
$ac_ext <<_ACEOF
11822 cat confdefs.h
>>conftest.
$ac_ext
11823 cat >>conftest.
$ac_ext <<_ACEOF
11824 /* end confdefs.h. */
11825 $ac_includes_default
11826 #include <$ac_header>
11828 rm -f conftest.
$ac_objext
11829 if { (ac_try
="$ac_compile"
11830 case "(($ac_try" in
11831 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11832 *) ac_try_echo=$ac_try;;
11834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11835 (eval "$ac_compile") 2>conftest.er1
11837 grep -v '^ *+' conftest.er1 >conftest.err
11839 cat conftest.err >&5
11840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11841 (exit $ac_status); } && {
11842 test -z "$ac_c_werror_flag" ||
11843 test ! -s conftest.err
11844 } && test -s conftest.$ac_objext; then
11845 ac_header_compiler=yes
11847 echo "$as_me: failed program was:" >&5
11848 sed 's/^/| /' conftest.$ac_ext >&5
11850 ac_header_compiler=no
11853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11854 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11855 echo "${ECHO_T}$ac_header_compiler" >&6; }
11857 # Is the header present?
11858 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11859 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11860 cat >conftest.$ac_ext <<_ACEOF
11863 cat confdefs.h >>conftest.$ac_ext
11864 cat >>conftest.$ac_ext <<_ACEOF
11865 /* end confdefs.h. */
11866 #include <$ac_header>
11868 if { (ac_try="$ac_cpp conftest.$ac_ext"
11869 case "(($ac_try" in
11870 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11871 *) ac_try_echo
=$ac_try;;
11873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11874 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11876 grep -v '^ *+' conftest.er1
>conftest.err
11878 cat conftest.err
>&5
11879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11880 (exit $ac_status); } >/dev
/null
&& {
11881 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11882 test ! -s conftest.err
11884 ac_header_preproc
=yes
11886 echo "$as_me: failed program was:" >&5
11887 sed 's/^/| /' conftest.
$ac_ext >&5
11889 ac_header_preproc
=no
11892 rm -f conftest.err conftest.
$ac_ext
11893 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11894 echo "${ECHO_T}$ac_header_preproc" >&6; }
11896 # So? What about this header?
11897 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11899 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11900 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11901 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11902 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11903 ac_header_preproc
=yes
11906 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11907 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11908 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11909 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11910 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11911 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11912 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11913 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11914 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11915 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11916 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11917 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11921 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11922 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11923 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11924 echo $ECHO_N "(cached) $ECHO_C" >&6
11926 eval "$as_ac_Header=\$ac_header_preproc"
11928 ac_res
=`eval echo '${'$as_ac_Header'}'`
11929 { echo "$as_me:$LINENO: result: $ac_res" >&5
11930 echo "${ECHO_T}$ac_res" >&6; }
11933 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11934 cat >>confdefs.h
<<_ACEOF
11935 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11943 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
11945 save_cflags
="$CFLAGS"
11946 CFLAGS
="$CFLAGS $x_cflags"
11947 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
11948 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
11949 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
11950 echo $ECHO_N "(cached) $ECHO_C" >&6
11952 ac_check_lib_save_LIBS
=$LIBS
11953 LIBS
="-lXext $LIBS"
11954 cat >conftest.
$ac_ext <<_ACEOF
11957 cat confdefs.h
>>conftest.
$ac_ext
11958 cat >>conftest.
$ac_ext <<_ACEOF
11959 /* end confdefs.h. */
11961 /* Override any GCC internal prototype to avoid an error.
11962 Use char because int might match the return type of a GCC
11963 builtin and then its argument prototype would still apply. */
11967 char XShmQueryExtension ();
11971 return XShmQueryExtension ();
11976 rm -f conftest.
$ac_objext conftest
$ac_exeext
11977 if { (ac_try
="$ac_link"
11978 case "(($ac_try" in
11979 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11980 *) ac_try_echo=$ac_try;;
11982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11983 (eval "$ac_link") 2>conftest.er1
11985 grep -v '^ *+' conftest.er1 >conftest.err
11987 cat conftest.err >&5
11988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11989 (exit $ac_status); } && {
11990 test -z "$ac_c_werror_flag" ||
11991 test ! -s conftest.err
11992 } && test -s conftest$ac_exeext &&
11993 $as_test_x conftest$ac_exeext; then
11994 ac_cv_lib_Xext_XShmQueryExtension=yes
11996 echo "$as_me: failed program was:" >&5
11997 sed 's/^/| /' conftest.$ac_ext >&5
11999 ac_cv_lib_Xext_XShmQueryExtension=no
12002 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12003 conftest$ac_exeext conftest.$ac_ext
12004 LIBS=$ac_check_lib_save_LIBS
12006 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
12007 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
12008 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
12012 CFLAGS="$save_cflags"
12016 if test "x-$have_xshm" = "x-yes" ; then
12017 DO_XSHM_SUPPORT="1"
12018 elif test "x-$x11_hidd_shm" = "x-yes" ; then
12019 { { echo "$as_me:$LINENO: error: X11 has no support for shared memory, cannot enable it as requested" >&5
12020 echo "$as_me: error: X11 has no support for shared memory, cannot enable it as requested" >&2;}
12021 { (exit 1); exit 1; }; }
12023 DO_XSHM_SUPPORT="0"
12027 # Check whether --enable-x11_vidmode was given.
12028 if test "${enable_x11_vidmode+set}" = set; then
12029 enableval=$enable_x11_vidmode; x11_hidd_vidmode="$enableval"
12031 x11_hidd_vidmode="auto"
12034 case "x-$x11_hidd_vidmode" in
12035 x-yes|x-no|x-auto) ;;
12036 *) x11_hidd_vidmode="auto" ;;
12041 if test "x-$x11_hidd_vidmode" != "x-no" ; then
12043 save_cflags="$CFLAGS"
12044 CFLAGS="$CFLAGS $x_cflags"
12045 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
12046 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
12047 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
12048 echo $ECHO_N "(cached) $ECHO_C" >&6
12050 ac_check_lib_save_LIBS=$LIBS
12051 LIBS="-lXxf86vm $LIBS"
12052 cat >conftest.$ac_ext <<_ACEOF
12055 cat confdefs.h >>conftest.$ac_ext
12056 cat >>conftest.$ac_ext <<_ACEOF
12057 /* end confdefs.h. */
12059 /* Override any GCC internal prototype to avoid an error.
12060 Use char because int might match the return type of a GCC
12061 builtin and then its argument prototype would still apply. */
12065 char XF86VidModeQueryExtension ();
12069 return XF86VidModeQueryExtension ();
12074 rm -f conftest.$ac_objext conftest$ac_exeext
12075 if { (ac_try="$ac_link"
12076 case "(($ac_try" in
12077 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12078 *) ac_try_echo
=$ac_try;;
12080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12081 (eval "$ac_link") 2>conftest.er1
12083 grep -v '^ *+' conftest.er1
>conftest.err
12085 cat conftest.err
>&5
12086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12087 (exit $ac_status); } && {
12088 test -z "$ac_c_werror_flag" ||
12089 test ! -s conftest.err
12090 } && test -s conftest
$ac_exeext &&
12091 $as_test_x conftest
$ac_exeext; then
12092 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
12094 echo "$as_me: failed program was:" >&5
12095 sed 's/^/| /' conftest.
$ac_ext >&5
12097 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
12100 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12101 conftest
$ac_exeext conftest.
$ac_ext
12102 LIBS
=$ac_check_lib_save_LIBS
12104 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
12105 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
12106 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
12110 CFLAGS
="$save_cflags"
12113 if test "x-$have_vidmode" = "x-yes" ; then
12114 DO_VIDMODE_SUPPORT
="1"
12115 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
12116 { { echo "$as_me:$LINENO: error: X11 vidmode extension not available, cannot enable it as requested" >&5
12117 echo "$as_me: error: X11 vidmode extension not available, cannot enable it as requested" >&2;}
12118 { (exit 1); exit 1; }; }
12120 DO_VIDMODE_SUPPORT
="0"
12124 aros_host_x11_includes
=$x_includes
12125 aros_host_x11_libdirs
=$x_libraries
12129 # Check whether --enable-sdl_hidd was given.
12130 if test "${enable_sdl_hidd+set}" = set; then
12131 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
12136 case "x-$sdl_hidd" in
12137 x-yes|x-no|x-auto
) ;;
12138 *) sdl_hidd
="auto" ;;
12141 if test "x-$sdl_hidd" != "x-no" ; then
12144 # Check whether --with-sdl-prefix was given.
12145 if test "${with_sdl_prefix+set}" = set; then
12146 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
12152 # Check whether --with-sdl-exec-prefix was given.
12153 if test "${with_sdl_exec_prefix+set}" = set; then
12154 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
12159 # Check whether --enable-sdltest was given.
12160 if test "${enable_sdltest+set}" = set; then
12161 enableval
=$enable_sdltest;
12167 if test x
$sdl_exec_prefix != x
; then
12168 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
12169 if test x
${SDL_CONFIG+set} != xset
; then
12170 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
12173 if test x
$sdl_prefix != x
; then
12174 sdl_args
="$sdl_args --prefix=$sdl_prefix"
12175 if test x
${SDL_CONFIG+set} != xset
; then
12176 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
12180 if test "x$prefix" != xNONE
; then
12181 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
12183 # Extract the first word of "sdl-config", so it can be a program name with args.
12184 set dummy sdl-config
; ac_word
=$2
12185 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12187 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
12188 echo $ECHO_N "(cached) $ECHO_C" >&6
12190 case $SDL_CONFIG in
12192 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
12195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12196 for as_dir
in $PATH
12199 test -z "$as_dir" && as_dir
=.
12200 for ac_exec_ext
in '' $ac_executable_extensions; do
12201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12202 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12210 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
12214 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
12215 if test -n "$SDL_CONFIG"; then
12216 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
12217 echo "${ECHO_T}$SDL_CONFIG" >&6; }
12219 { echo "$as_me:$LINENO: result: no" >&5
12220 echo "${ECHO_T}no" >&6; }
12224 min_sdl_version
=1.2.10
12225 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
12226 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
12228 if test "$SDL_CONFIG" = "no" ; then
12231 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
12232 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
12234 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
12235 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12236 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
12237 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12238 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
12239 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12240 if test "x$enable_sdltest" = "xyes" ; then
12241 ac_save_CFLAGS
="$CFLAGS"
12242 ac_save_CXXFLAGS
="$CXXFLAGS"
12243 ac_save_LIBS
="$LIBS"
12244 CFLAGS
="$CFLAGS $SDL_CFLAGS"
12245 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
12246 LIBS
="$LIBS $SDL_LIBS"
12248 if test "$cross_compiling" = yes; then
12249 echo $ac_n "cross compiling; assumed OK... $ac_c"
12251 cat >conftest.
$ac_ext <<_ACEOF
12254 cat confdefs.h
>>conftest.
$ac_ext
12255 cat >>conftest.
$ac_ext <<_ACEOF
12256 /* end confdefs.h. */
12259 #include <stdlib.h>
12260 #include <string.h>
12264 my_strdup (char *str)
12270 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
12271 strcpy (new_str, str);
12279 int main (int argc, char *argv[])
12281 int major, minor, micro;
12284 /* This hangs on some systems (?)
12285 system ("touch conf.sdltest");
12287 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
12289 /* HP/UX 9 (%@#!) writes to sscanf strings */
12290 tmp_version = my_strdup("$min_sdl_version");
12291 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12292 printf("%s, bad version string\n", "$min_sdl_version");
12296 if (($sdl_major_version > major) ||
12297 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
12298 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
12304 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
12305 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
12306 printf("*** best to upgrade to the required version.\n");
12307 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
12308 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
12309 printf("*** config.cache before re-running configure\n");
12316 rm -f conftest
$ac_exeext
12317 if { (ac_try
="$ac_link"
12318 case "(($ac_try" in
12319 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12320 *) ac_try_echo=$ac_try;;
12322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12323 (eval "$ac_link") 2>&5
12325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12326 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12327 { (case "(($ac_try" in
12328 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12329 *) ac_try_echo
=$ac_try;;
12331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12332 (eval "$ac_try") 2>&5
12334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12335 (exit $ac_status); }; }; then
12338 echo "$as_me: program exited with status $ac_status" >&5
12339 echo "$as_me: failed program was:" >&5
12340 sed 's/^/| /' conftest.
$ac_ext >&5
12342 ( exit $ac_status )
12345 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12349 CFLAGS
="$ac_save_CFLAGS"
12350 CXXFLAGS
="$ac_save_CXXFLAGS"
12351 LIBS
="$ac_save_LIBS"
12354 if test "x$no_sdl" = x
; then
12355 { echo "$as_me:$LINENO: result: yes" >&5
12356 echo "${ECHO_T}yes" >&6; }
12359 { echo "$as_me:$LINENO: result: no" >&5
12360 echo "${ECHO_T}no" >&6; }
12361 if test "$SDL_CONFIG" = "no" ; then
12362 echo "*** The sdl-config script installed by SDL could not be found"
12363 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
12364 echo "*** your path, or set the SDL_CONFIG environment variable to the"
12365 echo "*** full path to sdl-config."
12367 if test -f conf.sdltest
; then
12370 echo "*** Could not run SDL test program, checking why..."
12371 CFLAGS
="$CFLAGS $SDL_CFLAGS"
12372 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
12373 LIBS
="$LIBS $SDL_LIBS"
12374 cat >conftest.
$ac_ext <<_ACEOF
12377 cat confdefs.h
>>conftest.
$ac_ext
12378 cat >>conftest.
$ac_ext <<_ACEOF
12379 /* end confdefs.h. */
12384 int main(int argc, char *argv[])
12387 #define main K_and_R_C_main
12397 rm -f conftest.
$ac_objext conftest
$ac_exeext
12398 if { (ac_try
="$ac_link"
12399 case "(($ac_try" in
12400 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12401 *) ac_try_echo=$ac_try;;
12403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12404 (eval "$ac_link") 2>conftest.er1
12406 grep -v '^ *+' conftest.er1 >conftest.err
12408 cat conftest.err >&5
12409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12410 (exit $ac_status); } && {
12411 test -z "$ac_c_werror_flag" ||
12412 test ! -s conftest.err
12413 } && test -s conftest$ac_exeext &&
12414 $as_test_x conftest$ac_exeext; then
12415 echo "*** The test program compiled, but did not run. This usually means"
12416 echo "*** that the run-time linker is not finding SDL or finding the wrong"
12417 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
12418 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12419 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12420 echo "*** is required on your system"
12422 echo "*** If you have an old version installed, it is best to remove it, although"
12423 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12425 echo "$as_me: failed program was:" >&5
12426 sed 's/^/| /' conftest.$ac_ext >&5
12428 echo "*** The test program failed to compile or link. See the file config.log for the"
12429 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
12430 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
12431 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
12434 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12435 conftest$ac_exeext conftest.$ac_ext
12436 CFLAGS="$ac_save_CFLAGS"
12437 CXXFLAGS="$ac_save_CXXFLAGS"
12438 LIBS="$ac_save_LIBS"
12450 if test "x-$have_sdl" != "x-yes" ; then
12452 if test "x-$sdl_hidd" != "x-auto" ; then
12453 { { echo "$as_me:$LINENO: error: SDL libs/headers not found, cannot build SDL hidd as requested" >&5
12454 echo "$as_me: error: SDL libs/headers not found, cannot build SDL hidd as requested" >&2;}
12455 { (exit 1); exit 1; }; }
12459 sdl_hidd_target=kernel-hidd-sdl
12460 aros_host_sdl_cflags=SDL_CFLAGS
12461 aros_host_sdl_libs=SDL_LIBS
12468 { echo "$as_me:$LINENO: checking if building of dbus.library is enabled" >&5
12469 echo $ECHO_N "checking if building of dbus.library is enabled... $ECHO_C" >&6; }
12470 # Check whether --enable-dbus was given.
12471 if test "${enable_dbus+set}" = set; then
12472 enableval=$enable_dbus; dbus="yes"
12477 if test "$dbus" = "yes" ; then
12479 DBUS_CFLAGS=`pkg-config
--cflags dbus-1
`
12480 DBUS_LIBFLAGS=`pkg-config
--libs dbus-1
`
12481 KERNEL_DBUS_KOBJ=kernel-dbus-kobj
12482 KERNEL_DBUS_INCLUDES=kernel-dbus-includes
12486 { echo "$as_me:$LINENO: result: $dbus" >&5
12487 echo "${ECHO_T}$dbus" >&6; }
12582 # Native version related
12586 # Palm native version related
12589 # Unix/Hosted version related
12605 # Collect-aros stuff: "-ius" to ignore undefined symbols
12608 # C compiler related
12611 case "$aros_flavour" in
12612 emulation) aros_flavour_uc="AROS_FLAVOUR_EMULATION"
12613 aros_flavour="emulation" ;;
12614 emulcompat) aros_flavour_uc="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
12615 aros_flavour="emulation" ;;
12616 standalone) aros_flavour_uc="AROS_FLAVOUR_STANDALONE"
12617 aros_flavour="standalone";;
12618 native) aros_flavour_uc="AROS_FLAVOUR_NATIVE"
12619 aros_flavour="native" ;;
12620 nativecompat) aros_flavour_uc="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
12621 aros_flavour="native" ;;
12622 linklib) aros_flavour_uc="AROS_FLAVOUR_LINKLIB"
12623 aros_flavour="linklib" ;;
12624 palmnative) aros_flavour_uc="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
12625 aros_flavour="palmnative" ;;
12626 mac68knative) aros_flavour_uc="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
12627 aros_flavour="mac68knative" ;;
12628 ppcnative) aros_flavour_uc="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
12629 aros_flavour="ppcnative" ;;
12632 if test ! -d ${aros_inc_dir} ; then
12633 ${MKDIR} ${aros_inc_dir}
12635 if test ! -d ${aros_geninc_dir} ; then
12636 ${MKDIR} ${aros_geninc_dir}
12638 if test ! -d ${aros_hostcfg_dir} ; then
12639 ${MKDIR} ${aros_hostcfg_dir}
12641 if test ! -d ${aros_targetcfg_dir} ; then
12642 ${MKDIR} ${aros_targetcfg_dir}
12644 if test ! -d ${aros_tools_dir} ; then
12645 ${MKDIR} ${aros_tools_dir}
12647 if test ! -d ${aros_scripts_dir} ; then
12648 ${MKDIR} ${aros_scripts_dir}
12651 ac_config_headers="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
12654 ac_config_commands="$ac_config_commands compiler_executable"
12656 ac_config_commands="$ac_config_commands genshared_executable"
12658 ac_config_commands="$ac_config_commands genmf_executable"
12660 ac_config_commands="$ac_config_commands adflib_myaros.conf_executable"
12663 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"
12666 cat >confcache <<\_ACEOF
12667 # This file is a shell script that caches the results of configure
12668 # tests run on this system so they can be shared between configure
12669 # scripts and configure runs, see configure's option --config-cache.
12670 # It is not useful on other systems. If it contains results you don't
12671 # want to keep, you may remove or edit it.
12673 # config.status only pays attention to the cache file if you give it
12674 # the --recheck option to rerun configure.
12676 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
12677 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12678 # following values.
12682 # The following way of writing the cache mishandles newlines in values,
12683 # but we know of no workaround that is simple, portable, and efficient.
12684 # So, we kill variables containing newlines.
12685 # Ultrix sh set writes to stderr and can't be redirected directly,
12686 # and sets the high bit in the cache file unless we assign to the vars.
12688 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12689 eval ac_val
=\$
$ac_var
12693 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12694 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12697 _ | IFS | as_nl
) ;; #(
12698 *) $as_unset $ac_var ;;
12704 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12705 *${as_nl}ac_space
=\
*)
12706 # `set' does not quote correctly, so add quotes (double-quote
12707 # substitution turns \\\\ into \\, and sed turns \\ into \).
12710 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12713 # `set' quotes correctly as required by POSIX, so do not add quotes.
12714 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12723 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12725 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12727 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12728 if test -w "$cache_file"; then
12729 test "x$cache_file" != "x/dev/null" &&
12730 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12731 echo "$as_me: updating cache $cache_file" >&6;}
12732 cat confcache
>$cache_file
12734 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12735 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12740 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12741 # Let make expand exec_prefix.
12742 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12744 DEFS
=-DHAVE_CONFIG_H
12748 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12749 # 1. Remove the extension, and $U if already installed.
12750 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12751 ac_i
=`echo "$ac_i" | sed "$ac_script"`
12752 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12753 # will be set to the directory where LIBOBJS objects are built.
12754 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12755 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
12757 LIBOBJS
=$ac_libobjs
12759 LTLIBOBJS
=$ac_ltlibobjs
12763 : ${CONFIG_STATUS=./config.status}
12764 ac_clean_files_save
=$ac_clean_files
12765 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12766 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12767 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12768 cat >$CONFIG_STATUS <<_ACEOF
12770 # Generated by $as_me.
12771 # Run this file to recreate the current configuration.
12772 # Compiler output produced by configure, useful for debugging
12773 # configure, is in config.log if it exists.
12776 ac_cs_recheck=false
12778 SHELL=\${CONFIG_SHELL-$SHELL}
12781 cat >>$CONFIG_STATUS <<\_ACEOF
12782 ## --------------------- ##
12783 ## M4sh Initialization. ##
12784 ## --------------------- ##
12786 # Be more Bourne compatible
12787 DUALCASE
=1; export DUALCASE
# for MKS sh
12788 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
12791 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12792 # is contrary to our usage. Disable this feature.
12793 alias -g '${1+"$@"}'='"$@"'
12794 setopt NO_GLOB_SUBST
12796 case `(set -o) 2>/dev/null` in
12797 *posix
*) set -o posix
;;
12806 # Avoid depending upon Character Ranges.
12807 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12808 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12809 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12810 as_cr_digits
='0123456789'
12811 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12813 # The user is always right.
12814 if test "${PATH_SEPARATOR+set}" != set; then
12815 echo "#! /bin/sh" >conf$$.sh
12816 echo "exit 0" >>conf$$.sh
12818 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12826 # Support unset when possible.
12827 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
12835 # We need space, tab and new line, in precisely that order. Quoting is
12836 # there to prevent editors from complaining about space-tab.
12837 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12838 # splitting by setting IFS to empty value.)
12843 # Find who we are. Look in the path if we contain no directory separator.
12845 *[\\/]* ) as_myself
=$0 ;;
12846 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12847 for as_dir
in $PATH
12850 test -z "$as_dir" && as_dir
=.
12851 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
12857 # We did not find ourselves, most probably we were run as `sh COMMAND'
12858 # in which case we are not to be found in the path.
12859 if test "x$as_myself" = x
; then
12862 if test ! -f "$as_myself"; then
12863 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12864 { (exit 1); exit 1; }
12867 # Work around bugs in pre-3.0 UWIN ksh.
12868 for as_var
in ENV MAIL MAILPATH
12869 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
12877 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12878 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12879 LC_TELEPHONE LC_TIME
12881 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12882 eval $as_var=C
; export $as_var
12884 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
12888 # Required to use basename.
12889 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12890 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12896 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12897 as_basename
=basename
12903 # Name of the executable.
12904 as_me
=`$as_basename -- "$0" ||
12905 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12906 X"$0" : 'X\(//\)$' \| \
12907 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12909 sed '/^.*\/\([^/][^/]*\)\/*$/{
12928 as_lineno_1
=$LINENO
12929 as_lineno_2
=$LINENO
12930 test "x$as_lineno_1" != "x$as_lineno_2" &&
12931 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
12933 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12934 # uniformly replaced by the line number. The first 'sed' inserts a
12935 # line-number line after each line using $LINENO; the second 'sed'
12936 # does the real work. The second script uses 'N' to pair each
12937 # line-number line with the line containing $LINENO, and appends
12938 # trailing '-' during substitution so that $LINENO is not a special
12939 # case at line end.
12940 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12941 # scripts with optimization help from Paolo Bonzini. Blame Lee
12942 # E. McMahon (1931-1989) for sed's syntax. :-)
12954 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
12957 ' >$as_me.lineno
&&
12958 chmod +x
"$as_me.lineno" ||
12959 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
12960 { (exit 1); exit 1; }; }
12962 # Don't try to exec as it changes $[0], causing all sort of problems
12963 # (the dirname of $[0] is not the place where we might find the
12964 # original and so on. Autoconf is especially sensitive to this).
12965 .
"./$as_me.lineno"
12966 # Exit status is that of the last command.
12971 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12977 ECHO_C
= ECHO_N
= ECHO_T
=
12978 case `echo -n x` in
12980 case `echo 'x\c'` in
12981 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12988 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12989 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12995 rm -f conf$$ conf$$.exe conf$$.
file
12996 if test -d conf$$.dir
; then
12997 rm -f conf$$.dir
/conf$$.
file
13003 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13005 # ... but there are two gotchas:
13006 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13007 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13008 # In both cases, we have to default to `cp -p'.
13009 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13011 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13016 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13017 rmdir conf$$.dir
2>/dev
/null
13019 if mkdir
-p .
2>/dev
/null
; then
13022 test -d .
/-p && rmdir .
/-p
13026 if test -x / >/dev
/null
2>&1; then
13027 as_test_x
='test -x'
13029 if ls -dL / >/dev
/null
2>&1; then
13036 if test -d "$1"; then
13042 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13043 ???[sx]*):;;*)false;;esac;fi
13047 as_executable_p
=$as_test_x
13049 # Sed expression to map a string onto a valid CPP name.
13050 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13052 # Sed expression to map a string onto a valid variable name.
13053 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13058 # Save the log message, to keep $[0] and so on meaningful, and to
13059 # report actual input values of CONFIG_FILES etc. instead of their
13060 # values after options handling.
13062 This file was extended by $as_me, which was
13063 generated by GNU Autoconf 2.61. Invocation command line was
13065 CONFIG_FILES = $CONFIG_FILES
13066 CONFIG_HEADERS = $CONFIG_HEADERS
13067 CONFIG_LINKS = $CONFIG_LINKS
13068 CONFIG_COMMANDS = $CONFIG_COMMANDS
13071 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13076 cat >>$CONFIG_STATUS <<_ACEOF
13077 # Files that config.status was made for.
13078 config_files="$ac_config_files"
13079 config_headers="$ac_config_headers"
13080 config_commands="$ac_config_commands"
13084 cat >>$CONFIG_STATUS <<\_ACEOF
13086 \`$as_me' instantiates files from templates according to the
13087 current configuration.
13089 Usage: $0 [OPTIONS] [FILE]...
13091 -h, --help print this help, then exit
13092 -V, --version print version number and configuration settings, then exit
13093 -q, --quiet do not print progress messages
13094 -d, --debug don't remove temporary files
13095 --recheck update $as_me by reconfiguring in the same conditions
13096 --file=FILE[:TEMPLATE]
13097 instantiate the configuration file FILE
13098 --header=FILE[:TEMPLATE]
13099 instantiate the configuration header FILE
13101 Configuration files:
13104 Configuration headers:
13107 Configuration commands:
13110 Report bugs to <bug-autoconf@gnu.org>."
13113 cat >>$CONFIG_STATUS <<_ACEOF
13116 configured by $0, generated by GNU Autoconf 2.61,
13117 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13119 Copyright (C) 2006 Free Software Foundation, Inc.
13120 This config.status script is free software; the Free Software Foundation
13121 gives unlimited permission to copy, distribute and modify it."
13127 cat >>$CONFIG_STATUS <<\_ACEOF
13128 # If no file are specified by the user, then we need to provide default
13129 # value. By we need to know if files were specified by the user.
13135 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13136 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13147 # Handling of the options.
13148 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13150 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13151 echo "$ac_cs_version"; exit ;;
13152 --debug |
--debu |
--deb |
--de |
--d |
-d )
13154 --file |
--fil |
--fi |
--f )
13156 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
13157 ac_need_defaults
=false
;;
13158 --header |
--heade |
--head |
--hea )
13160 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
13161 ac_need_defaults
=false
;;
13163 # Conflict between --help and --header
13164 { echo "$as_me: error: ambiguous option: $1
13165 Try \`$0 --help' for more information." >&2
13166 { (exit 1); exit 1; }; };;
13167 --help |
--hel |
-h )
13168 echo "$ac_cs_usage"; exit ;;
13169 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13170 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13173 # This is an error.
13174 -*) { echo "$as_me: error: unrecognized option: $1
13175 Try \`$0 --help' for more information." >&2
13176 { (exit 1); exit 1; }; } ;;
13178 *) ac_config_targets
="$ac_config_targets $1"
13179 ac_need_defaults
=false
;;
13185 ac_configure_extra_args
=
13187 if $ac_cs_silent; then
13189 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13193 cat >>$CONFIG_STATUS <<_ACEOF
13194 if \$ac_cs_recheck; then
13195 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13196 CONFIG_SHELL=$SHELL
13197 export CONFIG_SHELL
13198 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13202 cat >>$CONFIG_STATUS <<\_ACEOF
13206 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13207 ## Running $as_me. ##
13213 cat >>$CONFIG_STATUS <<_ACEOF
13218 aros_tools_dir=${aros_tools_dir}
13219 aros_target_cpu=${aros_target_cpu}
13220 aros_target_arch=${aros_target_arch}
13221 aros_target_suffix=${aros_target_suffix}
13222 aros_target_nm_ln=${aros_target_nm_ln}
13223 aros_target_as_ln=${aros_target_as_ln}
13224 aros_target_ar_ln=${aros_target_ar_ln}
13225 aros_target_ranlib_ln=${aros_target_ranlib_ln}
13226 aros_target_objdump_ln=${aros_target_objdump_ln}
13227 aros_target_objcopy_ln=${aros_target_objcopy_ln}
13228 aros_target_strip_ln=${aros_target_strip_ln}
13231 aros_scripts_dir=${aros_scripts_dir}
13233 aros_tools_dir=${aros_tools_dir}
13238 cat >>$CONFIG_STATUS <<\_ACEOF
13240 # Handling of arguments.
13241 for ac_config_target
in $ac_config_targets
13243 case $ac_config_target in
13244 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
13245 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
13246 "genshared_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genshared_executable" ;;
13247 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
13248 "adflib_myaros.conf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS adflib_myaros.conf_executable" ;;
13249 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13250 "rom/mmakefile") CONFIG_FILES
="$CONFIG_FILES rom/mmakefile" ;;
13251 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
13252 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
13253 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
13254 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
13255 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
13256 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
13257 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
13258 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
13259 "${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" ;;
13260 "${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" ;;
13261 "${aros_scripts_dir}/genshared") CONFIG_FILES
="$CONFIG_FILES ${aros_scripts_dir}/genshared:compiler/c_lib/source/lib_source/genshared.in" ;;
13262 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
13263 "tools/adflib/myconf.aros") CONFIG_FILES
="$CONFIG_FILES tools/adflib/myconf.aros" ;;
13264 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
13266 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13267 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13268 { (exit 1); exit 1; }; };;
13273 # If the user did not use the arguments to specify the items to instantiate,
13274 # then the envvar interface is used. Set only those that are not.
13275 # We use the long form for the default assignment because of an extremely
13276 # bizarre bug on SunOS 4.1.3.
13277 if $ac_need_defaults; then
13278 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13279 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13280 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13283 # Have a temporary directory for convenience. Make it in the build tree
13284 # simply because there is no reason against having it here, and in addition,
13285 # creating and moving files from /tmp can sometimes cause problems.
13286 # Hook for its removal unless debugging.
13287 # Note that there is a small window in which the directory will not be cleaned:
13288 # after its creation but before its name has been assigned to `$tmp'.
13292 trap 'exit_status=$?
13293 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13295 trap '{ (exit 1); exit 1; }' 1 2 13 15
13297 # Create a (secure) tmp directory for tmp files.
13300 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13301 test -n "$tmp" && test -d "$tmp"
13304 tmp
=.
/conf$$
-$RANDOM
13305 (umask 077 && mkdir
"$tmp")
13308 echo "$me: cannot create a temporary directory in ." >&2
13309 { (exit 1); exit 1; }
13313 # Set up the sed scripts for CONFIG_FILES section.
13316 # No need to generate the scripts if there are no CONFIG_FILES.
13317 # This happens for instance when ./config.status config.h
13318 if test -n "$CONFIG_FILES"; then
13325 for ac_last_try
in false false false false false
:; do
13326 cat >conf$
$subs.
sed <<_ACEOF
13327 SHELL!$SHELL$ac_delim
13328 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
13329 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
13330 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
13331 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
13332 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
13333 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
13334 exec_prefix!$exec_prefix$ac_delim
13335 prefix!$prefix$ac_delim
13336 program_transform_name!$program_transform_name$ac_delim
13337 bindir!$bindir$ac_delim
13338 sbindir!$sbindir$ac_delim
13339 libexecdir!$libexecdir$ac_delim
13340 datarootdir!$datarootdir$ac_delim
13341 datadir!$datadir$ac_delim
13342 sysconfdir!$sysconfdir$ac_delim
13343 sharedstatedir!$sharedstatedir$ac_delim
13344 localstatedir!$localstatedir$ac_delim
13345 includedir!$includedir$ac_delim
13346 oldincludedir!$oldincludedir$ac_delim
13347 docdir!$docdir$ac_delim
13348 infodir!$infodir$ac_delim
13349 htmldir!$htmldir$ac_delim
13350 dvidir!$dvidir$ac_delim
13351 pdfdir!$pdfdir$ac_delim
13352 psdir!$psdir$ac_delim
13353 libdir!$libdir$ac_delim
13354 localedir!$localedir$ac_delim
13355 mandir!$mandir$ac_delim
13356 DEFS!$DEFS$ac_delim
13357 ECHO_C!$ECHO_C$ac_delim
13358 ECHO_N!$ECHO_N$ac_delim
13359 ECHO_T!$ECHO_T$ac_delim
13360 LIBS!$LIBS$ac_delim
13361 build_alias!$build_alias$ac_delim
13362 host_alias!$host_alias$ac_delim
13363 target_alias!$target_alias$ac_delim
13364 build!$build$ac_delim
13365 build_cpu!$build_cpu$ac_delim
13366 build_vendor!$build_vendor$ac_delim
13367 build_os!$build_os$ac_delim
13368 host!$host$ac_delim
13369 host_cpu!$host_cpu$ac_delim
13370 host_vendor!$host_vendor$ac_delim
13371 host_os!$host_os$ac_delim
13373 CFLAGS!$CFLAGS$ac_delim
13374 LDFLAGS!$LDFLAGS$ac_delim
13375 CPPFLAGS!$CPPFLAGS$ac_delim
13376 ac_ct_CC!$ac_ct_CC$ac_delim
13377 EXEEXT!$EXEEXT$ac_delim
13378 OBJEXT!$OBJEXT$ac_delim
13381 MMAKE!$MMAKE$ac_delim
13382 aros_host_ld!$aros_host_ld$ac_delim
13383 aros_host_aclocal!$aros_host_aclocal$ac_delim
13384 aros_host_autoconf!$aros_host_autoconf$ac_delim
13385 aros_host_autoheader!$aros_host_autoheader$ac_delim
13386 aros_host_automake!$aros_host_automake$ac_delim
13387 aros_host_ar!$aros_host_ar$ac_delim
13388 aros_host_ranlib!$aros_host_ranlib$ac_delim
13389 aros_host_strip!$aros_host_strip$ac_delim
13393 ECHO!$ECHO$ac_delim
13394 MKDIR!$MKDIR$ac_delim
13395 TOUCH!$TOUCH$ac_delim
13396 SORT!$SORT$ac_delim
13397 UNIQ!$UNIQ$ac_delim
13400 BISON!$BISON$ac_delim
13401 FLEX!$FLEX$ac_delim
13402 PNGTOPNM!$PNGTOPNM$ac_delim
13403 PPMTOILBM!$PPMTOILBM$ac_delim
13405 CHMOD!$CHMOD$ac_delim
13406 PYTHON!$PYTHON$ac_delim
13407 PYTHON_VERSION!$PYTHON_VERSION$ac_delim
13408 PYTHON_PREFIX!$PYTHON_PREFIX$ac_delim
13409 PYTHON_EXEC_PREFIX!$PYTHON_EXEC_PREFIX$ac_delim
13410 PYTHON_PLATFORM!$PYTHON_PLATFORM$ac_delim
13411 pythondir!$pythondir$ac_delim
13412 pkgpythondir!$pkgpythondir$ac_delim
13413 pyexecdir!$pyexecdir$ac_delim
13414 pkgpyexecdir!$pkgpyexecdir$ac_delim
13417 TEST!$TEST$ac_delim
13419 GREP!$GREP$ac_delim
13420 EGREP!$EGREP$ac_delim
13421 LIBOBJS!$LIBOBJS$ac_delim
13422 DISTCC!$DISTCC$ac_delim
13423 CCACHE!$CCACHE$ac_delim
13426 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
13428 elif $ac_last_try; then
13429 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13430 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13431 { (exit 1); exit 1; }; }
13433 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
13437 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13438 if test -n "$ac_eof"; then
13439 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
13440 ac_eof
=`expr $ac_eof + 1`
13443 cat >>$CONFIG_STATUS <<_ACEOF
13444 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
13445 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13448 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13449 s/^/s,@/; s/!/@,|#_!!_#|/
13452 s/'"$ac_delim"'$/,g/; t
13454 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13455 ' >>$CONFIG_STATUS <conf$
$subs.
sed
13456 rm -f conf$
$subs.
sed
13457 cat >>$CONFIG_STATUS <<_ACEOF
13463 for ac_last_try
in false false false false false
:; do
13464 cat >conf$
$subs.
sed <<_ACEOF
13465 LIBLZO!$LIBLZO$ac_delim
13466 aros_kernel_cc!$aros_kernel_cc$ac_delim
13467 aros_target_cc!$aros_target_cc$ac_delim
13468 aros_target_ld!$aros_target_ld$ac_delim
13469 aros_target_as_ln!$aros_target_as_ln$ac_delim
13470 aros_kernel_ld!$aros_kernel_ld$ac_delim
13471 aros_target_ar_ln!$aros_target_ar_ln$ac_delim
13472 aros_target_nm_ln!$aros_target_nm_ln$ac_delim
13473 aros_target_objcopy_ln!$aros_target_objcopy_ln$ac_delim
13474 aros_target_objdump_ln!$aros_target_objdump_ln$ac_delim
13475 aros_target_ranlib_ln!$aros_target_ranlib_ln$ac_delim
13476 aros_target_strip_ln!$aros_target_strip_ln$ac_delim
13477 aros_target_nostdinc_cflags!$aros_target_nostdinc_cflags$ac_delim
13478 aros_target_nostartup_ldflags!$aros_target_nostartup_ldflags$ac_delim
13479 aros_target_nix_ldflags!$aros_target_nix_ldflags$ac_delim
13480 aros_target_detach_ldflags!$aros_target_detach_ldflags$ac_delim
13481 aros_target_nostdlib_ldflags!$aros_target_nostdlib_ldflags$ac_delim
13482 aros_cflags_iquote!$aros_cflags_iquote$ac_delim
13483 aros_cflags_iquote_end!$aros_cflags_iquote_end$ac_delim
13484 XMKMF!$XMKMF$ac_delim
13485 SDL_CONFIG!$SDL_CONFIG$ac_delim
13486 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
13487 SDL_LIBS!$SDL_LIBS$ac_delim
13488 aros_arch!$aros_arch$ac_delim
13489 aros_cpu!$aros_cpu$ac_delim
13490 aros_flavour!$aros_flavour$ac_delim
13491 aros_flavour_uc!$aros_flavour_uc$ac_delim
13492 AROS_BUILDDIR!$AROS_BUILDDIR$ac_delim
13493 SRCDIR!$SRCDIR$ac_delim
13494 AROS_PORTSSRCDIR!$AROS_PORTSSRCDIR$ac_delim
13495 aros_cc_pre!$aros_cc_pre$ac_delim
13496 aros_host_arch!$aros_host_arch$ac_delim
13497 aros_host_cpu!$aros_host_cpu$ac_delim
13498 aros_host_cc!$aros_host_cc$ac_delim
13499 aros_host_make!$aros_host_make$ac_delim
13500 aros_host_cflags!$aros_host_cflags$ac_delim
13501 aros_host_ldflags!$aros_host_ldflags$ac_delim
13502 aros_host_debug!$aros_host_debug$ac_delim
13503 aros_host_mkdep!$aros_host_mkdep$ac_delim
13504 aros_host_mkargs!$aros_host_mkargs$ac_delim
13505 aros_host_exe_suffix!$aros_host_exe_suffix$ac_delim
13506 aros_host_lib_suffix!$aros_host_lib_suffix$ac_delim
13507 aros_tools_dir!$aros_tools_dir$ac_delim
13508 aros_target_guitheme!$aros_target_guitheme$ac_delim
13509 aros_target_bootloader!$aros_target_bootloader$ac_delim
13510 aros_target_arch!$aros_target_arch$ac_delim
13511 aros_target_cpu!$aros_target_cpu$ac_delim
13512 aros_target_variant!$aros_target_variant$ac_delim
13513 aros_target_suffix!$aros_target_suffix$ac_delim
13514 aros_target_incl!$aros_target_incl$ac_delim
13515 aros_target_ar!$aros_target_ar$ac_delim
13516 aros_target_ranlib!$aros_target_ranlib$ac_delim
13517 aros_kernel_nm!$aros_kernel_nm$ac_delim
13518 orig_target_cc!$orig_target_cc$ac_delim
13519 aros_target_as!$aros_target_as$ac_delim
13520 orig_target_ld!$orig_target_ld$ac_delim
13521 aros_target_cc_includes!$aros_target_cc_includes$ac_delim
13522 aros_target_cc_path!$aros_target_cc_path$ac_delim
13523 aros_target_objdump!$aros_target_objdump$ac_delim
13524 aros_target_objcopy!$aros_target_objcopy$ac_delim
13525 aros_target_strip!$aros_target_strip$ac_delim
13526 aros_target_nm!$aros_target_nm$ac_delim
13527 aros_shared_default!$aros_shared_default$ac_delim
13528 aros_shared_ld!$aros_shared_ld$ac_delim
13529 aros_object_format!$aros_object_format$ac_delim
13530 aros_compiler_libs!$aros_compiler_libs$ac_delim
13531 aros_config_cflags!$aros_config_cflags$ac_delim
13532 aros_config_aflags!$aros_config_aflags$ac_delim
13533 aros_config_ldflags!$aros_config_ldflags$ac_delim
13534 aros_shared_cflags!$aros_shared_cflags$ac_delim
13535 aros_shared_aflags!$aros_shared_aflags$ac_delim
13536 aros_shared_ldflags!$aros_shared_ldflags$ac_delim
13537 aros_kernel_cflags!$aros_kernel_cflags$ac_delim
13538 aros_kernel_ldflags!$aros_kernel_ldflags$ac_delim
13539 aros_debug_cflags!$aros_debug_cflags$ac_delim
13540 aros_debug_aflags!$aros_debug_aflags$ac_delim
13541 aros_debug_ldflags!$aros_debug_ldflags$ac_delim
13542 aros_target_genmap!$aros_target_genmap$ac_delim
13543 aros_target_strip_flags!$aros_target_strip_flags$ac_delim
13544 x11_hidd_target!$x11_hidd_target$ac_delim
13545 sdl_hidd_target!$sdl_hidd_target$ac_delim
13546 aros_default_wbwidth!$aros_default_wbwidth$ac_delim
13547 aros_default_wbheight!$aros_default_wbheight$ac_delim
13548 aros_default_wbdepth!$aros_default_wbdepth$ac_delim
13549 DO_XSHM_SUPPORT!$DO_XSHM_SUPPORT$ac_delim
13550 DO_VIDMODE_SUPPORT!$DO_VIDMODE_SUPPORT$ac_delim
13551 aros_host_x11_includes!$aros_host_x11_includes$ac_delim
13552 aros_host_x11_libdirs!$aros_host_x11_libdirs$ac_delim
13553 aros_host_sdl_cflags!$aros_host_sdl_cflags$ac_delim
13554 aros_host_sdl_libs!$aros_host_sdl_libs$ac_delim
13555 aros_bochs_hack!$aros_bochs_hack$ac_delim
13556 aros_serial_debug!$aros_serial_debug$ac_delim
13557 aros_palm_debug_hack!$aros_palm_debug_hack$ac_delim
13558 aros_nesting_supervisor!$aros_nesting_supervisor$ac_delim
13559 ENABLE_DBUS!$ENABLE_DBUS$ac_delim
13560 DBUS_CFLAGS!$DBUS_CFLAGS$ac_delim
13561 DBUS_LIBFLAGS!$DBUS_LIBFLAGS$ac_delim
13564 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
13566 elif $ac_last_try; then
13567 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13568 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13569 { (exit 1); exit 1; }; }
13571 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
13575 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13576 if test -n "$ac_eof"; then
13577 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
13578 ac_eof
=`expr $ac_eof + 1`
13581 cat >>$CONFIG_STATUS <<_ACEOF
13582 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
13583 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13586 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13587 s/^/s,@/; s/!/@,|#_!!_#|/
13590 s/'"$ac_delim"'$/,g/; t
13592 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13593 ' >>$CONFIG_STATUS <conf$
$subs.
sed
13594 rm -f conf$
$subs.
sed
13595 cat >>$CONFIG_STATUS <<_ACEOF
13601 for ac_last_try
in false false false false false
:; do
13602 cat >conf$
$subs.
sed <<_ACEOF
13603 KERNEL_DBUS_KOBJ!$KERNEL_DBUS_KOBJ$ac_delim
13604 KERNEL_DBUS_INCLUDES!$KERNEL_DBUS_INCLUDES$ac_delim
13605 aros_debug!$aros_debug$ac_delim
13606 aros_mungwall_debug!$aros_mungwall_debug$ac_delim
13607 aros_stack_debug!$aros_stack_debug$ac_delim
13608 aros_modules_debug!$aros_modules_debug$ac_delim
13609 ignore_undefined_symbols!$ignore_undefined_symbols$ac_delim
13610 gcc_target_cpu!$gcc_target_cpu$ac_delim
13611 LTLIBOBJS!$LTLIBOBJS$ac_delim
13614 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 9; then
13616 elif $ac_last_try; then
13617 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13618 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13619 { (exit 1); exit 1; }; }
13621 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
13625 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13626 if test -n "$ac_eof"; then
13627 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
13628 ac_eof
=`expr $ac_eof + 1`
13631 cat >>$CONFIG_STATUS <<_ACEOF
13632 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
13633 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
13636 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13637 s/^/s,@/; s/!/@,|#_!!_#|/
13640 s/'"$ac_delim"'$/,g/; t
13642 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13643 ' >>$CONFIG_STATUS <conf$
$subs.
sed
13644 rm -f conf$
$subs.
sed
13645 cat >>$CONFIG_STATUS <<_ACEOF
13652 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13653 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13654 # trailing colons and then remove the whole line if VPATH becomes empty
13655 # (actually we leave an empty line to preserve line numbers).
13656 if test "x$srcdir" = x.
; then
13657 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
13658 s/:*\$(srcdir):*/:/
13659 s/:*\${srcdir}:*/:/
13661 s/^\([^=]*=[ ]*\):*/\1/
13667 cat >>$CONFIG_STATUS <<\_ACEOF
13668 fi # test -n "$CONFIG_FILES"
13671 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
13674 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13676 case $ac_mode$ac_tag in
13678 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
13679 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
13680 { (exit 1); exit 1; }; };;
13681 :[FH
]-) ac_tag
=-:-;;
13682 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13699 -) ac_f
="$tmp/stdin";;
13700 *) # Look for the file first in the build tree, then in the source tree
13701 # (if the path is not absolute). The absolute path cannot be DOS-style,
13702 # because $ac_f cannot contain `:'.
13706 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13708 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
13709 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
13710 { (exit 1); exit 1; }; };;
13712 ac_file_inputs
="$ac_file_inputs $ac_f"
13715 # Let's still pretend it is `configure' which instantiates (i.e., don't
13716 # use $as_me), people would be surprised to read:
13717 # /* config.h. Generated by config.status. */
13718 configure_input
="Generated from "`IFS=:
13719 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
13720 if test x
"$ac_file" != x-
; then
13721 configure_input
="$ac_file. $configure_input"
13722 { echo "$as_me:$LINENO: creating $ac_file" >&5
13723 echo "$as_me: creating $ac_file" >&6;}
13727 *:-:* |
*:-) cat >"$tmp/stdin";;
13732 ac_dir
=`$as_dirname -- "$ac_file" ||
13733 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13734 X"$ac_file" : 'X\(//\)[^/]' \| \
13735 X"$ac_file" : 'X\(//\)$' \| \
13736 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13738 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13742 /^X\(\/\/\)[^/].*/{
13757 -*) as_dir
=.
/$as_dir;;
13759 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
13763 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
13764 *) as_qdir
=$as_dir;;
13766 as_dirs
="'$as_qdir' $as_dirs"
13767 as_dir
=`$as_dirname -- "$as_dir" ||
13768 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13769 X"$as_dir" : 'X\(//\)[^/]' \| \
13770 X"$as_dir" : 'X\(//\)$' \| \
13771 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13773 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13777 /^X\(\/\/\)[^/].*/{
13790 test -d "$as_dir" && break
13792 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13793 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13794 echo "$as_me: error: cannot create directory $as_dir" >&2;}
13795 { (exit 1); exit 1; }; }; }
13799 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13801 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13802 # A ".." for each directory in $ac_dir_suffix.
13803 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
13804 case $ac_top_builddir_sub in
13805 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13806 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13809 ac_abs_top_builddir
=$ac_pwd
13810 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13811 # for backward compatibility:
13812 ac_top_builddir
=$ac_top_build_prefix
13815 .
) # We are building in place.
13817 ac_top_srcdir
=$ac_top_builddir_sub
13818 ac_abs_top_srcdir
=$ac_pwd ;;
13819 [\\/]* | ?
:[\\/]* ) # Absolute name.
13820 ac_srcdir
=$srcdir$ac_dir_suffix;
13821 ac_top_srcdir
=$srcdir
13822 ac_abs_top_srcdir
=$srcdir ;;
13823 *) # Relative name.
13824 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13825 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13826 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13828 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13839 cat >>$CONFIG_STATUS <<\_ACEOF
13840 # If the template does not know about datarootdir, expand it.
13841 # FIXME: This hack should be removed a few years after 2.60.
13842 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13844 case `sed -n '/datarootdir/ {
13853 ' $ac_file_inputs` in
13854 *datarootdir
*) ac_datarootdir_seen
=yes;;
13855 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13856 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13857 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13859 cat >>$CONFIG_STATUS <<_ACEOF
13860 ac_datarootdir_hack='
13861 s&@datadir@&$datadir&g
13862 s&@docdir@&$docdir&g
13863 s&@infodir@&$infodir&g
13864 s&@localedir@&$localedir&g
13865 s&@mandir@&$mandir&g
13866 s&\\\${datarootdir}&$datarootdir&g' ;;
13870 # Neutralize VPATH when `$srcdir' = `.'.
13871 # Shell code in configure.ac might set extrasub.
13872 # FIXME: do we really want to maintain this feature?
13873 cat >>$CONFIG_STATUS <<_ACEOF
13877 cat >>$CONFIG_STATUS <<\_ACEOF
13879 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13880 s
&@configure_input@
&$configure_input&;t t
13881 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13882 s
&@srcdir@
&$ac_srcdir&;t t
13883 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13884 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13885 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13886 s
&@builddir@
&$ac_builddir&;t t
13887 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13888 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13889 $ac_datarootdir_hack
13890 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" | sed -f "$tmp/subs-3.
sed" >$tmp/out
13892 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13893 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
13894 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
13895 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13896 which seems to be undefined. Please make sure it is defined." >&5
13897 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13898 which seems to be undefined. Please make sure it is defined." >&2;}
13902 -) cat "$tmp/out"; rm -f "$tmp/out";;
13903 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
13912 # Transform confdefs.h into a sed script `conftest.defines', that
13913 # substitutes the proper values into config.h.in to produce config.h.
13914 rm -f conftest.defines conftest.
tail
13915 # First, append a space to every undef/define line, to ease matching.
13916 echo 's/$/ /' >conftest.defines
13917 # Then, protect against being on the right side of a sed subst, or in
13918 # an unquoted here document, in config.status. If some macros were
13919 # called several times there might be several #defines for the same
13920 # symbol, which is useless. But do not sort them, since the last
13921 # AC_DEFINE must be honored.
13922 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
13923 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
13924 # NAME is the cpp macro being defined, VALUE is the value it is being given.
13925 # PARAMS is the parameter list in the macro definition--in most cases, it's
13926 # just an empty string.
13927 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
13928 ac_dB
='\\)[ (].*,\\1define\\2'
13936 s/^[ ]*#[ ]*define[ ][ ]*//
13941 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
13942 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
13943 ' >>conftest.defines
13945 # Remove the space that was appended to ease matching.
13946 # Then replace #undef with comments. This is necessary, for
13947 # example, in the case of _POSIX_SOURCE, which is predefined and required
13948 # on some systems where configure will not decide to define it.
13949 # (The regexp can be short, since the line contains either #define or #undef.)
13951 s,^[ #]*u.*,/* & */,' >>conftest.defines
13953 # Break up conftest.defines:
13954 ac_max_sed_lines
=50
13956 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
13957 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
13958 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
13960 ac_in
='$ac_file_inputs'
13961 ac_out
='"$tmp/out1"'
13962 ac_nxt
='"$tmp/out2"'
13966 # Write a here document:
13967 cat >>$CONFIG_STATUS <<_ACEOF
13968 # First, check the format of the line:
13969 cat >"\$tmp/defines.sed" <<\\CEOF
13970 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
13971 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
13975 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
13977 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
13978 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
13979 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
13980 grep . conftest.
tail >/dev
/null ||
break
13981 rm -f conftest.defines
13982 mv conftest.
tail conftest.defines
13984 rm -f conftest.defines conftest.
tail
13986 echo "ac_result=$ac_in" >>$CONFIG_STATUS
13987 cat >>$CONFIG_STATUS <<\_ACEOF
13988 if test x
"$ac_file" != x-
; then
13989 echo "/* $configure_input */" >"$tmp/config.h"
13990 cat "$ac_result" >>"$tmp/config.h"
13991 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
13992 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13993 echo "$as_me: $ac_file is unchanged" >&6;}
13996 mv "$tmp/config.h" $ac_file
13999 echo "/* $configure_input */"
14005 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
14006 echo "$as_me: executing $ac_file commands" >&6;}
14011 case $ac_file$ac_mode in
14012 "compiler_executable":C
)
14013 prefix
=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
14015 prefix
="${prefix}/${aros_target_cpu}-aros"
14016 prefix2
=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
14020 chmod a
+x
${prefix2}-gcc ${prefix2}-ld
14022 ln -sf ${prefix2}-gcc ${prefix}-gcc
14023 ln -sf ${prefix2}-ld ${prefix}-ld
14025 ln -sf $aros_target_as_ln ${prefix}-as
14026 ln -sf $aros_target_nm_ln ${prefix}-nm
14027 ln -sf $aros_target_ar_ln ${prefix}-ar
14028 ln -sf $aros_target_ranlib_ln ${prefix}-ranlib
14029 ln -sf $aros_target_objcopy_ln ${prefix}-objcopy
14030 ln -sf $aros_target_objdump_ln ${prefix}-objdump
14031 ln -sf $aros_target_strip_ln ${prefix}-strip
14033 ln -sf $aros_target_as_ln ${prefix2}-as
14034 ln -sf $aros_target_nm_ln ${prefix2}-nm
14035 ln -sf $aros_target_ar_ln ${prefix2}-ar
14036 ln -sf $aros_target_ranlib_ln ${prefix2}-ranlib
14037 ln -sf $aros_target_objcopy_ln ${prefix2}-objcopy
14038 ln -sf $aros_target_objdump_ln ${prefix2}-objdump
14039 ln -sf $aros_target_strip_ln ${prefix2}-strip
14041 "genshared_executable":C
) chmod a
+x
${aros_scripts_dir}/genshared
;;
14042 "genmf_executable":C
) chmod a
+x
${aros_tools_dir}/genmf.py
;;
14043 "adflib_myaros.conf_executable":C
) chmod a
+x tools
/adflib
/myconf.aros
14050 { (exit 0); exit 0; }
14052 chmod +x
$CONFIG_STATUS
14053 ac_clean_files
=$ac_clean_files_save
14056 # configure is writing to config.log, and then calls config.status.
14057 # config.status does its own redirection, appending to config.log.
14058 # Unfortunately, on DOS this fails, as config.log is still kept open
14059 # by configure, so config.status won't be able to write to it; its
14060 # output is simply discarded. So we exec the FD to /dev/null,
14061 # effectively closing config.log, so it can be properly (re)opened and
14062 # appended to by config.status. When coming back to configure, we
14063 # need to make the FD available again.
14064 if test "$no_create" != yes; then
14066 ac_config_status_args
=
14067 test "$silent" = yes &&
14068 ac_config_status_args
="$ac_config_status_args --quiet"
14070 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14072 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14073 # would make configure fail if this is the last instruction.
14074 $ac_cs_success ||
{ (exit 1); exit 1; }
14079 #XXX compatability...
14080 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
14082 if test -n "$aros_shared_cflags" ; then
14083 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
14084 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg