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-distcc Use distcc as a front end to the compiler
1419 --enable-ccache Use ccache as a front end to the compiler
1421 --enable-target-variant=NAME
1422 Enable a specific target variant
(default
=none
)
1423 --enable-includes=dir Alternative system include directory
1424 --enable-bochs-hack Enable hacks to
make BOCHS
(partly
) work
1426 --enable-palm-debug-hack
1427 Enable palm debug output hack
in palm native
1429 --enable-nesting-supervisor
1430 Enable nesting supervisor support
in unix
1432 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1433 --enable-x11-shm use X11 shared memory
(default
=auto
)
1434 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1435 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1436 --disable-sdltest Do not try to compile and run a
test SDL program
1437 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1440 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1441 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1442 --with-optimization=FLAGS
1443 Use optimization flags FLAGS
(default
=-O2).
1444 --with-portssources=DIR Where to download sourcecode
for external ports
1445 --with-bootloader=NAME Use a specific bootloader
1446 --with-theme=NAME Use a specific GUI Theme
1447 --with-resolution=XRESxYRESxDEPTH
1448 Default resolution of the initial WorkbenchScreen
1449 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1450 --with-x use the X Window System
1451 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1452 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1454 Some influential environment variables
:
1455 CC C compiler
command
1456 CFLAGS C compiler flags
1457 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1458 nonstandard directory
<lib dir
>
1459 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1460 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1461 you have headers
in a nonstandard directory
<include dir
>
1463 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1465 Use these variables to override the choices made by
`configure' or to help
1466 it to find libraries and programs with nonstandard names/locations.
1472 if test "$ac_init_help" = "recursive"; then
1473 # If there are subdirs, report their specific --help.
1474 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1475 test -d "$ac_dir" || continue
1479 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1481 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1482 # A ".." for each directory in $ac_dir_suffix.
1483 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1484 case $ac_top_builddir_sub in
1485 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1486 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1489 ac_abs_top_builddir=$ac_pwd
1490 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1491 # for backward compatibility:
1492 ac_top_builddir=$ac_top_build_prefix
1495 .) # We are building in place.
1497 ac_top_srcdir=$ac_top_builddir_sub
1498 ac_abs_top_srcdir=$ac_pwd ;;
1499 [\\/]* | ?:[\\/]* ) # Absolute name.
1500 ac_srcdir=$srcdir$ac_dir_suffix;
1501 ac_top_srcdir=$srcdir
1502 ac_abs_top_srcdir=$srcdir ;;
1504 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1505 ac_top_srcdir=$ac_top_build_prefix$srcdir
1506 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1508 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1510 cd "$ac_dir" || { ac_status=$?; continue; }
1511 # Check for guested configure.
1512 if test -f "$ac_srcdir/configure.gnu"; then
1514 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1515 elif test -f "$ac_srcdir/configure"; then
1517 $SHELL "$ac_srcdir/configure" --help=recursive
1519 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1521 cd "$ac_pwd" || { ac_status=$?; break; }
1525 test -n "$ac_init_help" && exit $ac_status
1526 if $ac_init_version; then
1529 generated by GNU Autoconf 2.61
1531 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1532 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1533 This configure script is free software; the Free Software Foundation
1534 gives unlimited permission to copy, distribute and modify it.
1538 cat >config.log <<_ACEOF
1539 This file contains any messages produced by compilers while
1540 running configure, to aid debugging if configure makes a mistake.
1542 It was created by $as_me, which was
1543 generated by GNU Autoconf 2.61. Invocation command line was
1555 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1556 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1557 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1558 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1559 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1561 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1562 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1564 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1565 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1566 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1567 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1568 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1569 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1570 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1578 test -z "$as_dir" && as_dir=.
1579 echo "PATH: $as_dir"
1595 # Keep a trace of the command line.
1596 # Strip out --no-create and --no-recursion so they do not pile up.
1597 # Strip out --silent because we don't want to record it for future runs.
1598 # Also quote any args containing shell meta-characters.
1599 # Make two passes to allow for proper duplicate-argument suppression.
1603 ac_must_keep_next=false
1609 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1610 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1611 | -silent | --silent | --silen | --sile | --sil)
1614 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1617 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1619 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1620 if test $ac_must_keep_next = true; then
1621 ac_must_keep_next=false # Got value, back to normal.
1624 *=* | --config-cache | -C | -disable-* | --disable-* \
1625 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1626 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1627 | -with-* | --with-* | -without-* | --without-* | --x)
1628 case "$ac_configure_args0 " in
1629 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1632 -* ) ac_must_keep_next=true ;;
1635 ac_configure_args="$ac_configure_args '$ac_arg'"
1640 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1641 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1643 # When interrupted or exit'd, cleanup temporary files, and complete
1644 # config.log. We remove comments because anyway the quotes in there
1645 # would cause problems or look ugly.
1646 # WARNING: Use '\'' to represent an apostrophe within the trap.
1647 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1648 trap 'exit_status=$?
1649 # Save into config.log some information that might help in debugging.
1654 ## ---------------- ##
1655 ## Cache variables. ##
1656 ## ---------------- ##
1659 # The following way of writing the cache mishandles newlines in values,
1661 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1662 eval ac_val=\$$ac_var
1666 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1667 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1670 _ | IFS | as_nl) ;; #(
1671 *) $as_unset $ac_var ;;
1676 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1677 *${as_nl}ac_space=\ *)
1679 "s/'\''/'\''\\\\'\'''\''/g;
1680 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1683 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1691 ## ----------------- ##
1692 ## Output variables. ##
1693 ## ----------------- ##
1696 for ac_var in $ac_subst_vars
1698 eval ac_val=\$$ac_var
1700 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1702 echo "$ac_var='\''$ac_val'\''"
1706 if test -n "$ac_subst_files"; then
1708 ## ------------------- ##
1709 ## File substitutions. ##
1710 ## ------------------- ##
1713 for ac_var in $ac_subst_files
1715 eval ac_val=\$$ac_var
1717 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1719 echo "$ac_var='\''$ac_val'\''"
1724 if test -s confdefs.h; then
1734 test "$ac_signal" != 0 &&
1735 echo "$as_me: caught signal $ac_signal"
1736 echo "$as_me: exit $exit_status"
1738 rm -f core *.core core.conftest.* &&
1739 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1742 for ac_signal in 1 2 13 15; do
1743 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1747 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1748 rm -f -r conftest* confdefs.h
1750 # Predefined preprocessor variables.
1752 cat >>confdefs.h <<_ACEOF
1753 #define PACKAGE_NAME "$PACKAGE_NAME"
1757 cat >>confdefs.h <<_ACEOF
1758 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1762 cat >>confdefs.h <<_ACEOF
1763 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1767 cat >>confdefs.h <<_ACEOF
1768 #define PACKAGE_STRING "$PACKAGE_STRING"
1772 cat >>confdefs.h <<_ACEOF
1773 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1777 # Let the site file select an alternate cache file if it wants to.
1778 # Prefer explicitly selected file to automatically selected ones.
1779 if test -n "$CONFIG_SITE"; then
1780 set x "$CONFIG_SITE"
1781 elif test "x$prefix" != xNONE; then
1782 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1784 set x "$ac_default_prefix/share/config.site" \
1785 "$ac_default_prefix/etc/config.site"
1790 if test -r "$ac_site_file"; then
1791 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1792 echo "$as_me: loading site script $ac_site_file" >&6;}
1793 sed 's/^/| /' "$ac_site_file" >&5
1798 if test -r "$cache_file"; then
1799 # Some versions of bash will fail to source /dev/null (special
1800 # files actually), so we avoid doing that.
1801 if test -f "$cache_file"; then
1802 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1803 echo "$as_me: loading cache $cache_file" >&6;}
1805 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1806 *) . "./$cache_file";;
1810 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1811 echo "$as_me: creating cache $cache_file" >&6;}
1815 # Check that the precious variables saved in the cache have kept the same
1817 ac_cache_corrupted=false
1818 for ac_var in $ac_precious_vars; do
1819 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1820 eval ac_new_set=\$ac_env_${ac_var}_set
1821 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1822 eval ac_new_val=\$ac_env_${ac_var}_value
1823 case $ac_old_set,$ac_new_set in
1825 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1826 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1827 ac_cache_corrupted=: ;;
1829 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1830 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1831 ac_cache_corrupted=: ;;
1834 if test "x$ac_old_val" != "x$ac_new_val"; then
1835 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1836 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1837 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1838 echo "$as_me: former value
: $ac_old_val" >&2;}
1839 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1840 echo "$as_me: current value
: $ac_new_val" >&2;}
1841 ac_cache_corrupted=:
1844 # Pass precious variables to config.status.
1845 if test "$ac_new_set" = set; then
1847 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1848 *) ac_arg=$ac_var=$ac_new_val ;;
1850 case " $ac_configure_args " in
1851 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1852 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1856 if $ac_cache_corrupted; then
1857 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1858 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1859 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1860 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1861 { (exit 1); exit 1; }; }
1881 ac_cpp='$CPP $CPPFLAGS'
1882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1889 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
1890 if test -f "$ac_dir/install-sh"; then
1892 ac_install_sh="$ac_aux_dir/install-sh -c"
1894 elif test -f "$ac_dir/install.sh"; then
1896 ac_install_sh="$ac_aux_dir/install.sh -c"
1898 elif test -f "$ac_dir/shtool"; then
1900 ac_install_sh="$ac_aux_dir/shtool install -c"
1904 if test -z "$ac_aux_dir"; then
1905 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts/autoconf \"$srcdir\"/scripts/autoconf" >&5
1906 echo "$as_me: error: cannot find install-sh or install.sh in scripts/autoconf \"$srcdir\"/scripts/autoconf" >&2;}
1907 { (exit 1); exit 1; }; }
1910 # These three variables are undocumented and unsupported,
1911 # and are intended to be withdrawn in a future Autoconf release.
1912 # They can cause serious problems if a builder's source tree is in a directory
1913 # whose full name contains unusual characters.
1914 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1915 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1916 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1920 # Check what host we are running on.
1921 # If a target is not suggested, we use this one.
1922 # Note that what we call a target, Autoconf calls a host.
1923 # Make sure we can run config.sub.
1924 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1925 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1926 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1927 { (exit 1); exit 1; }; }
1929 { echo "$as_me:$LINENO: checking build system type" >&5
1930 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1931 if test "${ac_cv_build+set}" = set; then
1932 echo $ECHO_N "(cached) $ECHO_C" >&6
1934 ac_build_alias=$build_alias
1935 test "x$ac_build_alias" = x &&
1936 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1937 test "x$ac_build_alias" = x &&
1938 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1939 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1940 { (exit 1); exit 1; }; }
1941 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1942 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1943 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1944 { (exit 1); exit 1; }; }
1947 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1948 echo "${ECHO_T}$ac_cv_build" >&6; }
1949 case $ac_cv_build in
1951 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1952 echo "$as_me: error: invalid value of canonical build" >&2;}
1953 { (exit 1); exit 1; }; };;
1956 ac_save_IFS=$IFS; IFS='-'
1962 # Remember, the first character of IFS is used to create $*,
1963 # except with old shells:
1966 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
1969 { echo "$as_me:$LINENO: checking host system type" >&5
1970 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1971 if test "${ac_cv_host+set}" = set; then
1972 echo $ECHO_N "(cached) $ECHO_C" >&6
1974 if test "x$host_alias" = x; then
1975 ac_cv_host=$ac_cv_build
1977 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1978 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1979 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1980 { (exit 1); exit 1; }; }
1984 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1985 echo "${ECHO_T}$ac_cv_host" >&6; }
1988 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1989 echo "$as_me: error: invalid value of canonical host" >&2;}
1990 { (exit 1); exit 1; }; };;
1993 ac_save_IFS=$IFS; IFS='-'
1999 # Remember, the first character of IFS is used to create $*,
2000 # except with old shells:
2003 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2007 # The AROS target is slightly different to the normal GNU style
2008 # format. We don't have the middle part, and we reverse the order
2009 # of the $(CPU) and $(OS) bits.
2011 # Don't strip the version of the target yet, it might be
2012 # useful on some systems.
2014 { echo "$as_me:$LINENO: checking for AROS style target" >&5
2015 echo $ECHO_N "checking for AROS style target... $ECHO_C" >&6; }
2017 if test "$target" = "NONE" ; then
2018 target=$host_os-$host_cpu
2021 if test "$target" = "" ; then
2022 target=$host_os-$host_cpu
2028 { echo "$as_me:$LINENO: result: $target" >&5
2029 echo "${ECHO_T}$target" >&6; }
2031 #don't know where else to put this...
2032 { echo "$as_me:$LINENO: checking Building AROS in .. " >&5
2033 echo $ECHO_N "checking Building AROS in .. ... $ECHO_C" >&6; }
2035 { echo "$as_me:$LINENO: result: $AROS_BUILDDIR" >&5
2036 echo "${ECHO_T}$AROS_BUILDDIR" >&6; }
2038 { echo "$as_me:$LINENO: checking AROS Source in .. " >&5
2039 echo $ECHO_N "checking AROS Source in .. ... $ECHO_C" >&6; }
2040 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2041 AROS_SRCDIR=${srcpwd}
2042 { echo "$as_me:$LINENO: result: $AROS_SRCDIR" >&5
2043 echo "${ECHO_T}$AROS_SRCDIR" >&6; }
2045 # Parse the target field into something useful.
2047 target_os=`echo $target |
sed 's/^\([^-]*\)-\(.*\)$/\1/'`
2048 target_cpu=`echo $target |
sed 's/^\([^-]*\)-\(.*\)$/\2/'`
2051 aros_default_wbwidth=800
2052 aros_default_wbheight=600
2053 aros_default_wbdepth=4
2056 # The first step is to find the host binaries.
2057 # Check for a compiler.
2059 ac_cpp='$CPP $CPPFLAGS'
2060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2063 if test -n "$ac_tool_prefix"; then
2064 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2065 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2066 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2068 if test "${ac_cv_prog_CC+set}" = set; then
2069 echo $ECHO_N "(cached) $ECHO_C" >&6
2071 if test -n "$CC"; then
2072 ac_cv_prog_CC="$CC" # Let the user override the test.
2074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2078 test -z "$as_dir" && as_dir=.
2079 for ac_exec_ext in '' $ac_executable_extensions; do
2080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2081 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2092 if test -n "$CC"; then
2093 { echo "$as_me:$LINENO: result: $CC" >&5
2094 echo "${ECHO_T}$CC" >&6; }
2096 { echo "$as_me:$LINENO: result: no" >&5
2097 echo "${ECHO_T}no" >&6; }
2102 if test -z "$ac_cv_prog_CC"; then
2104 # Extract the first word of "gcc", so it can be a program name with args.
2105 set dummy gcc; ac_word=$2
2106 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2108 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2109 echo $ECHO_N "(cached) $ECHO_C" >&6
2111 if test -n "$ac_ct_CC"; then
2112 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2118 test -z "$as_dir" && as_dir=.
2119 for ac_exec_ext in '' $ac_executable_extensions; do
2120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2121 ac_cv_prog_ac_ct_CC="gcc"
2122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2131 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2132 if test -n "$ac_ct_CC"; then
2133 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2134 echo "${ECHO_T}$ac_ct_CC" >&6; }
2136 { echo "$as_me:$LINENO: result: no" >&5
2137 echo "${ECHO_T}no" >&6; }
2140 if test "x$ac_ct_CC" = x; then
2143 case $cross_compiling:$ac_tool_warned in
2145 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2146 whose name does not start with the host triplet. If you think this
2147 configuration is useful to you, please write to autoconf@gnu.org." >&5
2148 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2149 whose name does not start with the host triplet. If you think this
2150 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2151 ac_tool_warned=yes ;;
2159 if test -z "$CC"; then
2160 if test -n "$ac_tool_prefix"; then
2161 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2162 set dummy ${ac_tool_prefix}cc; ac_word=$2
2163 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2164 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2165 if test "${ac_cv_prog_CC+set}" = set; then
2166 echo $ECHO_N "(cached) $ECHO_C" >&6
2168 if test -n "$CC"; then
2169 ac_cv_prog_CC="$CC" # Let the user override the test.
2171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2175 test -z "$as_dir" && as_dir=.
2176 for ac_exec_ext in '' $ac_executable_extensions; do
2177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2178 ac_cv_prog_CC="${ac_tool_prefix}cc"
2179 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2189 if test -n "$CC"; then
2190 { echo "$as_me:$LINENO: result: $CC" >&5
2191 echo "${ECHO_T}$CC" >&6; }
2193 { echo "$as_me:$LINENO: result: no" >&5
2194 echo "${ECHO_T}no" >&6; }
2200 if test -z "$CC"; then
2201 # Extract the first word of "cc", so it can be a program name with args.
2202 set dummy cc; ac_word=$2
2203 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2204 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2205 if test "${ac_cv_prog_CC+set}" = set; then
2206 echo $ECHO_N "(cached) $ECHO_C" >&6
2208 if test -n "$CC"; then
2209 ac_cv_prog_CC="$CC" # Let the user override the test.
2212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2216 test -z "$as_dir" && as_dir=.
2217 for ac_exec_ext in '' $ac_executable_extensions; do
2218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2219 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2220 ac_prog_rejected=yes
2224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2231 if test $ac_prog_rejected = yes; then
2232 # We found a bogon in the path, so make sure we never use it.
2233 set dummy $ac_cv_prog_CC
2235 if test $# != 0; then
2236 # We chose a different compiler from the bogus one.
2237 # However, it has the same basename, so the bogon will be chosen
2238 # first if we set CC to just the basename; use the full file name.
2240 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2246 if test -n "$CC"; then
2247 { echo "$as_me:$LINENO: result: $CC" >&5
2248 echo "${ECHO_T}$CC" >&6; }
2250 { echo "$as_me:$LINENO: result: no" >&5
2251 echo "${ECHO_T}no" >&6; }
2256 if test -z "$CC"; then
2257 if test -n "$ac_tool_prefix"; then
2258 for ac_prog in cl.exe
2260 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2261 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2262 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2264 if test "${ac_cv_prog_CC+set}" = set; then
2265 echo $ECHO_N "(cached) $ECHO_C" >&6
2267 if test -n "$CC"; then
2268 ac_cv_prog_CC="$CC" # Let the user override the test.
2270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2274 test -z "$as_dir" && as_dir=.
2275 for ac_exec_ext in '' $ac_executable_extensions; do
2276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2277 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2288 if test -n "$CC"; then
2289 { echo "$as_me:$LINENO: result: $CC" >&5
2290 echo "${ECHO_T}$CC" >&6; }
2292 { echo "$as_me:$LINENO: result: no" >&5
2293 echo "${ECHO_T}no" >&6; }
2297 test -n "$CC" && break
2300 if test -z "$CC"; then
2302 for ac_prog in cl.exe
2304 # Extract the first word of "$ac_prog", so it can be a program name with args.
2305 set dummy $ac_prog; ac_word=$2
2306 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2308 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2309 echo $ECHO_N "(cached) $ECHO_C" >&6
2311 if test -n "$ac_ct_CC"; then
2312 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2318 test -z "$as_dir" && as_dir=.
2319 for ac_exec_ext in '' $ac_executable_extensions; do
2320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2321 ac_cv_prog_ac_ct_CC="$ac_prog"
2322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2331 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2332 if test -n "$ac_ct_CC"; then
2333 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2334 echo "${ECHO_T}$ac_ct_CC" >&6; }
2336 { echo "$as_me:$LINENO: result: no" >&5
2337 echo "${ECHO_T}no" >&6; }
2341 test -n "$ac_ct_CC" && break
2344 if test "x$ac_ct_CC" = x; then
2347 case $cross_compiling:$ac_tool_warned in
2349 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2350 whose name does not start with the host triplet. If you think this
2351 configuration is useful to you, please write to autoconf@gnu.org." >&5
2352 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2353 whose name does not start with the host triplet. If you think this
2354 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2355 ac_tool_warned=yes ;;
2364 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2365 See \`config.log
' for more details." >&5
2366 echo "$as_me: error: no acceptable C compiler found in \$PATH
2367 See \`config.log' for more details.
" >&2;}
2368 { (exit 1); exit 1; }; }
2370 # Provide some information about the compiler.
2371 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2372 ac_compiler=`set X $ac_compile; echo $2`
2373 { (ac_try="$ac_compiler --version >&5"
2375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2376 *) ac_try_echo=$ac_try;;
2378 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2379 (eval "$ac_compiler --version >&5") 2>&5
2381 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2382 (exit $ac_status); }
2383 { (ac_try="$ac_compiler -v >&5"
2385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2386 *) ac_try_echo=$ac_try;;
2388 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2389 (eval "$ac_compiler -v >&5") 2>&5
2391 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2392 (exit $ac_status); }
2393 { (ac_try="$ac_compiler -V >&5"
2395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2396 *) ac_try_echo=$ac_try;;
2398 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2399 (eval "$ac_compiler -V >&5") 2>&5
2401 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2402 (exit $ac_status); }
2404 cat >conftest.$ac_ext <<_ACEOF
2407 cat confdefs.h >>conftest.$ac_ext
2408 cat >>conftest.$ac_ext <<_ACEOF
2409 /* end confdefs.h. */
2419 ac_clean_files_save=$ac_clean_files
2420 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2421 # Try to create an executable without -o first, disregard a.out.
2422 # It will help us diagnose broken compilers, and finding out an intuition
2424 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2425 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2426 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2428 # List of possible output files, starting from the most likely.
2429 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2430 # only as a last resort. b.out is created by i960 compilers.
2431 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2433 # The IRIX 6 linker writes into existing files which may not be
2434 # executable, retaining their permissions. Remove them first so a
2435 # subsequent execution test works.
2437 for ac_file in $ac_files
2440 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2441 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2446 if { (ac_try="$ac_link_default"
2448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2449 *) ac_try_echo=$ac_try;;
2451 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2452 (eval "$ac_link_default") 2>&5
2454 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2455 (exit $ac_status); }; then
2456 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2457 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2458 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2459 # so that the user can short-circuit this test for compilers unknown to
2461 for ac_file in $ac_files ''
2463 test -f "$ac_file" || continue
2465 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2468 # We found the default executable, but exeext='' is most
2472 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2474 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2476 # We set ac_cv_exeext here because the later test for it is not
2477 # safe: cross compilers may not add the suffix if given an `-o'
2478 # argument, so we may need to know it at that point already.
2479 # Even if this section looks crufty: it has the advantage of
2486 test "$ac_cv_exeext" = no && ac_cv_exeext=
2492 { echo "$as_me:$LINENO: result
: $ac_file" >&5
2493 echo "${ECHO_T}$ac_file" >&6; }
2494 if test -z "$ac_file"; then
2495 echo "$as_me: failed program was
:" >&5
2496 sed 's/^/| /' conftest.$ac_ext >&5
2498 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2499 See \
`config.log' for more details." >&5
2500 echo "$as_me: error: C compiler cannot create executables
2501 See \`config.log
' for more details." >&2;}
2502 { (exit 77); exit 77; }; }
2505 ac_exeext=$ac_cv_exeext
2507 # Check that the compiler produces executables we can run. If not, either
2508 # the compiler is broken, or we cross compile.
2509 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2510 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2511 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2512 # If not cross compiling, check that we can run a simple program.
2513 if test "$cross_compiling" != yes; then
2514 if { ac_try='.
/$ac_file'
2515 { (case "(($ac_try" in
2516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2517 *) ac_try_echo=$ac_try;;
2519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2520 (eval "$ac_try") 2>&5
2522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2523 (exit $ac_status); }; }; then
2526 if test "$cross_compiling" = maybe; then
2529 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2530 If you meant to cross compile, use \`--host'.
2531 See \
`config.log' for more details." >&5
2532 echo "$as_me: error: cannot run C compiled programs.
2533 If you meant to cross compile, use \`--host'.
2534 See \`config.log' for more details.
" >&2;}
2535 { (exit 1); exit 1; }; }
2539 { echo "$as_me:$LINENO: result
: yes" >&5
2540 echo "${ECHO_T}yes" >&6; }
2542 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2543 ac_clean_files=$ac_clean_files_save
2544 # Check that the compiler produces executables we can run. If not, either
2545 # the compiler is broken, or we cross compile.
2546 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2547 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2548 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2549 echo "${ECHO_T}$cross_compiling" >&6; }
2551 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2552 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2553 if { (ac_try="$ac_link"
2555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2556 *) ac_try_echo=$ac_try;;
2558 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2559 (eval "$ac_link") 2>&5
2561 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2562 (exit $ac_status); }; then
2563 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2564 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2565 # work properly (i.e., refer to `conftest.exe'), while it won't with
2567 for ac_file in conftest.exe conftest conftest.*; do
2568 test -f "$ac_file" || continue
2570 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2571 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2577 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2578 See \
`config.log' for more details." >&5
2579 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2580 See \`config.log
' for more details." >&2;}
2581 { (exit 1); exit 1; }; }
2584 rm -f conftest$ac_cv_exeext
2585 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2586 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2588 rm -f conftest.$ac_ext
2589 EXEEXT=$ac_cv_exeext
2591 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2592 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2593 if test "${ac_cv_objext+set}" = set; then
2594 echo $ECHO_N "(cached) $ECHO_C" >&6
2596 cat >conftest.$ac_ext <<_ACEOF
2599 cat confdefs.h >>conftest.$ac_ext
2600 cat >>conftest.$ac_ext <<_ACEOF
2601 /* end confdefs.h. */
2611 rm -f conftest.o conftest.obj
2612 if { (ac_try="$ac_compile"
2614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2615 *) ac_try_echo=$ac_try;;
2617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2618 (eval "$ac_compile") 2>&5
2620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2621 (exit $ac_status); }; then
2622 for ac_file in conftest.o conftest.obj conftest.*; do
2623 test -f "$ac_file" || continue;
2625 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2626 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2631 echo "$as_me: failed program was:" >&5
2632 sed 's
/^
/|
/' conftest.$ac_ext >&5
2634 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2635 See \`config.log' for more details.
" >&5
2636 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2637 See \
`config.log' for more details." >&2;}
2638 { (exit 1); exit 1; }; }
2641 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2643 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2644 echo "${ECHO_T}$ac_cv_objext" >&6; }
2645 OBJEXT=$ac_cv_objext
2647 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2648 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2649 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2650 echo $ECHO_N "(cached) $ECHO_C" >&6
2652 cat >conftest.$ac_ext <<_ACEOF
2655 cat confdefs.h >>conftest.$ac_ext
2656 cat >>conftest.$ac_ext <<_ACEOF
2657 /* end confdefs.h. */
2670 rm -f conftest.$ac_objext
2671 if { (ac_try="$ac_compile"
2673 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2674 *) ac_try_echo
=$ac_try;;
2676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2677 (eval "$ac_compile") 2>conftest.er1
2679 grep -v '^ *+' conftest.er1
>conftest.err
2681 cat conftest.err
>&5
2682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2683 (exit $ac_status); } && {
2684 test -z "$ac_c_werror_flag" ||
2685 test ! -s conftest.err
2686 } && test -s conftest.
$ac_objext; then
2689 echo "$as_me: failed program was:" >&5
2690 sed 's/^/| /' conftest.
$ac_ext >&5
2695 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2696 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2699 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2700 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2701 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2702 ac_test_CFLAGS
=${CFLAGS+set}
2703 ac_save_CFLAGS
=$CFLAGS
2704 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2705 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2706 if test "${ac_cv_prog_cc_g+set}" = set; then
2707 echo $ECHO_N "(cached) $ECHO_C" >&6
2709 ac_save_c_werror_flag
=$ac_c_werror_flag
2710 ac_c_werror_flag
=yes
2713 cat >conftest.
$ac_ext <<_ACEOF
2716 cat confdefs.h
>>conftest.
$ac_ext
2717 cat >>conftest.
$ac_ext <<_ACEOF
2718 /* end confdefs.h. */
2728 rm -f conftest.
$ac_objext
2729 if { (ac_try
="$ac_compile"
2731 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2732 *) ac_try_echo=$ac_try;;
2734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2735 (eval "$ac_compile") 2>conftest.er1
2737 grep -v '^ *+' conftest.er1 >conftest.err
2739 cat conftest.err >&5
2740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2741 (exit $ac_status); } && {
2742 test -z "$ac_c_werror_flag" ||
2743 test ! -s conftest.err
2744 } && test -s conftest.$ac_objext; then
2747 echo "$as_me: failed program was:" >&5
2748 sed 's/^/| /' conftest.$ac_ext >&5
2751 cat >conftest.$ac_ext <<_ACEOF
2754 cat confdefs.h >>conftest.$ac_ext
2755 cat >>conftest.$ac_ext <<_ACEOF
2756 /* end confdefs.h. */
2766 rm -f conftest.$ac_objext
2767 if { (ac_try="$ac_compile"
2769 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2770 *) ac_try_echo
=$ac_try;;
2772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2773 (eval "$ac_compile") 2>conftest.er1
2775 grep -v '^ *+' conftest.er1
>conftest.err
2777 cat conftest.err
>&5
2778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779 (exit $ac_status); } && {
2780 test -z "$ac_c_werror_flag" ||
2781 test ! -s conftest.err
2782 } && test -s conftest.
$ac_objext; then
2785 echo "$as_me: failed program was:" >&5
2786 sed 's/^/| /' conftest.
$ac_ext >&5
2788 ac_c_werror_flag
=$ac_save_c_werror_flag
2790 cat >conftest.
$ac_ext <<_ACEOF
2793 cat confdefs.h
>>conftest.
$ac_ext
2794 cat >>conftest.
$ac_ext <<_ACEOF
2795 /* end confdefs.h. */
2805 rm -f conftest.
$ac_objext
2806 if { (ac_try
="$ac_compile"
2808 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2809 *) ac_try_echo=$ac_try;;
2811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2812 (eval "$ac_compile") 2>conftest.er1
2814 grep -v '^ *+' conftest.er1 >conftest.err
2816 cat conftest.err >&5
2817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2818 (exit $ac_status); } && {
2819 test -z "$ac_c_werror_flag" ||
2820 test ! -s conftest.err
2821 } && test -s conftest.$ac_objext; then
2824 echo "$as_me: failed program was:" >&5
2825 sed 's/^/| /' conftest.$ac_ext >&5
2830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2837 ac_c_werror_flag=$ac_save_c_werror_flag
2839 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2840 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2841 if test "$ac_test_CFLAGS" = set; then
2842 CFLAGS=$ac_save_CFLAGS
2843 elif test $ac_cv_prog_cc_g = yes; then
2844 if test "$GCC" = yes; then
2850 if test "$GCC" = yes; then
2856 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2857 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2858 if test "${ac_cv_prog_cc_c89+set}" = set; then
2859 echo $ECHO_N "(cached) $ECHO_C" >&6
2861 ac_cv_prog_cc_c89=no
2863 cat >conftest.$ac_ext <<_ACEOF
2866 cat confdefs.h >>conftest.$ac_ext
2867 cat >>conftest.$ac_ext <<_ACEOF
2868 /* end confdefs.h. */
2871 #include <sys/types.h>
2872 #include <sys/stat.h>
2873 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2874 struct buf { int x; };
2875 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2876 static char *e (p, i)
2882 static char *f (char * (*g) (char **, int), char **p, ...)
2887 s = g (p, va_arg (v,int));
2892 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2893 function prototypes and stuff, but not '\xHH' hex character constants.
2894 These don't provoke an error unfortunately, instead are silently treated
2895 as 'x'. The following induces an error, until -std is added to get
2896 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2897 array size at least. It's necessary to write '\x00'==0 to get something
2898 that's true only with -std. */
2899 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2901 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2902 inside strings and character constants. */
2904 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2906 int test (int i, double x);
2907 struct s1 {int (*f) (int a);};
2908 struct s2 {int (*f) (double a);};
2909 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2915 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2920 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2921 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2923 CC="$ac_save_CC $ac_arg"
2924 rm -f conftest.$ac_objext
2925 if { (ac_try="$ac_compile"
2927 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2928 *) ac_try_echo
=$ac_try;;
2930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2931 (eval "$ac_compile") 2>conftest.er1
2933 grep -v '^ *+' conftest.er1
>conftest.err
2935 cat conftest.err
>&5
2936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2937 (exit $ac_status); } && {
2938 test -z "$ac_c_werror_flag" ||
2939 test ! -s conftest.err
2940 } && test -s conftest.
$ac_objext; then
2941 ac_cv_prog_cc_c89
=$ac_arg
2943 echo "$as_me: failed program was:" >&5
2944 sed 's/^/| /' conftest.
$ac_ext >&5
2949 rm -f core conftest.err conftest.
$ac_objext
2950 test "x$ac_cv_prog_cc_c89" != "xno" && break
2952 rm -f conftest.
$ac_ext
2957 case "x$ac_cv_prog_cc_c89" in
2959 { echo "$as_me:$LINENO: result: none needed" >&5
2960 echo "${ECHO_T}none needed" >&6; } ;;
2962 { echo "$as_me:$LINENO: result: unsupported" >&5
2963 echo "${ECHO_T}unsupported" >&6; } ;;
2965 CC
="$CC $ac_cv_prog_cc_c89"
2966 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2967 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2972 ac_cpp
='$CPP $CPPFLAGS'
2973 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2974 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2975 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2977 case $ac_cv_prog_cc_stdc in
2978 no
) ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;;
2979 *) { echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
2980 echo $ECHO_N "checking for $CC option to accept ISO C99... $ECHO_C" >&6; }
2981 if test "${ac_cv_prog_cc_c99+set}" = set; then
2982 echo $ECHO_N "(cached) $ECHO_C" >&6
2984 ac_cv_prog_cc_c99
=no
2986 cat >conftest.
$ac_ext <<_ACEOF
2989 cat confdefs.h
>>conftest.
$ac_ext
2990 cat >>conftest.
$ac_ext <<_ACEOF
2991 /* end confdefs.h. */
2993 #include <stdbool.h>
2998 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2999 #define debug(...) fprintf (stderr, __VA_ARGS__)
3000 #define showlist(...) puts (#__VA_ARGS__)
3001 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3003 test_varargs_macros (void)
3008 debug ("X = %d\n", x);
3009 showlist (The first, second, and third items.);
3010 report (x>y, "x is %d but y is %d", x, y);
3013 // Check long long types.
3014 #define BIG64 18446744073709551615ull
3015 #define BIG32 4294967295ul
3016 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3018 your preprocessor is broken;
3022 your preprocessor is broken;
3024 static long long int bignum = -9223372036854775807LL;
3025 static unsigned long long int ubignum = BIG64;
3027 struct incomplete_array
3035 const wchar_t *name;
3039 typedef const char *ccp;
3042 test_restrict (ccp restrict text)
3044 // See if C++-style comments work.
3045 // Iterate through items via the restricted pointer.
3046 // Also check for declarations in for loops.
3047 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3052 // Check varargs and va_copy.
3054 test_varargs (const char *format, ...)
3057 va_start (args, format);
3059 va_copy (args_copy, args);
3070 str = va_arg (args_copy, const char *);
3073 number = va_arg (args_copy, int);
3076 fnumber = va_arg (args_copy, double);
3091 _Bool success = false;
3094 if (test_restrict ("String literal") == 0)
3096 char *restrict newvar = "Another string";
3099 test_varargs ("s, d' f .", "string", 65, 34.234);
3100 test_varargs_macros ();
3102 // Check flexible array members.
3103 struct incomplete_array *ia =
3104 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3106 for (int i = 0; i < ia->datasize; ++i)
3107 ia->data[i] = i * 1.234;
3109 // Check named initializers.
3110 struct named_init ni = {
3112 .name = L"Test wide string",
3113 .average = 543.34343,
3118 int dynamic_array[ni.number];
3119 dynamic_array[ni.number - 1] = 543;
3121 // work around unused variable warnings
3122 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3123 || dynamic_array[ni.number - 1] != 543);
3129 for ac_arg
in '' -std=gnu99
-c99 -qlanglvl=extc99
3131 CC
="$ac_save_CC $ac_arg"
3132 rm -f conftest.
$ac_objext
3133 if { (ac_try
="$ac_compile"
3135 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3136 *) ac_try_echo=$ac_try;;
3138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3139 (eval "$ac_compile") 2>conftest.er1
3141 grep -v '^ *+' conftest.er1 >conftest.err
3143 cat conftest.err >&5
3144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145 (exit $ac_status); } && {
3146 test -z "$ac_c_werror_flag" ||
3147 test ! -s conftest.err
3148 } && test -s conftest.$ac_objext; then
3149 ac_cv_prog_cc_c99=$ac_arg
3151 echo "$as_me: failed program was:" >&5
3152 sed 's/^/| /' conftest.$ac_ext >&5
3157 rm -f core conftest.err conftest.$ac_objext
3158 test "x$ac_cv_prog_cc_c99" != "xno" && break
3160 rm -f conftest.$ac_ext
3165 case "x$ac_cv_prog_cc_c99" in
3167 { echo "$as_me:$LINENO: result: none needed" >&5
3168 echo "${ECHO_T}none needed" >&6; } ;;
3170 { echo "$as_me:$LINENO: result: unsupported" >&5
3171 echo "${ECHO_T}unsupported" >&6; } ;;
3173 CC="$CC $ac_cv_prog_cc_c99"
3174 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
3175 echo "${ECHO_T}$ac_cv_prog_cc_c99" >&6; } ;;
3177 if test "x$ac_cv_prog_cc_c99" != xno; then
3178 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3180 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3181 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3182 if test "${ac_cv_prog_cc_c89+set}" = set; then
3183 echo $ECHO_N "(cached) $ECHO_C" >&6
3185 ac_cv_prog_cc_c89=no
3187 cat >conftest.$ac_ext <<_ACEOF
3190 cat confdefs.h >>conftest.$ac_ext
3191 cat >>conftest.$ac_ext <<_ACEOF
3192 /* end confdefs.h. */
3195 #include <sys/types.h>
3196 #include <sys/stat.h>
3197 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3198 struct buf { int x; };
3199 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3200 static char *e (p, i)
3206 static char *f (char * (*g) (char **, int), char **p, ...)
3211 s = g (p, va_arg (v,int));
3216 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3217 function prototypes and stuff, but not '\xHH' hex character constants.
3218 These don't provoke an error unfortunately, instead are silently treated
3219 as 'x'. The following induces an error, until -std is added to get
3220 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3221 array size at least. It's necessary to write '\x00'==0 to get something
3222 that's true only with -std. */
3223 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3225 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3226 inside strings and character constants. */
3228 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3230 int test (int i, double x);
3231 struct s1 {int (*f) (int a);};
3232 struct s2 {int (*f) (double a);};
3233 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3239 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3244 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3245 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3247 CC="$ac_save_CC $ac_arg"
3248 rm -f conftest.$ac_objext
3249 if { (ac_try="$ac_compile"
3251 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3252 *) ac_try_echo
=$ac_try;;
3254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3255 (eval "$ac_compile") 2>conftest.er1
3257 grep -v '^ *+' conftest.er1
>conftest.err
3259 cat conftest.err
>&5
3260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3261 (exit $ac_status); } && {
3262 test -z "$ac_c_werror_flag" ||
3263 test ! -s conftest.err
3264 } && test -s conftest.
$ac_objext; then
3265 ac_cv_prog_cc_c89
=$ac_arg
3267 echo "$as_me: failed program was:" >&5
3268 sed 's/^/| /' conftest.
$ac_ext >&5
3273 rm -f core conftest.err conftest.
$ac_objext
3274 test "x$ac_cv_prog_cc_c89" != "xno" && break
3276 rm -f conftest.
$ac_ext
3281 case "x$ac_cv_prog_cc_c89" in
3283 { echo "$as_me:$LINENO: result: none needed" >&5
3284 echo "${ECHO_T}none needed" >&6; } ;;
3286 { echo "$as_me:$LINENO: result: unsupported" >&5
3287 echo "${ECHO_T}unsupported" >&6; } ;;
3289 CC
="$CC $ac_cv_prog_cc_c89"
3290 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3291 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3293 if test "x$ac_cv_prog_cc_c89" != xno
; then
3294 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
3296 ac_cv_prog_cc_stdc
=no
3304 { echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5
3305 echo $ECHO_N "checking for $CC option to accept ISO Standard C... $ECHO_C" >&6; }
3306 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3307 echo $ECHO_N "(cached) $ECHO_C" >&6
3310 case $ac_cv_prog_cc_stdc in
3311 no
) { echo "$as_me:$LINENO: result: unsupported" >&5
3312 echo "${ECHO_T}unsupported" >&6; } ;;
3313 '') { echo "$as_me:$LINENO: result: none needed" >&5
3314 echo "${ECHO_T}none needed" >&6; } ;;
3315 *) { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3316 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; } ;;
3321 ac_cpp
='$CPP $CPPFLAGS'
3322 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3323 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3324 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3325 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3326 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3327 # On Suns, sometimes $CPP names a directory.
3328 if test -n "$CPP" && test -d "$CPP"; then
3331 if test -z "$CPP"; then
3332 if test "${ac_cv_prog_CPP+set}" = set; then
3333 echo $ECHO_N "(cached) $ECHO_C" >&6
3335 # Double quotes because CPP needs to be expanded
3336 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3339 for ac_c_preproc_warn_flag
in '' yes
3341 # Use a header file that comes with gcc, so configuring glibc
3342 # with a fresh cross-compiler works.
3343 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3344 # <limits.h> exists even on freestanding compilers.
3345 # On the NeXT, cc -E runs the code through the compiler's parser,
3346 # not just through cpp. "Syntax error" is here to catch this case.
3347 cat >conftest.
$ac_ext <<_ACEOF
3350 cat confdefs.h
>>conftest.
$ac_ext
3351 cat >>conftest.
$ac_ext <<_ACEOF
3352 /* end confdefs.h. */
3354 # include <limits.h>
3356 # include <assert.h>
3360 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3362 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3363 *) ac_try_echo=$ac_try;;
3365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3366 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3368 grep -v '^ *+' conftest.er1 >conftest.err
3370 cat conftest.err >&5
3371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3372 (exit $ac_status); } >/dev/null && {
3373 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3374 test ! -s conftest.err
3378 echo "$as_me: failed program was:" >&5
3379 sed 's/^/| /' conftest.$ac_ext >&5
3381 # Broken: fails on valid input.
3385 rm -f conftest.err conftest.$ac_ext
3387 # OK, works on sane cases. Now check whether nonexistent headers
3388 # can be detected and how.
3389 cat >conftest.$ac_ext <<_ACEOF
3392 cat confdefs.h >>conftest.$ac_ext
3393 cat >>conftest.$ac_ext <<_ACEOF
3394 /* end confdefs.h. */
3395 #include <ac_nonexistent.h>
3397 if { (ac_try="$ac_cpp conftest.$ac_ext"
3399 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3400 *) ac_try_echo
=$ac_try;;
3402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3403 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3405 grep -v '^ *+' conftest.er1
>conftest.err
3407 cat conftest.err
>&5
3408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3409 (exit $ac_status); } >/dev
/null
&& {
3410 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3411 test ! -s conftest.err
3413 # Broken: success on invalid input.
3416 echo "$as_me: failed program was:" >&5
3417 sed 's/^/| /' conftest.
$ac_ext >&5
3419 # Passes both tests.
3424 rm -f conftest.err conftest.
$ac_ext
3427 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3428 rm -f conftest.err conftest.
$ac_ext
3429 if $ac_preproc_ok; then
3441 { echo "$as_me:$LINENO: result: $CPP" >&5
3442 echo "${ECHO_T}$CPP" >&6; }
3444 for ac_c_preproc_warn_flag
in '' yes
3446 # Use a header file that comes with gcc, so configuring glibc
3447 # with a fresh cross-compiler works.
3448 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3449 # <limits.h> exists even on freestanding compilers.
3450 # On the NeXT, cc -E runs the code through the compiler's parser,
3451 # not just through cpp. "Syntax error" is here to catch this case.
3452 cat >conftest.
$ac_ext <<_ACEOF
3455 cat confdefs.h
>>conftest.
$ac_ext
3456 cat >>conftest.
$ac_ext <<_ACEOF
3457 /* end confdefs.h. */
3459 # include <limits.h>
3461 # include <assert.h>
3465 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3467 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3468 *) ac_try_echo=$ac_try;;
3470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3471 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3473 grep -v '^ *+' conftest.er1 >conftest.err
3475 cat conftest.err >&5
3476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3477 (exit $ac_status); } >/dev/null && {
3478 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3479 test ! -s conftest.err
3483 echo "$as_me: failed program was:" >&5
3484 sed 's/^/| /' conftest.$ac_ext >&5
3486 # Broken: fails on valid input.
3490 rm -f conftest.err conftest.$ac_ext
3492 # OK, works on sane cases. Now check whether nonexistent headers
3493 # can be detected and how.
3494 cat >conftest.$ac_ext <<_ACEOF
3497 cat confdefs.h >>conftest.$ac_ext
3498 cat >>conftest.$ac_ext <<_ACEOF
3499 /* end confdefs.h. */
3500 #include <ac_nonexistent.h>
3502 if { (ac_try="$ac_cpp conftest.$ac_ext"
3504 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3505 *) ac_try_echo
=$ac_try;;
3507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3508 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3510 grep -v '^ *+' conftest.er1
>conftest.err
3512 cat conftest.err
>&5
3513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3514 (exit $ac_status); } >/dev
/null
&& {
3515 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3516 test ! -s conftest.err
3518 # Broken: success on invalid input.
3521 echo "$as_me: failed program was:" >&5
3522 sed 's/^/| /' conftest.
$ac_ext >&5
3524 # Passes both tests.
3529 rm -f conftest.err conftest.
$ac_ext
3532 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3533 rm -f conftest.err conftest.
$ac_ext
3534 if $ac_preproc_ok; then
3537 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3538 See \`config.log' for more details." >&5
3539 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3540 See \`config.log' for more details." >&2;}
3541 { (exit 1); exit 1; }; }
3545 ac_cpp
='$CPP $CPPFLAGS'
3546 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3547 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3548 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3551 # Check for a compatible awk
3552 for ac_prog
in gawk nawk
3554 # Extract the first word of "$ac_prog", so it can be a program name with args.
3555 set dummy
$ac_prog; ac_word
=$2
3556 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3558 if test "${ac_cv_prog_AWK+set}" = set; then
3559 echo $ECHO_N "(cached) $ECHO_C" >&6
3561 if test -n "$AWK"; then
3562 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3568 test -z "$as_dir" && as_dir
=.
3569 for ac_exec_ext
in '' $ac_executable_extensions; do
3570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3571 ac_cv_prog_AWK
="$ac_prog"
3572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3582 if test -n "$AWK"; then
3583 { echo "$as_me:$LINENO: result: $AWK" >&5
3584 echo "${ECHO_T}$AWK" >&6; }
3586 { echo "$as_me:$LINENO: result: no" >&5
3587 echo "${ECHO_T}no" >&6; }
3591 test -n "$AWK" && break
3594 if test "$AWK" = ""; then
3595 { { echo "$as_me:$LINENO: error: gawk is required to build AROS. Please install and run configure again." >&5
3596 echo "$as_me: error: gawk is required to build AROS. Please install and run configure again." >&2;}
3597 { (exit 1); exit 1; }; }
3599 # Extract the first word of "mmake", so it can be a program name with args.
3600 set dummy mmake
; ac_word
=$2
3601 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3603 if test "${ac_cv_prog_MMAKE+set}" = set; then
3604 echo $ECHO_N "(cached) $ECHO_C" >&6
3606 if test -n "$MMAKE"; then
3607 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
3609 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3613 test -z "$as_dir" && as_dir
=.
3614 for ac_exec_ext
in '' $ac_executable_extensions; do
3615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3616 ac_cv_prog_MMAKE
="mmake "
3617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3626 MMAKE
=$ac_cv_prog_MMAKE
3627 if test -n "$MMAKE"; then
3628 { echo "$as_me:$LINENO: result: $MMAKE" >&5
3629 echo "${ECHO_T}$MMAKE" >&6; }
3631 { echo "$as_me:$LINENO: result: no" >&5
3632 echo "${ECHO_T}no" >&6; }
3637 # Perform some default variable assignments. Note all of these will be
3638 # Regenerated from the script, so there is no need to cache them.
3641 if test "$GCC" = "yes"; then
3642 aros_gcc_ld
=`$CC -print-prog-name=ld`
3643 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
3644 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
3645 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3647 if test "${ac_cv_path_aros_host_ld+set}" = set; then
3648 echo $ECHO_N "(cached) $ECHO_C" >&6
3650 case $aros_host_ld in
3652 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3656 for as_dir
in `dirname $aros_gcc_ld`
3659 test -z "$as_dir" && as_dir
=.
3660 for ac_exec_ext
in '' $ac_executable_extensions; do
3661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3662 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3673 aros_host_ld
=$ac_cv_path_aros_host_ld
3674 if test -n "$aros_host_ld"; then
3675 { echo "$as_me:$LINENO: result: $aros_host_ld" >&5
3676 echo "${ECHO_T}$aros_host_ld" >&6; }
3678 { echo "$as_me:$LINENO: result: no" >&5
3679 echo "${ECHO_T}no" >&6; }
3684 if test "$aros_host_ld" = ""; then
3685 # Extract the first word of "ld", so it can be a program name with args.
3686 set dummy ld
; ac_word
=$2
3687 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3689 if test "${ac_cv_path_aros_host_ld+set}" = set; then
3690 echo $ECHO_N "(cached) $ECHO_C" >&6
3692 case $aros_host_ld in
3694 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3701 test -z "$as_dir" && as_dir
=.
3702 for ac_exec_ext
in '' $ac_executable_extensions; do
3703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3704 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3715 aros_host_ld
=$ac_cv_path_aros_host_ld
3716 if test -n "$aros_host_ld"; then
3717 { echo "$as_me:$LINENO: result: $aros_host_ld" >&5
3718 echo "${ECHO_T}$aros_host_ld" >&6; }
3720 { echo "$as_me:$LINENO: result: no" >&5
3721 echo "${ECHO_T}no" >&6; }
3726 if test "$aros_host_ld" = ""; then
3727 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
3728 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
3729 { (exit 1); exit 1; }; }
3731 aros_host_make
="make"
3732 aros_host_cflags
=$CFLAGS
3733 aros_host_ldflags
=$LDFLAGS
3734 aros_host_debug
="-g -O0"
3735 aros_host_mkdep
="\$(TOP)/scripts/mkdep"
3736 aros_host_mkargs
="--no-print-directory"
3737 aros_host_incl
="/usr/include"
3738 aros_host_exe_suffix
="$EXEEXT"
3739 aros_host_lib_suffix
=""
3741 for ac_prog
in aclocal aclocal19 aclocal-1.9
3743 # Extract the first word of "$ac_prog", so it can be a program name with args.
3744 set dummy
$ac_prog; ac_word
=$2
3745 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3746 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3747 if test "${ac_cv_prog_aros_host_aclocal+set}" = set; then
3748 echo $ECHO_N "(cached) $ECHO_C" >&6
3750 if test -n "$aros_host_aclocal"; then
3751 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
3753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3757 test -z "$as_dir" && as_dir
=.
3758 for ac_exec_ext
in '' $ac_executable_extensions; do
3759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3760 ac_cv_prog_aros_host_aclocal
="$ac_prog"
3761 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3770 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
3771 if test -n "$aros_host_aclocal"; then
3772 { echo "$as_me:$LINENO: result: $aros_host_aclocal" >&5
3773 echo "${ECHO_T}$aros_host_aclocal" >&6; }
3775 { echo "$as_me:$LINENO: result: no" >&5
3776 echo "${ECHO_T}no" >&6; }
3780 test -n "$aros_host_aclocal" && break
3783 for ac_prog
in autoconf autoconf259 autoconf253
3785 # Extract the first word of "$ac_prog", so it can be a program name with args.
3786 set dummy
$ac_prog; ac_word
=$2
3787 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3789 if test "${ac_cv_prog_aros_host_autoconf+set}" = set; then
3790 echo $ECHO_N "(cached) $ECHO_C" >&6
3792 if test -n "$aros_host_autoconf"; then
3793 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
3795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3799 test -z "$as_dir" && as_dir
=.
3800 for ac_exec_ext
in '' $ac_executable_extensions; do
3801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3802 ac_cv_prog_aros_host_autoconf
="$ac_prog"
3803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3812 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
3813 if test -n "$aros_host_autoconf"; then
3814 { echo "$as_me:$LINENO: result: $aros_host_autoconf" >&5
3815 echo "${ECHO_T}$aros_host_autoconf" >&6; }
3817 { echo "$as_me:$LINENO: result: no" >&5
3818 echo "${ECHO_T}no" >&6; }
3822 test -n "$aros_host_autoconf" && break
3825 for ac_prog
in autoheader autoheader259 autoheader253
3827 # Extract the first word of "$ac_prog", so it can be a program name with args.
3828 set dummy
$ac_prog; ac_word
=$2
3829 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3831 if test "${ac_cv_prog_aros_host_autoheader+set}" = set; then
3832 echo $ECHO_N "(cached) $ECHO_C" >&6
3834 if test -n "$aros_host_autoheader"; then
3835 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
3837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3841 test -z "$as_dir" && as_dir
=.
3842 for ac_exec_ext
in '' $ac_executable_extensions; do
3843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3844 ac_cv_prog_aros_host_autoheader
="$ac_prog"
3845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3854 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
3855 if test -n "$aros_host_autoheader"; then
3856 { echo "$as_me:$LINENO: result: $aros_host_autoheader" >&5
3857 echo "${ECHO_T}$aros_host_autoheader" >&6; }
3859 { echo "$as_me:$LINENO: result: no" >&5
3860 echo "${ECHO_T}no" >&6; }
3864 test -n "$aros_host_autoheader" && break
3867 for ac_prog
in automake automake19 automake-1.9
3869 # Extract the first word of "$ac_prog", so it can be a program name with args.
3870 set dummy
$ac_prog; ac_word
=$2
3871 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3873 if test "${ac_cv_prog_aros_host_automake+set}" = set; then
3874 echo $ECHO_N "(cached) $ECHO_C" >&6
3876 if test -n "$aros_host_automake"; then
3877 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
3879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3883 test -z "$as_dir" && as_dir
=.
3884 for ac_exec_ext
in '' $ac_executable_extensions; do
3885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3886 ac_cv_prog_aros_host_automake
="$ac_prog"
3887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3896 aros_host_automake
=$ac_cv_prog_aros_host_automake
3897 if test -n "$aros_host_automake"; then
3898 { echo "$as_me:$LINENO: result: $aros_host_automake" >&5
3899 echo "${ECHO_T}$aros_host_automake" >&6; }
3901 { echo "$as_me:$LINENO: result: no" >&5
3902 echo "${ECHO_T}no" >&6; }
3906 test -n "$aros_host_automake" && break
3910 if test "$aros_host_aclocal" = ""; then
3911 { { echo "$as_me:$LINENO: error: aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." >&5
3912 echo "$as_me: error: aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." >&2;}
3913 { (exit 1); exit 1; }; }
3915 if test "$aros_host_automake" = ""; then
3916 { { echo "$as_me:$LINENO: error: automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." >&5
3917 echo "$as_me: error: automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." >&2;}
3918 { (exit 1); exit 1; }; }
3921 case "$aros_host_cc" in
3923 aros_host_cc_pipe
="-pipe"
3926 aros_host_cc_pipe
=""
3929 aros_host_cc_pipe
=""
3933 aros_target_cc_includes
=""
3935 # This is the main host configuration section. It is where the host
3936 # can change the values of any variables it needs to change. We do
3937 # not look at anything that compiles to the target yet, we'll get
3942 aros_host_arch
="linux"
3943 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3946 aros_host_cpu
="i386"
3949 aros_host_cpu
="x86_64"
3952 aros_host_cpu
="m68k"
3958 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
3959 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
3960 aros_host_cpu
="$host_cpu"
3966 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
3967 aros_host_make
="gmake"
3968 aros_host_arch
="freebsd"
3969 aros_host_cpu
="i386"
3971 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
3976 aros_object_format
="elf_i386"
3980 aros_object_format
="elf_i386_fbsd"
3987 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3988 aros_host_arch
="darwin"
3991 aros_host_cpu
="i386"
3997 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
3998 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
3999 aros_host_cpu
="$host_cpu"
4003 aros_host_ldflags
="$aros_host_ldflags -liconv"
4008 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4009 aros_host_make
="gmake"
4010 aros_host_arch
="netbsd"
4013 aros_host_cpu
="i386"
4016 aros_host_cpu
="m68k"
4019 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4020 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4021 aros_host_cpu
="$host_cpu"
4024 aros_host_lib_suffix
=".0.0"
4028 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4029 aros_host_make
="gmake"
4030 aros_host_arch
="openbsd"
4033 aros_host_cpu
="i386"
4036 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4037 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4038 aros_host_cpu
="$host_cpu"
4044 aros_host_arch
="solaris"
4045 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4048 aros_host_cpu
="i386"
4051 aros_host_cpu
="sparc"
4054 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4055 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4056 aros_host_cpu
="$host_cpu"
4062 aros_host_arch
="morphos"
4067 aros_host_arch
="amiga"
4072 TOUCH
="/gg/bin/touch"
4075 aros_host_cpu
="m68k"
4081 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4082 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4083 aros_host_cpu
="$host_cpu"
4089 aros_host_arch
="cygwin"
4090 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4093 aros_host_cpu
="i386"
4096 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4097 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4098 aros_host_cpu
="$host_cpu"
4104 aros_host_arch
="mingw32"
4105 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4108 aros_host_cpu
="i386"
4111 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4112 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4113 aros_host_cpu
="$host_cpu"
4118 { { echo "$as_me:$LINENO: error: Unsupported host architecture $host" >&5
4119 echo "$as_me: error: Unsupported host architecture $host" >&2;}
4120 { (exit 1); exit 1; }; }
4124 # Extract the first word of "ar", so it can be a program name with args.
4125 set dummy
ar; ac_word
=$2
4126 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4128 if test "${ac_cv_prog_aros_host_ar+set}" = set; then
4129 echo $ECHO_N "(cached) $ECHO_C" >&6
4131 if test -n "$aros_host_ar"; then
4132 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4138 test -z "$as_dir" && as_dir
=.
4139 for ac_exec_ext
in '' $ac_executable_extensions; do
4140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4141 ac_cv_prog_aros_host_ar
="ar cr"
4142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4151 aros_host_ar
=$ac_cv_prog_aros_host_ar
4152 if test -n "$aros_host_ar"; then
4153 { echo "$as_me:$LINENO: result: $aros_host_ar" >&5
4154 echo "${ECHO_T}$aros_host_ar" >&6; }
4156 { echo "$as_me:$LINENO: result: no" >&5
4157 echo "${ECHO_T}no" >&6; }
4161 if test "$aros_host_ar" = ""; then
4162 { { echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
4163 echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
4164 { (exit 1); exit 1; }; }
4166 # Extract the first word of "ranlib", so it can be a program name with args.
4167 set dummy ranlib
; ac_word
=$2
4168 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4170 if test "${ac_cv_prog_aros_host_ranlib+set}" = set; then
4171 echo $ECHO_N "(cached) $ECHO_C" >&6
4173 if test -n "$aros_host_ranlib"; then
4174 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4180 test -z "$as_dir" && as_dir
=.
4181 for ac_exec_ext
in '' $ac_executable_extensions; do
4182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4183 ac_cv_prog_aros_host_ranlib
="ranlib "
4184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4193 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4194 if test -n "$aros_host_ranlib"; then
4195 { echo "$as_me:$LINENO: result: $aros_host_ranlib" >&5
4196 echo "${ECHO_T}$aros_host_ranlib" >&6; }
4198 { echo "$as_me:$LINENO: result: no" >&5
4199 echo "${ECHO_T}no" >&6; }
4203 if test "$aros_host_ranlib" = ""; then
4204 { { echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
4205 echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
4206 { (exit 1); exit 1; }; }
4208 # Extract the first word of "strip", so it can be a program name with args.
4209 set dummy strip
; ac_word
=$2
4210 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4212 if test "${ac_cv_prog_aros_host_strip+set}" = set; then
4213 echo $ECHO_N "(cached) $ECHO_C" >&6
4215 if test -n "$aros_host_strip"; then
4216 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4222 test -z "$as_dir" && as_dir
=.
4223 for ac_exec_ext
in '' $ac_executable_extensions; do
4224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4225 ac_cv_prog_aros_host_strip
="strip "
4226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4235 aros_host_strip
=$ac_cv_prog_aros_host_strip
4236 if test -n "$aros_host_strip"; then
4237 { echo "$as_me:$LINENO: result: $aros_host_strip" >&5
4238 echo "${ECHO_T}$aros_host_strip" >&6; }
4240 { echo "$as_me:$LINENO: result: no" >&5
4241 echo "${ECHO_T}no" >&6; }
4245 if test "$aros_host_strip" = ""; then
4246 { { echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
4247 echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
4248 { (exit 1); exit 1; }; }
4251 # Extract the first word of "rm", so it can be a program name with args.
4252 set dummy
rm; ac_word
=$2
4253 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4255 if test "${ac_cv_prog_RM+set}" = set; then
4256 echo $ECHO_N "(cached) $ECHO_C" >&6
4258 if test -n "$RM"; then
4259 ac_cv_prog_RM
="$RM" # Let the user override the test.
4261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4265 test -z "$as_dir" && as_dir
=.
4266 for ac_exec_ext
in '' $ac_executable_extensions; do
4267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4268 ac_cv_prog_RM
="rm -rf"
4269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4279 if test -n "$RM"; then
4280 { echo "$as_me:$LINENO: result: $RM" >&5
4281 echo "${ECHO_T}$RM" >&6; }
4283 { echo "$as_me:$LINENO: result: no" >&5
4284 echo "${ECHO_T}no" >&6; }
4288 if test "$RM" = ""; then
4289 { { echo "$as_me:$LINENO: error: rm is required to build AROS. Please install and run configure again." >&5
4290 echo "$as_me: error: rm is required to build AROS. Please install and run configure again." >&2;}
4291 { (exit 1); exit 1; }; }
4293 # Extract the first word of "cp", so it can be a program name with args.
4294 set dummy
cp; ac_word
=$2
4295 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4296 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4297 if test "${ac_cv_prog_CP+set}" = set; then
4298 echo $ECHO_N "(cached) $ECHO_C" >&6
4300 if test -n "$CP"; then
4301 ac_cv_prog_CP
="$CP" # Let the user override the test.
4303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4307 test -z "$as_dir" && as_dir
=.
4308 for ac_exec_ext
in '' $ac_executable_extensions; do
4309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4311 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4321 if test -n "$CP"; then
4322 { echo "$as_me:$LINENO: result: $CP" >&5
4323 echo "${ECHO_T}$CP" >&6; }
4325 { echo "$as_me:$LINENO: result: no" >&5
4326 echo "${ECHO_T}no" >&6; }
4330 if test "$CP" = ""; then
4331 { { echo "$as_me:$LINENO: error: cp is required to build AROS. Please install and run configure again." >&5
4332 echo "$as_me: error: cp is required to build AROS. Please install and run configure again." >&2;}
4333 { (exit 1); exit 1; }; }
4335 # Extract the first word of "mv", so it can be a program name with args.
4336 set dummy
mv; ac_word
=$2
4337 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4339 if test "${ac_cv_prog_MV+set}" = set; then
4340 echo $ECHO_N "(cached) $ECHO_C" >&6
4342 if test -n "$MV"; then
4343 ac_cv_prog_MV
="$MV" # Let the user override the test.
4345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4349 test -z "$as_dir" && as_dir
=.
4350 for ac_exec_ext
in '' $ac_executable_extensions; do
4351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4363 if test -n "$MV"; then
4364 { echo "$as_me:$LINENO: result: $MV" >&5
4365 echo "${ECHO_T}$MV" >&6; }
4367 { echo "$as_me:$LINENO: result: no" >&5
4368 echo "${ECHO_T}no" >&6; }
4372 if test "$MV" = ""; then
4373 { { echo "$as_me:$LINENO: error: mv is required to build AROS. Please install and run configure again." >&5
4374 echo "$as_me: error: mv is required to build AROS. Please install and run configure again." >&2;}
4375 { (exit 1); exit 1; }; }
4377 # Extract the first word of "echo", so it can be a program name with args.
4378 set dummy
echo; ac_word
=$2
4379 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4380 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4381 if test "${ac_cv_prog_ECHO+set}" = set; then
4382 echo $ECHO_N "(cached) $ECHO_C" >&6
4384 if test -n "$ECHO"; then
4385 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
4387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4391 test -z "$as_dir" && as_dir
=.
4392 for ac_exec_ext
in '' $ac_executable_extensions; do
4393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4394 ac_cv_prog_ECHO
="echo "
4395 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4404 ECHO
=$ac_cv_prog_ECHO
4405 if test -n "$ECHO"; then
4406 { echo "$as_me:$LINENO: result: $ECHO" >&5
4407 echo "${ECHO_T}$ECHO" >&6; }
4409 { echo "$as_me:$LINENO: result: no" >&5
4410 echo "${ECHO_T}no" >&6; }
4414 if test "$ECHO" = ""; then
4415 { { echo "$as_me:$LINENO: error: echo is required to build AROS. Please install and run configure again." >&5
4416 echo "$as_me: error: echo is required to build AROS. Please install and run configure again." >&2;}
4417 { (exit 1); exit 1; }; }
4419 # Extract the first word of "mkdir", so it can be a program name with args.
4420 set dummy mkdir
; ac_word
=$2
4421 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4423 if test "${ac_cv_prog_MKDIR+set}" = set; then
4424 echo $ECHO_N "(cached) $ECHO_C" >&6
4426 if test -n "$MKDIR"; then
4427 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
4429 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4433 test -z "$as_dir" && as_dir
=.
4434 for ac_exec_ext
in '' $ac_executable_extensions; do
4435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4436 ac_cv_prog_MKDIR
="mkdir -p"
4437 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4446 MKDIR
=$ac_cv_prog_MKDIR
4447 if test -n "$MKDIR"; then
4448 { echo "$as_me:$LINENO: result: $MKDIR" >&5
4449 echo "${ECHO_T}$MKDIR" >&6; }
4451 { echo "$as_me:$LINENO: result: no" >&5
4452 echo "${ECHO_T}no" >&6; }
4456 if test "$MKDIR" = ""; then
4457 { { echo "$as_me:$LINENO: error: mkdir is required to build AROS. Please install and run configure again." >&5
4458 echo "$as_me: error: mkdir is required to build AROS. Please install and run configure again." >&2;}
4459 { (exit 1); exit 1; }; }
4461 # Extract the first word of "touch", so it can be a program name with args.
4462 set dummy
touch; ac_word
=$2
4463 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4465 if test "${ac_cv_prog_TOUCH+set}" = set; then
4466 echo $ECHO_N "(cached) $ECHO_C" >&6
4468 if test -n "$TOUCH"; then
4469 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
4471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4475 test -z "$as_dir" && as_dir
=.
4476 for ac_exec_ext
in '' $ac_executable_extensions; do
4477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4478 ac_cv_prog_TOUCH
="touch "
4479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4488 TOUCH
=$ac_cv_prog_TOUCH
4489 if test -n "$TOUCH"; then
4490 { echo "$as_me:$LINENO: result: $TOUCH" >&5
4491 echo "${ECHO_T}$TOUCH" >&6; }
4493 { echo "$as_me:$LINENO: result: no" >&5
4494 echo "${ECHO_T}no" >&6; }
4498 if test "$TOUCH" = ""; then
4499 { { echo "$as_me:$LINENO: error: touch is required to build AROS. Please install and run configure again." >&5
4500 echo "$as_me: error: touch is required to build AROS. Please install and run configure again." >&2;}
4501 { (exit 1); exit 1; }; }
4503 # Extract the first word of "sort", so it can be a program name with args.
4504 set dummy
sort; ac_word
=$2
4505 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4507 if test "${ac_cv_prog_SORT+set}" = set; then
4508 echo $ECHO_N "(cached) $ECHO_C" >&6
4510 if test -n "$SORT"; then
4511 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
4513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4517 test -z "$as_dir" && as_dir
=.
4518 for ac_exec_ext
in '' $ac_executable_extensions; do
4519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4520 ac_cv_prog_SORT
="sort "
4521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4530 SORT
=$ac_cv_prog_SORT
4531 if test -n "$SORT"; then
4532 { echo "$as_me:$LINENO: result: $SORT" >&5
4533 echo "${ECHO_T}$SORT" >&6; }
4535 { echo "$as_me:$LINENO: result: no" >&5
4536 echo "${ECHO_T}no" >&6; }
4540 if test "$SORT" = ""; then
4541 { { echo "$as_me:$LINENO: error: sort is required to build AROS. Please install and run configure again." >&5
4542 echo "$as_me: error: sort is required to build AROS. Please install and run configure again." >&2;}
4543 { (exit 1); exit 1; }; }
4545 # Extract the first word of "uniq", so it can be a program name with args.
4546 set dummy
uniq; ac_word
=$2
4547 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4549 if test "${ac_cv_prog_UNIQ+set}" = set; then
4550 echo $ECHO_N "(cached) $ECHO_C" >&6
4552 if test -n "$UNIQ"; then
4553 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
4555 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4559 test -z "$as_dir" && as_dir
=.
4560 for ac_exec_ext
in '' $ac_executable_extensions; do
4561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4562 ac_cv_prog_UNIQ
="uniq "
4563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4572 UNIQ
=$ac_cv_prog_UNIQ
4573 if test -n "$UNIQ"; then
4574 { echo "$as_me:$LINENO: result: $UNIQ" >&5
4575 echo "${ECHO_T}$UNIQ" >&6; }
4577 { echo "$as_me:$LINENO: result: no" >&5
4578 echo "${ECHO_T}no" >&6; }
4582 if test "$UNIQ" = ""; then
4583 { { echo "$as_me:$LINENO: error: uniq is required to build AROS. Please install and run configure again." >&5
4584 echo "$as_me: error: uniq is required to build AROS. Please install and run configure again." >&2;}
4585 { (exit 1); exit 1; }; }
4587 # Extract the first word of "true", so it can be a program name with args.
4588 set dummy true
; ac_word
=$2
4589 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4591 if test "${ac_cv_prog_NOP+set}" = set; then
4592 echo $ECHO_N "(cached) $ECHO_C" >&6
4594 if test -n "$NOP"; then
4595 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
4597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4601 test -z "$as_dir" && as_dir
=.
4602 for ac_exec_ext
in '' $ac_executable_extensions; do
4603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4604 ac_cv_prog_NOP
="true "
4605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4615 if test -n "$NOP"; then
4616 { echo "$as_me:$LINENO: result: $NOP" >&5
4617 echo "${ECHO_T}$NOP" >&6; }
4619 { echo "$as_me:$LINENO: result: no" >&5
4620 echo "${ECHO_T}no" >&6; }
4624 if test "$NOP" = ""; then
4625 { { echo "$as_me:$LINENO: error: true is required to build AROS. Please install and run configure again." >&5
4626 echo "$as_me: error: true is required to build AROS. Please install and run configure again." >&2;}
4627 { (exit 1); exit 1; }; }
4629 # Extract the first word of "cat", so it can be a program name with args.
4630 set dummy
cat; ac_word
=$2
4631 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4633 if test "${ac_cv_prog_CAT+set}" = set; then
4634 echo $ECHO_N "(cached) $ECHO_C" >&6
4636 if test -n "$CAT"; then
4637 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
4639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4643 test -z "$as_dir" && as_dir
=.
4644 for ac_exec_ext
in '' $ac_executable_extensions; do
4645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4646 ac_cv_prog_CAT
="cat "
4647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4657 if test -n "$CAT"; then
4658 { echo "$as_me:$LINENO: result: $CAT" >&5
4659 echo "${ECHO_T}$CAT" >&6; }
4661 { echo "$as_me:$LINENO: result: no" >&5
4662 echo "${ECHO_T}no" >&6; }
4666 if test "$CAT" = ""; then
4667 { { echo "$as_me:$LINENO: error: cat is required to build AROS. Please install and run configure again." >&5
4668 echo "$as_me: error: cat is required to build AROS. Please install and run configure again." >&2;}
4669 { (exit 1); exit 1; }; }
4671 # Extract the first word of "bison", so it can be a program name with args.
4672 set dummy bison
; ac_word
=$2
4673 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4674 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4675 if test "${ac_cv_prog_BISON+set}" = set; then
4676 echo $ECHO_N "(cached) $ECHO_C" >&6
4678 if test -n "$BISON"; then
4679 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4685 test -z "$as_dir" && as_dir
=.
4686 for ac_exec_ext
in '' $ac_executable_extensions; do
4687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4688 ac_cv_prog_BISON
="bison "
4689 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4698 BISON
=$ac_cv_prog_BISON
4699 if test -n "$BISON"; then
4700 { echo "$as_me:$LINENO: result: $BISON" >&5
4701 echo "${ECHO_T}$BISON" >&6; }
4703 { echo "$as_me:$LINENO: result: no" >&5
4704 echo "${ECHO_T}no" >&6; }
4708 if test "$BISON" = ""; then
4709 { { echo "$as_me:$LINENO: error: bison is required to build AROS. Please install and run configure again." >&5
4710 echo "$as_me: error: bison is required to build AROS. Please install and run configure again." >&2;}
4711 { (exit 1); exit 1; }; }
4713 # Extract the first word of "flex", so it can be a program name with args.
4714 set dummy flex
; ac_word
=$2
4715 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4717 if test "${ac_cv_prog_FLEX+set}" = set; then
4718 echo $ECHO_N "(cached) $ECHO_C" >&6
4720 if test -n "$FLEX"; then
4721 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4727 test -z "$as_dir" && as_dir
=.
4728 for ac_exec_ext
in '' $ac_executable_extensions; do
4729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4730 ac_cv_prog_FLEX
="flex "
4731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4740 FLEX
=$ac_cv_prog_FLEX
4741 if test -n "$FLEX"; then
4742 { echo "$as_me:$LINENO: result: $FLEX" >&5
4743 echo "${ECHO_T}$FLEX" >&6; }
4745 { echo "$as_me:$LINENO: result: no" >&5
4746 echo "${ECHO_T}no" >&6; }
4750 if test "$FLEX" = ""; then
4751 { { echo "$as_me:$LINENO: error: flex is required to build AROS. Please install and run configure again." >&5
4752 echo "$as_me: error: flex is required to build AROS. Please install and run configure again." >&2;}
4753 { (exit 1); exit 1; }; }
4755 # Extract the first word of "pngtopnm", so it can be a program name with args.
4756 set dummy pngtopnm
; ac_word
=$2
4757 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4758 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4759 if test "${ac_cv_prog_PNGTOPNM+set}" = set; then
4760 echo $ECHO_N "(cached) $ECHO_C" >&6
4762 if test -n "$PNGTOPNM"; then
4763 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
4765 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4769 test -z "$as_dir" && as_dir
=.
4770 for ac_exec_ext
in '' $ac_executable_extensions; do
4771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4772 ac_cv_prog_PNGTOPNM
="pngtopnm "
4773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4782 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
4783 if test -n "$PNGTOPNM"; then
4784 { echo "$as_me:$LINENO: result: $PNGTOPNM" >&5
4785 echo "${ECHO_T}$PNGTOPNM" >&6; }
4787 { echo "$as_me:$LINENO: result: no" >&5
4788 echo "${ECHO_T}no" >&6; }
4792 if test "$PNGTOPNM" = ""; then
4793 { { echo "$as_me:$LINENO: error: pngtopnm is required to build AROS. Please install and run configure again." >&5
4794 echo "$as_me: error: pngtopnm is required to build AROS. Please install and run configure again." >&2;}
4795 { (exit 1); exit 1; }; }
4797 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
4798 set dummy ppmtoilbm
; ac_word
=$2
4799 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4801 if test "${ac_cv_prog_PPMTOILBM+set}" = set; then
4802 echo $ECHO_N "(cached) $ECHO_C" >&6
4804 if test -n "$PPMTOILBM"; then
4805 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
4807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4811 test -z "$as_dir" && as_dir
=.
4812 for ac_exec_ext
in '' $ac_executable_extensions; do
4813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4814 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
4815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4824 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
4825 if test -n "$PPMTOILBM"; then
4826 { echo "$as_me:$LINENO: result: $PPMTOILBM" >&5
4827 echo "${ECHO_T}$PPMTOILBM" >&6; }
4829 { echo "$as_me:$LINENO: result: no" >&5
4830 echo "${ECHO_T}no" >&6; }
4834 if test "$PPMTOILBM" = ""; then
4835 { { echo "$as_me:$LINENO: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&5
4836 echo "$as_me: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&2;}
4837 { (exit 1); exit 1; }; }
4839 # Extract the first word of "sed", so it can be a program name with args.
4840 set dummy
sed; ac_word
=$2
4841 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4843 if test "${ac_cv_prog_SED+set}" = set; then
4844 echo $ECHO_N "(cached) $ECHO_C" >&6
4846 if test -n "$SED"; then
4847 ac_cv_prog_SED
="$SED" # Let the user override the test.
4849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4853 test -z "$as_dir" && as_dir
=.
4854 for ac_exec_ext
in '' $ac_executable_extensions; do
4855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4856 ac_cv_prog_SED
="sed "
4857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4867 if test -n "$SED"; then
4868 { echo "$as_me:$LINENO: result: $SED" >&5
4869 echo "${ECHO_T}$SED" >&6; }
4871 { echo "$as_me:$LINENO: result: no" >&5
4872 echo "${ECHO_T}no" >&6; }
4876 if test "$SED" = ""; then
4877 { { echo "$as_me:$LINENO: error: sed is required to build AROS. Please install and run configure again." >&5
4878 echo "$as_me: error: sed is required to build AROS. Please install and run configure again." >&2;}
4879 { (exit 1); exit 1; }; }
4881 # Extract the first word of "chmod", so it can be a program name with args.
4882 set dummy
chmod; ac_word
=$2
4883 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4885 if test "${ac_cv_prog_CHMOD+set}" = set; then
4886 echo $ECHO_N "(cached) $ECHO_C" >&6
4888 if test -n "$CHMOD"; then
4889 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
4891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4895 test -z "$as_dir" && as_dir
=.
4896 for ac_exec_ext
in '' $ac_executable_extensions; do
4897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4898 ac_cv_prog_CHMOD
="chmod "
4899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4908 CHMOD
=$ac_cv_prog_CHMOD
4909 if test -n "$CHMOD"; then
4910 { echo "$as_me:$LINENO: result: $CHMOD" >&5
4911 echo "${ECHO_T}$CHMOD" >&6; }
4913 { echo "$as_me:$LINENO: result: no" >&5
4914 echo "${ECHO_T}no" >&6; }
4918 if test "$CHMOD" = ""; then
4919 { { echo "$as_me:$LINENO: error: chmod is required to build AROS. Please install and run configure again." >&5
4920 echo "$as_me: error: chmod is required to build AROS. Please install and run configure again." >&2;}
4921 { (exit 1); exit 1; }; }
4928 if test -n "$PYTHON"; then
4929 # If the user set $PYTHON, use it and don't search something else.
4930 { echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.2.1" >&5
4931 echo $ECHO_N "checking whether $PYTHON version >= 2.2.1... $ECHO_C" >&6; }
4932 prog
="import sys, string
4933 # split strings by '.' and convert to numeric. Append some zeros
4934 # because we need at least 4 digits for the hex conversion.
4935 minver = map(int, string.split('2.2.1', '.')) + [0, 0, 0]
4937 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
4938 sys.exit(sys.hexversion < minverhex)"
4939 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
4940 ($PYTHON -c "$prog") >&5 2>&5
4942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4943 (exit $ac_status); }; then
4944 { echo "$as_me:$LINENO: result: yes" >&5
4945 echo "${ECHO_T}yes" >&6; }
4947 { { echo "$as_me:$LINENO: error: too old" >&5
4948 echo "$as_me: error: too old" >&2;}
4949 { (exit 1); exit 1; }; }
4952 am_display_PYTHON
=$PYTHON
4954 # Otherwise, try each interpreter until we find one that satisfies
4956 { echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.2.1" >&5
4957 echo $ECHO_N "checking for a Python interpreter with version >= 2.2.1... $ECHO_C" >&6; }
4958 if test "${am_cv_pathless_PYTHON+set}" = set; then
4959 echo $ECHO_N "(cached) $ECHO_C" >&6
4962 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
4963 test "$am_cv_pathless_PYTHON" = none
&& break
4964 prog
="import sys, string
4965 # split strings by '.' and convert to numeric. Append some zeros
4966 # because we need at least 4 digits for the hex conversion.
4967 minver = map(int, string.split('2.2.1', '.')) + [0, 0, 0]
4969 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
4970 sys.exit(sys.hexversion < minverhex)"
4971 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
4972 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
4974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4975 (exit $ac_status); }; then
4981 { echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
4982 echo "${ECHO_T}$am_cv_pathless_PYTHON" >&6; }
4983 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
4984 if test "$am_cv_pathless_PYTHON" = none
; then
4987 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
4988 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
4989 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4991 if test "${ac_cv_path_PYTHON+set}" = set; then
4992 echo $ECHO_N "(cached) $ECHO_C" >&6
4996 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
4999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5003 test -z "$as_dir" && as_dir
=.
5004 for ac_exec_ext
in '' $ac_executable_extensions; do
5005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5006 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5017 PYTHON
=$ac_cv_path_PYTHON
5018 if test -n "$PYTHON"; then
5019 { echo "$as_me:$LINENO: result: $PYTHON" >&5
5020 echo "${ECHO_T}$PYTHON" >&6; }
5022 { echo "$as_me:$LINENO: result: no" >&5
5023 echo "${ECHO_T}no" >&6; }
5028 am_display_PYTHON
=$am_cv_pathless_PYTHON
5032 if test "$PYTHON" = :; then
5033 { { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
5034 echo "$as_me: error: no suitable Python interpreter found" >&2;}
5035 { (exit 1); exit 1; }; }
5039 { echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
5040 echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; }
5041 if test "${am_cv_python_version+set}" = set; then
5042 echo $ECHO_N "(cached) $ECHO_C" >&6
5044 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
5046 { echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
5047 echo "${ECHO_T}$am_cv_python_version" >&6; }
5048 PYTHON_VERSION
=$am_cv_python_version
5052 PYTHON_PREFIX
='${prefix}'
5054 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5058 { echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
5059 echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; }
5060 if test "${am_cv_python_platform+set}" = set; then
5061 echo $ECHO_N "(cached) $ECHO_C" >&6
5063 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
5065 { echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
5066 echo "${ECHO_T}$am_cv_python_platform" >&6; }
5067 PYTHON_PLATFORM
=$am_cv_python_platform
5072 { echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
5073 echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6; }
5074 if test "${am_cv_python_pythondir+set}" = set; then
5075 echo $ECHO_N "(cached) $ECHO_C" >&6
5077 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5078 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5080 { echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
5081 echo "${ECHO_T}$am_cv_python_pythondir" >&6; }
5082 pythondir
=$am_cv_python_pythondir
5086 pkgpythondir
=\
${pythondir}/$PACKAGE
5089 { echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
5090 echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6; }
5091 if test "${am_cv_python_pyexecdir+set}" = set; then
5092 echo $ECHO_N "(cached) $ECHO_C" >&6
5094 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5095 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5097 { echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
5098 echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; }
5099 pyexecdir
=$am_cv_python_pyexecdir
5103 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5121 # Check for some includes for the X11 HIDD and the kernel
5124 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5125 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5126 if test "${ac_cv_path_GREP+set}" = set; then
5127 echo $ECHO_N "(cached) $ECHO_C" >&6
5129 # Extract the first word of "grep ggrep" to use in msg output
5130 if test -z "$GREP"; then
5131 set dummy
grep ggrep
; ac_prog_name
=$2
5132 if test "${ac_cv_path_GREP+set}" = set; then
5133 echo $ECHO_N "(cached) $ECHO_C" >&6
5135 ac_path_GREP_found
=false
5136 # Loop through the user's path and test for each of PROGNAME-LIST
5137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5138 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5141 test -z "$as_dir" && as_dir
=.
5142 for ac_prog
in grep ggrep
; do
5143 for ac_exec_ext
in '' $ac_executable_extensions; do
5144 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5145 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5146 # Check for GNU ac_path_GREP and select it if it is found.
5147 # Check for GNU $ac_path_GREP
5148 case `"$ac_path_GREP" --version 2>&1` in
5150 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5153 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5156 cat "conftest.in" "conftest.in" >"conftest.tmp"
5157 mv "conftest.tmp" "conftest.in"
5158 cp "conftest.in" "conftest.nl"
5159 echo 'GREP' >> "conftest.nl"
5160 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5161 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5162 ac_count
=`expr $ac_count + 1`
5163 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5164 # Best one so far, save it but keep looking for a better one
5165 ac_cv_path_GREP
="$ac_path_GREP"
5166 ac_path_GREP_max
=$ac_count
5168 # 10*(2^10) chars as input seems more than enough
5169 test $ac_count -gt 10 && break
5171 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5175 $ac_path_GREP_found && break 3
5185 GREP
="$ac_cv_path_GREP"
5186 if test -z "$GREP"; then
5187 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5188 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5189 { (exit 1); exit 1; }; }
5193 ac_cv_path_GREP
=$GREP
5198 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5199 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5200 GREP
="$ac_cv_path_GREP"
5203 { echo "$as_me:$LINENO: checking for egrep" >&5
5204 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5205 if test "${ac_cv_path_EGREP+set}" = set; then
5206 echo $ECHO_N "(cached) $ECHO_C" >&6
5208 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5209 then ac_cv_path_EGREP
="$GREP -E"
5211 # Extract the first word of "egrep" to use in msg output
5212 if test -z "$EGREP"; then
5213 set dummy
egrep; ac_prog_name
=$2
5214 if test "${ac_cv_path_EGREP+set}" = set; then
5215 echo $ECHO_N "(cached) $ECHO_C" >&6
5217 ac_path_EGREP_found
=false
5218 # Loop through the user's path and test for each of PROGNAME-LIST
5219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5220 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5223 test -z "$as_dir" && as_dir
=.
5224 for ac_prog
in egrep; do
5225 for ac_exec_ext
in '' $ac_executable_extensions; do
5226 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5227 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5228 # Check for GNU ac_path_EGREP and select it if it is found.
5229 # Check for GNU $ac_path_EGREP
5230 case `"$ac_path_EGREP" --version 2>&1` in
5232 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5235 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5238 cat "conftest.in" "conftest.in" >"conftest.tmp"
5239 mv "conftest.tmp" "conftest.in"
5240 cp "conftest.in" "conftest.nl"
5241 echo 'EGREP' >> "conftest.nl"
5242 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5243 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5244 ac_count
=`expr $ac_count + 1`
5245 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5246 # Best one so far, save it but keep looking for a better one
5247 ac_cv_path_EGREP
="$ac_path_EGREP"
5248 ac_path_EGREP_max
=$ac_count
5250 # 10*(2^10) chars as input seems more than enough
5251 test $ac_count -gt 10 && break
5253 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5257 $ac_path_EGREP_found && break 3
5267 EGREP
="$ac_cv_path_EGREP"
5268 if test -z "$EGREP"; then
5269 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5270 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5271 { (exit 1); exit 1; }; }
5275 ac_cv_path_EGREP
=$EGREP
5281 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5282 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5283 EGREP
="$ac_cv_path_EGREP"
5286 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5287 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5288 if test "${ac_cv_header_stdc+set}" = set; then
5289 echo $ECHO_N "(cached) $ECHO_C" >&6
5291 cat >conftest.
$ac_ext <<_ACEOF
5294 cat confdefs.h
>>conftest.
$ac_ext
5295 cat >>conftest.
$ac_ext <<_ACEOF
5296 /* end confdefs.h. */
5310 rm -f conftest.
$ac_objext
5311 if { (ac_try
="$ac_compile"
5313 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5314 *) ac_try_echo=$ac_try;;
5316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5317 (eval "$ac_compile") 2>conftest.er1
5319 grep -v '^ *+' conftest.er1 >conftest.err
5321 cat conftest.err >&5
5322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5323 (exit $ac_status); } && {
5324 test -z "$ac_c_werror_flag" ||
5325 test ! -s conftest.err
5326 } && test -s conftest.$ac_objext; then
5327 ac_cv_header_stdc=yes
5329 echo "$as_me: failed program was:" >&5
5330 sed 's/^/| /' conftest.$ac_ext >&5
5332 ac_cv_header_stdc=no
5335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5337 if test $ac_cv_header_stdc = yes; then
5338 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5339 cat >conftest.$ac_ext <<_ACEOF
5342 cat confdefs.h >>conftest.$ac_ext
5343 cat >>conftest.$ac_ext <<_ACEOF
5344 /* end confdefs.h. */
5348 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5349 $EGREP "memchr" >/dev/null 2>&1; then
5352 ac_cv_header_stdc=no
5358 if test $ac_cv_header_stdc = yes; then
5359 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5360 cat >conftest.$ac_ext <<_ACEOF
5363 cat confdefs.h >>conftest.$ac_ext
5364 cat >>conftest.$ac_ext <<_ACEOF
5365 /* end confdefs.h. */
5369 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5370 $EGREP "free" >/dev/null 2>&1; then
5373 ac_cv_header_stdc=no
5379 if test $ac_cv_header_stdc = yes; then
5380 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5381 if test "$cross_compiling" = yes; then
5384 cat >conftest.$ac_ext <<_ACEOF
5387 cat confdefs.h >>conftest.$ac_ext
5388 cat >>conftest.$ac_ext <<_ACEOF
5389 /* end confdefs.h. */
5392 #if ((' ' & 0x0FF) == 0x020)
5393 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5394 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5396 # define ISLOWER(c) \
5397 (('a' <= (c) && (c) <= 'i') \
5398 || ('j' <= (c) && (c) <= 'r') \
5399 || ('s' <= (c) && (c) <= 'z'))
5400 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5403 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5408 for (i = 0; i < 256; i++)
5409 if (XOR (islower (i), ISLOWER (i))
5410 || toupper (i) != TOUPPER (i))
5415 rm -f conftest$ac_exeext
5416 if { (ac_try="$ac_link"
5418 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5419 *) ac_try_echo
=$ac_try;;
5421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5422 (eval "$ac_link") 2>&5
5424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5425 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5426 { (case "(($ac_try" in
5427 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5428 *) ac_try_echo=$ac_try;;
5430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5431 (eval "$ac_try") 2>&5
5433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5434 (exit $ac_status); }; }; then
5437 echo "$as_me: program exited with status $ac_status" >&5
5438 echo "$as_me: failed program was:" >&5
5439 sed 's/^/| /' conftest.$ac_ext >&5
5442 ac_cv_header_stdc=no
5444 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5450 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5451 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5452 if test $ac_cv_header_stdc = yes; then
5454 cat >>confdefs.h <<\_ACEOF
5455 #define STDC_HEADERS 1
5460 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5470 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5471 inttypes.h stdint.h unistd.h
5473 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5474 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5475 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5476 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5477 echo $ECHO_N "(cached) $ECHO_C" >&6
5479 cat >conftest.$ac_ext <<_ACEOF
5482 cat confdefs.h >>conftest.$ac_ext
5483 cat >>conftest.$ac_ext <<_ACEOF
5484 /* end confdefs.h. */
5485 $ac_includes_default
5487 #include <$ac_header>
5489 rm -f conftest.$ac_objext
5490 if { (ac_try="$ac_compile"
5492 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5493 *) ac_try_echo
=$ac_try;;
5495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5496 (eval "$ac_compile") 2>conftest.er1
5498 grep -v '^ *+' conftest.er1
>conftest.err
5500 cat conftest.err
>&5
5501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5502 (exit $ac_status); } && {
5503 test -z "$ac_c_werror_flag" ||
5504 test ! -s conftest.err
5505 } && test -s conftest.
$ac_objext; then
5506 eval "$as_ac_Header=yes"
5508 echo "$as_me: failed program was:" >&5
5509 sed 's/^/| /' conftest.
$ac_ext >&5
5511 eval "$as_ac_Header=no"
5514 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5516 ac_res
=`eval echo '${'$as_ac_Header'}'`
5517 { echo "$as_me:$LINENO: result: $ac_res" >&5
5518 echo "${ECHO_T}$ac_res" >&6; }
5519 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5520 cat >>confdefs.h
<<_ACEOF
5521 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5538 for ac_header
in sys
/ipc.h sys
/shm.h \
5539 sys
/mmap.h sys
/mman.h sysexits.h \
5540 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
5543 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5544 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5545 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5546 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5547 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5548 echo $ECHO_N "(cached) $ECHO_C" >&6
5550 ac_res
=`eval echo '${'$as_ac_Header'}'`
5551 { echo "$as_me:$LINENO: result: $ac_res" >&5
5552 echo "${ECHO_T}$ac_res" >&6; }
5554 # Is the header compilable?
5555 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5556 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5557 cat >conftest.
$ac_ext <<_ACEOF
5560 cat confdefs.h
>>conftest.
$ac_ext
5561 cat >>conftest.
$ac_ext <<_ACEOF
5562 /* end confdefs.h. */
5563 $ac_includes_default
5564 #include <$ac_header>
5566 rm -f conftest.
$ac_objext
5567 if { (ac_try
="$ac_compile"
5569 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5570 *) ac_try_echo=$ac_try;;
5572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5573 (eval "$ac_compile") 2>conftest.er1
5575 grep -v '^ *+' conftest.er1 >conftest.err
5577 cat conftest.err >&5
5578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5579 (exit $ac_status); } && {
5580 test -z "$ac_c_werror_flag" ||
5581 test ! -s conftest.err
5582 } && test -s conftest.$ac_objext; then
5583 ac_header_compiler=yes
5585 echo "$as_me: failed program was:" >&5
5586 sed 's/^/| /' conftest.$ac_ext >&5
5588 ac_header_compiler=no
5591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5592 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5593 echo "${ECHO_T}$ac_header_compiler" >&6; }
5595 # Is the header present?
5596 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5597 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5598 cat >conftest.$ac_ext <<_ACEOF
5601 cat confdefs.h >>conftest.$ac_ext
5602 cat >>conftest.$ac_ext <<_ACEOF
5603 /* end confdefs.h. */
5604 #include <$ac_header>
5606 if { (ac_try="$ac_cpp conftest.$ac_ext"
5608 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5609 *) ac_try_echo
=$ac_try;;
5611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5612 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5614 grep -v '^ *+' conftest.er1
>conftest.err
5616 cat conftest.err
>&5
5617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5618 (exit $ac_status); } >/dev
/null
&& {
5619 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5620 test ! -s conftest.err
5622 ac_header_preproc
=yes
5624 echo "$as_me: failed program was:" >&5
5625 sed 's/^/| /' conftest.
$ac_ext >&5
5627 ac_header_preproc
=no
5630 rm -f conftest.err conftest.
$ac_ext
5631 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5632 echo "${ECHO_T}$ac_header_preproc" >&6; }
5634 # So? What about this header?
5635 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5637 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5638 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5639 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5640 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5641 ac_header_preproc
=yes
5644 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5645 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5646 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5647 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5648 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5649 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5650 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5651 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5652 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5653 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5654 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5655 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5659 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5660 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5661 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5662 echo $ECHO_N "(cached) $ECHO_C" >&6
5664 eval "$as_ac_Header=\$ac_header_preproc"
5666 ac_res
=`eval echo '${'$as_ac_Header'}'`
5667 { echo "$as_me:$LINENO: result: $ac_res" >&5
5668 echo "${ECHO_T}$ac_res" >&6; }
5671 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5672 cat >>confdefs.h
<<_ACEOF
5673 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5682 for ac_header
in sys
/mount.h
5684 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5685 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5686 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5687 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5688 echo $ECHO_N "(cached) $ECHO_C" >&6
5690 cat >conftest.
$ac_ext <<_ACEOF
5693 cat confdefs.h
>>conftest.
$ac_ext
5694 cat >>conftest.
$ac_ext <<_ACEOF
5695 /* end confdefs.h. */
5696 #include <sys/param.h>
5698 #include <$ac_header>
5700 rm -f conftest.
$ac_objext
5701 if { (ac_try
="$ac_compile"
5703 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5704 *) ac_try_echo=$ac_try;;
5706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5707 (eval "$ac_compile") 2>conftest.er1
5709 grep -v '^ *+' conftest.er1 >conftest.err
5711 cat conftest.err >&5
5712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5713 (exit $ac_status); } && {
5714 test -z "$ac_c_werror_flag" ||
5715 test ! -s conftest.err
5716 } && test -s conftest.$ac_objext; then
5717 eval "$as_ac_Header=yes"
5719 echo "$as_me: failed program was:" >&5
5720 sed 's/^/| /' conftest.$ac_ext >&5
5722 eval "$as_ac_Header=no"
5725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5727 ac_res=`eval echo '${'$as_ac_Header'}'`
5728 { echo "$as_me:$LINENO: result: $ac_res" >&5
5729 echo "${ECHO_T}$ac_res" >&6; }
5730 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5731 cat >>confdefs.h <<_ACEOF
5732 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5746 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
5747 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
5748 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
5749 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
5750 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5751 echo $ECHO_N "(cached) $ECHO_C" >&6
5753 cat >conftest.$ac_ext <<_ACEOF
5756 cat confdefs.h >>conftest.$ac_ext
5757 cat >>conftest.$ac_ext <<_ACEOF
5758 /* end confdefs.h. */
5759 #include <sys/types.h>
5771 rm -f conftest.$ac_objext
5772 if { (ac_try="$ac_compile"
5774 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5775 *) ac_try_echo
=$ac_try;;
5777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5778 (eval "$ac_compile") 2>conftest.er1
5780 grep -v '^ *+' conftest.er1
>conftest.err
5782 cat conftest.err
>&5
5783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5784 (exit $ac_status); } && {
5785 test -z "$ac_c_werror_flag" ||
5786 test ! -s conftest.err
5787 } && test -s conftest.
$ac_objext; then
5788 eval "$as_ac_Header=yes"
5790 echo "$as_me: failed program was:" >&5
5791 sed 's/^/| /' conftest.
$ac_ext >&5
5793 eval "$as_ac_Header=no"
5796 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5798 ac_res
=`eval echo '${'$as_ac_Header'}'`
5799 { echo "$as_me:$LINENO: result: $ac_res" >&5
5800 echo "${ECHO_T}$ac_res" >&6; }
5801 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5802 cat >>confdefs.h
<<_ACEOF
5803 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5806 ac_header_dirent
=$ac_hdr; break
5810 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5811 if test $ac_header_dirent = dirent.h
; then
5812 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
5813 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
5814 if test "${ac_cv_search_opendir+set}" = set; then
5815 echo $ECHO_N "(cached) $ECHO_C" >&6
5817 ac_func_search_save_LIBS
=$LIBS
5818 cat >conftest.
$ac_ext <<_ACEOF
5821 cat confdefs.h
>>conftest.
$ac_ext
5822 cat >>conftest.
$ac_ext <<_ACEOF
5823 /* end confdefs.h. */
5825 /* Override any GCC internal prototype to avoid an error.
5826 Use char because int might match the return type of a GCC
5827 builtin and then its argument prototype would still apply. */
5840 for ac_lib
in '' dir
; do
5841 if test -z "$ac_lib"; then
5842 ac_res
="none required"
5845 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5847 rm -f conftest.
$ac_objext conftest
$ac_exeext
5848 if { (ac_try
="$ac_link"
5850 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5851 *) ac_try_echo=$ac_try;;
5853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5854 (eval "$ac_link") 2>conftest.er1
5856 grep -v '^ *+' conftest.er1 >conftest.err
5858 cat conftest.err >&5
5859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5860 (exit $ac_status); } && {
5861 test -z "$ac_c_werror_flag" ||
5862 test ! -s conftest.err
5863 } && test -s conftest$ac_exeext &&
5864 $as_test_x conftest$ac_exeext; then
5865 ac_cv_search_opendir=$ac_res
5867 echo "$as_me: failed program was:" >&5
5868 sed 's/^/| /' conftest.$ac_ext >&5
5873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5875 if test "${ac_cv_search_opendir+set}" = set; then
5879 if test "${ac_cv_search_opendir+set}" = set; then
5882 ac_cv_search_opendir=no
5885 LIBS=$ac_func_search_save_LIBS
5887 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5888 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
5889 ac_res=$ac_cv_search_opendir
5890 if test "$ac_res" != no; then
5891 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5896 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
5897 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
5898 if test "${ac_cv_search_opendir+set}" = set; then
5899 echo $ECHO_N "(cached) $ECHO_C" >&6
5901 ac_func_search_save_LIBS=$LIBS
5902 cat >conftest.$ac_ext <<_ACEOF
5905 cat confdefs.h >>conftest.$ac_ext
5906 cat >>conftest.$ac_ext <<_ACEOF
5907 /* end confdefs.h. */
5909 /* Override any GCC internal prototype to avoid an error.
5910 Use char because int might match the return type of a GCC
5911 builtin and then its argument prototype would still apply. */
5924 for ac_lib in '' x; do
5925 if test -z "$ac_lib"; then
5926 ac_res="none required"
5929 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5931 rm -f conftest.$ac_objext conftest$ac_exeext
5932 if { (ac_try="$ac_link"
5934 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5935 *) ac_try_echo
=$ac_try;;
5937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5938 (eval "$ac_link") 2>conftest.er1
5940 grep -v '^ *+' conftest.er1
>conftest.err
5942 cat conftest.err
>&5
5943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5944 (exit $ac_status); } && {
5945 test -z "$ac_c_werror_flag" ||
5946 test ! -s conftest.err
5947 } && test -s conftest
$ac_exeext &&
5948 $as_test_x conftest
$ac_exeext; then
5949 ac_cv_search_opendir
=$ac_res
5951 echo "$as_me: failed program was:" >&5
5952 sed 's/^/| /' conftest.
$ac_ext >&5
5957 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5959 if test "${ac_cv_search_opendir+set}" = set; then
5963 if test "${ac_cv_search_opendir+set}" = set; then
5966 ac_cv_search_opendir
=no
5969 LIBS
=$ac_func_search_save_LIBS
5971 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5972 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
5973 ac_res
=$ac_cv_search_opendir
5974 if test "$ac_res" != no
; then
5975 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5981 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
5982 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
5983 if test "${ac_cv_header_stat_broken+set}" = set; then
5984 echo $ECHO_N "(cached) $ECHO_C" >&6
5986 cat >conftest.
$ac_ext <<_ACEOF
5989 cat confdefs.h
>>conftest.
$ac_ext
5990 cat >>conftest.
$ac_ext <<_ACEOF
5991 /* end confdefs.h. */
5992 #include <sys/types.h>
5993 #include <sys/stat.h>
5995 #if defined S_ISBLK && defined S_IFDIR
5996 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5999 #if defined S_ISBLK && defined S_IFCHR
6000 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6003 #if defined S_ISLNK && defined S_IFREG
6004 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6007 #if defined S_ISSOCK && defined S_IFREG
6008 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6012 rm -f conftest.
$ac_objext
6013 if { (ac_try
="$ac_compile"
6015 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6016 *) ac_try_echo=$ac_try;;
6018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6019 (eval "$ac_compile") 2>conftest.er1
6021 grep -v '^ *+' conftest.er1 >conftest.err
6023 cat conftest.err >&5
6024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6025 (exit $ac_status); } && {
6026 test -z "$ac_c_werror_flag" ||
6027 test ! -s conftest.err
6028 } && test -s conftest.$ac_objext; then
6029 ac_cv_header_stat_broken=no
6031 echo "$as_me: failed program was:" >&5
6032 sed 's/^/| /' conftest.$ac_ext >&5
6034 ac_cv_header_stat_broken=yes
6037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6039 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
6040 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
6041 if test $ac_cv_header_stat_broken = yes; then
6043 cat >>confdefs.h <<\_ACEOF
6044 #define STAT_MACROS_BROKEN 1
6049 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6050 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6051 if test "${ac_cv_header_stdc+set}" = set; then
6052 echo $ECHO_N "(cached) $ECHO_C" >&6
6054 cat >conftest.$ac_ext <<_ACEOF
6057 cat confdefs.h >>conftest.$ac_ext
6058 cat >>conftest.$ac_ext <<_ACEOF
6059 /* end confdefs.h. */
6073 rm -f conftest.$ac_objext
6074 if { (ac_try="$ac_compile"
6076 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6077 *) ac_try_echo
=$ac_try;;
6079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6080 (eval "$ac_compile") 2>conftest.er1
6082 grep -v '^ *+' conftest.er1
>conftest.err
6084 cat conftest.err
>&5
6085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6086 (exit $ac_status); } && {
6087 test -z "$ac_c_werror_flag" ||
6088 test ! -s conftest.err
6089 } && test -s conftest.
$ac_objext; then
6090 ac_cv_header_stdc
=yes
6092 echo "$as_me: failed program was:" >&5
6093 sed 's/^/| /' conftest.
$ac_ext >&5
6095 ac_cv_header_stdc
=no
6098 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6100 if test $ac_cv_header_stdc = yes; then
6101 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6102 cat >conftest.
$ac_ext <<_ACEOF
6105 cat confdefs.h
>>conftest.
$ac_ext
6106 cat >>conftest.
$ac_ext <<_ACEOF
6107 /* end confdefs.h. */
6111 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6112 $EGREP "memchr" >/dev
/null
2>&1; then
6115 ac_cv_header_stdc
=no
6121 if test $ac_cv_header_stdc = yes; then
6122 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6123 cat >conftest.
$ac_ext <<_ACEOF
6126 cat confdefs.h
>>conftest.
$ac_ext
6127 cat >>conftest.
$ac_ext <<_ACEOF
6128 /* end confdefs.h. */
6132 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6133 $EGREP "free" >/dev
/null
2>&1; then
6136 ac_cv_header_stdc
=no
6142 if test $ac_cv_header_stdc = yes; then
6143 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6144 if test "$cross_compiling" = yes; then
6147 cat >conftest.
$ac_ext <<_ACEOF
6150 cat confdefs.h
>>conftest.
$ac_ext
6151 cat >>conftest.
$ac_ext <<_ACEOF
6152 /* end confdefs.h. */
6155 #if ((' ' & 0x0FF) == 0x020)
6156 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6157 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6159 # define ISLOWER(c) \
6160 (('a' <= (c) && (c) <= 'i') \
6161 || ('j' <= (c) && (c) <= 'r') \
6162 || ('s' <= (c) && (c) <= 'z'))
6163 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6166 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6171 for (i = 0; i < 256; i++)
6172 if (XOR (islower (i), ISLOWER (i))
6173 || toupper (i) != TOUPPER (i))
6178 rm -f conftest
$ac_exeext
6179 if { (ac_try
="$ac_link"
6181 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6182 *) ac_try_echo=$ac_try;;
6184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6185 (eval "$ac_link") 2>&5
6187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6188 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6189 { (case "(($ac_try" in
6190 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6191 *) ac_try_echo
=$ac_try;;
6193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6194 (eval "$ac_try") 2>&5
6196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6197 (exit $ac_status); }; }; then
6200 echo "$as_me: program exited with status $ac_status" >&5
6201 echo "$as_me: failed program was:" >&5
6202 sed 's/^/| /' conftest.
$ac_ext >&5
6205 ac_cv_header_stdc
=no
6207 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6213 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6214 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6215 if test $ac_cv_header_stdc = yes; then
6217 cat >>confdefs.h
<<\_ACEOF
6218 #define STDC_HEADERS 1
6223 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
6224 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
6225 if test "${ac_cv_header_sys_wait_h+set}" = set; then
6226 echo $ECHO_N "(cached) $ECHO_C" >&6
6228 cat >conftest.
$ac_ext <<_ACEOF
6231 cat confdefs.h
>>conftest.
$ac_ext
6232 cat >>conftest.
$ac_ext <<_ACEOF
6233 /* end confdefs.h. */
6234 #include <sys/types.h>
6235 #include <sys/wait.h>
6237 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6240 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6248 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6253 rm -f conftest.
$ac_objext
6254 if { (ac_try
="$ac_compile"
6256 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6257 *) ac_try_echo=$ac_try;;
6259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6260 (eval "$ac_compile") 2>conftest.er1
6262 grep -v '^ *+' conftest.er1 >conftest.err
6264 cat conftest.err >&5
6265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6266 (exit $ac_status); } && {
6267 test -z "$ac_c_werror_flag" ||
6268 test ! -s conftest.err
6269 } && test -s conftest.$ac_objext; then
6270 ac_cv_header_sys_wait_h=yes
6272 echo "$as_me: failed program was:" >&5
6273 sed 's/^/| /' conftest.$ac_ext >&5
6275 ac_cv_header_sys_wait_h=no
6278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6280 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
6281 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
6282 if test $ac_cv_header_sys_wait_h = yes; then
6284 cat >>confdefs.h <<\_ACEOF
6285 #define HAVE_SYS_WAIT_H 1
6290 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6291 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
6292 if test "${ac_cv_header_time+set}" = set; then
6293 echo $ECHO_N "(cached) $ECHO_C" >&6
6295 cat >conftest.$ac_ext <<_ACEOF
6298 cat confdefs.h >>conftest.$ac_ext
6299 cat >>conftest.$ac_ext <<_ACEOF
6300 /* end confdefs.h. */
6301 #include <sys/types.h>
6302 #include <sys/time.h>
6308 if ((struct tm *) 0)
6314 rm -f conftest.$ac_objext
6315 if { (ac_try="$ac_compile"
6317 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6318 *) ac_try_echo
=$ac_try;;
6320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6321 (eval "$ac_compile") 2>conftest.er1
6323 grep -v '^ *+' conftest.er1
>conftest.err
6325 cat conftest.err
>&5
6326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6327 (exit $ac_status); } && {
6328 test -z "$ac_c_werror_flag" ||
6329 test ! -s conftest.err
6330 } && test -s conftest.
$ac_objext; then
6331 ac_cv_header_time
=yes
6333 echo "$as_me: failed program was:" >&5
6334 sed 's/^/| /' conftest.
$ac_ext >&5
6336 ac_cv_header_time
=no
6339 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6341 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6342 echo "${ECHO_T}$ac_cv_header_time" >&6; }
6343 if test $ac_cv_header_time = yes; then
6345 cat >>confdefs.h
<<\_ACEOF
6346 #define TIME_WITH_SYS_TIME 1
6351 { echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6352 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6; }
6353 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6354 echo $ECHO_N "(cached) $ECHO_C" >&6
6356 cat >conftest.
$ac_ext <<_ACEOF
6359 cat confdefs.h
>>conftest.
$ac_ext
6360 cat >>conftest.
$ac_ext <<_ACEOF
6361 /* end confdefs.h. */
6362 $ac_includes_default
6366 static struct stat ac_aggr;
6367 if (ac_aggr.st_blksize)
6373 rm -f conftest.
$ac_objext
6374 if { (ac_try
="$ac_compile"
6376 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6377 *) ac_try_echo=$ac_try;;
6379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6380 (eval "$ac_compile") 2>conftest.er1
6382 grep -v '^ *+' conftest.er1 >conftest.err
6384 cat conftest.err >&5
6385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6386 (exit $ac_status); } && {
6387 test -z "$ac_c_werror_flag" ||
6388 test ! -s conftest.err
6389 } && test -s conftest.$ac_objext; then
6390 ac_cv_member_struct_stat_st_blksize=yes
6392 echo "$as_me: failed program was:" >&5
6393 sed 's/^/| /' conftest.$ac_ext >&5
6395 cat >conftest.$ac_ext <<_ACEOF
6398 cat confdefs.h >>conftest.$ac_ext
6399 cat >>conftest.$ac_ext <<_ACEOF
6400 /* end confdefs.h. */
6401 $ac_includes_default
6405 static struct stat ac_aggr;
6406 if (sizeof ac_aggr.st_blksize)
6412 rm -f conftest.$ac_objext
6413 if { (ac_try="$ac_compile"
6415 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6416 *) ac_try_echo
=$ac_try;;
6418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6419 (eval "$ac_compile") 2>conftest.er1
6421 grep -v '^ *+' conftest.er1
>conftest.err
6423 cat conftest.err
>&5
6424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6425 (exit $ac_status); } && {
6426 test -z "$ac_c_werror_flag" ||
6427 test ! -s conftest.err
6428 } && test -s conftest.
$ac_objext; then
6429 ac_cv_member_struct_stat_st_blksize
=yes
6431 echo "$as_me: failed program was:" >&5
6432 sed 's/^/| /' conftest.
$ac_ext >&5
6434 ac_cv_member_struct_stat_st_blksize
=no
6437 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6440 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6442 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
6443 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6; }
6444 if test $ac_cv_member_struct_stat_st_blksize = yes; then
6446 cat >>confdefs.h
<<_ACEOF
6447 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6451 cat >>confdefs.h
<<\_ACEOF
6452 #define HAVE_ST_BLKSIZE 1
6458 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
6459 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
6460 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
6461 echo $ECHO_N "(cached) $ECHO_C" >&6
6463 cat >conftest.
$ac_ext <<_ACEOF
6466 cat confdefs.h
>>conftest.
$ac_ext
6467 cat >>conftest.
$ac_ext <<_ACEOF
6468 /* end confdefs.h. */
6469 $ac_includes_default
6473 static struct stat ac_aggr;
6474 if (ac_aggr.st_blocks)
6480 rm -f conftest.
$ac_objext
6481 if { (ac_try
="$ac_compile"
6483 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6484 *) ac_try_echo=$ac_try;;
6486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6487 (eval "$ac_compile") 2>conftest.er1
6489 grep -v '^ *+' conftest.er1 >conftest.err
6491 cat conftest.err >&5
6492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6493 (exit $ac_status); } && {
6494 test -z "$ac_c_werror_flag" ||
6495 test ! -s conftest.err
6496 } && test -s conftest.$ac_objext; then
6497 ac_cv_member_struct_stat_st_blocks=yes
6499 echo "$as_me: failed program was:" >&5
6500 sed 's/^/| /' conftest.$ac_ext >&5
6502 cat >conftest.$ac_ext <<_ACEOF
6505 cat confdefs.h >>conftest.$ac_ext
6506 cat >>conftest.$ac_ext <<_ACEOF
6507 /* end confdefs.h. */
6508 $ac_includes_default
6512 static struct stat ac_aggr;
6513 if (sizeof ac_aggr.st_blocks)
6519 rm -f conftest.$ac_objext
6520 if { (ac_try="$ac_compile"
6522 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6523 *) ac_try_echo
=$ac_try;;
6525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6526 (eval "$ac_compile") 2>conftest.er1
6528 grep -v '^ *+' conftest.er1
>conftest.err
6530 cat conftest.err
>&5
6531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6532 (exit $ac_status); } && {
6533 test -z "$ac_c_werror_flag" ||
6534 test ! -s conftest.err
6535 } && test -s conftest.
$ac_objext; then
6536 ac_cv_member_struct_stat_st_blocks
=yes
6538 echo "$as_me: failed program was:" >&5
6539 sed 's/^/| /' conftest.
$ac_ext >&5
6541 ac_cv_member_struct_stat_st_blocks
=no
6544 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6547 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6549 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
6550 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
6551 if test $ac_cv_member_struct_stat_st_blocks = yes; then
6553 cat >>confdefs.h
<<_ACEOF
6554 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6558 cat >>confdefs.h
<<\_ACEOF
6559 #define HAVE_ST_BLOCKS 1
6563 case " $LIBOBJS " in
6564 *" fileblocks.$ac_objext "* ) ;;
6565 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6572 { echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6573 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6; }
6574 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6575 echo $ECHO_N "(cached) $ECHO_C" >&6
6577 cat >conftest.
$ac_ext <<_ACEOF
6580 cat confdefs.h
>>conftest.
$ac_ext
6581 cat >>conftest.
$ac_ext <<_ACEOF
6582 /* end confdefs.h. */
6583 $ac_includes_default
6587 static struct stat ac_aggr;
6588 if (ac_aggr.st_rdev)
6594 rm -f conftest.
$ac_objext
6595 if { (ac_try
="$ac_compile"
6597 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6598 *) ac_try_echo=$ac_try;;
6600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6601 (eval "$ac_compile") 2>conftest.er1
6603 grep -v '^ *+' conftest.er1 >conftest.err
6605 cat conftest.err >&5
6606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6607 (exit $ac_status); } && {
6608 test -z "$ac_c_werror_flag" ||
6609 test ! -s conftest.err
6610 } && test -s conftest.$ac_objext; then
6611 ac_cv_member_struct_stat_st_rdev=yes
6613 echo "$as_me: failed program was:" >&5
6614 sed 's/^/| /' conftest.$ac_ext >&5
6616 cat >conftest.$ac_ext <<_ACEOF
6619 cat confdefs.h >>conftest.$ac_ext
6620 cat >>conftest.$ac_ext <<_ACEOF
6621 /* end confdefs.h. */
6622 $ac_includes_default
6626 static struct stat ac_aggr;
6627 if (sizeof ac_aggr.st_rdev)
6633 rm -f conftest.$ac_objext
6634 if { (ac_try="$ac_compile"
6636 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6637 *) ac_try_echo
=$ac_try;;
6639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6640 (eval "$ac_compile") 2>conftest.er1
6642 grep -v '^ *+' conftest.er1
>conftest.err
6644 cat conftest.err
>&5
6645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6646 (exit $ac_status); } && {
6647 test -z "$ac_c_werror_flag" ||
6648 test ! -s conftest.err
6649 } && test -s conftest.
$ac_objext; then
6650 ac_cv_member_struct_stat_st_rdev
=yes
6652 echo "$as_me: failed program was:" >&5
6653 sed 's/^/| /' conftest.
$ac_ext >&5
6655 ac_cv_member_struct_stat_st_rdev
=no
6658 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6661 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6663 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
6664 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6; }
6665 if test $ac_cv_member_struct_stat_st_rdev = yes; then
6667 cat >>confdefs.h
<<_ACEOF
6668 #define HAVE_STRUCT_STAT_ST_RDEV 1
6672 cat >>confdefs.h
<<\_ACEOF
6673 #define HAVE_ST_RDEV 1
6679 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6680 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
6681 if test "${ac_cv_struct_tm+set}" = set; then
6682 echo $ECHO_N "(cached) $ECHO_C" >&6
6684 cat >conftest.
$ac_ext <<_ACEOF
6687 cat confdefs.h
>>conftest.
$ac_ext
6688 cat >>conftest.
$ac_ext <<_ACEOF
6689 /* end confdefs.h. */
6690 #include <sys/types.h>
6697 int *p = &tm.tm_sec;
6703 rm -f conftest.
$ac_objext
6704 if { (ac_try
="$ac_compile"
6706 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6707 *) ac_try_echo=$ac_try;;
6709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6710 (eval "$ac_compile") 2>conftest.er1
6712 grep -v '^ *+' conftest.er1 >conftest.err
6714 cat conftest.err >&5
6715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6716 (exit $ac_status); } && {
6717 test -z "$ac_c_werror_flag" ||
6718 test ! -s conftest.err
6719 } && test -s conftest.$ac_objext; then
6720 ac_cv_struct_tm=time.h
6722 echo "$as_me: failed program was:" >&5
6723 sed 's/^/| /' conftest.$ac_ext >&5
6725 ac_cv_struct_tm=sys/time.h
6728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6730 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6731 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
6732 if test $ac_cv_struct_tm = sys/time.h; then
6734 cat >>confdefs.h <<\_ACEOF
6735 #define TM_IN_SYS_TIME 1
6740 { echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
6741 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6; }
6742 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
6743 echo $ECHO_N "(cached) $ECHO_C" >&6
6745 cat >conftest.$ac_ext <<_ACEOF
6748 cat confdefs.h >>conftest.$ac_ext
6749 cat >>conftest.$ac_ext <<_ACEOF
6750 /* end confdefs.h. */
6751 #include <sys/types.h>
6752 #include <$ac_cv_struct_tm>
6758 static struct tm ac_aggr;
6759 if (ac_aggr.tm_zone)
6765 rm -f conftest.$ac_objext
6766 if { (ac_try="$ac_compile"
6768 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6769 *) ac_try_echo
=$ac_try;;
6771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6772 (eval "$ac_compile") 2>conftest.er1
6774 grep -v '^ *+' conftest.er1
>conftest.err
6776 cat conftest.err
>&5
6777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6778 (exit $ac_status); } && {
6779 test -z "$ac_c_werror_flag" ||
6780 test ! -s conftest.err
6781 } && test -s conftest.
$ac_objext; then
6782 ac_cv_member_struct_tm_tm_zone
=yes
6784 echo "$as_me: failed program was:" >&5
6785 sed 's/^/| /' conftest.
$ac_ext >&5
6787 cat >conftest.
$ac_ext <<_ACEOF
6790 cat confdefs.h
>>conftest.
$ac_ext
6791 cat >>conftest.
$ac_ext <<_ACEOF
6792 /* end confdefs.h. */
6793 #include <sys/types.h>
6794 #include <$ac_cv_struct_tm>
6800 static struct tm ac_aggr;
6801 if (sizeof ac_aggr.tm_zone)
6807 rm -f conftest.
$ac_objext
6808 if { (ac_try
="$ac_compile"
6810 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6811 *) ac_try_echo=$ac_try;;
6813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6814 (eval "$ac_compile") 2>conftest.er1
6816 grep -v '^ *+' conftest.er1 >conftest.err
6818 cat conftest.err >&5
6819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6820 (exit $ac_status); } && {
6821 test -z "$ac_c_werror_flag" ||
6822 test ! -s conftest.err
6823 } && test -s conftest.$ac_objext; then
6824 ac_cv_member_struct_tm_tm_zone=yes
6826 echo "$as_me: failed program was:" >&5
6827 sed 's/^/| /' conftest.$ac_ext >&5
6829 ac_cv_member_struct_tm_tm_zone=no
6832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6837 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
6838 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6; }
6839 if test $ac_cv_member_struct_tm_tm_zone = yes; then
6841 cat >>confdefs.h <<_ACEOF
6842 #define HAVE_STRUCT_TM_TM_ZONE 1
6848 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6850 cat >>confdefs.h <<\_ACEOF
6851 #define HAVE_TM_ZONE 1
6855 { echo "$as_me:$LINENO: checking whether tzname is declared" >&5
6856 echo $ECHO_N "checking whether tzname is declared... $ECHO_C" >&6; }
6857 if test "${ac_cv_have_decl_tzname+set}" = set; then
6858 echo $ECHO_N "(cached) $ECHO_C" >&6
6860 cat >conftest.$ac_ext <<_ACEOF
6863 cat confdefs.h >>conftest.$ac_ext
6864 cat >>conftest.$ac_ext <<_ACEOF
6865 /* end confdefs.h. */
6879 rm -f conftest.$ac_objext
6880 if { (ac_try="$ac_compile"
6882 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6883 *) ac_try_echo
=$ac_try;;
6885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6886 (eval "$ac_compile") 2>conftest.er1
6888 grep -v '^ *+' conftest.er1
>conftest.err
6890 cat conftest.err
>&5
6891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6892 (exit $ac_status); } && {
6893 test -z "$ac_c_werror_flag" ||
6894 test ! -s conftest.err
6895 } && test -s conftest.
$ac_objext; then
6896 ac_cv_have_decl_tzname
=yes
6898 echo "$as_me: failed program was:" >&5
6899 sed 's/^/| /' conftest.
$ac_ext >&5
6901 ac_cv_have_decl_tzname
=no
6904 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6906 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5
6907 echo "${ECHO_T}$ac_cv_have_decl_tzname" >&6; }
6908 if test $ac_cv_have_decl_tzname = yes; then
6910 cat >>confdefs.h
<<_ACEOF
6911 #define HAVE_DECL_TZNAME 1
6916 cat >>confdefs.h
<<_ACEOF
6917 #define HAVE_DECL_TZNAME 0
6924 { echo "$as_me:$LINENO: checking for tzname" >&5
6925 echo $ECHO_N "checking for tzname... $ECHO_C" >&6; }
6926 if test "${ac_cv_var_tzname+set}" = set; then
6927 echo $ECHO_N "(cached) $ECHO_C" >&6
6929 cat >conftest.
$ac_ext <<_ACEOF
6932 cat confdefs.h
>>conftest.
$ac_ext
6933 cat >>conftest.
$ac_ext <<_ACEOF
6934 /* end confdefs.h. */
6936 #if !HAVE_DECL_TZNAME
6937 extern char *tzname[];
6943 return tzname[0][0];
6948 rm -f conftest.
$ac_objext conftest
$ac_exeext
6949 if { (ac_try
="$ac_link"
6951 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6952 *) ac_try_echo=$ac_try;;
6954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6955 (eval "$ac_link") 2>conftest.er1
6957 grep -v '^ *+' conftest.er1 >conftest.err
6959 cat conftest.err >&5
6960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6961 (exit $ac_status); } && {
6962 test -z "$ac_c_werror_flag" ||
6963 test ! -s conftest.err
6964 } && test -s conftest$ac_exeext &&
6965 $as_test_x conftest$ac_exeext; then
6966 ac_cv_var_tzname=yes
6968 echo "$as_me: failed program was:" >&5
6969 sed 's/^/| /' conftest.$ac_ext >&5
6974 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6975 conftest$ac_exeext conftest.$ac_ext
6977 { echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
6978 echo "${ECHO_T}$ac_cv_var_tzname" >&6; }
6979 if test $ac_cv_var_tzname = yes; then
6981 cat >>confdefs.h <<\_ACEOF
6982 #define HAVE_TZNAME 1
6988 { echo "$as_me:$LINENO: checking for off_t" >&5
6989 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
6990 if test "${ac_cv_type_off_t+set}" = set; then
6991 echo $ECHO_N "(cached) $ECHO_C" >&6
6993 cat >conftest.$ac_ext <<_ACEOF
6996 cat confdefs.h >>conftest.$ac_ext
6997 cat >>conftest.$ac_ext <<_ACEOF
6998 /* end confdefs.h. */
6999 $ac_includes_default
7000 typedef off_t ac__type_new_;
7004 if ((ac__type_new_ *) 0)
7006 if (sizeof (ac__type_new_))
7012 rm -f conftest.$ac_objext
7013 if { (ac_try="$ac_compile"
7015 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7016 *) ac_try_echo
=$ac_try;;
7018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7019 (eval "$ac_compile") 2>conftest.er1
7021 grep -v '^ *+' conftest.er1
>conftest.err
7023 cat conftest.err
>&5
7024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7025 (exit $ac_status); } && {
7026 test -z "$ac_c_werror_flag" ||
7027 test ! -s conftest.err
7028 } && test -s conftest.
$ac_objext; then
7029 ac_cv_type_off_t
=yes
7031 echo "$as_me: failed program was:" >&5
7032 sed 's/^/| /' conftest.
$ac_ext >&5
7037 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7039 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
7040 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
7041 if test $ac_cv_type_off_t = yes; then
7045 cat >>confdefs.h
<<_ACEOF
7046 #define off_t long int
7051 { echo "$as_me:$LINENO: checking for pid_t" >&5
7052 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
7053 if test "${ac_cv_type_pid_t+set}" = set; then
7054 echo $ECHO_N "(cached) $ECHO_C" >&6
7056 cat >conftest.
$ac_ext <<_ACEOF
7059 cat confdefs.h
>>conftest.
$ac_ext
7060 cat >>conftest.
$ac_ext <<_ACEOF
7061 /* end confdefs.h. */
7062 $ac_includes_default
7063 typedef pid_t ac__type_new_;
7067 if ((ac__type_new_ *) 0)
7069 if (sizeof (ac__type_new_))
7075 rm -f conftest.
$ac_objext
7076 if { (ac_try
="$ac_compile"
7078 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7079 *) ac_try_echo=$ac_try;;
7081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7082 (eval "$ac_compile") 2>conftest.er1
7084 grep -v '^ *+' conftest.er1 >conftest.err
7086 cat conftest.err >&5
7087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7088 (exit $ac_status); } && {
7089 test -z "$ac_c_werror_flag" ||
7090 test ! -s conftest.err
7091 } && test -s conftest.$ac_objext; then
7092 ac_cv_type_pid_t=yes
7094 echo "$as_me: failed program was:" >&5
7095 sed 's/^/| /' conftest.$ac_ext >&5
7100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7102 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
7103 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
7104 if test $ac_cv_type_pid_t = yes; then
7108 cat >>confdefs.h <<_ACEOF
7114 { echo "$as_me:$LINENO: checking for size_t" >&5
7115 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
7116 if test "${ac_cv_type_size_t+set}" = set; then
7117 echo $ECHO_N "(cached) $ECHO_C" >&6
7119 cat >conftest.$ac_ext <<_ACEOF
7122 cat confdefs.h >>conftest.$ac_ext
7123 cat >>conftest.$ac_ext <<_ACEOF
7124 /* end confdefs.h. */
7125 $ac_includes_default
7126 typedef size_t ac__type_new_;
7130 if ((ac__type_new_ *) 0)
7132 if (sizeof (ac__type_new_))
7138 rm -f conftest.$ac_objext
7139 if { (ac_try="$ac_compile"
7141 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7142 *) ac_try_echo
=$ac_try;;
7144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7145 (eval "$ac_compile") 2>conftest.er1
7147 grep -v '^ *+' conftest.er1
>conftest.err
7149 cat conftest.err
>&5
7150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7151 (exit $ac_status); } && {
7152 test -z "$ac_c_werror_flag" ||
7153 test ! -s conftest.err
7154 } && test -s conftest.
$ac_objext; then
7155 ac_cv_type_size_t
=yes
7157 echo "$as_me: failed program was:" >&5
7158 sed 's/^/| /' conftest.
$ac_ext >&5
7160 ac_cv_type_size_t
=no
7163 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7165 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
7166 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
7167 if test $ac_cv_type_size_t = yes; then
7171 cat >>confdefs.h
<<_ACEOF
7172 #define size_t unsigned int
7177 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
7178 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
7179 if test "${ac_cv_type_uid_t+set}" = set; then
7180 echo $ECHO_N "(cached) $ECHO_C" >&6
7182 cat >conftest.
$ac_ext <<_ACEOF
7185 cat confdefs.h
>>conftest.
$ac_ext
7186 cat >>conftest.
$ac_ext <<_ACEOF
7187 /* end confdefs.h. */
7188 #include <sys/types.h>
7191 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7192 $EGREP "uid_t" >/dev
/null
2>&1; then
7193 ac_cv_type_uid_t
=yes
7200 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
7201 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
7202 if test $ac_cv_type_uid_t = no
; then
7204 cat >>confdefs.h
<<\_ACEOF
7209 cat >>confdefs.h
<<\_ACEOF
7216 { echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
7217 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6; }
7218 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
7219 echo $ECHO_N "(cached) $ECHO_C" >&6
7221 cat >conftest.
$ac_ext <<_ACEOF
7224 cat confdefs.h
>>conftest.
$ac_ext
7225 cat >>conftest.
$ac_ext <<_ACEOF
7226 /* end confdefs.h. */
7227 $ac_includes_default
7231 static struct tm ac_aggr;
7232 if (ac_aggr.tm_gmtoff)
7238 rm -f conftest.
$ac_objext
7239 if { (ac_try
="$ac_compile"
7241 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7242 *) ac_try_echo=$ac_try;;
7244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7245 (eval "$ac_compile") 2>conftest.er1
7247 grep -v '^ *+' conftest.er1 >conftest.err
7249 cat conftest.err >&5
7250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7251 (exit $ac_status); } && {
7252 test -z "$ac_c_werror_flag" ||
7253 test ! -s conftest.err
7254 } && test -s conftest.$ac_objext; then
7255 ac_cv_member_struct_tm_tm_gmtoff=yes
7257 echo "$as_me: failed program was:" >&5
7258 sed 's/^/| /' conftest.$ac_ext >&5
7260 cat >conftest.$ac_ext <<_ACEOF
7263 cat confdefs.h >>conftest.$ac_ext
7264 cat >>conftest.$ac_ext <<_ACEOF
7265 /* end confdefs.h. */
7266 $ac_includes_default
7270 static struct tm ac_aggr;
7271 if (sizeof ac_aggr.tm_gmtoff)
7277 rm -f conftest.$ac_objext
7278 if { (ac_try="$ac_compile"
7280 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7281 *) ac_try_echo
=$ac_try;;
7283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7284 (eval "$ac_compile") 2>conftest.er1
7286 grep -v '^ *+' conftest.er1
>conftest.err
7288 cat conftest.err
>&5
7289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7290 (exit $ac_status); } && {
7291 test -z "$ac_c_werror_flag" ||
7292 test ! -s conftest.err
7293 } && test -s conftest.
$ac_objext; then
7294 ac_cv_member_struct_tm_tm_gmtoff
=yes
7296 echo "$as_me: failed program was:" >&5
7297 sed 's/^/| /' conftest.
$ac_ext >&5
7299 ac_cv_member_struct_tm_tm_gmtoff
=no
7302 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7305 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7307 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
7308 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6; }
7309 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
7311 cat >>confdefs.h
<<_ACEOF
7312 #define HAVE_STRUCT_TM_TM_GMTOFF 1
7319 # Look for some functions
7334 for ac_func
in getpagesize kqueue statfs statvfs \
7335 clone kse_create rfork_thread thr_create sa_register \
7336 getcontext makecontext setcontext sigaltstack swapcontext
7338 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7339 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7341 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7342 echo $ECHO_N "(cached) $ECHO_C" >&6
7344 cat >conftest.
$ac_ext <<_ACEOF
7347 cat confdefs.h
>>conftest.
$ac_ext
7348 cat >>conftest.
$ac_ext <<_ACEOF
7349 /* end confdefs.h. */
7350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7352 #define $ac_func innocuous_$ac_func
7354 /* System header to define __stub macros and hopefully few prototypes,
7355 which can conflict with char $ac_func (); below.
7356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7357 <limits.h> exists even on freestanding compilers. */
7360 # include <limits.h>
7362 # include <assert.h>
7367 /* Override any GCC internal prototype to avoid an error.
7368 Use char because int might match the return type of a GCC
7369 builtin and then its argument prototype would still apply. */
7374 /* The GNU C library defines this for functions which it implements
7375 to always fail with ENOSYS. Some functions are actually named
7376 something starting with __ and the normal name is an alias. */
7377 #if defined __stub_$ac_func || defined __stub___$ac_func
7389 rm -f conftest.
$ac_objext conftest
$ac_exeext
7390 if { (ac_try
="$ac_link"
7392 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7393 *) ac_try_echo=$ac_try;;
7395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7396 (eval "$ac_link") 2>conftest.er1
7398 grep -v '^ *+' conftest.er1 >conftest.err
7400 cat conftest.err >&5
7401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7402 (exit $ac_status); } && {
7403 test -z "$ac_c_werror_flag" ||
7404 test ! -s conftest.err
7405 } && test -s conftest$ac_exeext &&
7406 $as_test_x conftest$ac_exeext; then
7407 eval "$as_ac_var=yes"
7409 echo "$as_me: failed program was:" >&5
7410 sed 's/^/| /' conftest.$ac_ext >&5
7412 eval "$as_ac_var=no"
7415 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7416 conftest$ac_exeext conftest.$ac_ext
7418 ac_res=`eval echo '${'$as_ac_var'}'`
7419 { echo "$as_me:$LINENO: result: $ac_res" >&5
7420 echo "${ECHO_T}$ac_res" >&6; }
7421 if test `eval echo '${'$as_ac_var'}'` = yes; then
7422 cat >>confdefs.h <<_ACEOF
7423 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7432 for ac_header in stdlib.h unistd.h
7434 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7435 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7436 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7437 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7438 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7439 echo $ECHO_N "(cached) $ECHO_C" >&6
7441 ac_res=`eval echo '${'$as_ac_Header'}'`
7442 { echo "$as_me:$LINENO: result: $ac_res" >&5
7443 echo "${ECHO_T}$ac_res" >&6; }
7445 # Is the header compilable?
7446 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7447 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7448 cat >conftest.$ac_ext <<_ACEOF
7451 cat confdefs.h >>conftest.$ac_ext
7452 cat >>conftest.$ac_ext <<_ACEOF
7453 /* end confdefs.h. */
7454 $ac_includes_default
7455 #include <$ac_header>
7457 rm -f conftest.$ac_objext
7458 if { (ac_try="$ac_compile"
7460 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7461 *) ac_try_echo
=$ac_try;;
7463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7464 (eval "$ac_compile") 2>conftest.er1
7466 grep -v '^ *+' conftest.er1
>conftest.err
7468 cat conftest.err
>&5
7469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7470 (exit $ac_status); } && {
7471 test -z "$ac_c_werror_flag" ||
7472 test ! -s conftest.err
7473 } && test -s conftest.
$ac_objext; then
7474 ac_header_compiler
=yes
7476 echo "$as_me: failed program was:" >&5
7477 sed 's/^/| /' conftest.
$ac_ext >&5
7479 ac_header_compiler
=no
7482 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7483 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7484 echo "${ECHO_T}$ac_header_compiler" >&6; }
7486 # Is the header present?
7487 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7488 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7489 cat >conftest.
$ac_ext <<_ACEOF
7492 cat confdefs.h
>>conftest.
$ac_ext
7493 cat >>conftest.
$ac_ext <<_ACEOF
7494 /* end confdefs.h. */
7495 #include <$ac_header>
7497 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7499 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7500 *) ac_try_echo=$ac_try;;
7502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7503 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7505 grep -v '^ *+' conftest.er1 >conftest.err
7507 cat conftest.err >&5
7508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7509 (exit $ac_status); } >/dev/null && {
7510 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7511 test ! -s conftest.err
7513 ac_header_preproc=yes
7515 echo "$as_me: failed program was:" >&5
7516 sed 's/^/| /' conftest.$ac_ext >&5
7518 ac_header_preproc=no
7521 rm -f conftest.err conftest.$ac_ext
7522 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7523 echo "${ECHO_T}$ac_header_preproc" >&6; }
7525 # So? What about this header?
7526 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7528 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7529 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7530 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7531 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7532 ac_header_preproc=yes
7535 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7536 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7537 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7538 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7539 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7540 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7541 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7542 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7543 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7544 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7545 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7546 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7550 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7551 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7552 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7553 echo $ECHO_N "(cached) $ECHO_C" >&6
7555 eval "$as_ac_Header=\$ac_header_preproc"
7557 ac_res=`eval echo '${'$as_ac_Header'}'`
7558 { echo "$as_me:$LINENO: result: $ac_res" >&5
7559 echo "${ECHO_T}$ac_res" >&6; }
7562 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7563 cat >>confdefs.h <<_ACEOF
7564 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7572 for ac_func in getpagesize
7574 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
7575 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7577 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7578 echo $ECHO_N "(cached) $ECHO_C" >&6
7580 cat >conftest.$ac_ext <<_ACEOF
7583 cat confdefs.h >>conftest.$ac_ext
7584 cat >>conftest.$ac_ext <<_ACEOF
7585 /* end confdefs.h. */
7586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7588 #define $ac_func innocuous_$ac_func
7590 /* System header to define __stub macros and hopefully few prototypes,
7591 which can conflict with char $ac_func (); below.
7592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7593 <limits.h> exists even on freestanding compilers. */
7596 # include <limits.h>
7598 # include <assert.h>
7603 /* Override any GCC internal prototype to avoid an error.
7604 Use char because int might match the return type of a GCC
7605 builtin and then its argument prototype would still apply. */
7610 /* The GNU C library defines this for functions which it implements
7611 to always fail with ENOSYS. Some functions are actually named
7612 something starting with __ and the normal name is an alias. */
7613 #if defined __stub_$ac_func || defined __stub___$ac_func
7625 rm -f conftest.$ac_objext conftest$ac_exeext
7626 if { (ac_try="$ac_link"
7628 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7629 *) ac_try_echo
=$ac_try;;
7631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7632 (eval "$ac_link") 2>conftest.er1
7634 grep -v '^ *+' conftest.er1
>conftest.err
7636 cat conftest.err
>&5
7637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7638 (exit $ac_status); } && {
7639 test -z "$ac_c_werror_flag" ||
7640 test ! -s conftest.err
7641 } && test -s conftest
$ac_exeext &&
7642 $as_test_x conftest
$ac_exeext; then
7643 eval "$as_ac_var=yes"
7645 echo "$as_me: failed program was:" >&5
7646 sed 's/^/| /' conftest.
$ac_ext >&5
7648 eval "$as_ac_var=no"
7651 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7652 conftest
$ac_exeext conftest.
$ac_ext
7654 ac_res
=`eval echo '${'$as_ac_var'}'`
7655 { echo "$as_me:$LINENO: result: $ac_res" >&5
7656 echo "${ECHO_T}$ac_res" >&6; }
7657 if test `eval echo '${'$as_ac_var'}'` = yes; then
7658 cat >>confdefs.h
<<_ACEOF
7659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7665 { echo "$as_me:$LINENO: checking for working mmap" >&5
7666 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
7667 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
7668 echo $ECHO_N "(cached) $ECHO_C" >&6
7670 if test "$cross_compiling" = yes; then
7671 ac_cv_func_mmap_fixed_mapped
=no
7673 cat >conftest.
$ac_ext <<_ACEOF
7676 cat confdefs.h
>>conftest.
$ac_ext
7677 cat >>conftest.
$ac_ext <<_ACEOF
7678 /* end confdefs.h. */
7679 $ac_includes_default
7680 /* malloc might have been renamed as rpl_malloc. */
7683 /* Thanks to Mike Haertel and Jim Avera for this test.
7684 Here is a matrix of mmap possibilities:
7685 mmap private not fixed
7686 mmap private fixed at somewhere currently unmapped
7687 mmap private fixed at somewhere already mapped
7688 mmap shared not fixed
7689 mmap shared fixed at somewhere currently unmapped
7690 mmap shared fixed at somewhere already mapped
7691 For private mappings, we should verify that changes cannot be read()
7692 back from the file, nor mmap's back from the file at a different
7693 address. (There have been systems where private was not correctly
7694 implemented like the infamous i386 svr4.0, and systems where the
7695 VM page cache was not coherent with the file system buffer cache
7696 like early versions of FreeBSD and possibly contemporary NetBSD.)
7697 For shared mappings, we should conversely verify that changes get
7698 propagated back to all the places they're supposed to be.
7700 Grep wants private fixed already mapped.
7701 The main things grep needs to know about mmap are:
7702 * does it exist and is it safe to write into the mmap'd area
7703 * how to use it (BSD variants) */
7706 #include <sys/mman.h>
7708 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7712 /* This mess was copied from the GNU getpagesize.h. */
7713 #ifndef HAVE_GETPAGESIZE
7714 /* Assume that all systems that can run configure have sys/param.h. */
7715 # ifndef HAVE_SYS_PARAM_H
7716 # define HAVE_SYS_PARAM_H 1
7719 # ifdef _SC_PAGESIZE
7720 # define getpagesize() sysconf(_SC_PAGESIZE)
7721 # else /* no _SC_PAGESIZE */
7722 # ifdef HAVE_SYS_PARAM_H
7723 # include <sys/param.h>
7724 # ifdef EXEC_PAGESIZE
7725 # define getpagesize() EXEC_PAGESIZE
7726 # else /* no EXEC_PAGESIZE */
7728 # define getpagesize() NBPG * CLSIZE
7731 # endif /* no CLSIZE */
7732 # else /* no NBPG */
7734 # define getpagesize() NBPC
7735 # else /* no NBPC */
7737 # define getpagesize() PAGESIZE
7738 # endif /* PAGESIZE */
7739 # endif /* no NBPC */
7740 # endif /* no NBPG */
7741 # endif /* no EXEC_PAGESIZE */
7742 # else /* no HAVE_SYS_PARAM_H */
7743 # define getpagesize() 8192 /* punt totally */
7744 # endif /* no HAVE_SYS_PARAM_H */
7745 # endif /* no _SC_PAGESIZE */
7747 #endif /* no HAVE_GETPAGESIZE */
7752 char *data, *data2, *data3;
7756 pagesize = getpagesize ();
7758 /* First, make a file with some known garbage in it. */
7759 data = (char *) malloc (pagesize);
7762 for (i = 0; i < pagesize; ++i)
7763 *(data + i) = rand ();
7765 fd = creat ("conftest.mmap", 0600);
7768 if (write (fd, data, pagesize) != pagesize)
7772 /* Next, try to mmap the file at a fixed address which already has
7773 something else allocated at it. If we can, also make sure that
7774 we see the same garbage. */
7775 fd = open ("conftest.mmap", O_RDWR);
7778 data2 = (char *) malloc (2 * pagesize);
7781 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
7782 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7783 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7785 for (i = 0; i < pagesize; ++i)
7786 if (*(data + i) != *(data2 + i))
7789 /* Finally, make sure that changes to the mapped area do not
7790 percolate back to the file as seen by read(). (This is a bug on
7791 some variants of i386 svr4.0.) */
7792 for (i = 0; i < pagesize; ++i)
7793 *(data2 + i) = *(data2 + i) + 1;
7794 data3 = (char *) malloc (pagesize);
7797 if (read (fd, data3, pagesize) != pagesize)
7799 for (i = 0; i < pagesize; ++i)
7800 if (*(data + i) != *(data3 + i))
7806 rm -f conftest
$ac_exeext
7807 if { (ac_try
="$ac_link"
7809 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7810 *) ac_try_echo=$ac_try;;
7812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7813 (eval "$ac_link") 2>&5
7815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7816 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7817 { (case "(($ac_try" in
7818 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7819 *) ac_try_echo
=$ac_try;;
7821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7822 (eval "$ac_try") 2>&5
7824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7825 (exit $ac_status); }; }; then
7826 ac_cv_func_mmap_fixed_mapped
=yes
7828 echo "$as_me: program exited with status $ac_status" >&5
7829 echo "$as_me: failed program was:" >&5
7830 sed 's/^/| /' conftest.
$ac_ext >&5
7833 ac_cv_func_mmap_fixed_mapped
=no
7835 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7840 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
7841 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
7842 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7844 cat >>confdefs.h
<<\_ACEOF
7854 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7855 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7856 aros_config_ldflags
=""
7858 aros_shared_default
=yes
7860 aros_shared_cflags
="-fPIC"
7861 aros_shared_aflags
=""
7862 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7863 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7865 aros_target_ar_flags
="cr"
7866 aros_target_nm_flags
="-C -ul"
7867 aros_target_strip_flags
="--strip-unneeded -R.comment"
7871 aros_target_genmap
="-Wl,-Map -Xlinker"
7873 # Native flavour stuff
7875 aros_serial_debug
="0"
7877 # Palm native flavour stuff
7878 aros_palm_debug_hack
="0"
7880 # Unix flavour stuff
7881 aros_nesting_supervisor
="0"
7883 # Collect-aros stuff: "-ius" to ignore undefined symbols
7884 ignore_undefined_symbols
=""
7886 #-----------------------------------------------------------------------------
7889 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7890 # it switched on by default, and we use the host compiler, so it compiles AROS
7891 # code with this enabled resulting in link failures as we don't have support
7894 # We use two methods to disable it. For the host compiler (used to compile
7895 # some hosted modules), we test to see if the compiler supports stack
7896 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7897 # work on all platforms.
7899 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
7900 # (this is done unconditionally, as it should have no effect on compilers
7901 # without the stack protection feature). This may be specific to the way that
7902 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
7903 # strong enough to disable it in a generic way though, so we'll live with it
7904 # until another vendor ships GCC with it enabled in a different way, and deal
7908 { echo "$as_me:$LINENO: checking whether ${CC} accepts -fno-stack-protector" >&5
7909 echo $ECHO_N "checking whether ${CC} accepts -fno-stack-protector... $ECHO_C" >&6; }
7910 save_cflags
="$CFLAGS"
7911 CFLAGS
="$CFLAGS -fno-stack-protector"
7912 cat >conftest.
$ac_ext <<_ACEOF
7915 cat confdefs.h
>>conftest.
$ac_ext
7916 cat >>conftest.
$ac_ext <<_ACEOF
7917 /* end confdefs.h. */
7927 rm -f conftest.
$ac_objext
7928 if { (ac_try
="$ac_compile"
7930 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7931 *) ac_try_echo=$ac_try;;
7933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7934 (eval "$ac_compile") 2>conftest.er1
7936 grep -v '^ *+' conftest.er1 >conftest.err
7938 cat conftest.err >&5
7939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7940 (exit $ac_status); } && {
7941 test -z "$ac_c_werror_flag" ||
7942 test ! -s conftest.err
7943 } && test -s conftest.$ac_objext; then
7944 use_no_stack_protector="yes"
7946 echo "$as_me: failed program was:" >&5
7947 sed 's/^/| /' conftest.$ac_ext >&5
7949 use_no_stack_protector="no"
7952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7953 { echo "$as_me:$LINENO: result: $use_no_stack_protector" >&5
7954 echo "${ECHO_T}$use_no_stack_protector" >&6; }
7955 if test "x-$use_no_stack_protector" = "x-yes" ; then
7956 aros_host_cflags="$aros_host_cflags -fno-stack-protector"
7958 CFLAGS="$save_cflags"
7961 #-----------------------------------------------------------------------------
7963 # Disable pointer-signedness warnings if the compiler recognises the option
7964 # (this only works for the host compiler at the moment)
7966 { echo "$as_me:$LINENO: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7967 echo $ECHO_N "checking whether ${CC} accepts -Wno-pointer-sign... $ECHO_C" >&6; }
7968 save_cflags="$CFLAGS"
7969 CFLAGS="$CFLAGS -Wno-pointer-sign"
7970 cat >conftest.$ac_ext <<_ACEOF
7973 cat confdefs.h >>conftest.$ac_ext
7974 cat >>conftest.$ac_ext <<_ACEOF
7975 /* end confdefs.h. */
7985 rm -f conftest.$ac_objext
7986 if { (ac_try="$ac_compile"
7988 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7989 *) ac_try_echo
=$ac_try;;
7991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7992 (eval "$ac_compile") 2>conftest.er1
7994 grep -v '^ *+' conftest.er1
>conftest.err
7996 cat conftest.err
>&5
7997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7998 (exit $ac_status); } && {
7999 test -z "$ac_c_werror_flag" ||
8000 test ! -s conftest.err
8001 } && test -s conftest.
$ac_objext; then
8002 use_no_sign_warning
="yes"
8004 echo "$as_me: failed program was:" >&5
8005 sed 's/^/| /' conftest.
$ac_ext >&5
8007 use_no_sign_warning
="no"
8010 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8011 { echo "$as_me:$LINENO: result: $use_no_sign_warning" >&5
8012 echo "${ECHO_T}$use_no_sign_warning" >&6; }
8013 if test "x-$use_no_sign_warning" = "x-yes" ; then
8014 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
8016 CFLAGS
="$save_cflags"
8018 #-----------------------------------------------------------------------------
8020 { echo "$as_me:$LINENO: checking for type of build" >&5
8021 echo $ECHO_N "checking for type of build... $ECHO_C" >&6; }
8022 # Check whether --enable-build_type was given.
8023 if test "${enable_build_type+set}" = set; then
8024 enableval
=$enable_build_type; build_type
=$enableval
8026 build_type
="personal"
8030 if test "$build_type" = "nightly"; then
8031 build_type_string
="NIGHTLY"
8032 elif test "$build_type" = "snapshot"; then
8033 build_type_string
="SNAPSHOT"
8034 elif test "$build_type" = "milestone"; then
8035 build_type_string
="MILESTONE"
8036 elif test "$build_type" = "release"; then
8037 build_type_string
="RELEASE"
8039 build_type_string
="PERSONAL"
8040 build_type
="personal"
8043 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
8045 { echo "$as_me:$LINENO: result: $build_type" >&5
8046 echo "${ECHO_T}$build_type" >&6; }
8048 #-----------------------------------------------------------------------------
8049 all_debug_types
="messages stack mungwall modules symbols"
8051 { echo "$as_me:$LINENO: checking which debug types to enable" >&5
8052 echo $ECHO_N "checking which debug types to enable... $ECHO_C" >&6; }
8053 # Check whether --enable-debug was given.
8054 if test "${enable_debug+set}" = set; then
8055 enableval
=$enable_debug; debug
="$enableval"
8061 if test "$debug" = "" -o "$debug" = "no"; then
8063 elif test "$debug" = "yes"; then
8067 if test "$debug" = "all" ; then
8068 debug
=$all_debug_types
8069 for d
in $all_debug_types; do
8070 export aros_
${d}_debug
="1"
8073 for d
in $all_debug_types; do
8074 export aros_
${d}_debug
="0"
8078 if test "$debug" != "none"; then
8079 debug
=`echo $debug | sed s/,/\ /g`
8082 for d2
in $all_debug_types; do
8083 if test "$d2" = "$d"; then
8088 if test "$found" = "0"; then
8089 { { echo "$as_me:$LINENO: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&5
8090 echo "$as_me: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&2;}
8091 { (exit 1); exit 1; }; }
8093 export aros_
${d}_debug
="1"
8097 { echo "$as_me:$LINENO: result: $debug" >&5
8098 echo "${ECHO_T}$debug" >&6; }
8100 if test "$aros_messages_debug" = "1"; then
8101 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
8103 aros_messages_debug
=""
8105 if test "$aros_symbols_debug" = "1"; then
8106 aros_symbols_debug
="-g"
8108 aros_symbols_debug
=""
8111 # These are the flags to pass when compiling debugged programs
8112 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8113 aros_debug_aflags
=""
8114 aros_debug_ldflags
="$aros_symbols_debug"
8116 #-----------------------------------------------------------------------------
8117 # Checking for distcc and ccache.
8119 # Always apply the transforms in this particular order. Basically you should
8120 # always run 'ccache distcc compiler' in that order for the best performance.
8122 { echo "$as_me:$LINENO: checking whether to enable distcc" >&5
8123 echo $ECHO_N "checking whether to enable distcc... $ECHO_C" >&6; }
8124 # Check whether --enable-distcc was given.
8125 if test "${enable_distcc+set}" = set; then
8126 enableval
=$enable_distcc; distcc
="$enableval"
8131 if test "$distcc" != "" -a "$distcc" != "no"; then
8132 # AC_CHECK_PROG will print out the result in this case
8133 # Extract the first word of "distcc", so it can be a program name with args.
8134 set dummy distcc
; ac_word
=$2
8135 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8137 if test "${ac_cv_path_DISTCC+set}" = set; then
8138 echo $ECHO_N "(cached) $ECHO_C" >&6
8142 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
8145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8149 test -z "$as_dir" && as_dir
=.
8150 for ac_exec_ext
in '' $ac_executable_extensions; do
8151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8152 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
8153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8160 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
8164 DISTCC
=$ac_cv_path_DISTCC
8165 if test -n "$DISTCC"; then
8166 { echo "$as_me:$LINENO: result: $DISTCC" >&5
8167 echo "${ECHO_T}$DISTCC" >&6; }
8169 { echo "$as_me:$LINENO: result: no" >&5
8170 echo "${ECHO_T}no" >&6; }
8175 { echo "$as_me:$LINENO: result: no" >&5
8176 echo "${ECHO_T}no" >&6; }
8179 { echo "$as_me:$LINENO: checking whether to enable ccache" >&5
8180 echo $ECHO_N "checking whether to enable ccache... $ECHO_C" >&6; }
8181 # Check whether --enable-ccache was given.
8182 if test "${enable_ccache+set}" = set; then
8183 enableval
=$enable_ccache; ccache
="$enableval"
8188 if test "$ccache" != "" -a "$ccache" != "no"; then
8189 # AC_CHECK_PROG will print out the result in this case
8190 # Extract the first word of "ccache", so it can be a program name with args.
8191 set dummy ccache
; ac_word
=$2
8192 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8194 if test "${ac_cv_prog_CCACHE+set}" = set; then
8195 echo $ECHO_N "(cached) $ECHO_C" >&6
8197 if test -n "$CCACHE"; then
8198 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
8200 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8204 test -z "$as_dir" && as_dir
=.
8205 for ac_exec_ext
in '' $ac_executable_extensions; do
8206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8207 ac_cv_prog_CCACHE
="ccache"
8208 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8217 CCACHE
=$ac_cv_prog_CCACHE
8218 if test -n "$CCACHE"; then
8219 { echo "$as_me:$LINENO: result: $CCACHE" >&5
8220 echo "${ECHO_T}$CCACHE" >&6; }
8222 { echo "$as_me:$LINENO: result: no" >&5
8223 echo "${ECHO_T}no" >&6; }
8228 { echo "$as_me:$LINENO: result: no" >&5
8229 echo "${ECHO_T}no" >&6; }
8232 #-----------------------------------------------------------------------------
8233 { echo "$as_me:$LINENO: checking what optimization flags to use" >&5
8234 echo $ECHO_N "checking what optimization flags to use... $ECHO_C" >&6; }
8236 # Check whether --with-optimization was given.
8237 if test "${with_optimization+set}" = set; then
8238 withval
=$with_optimization; optimization
="$withval"
8240 optimization
="unknown"
8243 if test "$optimization" = "unknown"; then
8244 if test "$debug" != "none"; then
8250 aros_config_cflags
="$aros_config_cflags $optimization"
8251 { echo "$as_me:$LINENO: result: $optimization" >&5
8252 echo "${ECHO_T}$optimization" >&6; }
8254 #-----------------------------------------------------------------------------
8255 { echo "$as_me:$LINENO: checking what target variant to enable" >&5
8256 echo $ECHO_N "checking what target variant to enable... $ECHO_C" >&6; }
8257 # Check whether --enable-target_variant was given.
8258 if test "${enable_target_variant+set}" = set; then
8259 enableval
=$enable_target_variant; target_variant
=$enableval
8261 target_variant
="none"
8264 if test "$target_variant" = "none"; then
8265 aros_target_variant
=""
8266 aros_target_suffix
=""
8268 aros_target_variant
="$target_variant"
8269 aros_target_suffix
="-$target_variant"
8271 { echo "$as_me:$LINENO: result: $enableval" >&5
8272 echo "${ECHO_T}$enableval" >&6; }
8274 target_bootloader
="none"
8276 #-----------------------------------------------------------------------------
8277 # This is the target configuration switch.
8278 case "$target_os" in
8280 aros_target_arch
="linux"
8281 case "$target_cpu" in
8283 aros_target_cpu
="m68k"
8284 aros_object_format
="m68kelf"
8285 aros_flavour
="emulcompat"
8286 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
8287 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
8288 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
8289 gcc_target_cpu
="mc68000"
8292 aros_target_cpu
="i386"
8293 aros_object_format
="elf_i386"
8294 aros_flavour
="emulation"
8295 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
8296 aros_default_wbdepth
=8
8297 gcc_target_cpu
="i386"
8300 aros_target_cpu
="x86_64"
8301 aros_object_format
="elf_x86_64"
8302 aros_flavour
="emulation"
8303 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
8304 aros_config_cflags
="$aros_config_cflags -mno-red-zone"
8305 aros_default_wbdepth
=8
8306 gcc_target_cpu
="x86_64"
8309 aros_target_cpu
="ppc"
8310 aros_object_format
="elf32ppc"
8311 aros_flavour
="emulation"
8312 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8313 aros_default_wbdepth
=8
8314 gcc_target_cpu
="ppc"
8317 # Same as powerpc, but I need this for the nightly build to work again.
8318 # Actually, the nightly should be made working with powerpc target.
8319 # That just was too much work for the moment, another week or two.
8321 aros_target_cpu
="ppc"
8322 aros_object_format
="elf32ppc"
8323 aros_flavour
="emulation"
8324 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8325 aros_default_wbdepth
=8
8326 gcc_target_cpu
="ppc"
8329 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Linux -- $target_cpu\"" >&5
8330 echo "$as_me: error: \"Unknown CPU for Linux -- $target_cpu\"" >&2;}
8331 { (exit 1); exit 1; }; }
8337 aros_target_arch
="pc"
8338 aros_shared_default
="no"
8339 target_bootloader
="grub"
8340 case "$target_cpu" in
8342 aros_target_cpu
="i386"
8345 if test "$aros_object_format" = "" ; then
8346 aros_object_format
="elf_i386"
8348 aros_flavour
="standalone"
8349 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8350 aros_kernel_ldflags
=""
8351 aros_default_wbwidth
=640
8352 aros_default_wbheight
=480
8353 gcc_target_cpu
="i386"
8356 aros_target_cpu
="x86_64"
8358 if test "$aros_object_format" = "" ; then
8359 aros_object_format
="elf_x86_64"
8361 aros_flavour
="standalone"
8362 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8363 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone"
8364 aros_kernel_ldflags
=""
8365 aros_default_wbwidth
=640
8366 aros_default_wbheight
=480
8367 gcc_target_cpu
="x86_64"
8370 { { echo "$as_me:$LINENO: error: \"Unknown native CPU -- $target_cpu\"" >&5
8371 echo "$as_me: error: \"Unknown native CPU -- $target_cpu\"" >&2;}
8372 { (exit 1); exit 1; }; }
8378 aros_target_arch
="prep"
8379 aros_shared_default
="no"
8380 aros_target_cpu
="ppc"
8381 aros_object_format
="elf32ppc"
8382 aros_flavour
="ppcnative"
8383 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8384 aros_kernel_ldflags
=""
8385 aros_default_wbwidth
=640
8386 aros_default_wbheight
=480
8387 gcc_target_cpu
="ppc"
8391 aros_target_arch
="freebsd"
8392 aros_target_cpu
="i386"
8393 aros_flavour
="emulation"
8394 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8395 gcc_target_cpu
="i386"
8397 aros_target_strip_flags
="-x"
8401 aros_target_arch
="darwin"
8402 aros_flavour
="emulation"
8403 case "$target_cpu" in
8405 aros_target_cpu
="i386"
8406 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8407 gcc_target_cpu
="i386"
8408 aros_object_format
="elf_i386"
8409 aros_target_strip_flags
="-x"
8412 { { echo "$as_me:$LINENO: error: \"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" >&5
8413 echo "$as_me: error: \"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" >&2;}
8414 { (exit 1); exit 1; }; }
8419 aros_target_arch
="netbsd"
8420 case "$target_cpu" in
8422 aros_target_cpu
="m68k"
8423 aros_object_format
="m68kelf"
8424 aros_flavour
="emulcompat"
8425 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8426 gcc_target_cpu
="mc68000"
8429 aros_target_cpu
="i386"
8430 aros_object_format
="elf_i386"
8431 aros_flavour
="emulation"
8432 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8433 aros_default_wbdepth
=8
8434 gcc_target_cpu
="i386"
8437 { { echo "$as_me:$LINENO: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&5
8438 echo "$as_me: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&2;}
8439 { (exit 1); exit 1; }; }
8442 aros_target_genmap
="-Wl,-M -Xlinker >"
8443 aros_flavour
="emulation"
8444 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8448 aros_target_arch
="openbsd"
8449 case "$target_cpu" in
8451 aros_target_cpu
="i386"
8452 aros_object_format
="elf_i386"
8453 aros_flavour
="emulation"
8454 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8455 gcc_target_cpu
="i386"
8458 { { echo "$as_me:$LINENO: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&5
8459 echo "$as_me: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&2;}
8460 { (exit 1); exit 1; }; }
8463 aros_target_genmap
="-Wl,-M -Xlinker >"
8464 aros_target_nm_flags
="-u"
8465 aros_flavour
="emulation"
8469 aros_target_arch
="solaris"
8470 case "$target_cpu" in
8472 aros_target_cpu
="i386"
8473 aros_object_format
="elf_i386"
8474 aros_flavour
="emulation"
8475 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8476 aros_default_wbdepth
=8
8477 gcc_target_cpu
="i386"
8480 aros_target_cpu
="sparc"
8481 aros_object_format
="elf_sparc"
8482 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8483 gcc_target_cpu
="sparc"
8486 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&5
8487 echo "$as_me: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&2;}
8488 { (exit 1); exit 1; }; }
8491 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8492 aros_flavour
="emulation"
8496 aros_target_arch
="morphos"
8497 aros_shared_default
="no"
8498 aros_target_cpu
="ppc"
8499 aros_object_format
="elf_ppc"
8500 aros_flavour
="nativecompat"
8501 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8502 gcc_target_cpu
="ppc"
8506 aros_target_arch
="sam440"
8507 aros_shared_default
="no"
8508 aros_target_cpu
="ppc"
8509 aros_object_format
="elf32ppc"
8510 aros_flavour
="ppcnative"
8511 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8512 aros_kernel_ldflags
=""
8513 aros_default_wbwidth
=640
8514 aros_default_wbheight
=480
8515 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8516 gcc_target_cpu
="powerpc"
8520 aros_target_arch
="amiga"
8521 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8522 aros_shared_default
="no"
8524 aros_config_cflags
="$aros_config_cflags -fomit-frame-pointer -fbuiltin -ffreestanding"
8526 case "$target_cpu" in
8528 aros_target_cpu
="m68k"
8529 aros_object_format
="m68kelf"
8530 aros_flavour
="nativecompat"
8531 gcc_target_cpu
="mc68000"
8535 aros_flavour
="native"
8536 gcc_target_cpu
="ppc"
8539 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Amiga $target_cpu\"" >&5
8540 echo "$as_me: error: \"Unknown CPU for Amiga $target_cpu\"" >&2;}
8541 { (exit 1); exit 1; }; }
8547 aros_target_arch
="cygwin"
8548 aros_shared_default
="no"
8549 case "$target_cpu" in
8551 aros_target_cpu
="i386"
8552 aros_object_format
="elf_i386"
8553 aros_flavour
="emulation"
8554 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__CYGWIN32__"
8555 aros_shared_cflags
=""
8556 aros_default_wbdepth
=8
8557 gcc_target_cpu
="i386"
8558 aros_target_cc
="i386-aros-gcc"
8559 aros_target_ld
="i386-aros-ld"
8560 aros_target_as
="i386-aros-as"
8561 aros_target_ar
="i386-aros-ar"
8562 aros_target_ranlib
="i386-aros-ranlib"
8563 aros_target_nm
="i386-aros-nm"
8564 aros_target_strip
="i386-aros-strip"
8565 aros_target_objcopy
="i386-aros-objcopy"
8566 aros_target_objdump
="i386-aros-objdump"
8569 { { echo "$as_me:$LINENO: error: \"Unknown CPU for CygWin -- $target_cpu\"" >&5
8570 echo "$as_me: error: \"Unknown CPU for CygWin -- $target_cpu\"" >&2;}
8571 { (exit 1); exit 1; }; }
8577 aros_target_arch
="mingw32"
8578 aros_shared_default
="no"
8579 case "$target_cpu" in
8581 aros_target_cpu
="i386"
8582 aros_object_format
="elf_i386"
8583 aros_flavour
="emulation"
8584 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8585 aros_shared_cflags
=""
8586 aros_default_wbdepth
=8
8587 gcc_target_cpu
="i386"
8588 aros_target_cc
="i386-aros-gcc"
8589 aros_target_ld
="i386-aros-ld"
8590 aros_target_as
="i386-aros-as"
8591 aros_target_ar
="i386-aros-ar"
8592 aros_target_ranlib
="i386-aros-ranlib"
8593 aros_target_nm
="i386-aros-nm"
8594 aros_target_strip
="i386-aros-strip"
8595 aros_target_objcopy
="i386-aros-objcopy"
8596 aros_target_objdump
="i386-aros-objdump"
8599 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Mingw32 -- $target_cpu\"" >&5
8600 echo "$as_me: error: \"Unknown CPU for Mingw32 -- $target_cpu\"" >&2;}
8601 { (exit 1); exit 1; }; }
8604 if test $host_os = "cygwin"; then
8605 aros_kernel_cflags
="-mno-cygwin"
8609 aros_target_arch
="pp"
8610 aros_shared_default
="no"
8611 case "$target_cpu" in
8613 aros_target_cpu
="m68k"
8614 aros_object_format
="m68kelf"
8615 aros_flavour
="palmnative"
8616 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8617 aros_kernel_ldflags
=""
8618 aros_default_wbwidth
=160
8619 aros_default_wbheight
=160
8620 aros_default_wbdepth
=1
8621 aros_target_ar_flags
="cru"
8622 aros_compiler_libs
="-lgcc1"
8623 aros_shared_default
=no
8624 aros_shared_cflags
="-fpic"
8625 aros_shared_aflags
=""
8626 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8627 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8628 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
8629 aros_debug_aflags
=""
8630 aros_debug_ldflags
="$aros_symbols_debug"
8631 aros_mungwall_debug
="0"
8632 aros_modules_debug
="0"
8633 gcc_target_cpu
="mc68000"
8634 ignore_undefined_symbols
="-ius"
8637 { { echo "$as_me:$LINENO: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&5
8638 echo "$as_me: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&2;}
8639 { (exit 1); exit 1; }; }
8645 aros_target_arch
="mac"
8646 aros_shared_default
="no"
8647 case "$target_cpu" in
8649 aros_target_cpu
="m68k"
8650 aros_object_format
="m68kelf"
8651 aros_flavour
="mac68knative"
8652 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8653 aros_default_wbwidth
=512
8654 aros_default_wbheight
=384
8655 aros_default_wbdepth
=8
8656 aros_target_ar_flags
="cru"
8657 aros_compiler_libs
="-lgcc1"
8658 aros_shared_default
=no
8659 aros_shared_cflags
="-fpic"
8660 aros_shared_aflags
=""
8661 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8662 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8663 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000"
8664 aros_debug_aflags
=""
8665 aros_debug_ldflags
="$aros_symbols_debug"
8666 aros_mungwall_debug
="0"
8667 aros_modules_debug
="0"
8668 gcc_target_cpu
="mc68000"
8669 ignore_undefined_symbols
="-ius"
8672 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&5
8673 echo "$as_me: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&2;}
8674 { (exit 1); exit 1; }; }
8680 { { echo "$as_me:$LINENO: error: Unsupported target architecture $target" >&5
8681 echo "$as_me: error: Unsupported target architecture $target" >&2;}
8682 { (exit 1); exit 1; }; }
8686 { echo "$as_me:$LINENO: checking Where to download sourcecode for external ports" >&5
8687 echo $ECHO_N "checking Where to download sourcecode for external ports... $ECHO_C" >&6; }
8689 # Check whether --with-portssources was given.
8690 if test "${with_portssources+set}" = set; then
8691 withval
=$with_portssources; with_portssrcdir
=$withval
8693 with_portssrcdir
="default"
8696 if test "$with_portssrcdir" = "default"; then
8697 AROS_PORTSSRCDIR
="$AROS_BUILDDIR/bin/Sources"
8699 AROS_PORTSSRCDIR
="$with_portssrcdir"
8701 { echo "$as_me:$LINENO: result: $AROS_PORTSSRCDIR" >&5
8702 echo "${ECHO_T}$AROS_PORTSSRCDIR" >&6; }
8704 { echo "$as_me:$LINENO: checking which bootloader to use" >&5
8705 echo $ECHO_N "checking which bootloader to use... $ECHO_C" >&6; }
8707 # Check whether --with-bootloader was given.
8708 if test "${with_bootloader+set}" = set; then
8709 withval
=$with_bootloader; target_bootloader
=$withval
8711 target_bootloader
=$target_bootloader
8714 if test "$target_bootloader" = "none"; then
8715 aros_target_bootloader
=""
8717 aros_target_bootloader
="$target_bootloader"
8719 { echo "$as_me:$LINENO: result: $target_bootloader" >&5
8720 echo "${ECHO_T}$target_bootloader" >&6; }
8722 # Check LZO when compiling the grub2 bootloader on i386/x86_64.
8723 aros_liblzo_check
="no"
8724 case "$aros_target_bootloader" in
8726 case "$target_cpu" in
8728 aros_liblzo_check
="yes"
8731 aros_liblzo_check
="yes"
8742 if test "$aros_liblzo_check" = "yes"; then
8743 # There are three possibilities. LZO version 2 installed with the name
8744 # liblzo2, with the name liblzo, and LZO version 1.
8745 { echo "$as_me:$LINENO: checking for __lzo_init_v2 in -llzo2" >&5
8746 echo $ECHO_N "checking for __lzo_init_v2 in -llzo2... $ECHO_C" >&6; }
8747 if test "${ac_cv_lib_lzo2___lzo_init_v2+set}" = set; then
8748 echo $ECHO_N "(cached) $ECHO_C" >&6
8750 ac_check_lib_save_LIBS
=$LIBS
8752 cat >conftest.
$ac_ext <<_ACEOF
8755 cat confdefs.h
>>conftest.
$ac_ext
8756 cat >>conftest.
$ac_ext <<_ACEOF
8757 /* end confdefs.h. */
8759 /* Override any GCC internal prototype to avoid an error.
8760 Use char because int might match the return type of a GCC
8761 builtin and then its argument prototype would still apply. */
8765 char __lzo_init_v2 ();
8769 return __lzo_init_v2 ();
8774 rm -f conftest.
$ac_objext conftest
$ac_exeext
8775 if { (ac_try
="$ac_link"
8777 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8778 *) ac_try_echo=$ac_try;;
8780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8781 (eval "$ac_link") 2>conftest.er1
8783 grep -v '^ *+' conftest.er1 >conftest.err
8785 cat conftest.err >&5
8786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8787 (exit $ac_status); } && {
8788 test -z "$ac_c_werror_flag" ||
8789 test ! -s conftest.err
8790 } && test -s conftest$ac_exeext &&
8791 $as_test_x conftest$ac_exeext; then
8792 ac_cv_lib_lzo2___lzo_init_v2=yes
8794 echo "$as_me: failed program was:" >&5
8795 sed 's/^/| /' conftest.$ac_ext >&5
8797 ac_cv_lib_lzo2___lzo_init_v2=no
8800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8801 conftest$ac_exeext conftest.$ac_ext
8802 LIBS=$ac_check_lib_save_LIBS
8804 { echo "$as_me:$LINENO: result: $ac_cv_lib_lzo2___lzo_init_v2" >&5
8805 echo "${ECHO_T}$ac_cv_lib_lzo2___lzo_init_v2" >&6; }
8806 if test $ac_cv_lib_lzo2___lzo_init_v2 = yes; then
8809 { echo "$as_me:$LINENO: checking for __lzo_init_v2 in -llzo" >&5
8810 echo $ECHO_N "checking for __lzo_init_v2 in -llzo... $ECHO_C" >&6; }
8811 if test "${ac_cv_lib_lzo___lzo_init_v2+set}" = set; then
8812 echo $ECHO_N "(cached) $ECHO_C" >&6
8814 ac_check_lib_save_LIBS=$LIBS
8816 cat >conftest.$ac_ext <<_ACEOF
8819 cat confdefs.h >>conftest.$ac_ext
8820 cat >>conftest.$ac_ext <<_ACEOF
8821 /* end confdefs.h. */
8823 /* Override any GCC internal prototype to avoid an error.
8824 Use char because int might match the return type of a GCC
8825 builtin and then its argument prototype would still apply. */
8829 char __lzo_init_v2 ();
8833 return __lzo_init_v2 ();
8838 rm -f conftest.$ac_objext conftest$ac_exeext
8839 if { (ac_try="$ac_link"
8841 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8842 *) ac_try_echo
=$ac_try;;
8844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8845 (eval "$ac_link") 2>conftest.er1
8847 grep -v '^ *+' conftest.er1
>conftest.err
8849 cat conftest.err
>&5
8850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8851 (exit $ac_status); } && {
8852 test -z "$ac_c_werror_flag" ||
8853 test ! -s conftest.err
8854 } && test -s conftest
$ac_exeext &&
8855 $as_test_x conftest
$ac_exeext; then
8856 ac_cv_lib_lzo___lzo_init_v2
=yes
8858 echo "$as_me: failed program was:" >&5
8859 sed 's/^/| /' conftest.
$ac_ext >&5
8861 ac_cv_lib_lzo___lzo_init_v2
=no
8864 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8865 conftest
$ac_exeext conftest.
$ac_ext
8866 LIBS
=$ac_check_lib_save_LIBS
8868 { echo "$as_me:$LINENO: result: $ac_cv_lib_lzo___lzo_init_v2" >&5
8869 echo "${ECHO_T}$ac_cv_lib_lzo___lzo_init_v2" >&6; }
8870 if test $ac_cv_lib_lzo___lzo_init_v2 = yes; then
8873 { echo "$as_me:$LINENO: checking for __lzo_init2 in -llzo" >&5
8874 echo $ECHO_N "checking for __lzo_init2 in -llzo... $ECHO_C" >&6; }
8875 if test "${ac_cv_lib_lzo___lzo_init2+set}" = set; then
8876 echo $ECHO_N "(cached) $ECHO_C" >&6
8878 ac_check_lib_save_LIBS
=$LIBS
8880 cat >conftest.
$ac_ext <<_ACEOF
8883 cat confdefs.h
>>conftest.
$ac_ext
8884 cat >>conftest.
$ac_ext <<_ACEOF
8885 /* end confdefs.h. */
8887 /* Override any GCC internal prototype to avoid an error.
8888 Use char because int might match the return type of a GCC
8889 builtin and then its argument prototype would still apply. */
8893 char __lzo_init2 ();
8897 return __lzo_init2 ();
8902 rm -f conftest.
$ac_objext conftest
$ac_exeext
8903 if { (ac_try
="$ac_link"
8905 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8906 *) ac_try_echo=$ac_try;;
8908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8909 (eval "$ac_link") 2>conftest.er1
8911 grep -v '^ *+' conftest.er1 >conftest.err
8913 cat conftest.err >&5
8914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8915 (exit $ac_status); } && {
8916 test -z "$ac_c_werror_flag" ||
8917 test ! -s conftest.err
8918 } && test -s conftest$ac_exeext &&
8919 $as_test_x conftest$ac_exeext; then
8920 ac_cv_lib_lzo___lzo_init2=yes
8922 echo "$as_me: failed program was:" >&5
8923 sed 's/^/| /' conftest.$ac_ext >&5
8925 ac_cv_lib_lzo___lzo_init2=no
8928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8929 conftest$ac_exeext conftest.$ac_ext
8930 LIBS=$ac_check_lib_save_LIBS
8932 { echo "$as_me:$LINENO: result: $ac_cv_lib_lzo___lzo_init2" >&5
8933 echo "${ECHO_T}$ac_cv_lib_lzo___lzo_init2" >&6; }
8934 if test $ac_cv_lib_lzo___lzo_init2 = yes; then
8937 { { echo "$as_me:$LINENO: error: LZO library version 1.02 or later is required" >&5
8938 echo "$as_me: error: LZO library version 1.02 or later is required" >&2;}
8939 { (exit 1); exit 1; }; }
8948 LIBS="$LIBS $LIBLZO"
8949 { echo "$as_me:$LINENO: checking for lzo1x_999_compress" >&5
8950 echo $ECHO_N "checking for lzo1x_999_compress... $ECHO_C" >&6; }
8951 if test "${ac_cv_func_lzo1x_999_compress+set}" = set; then
8952 echo $ECHO_N "(cached) $ECHO_C" >&6
8954 cat >conftest.$ac_ext <<_ACEOF
8957 cat confdefs.h >>conftest.$ac_ext
8958 cat >>conftest.$ac_ext <<_ACEOF
8959 /* end confdefs.h. */
8960 /* Define lzo1x_999_compress to an innocuous variant, in case <limits.h> declares lzo1x_999_compress.
8961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8962 #define lzo1x_999_compress innocuous_lzo1x_999_compress
8964 /* System header to define __stub macros and hopefully few prototypes,
8965 which can conflict with char lzo1x_999_compress (); below.
8966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8967 <limits.h> exists even on freestanding compilers. */
8970 # include <limits.h>
8972 # include <assert.h>
8975 #undef lzo1x_999_compress
8977 /* Override any GCC internal prototype to avoid an error.
8978 Use char because int might match the return type of a GCC
8979 builtin and then its argument prototype would still apply. */
8983 char lzo1x_999_compress ();
8984 /* The GNU C library defines this for functions which it implements
8985 to always fail with ENOSYS. Some functions are actually named
8986 something starting with __ and the normal name is an alias. */
8987 #if defined __stub_lzo1x_999_compress || defined __stub___lzo1x_999_compress
8994 return lzo1x_999_compress ();
8999 rm -f conftest.$ac_objext conftest$ac_exeext
9000 if { (ac_try="$ac_link"
9002 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9003 *) ac_try_echo
=$ac_try;;
9005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9006 (eval "$ac_link") 2>conftest.er1
9008 grep -v '^ *+' conftest.er1
>conftest.err
9010 cat conftest.err
>&5
9011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9012 (exit $ac_status); } && {
9013 test -z "$ac_c_werror_flag" ||
9014 test ! -s conftest.err
9015 } && test -s conftest
$ac_exeext &&
9016 $as_test_x conftest
$ac_exeext; then
9017 ac_cv_func_lzo1x_999_compress
=yes
9019 echo "$as_me: failed program was:" >&5
9020 sed 's/^/| /' conftest.
$ac_ext >&5
9022 ac_cv_func_lzo1x_999_compress
=no
9025 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9026 conftest
$ac_exeext conftest.
$ac_ext
9028 { echo "$as_me:$LINENO: result: $ac_cv_func_lzo1x_999_compress" >&5
9029 echo "${ECHO_T}$ac_cv_func_lzo1x_999_compress" >&6; }
9030 if test $ac_cv_func_lzo1x_999_compress = yes; then
9033 { { echo "$as_me:$LINENO: error: LZO1X-999 must be enabled" >&5
9034 echo "$as_me: error: LZO1X-999 must be enabled" >&2;}
9035 { (exit 1); exit 1; }; }
9039 # LZO version 2 uses lzo/lzo1x.h, while LZO version 1 uses lzo1x.h.
9042 for ac_header
in lzo
/lzo1x.h lzo1x.h
9044 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9045 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9046 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9047 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9048 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9049 echo $ECHO_N "(cached) $ECHO_C" >&6
9051 ac_res
=`eval echo '${'$as_ac_Header'}'`
9052 { echo "$as_me:$LINENO: result: $ac_res" >&5
9053 echo "${ECHO_T}$ac_res" >&6; }
9055 # Is the header compilable?
9056 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9057 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9058 cat >conftest.
$ac_ext <<_ACEOF
9061 cat confdefs.h
>>conftest.
$ac_ext
9062 cat >>conftest.
$ac_ext <<_ACEOF
9063 /* end confdefs.h. */
9064 $ac_includes_default
9065 #include <$ac_header>
9067 rm -f conftest.
$ac_objext
9068 if { (ac_try
="$ac_compile"
9070 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9071 *) ac_try_echo=$ac_try;;
9073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9074 (eval "$ac_compile") 2>conftest.er1
9076 grep -v '^ *+' conftest.er1 >conftest.err
9078 cat conftest.err >&5
9079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9080 (exit $ac_status); } && {
9081 test -z "$ac_c_werror_flag" ||
9082 test ! -s conftest.err
9083 } && test -s conftest.$ac_objext; then
9084 ac_header_compiler=yes
9086 echo "$as_me: failed program was:" >&5
9087 sed 's/^/| /' conftest.$ac_ext >&5
9089 ac_header_compiler=no
9092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9093 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9094 echo "${ECHO_T}$ac_header_compiler" >&6; }
9096 # Is the header present?
9097 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9098 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9099 cat >conftest.$ac_ext <<_ACEOF
9102 cat confdefs.h >>conftest.$ac_ext
9103 cat >>conftest.$ac_ext <<_ACEOF
9104 /* end confdefs.h. */
9105 #include <$ac_header>
9107 if { (ac_try="$ac_cpp conftest.$ac_ext"
9109 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9110 *) ac_try_echo
=$ac_try;;
9112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9113 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9115 grep -v '^ *+' conftest.er1
>conftest.err
9117 cat conftest.err
>&5
9118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9119 (exit $ac_status); } >/dev
/null
&& {
9120 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9121 test ! -s conftest.err
9123 ac_header_preproc
=yes
9125 echo "$as_me: failed program was:" >&5
9126 sed 's/^/| /' conftest.
$ac_ext >&5
9128 ac_header_preproc
=no
9131 rm -f conftest.err conftest.
$ac_ext
9132 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9133 echo "${ECHO_T}$ac_header_preproc" >&6; }
9135 # So? What about this header?
9136 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9138 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9139 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9140 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9141 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9142 ac_header_preproc
=yes
9145 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9146 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9147 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9148 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9149 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9150 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9151 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9152 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9153 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9154 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9155 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9156 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9160 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9161 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9162 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9163 echo $ECHO_N "(cached) $ECHO_C" >&6
9165 eval "$as_ac_Header=\$ac_header_preproc"
9167 ac_res
=`eval echo '${'$as_ac_Header'}'`
9168 { echo "$as_me:$LINENO: result: $ac_res" >&5
9169 echo "${ECHO_T}$ac_res" >&6; }
9172 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9173 cat >>confdefs.h
<<_ACEOF
9174 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9183 { echo "$as_me:$LINENO: checking which GUI Theme to use" >&5
9184 echo $ECHO_N "checking which GUI Theme to use... $ECHO_C" >&6; }
9186 # Check whether --with-theme was given.
9187 if test "${with_theme+set}" = set; then
9188 withval
=$with_theme; target_guitheme
=$withval
9190 target_guitheme
="default"
9193 if test "$target_guitheme" = "default"; then
9194 aros_target_guitheme
="Ice"
9196 aros_target_guitheme
="$target_guitheme"
9198 { echo "$as_me:$LINENO: result: $aros_target_guitheme" >&5
9199 echo "${ECHO_T}$aros_target_guitheme" >&6; }
9201 # Find out if we are cross-compiling (ie. if we can't use the host compiler
9204 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
9207 if test "$aros_host_arch" == "darwin" ; then
9211 # Set prefix for target compiler etc. if we're cross-compiling
9212 # (should possibly be earlier but needs to be after AC_PROG_CC)
9213 if test "$cross_compiling" = "yes" ; then
9214 target_tool_prefix
=${target_cpu}-elf-
9215 CC
=${target_tool_prefix}gcc
9218 # Find all the tools we need to compile. This could be cross-compiling
9219 # though! If that is the case we use the GNU form of the target and
9220 # simply add this to the front of the binary name. This is rather simple,
9221 # but it should work under most circumstances.
9223 # The default tools are to use the same as the host, but only if the
9224 # host and target CPU are the same. With GCC this is normally enough.
9228 aros_shared_ld
="$aros_host_ld"
9230 aros_target_mkdep
="$aros_host_mkdep"
9231 aros_target_incl_def
="$aros_host_incl"
9233 # Extract the first word of "$CC", so it can be a program name with args.
9234 set dummy
$CC; ac_word
=$2
9235 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9237 if test "${ac_cv_path_aros_kernel_cc+set}" = set; then
9238 echo $ECHO_N "(cached) $ECHO_C" >&6
9240 case $aros_kernel_cc in
9242 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9245 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9249 test -z "$as_dir" && as_dir
=.
9250 for ac_exec_ext
in '' $ac_executable_extensions; do
9251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9252 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9263 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9264 if test -n "$aros_kernel_cc"; then
9265 { echo "$as_me:$LINENO: result: $aros_kernel_cc" >&5
9266 echo "${ECHO_T}$aros_kernel_cc" >&6; }
9268 { echo "$as_me:$LINENO: result: no" >&5
9269 echo "${ECHO_T}no" >&6; }
9274 # The default tools executables to be linked to.
9275 if test "$aros_target_cc" != ""; then
9276 # Extract the first word of "$aros_target_cc", so it can be a program name with args.
9277 set dummy
$aros_target_cc; ac_word
=$2
9278 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9280 if test "${ac_cv_path_aros_target_cc+set}" = set; then
9281 echo $ECHO_N "(cached) $ECHO_C" >&6
9283 case $aros_target_cc in
9285 ac_cv_path_aros_target_cc
="$aros_target_cc" # Let the user override the test with a path.
9288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9292 test -z "$as_dir" && as_dir
=.
9293 for ac_exec_ext
in '' $ac_executable_extensions; do
9294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9295 ac_cv_path_aros_target_cc
="$as_dir/$ac_word$ac_exec_ext"
9296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9306 aros_target_cc
=$ac_cv_path_aros_target_cc
9307 if test -n "$aros_target_cc"; then
9308 { echo "$as_me:$LINENO: result: $aros_target_cc" >&5
9309 echo "${ECHO_T}$aros_target_cc" >&6; }
9311 { echo "$as_me:$LINENO: result: no" >&5
9312 echo "${ECHO_T}no" >&6; }
9316 if test "$aros_target_cc" = ""; then
9317 { { echo "$as_me:$LINENO: error: gcc is required to build AROS. Please install and run configure again." >&5
9318 echo "$as_me: error: gcc is required to build AROS. Please install and run configure again." >&2;}
9319 { (exit 1); exit 1; }; }
9322 if test "$aros_target_ld" != ""; then
9323 # Extract the first word of "$aros_target_ld", so it can be a program name with args.
9324 set dummy
$aros_target_ld; ac_word
=$2
9325 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9327 if test "${ac_cv_path_aros_target_ld+set}" = set; then
9328 echo $ECHO_N "(cached) $ECHO_C" >&6
9330 case $aros_target_ld in
9332 ac_cv_path_aros_target_ld
="$aros_target_ld" # Let the user override the test with a path.
9335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9339 test -z "$as_dir" && as_dir
=.
9340 for ac_exec_ext
in '' $ac_executable_extensions; do
9341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9342 ac_cv_path_aros_target_ld
="$as_dir/$ac_word$ac_exec_ext"
9343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9353 aros_target_ld
=$ac_cv_path_aros_target_ld
9354 if test -n "$aros_target_ld"; then
9355 { echo "$as_me:$LINENO: result: $aros_target_ld" >&5
9356 echo "${ECHO_T}$aros_target_ld" >&6; }
9358 { echo "$as_me:$LINENO: result: no" >&5
9359 echo "${ECHO_T}no" >&6; }
9363 if test "$aros_target_ld" = ""; then
9364 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
9365 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
9366 { (exit 1); exit 1; }; }
9370 if test "$aros_target_as" = ""; then
9371 if test "$cross_compiling" = "yes" ; then
9372 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
9373 set dummy
${target_tool_prefix}as
; ac_word
=$2
9374 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9376 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9377 echo $ECHO_N "(cached) $ECHO_C" >&6
9379 case $aros_target_as_ln in
9381 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
9384 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9388 test -z "$as_dir" && as_dir
=.
9389 for ac_exec_ext
in '' $ac_executable_extensions; do
9390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9391 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
9392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9402 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
9403 if test -n "$aros_target_as_ln"; then
9404 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9405 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9407 { echo "$as_me:$LINENO: result: no" >&5
9408 echo "${ECHO_T}no" >&6; }
9413 if test "$GCC" = "yes"; then
9414 aros_gcc_as
=`$CC -print-prog-name=as`
9415 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
9416 set dummy
`basename $aros_gcc_as`; ac_word
=$2
9417 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9418 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9419 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9420 echo $ECHO_N "(cached) $ECHO_C" >&6
9422 case $aros_target_as_ln in
9424 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
9427 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9428 for as_dir
in `dirname $aros_gcc_as`
9431 test -z "$as_dir" && as_dir
=.
9432 for ac_exec_ext
in '' $ac_executable_extensions; do
9433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9434 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
9435 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9445 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
9446 if test -n "$aros_target_as_ln"; then
9447 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9448 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9450 { echo "$as_me:$LINENO: result: no" >&5
9451 echo "${ECHO_T}no" >&6; }
9456 if test "$aros_target_as_ln" = ""; then
9457 # Extract the first word of "as", so it can be a program name with args.
9458 set dummy as
; ac_word
=$2
9459 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9460 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9461 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9462 echo $ECHO_N "(cached) $ECHO_C" >&6
9464 case $aros_target_as_ln in
9466 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
9469 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9473 test -z "$as_dir" && as_dir
=.
9474 for ac_exec_ext
in '' $ac_executable_extensions; do
9475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9476 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
9477 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9487 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
9488 if test -n "$aros_target_as_ln"; then
9489 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9490 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9492 { echo "$as_me:$LINENO: result: no" >&5
9493 echo "${ECHO_T}no" >&6; }
9500 # Extract the first word of "$aros_target_as", so it can be a program name with args.
9501 set dummy
$aros_target_as; ac_word
=$2
9502 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9504 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9505 echo $ECHO_N "(cached) $ECHO_C" >&6
9507 case $aros_target_as_ln in
9509 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
9512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9516 test -z "$as_dir" && as_dir
=.
9517 for ac_exec_ext
in '' $ac_executable_extensions; do
9518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9519 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
9520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9530 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
9531 if test -n "$aros_target_as_ln"; then
9532 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9533 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9535 { echo "$as_me:$LINENO: result: no" >&5
9536 echo "${ECHO_T}no" >&6; }
9542 if test "$aros_target_as_ln" = ""; then
9543 { { echo "$as_me:$LINENO: error: as is required to build AROS. Please install and run configure again." >&5
9544 echo "$as_me: error: as is required to build AROS. Please install and run configure again." >&2;}
9545 { (exit 1); exit 1; }; }
9548 if test "$aros_kernel_ld" = ""; then
9549 if test "$cross_compiling" = "yes" ; then
9550 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
9551 set dummy
${target_tool_prefix}ld
; ac_word
=$2
9552 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9554 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9555 echo $ECHO_N "(cached) $ECHO_C" >&6
9557 case $aros_kernel_ld in
9559 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9566 test -z "$as_dir" && as_dir
=.
9567 for ac_exec_ext
in '' $ac_executable_extensions; do
9568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9569 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9580 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9581 if test -n "$aros_kernel_ld"; then
9582 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9583 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9585 { echo "$as_me:$LINENO: result: no" >&5
9586 echo "${ECHO_T}no" >&6; }
9591 if test "$GCC" = "yes"; then
9592 aros_gcc_ld
=`$CC -print-prog-name=ld`
9593 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
9594 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
9595 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9597 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9598 echo $ECHO_N "(cached) $ECHO_C" >&6
9600 case $aros_kernel_ld in
9602 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9605 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9606 for as_dir
in `dirname $aros_gcc_ld`
9609 test -z "$as_dir" && as_dir
=.
9610 for ac_exec_ext
in '' $ac_executable_extensions; do
9611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9612 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9623 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9624 if test -n "$aros_kernel_ld"; then
9625 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9626 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9628 { echo "$as_me:$LINENO: result: no" >&5
9629 echo "${ECHO_T}no" >&6; }
9634 if test "$aros_kernel_ld" = ""; then
9635 # Extract the first word of "ld", so it can be a program name with args.
9636 set dummy ld
; ac_word
=$2
9637 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9638 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9639 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9640 echo $ECHO_N "(cached) $ECHO_C" >&6
9642 case $aros_kernel_ld in
9644 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9651 test -z "$as_dir" && as_dir
=.
9652 for ac_exec_ext
in '' $ac_executable_extensions; do
9653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9654 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9665 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9666 if test -n "$aros_kernel_ld"; then
9667 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9668 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9670 { echo "$as_me:$LINENO: result: no" >&5
9671 echo "${ECHO_T}no" >&6; }
9678 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
9679 set dummy
$aros_kernel_ld; ac_word
=$2
9680 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9682 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9683 echo $ECHO_N "(cached) $ECHO_C" >&6
9685 case $aros_kernel_ld in
9687 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9694 test -z "$as_dir" && as_dir
=.
9695 for ac_exec_ext
in '' $ac_executable_extensions; do
9696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9697 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9708 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9709 if test -n "$aros_kernel_ld"; then
9710 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9711 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9713 { echo "$as_me:$LINENO: result: no" >&5
9714 echo "${ECHO_T}no" >&6; }
9720 if test "$aros_kernel_ld" = ""; then
9721 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
9722 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
9723 { (exit 1); exit 1; }; }
9726 if test "$aros_target_ar" = ""; then
9727 if test "$cross_compiling" = "yes" ; then
9728 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
9729 set dummy
${target_tool_prefix}ar; ac_word
=$2
9730 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9732 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9733 echo $ECHO_N "(cached) $ECHO_C" >&6
9735 case $aros_target_ar_ln in
9737 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9740 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9744 test -z "$as_dir" && as_dir
=.
9745 for ac_exec_ext
in '' $ac_executable_extensions; do
9746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9747 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9758 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9759 if test -n "$aros_target_ar_ln"; then
9760 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9761 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9763 { echo "$as_me:$LINENO: result: no" >&5
9764 echo "${ECHO_T}no" >&6; }
9769 if test "$GCC" = "yes"; then
9770 aros_gcc_ar
=`$CC -print-prog-name=ar`
9771 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9772 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
9773 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9774 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9775 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9776 echo $ECHO_N "(cached) $ECHO_C" >&6
9778 case $aros_target_ar_ln in
9780 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9784 for as_dir
in `dirname $aros_gcc_ar`
9787 test -z "$as_dir" && as_dir
=.
9788 for ac_exec_ext
in '' $ac_executable_extensions; do
9789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9790 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9801 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9802 if test -n "$aros_target_ar_ln"; then
9803 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9804 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9806 { echo "$as_me:$LINENO: result: no" >&5
9807 echo "${ECHO_T}no" >&6; }
9812 if test "$aros_target_ar_ln" = ""; then
9813 # Extract the first word of "ar", so it can be a program name with args.
9814 set dummy
ar; ac_word
=$2
9815 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9817 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9818 echo $ECHO_N "(cached) $ECHO_C" >&6
9820 case $aros_target_ar_ln in
9822 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9825 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9829 test -z "$as_dir" && as_dir
=.
9830 for ac_exec_ext
in '' $ac_executable_extensions; do
9831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9832 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9843 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9844 if test -n "$aros_target_ar_ln"; then
9845 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9846 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9848 { echo "$as_me:$LINENO: result: no" >&5
9849 echo "${ECHO_T}no" >&6; }
9856 # Extract the first word of "$aros_target_ar", so it can be a program name with args.
9857 set dummy
$aros_target_ar; ac_word
=$2
9858 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9860 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9861 echo $ECHO_N "(cached) $ECHO_C" >&6
9863 case $aros_target_ar_ln in
9865 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9872 test -z "$as_dir" && as_dir
=.
9873 for ac_exec_ext
in '' $ac_executable_extensions; do
9874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9875 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9886 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9887 if test -n "$aros_target_ar_ln"; then
9888 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9889 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9891 { echo "$as_me:$LINENO: result: no" >&5
9892 echo "${ECHO_T}no" >&6; }
9898 if test "$aros_target_ar_ln" = ""; then
9899 { { echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
9900 echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
9901 { (exit 1); exit 1; }; }
9904 if test "$aros_target_nm" = ""; then
9905 if test "$cross_compiling" = "yes" ; then
9906 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
9907 set dummy
${target_tool_prefix}nm
; ac_word
=$2
9908 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9910 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
9911 echo $ECHO_N "(cached) $ECHO_C" >&6
9913 case $aros_target_nm_ln in
9915 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9922 test -z "$as_dir" && as_dir
=.
9923 for ac_exec_ext
in '' $ac_executable_extensions; do
9924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9925 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9936 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9937 if test -n "$aros_target_nm_ln"; then
9938 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
9939 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
9941 { echo "$as_me:$LINENO: result: no" >&5
9942 echo "${ECHO_T}no" >&6; }
9947 if test "$GCC" = "yes"; then
9948 aros_gcc_nm
=`$CC -print-prog-name=nm`
9949 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
9950 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
9951 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9953 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
9954 echo $ECHO_N "(cached) $ECHO_C" >&6
9956 case $aros_target_nm_ln in
9958 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9962 for as_dir
in `dirname $aros_gcc_nm`
9965 test -z "$as_dir" && as_dir
=.
9966 for ac_exec_ext
in '' $ac_executable_extensions; do
9967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9968 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9979 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9980 if test -n "$aros_target_nm_ln"; then
9981 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
9982 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
9984 { echo "$as_me:$LINENO: result: no" >&5
9985 echo "${ECHO_T}no" >&6; }
9990 if test "$aros_target_nm_ln" = ""; then
9991 # Extract the first word of "nm", so it can be a program name with args.
9992 set dummy nm
; ac_word
=$2
9993 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9995 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
9996 echo $ECHO_N "(cached) $ECHO_C" >&6
9998 case $aros_target_nm_ln in
10000 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
10003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10004 for as_dir
in $PATH
10007 test -z "$as_dir" && as_dir
=.
10008 for ac_exec_ext
in '' $ac_executable_extensions; do
10009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10010 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
10011 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10021 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
10022 if test -n "$aros_target_nm_ln"; then
10023 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10024 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
10026 { echo "$as_me:$LINENO: result: no" >&5
10027 echo "${ECHO_T}no" >&6; }
10034 # Extract the first word of "$aros_target_nm", so it can be a program name with args.
10035 set dummy
$aros_target_nm; ac_word
=$2
10036 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10037 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10038 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
10039 echo $ECHO_N "(cached) $ECHO_C" >&6
10041 case $aros_target_nm_ln in
10043 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
10046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10047 for as_dir
in $PATH
10050 test -z "$as_dir" && as_dir
=.
10051 for ac_exec_ext
in '' $ac_executable_extensions; do
10052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10053 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
10054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10064 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
10065 if test -n "$aros_target_nm_ln"; then
10066 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10067 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
10069 { echo "$as_me:$LINENO: result: no" >&5
10070 echo "${ECHO_T}no" >&6; }
10076 if test "$aros_target_nm_ln" = ""; then
10077 { { echo "$as_me:$LINENO: error: nm is required to build AROS. Please install and run configure again." >&5
10078 echo "$as_me: error: nm is required to build AROS. Please install and run configure again." >&2;}
10079 { (exit 1); exit 1; }; }
10082 if test "$aros_target_objcopy" = ""; then
10083 if test "$cross_compiling" = "yes" ; then
10084 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
10085 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
10086 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10088 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10089 echo $ECHO_N "(cached) $ECHO_C" >&6
10091 case $aros_target_objcopy_ln in
10093 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
10096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10097 for as_dir
in $PATH
10100 test -z "$as_dir" && as_dir
=.
10101 for ac_exec_ext
in '' $ac_executable_extensions; do
10102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10103 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
10104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10114 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
10115 if test -n "$aros_target_objcopy_ln"; then
10116 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10117 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
10119 { echo "$as_me:$LINENO: result: no" >&5
10120 echo "${ECHO_T}no" >&6; }
10125 if test "$GCC" = "yes"; then
10126 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
10127 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
10128 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
10129 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10131 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10132 echo $ECHO_N "(cached) $ECHO_C" >&6
10134 case $aros_target_objcopy_ln in
10136 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
10139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10140 for as_dir
in `dirname $aros_gcc_objcopy`
10143 test -z "$as_dir" && as_dir
=.
10144 for ac_exec_ext
in '' $ac_executable_extensions; do
10145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10146 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
10147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10157 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
10158 if test -n "$aros_target_objcopy_ln"; then
10159 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10160 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
10162 { echo "$as_me:$LINENO: result: no" >&5
10163 echo "${ECHO_T}no" >&6; }
10168 if test "$aros_target_objcopy_ln" = ""; then
10169 # Extract the first word of "objcopy", so it can be a program name with args.
10170 set dummy objcopy
; ac_word
=$2
10171 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10173 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10174 echo $ECHO_N "(cached) $ECHO_C" >&6
10176 case $aros_target_objcopy_ln in
10178 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
10181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10182 for as_dir
in $PATH
10185 test -z "$as_dir" && as_dir
=.
10186 for ac_exec_ext
in '' $ac_executable_extensions; do
10187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10188 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
10189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10199 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
10200 if test -n "$aros_target_objcopy_ln"; then
10201 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10202 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
10204 { echo "$as_me:$LINENO: result: no" >&5
10205 echo "${ECHO_T}no" >&6; }
10212 # Extract the first word of "$aros_target_objcopy", so it can be a program name with args.
10213 set dummy
$aros_target_objcopy; ac_word
=$2
10214 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10216 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10217 echo $ECHO_N "(cached) $ECHO_C" >&6
10219 case $aros_target_objcopy_ln in
10221 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
10224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10225 for as_dir
in $PATH
10228 test -z "$as_dir" && as_dir
=.
10229 for ac_exec_ext
in '' $ac_executable_extensions; do
10230 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10231 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
10232 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10242 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
10243 if test -n "$aros_target_objcopy_ln"; then
10244 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10245 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
10247 { echo "$as_me:$LINENO: result: no" >&5
10248 echo "${ECHO_T}no" >&6; }
10254 if test "$aros_target_objcopy_ln" = ""; then
10255 { { echo "$as_me:$LINENO: error: objcopy is required to build AROS. Please install and run configure again." >&5
10256 echo "$as_me: error: objcopy is required to build AROS. Please install and run configure again." >&2;}
10257 { (exit 1); exit 1; }; }
10260 if test "$aros_target_objdump" = ""; then
10261 if test "$cross_compiling" = "yes" ; then
10262 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
10263 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
10264 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10265 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10266 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10267 echo $ECHO_N "(cached) $ECHO_C" >&6
10269 case $aros_target_objdump_ln in
10271 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
10274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10275 for as_dir
in $PATH
10278 test -z "$as_dir" && as_dir
=.
10279 for ac_exec_ext
in '' $ac_executable_extensions; do
10280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10281 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
10282 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10292 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
10293 if test -n "$aros_target_objdump_ln"; then
10294 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10295 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
10297 { echo "$as_me:$LINENO: result: no" >&5
10298 echo "${ECHO_T}no" >&6; }
10303 if test "$GCC" = "yes"; then
10304 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
10305 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
10306 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
10307 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10309 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10310 echo $ECHO_N "(cached) $ECHO_C" >&6
10312 case $aros_target_objdump_ln in
10314 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
10317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10318 for as_dir
in `dirname $aros_gcc_objdump`
10321 test -z "$as_dir" && as_dir
=.
10322 for ac_exec_ext
in '' $ac_executable_extensions; do
10323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10324 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
10325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10335 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
10336 if test -n "$aros_target_objdump_ln"; then
10337 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10338 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
10340 { echo "$as_me:$LINENO: result: no" >&5
10341 echo "${ECHO_T}no" >&6; }
10346 if test "$aros_target_objdump_ln" = ""; then
10347 # Extract the first word of "objdump", so it can be a program name with args.
10348 set dummy objdump
; ac_word
=$2
10349 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10351 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10352 echo $ECHO_N "(cached) $ECHO_C" >&6
10354 case $aros_target_objdump_ln in
10356 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
10359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10360 for as_dir
in $PATH
10363 test -z "$as_dir" && as_dir
=.
10364 for ac_exec_ext
in '' $ac_executable_extensions; do
10365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10366 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
10367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10377 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
10378 if test -n "$aros_target_objdump_ln"; then
10379 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10380 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
10382 { echo "$as_me:$LINENO: result: no" >&5
10383 echo "${ECHO_T}no" >&6; }
10390 # Extract the first word of "$aros_target_objdump", so it can be a program name with args.
10391 set dummy
$aros_target_objdump; ac_word
=$2
10392 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10394 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10395 echo $ECHO_N "(cached) $ECHO_C" >&6
10397 case $aros_target_objdump_ln in
10399 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
10402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10403 for as_dir
in $PATH
10406 test -z "$as_dir" && as_dir
=.
10407 for ac_exec_ext
in '' $ac_executable_extensions; do
10408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10409 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
10410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10420 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
10421 if test -n "$aros_target_objdump_ln"; then
10422 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10423 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
10425 { echo "$as_me:$LINENO: result: no" >&5
10426 echo "${ECHO_T}no" >&6; }
10432 if test "$aros_target_objdump_ln" = ""; then
10433 { { echo "$as_me:$LINENO: error: objdump is required to build AROS. Please install and run configure again." >&5
10434 echo "$as_me: error: objdump is required to build AROS. Please install and run configure again." >&2;}
10435 { (exit 1); exit 1; }; }
10438 if test "$aros_target_ranlib" = ""; then
10439 if test "$cross_compiling" = "yes" ; then
10440 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
10441 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
10442 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10444 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10445 echo $ECHO_N "(cached) $ECHO_C" >&6
10447 case $aros_target_ranlib_ln in
10449 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
10452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10453 for as_dir
in $PATH
10456 test -z "$as_dir" && as_dir
=.
10457 for ac_exec_ext
in '' $ac_executable_extensions; do
10458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10459 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
10460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10470 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
10471 if test -n "$aros_target_ranlib_ln"; then
10472 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10473 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10475 { echo "$as_me:$LINENO: result: no" >&5
10476 echo "${ECHO_T}no" >&6; }
10481 if test "$GCC" = "yes"; then
10482 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
10483 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
10484 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
10485 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10487 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10488 echo $ECHO_N "(cached) $ECHO_C" >&6
10490 case $aros_target_ranlib_ln in
10492 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
10495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10496 for as_dir
in `dirname $aros_gcc_ranlib`
10499 test -z "$as_dir" && as_dir
=.
10500 for ac_exec_ext
in '' $ac_executable_extensions; do
10501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10502 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
10503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10513 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
10514 if test -n "$aros_target_ranlib_ln"; then
10515 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10516 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10518 { echo "$as_me:$LINENO: result: no" >&5
10519 echo "${ECHO_T}no" >&6; }
10524 if test "$aros_target_ranlib_ln" = ""; then
10525 # Extract the first word of "ranlib", so it can be a program name with args.
10526 set dummy ranlib
; ac_word
=$2
10527 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10529 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10530 echo $ECHO_N "(cached) $ECHO_C" >&6
10532 case $aros_target_ranlib_ln in
10534 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
10537 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10538 for as_dir
in $PATH
10541 test -z "$as_dir" && as_dir
=.
10542 for ac_exec_ext
in '' $ac_executable_extensions; do
10543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10544 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
10545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10555 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
10556 if test -n "$aros_target_ranlib_ln"; then
10557 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10558 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10560 { echo "$as_me:$LINENO: result: no" >&5
10561 echo "${ECHO_T}no" >&6; }
10568 # Extract the first word of "$aros_target_ranlib", so it can be a program name with args.
10569 set dummy
$aros_target_ranlib; ac_word
=$2
10570 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10572 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10573 echo $ECHO_N "(cached) $ECHO_C" >&6
10575 case $aros_target_ranlib_ln in
10577 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
10580 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10581 for as_dir
in $PATH
10584 test -z "$as_dir" && as_dir
=.
10585 for ac_exec_ext
in '' $ac_executable_extensions; do
10586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10587 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
10588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10598 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
10599 if test -n "$aros_target_ranlib_ln"; then
10600 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10601 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10603 { echo "$as_me:$LINENO: result: no" >&5
10604 echo "${ECHO_T}no" >&6; }
10610 if test "$aros_target_ranlib_ln" = ""; then
10611 { { echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
10612 echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
10613 { (exit 1); exit 1; }; }
10616 if test "$aros_target_strip" = ""; then
10617 if test "$cross_compiling" = "yes" ; then
10618 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
10619 set dummy
${target_tool_prefix}strip
; ac_word
=$2
10620 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10622 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10623 echo $ECHO_N "(cached) $ECHO_C" >&6
10625 case $aros_target_strip_ln in
10627 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
10630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10631 for as_dir
in $PATH
10634 test -z "$as_dir" && as_dir
=.
10635 for ac_exec_ext
in '' $ac_executable_extensions; do
10636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10637 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
10638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10648 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
10649 if test -n "$aros_target_strip_ln"; then
10650 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10651 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10653 { echo "$as_me:$LINENO: result: no" >&5
10654 echo "${ECHO_T}no" >&6; }
10659 if test "$GCC" = "yes"; then
10660 aros_gcc_strip
=`$CC -print-prog-name=strip`
10661 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
10662 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
10663 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10665 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10666 echo $ECHO_N "(cached) $ECHO_C" >&6
10668 case $aros_target_strip_ln in
10670 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
10673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10674 for as_dir
in `dirname $aros_gcc_strip`
10677 test -z "$as_dir" && as_dir
=.
10678 for ac_exec_ext
in '' $ac_executable_extensions; do
10679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10680 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
10681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10691 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
10692 if test -n "$aros_target_strip_ln"; then
10693 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10694 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10696 { echo "$as_me:$LINENO: result: no" >&5
10697 echo "${ECHO_T}no" >&6; }
10702 if test "$aros_target_strip_ln" = ""; then
10703 # Extract the first word of "strip", so it can be a program name with args.
10704 set dummy strip
; ac_word
=$2
10705 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10707 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10708 echo $ECHO_N "(cached) $ECHO_C" >&6
10710 case $aros_target_strip_ln in
10712 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
10715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10716 for as_dir
in $PATH
10719 test -z "$as_dir" && as_dir
=.
10720 for ac_exec_ext
in '' $ac_executable_extensions; do
10721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10722 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
10723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10733 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
10734 if test -n "$aros_target_strip_ln"; then
10735 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10736 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10738 { echo "$as_me:$LINENO: result: no" >&5
10739 echo "${ECHO_T}no" >&6; }
10746 # Extract the first word of "$aros_target_strip", so it can be a program name with args.
10747 set dummy
$aros_target_strip; ac_word
=$2
10748 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10750 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10751 echo $ECHO_N "(cached) $ECHO_C" >&6
10753 case $aros_target_strip_ln in
10755 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
10758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10759 for as_dir
in $PATH
10762 test -z "$as_dir" && as_dir
=.
10763 for ac_exec_ext
in '' $ac_executable_extensions; do
10764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10765 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
10766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10776 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
10777 if test -n "$aros_target_strip_ln"; then
10778 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10779 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10781 { echo "$as_me:$LINENO: result: no" >&5
10782 echo "${ECHO_T}no" >&6; }
10788 if test "$aros_target_strip_ln" = ""; then
10789 { { echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
10790 echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
10791 { (exit 1); exit 1; }; }
10794 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
10795 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
10796 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
10797 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
10798 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
10799 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
10800 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
10802 # aros_cc_pre is a variable that is added to the front of the compiler name
10803 # in the generated aros-gcc shell script. We need this to enable the cache
10804 # to work across cleaned builds. Also, support DISTCC using the correct
10805 # environment variable.
10808 if test "x${DISTCC}" != "x" ; then
10809 if test "x${CCACHE}" != "x" ; then
10810 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
10812 aros_cc_pre
="${DISTCC} "
10815 if test "x${CCACHE}" != "x" ; then
10816 aros_cc_pre
="${CCACHE} "
10820 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
10822 aros_target_nostdinc_cflags
=-nostdinc
10824 aros_target_nostartup_ldflags
=-nostartfiles
10826 aros_target_nix_ldflags
=-nix
10828 aros_target_detach_ldflags
=-detach
10830 aros_target_nostdlib_ldflags
=-nostdlib
10834 if test "$aros_target_cc" = ""; then
10835 orig_target_cc
=$aros_kernel_cc
10837 orig_target_cc
=$aros_target_cc
10839 if test "$aros_target_ld" = ""; then
10840 orig_target_ld
=$aros_kernel_ld
10842 orig_target_ld
=$aros_target_ld
10844 if test "$GCC" = "yes"; then
10845 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
10847 aros_target_cc
="${prefix}-gcc"
10848 aros_target_as
="${prefix}-as"
10849 aros_target_ld
="${prefix}-ld"
10850 aros_target_ar
="${prefix}-ar $aros_target_ar_flags"
10851 aros_target_objcopy
=${prefix}-objcopy
10852 aros_target_objdump
=${prefix}-objdump
10853 aros_target_ranlib
="${prefix}-ranlib $aros_target_ranlib_flags"
10854 aros_target_nm
="${prefix}-nm $aros_target_nm_flags"
10855 aros_kernel_nm
="${prefix}-nm"
10856 aros_target_strip
=${prefix}-strip
10858 # Find the system include path. We can suggest that an alternative is
10859 # used if we don't get it correct. The default is to use /usr/include.
10860 # Which is set in the aros_target_incl_def variable.
10862 # Check whether --enable-includes was given.
10863 if test "${enable_includes+set}" = set; then
10864 enableval
=$enable_includes; aros_target_incl
=$enable_includes
10866 aros_target_incl
=$aros_target_incl_def
10870 { echo "$as_me:$LINENO: checking for the target compiler's include path" >&5
10871 echo $ECHO_N "checking for the target compiler's include path... $ECHO_C" >&6; }
10872 if test "$aros_target_cc_includes" = "" ; then
10873 #try to guess where the directory is
10874 aros_target_cc_includes
=`dirname \`${aros_kernel_cc} -print-libgcc-file-name\
``/include
10875 if ! test -d $aros_target_cc_includes; then
10876 #the directory doesn't exist, we need to do some more work
10877 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
10879 #these are the headers we're looling for
10880 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
10881 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
10885 for h
in $headers; do
10886 #which other headers each of the above headers needs?
10887 deps
=$
(echo "#include <$h>" | \
10888 $aros_host_cc -E -M - 2>/dev
/null | \
10889 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
10891 #copy all the needed headers to a directory beneath gendir
10894 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
10895 sed -n "s,^.*/include\(/.*\),\1,p")
10896 ! test -d $dir && mkdir
-p $dir
10897 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
10902 { echo "$as_me:$LINENO: result: $aros_target_cc_includes" >&5
10903 echo "${ECHO_T}$aros_target_cc_includes" >&6; }
10906 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
10907 # On GCC >= 4.0 -iquote should be used
10911 save_cflags
="$CFLAGS"
10912 CC
="$aros_kernel_cc"
10914 { echo "$as_me:$LINENO: checking whether ${CC} accepts -iquote" >&5
10915 echo $ECHO_N "checking whether ${CC} accepts -iquote... $ECHO_C" >&6; }
10916 cat >conftest.
$ac_ext <<_ACEOF
10919 cat confdefs.h
>>conftest.
$ac_ext
10920 cat >>conftest.
$ac_ext <<_ACEOF
10921 /* end confdefs.h. */
10931 rm -f conftest.
$ac_objext
10932 if { (ac_try
="$ac_compile"
10933 case "(($ac_try" in
10934 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10935 *) ac_try_echo=$ac_try;;
10937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10938 (eval "$ac_compile") 2>conftest.er1
10940 grep -v '^ *+' conftest.er1 >conftest.err
10942 cat conftest.err >&5
10943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10944 (exit $ac_status); } && {
10945 test -z "$ac_c_werror_flag" ||
10946 test ! -s conftest.err
10947 } && test -s conftest.$ac_objext; then
10950 echo "$as_me: failed program was:" >&5
10951 sed 's/^/| /' conftest.$ac_ext >&5
10956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10957 { echo "$as_me:$LINENO: result: $has_iquote" >&5
10958 echo "${ECHO_T}$has_iquote" >&6; }
10959 if test "x-$has_iquote" = "x-yes" ; then
10960 aros_cflags_iquote=-iquote
10961 aros_cflags_iquote_end=
10963 aros_cflags_iquote=-I
10964 aros_cflags_iquote_end=-I-
10967 CFLAGS="$save_cflags"
10973 { echo "$as_me:$LINENO: checking for default resolution of WBScreen" >&5
10974 echo $ECHO_N "checking for default resolution of WBScreen... $ECHO_C" >&6; }
10976 # Check whether --with-resolution was given.
10977 if test "${with_resolution+set}" = set; then
10978 withval=$with_resolution; resolution=$withval
10983 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
10984 if test "$resolution" = "yes" ; then
10987 if test "$resolution" = "no" ; then
10990 if test "$resolution" != "none" ; then
10991 aros_default_wbwidth=`echo $resolution | cut
-d'x' -f1`
10992 aros_default_wbheight=`echo $resolution | cut
-d'x' -f2`
10993 aros_default_wbdepth=`echo $resolution | cut
-d'x' -f3`
10995 { echo "$as_me:$LINENO: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
10996 echo "${ECHO_T}$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
10997 aros_cv_default_wbwidth=$aros_default_wbwidth
10998 aros_cv_default_wbheight=$aros_default_wbheight
10999 aros_cv_default_wbdepth=$aros_default_wbdepth
11001 { echo "$as_me:$LINENO: checking if bochs hack is enabled" >&5
11002 echo $ECHO_N "checking if bochs hack is enabled... $ECHO_C" >&6; }
11003 # Check whether --enable-bochs_hack was given.
11004 if test "${enable_bochs_hack+set}" = set; then
11005 enableval=$enable_bochs_hack; bochs_hack="yes"
11010 if test "$bochs_hack" = "yes" ; then
11011 aros_bochs_hack="1"
11013 { echo "$as_me:$LINENO: result: $bochs_hack" >&5
11014 echo "${ECHO_T}$bochs_hack" >&6; }
11016 { echo "$as_me:$LINENO: checking if serial debug is enabled" >&5
11017 echo $ECHO_N "checking if serial debug is enabled... $ECHO_C" >&6; }
11019 # Check whether --with-serial-debug was given.
11020 if test "${with_serial_debug+set}" = set; then
11021 withval=$with_serial_debug; serial_debug=$withval
11026 if test "$aros_serial_debug" = 0 ; then
11027 serial_debug_forced=""
11028 if test "$serial_debug" = "yes" ; then
11031 if test "$serial_debug" = "no" ; then
11032 serial_debug="none"
11035 serial_debug_forced="(forced)"
11036 serial_debug=$aros_serial_debug
11038 if test "$serial_debug" != "none" ; then
11039 aros_serial_debug=$serial_debug
11040 { echo "$as_me:$LINENO: result: $serial_debug_forced on port $serial_debug" >&5
11041 echo "${ECHO_T}$serial_debug_forced on port $serial_debug" >&6; }
11043 { echo "$as_me:$LINENO: result: no" >&5
11044 echo "${ECHO_T}no" >&6; }
11047 { echo "$as_me:$LINENO: checking if palm debug hack is enabled" >&5
11048 echo $ECHO_N "checking if palm debug hack is enabled... $ECHO_C" >&6; }
11049 # Check whether --enable-palm_debug_hack was given.
11050 if test "${enable_palm_debug_hack+set}" = set; then
11051 enableval=$enable_palm_debug_hack; palm_debug_hack="yes"
11053 palm_debug_hack="no"
11056 if test "$palm_debug_hack" = "yes" ; then
11057 aros_palm_debug_hack="1"
11059 { echo "$as_me:$LINENO: result: $palm_debug_hack" >&5
11060 echo "${ECHO_T}$palm_debug_hack" >&6; }
11063 { echo "$as_me:$LINENO: checking if nesting supervisor support is enabled" >&5
11064 echo $ECHO_N "checking if nesting supervisor support is enabled... $ECHO_C" >&6; }
11065 # Check whether --enable-nesting_supervisor was given.
11066 if test "${enable_nesting_supervisor+set}" = set; then
11067 enableval=$enable_nesting_supervisor; nesting_supervisor="yes"
11069 nesting_supervisor="no"
11072 if test "$nesting_supervisor" = "yes" ; then
11073 aros_nesting_supervisor="1"
11075 { echo "$as_me:$LINENO: result: $nesting_supervisor" >&5
11076 echo "${ECHO_T}$nesting_supervisor" >&6; }
11079 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
11081 if test "x-$aros_host_arch" != "x-darwin" ; then
11082 { echo "$as_me:$LINENO: checking for dlopen" >&5
11083 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
11084 if test "${ac_cv_func_dlopen+set}" = set; then
11085 echo $ECHO_N "(cached) $ECHO_C" >&6
11087 cat >conftest.$ac_ext <<_ACEOF
11090 cat confdefs.h >>conftest.$ac_ext
11091 cat >>conftest.$ac_ext <<_ACEOF
11092 /* end confdefs.h. */
11093 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11095 #define dlopen innocuous_dlopen
11097 /* System header to define __stub macros and hopefully few prototypes,
11098 which can conflict with char dlopen (); below.
11099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11100 <limits.h> exists even on freestanding compilers. */
11103 # include <limits.h>
11105 # include <assert.h>
11110 /* Override any GCC internal prototype to avoid an error.
11111 Use char because int might match the return type of a GCC
11112 builtin and then its argument prototype would still apply. */
11117 /* The GNU C library defines this for functions which it implements
11118 to always fail with ENOSYS. Some functions are actually named
11119 something starting with __ and the normal name is an alias. */
11120 #if defined __stub_dlopen || defined __stub___dlopen
11132 rm -f conftest.$ac_objext conftest$ac_exeext
11133 if { (ac_try="$ac_link"
11134 case "(($ac_try" in
11135 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11136 *) ac_try_echo
=$ac_try;;
11138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11139 (eval "$ac_link") 2>conftest.er1
11141 grep -v '^ *+' conftest.er1
>conftest.err
11143 cat conftest.err
>&5
11144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11145 (exit $ac_status); } && {
11146 test -z "$ac_c_werror_flag" ||
11147 test ! -s conftest.err
11148 } && test -s conftest
$ac_exeext &&
11149 $as_test_x conftest
$ac_exeext; then
11150 ac_cv_func_dlopen
=yes
11152 echo "$as_me: failed program was:" >&5
11153 sed 's/^/| /' conftest.
$ac_ext >&5
11155 ac_cv_func_dlopen
=no
11158 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11159 conftest
$ac_exeext conftest.
$ac_ext
11161 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11162 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
11163 if test $ac_cv_func_dlopen = yes; then
11169 if test "x-$have_dl" = "x-no" ; then
11170 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11171 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11172 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11173 echo $ECHO_N "(cached) $ECHO_C" >&6
11175 ac_check_lib_save_LIBS
=$LIBS
11177 cat >conftest.
$ac_ext <<_ACEOF
11180 cat confdefs.h
>>conftest.
$ac_ext
11181 cat >>conftest.
$ac_ext <<_ACEOF
11182 /* end confdefs.h. */
11184 /* Override any GCC internal prototype to avoid an error.
11185 Use char because int might match the return type of a GCC
11186 builtin and then its argument prototype would still apply. */
11199 rm -f conftest.
$ac_objext conftest
$ac_exeext
11200 if { (ac_try
="$ac_link"
11201 case "(($ac_try" in
11202 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11203 *) ac_try_echo=$ac_try;;
11205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11206 (eval "$ac_link") 2>conftest.er1
11208 grep -v '^ *+' conftest.er1 >conftest.err
11210 cat conftest.err >&5
11211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11212 (exit $ac_status); } && {
11213 test -z "$ac_c_werror_flag" ||
11214 test ! -s conftest.err
11215 } && test -s conftest$ac_exeext &&
11216 $as_test_x conftest$ac_exeext; then
11217 ac_cv_lib_dl_dlopen=yes
11219 echo "$as_me: failed program was:" >&5
11220 sed 's/^/| /' conftest.$ac_ext >&5
11222 ac_cv_lib_dl_dlopen=no
11225 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11226 conftest$ac_exeext conftest.$ac_ext
11227 LIBS=$ac_check_lib_save_LIBS
11229 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11230 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11231 if test $ac_cv_lib_dl_dlopen = yes; then
11233 aros_host_ldflags="$aros_host_ldflags -ldl"
11239 if test "x-$have_dl" = "x-no" ; then
11240 { { echo "$as_me:$LINENO: error: dlopen() dynamic linker functions not available" >&5
11241 echo "$as_me: error: dlopen() dynamic linker functions not available" >&2;}
11242 { (exit 1); exit 1; }; }
11247 # Check whether --enable-x11_hidd was given.
11248 if test "${enable_x11_hidd+set}" = set; then
11249 enableval=$enable_x11_hidd; x11_hidd="$enableval"
11254 case "x-$x11_hidd" in
11255 x-yes|x-no|x-auto) ;;
11256 *) x11_hidd="auto" ;;
11259 if test "x-$x11_hidd" != "x-no" ; then
11261 { echo "$as_me:$LINENO: checking for X" >&5
11262 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
11265 # Check whether --with-x was given.
11266 if test "${with_x+set}" = set; then
11270 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11271 if test "x$with_x" = xno; then
11272 # The user explicitly disabled X.
11275 case $x_includes,$x_libraries in #(
11276 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
11277 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
11278 { (exit 1); exit 1; }; };; #(
11279 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
11280 echo $ECHO_N "(cached) $ECHO_C" >&6
11282 # One or both of the vars are not set, and there is no cached value.
11283 ac_x_includes=no ac_x_libraries=no
11284 rm -f -r conftest.dir
11285 if mkdir conftest.dir; then
11287 cat >Imakefile <<'_ACEOF'
11289 @echo incroot='${INCROOT}'
11291 @echo usrlibdir='${USRLIBDIR}'
11293 @echo libdir='${LIBDIR}'
11295 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
11296 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11297 for ac_var in incroot usrlibdir libdir; do
11298 eval "ac_im_$ac_var=\`\
${MAKE-make} $ac_var 2>/dev
/null |
sed -n 's/^$ac_var=//p'\
`"
11300 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11301 for ac_extension in a so sl; do
11302 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
11303 test -f "$ac_im_libdir/libX11.$ac_extension"; then
11304 ac_im_usrlibdir=$ac_im_libdir; break
11307 # Screen out bogus values from the imake configuration. They are
11308 # bogus both because they are the default anyway, and because
11309 # using them would break gcc on systems where it needs fixed includes.
11310 case $ac_im_incroot in
11311 /usr/include) ac_x_includes= ;;
11312 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
11314 case $ac_im_usrlibdir in
11315 /usr/lib | /lib) ;;
11316 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
11320 rm -f -r conftest.dir
11323 # Standard set of common directories for X headers.
11324 # Check X11 before X11Rn because it is often a symlink to the current release.
11336 /usr/local/X11/include
11337 /usr/local/X11R6/include
11338 /usr/local/X11R5/include
11339 /usr/local/X11R4/include
11341 /usr/local/include/X11
11342 /usr/local/include/X11R6
11343 /usr/local/include/X11R5
11344 /usr/local/include/X11R4
11348 /usr/XFree86/include/X11
11352 /usr/unsupported/include
11353 /usr/athena/include
11354 /usr/local/x11r5/include
11355 /usr/lpp/Xamples/include
11357 /usr/openwin/include
11358 /usr/openwin/share/include'
11360 if test "$ac_x_includes" = no; then
11361 # Guess where to find include files, by looking for Xlib.h.
11362 # First, try using that file with no special directory specified.
11363 cat >conftest.$ac_ext <<_ACEOF
11366 cat confdefs.h >>conftest.$ac_ext
11367 cat >>conftest.$ac_ext <<_ACEOF
11368 /* end confdefs.h. */
11369 #include <X11/Xlib.h>
11371 if { (ac_try="$ac_cpp conftest.$ac_ext"
11372 case "(($ac_try" in
11373 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11374 *) ac_try_echo
=$ac_try;;
11376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11377 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11379 grep -v '^ *+' conftest.er1
>conftest.err
11381 cat conftest.err
>&5
11382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11383 (exit $ac_status); } >/dev
/null
&& {
11384 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11385 test ! -s conftest.err
11387 # We can compile using X headers with no special include directory.
11390 echo "$as_me: failed program was:" >&5
11391 sed 's/^/| /' conftest.
$ac_ext >&5
11393 for ac_dir
in $ac_x_header_dirs; do
11394 if test -r "$ac_dir/X11/Xlib.h"; then
11395 ac_x_includes
=$ac_dir
11401 rm -f conftest.err conftest.
$ac_ext
11402 fi # $ac_x_includes = no
11404 if test "$ac_x_libraries" = no
; then
11405 # Check for the libraries.
11406 # See if we find them without any special options.
11407 # Don't add to $LIBS permanently.
11410 cat >conftest.
$ac_ext <<_ACEOF
11413 cat confdefs.h
>>conftest.
$ac_ext
11414 cat >>conftest.
$ac_ext <<_ACEOF
11415 /* end confdefs.h. */
11416 #include <X11/Xlib.h>
11425 rm -f conftest.
$ac_objext conftest
$ac_exeext
11426 if { (ac_try
="$ac_link"
11427 case "(($ac_try" in
11428 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11429 *) ac_try_echo=$ac_try;;
11431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11432 (eval "$ac_link") 2>conftest.er1
11434 grep -v '^ *+' conftest.er1 >conftest.err
11436 cat conftest.err >&5
11437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11438 (exit $ac_status); } && {
11439 test -z "$ac_c_werror_flag" ||
11440 test ! -s conftest.err
11441 } && test -s conftest$ac_exeext &&
11442 $as_test_x conftest$ac_exeext; then
11444 # We can link X programs with no special library path.
11447 echo "$as_me: failed program was:" >&5
11448 sed 's/^/| /' conftest.$ac_ext >&5
11451 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
11453 # Don't even attempt the hair of trying to link an X program!
11454 for ac_extension in a so sl; do
11455 if test -r "$ac_dir/libX11.$ac_extension"; then
11456 ac_x_libraries=$ac_dir
11463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11464 conftest$ac_exeext conftest.$ac_ext
11465 fi # $ac_x_libraries = no
11467 case $ac_x_includes,$ac_x_libraries in #(
11468 no,* | *,no | *\'*)
11469 # Didn't find X, or a directory has "'" in its name.
11470 ac_cv_have_x="have_x=no";; #(
11472 # Record where we found X for the cache.
11473 ac_cv_have_x="have_x=yes\
11474 ac_x_includes='$ac_x_includes'\
11475 ac_x_libraries='$ac_x_libraries'"
11481 eval "$ac_cv_have_x"
11484 if test "$have_x" != yes; then
11485 { echo "$as_me:$LINENO: result: $have_x" >&5
11486 echo "${ECHO_T}$have_x" >&6; }
11489 # If each of the values was on the command line, it overrides each guess.
11490 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11491 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11492 # Update the cache value to reflect the command line values.
11493 ac_cv_have_x="have_x=yes\
11494 ac_x_includes='$x_includes'\
11495 ac_x_libraries='$x_libraries'"
11496 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
11497 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
11502 for path in $x_libraries
11504 x_cflags="$x_cflags -L$path"
11507 for path in $x_includes
11509 x_cflags="$x_cflags -I$path"
11512 if test "x-$no_x" = "x-yes" ; then
11514 if test "x-$x11_hidd" != "x-auto" ; then
11515 { { echo "$as_me:$LINENO: error: X11 libs/headers not found, cannot build X11 hidd as requested" >&5
11516 echo "$as_me: error: X11 libs/headers not found, cannot build X11 hidd as requested" >&2;}
11517 { (exit 1); exit 1; }; }
11521 x11_hidd_target=kernel-x11gfx
11524 # Check whether --enable-x11_shm was given.
11525 if test "${enable_x11_shm+set}" = set; then
11526 enableval=$enable_x11_shm; x11_hidd_shm="$enableval"
11528 x11_hidd_shm="auto"
11531 case "x-$x11_hidd_shm" in
11532 x-yes|x-no|x-auto) ;;
11533 *) x11_hidd_shm="auto" ;;
11538 if test "x-$x11_hidd_shm" != "x-no" ; then
11541 for ac_header in sys/ipc.h
11543 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11544 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11545 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11546 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11547 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11548 echo $ECHO_N "(cached) $ECHO_C" >&6
11550 ac_res=`eval echo '${'$as_ac_Header'}'`
11551 { echo "$as_me:$LINENO: result: $ac_res" >&5
11552 echo "${ECHO_T}$ac_res" >&6; }
11554 # Is the header compilable?
11555 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11556 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11557 cat >conftest.$ac_ext <<_ACEOF
11560 cat confdefs.h >>conftest.$ac_ext
11561 cat >>conftest.$ac_ext <<_ACEOF
11562 /* end confdefs.h. */
11563 $ac_includes_default
11564 #include <$ac_header>
11566 rm -f conftest.$ac_objext
11567 if { (ac_try="$ac_compile"
11568 case "(($ac_try" in
11569 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11570 *) ac_try_echo
=$ac_try;;
11572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11573 (eval "$ac_compile") 2>conftest.er1
11575 grep -v '^ *+' conftest.er1
>conftest.err
11577 cat conftest.err
>&5
11578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11579 (exit $ac_status); } && {
11580 test -z "$ac_c_werror_flag" ||
11581 test ! -s conftest.err
11582 } && test -s conftest.
$ac_objext; then
11583 ac_header_compiler
=yes
11585 echo "$as_me: failed program was:" >&5
11586 sed 's/^/| /' conftest.
$ac_ext >&5
11588 ac_header_compiler
=no
11591 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11592 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11593 echo "${ECHO_T}$ac_header_compiler" >&6; }
11595 # Is the header present?
11596 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11597 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11598 cat >conftest.
$ac_ext <<_ACEOF
11601 cat confdefs.h
>>conftest.
$ac_ext
11602 cat >>conftest.
$ac_ext <<_ACEOF
11603 /* end confdefs.h. */
11604 #include <$ac_header>
11606 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11607 case "(($ac_try" in
11608 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11609 *) ac_try_echo=$ac_try;;
11611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11612 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11614 grep -v '^ *+' conftest.er1 >conftest.err
11616 cat conftest.err >&5
11617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11618 (exit $ac_status); } >/dev/null && {
11619 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11620 test ! -s conftest.err
11622 ac_header_preproc=yes
11624 echo "$as_me: failed program was:" >&5
11625 sed 's/^/| /' conftest.$ac_ext >&5
11627 ac_header_preproc=no
11630 rm -f conftest.err conftest.$ac_ext
11631 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11632 echo "${ECHO_T}$ac_header_preproc" >&6; }
11634 # So? What about this header?
11635 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11637 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11638 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11639 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11640 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11641 ac_header_preproc=yes
11644 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11645 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11646 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11647 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11648 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11649 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11650 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11651 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11652 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11653 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11654 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11655 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11659 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11660 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11661 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11662 echo $ECHO_N "(cached) $ECHO_C" >&6
11664 eval "$as_ac_Header=\$ac_header_preproc"
11666 ac_res=`eval echo '${'$as_ac_Header'}'`
11667 { echo "$as_me:$LINENO: result: $ac_res" >&5
11668 echo "${ECHO_T}$ac_res" >&6; }
11671 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11672 cat >>confdefs.h <<_ACEOF
11673 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11681 for ac_header in sys/shm.h
11683 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11684 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11685 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11686 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11687 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11688 echo $ECHO_N "(cached) $ECHO_C" >&6
11690 ac_res=`eval echo '${'$as_ac_Header'}'`
11691 { echo "$as_me:$LINENO: result: $ac_res" >&5
11692 echo "${ECHO_T}$ac_res" >&6; }
11694 # Is the header compilable?
11695 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11696 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11697 cat >conftest.$ac_ext <<_ACEOF
11700 cat confdefs.h >>conftest.$ac_ext
11701 cat >>conftest.$ac_ext <<_ACEOF
11702 /* end confdefs.h. */
11703 $ac_includes_default
11704 #include <$ac_header>
11706 rm -f conftest.$ac_objext
11707 if { (ac_try="$ac_compile"
11708 case "(($ac_try" in
11709 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11710 *) ac_try_echo
=$ac_try;;
11712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11713 (eval "$ac_compile") 2>conftest.er1
11715 grep -v '^ *+' conftest.er1
>conftest.err
11717 cat conftest.err
>&5
11718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11719 (exit $ac_status); } && {
11720 test -z "$ac_c_werror_flag" ||
11721 test ! -s conftest.err
11722 } && test -s conftest.
$ac_objext; then
11723 ac_header_compiler
=yes
11725 echo "$as_me: failed program was:" >&5
11726 sed 's/^/| /' conftest.
$ac_ext >&5
11728 ac_header_compiler
=no
11731 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11732 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11733 echo "${ECHO_T}$ac_header_compiler" >&6; }
11735 # Is the header present?
11736 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11737 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11738 cat >conftest.
$ac_ext <<_ACEOF
11741 cat confdefs.h
>>conftest.
$ac_ext
11742 cat >>conftest.
$ac_ext <<_ACEOF
11743 /* end confdefs.h. */
11744 #include <$ac_header>
11746 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11747 case "(($ac_try" in
11748 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11749 *) ac_try_echo=$ac_try;;
11751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11752 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11754 grep -v '^ *+' conftest.er1 >conftest.err
11756 cat conftest.err >&5
11757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11758 (exit $ac_status); } >/dev/null && {
11759 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11760 test ! -s conftest.err
11762 ac_header_preproc=yes
11764 echo "$as_me: failed program was:" >&5
11765 sed 's/^/| /' conftest.$ac_ext >&5
11767 ac_header_preproc=no
11770 rm -f conftest.err conftest.$ac_ext
11771 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11772 echo "${ECHO_T}$ac_header_preproc" >&6; }
11774 # So? What about this header?
11775 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11777 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11778 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11779 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11780 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11781 ac_header_preproc=yes
11784 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11785 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11786 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11787 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11788 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11789 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11790 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11791 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11792 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11793 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11794 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11795 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11799 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11800 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11801 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11802 echo $ECHO_N "(cached) $ECHO_C" >&6
11804 eval "$as_ac_Header=\$ac_header_preproc"
11806 ac_res=`eval echo '${'$as_ac_Header'}'`
11807 { echo "$as_me:$LINENO: result: $ac_res" >&5
11808 echo "${ECHO_T}$ac_res" >&6; }
11811 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11812 cat >>confdefs.h <<_ACEOF
11813 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11821 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
11823 save_cflags="$CFLAGS"
11824 CFLAGS="$CFLAGS $x_cflags"
11825 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
11826 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
11827 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
11828 echo $ECHO_N "(cached) $ECHO_C" >&6
11830 ac_check_lib_save_LIBS=$LIBS
11831 LIBS="-lXext $LIBS"
11832 cat >conftest.$ac_ext <<_ACEOF
11835 cat confdefs.h >>conftest.$ac_ext
11836 cat >>conftest.$ac_ext <<_ACEOF
11837 /* end confdefs.h. */
11839 /* Override any GCC internal prototype to avoid an error.
11840 Use char because int might match the return type of a GCC
11841 builtin and then its argument prototype would still apply. */
11845 char XShmQueryExtension ();
11849 return XShmQueryExtension ();
11854 rm -f conftest.$ac_objext conftest$ac_exeext
11855 if { (ac_try="$ac_link"
11856 case "(($ac_try" in
11857 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11858 *) ac_try_echo
=$ac_try;;
11860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11861 (eval "$ac_link") 2>conftest.er1
11863 grep -v '^ *+' conftest.er1
>conftest.err
11865 cat conftest.err
>&5
11866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11867 (exit $ac_status); } && {
11868 test -z "$ac_c_werror_flag" ||
11869 test ! -s conftest.err
11870 } && test -s conftest
$ac_exeext &&
11871 $as_test_x conftest
$ac_exeext; then
11872 ac_cv_lib_Xext_XShmQueryExtension
=yes
11874 echo "$as_me: failed program was:" >&5
11875 sed 's/^/| /' conftest.
$ac_ext >&5
11877 ac_cv_lib_Xext_XShmQueryExtension
=no
11880 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11881 conftest
$ac_exeext conftest.
$ac_ext
11882 LIBS
=$ac_check_lib_save_LIBS
11884 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11885 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11886 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
11890 CFLAGS
="$save_cflags"
11894 if test "x-$have_xshm" = "x-yes" ; then
11895 DO_XSHM_SUPPORT
="1"
11896 elif test "x-$x11_hidd_shm" = "x-yes" ; then
11897 { { echo "$as_me:$LINENO: error: X11 has no support for shared memory, cannot enable it as requested" >&5
11898 echo "$as_me: error: X11 has no support for shared memory, cannot enable it as requested" >&2;}
11899 { (exit 1); exit 1; }; }
11901 DO_XSHM_SUPPORT
="0"
11905 # Check whether --enable-x11_vidmode was given.
11906 if test "${enable_x11_vidmode+set}" = set; then
11907 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
11909 x11_hidd_vidmode
="auto"
11912 case "x-$x11_hidd_vidmode" in
11913 x-yes|x-no|x-auto
) ;;
11914 *) x11_hidd_vidmode
="auto" ;;
11919 if test "x-$x11_hidd_vidmode" != "x-no" ; then
11921 save_cflags
="$CFLAGS"
11922 CFLAGS
="$CFLAGS $x_cflags"
11923 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
11924 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
11925 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
11926 echo $ECHO_N "(cached) $ECHO_C" >&6
11928 ac_check_lib_save_LIBS
=$LIBS
11929 LIBS
="-lXxf86vm $LIBS"
11930 cat >conftest.
$ac_ext <<_ACEOF
11933 cat confdefs.h
>>conftest.
$ac_ext
11934 cat >>conftest.
$ac_ext <<_ACEOF
11935 /* end confdefs.h. */
11937 /* Override any GCC internal prototype to avoid an error.
11938 Use char because int might match the return type of a GCC
11939 builtin and then its argument prototype would still apply. */
11943 char XF86VidModeQueryExtension ();
11947 return XF86VidModeQueryExtension ();
11952 rm -f conftest.
$ac_objext conftest
$ac_exeext
11953 if { (ac_try
="$ac_link"
11954 case "(($ac_try" in
11955 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11956 *) ac_try_echo=$ac_try;;
11958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11959 (eval "$ac_link") 2>conftest.er1
11961 grep -v '^ *+' conftest.er1 >conftest.err
11963 cat conftest.err >&5
11964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11965 (exit $ac_status); } && {
11966 test -z "$ac_c_werror_flag" ||
11967 test ! -s conftest.err
11968 } && test -s conftest$ac_exeext &&
11969 $as_test_x conftest$ac_exeext; then
11970 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
11972 echo "$as_me: failed program was:" >&5
11973 sed 's/^/| /' conftest.$ac_ext >&5
11975 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
11978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11979 conftest$ac_exeext conftest.$ac_ext
11980 LIBS=$ac_check_lib_save_LIBS
11982 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
11983 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
11984 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
11988 CFLAGS="$save_cflags"
11991 if test "x-$have_vidmode" = "x-yes" ; then
11992 DO_VIDMODE_SUPPORT="1"
11993 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
11994 { { echo "$as_me:$LINENO: error: X11 vidmode extension not available, cannot enable it as requested" >&5
11995 echo "$as_me: error: X11 vidmode extension not available, cannot enable it as requested" >&2;}
11996 { (exit 1); exit 1; }; }
11998 DO_VIDMODE_SUPPORT="0"
12002 aros_host_x11_includes=$x_includes
12003 aros_host_x11_libdirs=$x_libraries
12007 # Check whether --enable-sdl_hidd was given.
12008 if test "${enable_sdl_hidd+set}" = set; then
12009 enableval=$enable_sdl_hidd; sdl_hidd="$enableval"
12014 case "x-$sdl_hidd" in
12015 x-yes|x-no|x-auto) ;;
12016 *) sdl_hidd="auto" ;;
12019 if test "x-$sdl_hidd" != "x-no" ; then
12022 # Check whether --with-sdl-prefix was given.
12023 if test "${with_sdl_prefix+set}" = set; then
12024 withval=$with_sdl_prefix; sdl_prefix="$withval"
12030 # Check whether --with-sdl-exec-prefix was given.
12031 if test "${with_sdl_exec_prefix+set}" = set; then
12032 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
12037 # Check whether --enable-sdltest was given.
12038 if test "${enable_sdltest+set}" = set; then
12039 enableval=$enable_sdltest;
12045 if test x$sdl_exec_prefix != x ; then
12046 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
12047 if test x${SDL_CONFIG+set} != xset ; then
12048 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
12051 if test x$sdl_prefix != x ; then
12052 sdl_args="$sdl_args --prefix=$sdl_prefix"
12053 if test x${SDL_CONFIG+set} != xset ; then
12054 SDL_CONFIG=$sdl_prefix/bin/sdl-config
12058 if test "x$prefix" != xNONE; then
12059 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
12061 # Extract the first word of "sdl-config", so it can be a program name with args.
12062 set dummy sdl-config; ac_word=$2
12063 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12065 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
12066 echo $ECHO_N "(cached) $ECHO_C" >&6
12068 case $SDL_CONFIG in
12070 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
12073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12074 for as_dir in $PATH
12077 test -z "$as_dir" && as_dir=.
12078 for ac_exec_ext in '' $ac_executable_extensions; do
12079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12080 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12088 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
12092 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
12093 if test -n "$SDL_CONFIG"; then
12094 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
12095 echo "${ECHO_T}$SDL_CONFIG" >&6; }
12097 { echo "$as_me:$LINENO: result: no" >&5
12098 echo "${ECHO_T}no" >&6; }
12102 min_sdl_version=1.2.10
12103 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
12104 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
12106 if test "$SDL_CONFIG" = "no" ; then
12109 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
12110 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
12112 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
12113 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12114 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
12115 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12116 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
12117 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12118 if test "x$enable_sdltest" = "xyes" ; then
12119 ac_save_CFLAGS="$CFLAGS"
12120 ac_save_CXXFLAGS="$CXXFLAGS"
12121 ac_save_LIBS="$LIBS"
12122 CFLAGS="$CFLAGS $SDL_CFLAGS"
12123 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
12124 LIBS="$LIBS $SDL_LIBS"
12126 if test "$cross_compiling" = yes; then
12127 echo $ac_n "cross compiling; assumed OK... $ac_c"
12129 cat >conftest.$ac_ext <<_ACEOF
12132 cat confdefs.h >>conftest.$ac_ext
12133 cat >>conftest.$ac_ext <<_ACEOF
12134 /* end confdefs.h. */
12137 #include <stdlib.h>
12138 #include <string.h>
12142 my_strdup (char *str)
12148 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
12149 strcpy (new_str, str);
12157 int main (int argc, char *argv[])
12159 int major, minor, micro;
12162 /* This hangs on some systems (?)
12163 system ("touch conf.sdltest");
12165 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
12167 /* HP/UX 9 (%@#!) writes to sscanf strings */
12168 tmp_version = my_strdup("$min_sdl_version");
12169 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12170 printf("%s, bad version string\n", "$min_sdl_version");
12174 if (($sdl_major_version > major) ||
12175 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
12176 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
12182 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
12183 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
12184 printf("*** best to upgrade to the required version.\n");
12185 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
12186 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
12187 printf("*** config.cache before re-running configure\n");
12194 rm -f conftest$ac_exeext
12195 if { (ac_try="$ac_link"
12196 case "(($ac_try" in
12197 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12198 *) ac_try_echo
=$ac_try;;
12200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12201 (eval "$ac_link") 2>&5
12203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12204 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12205 { (case "(($ac_try" in
12206 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12207 *) ac_try_echo=$ac_try;;
12209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12210 (eval "$ac_try") 2>&5
12212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12213 (exit $ac_status); }; }; then
12216 echo "$as_me: program exited with status $ac_status" >&5
12217 echo "$as_me: failed program was:" >&5
12218 sed 's/^/| /' conftest.$ac_ext >&5
12220 ( exit $ac_status )
12223 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12227 CFLAGS="$ac_save_CFLAGS"
12228 CXXFLAGS="$ac_save_CXXFLAGS"
12229 LIBS="$ac_save_LIBS"
12232 if test "x$no_sdl" = x ; then
12233 { echo "$as_me:$LINENO: result: yes" >&5
12234 echo "${ECHO_T}yes" >&6; }
12237 { echo "$as_me:$LINENO: result: no" >&5
12238 echo "${ECHO_T}no" >&6; }
12239 if test "$SDL_CONFIG" = "no" ; then
12240 echo "*** The sdl-config script installed by SDL could not be found"
12241 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
12242 echo "*** your path, or set the SDL_CONFIG environment variable to the"
12243 echo "*** full path to sdl-config."
12245 if test -f conf.sdltest ; then
12248 echo "*** Could not run SDL test program, checking why..."
12249 CFLAGS="$CFLAGS $SDL_CFLAGS"
12250 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
12251 LIBS="$LIBS $SDL_LIBS"
12252 cat >conftest.$ac_ext <<_ACEOF
12255 cat confdefs.h >>conftest.$ac_ext
12256 cat >>conftest.$ac_ext <<_ACEOF
12257 /* end confdefs.h. */
12262 int main(int argc, char *argv[])
12265 #define main K_and_R_C_main
12275 rm -f conftest.$ac_objext conftest$ac_exeext
12276 if { (ac_try="$ac_link"
12277 case "(($ac_try" in
12278 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12279 *) ac_try_echo
=$ac_try;;
12281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12282 (eval "$ac_link") 2>conftest.er1
12284 grep -v '^ *+' conftest.er1
>conftest.err
12286 cat conftest.err
>&5
12287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12288 (exit $ac_status); } && {
12289 test -z "$ac_c_werror_flag" ||
12290 test ! -s conftest.err
12291 } && test -s conftest
$ac_exeext &&
12292 $as_test_x conftest
$ac_exeext; then
12293 echo "*** The test program compiled, but did not run. This usually means"
12294 echo "*** that the run-time linker is not finding SDL or finding the wrong"
12295 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
12296 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12297 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12298 echo "*** is required on your system"
12300 echo "*** If you have an old version installed, it is best to remove it, although"
12301 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12303 echo "$as_me: failed program was:" >&5
12304 sed 's/^/| /' conftest.
$ac_ext >&5
12306 echo "*** The test program failed to compile or link. See the file config.log for the"
12307 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
12308 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
12309 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
12312 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12313 conftest
$ac_exeext conftest.
$ac_ext
12314 CFLAGS
="$ac_save_CFLAGS"
12315 CXXFLAGS
="$ac_save_CXXFLAGS"
12316 LIBS
="$ac_save_LIBS"
12328 if test "x-$have_sdl" != "x-yes" ; then
12330 if test "x-$sdl_hidd" != "x-auto" ; then
12331 { { echo "$as_me:$LINENO: error: SDL libs/headers not found, cannot build SDL hidd as requested" >&5
12332 echo "$as_me: error: SDL libs/headers not found, cannot build SDL hidd as requested" >&2;}
12333 { (exit 1); exit 1; }; }
12337 sdl_hidd_target
=kernel-hidd-sdl
12338 aros_host_sdl_cflags
=SDL_CFLAGS
12339 aros_host_sdl_libs
=SDL_LIBS
12346 { echo "$as_me:$LINENO: checking if building of dbus.library is enabled" >&5
12347 echo $ECHO_N "checking if building of dbus.library is enabled... $ECHO_C" >&6; }
12348 # Check whether --enable-dbus was given.
12349 if test "${enable_dbus+set}" = set; then
12350 enableval
=$enable_dbus; dbus
="yes"
12355 if test "$dbus" = "yes" ; then
12357 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
12358 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
12359 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
12360 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
12364 { echo "$as_me:$LINENO: result: $dbus" >&5
12365 echo "${ECHO_T}$dbus" >&6; }
12460 # Native version related
12464 # Palm native version related
12467 # Unix/Hosted version related
12483 # Collect-aros stuff: "-ius" to ignore undefined symbols
12486 # C compiler related
12489 case "$aros_flavour" in
12490 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
12491 aros_flavour
="emulation" ;;
12492 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
12493 aros_flavour
="emulation" ;;
12494 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
12495 aros_flavour
="standalone";;
12496 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
12497 aros_flavour
="native" ;;
12498 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
12499 aros_flavour
="native" ;;
12500 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
12501 aros_flavour
="linklib" ;;
12502 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
12503 aros_flavour
="palmnative" ;;
12504 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
12505 aros_flavour
="mac68knative" ;;
12506 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
12507 aros_flavour
="ppcnative" ;;
12510 if test ! -d ${aros_inc_dir} ; then
12511 ${MKDIR} ${aros_inc_dir}
12513 if test ! -d ${aros_geninc_dir} ; then
12514 ${MKDIR} ${aros_geninc_dir}
12516 if test ! -d ${aros_hostcfg_dir} ; then
12517 ${MKDIR} ${aros_hostcfg_dir}
12519 if test ! -d ${aros_targetcfg_dir} ; then
12520 ${MKDIR} ${aros_targetcfg_dir}
12522 if test ! -d ${aros_tools_dir} ; then
12523 ${MKDIR} ${aros_tools_dir}
12525 if test ! -d ${aros_scripts_dir} ; then
12526 ${MKDIR} ${aros_scripts_dir}
12529 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
12532 ac_config_commands
="$ac_config_commands compiler_executable"
12534 ac_config_commands
="$ac_config_commands genshared_executable"
12536 ac_config_commands
="$ac_config_commands genmf_executable"
12538 ac_config_commands
="$ac_config_commands adflib_myaros.conf_executable"
12541 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"
12544 cat >confcache
<<\_ACEOF
12545 # This file is a shell script that caches the results of configure
12546 # tests run on this system so they can be shared between configure
12547 # scripts and configure runs, see configure's option --config-cache.
12548 # It is not useful on other systems. If it contains results you don't
12549 # want to keep, you may remove or edit it.
12551 # config.status only pays attention to the cache file if you give it
12552 # the --recheck option to rerun configure.
12554 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12555 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12556 # following values.
12560 # The following way of writing the cache mishandles newlines in values,
12561 # but we know of no workaround that is simple, portable, and efficient.
12562 # So, we kill variables containing newlines.
12563 # Ultrix sh set writes to stderr and can't be redirected directly,
12564 # and sets the high bit in the cache file unless we assign to the vars.
12566 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12567 eval ac_val
=\$
$ac_var
12571 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12572 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12575 _ | IFS | as_nl
) ;; #(
12576 *) $as_unset $ac_var ;;
12582 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12583 *${as_nl}ac_space
=\
*)
12584 # `set' does not quote correctly, so add quotes (double-quote
12585 # substitution turns \\\\ into \\, and sed turns \\ into \).
12588 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12591 # `set' quotes correctly as required by POSIX, so do not add quotes.
12592 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12601 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12603 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12605 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12606 if test -w "$cache_file"; then
12607 test "x$cache_file" != "x/dev/null" &&
12608 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12609 echo "$as_me: updating cache $cache_file" >&6;}
12610 cat confcache
>$cache_file
12612 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12613 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12618 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12619 # Let make expand exec_prefix.
12620 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12622 DEFS
=-DHAVE_CONFIG_H
12626 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12627 # 1. Remove the extension, and $U if already installed.
12628 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12629 ac_i
=`echo "$ac_i" | sed "$ac_script"`
12630 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12631 # will be set to the directory where LIBOBJS objects are built.
12632 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12633 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
12635 LIBOBJS
=$ac_libobjs
12637 LTLIBOBJS
=$ac_ltlibobjs
12641 : ${CONFIG_STATUS=./config.status}
12642 ac_clean_files_save
=$ac_clean_files
12643 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12644 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12645 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12646 cat >$CONFIG_STATUS <<_ACEOF
12648 # Generated by $as_me.
12649 # Run this file to recreate the current configuration.
12650 # Compiler output produced by configure, useful for debugging
12651 # configure, is in config.log if it exists.
12654 ac_cs_recheck=false
12656 SHELL=\${CONFIG_SHELL-$SHELL}
12659 cat >>$CONFIG_STATUS <<\_ACEOF
12660 ## --------------------- ##
12661 ## M4sh Initialization. ##
12662 ## --------------------- ##
12664 # Be more Bourne compatible
12665 DUALCASE
=1; export DUALCASE
# for MKS sh
12666 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
12669 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12670 # is contrary to our usage. Disable this feature.
12671 alias -g '${1+"$@"}'='"$@"'
12672 setopt NO_GLOB_SUBST
12674 case `(set -o) 2>/dev/null` in
12675 *posix
*) set -o posix
;;
12684 # Avoid depending upon Character Ranges.
12685 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12686 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12687 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12688 as_cr_digits
='0123456789'
12689 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12691 # The user is always right.
12692 if test "${PATH_SEPARATOR+set}" != set; then
12693 echo "#! /bin/sh" >conf$$.sh
12694 echo "exit 0" >>conf$$.sh
12696 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12704 # Support unset when possible.
12705 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
12713 # We need space, tab and new line, in precisely that order. Quoting is
12714 # there to prevent editors from complaining about space-tab.
12715 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12716 # splitting by setting IFS to empty value.)
12721 # Find who we are. Look in the path if we contain no directory separator.
12723 *[\\/]* ) as_myself
=$0 ;;
12724 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12725 for as_dir
in $PATH
12728 test -z "$as_dir" && as_dir
=.
12729 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
12735 # We did not find ourselves, most probably we were run as `sh COMMAND'
12736 # in which case we are not to be found in the path.
12737 if test "x$as_myself" = x
; then
12740 if test ! -f "$as_myself"; then
12741 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12742 { (exit 1); exit 1; }
12745 # Work around bugs in pre-3.0 UWIN ksh.
12746 for as_var
in ENV MAIL MAILPATH
12747 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
12755 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12756 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12757 LC_TELEPHONE LC_TIME
12759 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12760 eval $as_var=C
; export $as_var
12762 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
12766 # Required to use basename.
12767 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12768 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12774 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12775 as_basename
=basename
12781 # Name of the executable.
12782 as_me
=`$as_basename -- "$0" ||
12783 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12784 X"$0" : 'X\(//\)$' \| \
12785 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12787 sed '/^.*\/\([^/][^/]*\)\/*$/{
12806 as_lineno_1
=$LINENO
12807 as_lineno_2
=$LINENO
12808 test "x$as_lineno_1" != "x$as_lineno_2" &&
12809 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
12811 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12812 # uniformly replaced by the line number. The first 'sed' inserts a
12813 # line-number line after each line using $LINENO; the second 'sed'
12814 # does the real work. The second script uses 'N' to pair each
12815 # line-number line with the line containing $LINENO, and appends
12816 # trailing '-' during substitution so that $LINENO is not a special
12817 # case at line end.
12818 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12819 # scripts with optimization help from Paolo Bonzini. Blame Lee
12820 # E. McMahon (1931-1989) for sed's syntax. :-)
12832 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
12835 ' >$as_me.lineno
&&
12836 chmod +x
"$as_me.lineno" ||
12837 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
12838 { (exit 1); exit 1; }; }
12840 # Don't try to exec as it changes $[0], causing all sort of problems
12841 # (the dirname of $[0] is not the place where we might find the
12842 # original and so on. Autoconf is especially sensitive to this).
12843 .
"./$as_me.lineno"
12844 # Exit status is that of the last command.
12849 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12855 ECHO_C
= ECHO_N
= ECHO_T
=
12856 case `echo -n x` in
12858 case `echo 'x\c'` in
12859 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12866 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12867 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12873 rm -f conf$$ conf$$.exe conf$$.
file
12874 if test -d conf$$.dir
; then
12875 rm -f conf$$.dir
/conf$$.
file
12881 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12883 # ... but there are two gotchas:
12884 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12885 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12886 # In both cases, we have to default to `cp -p'.
12887 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12889 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12894 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12895 rmdir conf$$.dir
2>/dev
/null
12897 if mkdir
-p .
2>/dev
/null
; then
12900 test -d .
/-p && rmdir .
/-p
12904 if test -x / >/dev
/null
2>&1; then
12905 as_test_x
='test -x'
12907 if ls -dL / >/dev
/null
2>&1; then
12914 if test -d "$1"; then
12920 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
12921 ???[sx]*):;;*)false;;esac;fi
12925 as_executable_p
=$as_test_x
12927 # Sed expression to map a string onto a valid CPP name.
12928 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12930 # Sed expression to map a string onto a valid variable name.
12931 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12936 # Save the log message, to keep $[0] and so on meaningful, and to
12937 # report actual input values of CONFIG_FILES etc. instead of their
12938 # values after options handling.
12940 This file was extended by $as_me, which was
12941 generated by GNU Autoconf 2.61. Invocation command line was
12943 CONFIG_FILES = $CONFIG_FILES
12944 CONFIG_HEADERS = $CONFIG_HEADERS
12945 CONFIG_LINKS = $CONFIG_LINKS
12946 CONFIG_COMMANDS = $CONFIG_COMMANDS
12949 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12954 cat >>$CONFIG_STATUS <<_ACEOF
12955 # Files that config.status was made for.
12956 config_files="$ac_config_files"
12957 config_headers="$ac_config_headers"
12958 config_commands="$ac_config_commands"
12962 cat >>$CONFIG_STATUS <<\_ACEOF
12964 \`$as_me' instantiates files from templates according to the
12965 current configuration.
12967 Usage: $0 [OPTIONS] [FILE]...
12969 -h, --help print this help, then exit
12970 -V, --version print version number and configuration settings, then exit
12971 -q, --quiet do not print progress messages
12972 -d, --debug don't remove temporary files
12973 --recheck update $as_me by reconfiguring in the same conditions
12974 --file=FILE[:TEMPLATE]
12975 instantiate the configuration file FILE
12976 --header=FILE[:TEMPLATE]
12977 instantiate the configuration header FILE
12979 Configuration files:
12982 Configuration headers:
12985 Configuration commands:
12988 Report bugs to <bug-autoconf@gnu.org>."
12991 cat >>$CONFIG_STATUS <<_ACEOF
12994 configured by $0, generated by GNU Autoconf 2.61,
12995 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
12997 Copyright (C) 2006 Free Software Foundation, Inc.
12998 This config.status script is free software; the Free Software Foundation
12999 gives unlimited permission to copy, distribute and modify it."
13005 cat >>$CONFIG_STATUS <<\_ACEOF
13006 # If no file are specified by the user, then we need to provide default
13007 # value. By we need to know if files were specified by the user.
13013 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13014 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13025 # Handling of the options.
13026 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13028 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13029 echo "$ac_cs_version"; exit ;;
13030 --debug |
--debu |
--deb |
--de |
--d |
-d )
13032 --file |
--fil |
--fi |
--f )
13034 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
13035 ac_need_defaults
=false
;;
13036 --header |
--heade |
--head |
--hea )
13038 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
13039 ac_need_defaults
=false
;;
13041 # Conflict between --help and --header
13042 { echo "$as_me: error: ambiguous option: $1
13043 Try \`$0 --help' for more information." >&2
13044 { (exit 1); exit 1; }; };;
13045 --help |
--hel |
-h )
13046 echo "$ac_cs_usage"; exit ;;
13047 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13048 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13051 # This is an error.
13052 -*) { echo "$as_me: error: unrecognized option: $1
13053 Try \`$0 --help' for more information." >&2
13054 { (exit 1); exit 1; }; } ;;
13056 *) ac_config_targets
="$ac_config_targets $1"
13057 ac_need_defaults
=false
;;
13063 ac_configure_extra_args
=
13065 if $ac_cs_silent; then
13067 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13071 cat >>$CONFIG_STATUS <<_ACEOF
13072 if \$ac_cs_recheck; then
13073 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13074 CONFIG_SHELL=$SHELL
13075 export CONFIG_SHELL
13076 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13080 cat >>$CONFIG_STATUS <<\_ACEOF
13084 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13085 ## Running $as_me. ##
13091 cat >>$CONFIG_STATUS <<_ACEOF
13096 aros_tools_dir=${aros_tools_dir}
13097 aros_target_cpu=${aros_target_cpu}
13098 aros_target_arch=${aros_target_arch}
13099 aros_target_suffix=${aros_target_suffix}
13100 aros_target_nm_ln=${aros_target_nm_ln}
13101 aros_target_as_ln=${aros_target_as_ln}
13102 aros_target_ar_ln=${aros_target_ar_ln}
13103 aros_target_ranlib_ln=${aros_target_ranlib_ln}
13104 aros_target_objdump_ln=${aros_target_objdump_ln}
13105 aros_target_objcopy_ln=${aros_target_objcopy_ln}
13106 aros_target_strip_ln=${aros_target_strip_ln}
13109 aros_scripts_dir=${aros_scripts_dir}
13111 aros_tools_dir=${aros_tools_dir}
13116 cat >>$CONFIG_STATUS <<\_ACEOF
13118 # Handling of arguments.
13119 for ac_config_target
in $ac_config_targets
13121 case $ac_config_target in
13122 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
13123 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
13124 "genshared_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genshared_executable" ;;
13125 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
13126 "adflib_myaros.conf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS adflib_myaros.conf_executable" ;;
13127 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13128 "rom/mmakefile") CONFIG_FILES
="$CONFIG_FILES rom/mmakefile" ;;
13129 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
13130 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
13131 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
13132 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
13133 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
13134 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
13135 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
13136 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
13137 "${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" ;;
13138 "${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" ;;
13139 "${aros_scripts_dir}/genshared") CONFIG_FILES
="$CONFIG_FILES ${aros_scripts_dir}/genshared:compiler/c_lib/source/lib_source/genshared.in" ;;
13140 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
13141 "tools/adflib/myconf.aros") CONFIG_FILES
="$CONFIG_FILES tools/adflib/myconf.aros" ;;
13142 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
13144 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13145 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13146 { (exit 1); exit 1; }; };;
13151 # If the user did not use the arguments to specify the items to instantiate,
13152 # then the envvar interface is used. Set only those that are not.
13153 # We use the long form for the default assignment because of an extremely
13154 # bizarre bug on SunOS 4.1.3.
13155 if $ac_need_defaults; then
13156 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13157 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13158 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13161 # Have a temporary directory for convenience. Make it in the build tree
13162 # simply because there is no reason against having it here, and in addition,
13163 # creating and moving files from /tmp can sometimes cause problems.
13164 # Hook for its removal unless debugging.
13165 # Note that there is a small window in which the directory will not be cleaned:
13166 # after its creation but before its name has been assigned to `$tmp'.
13170 trap 'exit_status=$?
13171 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13173 trap '{ (exit 1); exit 1; }' 1 2 13 15
13175 # Create a (secure) tmp directory for tmp files.
13178 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13179 test -n "$tmp" && test -d "$tmp"
13182 tmp
=.
/conf$$
-$RANDOM
13183 (umask 077 && mkdir
"$tmp")
13186 echo "$me: cannot create a temporary directory in ." >&2
13187 { (exit 1); exit 1; }
13191 # Set up the sed scripts for CONFIG_FILES section.
13194 # No need to generate the scripts if there are no CONFIG_FILES.
13195 # This happens for instance when ./config.status config.h
13196 if test -n "$CONFIG_FILES"; then
13203 for ac_last_try
in false false false false false
:; do
13204 cat >conf$
$subs.
sed <<_ACEOF
13205 SHELL!$SHELL$ac_delim
13206 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
13207 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
13208 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
13209 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
13210 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
13211 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
13212 exec_prefix!$exec_prefix$ac_delim
13213 prefix!$prefix$ac_delim
13214 program_transform_name!$program_transform_name$ac_delim
13215 bindir!$bindir$ac_delim
13216 sbindir!$sbindir$ac_delim
13217 libexecdir!$libexecdir$ac_delim
13218 datarootdir!$datarootdir$ac_delim
13219 datadir!$datadir$ac_delim
13220 sysconfdir!$sysconfdir$ac_delim
13221 sharedstatedir!$sharedstatedir$ac_delim
13222 localstatedir!$localstatedir$ac_delim
13223 includedir!$includedir$ac_delim
13224 oldincludedir!$oldincludedir$ac_delim
13225 docdir!$docdir$ac_delim
13226 infodir!$infodir$ac_delim
13227 htmldir!$htmldir$ac_delim
13228 dvidir!$dvidir$ac_delim
13229 pdfdir!$pdfdir$ac_delim
13230 psdir!$psdir$ac_delim
13231 libdir!$libdir$ac_delim
13232 localedir!$localedir$ac_delim
13233 mandir!$mandir$ac_delim
13234 DEFS!$DEFS$ac_delim
13235 ECHO_C!$ECHO_C$ac_delim
13236 ECHO_N!$ECHO_N$ac_delim
13237 ECHO_T!$ECHO_T$ac_delim
13238 LIBS!$LIBS$ac_delim
13239 build_alias!$build_alias$ac_delim
13240 host_alias!$host_alias$ac_delim
13241 target_alias!$target_alias$ac_delim
13242 build!$build$ac_delim
13243 build_cpu!$build_cpu$ac_delim
13244 build_vendor!$build_vendor$ac_delim
13245 build_os!$build_os$ac_delim
13246 host!$host$ac_delim
13247 host_cpu!$host_cpu$ac_delim
13248 host_vendor!$host_vendor$ac_delim
13249 host_os!$host_os$ac_delim
13251 CFLAGS!$CFLAGS$ac_delim
13252 LDFLAGS!$LDFLAGS$ac_delim
13253 CPPFLAGS!$CPPFLAGS$ac_delim
13254 ac_ct_CC!$ac_ct_CC$ac_delim
13255 EXEEXT!$EXEEXT$ac_delim
13256 OBJEXT!$OBJEXT$ac_delim
13259 MMAKE!$MMAKE$ac_delim
13260 aros_host_ld!$aros_host_ld$ac_delim
13261 aros_host_aclocal!$aros_host_aclocal$ac_delim
13262 aros_host_autoconf!$aros_host_autoconf$ac_delim
13263 aros_host_autoheader!$aros_host_autoheader$ac_delim
13264 aros_host_automake!$aros_host_automake$ac_delim
13265 aros_host_ar!$aros_host_ar$ac_delim
13266 aros_host_ranlib!$aros_host_ranlib$ac_delim
13267 aros_host_strip!$aros_host_strip$ac_delim
13271 ECHO!$ECHO$ac_delim
13272 MKDIR!$MKDIR$ac_delim
13273 TOUCH!$TOUCH$ac_delim
13274 SORT!$SORT$ac_delim
13275 UNIQ!$UNIQ$ac_delim
13278 BISON!$BISON$ac_delim
13279 FLEX!$FLEX$ac_delim
13280 PNGTOPNM!$PNGTOPNM$ac_delim
13281 PPMTOILBM!$PPMTOILBM$ac_delim
13283 CHMOD!$CHMOD$ac_delim
13284 PYTHON!$PYTHON$ac_delim
13285 PYTHON_VERSION!$PYTHON_VERSION$ac_delim
13286 PYTHON_PREFIX!$PYTHON_PREFIX$ac_delim
13287 PYTHON_EXEC_PREFIX!$PYTHON_EXEC_PREFIX$ac_delim
13288 PYTHON_PLATFORM!$PYTHON_PLATFORM$ac_delim
13289 pythondir!$pythondir$ac_delim
13290 pkgpythondir!$pkgpythondir$ac_delim
13291 pyexecdir!$pyexecdir$ac_delim
13292 pkgpyexecdir!$pkgpyexecdir$ac_delim
13295 TEST!$TEST$ac_delim
13297 GREP!$GREP$ac_delim
13298 EGREP!$EGREP$ac_delim
13299 LIBOBJS!$LIBOBJS$ac_delim
13300 DISTCC!$DISTCC$ac_delim
13301 CCACHE!$CCACHE$ac_delim
13304 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
13306 elif $ac_last_try; then
13307 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13308 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13309 { (exit 1); exit 1; }; }
13311 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
13315 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13316 if test -n "$ac_eof"; then
13317 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
13318 ac_eof
=`expr $ac_eof + 1`
13321 cat >>$CONFIG_STATUS <<_ACEOF
13322 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
13323 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13326 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13327 s/^/s,@/; s/!/@,|#_!!_#|/
13330 s/'"$ac_delim"'$/,g/; t
13332 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13333 ' >>$CONFIG_STATUS <conf$
$subs.
sed
13334 rm -f conf$
$subs.
sed
13335 cat >>$CONFIG_STATUS <<_ACEOF
13341 for ac_last_try
in false false false false false
:; do
13342 cat >conf$
$subs.
sed <<_ACEOF
13343 LIBLZO!$LIBLZO$ac_delim
13344 aros_kernel_cc!$aros_kernel_cc$ac_delim
13345 aros_target_cc!$aros_target_cc$ac_delim
13346 aros_target_ld!$aros_target_ld$ac_delim
13347 aros_target_as_ln!$aros_target_as_ln$ac_delim
13348 aros_kernel_ld!$aros_kernel_ld$ac_delim
13349 aros_target_ar_ln!$aros_target_ar_ln$ac_delim
13350 aros_target_nm_ln!$aros_target_nm_ln$ac_delim
13351 aros_target_objcopy_ln!$aros_target_objcopy_ln$ac_delim
13352 aros_target_objdump_ln!$aros_target_objdump_ln$ac_delim
13353 aros_target_ranlib_ln!$aros_target_ranlib_ln$ac_delim
13354 aros_target_strip_ln!$aros_target_strip_ln$ac_delim
13355 aros_target_nostdinc_cflags!$aros_target_nostdinc_cflags$ac_delim
13356 aros_target_nostartup_ldflags!$aros_target_nostartup_ldflags$ac_delim
13357 aros_target_nix_ldflags!$aros_target_nix_ldflags$ac_delim
13358 aros_target_detach_ldflags!$aros_target_detach_ldflags$ac_delim
13359 aros_target_nostdlib_ldflags!$aros_target_nostdlib_ldflags$ac_delim
13360 aros_cflags_iquote!$aros_cflags_iquote$ac_delim
13361 aros_cflags_iquote_end!$aros_cflags_iquote_end$ac_delim
13362 XMKMF!$XMKMF$ac_delim
13363 SDL_CONFIG!$SDL_CONFIG$ac_delim
13364 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
13365 SDL_LIBS!$SDL_LIBS$ac_delim
13366 aros_arch!$aros_arch$ac_delim
13367 aros_cpu!$aros_cpu$ac_delim
13368 aros_flavour!$aros_flavour$ac_delim
13369 aros_flavour_uc!$aros_flavour_uc$ac_delim
13370 AROS_BUILDDIR!$AROS_BUILDDIR$ac_delim
13371 AROS_SRCDIR!$AROS_SRCDIR$ac_delim
13372 AROS_PORTSSRCDIR!$AROS_PORTSSRCDIR$ac_delim
13373 aros_cc_pre!$aros_cc_pre$ac_delim
13374 aros_host_arch!$aros_host_arch$ac_delim
13375 aros_host_cpu!$aros_host_cpu$ac_delim
13376 aros_host_cc!$aros_host_cc$ac_delim
13377 aros_host_make!$aros_host_make$ac_delim
13378 aros_host_cflags!$aros_host_cflags$ac_delim
13379 aros_host_ldflags!$aros_host_ldflags$ac_delim
13380 aros_host_debug!$aros_host_debug$ac_delim
13381 aros_host_mkdep!$aros_host_mkdep$ac_delim
13382 aros_host_mkargs!$aros_host_mkargs$ac_delim
13383 aros_host_exe_suffix!$aros_host_exe_suffix$ac_delim
13384 aros_host_lib_suffix!$aros_host_lib_suffix$ac_delim
13385 aros_tools_dir!$aros_tools_dir$ac_delim
13386 aros_target_guitheme!$aros_target_guitheme$ac_delim
13387 aros_target_bootloader!$aros_target_bootloader$ac_delim
13388 aros_target_arch!$aros_target_arch$ac_delim
13389 aros_target_cpu!$aros_target_cpu$ac_delim
13390 aros_target_variant!$aros_target_variant$ac_delim
13391 aros_target_suffix!$aros_target_suffix$ac_delim
13392 aros_target_incl!$aros_target_incl$ac_delim
13393 aros_target_ar!$aros_target_ar$ac_delim
13394 aros_target_ranlib!$aros_target_ranlib$ac_delim
13395 aros_kernel_nm!$aros_kernel_nm$ac_delim
13396 orig_target_cc!$orig_target_cc$ac_delim
13397 aros_target_as!$aros_target_as$ac_delim
13398 orig_target_ld!$orig_target_ld$ac_delim
13399 aros_target_cc_includes!$aros_target_cc_includes$ac_delim
13400 aros_target_cc_path!$aros_target_cc_path$ac_delim
13401 aros_target_objdump!$aros_target_objdump$ac_delim
13402 aros_target_objcopy!$aros_target_objcopy$ac_delim
13403 aros_target_strip!$aros_target_strip$ac_delim
13404 aros_target_nm!$aros_target_nm$ac_delim
13405 aros_shared_default!$aros_shared_default$ac_delim
13406 aros_shared_ld!$aros_shared_ld$ac_delim
13407 aros_object_format!$aros_object_format$ac_delim
13408 aros_compiler_libs!$aros_compiler_libs$ac_delim
13409 aros_config_cflags!$aros_config_cflags$ac_delim
13410 aros_config_aflags!$aros_config_aflags$ac_delim
13411 aros_config_ldflags!$aros_config_ldflags$ac_delim
13412 aros_shared_cflags!$aros_shared_cflags$ac_delim
13413 aros_shared_aflags!$aros_shared_aflags$ac_delim
13414 aros_shared_ldflags!$aros_shared_ldflags$ac_delim
13415 aros_kernel_cflags!$aros_kernel_cflags$ac_delim
13416 aros_kernel_ldflags!$aros_kernel_ldflags$ac_delim
13417 aros_debug_cflags!$aros_debug_cflags$ac_delim
13418 aros_debug_aflags!$aros_debug_aflags$ac_delim
13419 aros_debug_ldflags!$aros_debug_ldflags$ac_delim
13420 aros_target_genmap!$aros_target_genmap$ac_delim
13421 aros_target_strip_flags!$aros_target_strip_flags$ac_delim
13422 x11_hidd_target!$x11_hidd_target$ac_delim
13423 sdl_hidd_target!$sdl_hidd_target$ac_delim
13424 aros_default_wbwidth!$aros_default_wbwidth$ac_delim
13425 aros_default_wbheight!$aros_default_wbheight$ac_delim
13426 aros_default_wbdepth!$aros_default_wbdepth$ac_delim
13427 DO_XSHM_SUPPORT!$DO_XSHM_SUPPORT$ac_delim
13428 DO_VIDMODE_SUPPORT!$DO_VIDMODE_SUPPORT$ac_delim
13429 aros_host_x11_includes!$aros_host_x11_includes$ac_delim
13430 aros_host_x11_libdirs!$aros_host_x11_libdirs$ac_delim
13431 aros_host_sdl_cflags!$aros_host_sdl_cflags$ac_delim
13432 aros_host_sdl_libs!$aros_host_sdl_libs$ac_delim
13433 aros_bochs_hack!$aros_bochs_hack$ac_delim
13434 aros_serial_debug!$aros_serial_debug$ac_delim
13435 aros_palm_debug_hack!$aros_palm_debug_hack$ac_delim
13436 aros_nesting_supervisor!$aros_nesting_supervisor$ac_delim
13437 ENABLE_DBUS!$ENABLE_DBUS$ac_delim
13438 DBUS_CFLAGS!$DBUS_CFLAGS$ac_delim
13439 DBUS_LIBFLAGS!$DBUS_LIBFLAGS$ac_delim
13442 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
13444 elif $ac_last_try; then
13445 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13446 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13447 { (exit 1); exit 1; }; }
13449 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
13453 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13454 if test -n "$ac_eof"; then
13455 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
13456 ac_eof
=`expr $ac_eof + 1`
13459 cat >>$CONFIG_STATUS <<_ACEOF
13460 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
13461 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13464 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13465 s/^/s,@/; s/!/@,|#_!!_#|/
13468 s/'"$ac_delim"'$/,g/; t
13470 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13471 ' >>$CONFIG_STATUS <conf$
$subs.
sed
13472 rm -f conf$
$subs.
sed
13473 cat >>$CONFIG_STATUS <<_ACEOF
13479 for ac_last_try
in false false false false false
:; do
13480 cat >conf$
$subs.
sed <<_ACEOF
13481 KERNEL_DBUS_KOBJ!$KERNEL_DBUS_KOBJ$ac_delim
13482 KERNEL_DBUS_INCLUDES!$KERNEL_DBUS_INCLUDES$ac_delim
13483 aros_debug!$aros_debug$ac_delim
13484 aros_mungwall_debug!$aros_mungwall_debug$ac_delim
13485 aros_stack_debug!$aros_stack_debug$ac_delim
13486 aros_modules_debug!$aros_modules_debug$ac_delim
13487 ignore_undefined_symbols!$ignore_undefined_symbols$ac_delim
13488 gcc_target_cpu!$gcc_target_cpu$ac_delim
13489 LTLIBOBJS!$LTLIBOBJS$ac_delim
13492 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 9; then
13494 elif $ac_last_try; then
13495 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13496 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13497 { (exit 1); exit 1; }; }
13499 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
13503 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13504 if test -n "$ac_eof"; then
13505 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
13506 ac_eof
=`expr $ac_eof + 1`
13509 cat >>$CONFIG_STATUS <<_ACEOF
13510 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
13511 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
13514 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13515 s/^/s,@/; s/!/@,|#_!!_#|/
13518 s/'"$ac_delim"'$/,g/; t
13520 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13521 ' >>$CONFIG_STATUS <conf$
$subs.
sed
13522 rm -f conf$
$subs.
sed
13523 cat >>$CONFIG_STATUS <<_ACEOF
13530 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13531 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13532 # trailing colons and then remove the whole line if VPATH becomes empty
13533 # (actually we leave an empty line to preserve line numbers).
13534 if test "x$srcdir" = x.
; then
13535 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
13536 s/:*\$(srcdir):*/:/
13537 s/:*\${srcdir}:*/:/
13539 s/^\([^=]*=[ ]*\):*/\1/
13545 cat >>$CONFIG_STATUS <<\_ACEOF
13546 fi # test -n "$CONFIG_FILES"
13549 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
13552 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13554 case $ac_mode$ac_tag in
13556 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
13557 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
13558 { (exit 1); exit 1; }; };;
13559 :[FH
]-) ac_tag
=-:-;;
13560 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13577 -) ac_f
="$tmp/stdin";;
13578 *) # Look for the file first in the build tree, then in the source tree
13579 # (if the path is not absolute). The absolute path cannot be DOS-style,
13580 # because $ac_f cannot contain `:'.
13584 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13586 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
13587 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
13588 { (exit 1); exit 1; }; };;
13590 ac_file_inputs
="$ac_file_inputs $ac_f"
13593 # Let's still pretend it is `configure' which instantiates (i.e., don't
13594 # use $as_me), people would be surprised to read:
13595 # /* config.h. Generated by config.status. */
13596 configure_input
="Generated from "`IFS=:
13597 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
13598 if test x
"$ac_file" != x-
; then
13599 configure_input
="$ac_file. $configure_input"
13600 { echo "$as_me:$LINENO: creating $ac_file" >&5
13601 echo "$as_me: creating $ac_file" >&6;}
13605 *:-:* |
*:-) cat >"$tmp/stdin";;
13610 ac_dir
=`$as_dirname -- "$ac_file" ||
13611 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13612 X"$ac_file" : 'X\(//\)[^/]' \| \
13613 X"$ac_file" : 'X\(//\)$' \| \
13614 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13616 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13620 /^X\(\/\/\)[^/].*/{
13635 -*) as_dir
=.
/$as_dir;;
13637 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
13641 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
13642 *) as_qdir
=$as_dir;;
13644 as_dirs
="'$as_qdir' $as_dirs"
13645 as_dir
=`$as_dirname -- "$as_dir" ||
13646 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13647 X"$as_dir" : 'X\(//\)[^/]' \| \
13648 X"$as_dir" : 'X\(//\)$' \| \
13649 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13651 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13655 /^X\(\/\/\)[^/].*/{
13668 test -d "$as_dir" && break
13670 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13671 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13672 echo "$as_me: error: cannot create directory $as_dir" >&2;}
13673 { (exit 1); exit 1; }; }; }
13677 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13679 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13680 # A ".." for each directory in $ac_dir_suffix.
13681 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
13682 case $ac_top_builddir_sub in
13683 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13684 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13687 ac_abs_top_builddir
=$ac_pwd
13688 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13689 # for backward compatibility:
13690 ac_top_builddir
=$ac_top_build_prefix
13693 .
) # We are building in place.
13695 ac_top_srcdir
=$ac_top_builddir_sub
13696 ac_abs_top_srcdir
=$ac_pwd ;;
13697 [\\/]* | ?
:[\\/]* ) # Absolute name.
13698 ac_srcdir
=$srcdir$ac_dir_suffix;
13699 ac_top_srcdir
=$srcdir
13700 ac_abs_top_srcdir
=$srcdir ;;
13701 *) # Relative name.
13702 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13703 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13704 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13706 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13717 cat >>$CONFIG_STATUS <<\_ACEOF
13718 # If the template does not know about datarootdir, expand it.
13719 # FIXME: This hack should be removed a few years after 2.60.
13720 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13722 case `sed -n '/datarootdir/ {
13731 ' $ac_file_inputs` in
13732 *datarootdir
*) ac_datarootdir_seen
=yes;;
13733 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13734 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13735 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13737 cat >>$CONFIG_STATUS <<_ACEOF
13738 ac_datarootdir_hack='
13739 s&@datadir@&$datadir&g
13740 s&@docdir@&$docdir&g
13741 s&@infodir@&$infodir&g
13742 s&@localedir@&$localedir&g
13743 s&@mandir@&$mandir&g
13744 s&\\\${datarootdir}&$datarootdir&g' ;;
13748 # Neutralize VPATH when `$srcdir' = `.'.
13749 # Shell code in configure.ac might set extrasub.
13750 # FIXME: do we really want to maintain this feature?
13751 cat >>$CONFIG_STATUS <<_ACEOF
13755 cat >>$CONFIG_STATUS <<\_ACEOF
13757 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13758 s
&@configure_input@
&$configure_input&;t t
13759 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13760 s
&@srcdir@
&$ac_srcdir&;t t
13761 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13762 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13763 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13764 s
&@builddir@
&$ac_builddir&;t t
13765 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13766 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13767 $ac_datarootdir_hack
13768 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" | sed -f "$tmp/subs-3.
sed" >$tmp/out
13770 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13771 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
13772 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
13773 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13774 which seems to be undefined. Please make sure it is defined." >&5
13775 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13776 which seems to be undefined. Please make sure it is defined." >&2;}
13780 -) cat "$tmp/out"; rm -f "$tmp/out";;
13781 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
13790 # Transform confdefs.h into a sed script `conftest.defines', that
13791 # substitutes the proper values into config.h.in to produce config.h.
13792 rm -f conftest.defines conftest.
tail
13793 # First, append a space to every undef/define line, to ease matching.
13794 echo 's/$/ /' >conftest.defines
13795 # Then, protect against being on the right side of a sed subst, or in
13796 # an unquoted here document, in config.status. If some macros were
13797 # called several times there might be several #defines for the same
13798 # symbol, which is useless. But do not sort them, since the last
13799 # AC_DEFINE must be honored.
13800 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
13801 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
13802 # NAME is the cpp macro being defined, VALUE is the value it is being given.
13803 # PARAMS is the parameter list in the macro definition--in most cases, it's
13804 # just an empty string.
13805 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
13806 ac_dB
='\\)[ (].*,\\1define\\2'
13814 s/^[ ]*#[ ]*define[ ][ ]*//
13819 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
13820 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
13821 ' >>conftest.defines
13823 # Remove the space that was appended to ease matching.
13824 # Then replace #undef with comments. This is necessary, for
13825 # example, in the case of _POSIX_SOURCE, which is predefined and required
13826 # on some systems where configure will not decide to define it.
13827 # (The regexp can be short, since the line contains either #define or #undef.)
13829 s,^[ #]*u.*,/* & */,' >>conftest.defines
13831 # Break up conftest.defines:
13832 ac_max_sed_lines
=50
13834 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
13835 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
13836 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
13838 ac_in
='$ac_file_inputs'
13839 ac_out
='"$tmp/out1"'
13840 ac_nxt
='"$tmp/out2"'
13844 # Write a here document:
13845 cat >>$CONFIG_STATUS <<_ACEOF
13846 # First, check the format of the line:
13847 cat >"\$tmp/defines.sed" <<\\CEOF
13848 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
13849 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
13853 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
13855 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
13856 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
13857 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
13858 grep . conftest.
tail >/dev
/null ||
break
13859 rm -f conftest.defines
13860 mv conftest.
tail conftest.defines
13862 rm -f conftest.defines conftest.
tail
13864 echo "ac_result=$ac_in" >>$CONFIG_STATUS
13865 cat >>$CONFIG_STATUS <<\_ACEOF
13866 if test x
"$ac_file" != x-
; then
13867 echo "/* $configure_input */" >"$tmp/config.h"
13868 cat "$ac_result" >>"$tmp/config.h"
13869 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
13870 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13871 echo "$as_me: $ac_file is unchanged" >&6;}
13874 mv "$tmp/config.h" $ac_file
13877 echo "/* $configure_input */"
13883 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
13884 echo "$as_me: executing $ac_file commands" >&6;}
13889 case $ac_file$ac_mode in
13890 "compiler_executable":C
)
13891 prefix
=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
13893 prefix
="${prefix}/${aros_target_cpu}-aros"
13894 prefix2
=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
13898 chmod a
+x
${prefix2}-gcc ${prefix2}-ld
13900 ln -sf ${prefix2}-gcc ${prefix}-gcc
13901 ln -sf ${prefix2}-ld ${prefix}-ld
13903 ln -sf $aros_target_as_ln ${prefix}-as
13904 ln -sf $aros_target_nm_ln ${prefix}-nm
13905 ln -sf $aros_target_ar_ln ${prefix}-ar
13906 ln -sf $aros_target_ranlib_ln ${prefix}-ranlib
13907 ln -sf $aros_target_objcopy_ln ${prefix}-objcopy
13908 ln -sf $aros_target_objdump_ln ${prefix}-objdump
13909 ln -sf $aros_target_strip_ln ${prefix}-strip
13911 ln -sf $aros_target_as_ln ${prefix2}-as
13912 ln -sf $aros_target_nm_ln ${prefix2}-nm
13913 ln -sf $aros_target_ar_ln ${prefix2}-ar
13914 ln -sf $aros_target_ranlib_ln ${prefix2}-ranlib
13915 ln -sf $aros_target_objcopy_ln ${prefix2}-objcopy
13916 ln -sf $aros_target_objdump_ln ${prefix2}-objdump
13917 ln -sf $aros_target_strip_ln ${prefix2}-strip
13919 "genshared_executable":C
) chmod a
+x
${aros_scripts_dir}/genshared
;;
13920 "genmf_executable":C
) chmod a
+x
${aros_tools_dir}/genmf.py
;;
13921 "adflib_myaros.conf_executable":C
) chmod a
+x tools
/adflib
/myconf.aros
13928 { (exit 0); exit 0; }
13930 chmod +x
$CONFIG_STATUS
13931 ac_clean_files
=$ac_clean_files_save
13934 # configure is writing to config.log, and then calls config.status.
13935 # config.status does its own redirection, appending to config.log.
13936 # Unfortunately, on DOS this fails, as config.log is still kept open
13937 # by configure, so config.status won't be able to write to it; its
13938 # output is simply discarded. So we exec the FD to /dev/null,
13939 # effectively closing config.log, so it can be properly (re)opened and
13940 # appended to by config.status. When coming back to configure, we
13941 # need to make the FD available again.
13942 if test "$no_create" != yes; then
13944 ac_config_status_args
=
13945 test "$silent" = yes &&
13946 ac_config_status_args
="$ac_config_status_args --quiet"
13948 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13950 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13951 # would make configure fail if this is the last instruction.
13952 $ac_cs_success ||
{ (exit 1); exit 1; }
13957 #XXX compatability...
13958 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
13960 if test -n "$aros_shared_cflags" ; then
13961 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
13962 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg