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
719 aros_target_objcopy_ln
720 aros_target_objdump_ln
721 aros_target_ranlib_ln
723 aros_target_nostdinc_cflags
724 aros_target_nostartup_ldflags
725 aros_target_nix_ldflags
726 aros_target_detach_ldflags
727 aros_target_nostdlib_ldflags
750 aros_target_bootloader
762 aros_target_cc_includes
783 aros_target_strip_flags
787 aros_default_wbheight
791 aros_host_x11_includes
792 aros_host_x11_libdirs
798 aros_nesting_supervisor
808 ignore_undefined_symbols
812 ac_precious_vars
='build_alias
824 # Initialize some variables set by options.
826 ac_init_version
=false
827 # The variables have the same names as the options, with
828 # dashes changed to underlines.
836 program_transform_name
=s
,x
,x
,
844 # Installation directory options.
845 # These are left unexpanded so users can "make install exec_prefix=/foo"
846 # and all the variables that are supposed to be based on exec_prefix
847 # by default will actually change.
848 # Use braces instead of parens because sh, perl, etc. also accept them.
849 # (The list follows the same order as the GNU Coding Standards.)
850 bindir
='${exec_prefix}/bin'
851 sbindir
='${exec_prefix}/sbin'
852 libexecdir
='${exec_prefix}/libexec'
853 datarootdir
='${prefix}/share'
854 datadir
='${datarootdir}'
855 sysconfdir
='${prefix}/etc'
856 sharedstatedir
='${prefix}/com'
857 localstatedir
='${prefix}/var'
858 includedir
='${prefix}/include'
859 oldincludedir
='/usr/include'
860 docdir
='${datarootdir}/doc/${PACKAGE}'
861 infodir
='${datarootdir}/info'
866 libdir
='${exec_prefix}/lib'
867 localedir
='${datarootdir}/locale'
868 mandir
='${datarootdir}/man'
874 # If the previous option needs an argument, assign it.
875 if test -n "$ac_prev"; then
876 eval $ac_prev=\
$ac_option
882 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
886 # Accept the important Cygnus configure options, so we can diagnose typos.
888 case $ac_dashdash$ac_option in
892 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
894 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
897 -build |
--build |
--buil |
--bui |
--bu)
898 ac_prev
=build_alias
;;
899 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
900 build_alias
=$ac_optarg ;;
902 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
903 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
904 ac_prev
=cache_file
;;
905 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
906 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
907 cache_file
=$ac_optarg ;;
910 cache_file
=config.cache
;;
912 -datadir |
--datadir |
--datadi |
--datad)
914 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
915 datadir
=$ac_optarg ;;
917 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
918 |
--dataroo |
--dataro |
--datar)
919 ac_prev
=datarootdir
;;
920 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
921 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
922 datarootdir
=$ac_optarg ;;
924 -disable-* |
--disable-*)
925 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
926 # Reject names that are not valid shell variable names.
927 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
928 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
929 { (exit 1); exit 1; }; }
930 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
931 eval enable_
$ac_feature=no
;;
933 -docdir |
--docdir |
--docdi |
--doc |
--do)
935 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
938 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
940 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
943 -enable-* |
--enable-*)
944 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
945 # Reject names that are not valid shell variable names.
946 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
947 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
948 { (exit 1); exit 1; }; }
949 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
950 eval enable_
$ac_feature=\
$ac_optarg ;;
952 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
953 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
954 |
--exec |
--exe |
--ex)
955 ac_prev
=exec_prefix
;;
956 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
957 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
958 |
--exec=* |
--exe=* |
--ex=*)
959 exec_prefix
=$ac_optarg ;;
961 -gas |
--gas |
--ga |
--g)
962 # Obsolete; use --with-gas.
965 -help |
--help |
--hel |
--he |
-h)
967 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
968 ac_init_help
=recursive
;;
969 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
970 ac_init_help
=short
;;
972 -host |
--host |
--hos |
--ho)
973 ac_prev
=host_alias
;;
974 -host=* |
--host=* |
--hos=* |
--ho=*)
975 host_alias
=$ac_optarg ;;
977 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
979 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
981 htmldir
=$ac_optarg ;;
983 -includedir |
--includedir |
--includedi |
--included |
--include \
984 |
--includ |
--inclu |
--incl |
--inc)
985 ac_prev
=includedir
;;
986 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
987 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
988 includedir
=$ac_optarg ;;
990 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
992 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
993 infodir
=$ac_optarg ;;
995 -libdir |
--libdir |
--libdi |
--libd)
997 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1000 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1001 |
--libexe |
--libex |
--libe)
1002 ac_prev
=libexecdir
;;
1003 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1004 |
--libexe=* |
--libex=* |
--libe=*)
1005 libexecdir
=$ac_optarg ;;
1007 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1008 ac_prev
=localedir
;;
1009 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1010 localedir
=$ac_optarg ;;
1012 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1013 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1014 ac_prev
=localstatedir
;;
1015 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1016 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1017 localstatedir
=$ac_optarg ;;
1019 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1021 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1022 mandir
=$ac_optarg ;;
1024 -nfp |
--nfp |
--nf)
1025 # Obsolete; use --without-fp.
1028 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1029 |
--no-cr |
--no-c |
-n)
1032 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1033 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1036 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1037 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1038 |
--oldin |
--oldi |
--old |
--ol |
--o)
1039 ac_prev
=oldincludedir
;;
1040 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1041 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1042 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1043 oldincludedir
=$ac_optarg ;;
1045 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1047 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1048 prefix
=$ac_optarg ;;
1050 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1051 |
--program-pre |
--program-pr |
--program-p)
1052 ac_prev
=program_prefix
;;
1053 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1054 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1055 program_prefix
=$ac_optarg ;;
1057 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1058 |
--program-suf |
--program-su |
--program-s)
1059 ac_prev
=program_suffix
;;
1060 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1061 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1062 program_suffix
=$ac_optarg ;;
1064 -program-transform-name |
--program-transform-name \
1065 |
--program-transform-nam |
--program-transform-na \
1066 |
--program-transform-n |
--program-transform- \
1067 |
--program-transform |
--program-transfor \
1068 |
--program-transfo |
--program-transf \
1069 |
--program-trans |
--program-tran \
1070 |
--progr-tra |
--program-tr |
--program-t)
1071 ac_prev
=program_transform_name
;;
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 program_transform_name
=$ac_optarg ;;
1081 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1083 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1084 pdfdir
=$ac_optarg ;;
1086 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1088 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1091 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1092 |
-silent |
--silent |
--silen |
--sile |
--sil)
1095 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1097 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1099 sbindir
=$ac_optarg ;;
1101 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1102 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1103 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1105 ac_prev
=sharedstatedir
;;
1106 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1107 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1108 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1110 sharedstatedir
=$ac_optarg ;;
1112 -site |
--site |
--sit)
1114 -site=* |
--site=* |
--sit=*)
1117 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1119 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1120 srcdir
=$ac_optarg ;;
1122 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1123 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1124 ac_prev
=sysconfdir
;;
1125 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1126 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1127 sysconfdir
=$ac_optarg ;;
1129 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1130 ac_prev
=target_alias
;;
1131 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1132 target_alias
=$ac_optarg ;;
1134 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1137 -version |
--version |
--versio |
--versi |
--vers |
-V)
1138 ac_init_version
=: ;;
1141 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1142 # Reject names that are not valid shell variable names.
1143 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1144 { echo "$as_me: error: invalid package name: $ac_package" >&2
1145 { (exit 1); exit 1; }; }
1146 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1147 eval with_
$ac_package=\
$ac_optarg ;;
1149 -without-* |
--without-*)
1150 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1151 # Reject names that are not valid shell variable names.
1152 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1153 { echo "$as_me: error: invalid package name: $ac_package" >&2
1154 { (exit 1); exit 1; }; }
1155 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1156 eval with_
$ac_package=no
;;
1159 # Obsolete; use --with-x.
1162 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1163 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1164 ac_prev
=x_includes
;;
1165 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1166 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1167 x_includes
=$ac_optarg ;;
1169 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1170 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1171 ac_prev
=x_libraries
;;
1172 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1173 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1174 x_libraries
=$ac_optarg ;;
1176 -*) { echo "$as_me: error: unrecognized option: $ac_option
1177 Try \`$0 --help' for more information." >&2
1178 { (exit 1); exit 1; }; }
1182 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1183 # Reject names that are not valid shell variable names.
1184 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1185 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1186 { (exit 1); exit 1; }; }
1187 eval $ac_envvar=\
$ac_optarg
1188 export $ac_envvar ;;
1191 # FIXME: should be removed in autoconf 3.0.
1192 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1193 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1194 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1195 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1201 if test -n "$ac_prev"; then
1202 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1203 { echo "$as_me: error: missing argument to $ac_option" >&2
1204 { (exit 1); exit 1; }; }
1207 # Be sure to have absolute directory names.
1208 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1209 datadir sysconfdir sharedstatedir localstatedir includedir \
1210 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1211 libdir localedir mandir
1213 eval ac_val
=\$
$ac_var
1215 [\\/$
]* | ?
:[\\/]* ) continue;;
1216 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1218 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1219 { (exit 1); exit 1; }; }
1222 # There might be people who depend on the old broken behavior: `$host'
1223 # used to hold the argument of --host etc.
1224 # FIXME: To remove some day.
1227 target
=$target_alias
1229 # FIXME: To remove some day.
1230 if test "x$host_alias" != x
; then
1231 if test "x$build_alias" = x
; then
1232 cross_compiling
=maybe
1233 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1234 If a cross compiler is detected then cross compile mode will be used." >&2
1235 elif test "x$build_alias" != "x$host_alias"; then
1241 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1243 test "$silent" = yes && exec 6>/dev
/null
1246 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1247 ac_ls_di
=`ls -di .` &&
1248 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1249 { echo "$as_me: error: Working directory cannot be determined" >&2
1250 { (exit 1); exit 1; }; }
1251 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1252 { echo "$as_me: error: pwd does not report name of working directory" >&2
1253 { (exit 1); exit 1; }; }
1256 # Find the source files, if location was not specified.
1257 if test -z "$srcdir"; then
1258 ac_srcdir_defaulted
=yes
1259 # Try the directory containing this script, then the parent directory.
1260 ac_confdir
=`$as_dirname -- "$0" ||
1261 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1262 X"$0" : 'X\(//\)[^/]' \| \
1263 X"$0" : 'X\(//\)$' \| \
1264 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1266 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1284 if test ! -r "$srcdir/$ac_unique_file"; then
1288 ac_srcdir_defaulted
=no
1290 if test ! -r "$srcdir/$ac_unique_file"; then
1291 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1292 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1293 { (exit 1); exit 1; }; }
1295 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1297 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1298 { (exit 1); exit 1; }; }
1300 # When building in place, set srcdir=.
1301 if test "$ac_abs_confdir" = "$ac_pwd"; then
1304 # Remove unnecessary trailing slashes from srcdir.
1305 # Double slashes in file names in object file debugging info
1306 # mess up M-x gdb in Emacs.
1308 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1310 for ac_var
in $ac_precious_vars; do
1311 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1312 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1313 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1314 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1318 # Report the --help message.
1320 if test "$ac_init_help" = "long"; then
1321 # Omit some internal or obsolete options to make the list less imposing.
1322 # This message is too long to be a string in the A/UX 3.1 sh.
1324 \`configure' configures this package to adapt to many kinds of systems.
1326 Usage: $0 [OPTION]... [VAR=VALUE]...
1328 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1329 VAR=VALUE. See below for descriptions of some of the useful variables.
1331 Defaults for the options are specified in brackets.
1334 -h, --help display this help and exit
1335 --help=short display options specific to this package
1336 --help=recursive display the short help of all the included packages
1337 -V, --version display version information and exit
1338 -q, --quiet, --silent do not print \`checking...' messages
1339 --cache-file=FILE cache test results in FILE [disabled]
1340 -C, --config-cache alias for \`--cache-file=config.cache'
1341 -n, --no-create do not create output files
1342 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1344 Installation directories:
1345 --prefix=PREFIX install architecture-independent files in PREFIX
1346 [$ac_default_prefix]
1347 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1350 By default, \`make install' will install all the files in
1351 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1352 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1353 for instance \`--prefix=\$HOME'.
1355 For better control, use the options below.
1357 Fine tuning of the installation directories:
1358 --bindir=DIR user executables [EPREFIX/bin]
1359 --sbindir=DIR system admin executables [EPREFIX/sbin]
1360 --libexecdir=DIR program executables [EPREFIX/libexec]
1361 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1362 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1363 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1364 --libdir=DIR object code libraries [EPREFIX/lib]
1365 --includedir=DIR C header files [PREFIX/include]
1366 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1367 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1368 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1369 --infodir=DIR info documentation [DATAROOTDIR/info]
1370 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1371 --mandir=DIR man documentation [DATAROOTDIR/man]
1372 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1373 --htmldir=DIR html documentation [DOCDIR]
1374 --dvidir=DIR dvi documentation [DOCDIR]
1375 --pdfdir=DIR pdf documentation [DOCDIR]
1376 --psdir=DIR ps documentation [DOCDIR]
1382 --x-includes=DIR X include files are
in DIR
1383 --x-libraries=DIR X library files are
in DIR
1386 --build=BUILD configure
for building on BUILD
[guessed
]
1387 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1391 if test -n "$ac_init_help"; then
1396 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1397 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1398 --enable-build-type=TYPE
1399 Select the build
type. Available types are
:
1400 personal
, nightly
, snapshot
, milestone
, release. Do
1401 NOT use this option unless you know what you are
1402 doing
! (default
=personal
)
1403 --enable-debug=list Enable different types of debug. Commas or
1404 whitespaces can be used to separate the items
in the
1405 list. Available types of debug are
: all
, none
,
1406 messages
, stack
, mungwall
, modules
, symbols. If no
1407 list is provided
then "all" is assumed.
1409 --enable-distcc Use distcc as a front end to the compiler
1411 --enable-ccache Use ccache as a front end to the compiler
1413 --enable-target-variant=NAME
1414 Enable a specific target variant
(default
=none
)
1415 --enable-bootloader=NAME
1416 Enable a specific bootloader
1417 --enable-includes=dir Alternative system include directory
1418 --enable-bochs-hack Enable hacks to
make BOCHS
(partly
) work
1420 --enable-palm-debug-hack
1421 Enable palm debug output hack
in palm native
1423 --enable-nesting-supervisor
1424 Enable nesting supervisor support
in unix
1426 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1427 --enable-x11-shm use X11 shared memory
(default
=auto
)
1428 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1429 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1430 --disable-sdltest Do not try to compile and run a
test SDL program
1431 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1434 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1435 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1436 --with-optimization=FLAGS
1437 Use optimization flags FLAGS
(default
=-O2).
1438 --with-resolution=XRESxYRESxDEPTH
1439 Default resolution of the initial WorkbenchScreen
1440 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1441 --with-x use the X Window System
1442 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1443 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1445 Some influential environment variables
:
1446 CC C compiler
command
1447 CFLAGS C compiler flags
1448 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1449 nonstandard directory
<lib dir
>
1450 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1451 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1452 you have headers
in a nonstandard directory
<include dir
>
1454 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1456 Use these variables to override the choices made by
`configure' or to help
1457 it to find libraries and programs with nonstandard names/locations.
1463 if test "$ac_init_help" = "recursive"; then
1464 # If there are subdirs, report their specific --help.
1465 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1466 test -d "$ac_dir" || continue
1470 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1472 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1473 # A ".." for each directory in $ac_dir_suffix.
1474 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1475 case $ac_top_builddir_sub in
1476 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1477 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1480 ac_abs_top_builddir=$ac_pwd
1481 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1482 # for backward compatibility:
1483 ac_top_builddir=$ac_top_build_prefix
1486 .) # We are building in place.
1488 ac_top_srcdir=$ac_top_builddir_sub
1489 ac_abs_top_srcdir=$ac_pwd ;;
1490 [\\/]* | ?:[\\/]* ) # Absolute name.
1491 ac_srcdir=$srcdir$ac_dir_suffix;
1492 ac_top_srcdir=$srcdir
1493 ac_abs_top_srcdir=$srcdir ;;
1495 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1496 ac_top_srcdir=$ac_top_build_prefix$srcdir
1497 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1499 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1501 cd "$ac_dir" || { ac_status=$?; continue; }
1502 # Check for guested configure.
1503 if test -f "$ac_srcdir/configure.gnu"; then
1505 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1506 elif test -f "$ac_srcdir/configure"; then
1508 $SHELL "$ac_srcdir/configure" --help=recursive
1510 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1512 cd "$ac_pwd" || { ac_status=$?; break; }
1516 test -n "$ac_init_help" && exit $ac_status
1517 if $ac_init_version; then
1520 generated by GNU Autoconf 2.61
1522 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1523 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1524 This configure script is free software; the Free Software Foundation
1525 gives unlimited permission to copy, distribute and modify it.
1529 cat >config.log <<_ACEOF
1530 This file contains any messages produced by compilers while
1531 running configure, to aid debugging if configure makes a mistake.
1533 It was created by $as_me, which was
1534 generated by GNU Autoconf 2.61. Invocation command line was
1546 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1547 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1548 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1549 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1550 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1552 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1553 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1555 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1556 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1557 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1558 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1559 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1560 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1561 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1569 test -z "$as_dir" && as_dir=.
1570 echo "PATH: $as_dir"
1586 # Keep a trace of the command line.
1587 # Strip out --no-create and --no-recursion so they do not pile up.
1588 # Strip out --silent because we don't want to record it for future runs.
1589 # Also quote any args containing shell meta-characters.
1590 # Make two passes to allow for proper duplicate-argument suppression.
1594 ac_must_keep_next=false
1600 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1601 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1602 | -silent | --silent | --silen | --sile | --sil)
1605 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1608 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1610 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1611 if test $ac_must_keep_next = true; then
1612 ac_must_keep_next=false # Got value, back to normal.
1615 *=* | --config-cache | -C | -disable-* | --disable-* \
1616 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1617 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1618 | -with-* | --with-* | -without-* | --without-* | --x)
1619 case "$ac_configure_args0 " in
1620 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1623 -* ) ac_must_keep_next=true ;;
1626 ac_configure_args="$ac_configure_args '$ac_arg'"
1631 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1632 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1634 # When interrupted or exit'd, cleanup temporary files, and complete
1635 # config.log. We remove comments because anyway the quotes in there
1636 # would cause problems or look ugly.
1637 # WARNING: Use '\'' to represent an apostrophe within the trap.
1638 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1639 trap 'exit_status=$?
1640 # Save into config.log some information that might help in debugging.
1645 ## ---------------- ##
1646 ## Cache variables. ##
1647 ## ---------------- ##
1650 # The following way of writing the cache mishandles newlines in values,
1652 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1653 eval ac_val=\$$ac_var
1657 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1658 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1661 _ | IFS | as_nl) ;; #(
1662 *) $as_unset $ac_var ;;
1667 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1668 *${as_nl}ac_space=\ *)
1670 "s/'\''/'\''\\\\'\'''\''/g;
1671 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1674 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1682 ## ----------------- ##
1683 ## Output variables. ##
1684 ## ----------------- ##
1687 for ac_var in $ac_subst_vars
1689 eval ac_val=\$$ac_var
1691 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1693 echo "$ac_var='\''$ac_val'\''"
1697 if test -n "$ac_subst_files"; then
1699 ## ------------------- ##
1700 ## File substitutions. ##
1701 ## ------------------- ##
1704 for ac_var in $ac_subst_files
1706 eval ac_val=\$$ac_var
1708 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1710 echo "$ac_var='\''$ac_val'\''"
1715 if test -s confdefs.h; then
1725 test "$ac_signal" != 0 &&
1726 echo "$as_me: caught signal $ac_signal"
1727 echo "$as_me: exit $exit_status"
1729 rm -f core *.core core.conftest.* &&
1730 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1733 for ac_signal in 1 2 13 15; do
1734 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1738 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1739 rm -f -r conftest* confdefs.h
1741 # Predefined preprocessor variables.
1743 cat >>confdefs.h <<_ACEOF
1744 #define PACKAGE_NAME "$PACKAGE_NAME"
1748 cat >>confdefs.h <<_ACEOF
1749 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1753 cat >>confdefs.h <<_ACEOF
1754 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1758 cat >>confdefs.h <<_ACEOF
1759 #define PACKAGE_STRING "$PACKAGE_STRING"
1763 cat >>confdefs.h <<_ACEOF
1764 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1768 # Let the site file select an alternate cache file if it wants to.
1769 # Prefer explicitly selected file to automatically selected ones.
1770 if test -n "$CONFIG_SITE"; then
1771 set x "$CONFIG_SITE"
1772 elif test "x$prefix" != xNONE; then
1773 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1775 set x "$ac_default_prefix/share/config.site" \
1776 "$ac_default_prefix/etc/config.site"
1781 if test -r "$ac_site_file"; then
1782 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1783 echo "$as_me: loading site script $ac_site_file" >&6;}
1784 sed 's/^/| /' "$ac_site_file" >&5
1789 if test -r "$cache_file"; then
1790 # Some versions of bash will fail to source /dev/null (special
1791 # files actually), so we avoid doing that.
1792 if test -f "$cache_file"; then
1793 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1794 echo "$as_me: loading cache $cache_file" >&6;}
1796 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1797 *) . "./$cache_file";;
1801 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1802 echo "$as_me: creating cache $cache_file" >&6;}
1806 # Check that the precious variables saved in the cache have kept the same
1808 ac_cache_corrupted=false
1809 for ac_var in $ac_precious_vars; do
1810 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1811 eval ac_new_set=\$ac_env_${ac_var}_set
1812 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1813 eval ac_new_val=\$ac_env_${ac_var}_value
1814 case $ac_old_set,$ac_new_set in
1816 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1817 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1818 ac_cache_corrupted=: ;;
1820 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1821 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1822 ac_cache_corrupted=: ;;
1825 if test "x$ac_old_val" != "x$ac_new_val"; then
1826 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1827 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1828 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1829 echo "$as_me: former value
: $ac_old_val" >&2;}
1830 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1831 echo "$as_me: current value
: $ac_new_val" >&2;}
1832 ac_cache_corrupted=:
1835 # Pass precious variables to config.status.
1836 if test "$ac_new_set" = set; then
1838 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1839 *) ac_arg=$ac_var=$ac_new_val ;;
1841 case " $ac_configure_args " in
1842 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1843 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1847 if $ac_cache_corrupted; then
1848 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1849 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1850 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1851 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1852 { (exit 1); exit 1; }; }
1872 ac_cpp='$CPP $CPPFLAGS'
1873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1880 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
1881 if test -f "$ac_dir/install-sh"; then
1883 ac_install_sh="$ac_aux_dir/install-sh -c"
1885 elif test -f "$ac_dir/install.sh"; then
1887 ac_install_sh="$ac_aux_dir/install.sh -c"
1889 elif test -f "$ac_dir/shtool"; then
1891 ac_install_sh="$ac_aux_dir/shtool install -c"
1895 if test -z "$ac_aux_dir"; then
1896 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts/autoconf \"$srcdir\"/scripts/autoconf" >&5
1897 echo "$as_me: error: cannot find install-sh or install.sh in scripts/autoconf \"$srcdir\"/scripts/autoconf" >&2;}
1898 { (exit 1); exit 1; }; }
1901 # These three variables are undocumented and unsupported,
1902 # and are intended to be withdrawn in a future Autoconf release.
1903 # They can cause serious problems if a builder's source tree is in a directory
1904 # whose full name contains unusual characters.
1905 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1906 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1907 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1911 # Check what host we are running on.
1912 # If a target is not suggested, we use this one.
1913 # Note that what we call a target, Autoconf calls a host.
1914 # Make sure we can run config.sub.
1915 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1916 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1917 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1918 { (exit 1); exit 1; }; }
1920 { echo "$as_me:$LINENO: checking build system type" >&5
1921 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1922 if test "${ac_cv_build+set}" = set; then
1923 echo $ECHO_N "(cached) $ECHO_C" >&6
1925 ac_build_alias=$build_alias
1926 test "x$ac_build_alias" = x &&
1927 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1928 test "x$ac_build_alias" = x &&
1929 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1930 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1931 { (exit 1); exit 1; }; }
1932 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1933 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1934 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1935 { (exit 1); exit 1; }; }
1938 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1939 echo "${ECHO_T}$ac_cv_build" >&6; }
1940 case $ac_cv_build in
1942 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1943 echo "$as_me: error: invalid value of canonical build" >&2;}
1944 { (exit 1); exit 1; }; };;
1947 ac_save_IFS=$IFS; IFS='-'
1953 # Remember, the first character of IFS is used to create $*,
1954 # except with old shells:
1957 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
1960 { echo "$as_me:$LINENO: checking host system type" >&5
1961 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1962 if test "${ac_cv_host+set}" = set; then
1963 echo $ECHO_N "(cached) $ECHO_C" >&6
1965 if test "x$host_alias" = x; then
1966 ac_cv_host=$ac_cv_build
1968 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1969 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1970 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1971 { (exit 1); exit 1; }; }
1975 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1976 echo "${ECHO_T}$ac_cv_host" >&6; }
1979 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1980 echo "$as_me: error: invalid value of canonical host" >&2;}
1981 { (exit 1); exit 1; }; };;
1984 ac_save_IFS=$IFS; IFS='-'
1990 # Remember, the first character of IFS is used to create $*,
1991 # except with old shells:
1994 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
1998 # The AROS target is slightly different to the normal GNU style
1999 # format. We don't have the middle part, and we reverse the order
2000 # of the $(CPU) and $(OS) bits.
2002 # Don't strip the version of the target yet, it might be
2003 # useful on some systems.
2005 { echo "$as_me:$LINENO: checking for AROS style target" >&5
2006 echo $ECHO_N "checking for AROS style target... $ECHO_C" >&6; }
2008 if test "$target" = "NONE" ; then
2009 target=$host_os-$host_cpu
2012 if test "$target" = "" ; then
2013 target=$host_os-$host_cpu
2019 { echo "$as_me:$LINENO: result: $target" >&5
2020 echo "${ECHO_T}$target" >&6; }
2022 #don't know where else to put this...
2025 # Parse the target field into something useful.
2027 target_os=`echo $target |
sed 's/^\([^-]*\)-\(.*\)$/\1/'`
2028 target_cpu=`echo $target |
sed 's/^\([^-]*\)-\(.*\)$/\2/'`
2031 aros_default_wbwidth=800
2032 aros_default_wbheight=600
2033 aros_default_wbdepth=4
2036 # The first step is to find the host binaries.
2037 # Check for a compiler.
2039 ac_cpp='$CPP $CPPFLAGS'
2040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2043 if test -n "$ac_tool_prefix"; then
2044 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2045 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2046 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2048 if test "${ac_cv_prog_CC+set}" = set; then
2049 echo $ECHO_N "(cached) $ECHO_C" >&6
2051 if test -n "$CC"; then
2052 ac_cv_prog_CC="$CC" # Let the user override the test.
2054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2058 test -z "$as_dir" && as_dir=.
2059 for ac_exec_ext in '' $ac_executable_extensions; do
2060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2061 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2072 if test -n "$CC"; then
2073 { echo "$as_me:$LINENO: result: $CC" >&5
2074 echo "${ECHO_T}$CC" >&6; }
2076 { echo "$as_me:$LINENO: result: no" >&5
2077 echo "${ECHO_T}no" >&6; }
2082 if test -z "$ac_cv_prog_CC"; then
2084 # Extract the first word of "gcc", so it can be a program name with args.
2085 set dummy gcc; ac_word=$2
2086 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2088 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2089 echo $ECHO_N "(cached) $ECHO_C" >&6
2091 if test -n "$ac_ct_CC"; then
2092 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2098 test -z "$as_dir" && as_dir=.
2099 for ac_exec_ext in '' $ac_executable_extensions; do
2100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2101 ac_cv_prog_ac_ct_CC="gcc"
2102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2111 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2112 if test -n "$ac_ct_CC"; then
2113 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2114 echo "${ECHO_T}$ac_ct_CC" >&6; }
2116 { echo "$as_me:$LINENO: result: no" >&5
2117 echo "${ECHO_T}no" >&6; }
2120 if test "x$ac_ct_CC" = x; then
2123 case $cross_compiling:$ac_tool_warned in
2125 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2126 whose name does not start with the host triplet. If you think this
2127 configuration is useful to you, please write to autoconf@gnu.org." >&5
2128 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2129 whose name does not start with the host triplet. If you think this
2130 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2131 ac_tool_warned=yes ;;
2139 if test -z "$CC"; then
2140 if test -n "$ac_tool_prefix"; then
2141 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2142 set dummy ${ac_tool_prefix}cc; ac_word=$2
2143 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2145 if test "${ac_cv_prog_CC+set}" = set; then
2146 echo $ECHO_N "(cached) $ECHO_C" >&6
2148 if test -n "$CC"; then
2149 ac_cv_prog_CC="$CC" # Let the user override the test.
2151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2155 test -z "$as_dir" && as_dir=.
2156 for ac_exec_ext in '' $ac_executable_extensions; do
2157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2158 ac_cv_prog_CC="${ac_tool_prefix}cc"
2159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2169 if test -n "$CC"; then
2170 { echo "$as_me:$LINENO: result: $CC" >&5
2171 echo "${ECHO_T}$CC" >&6; }
2173 { echo "$as_me:$LINENO: result: no" >&5
2174 echo "${ECHO_T}no" >&6; }
2180 if test -z "$CC"; then
2181 # Extract the first word of "cc", so it can be a program name with args.
2182 set dummy cc; ac_word=$2
2183 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2185 if test "${ac_cv_prog_CC+set}" = set; then
2186 echo $ECHO_N "(cached) $ECHO_C" >&6
2188 if test -n "$CC"; then
2189 ac_cv_prog_CC="$CC" # Let the user override the test.
2192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2196 test -z "$as_dir" && as_dir=.
2197 for ac_exec_ext in '' $ac_executable_extensions; do
2198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2199 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2200 ac_prog_rejected=yes
2204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2211 if test $ac_prog_rejected = yes; then
2212 # We found a bogon in the path, so make sure we never use it.
2213 set dummy $ac_cv_prog_CC
2215 if test $# != 0; then
2216 # We chose a different compiler from the bogus one.
2217 # However, it has the same basename, so the bogon will be chosen
2218 # first if we set CC to just the basename; use the full file name.
2220 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2226 if test -n "$CC"; then
2227 { echo "$as_me:$LINENO: result: $CC" >&5
2228 echo "${ECHO_T}$CC" >&6; }
2230 { echo "$as_me:$LINENO: result: no" >&5
2231 echo "${ECHO_T}no" >&6; }
2236 if test -z "$CC"; then
2237 if test -n "$ac_tool_prefix"; then
2238 for ac_prog in cl.exe
2240 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2241 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2244 if test "${ac_cv_prog_CC+set}" = set; then
2245 echo $ECHO_N "(cached) $ECHO_C" >&6
2247 if test -n "$CC"; then
2248 ac_cv_prog_CC="$CC" # Let the user override the test.
2250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2254 test -z "$as_dir" && as_dir=.
2255 for ac_exec_ext in '' $ac_executable_extensions; do
2256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2257 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2268 if test -n "$CC"; then
2269 { echo "$as_me:$LINENO: result: $CC" >&5
2270 echo "${ECHO_T}$CC" >&6; }
2272 { echo "$as_me:$LINENO: result: no" >&5
2273 echo "${ECHO_T}no" >&6; }
2277 test -n "$CC" && break
2280 if test -z "$CC"; then
2282 for ac_prog in cl.exe
2284 # Extract the first word of "$ac_prog", so it can be a program name with args.
2285 set dummy $ac_prog; ac_word=$2
2286 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2288 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2289 echo $ECHO_N "(cached) $ECHO_C" >&6
2291 if test -n "$ac_ct_CC"; then
2292 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2298 test -z "$as_dir" && as_dir=.
2299 for ac_exec_ext in '' $ac_executable_extensions; do
2300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2301 ac_cv_prog_ac_ct_CC="$ac_prog"
2302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2311 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2312 if test -n "$ac_ct_CC"; then
2313 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2314 echo "${ECHO_T}$ac_ct_CC" >&6; }
2316 { echo "$as_me:$LINENO: result: no" >&5
2317 echo "${ECHO_T}no" >&6; }
2321 test -n "$ac_ct_CC" && break
2324 if test "x$ac_ct_CC" = x; then
2327 case $cross_compiling:$ac_tool_warned in
2329 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2330 whose name does not start with the host triplet. If you think this
2331 configuration is useful to you, please write to autoconf@gnu.org." >&5
2332 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2333 whose name does not start with the host triplet. If you think this
2334 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2335 ac_tool_warned=yes ;;
2344 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2345 See \`config.log
' for more details." >&5
2346 echo "$as_me: error: no acceptable C compiler found in \$PATH
2347 See \`config.log' for more details.
" >&2;}
2348 { (exit 1); exit 1; }; }
2350 # Provide some information about the compiler.
2351 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2352 ac_compiler=`set X $ac_compile; echo $2`
2353 { (ac_try="$ac_compiler --version >&5"
2355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2356 *) ac_try_echo=$ac_try;;
2358 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2359 (eval "$ac_compiler --version >&5") 2>&5
2361 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2362 (exit $ac_status); }
2363 { (ac_try="$ac_compiler -v >&5"
2365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2366 *) ac_try_echo=$ac_try;;
2368 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2369 (eval "$ac_compiler -v >&5") 2>&5
2371 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2372 (exit $ac_status); }
2373 { (ac_try="$ac_compiler -V >&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 -V >&5") 2>&5
2381 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2382 (exit $ac_status); }
2384 cat >conftest.$ac_ext <<_ACEOF
2387 cat confdefs.h >>conftest.$ac_ext
2388 cat >>conftest.$ac_ext <<_ACEOF
2389 /* end confdefs.h. */
2399 ac_clean_files_save=$ac_clean_files
2400 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2401 # Try to create an executable without -o first, disregard a.out.
2402 # It will help us diagnose broken compilers, and finding out an intuition
2404 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2405 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2406 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2408 # List of possible output files, starting from the most likely.
2409 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2410 # only as a last resort. b.out is created by i960 compilers.
2411 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2413 # The IRIX 6 linker writes into existing files which may not be
2414 # executable, retaining their permissions. Remove them first so a
2415 # subsequent execution test works.
2417 for ac_file in $ac_files
2420 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2421 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2426 if { (ac_try="$ac_link_default"
2428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2429 *) ac_try_echo=$ac_try;;
2431 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2432 (eval "$ac_link_default") 2>&5
2434 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2435 (exit $ac_status); }; then
2436 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2437 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2438 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2439 # so that the user can short-circuit this test for compilers unknown to
2441 for ac_file in $ac_files ''
2443 test -f "$ac_file" || continue
2445 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2448 # We found the default executable, but exeext='' is most
2452 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2454 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2456 # We set ac_cv_exeext here because the later test for it is not
2457 # safe: cross compilers may not add the suffix if given an `-o'
2458 # argument, so we may need to know it at that point already.
2459 # Even if this section looks crufty: it has the advantage of
2466 test "$ac_cv_exeext" = no && ac_cv_exeext=
2472 { echo "$as_me:$LINENO: result
: $ac_file" >&5
2473 echo "${ECHO_T}$ac_file" >&6; }
2474 if test -z "$ac_file"; then
2475 echo "$as_me: failed program was
:" >&5
2476 sed 's/^/| /' conftest.$ac_ext >&5
2478 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2479 See \
`config.log' for more details." >&5
2480 echo "$as_me: error: C compiler cannot create executables
2481 See \`config.log
' for more details." >&2;}
2482 { (exit 77); exit 77; }; }
2485 ac_exeext=$ac_cv_exeext
2487 # Check that the compiler produces executables we can run. If not, either
2488 # the compiler is broken, or we cross compile.
2489 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2490 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2491 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2492 # If not cross compiling, check that we can run a simple program.
2493 if test "$cross_compiling" != yes; then
2494 if { ac_try='.
/$ac_file'
2495 { (case "(($ac_try" in
2496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2497 *) ac_try_echo=$ac_try;;
2499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2500 (eval "$ac_try") 2>&5
2502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2503 (exit $ac_status); }; }; then
2506 if test "$cross_compiling" = maybe; then
2509 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2510 If you meant to cross compile, use \`--host'.
2511 See \
`config.log' for more details." >&5
2512 echo "$as_me: error: cannot run C compiled programs.
2513 If you meant to cross compile, use \`--host'.
2514 See \`config.log' for more details.
" >&2;}
2515 { (exit 1); exit 1; }; }
2519 { echo "$as_me:$LINENO: result
: yes" >&5
2520 echo "${ECHO_T}yes" >&6; }
2522 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2523 ac_clean_files=$ac_clean_files_save
2524 # Check that the compiler produces executables we can run. If not, either
2525 # the compiler is broken, or we cross compile.
2526 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2527 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2528 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2529 echo "${ECHO_T}$cross_compiling" >&6; }
2531 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2532 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2533 if { (ac_try="$ac_link"
2535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2536 *) ac_try_echo=$ac_try;;
2538 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2539 (eval "$ac_link") 2>&5
2541 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2542 (exit $ac_status); }; then
2543 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2544 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2545 # work properly (i.e., refer to `conftest.exe'), while it won't with
2547 for ac_file in conftest.exe conftest conftest.*; do
2548 test -f "$ac_file" || continue
2550 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2551 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2557 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2558 See \
`config.log' for more details." >&5
2559 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2560 See \`config.log
' for more details." >&2;}
2561 { (exit 1); exit 1; }; }
2564 rm -f conftest$ac_cv_exeext
2565 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2566 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2568 rm -f conftest.$ac_ext
2569 EXEEXT=$ac_cv_exeext
2571 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2572 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2573 if test "${ac_cv_objext+set}" = set; then
2574 echo $ECHO_N "(cached) $ECHO_C" >&6
2576 cat >conftest.$ac_ext <<_ACEOF
2579 cat confdefs.h >>conftest.$ac_ext
2580 cat >>conftest.$ac_ext <<_ACEOF
2581 /* end confdefs.h. */
2591 rm -f conftest.o conftest.obj
2592 if { (ac_try="$ac_compile"
2594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2595 *) ac_try_echo=$ac_try;;
2597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2598 (eval "$ac_compile") 2>&5
2600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601 (exit $ac_status); }; then
2602 for ac_file in conftest.o conftest.obj conftest.*; do
2603 test -f "$ac_file" || continue;
2605 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2606 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2611 echo "$as_me: failed program was:" >&5
2612 sed 's
/^
/|
/' conftest.$ac_ext >&5
2614 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2615 See \`config.log' for more details.
" >&5
2616 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2617 See \
`config.log' for more details." >&2;}
2618 { (exit 1); exit 1; }; }
2621 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2623 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2624 echo "${ECHO_T}$ac_cv_objext" >&6; }
2625 OBJEXT=$ac_cv_objext
2627 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2628 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2629 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2630 echo $ECHO_N "(cached) $ECHO_C" >&6
2632 cat >conftest.$ac_ext <<_ACEOF
2635 cat confdefs.h >>conftest.$ac_ext
2636 cat >>conftest.$ac_ext <<_ACEOF
2637 /* end confdefs.h. */
2650 rm -f conftest.$ac_objext
2651 if { (ac_try="$ac_compile"
2653 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2654 *) ac_try_echo
=$ac_try;;
2656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2657 (eval "$ac_compile") 2>conftest.er1
2659 grep -v '^ *+' conftest.er1
>conftest.err
2661 cat conftest.err
>&5
2662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2663 (exit $ac_status); } && {
2664 test -z "$ac_c_werror_flag" ||
2665 test ! -s conftest.err
2666 } && test -s conftest.
$ac_objext; then
2669 echo "$as_me: failed program was:" >&5
2670 sed 's/^/| /' conftest.
$ac_ext >&5
2675 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2676 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2679 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2680 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2681 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2682 ac_test_CFLAGS
=${CFLAGS+set}
2683 ac_save_CFLAGS
=$CFLAGS
2684 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2685 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2686 if test "${ac_cv_prog_cc_g+set}" = set; then
2687 echo $ECHO_N "(cached) $ECHO_C" >&6
2689 ac_save_c_werror_flag
=$ac_c_werror_flag
2690 ac_c_werror_flag
=yes
2693 cat >conftest.
$ac_ext <<_ACEOF
2696 cat confdefs.h
>>conftest.
$ac_ext
2697 cat >>conftest.
$ac_ext <<_ACEOF
2698 /* end confdefs.h. */
2708 rm -f conftest.
$ac_objext
2709 if { (ac_try
="$ac_compile"
2711 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2712 *) ac_try_echo=$ac_try;;
2714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2715 (eval "$ac_compile") 2>conftest.er1
2717 grep -v '^ *+' conftest.er1 >conftest.err
2719 cat conftest.err >&5
2720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2721 (exit $ac_status); } && {
2722 test -z "$ac_c_werror_flag" ||
2723 test ! -s conftest.err
2724 } && test -s conftest.$ac_objext; then
2727 echo "$as_me: failed program was:" >&5
2728 sed 's/^/| /' conftest.$ac_ext >&5
2731 cat >conftest.$ac_ext <<_ACEOF
2734 cat confdefs.h >>conftest.$ac_ext
2735 cat >>conftest.$ac_ext <<_ACEOF
2736 /* end confdefs.h. */
2746 rm -f conftest.$ac_objext
2747 if { (ac_try="$ac_compile"
2749 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2750 *) ac_try_echo
=$ac_try;;
2752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2753 (eval "$ac_compile") 2>conftest.er1
2755 grep -v '^ *+' conftest.er1
>conftest.err
2757 cat conftest.err
>&5
2758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2759 (exit $ac_status); } && {
2760 test -z "$ac_c_werror_flag" ||
2761 test ! -s conftest.err
2762 } && test -s conftest.
$ac_objext; then
2765 echo "$as_me: failed program was:" >&5
2766 sed 's/^/| /' conftest.
$ac_ext >&5
2768 ac_c_werror_flag
=$ac_save_c_werror_flag
2770 cat >conftest.
$ac_ext <<_ACEOF
2773 cat confdefs.h
>>conftest.
$ac_ext
2774 cat >>conftest.
$ac_ext <<_ACEOF
2775 /* end confdefs.h. */
2785 rm -f conftest.
$ac_objext
2786 if { (ac_try
="$ac_compile"
2788 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2789 *) ac_try_echo=$ac_try;;
2791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2792 (eval "$ac_compile") 2>conftest.er1
2794 grep -v '^ *+' conftest.er1 >conftest.err
2796 cat conftest.err >&5
2797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2798 (exit $ac_status); } && {
2799 test -z "$ac_c_werror_flag" ||
2800 test ! -s conftest.err
2801 } && test -s conftest.$ac_objext; then
2804 echo "$as_me: failed program was:" >&5
2805 sed 's/^/| /' conftest.$ac_ext >&5
2810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2817 ac_c_werror_flag=$ac_save_c_werror_flag
2819 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2820 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2821 if test "$ac_test_CFLAGS" = set; then
2822 CFLAGS=$ac_save_CFLAGS
2823 elif test $ac_cv_prog_cc_g = yes; then
2824 if test "$GCC" = yes; then
2830 if test "$GCC" = yes; then
2836 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2837 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2838 if test "${ac_cv_prog_cc_c89+set}" = set; then
2839 echo $ECHO_N "(cached) $ECHO_C" >&6
2841 ac_cv_prog_cc_c89=no
2843 cat >conftest.$ac_ext <<_ACEOF
2846 cat confdefs.h >>conftest.$ac_ext
2847 cat >>conftest.$ac_ext <<_ACEOF
2848 /* end confdefs.h. */
2851 #include <sys/types.h>
2852 #include <sys/stat.h>
2853 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2854 struct buf { int x; };
2855 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2856 static char *e (p, i)
2862 static char *f (char * (*g) (char **, int), char **p, ...)
2867 s = g (p, va_arg (v,int));
2872 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2873 function prototypes and stuff, but not '\xHH' hex character constants.
2874 These don't provoke an error unfortunately, instead are silently treated
2875 as 'x'. The following induces an error, until -std is added to get
2876 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2877 array size at least. It's necessary to write '\x00'==0 to get something
2878 that's true only with -std. */
2879 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2881 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2882 inside strings and character constants. */
2884 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2886 int test (int i, double x);
2887 struct s1 {int (*f) (int a);};
2888 struct s2 {int (*f) (double a);};
2889 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2895 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2900 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2901 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2903 CC="$ac_save_CC $ac_arg"
2904 rm -f conftest.$ac_objext
2905 if { (ac_try="$ac_compile"
2907 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2908 *) ac_try_echo
=$ac_try;;
2910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2911 (eval "$ac_compile") 2>conftest.er1
2913 grep -v '^ *+' conftest.er1
>conftest.err
2915 cat conftest.err
>&5
2916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917 (exit $ac_status); } && {
2918 test -z "$ac_c_werror_flag" ||
2919 test ! -s conftest.err
2920 } && test -s conftest.
$ac_objext; then
2921 ac_cv_prog_cc_c89
=$ac_arg
2923 echo "$as_me: failed program was:" >&5
2924 sed 's/^/| /' conftest.
$ac_ext >&5
2929 rm -f core conftest.err conftest.
$ac_objext
2930 test "x$ac_cv_prog_cc_c89" != "xno" && break
2932 rm -f conftest.
$ac_ext
2937 case "x$ac_cv_prog_cc_c89" in
2939 { echo "$as_me:$LINENO: result: none needed" >&5
2940 echo "${ECHO_T}none needed" >&6; } ;;
2942 { echo "$as_me:$LINENO: result: unsupported" >&5
2943 echo "${ECHO_T}unsupported" >&6; } ;;
2945 CC
="$CC $ac_cv_prog_cc_c89"
2946 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2947 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2952 ac_cpp
='$CPP $CPPFLAGS'
2953 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2954 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2955 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2957 case $ac_cv_prog_cc_stdc in
2958 no
) ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;;
2959 *) { echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
2960 echo $ECHO_N "checking for $CC option to accept ISO C99... $ECHO_C" >&6; }
2961 if test "${ac_cv_prog_cc_c99+set}" = set; then
2962 echo $ECHO_N "(cached) $ECHO_C" >&6
2964 ac_cv_prog_cc_c99
=no
2966 cat >conftest.
$ac_ext <<_ACEOF
2969 cat confdefs.h
>>conftest.
$ac_ext
2970 cat >>conftest.
$ac_ext <<_ACEOF
2971 /* end confdefs.h. */
2973 #include <stdbool.h>
2978 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2979 #define debug(...) fprintf (stderr, __VA_ARGS__)
2980 #define showlist(...) puts (#__VA_ARGS__)
2981 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2983 test_varargs_macros (void)
2988 debug ("X = %d\n", x);
2989 showlist (The first, second, and third items.);
2990 report (x>y, "x is %d but y is %d", x, y);
2993 // Check long long types.
2994 #define BIG64 18446744073709551615ull
2995 #define BIG32 4294967295ul
2996 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2998 your preprocessor is broken;
3002 your preprocessor is broken;
3004 static long long int bignum = -9223372036854775807LL;
3005 static unsigned long long int ubignum = BIG64;
3007 struct incomplete_array
3015 const wchar_t *name;
3019 typedef const char *ccp;
3022 test_restrict (ccp restrict text)
3024 // See if C++-style comments work.
3025 // Iterate through items via the restricted pointer.
3026 // Also check for declarations in for loops.
3027 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3032 // Check varargs and va_copy.
3034 test_varargs (const char *format, ...)
3037 va_start (args, format);
3039 va_copy (args_copy, args);
3050 str = va_arg (args_copy, const char *);
3053 number = va_arg (args_copy, int);
3056 fnumber = va_arg (args_copy, double);
3071 _Bool success = false;
3074 if (test_restrict ("String literal") == 0)
3076 char *restrict newvar = "Another string";
3079 test_varargs ("s, d' f .", "string", 65, 34.234);
3080 test_varargs_macros ();
3082 // Check flexible array members.
3083 struct incomplete_array *ia =
3084 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3086 for (int i = 0; i < ia->datasize; ++i)
3087 ia->data[i] = i * 1.234;
3089 // Check named initializers.
3090 struct named_init ni = {
3092 .name = L"Test wide string",
3093 .average = 543.34343,
3098 int dynamic_array[ni.number];
3099 dynamic_array[ni.number - 1] = 543;
3101 // work around unused variable warnings
3102 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3103 || dynamic_array[ni.number - 1] != 543);
3109 for ac_arg
in '' -std=gnu99
-c99 -qlanglvl=extc99
3111 CC
="$ac_save_CC $ac_arg"
3112 rm -f conftest.
$ac_objext
3113 if { (ac_try
="$ac_compile"
3115 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3116 *) ac_try_echo=$ac_try;;
3118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3119 (eval "$ac_compile") 2>conftest.er1
3121 grep -v '^ *+' conftest.er1 >conftest.err
3123 cat conftest.err >&5
3124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3125 (exit $ac_status); } && {
3126 test -z "$ac_c_werror_flag" ||
3127 test ! -s conftest.err
3128 } && test -s conftest.$ac_objext; then
3129 ac_cv_prog_cc_c99=$ac_arg
3131 echo "$as_me: failed program was:" >&5
3132 sed 's/^/| /' conftest.$ac_ext >&5
3137 rm -f core conftest.err conftest.$ac_objext
3138 test "x$ac_cv_prog_cc_c99" != "xno" && break
3140 rm -f conftest.$ac_ext
3145 case "x$ac_cv_prog_cc_c99" in
3147 { echo "$as_me:$LINENO: result: none needed" >&5
3148 echo "${ECHO_T}none needed" >&6; } ;;
3150 { echo "$as_me:$LINENO: result: unsupported" >&5
3151 echo "${ECHO_T}unsupported" >&6; } ;;
3153 CC="$CC $ac_cv_prog_cc_c99"
3154 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
3155 echo "${ECHO_T}$ac_cv_prog_cc_c99" >&6; } ;;
3157 if test "x$ac_cv_prog_cc_c99" != xno; then
3158 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3160 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3161 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3162 if test "${ac_cv_prog_cc_c89+set}" = set; then
3163 echo $ECHO_N "(cached) $ECHO_C" >&6
3165 ac_cv_prog_cc_c89=no
3167 cat >conftest.$ac_ext <<_ACEOF
3170 cat confdefs.h >>conftest.$ac_ext
3171 cat >>conftest.$ac_ext <<_ACEOF
3172 /* end confdefs.h. */
3175 #include <sys/types.h>
3176 #include <sys/stat.h>
3177 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3178 struct buf { int x; };
3179 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3180 static char *e (p, i)
3186 static char *f (char * (*g) (char **, int), char **p, ...)
3191 s = g (p, va_arg (v,int));
3196 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3197 function prototypes and stuff, but not '\xHH' hex character constants.
3198 These don't provoke an error unfortunately, instead are silently treated
3199 as 'x'. The following induces an error, until -std is added to get
3200 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3201 array size at least. It's necessary to write '\x00'==0 to get something
3202 that's true only with -std. */
3203 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3205 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3206 inside strings and character constants. */
3208 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3210 int test (int i, double x);
3211 struct s1 {int (*f) (int a);};
3212 struct s2 {int (*f) (double a);};
3213 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3219 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3224 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3225 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3227 CC="$ac_save_CC $ac_arg"
3228 rm -f conftest.$ac_objext
3229 if { (ac_try="$ac_compile"
3231 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3232 *) ac_try_echo
=$ac_try;;
3234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3235 (eval "$ac_compile") 2>conftest.er1
3237 grep -v '^ *+' conftest.er1
>conftest.err
3239 cat conftest.err
>&5
3240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3241 (exit $ac_status); } && {
3242 test -z "$ac_c_werror_flag" ||
3243 test ! -s conftest.err
3244 } && test -s conftest.
$ac_objext; then
3245 ac_cv_prog_cc_c89
=$ac_arg
3247 echo "$as_me: failed program was:" >&5
3248 sed 's/^/| /' conftest.
$ac_ext >&5
3253 rm -f core conftest.err conftest.
$ac_objext
3254 test "x$ac_cv_prog_cc_c89" != "xno" && break
3256 rm -f conftest.
$ac_ext
3261 case "x$ac_cv_prog_cc_c89" in
3263 { echo "$as_me:$LINENO: result: none needed" >&5
3264 echo "${ECHO_T}none needed" >&6; } ;;
3266 { echo "$as_me:$LINENO: result: unsupported" >&5
3267 echo "${ECHO_T}unsupported" >&6; } ;;
3269 CC
="$CC $ac_cv_prog_cc_c89"
3270 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3271 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3273 if test "x$ac_cv_prog_cc_c89" != xno
; then
3274 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
3276 ac_cv_prog_cc_stdc
=no
3284 { echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5
3285 echo $ECHO_N "checking for $CC option to accept ISO Standard C... $ECHO_C" >&6; }
3286 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3287 echo $ECHO_N "(cached) $ECHO_C" >&6
3290 case $ac_cv_prog_cc_stdc in
3291 no
) { echo "$as_me:$LINENO: result: unsupported" >&5
3292 echo "${ECHO_T}unsupported" >&6; } ;;
3293 '') { echo "$as_me:$LINENO: result: none needed" >&5
3294 echo "${ECHO_T}none needed" >&6; } ;;
3295 *) { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3296 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; } ;;
3301 ac_cpp
='$CPP $CPPFLAGS'
3302 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3303 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3304 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3305 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3306 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3307 # On Suns, sometimes $CPP names a directory.
3308 if test -n "$CPP" && test -d "$CPP"; then
3311 if test -z "$CPP"; then
3312 if test "${ac_cv_prog_CPP+set}" = set; then
3313 echo $ECHO_N "(cached) $ECHO_C" >&6
3315 # Double quotes because CPP needs to be expanded
3316 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3319 for ac_c_preproc_warn_flag
in '' yes
3321 # Use a header file that comes with gcc, so configuring glibc
3322 # with a fresh cross-compiler works.
3323 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3324 # <limits.h> exists even on freestanding compilers.
3325 # On the NeXT, cc -E runs the code through the compiler's parser,
3326 # not just through cpp. "Syntax error" is here to catch this case.
3327 cat >conftest.
$ac_ext <<_ACEOF
3330 cat confdefs.h
>>conftest.
$ac_ext
3331 cat >>conftest.
$ac_ext <<_ACEOF
3332 /* end confdefs.h. */
3334 # include <limits.h>
3336 # include <assert.h>
3340 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3342 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3343 *) ac_try_echo=$ac_try;;
3345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3346 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3348 grep -v '^ *+' conftest.er1 >conftest.err
3350 cat conftest.err >&5
3351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3352 (exit $ac_status); } >/dev/null && {
3353 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3354 test ! -s conftest.err
3358 echo "$as_me: failed program was:" >&5
3359 sed 's/^/| /' conftest.$ac_ext >&5
3361 # Broken: fails on valid input.
3365 rm -f conftest.err conftest.$ac_ext
3367 # OK, works on sane cases. Now check whether nonexistent headers
3368 # can be detected and how.
3369 cat >conftest.$ac_ext <<_ACEOF
3372 cat confdefs.h >>conftest.$ac_ext
3373 cat >>conftest.$ac_ext <<_ACEOF
3374 /* end confdefs.h. */
3375 #include <ac_nonexistent.h>
3377 if { (ac_try="$ac_cpp conftest.$ac_ext"
3379 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3380 *) ac_try_echo
=$ac_try;;
3382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3383 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3385 grep -v '^ *+' conftest.er1
>conftest.err
3387 cat conftest.err
>&5
3388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3389 (exit $ac_status); } >/dev
/null
&& {
3390 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3391 test ! -s conftest.err
3393 # Broken: success on invalid input.
3396 echo "$as_me: failed program was:" >&5
3397 sed 's/^/| /' conftest.
$ac_ext >&5
3399 # Passes both tests.
3404 rm -f conftest.err conftest.
$ac_ext
3407 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3408 rm -f conftest.err conftest.
$ac_ext
3409 if $ac_preproc_ok; then
3421 { echo "$as_me:$LINENO: result: $CPP" >&5
3422 echo "${ECHO_T}$CPP" >&6; }
3424 for ac_c_preproc_warn_flag
in '' yes
3426 # Use a header file that comes with gcc, so configuring glibc
3427 # with a fresh cross-compiler works.
3428 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3429 # <limits.h> exists even on freestanding compilers.
3430 # On the NeXT, cc -E runs the code through the compiler's parser,
3431 # not just through cpp. "Syntax error" is here to catch this case.
3432 cat >conftest.
$ac_ext <<_ACEOF
3435 cat confdefs.h
>>conftest.
$ac_ext
3436 cat >>conftest.
$ac_ext <<_ACEOF
3437 /* end confdefs.h. */
3439 # include <limits.h>
3441 # include <assert.h>
3445 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3447 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3448 *) ac_try_echo=$ac_try;;
3450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3451 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3453 grep -v '^ *+' conftest.er1 >conftest.err
3455 cat conftest.err >&5
3456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3457 (exit $ac_status); } >/dev/null && {
3458 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3459 test ! -s conftest.err
3463 echo "$as_me: failed program was:" >&5
3464 sed 's/^/| /' conftest.$ac_ext >&5
3466 # Broken: fails on valid input.
3470 rm -f conftest.err conftest.$ac_ext
3472 # OK, works on sane cases. Now check whether nonexistent headers
3473 # can be detected and how.
3474 cat >conftest.$ac_ext <<_ACEOF
3477 cat confdefs.h >>conftest.$ac_ext
3478 cat >>conftest.$ac_ext <<_ACEOF
3479 /* end confdefs.h. */
3480 #include <ac_nonexistent.h>
3482 if { (ac_try="$ac_cpp conftest.$ac_ext"
3484 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3485 *) ac_try_echo
=$ac_try;;
3487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3488 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3490 grep -v '^ *+' conftest.er1
>conftest.err
3492 cat conftest.err
>&5
3493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3494 (exit $ac_status); } >/dev
/null
&& {
3495 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3496 test ! -s conftest.err
3498 # Broken: success on invalid input.
3501 echo "$as_me: failed program was:" >&5
3502 sed 's/^/| /' conftest.
$ac_ext >&5
3504 # Passes both tests.
3509 rm -f conftest.err conftest.
$ac_ext
3512 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3513 rm -f conftest.err conftest.
$ac_ext
3514 if $ac_preproc_ok; then
3517 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3518 See \`config.log' for more details." >&5
3519 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3520 See \`config.log' for more details." >&2;}
3521 { (exit 1); exit 1; }; }
3525 ac_cpp
='$CPP $CPPFLAGS'
3526 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3527 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3528 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3531 # Check for a compatible awk
3532 for ac_prog
in gawk nawk
3534 # Extract the first word of "$ac_prog", so it can be a program name with args.
3535 set dummy
$ac_prog; ac_word
=$2
3536 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3538 if test "${ac_cv_prog_AWK+set}" = set; then
3539 echo $ECHO_N "(cached) $ECHO_C" >&6
3541 if test -n "$AWK"; then
3542 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3548 test -z "$as_dir" && as_dir
=.
3549 for ac_exec_ext
in '' $ac_executable_extensions; do
3550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3551 ac_cv_prog_AWK
="$ac_prog"
3552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3562 if test -n "$AWK"; then
3563 { echo "$as_me:$LINENO: result: $AWK" >&5
3564 echo "${ECHO_T}$AWK" >&6; }
3566 { echo "$as_me:$LINENO: result: no" >&5
3567 echo "${ECHO_T}no" >&6; }
3571 test -n "$AWK" && break
3574 if test "$AWK" = ""; then
3575 { { echo "$as_me:$LINENO: error: gawk is required to build AROS. Please install and run configure again." >&5
3576 echo "$as_me: error: gawk is required to build AROS. Please install and run configure again." >&2;}
3577 { (exit 1); exit 1; }; }
3579 # Extract the first word of "mmake", so it can be a program name with args.
3580 set dummy mmake
; ac_word
=$2
3581 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3583 if test "${ac_cv_prog_MMAKE+set}" = set; then
3584 echo $ECHO_N "(cached) $ECHO_C" >&6
3586 if test -n "$MMAKE"; then
3587 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
3589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3593 test -z "$as_dir" && as_dir
=.
3594 for ac_exec_ext
in '' $ac_executable_extensions; do
3595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3596 ac_cv_prog_MMAKE
="mmake "
3597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3606 MMAKE
=$ac_cv_prog_MMAKE
3607 if test -n "$MMAKE"; then
3608 { echo "$as_me:$LINENO: result: $MMAKE" >&5
3609 echo "${ECHO_T}$MMAKE" >&6; }
3611 { echo "$as_me:$LINENO: result: no" >&5
3612 echo "${ECHO_T}no" >&6; }
3617 # Perform some default variable assignments. Note all of these will be
3618 # Regenerated from the script, so there is no need to cache them.
3621 if test "$GCC" = "yes"; then
3622 aros_gcc_ld
=`$CC -print-prog-name=ld`
3623 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
3624 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
3625 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3627 if test "${ac_cv_path_aros_host_ld+set}" = set; then
3628 echo $ECHO_N "(cached) $ECHO_C" >&6
3630 case $aros_host_ld in
3632 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3636 for as_dir
in `dirname $aros_gcc_ld`
3639 test -z "$as_dir" && as_dir
=.
3640 for ac_exec_ext
in '' $ac_executable_extensions; do
3641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3642 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3653 aros_host_ld
=$ac_cv_path_aros_host_ld
3654 if test -n "$aros_host_ld"; then
3655 { echo "$as_me:$LINENO: result: $aros_host_ld" >&5
3656 echo "${ECHO_T}$aros_host_ld" >&6; }
3658 { echo "$as_me:$LINENO: result: no" >&5
3659 echo "${ECHO_T}no" >&6; }
3664 if test "$aros_host_ld" = ""; then
3665 # Extract the first word of "ld", so it can be a program name with args.
3666 set dummy ld
; ac_word
=$2
3667 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3669 if test "${ac_cv_path_aros_host_ld+set}" = set; then
3670 echo $ECHO_N "(cached) $ECHO_C" >&6
3672 case $aros_host_ld in
3674 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3677 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3681 test -z "$as_dir" && as_dir
=.
3682 for ac_exec_ext
in '' $ac_executable_extensions; do
3683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3684 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3695 aros_host_ld
=$ac_cv_path_aros_host_ld
3696 if test -n "$aros_host_ld"; then
3697 { echo "$as_me:$LINENO: result: $aros_host_ld" >&5
3698 echo "${ECHO_T}$aros_host_ld" >&6; }
3700 { echo "$as_me:$LINENO: result: no" >&5
3701 echo "${ECHO_T}no" >&6; }
3706 if test "$aros_host_ld" = ""; then
3707 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
3708 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
3709 { (exit 1); exit 1; }; }
3711 aros_host_make
="make"
3712 aros_host_cflags
=$CFLAGS
3713 aros_host_ldflags
=$LDFLAGS
3714 aros_host_debug
="-g -O0"
3715 aros_host_mkdep
="\$(TOP)/scripts/mkdep"
3716 aros_host_mkargs
="--no-print-directory"
3717 aros_host_incl
="/usr/include"
3718 aros_host_exe_suffix
="$EXEEXT"
3719 aros_host_lib_suffix
=""
3721 for ac_prog
in aclocal aclocal19
3723 # Extract the first word of "$ac_prog", so it can be a program name with args.
3724 set dummy
$ac_prog; ac_word
=$2
3725 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3727 if test "${ac_cv_prog_aros_host_aclocal+set}" = set; then
3728 echo $ECHO_N "(cached) $ECHO_C" >&6
3730 if test -n "$aros_host_aclocal"; then
3731 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
3733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3737 test -z "$as_dir" && as_dir
=.
3738 for ac_exec_ext
in '' $ac_executable_extensions; do
3739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3740 ac_cv_prog_aros_host_aclocal
="$ac_prog"
3741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3750 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
3751 if test -n "$aros_host_aclocal"; then
3752 { echo "$as_me:$LINENO: result: $aros_host_aclocal" >&5
3753 echo "${ECHO_T}$aros_host_aclocal" >&6; }
3755 { echo "$as_me:$LINENO: result: no" >&5
3756 echo "${ECHO_T}no" >&6; }
3760 test -n "$aros_host_aclocal" && break
3763 for ac_prog
in autoconf autoconf259 autoconf253
3765 # Extract the first word of "$ac_prog", so it can be a program name with args.
3766 set dummy
$ac_prog; ac_word
=$2
3767 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3769 if test "${ac_cv_prog_aros_host_autoconf+set}" = set; then
3770 echo $ECHO_N "(cached) $ECHO_C" >&6
3772 if test -n "$aros_host_autoconf"; then
3773 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
3775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3779 test -z "$as_dir" && as_dir
=.
3780 for ac_exec_ext
in '' $ac_executable_extensions; do
3781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3782 ac_cv_prog_aros_host_autoconf
="$ac_prog"
3783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3792 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
3793 if test -n "$aros_host_autoconf"; then
3794 { echo "$as_me:$LINENO: result: $aros_host_autoconf" >&5
3795 echo "${ECHO_T}$aros_host_autoconf" >&6; }
3797 { echo "$as_me:$LINENO: result: no" >&5
3798 echo "${ECHO_T}no" >&6; }
3802 test -n "$aros_host_autoconf" && break
3805 for ac_prog
in autoheader autoheader259 autoheader253
3807 # Extract the first word of "$ac_prog", so it can be a program name with args.
3808 set dummy
$ac_prog; ac_word
=$2
3809 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3810 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3811 if test "${ac_cv_prog_aros_host_autoheader+set}" = set; then
3812 echo $ECHO_N "(cached) $ECHO_C" >&6
3814 if test -n "$aros_host_autoheader"; then
3815 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
3817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3821 test -z "$as_dir" && as_dir
=.
3822 for ac_exec_ext
in '' $ac_executable_extensions; do
3823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3824 ac_cv_prog_aros_host_autoheader
="$ac_prog"
3825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3834 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
3835 if test -n "$aros_host_autoheader"; then
3836 { echo "$as_me:$LINENO: result: $aros_host_autoheader" >&5
3837 echo "${ECHO_T}$aros_host_autoheader" >&6; }
3839 { echo "$as_me:$LINENO: result: no" >&5
3840 echo "${ECHO_T}no" >&6; }
3844 test -n "$aros_host_autoheader" && break
3847 for ac_prog
in automake automake19
3849 # Extract the first word of "$ac_prog", so it can be a program name with args.
3850 set dummy
$ac_prog; ac_word
=$2
3851 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3852 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3853 if test "${ac_cv_prog_aros_host_automake+set}" = set; then
3854 echo $ECHO_N "(cached) $ECHO_C" >&6
3856 if test -n "$aros_host_automake"; then
3857 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
3859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3863 test -z "$as_dir" && as_dir
=.
3864 for ac_exec_ext
in '' $ac_executable_extensions; do
3865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3866 ac_cv_prog_aros_host_automake
="$ac_prog"
3867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3876 aros_host_automake
=$ac_cv_prog_aros_host_automake
3877 if test -n "$aros_host_automake"; then
3878 { echo "$as_me:$LINENO: result: $aros_host_automake" >&5
3879 echo "${ECHO_T}$aros_host_automake" >&6; }
3881 { echo "$as_me:$LINENO: result: no" >&5
3882 echo "${ECHO_T}no" >&6; }
3886 test -n "$aros_host_automake" && break
3890 case "$aros_host_cc" in
3892 aros_host_cc_pipe
="-pipe"
3895 aros_host_cc_pipe
=""
3898 aros_host_cc_pipe
=""
3902 aros_target_cc_includes
=""
3904 # This is the main host configuration section. It is where the host
3905 # can change the values of any variables it needs to change. We do
3906 # not look at anything that compiles to the target yet, we'll get
3911 aros_host_arch
="linux"
3912 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3915 aros_host_cpu
="i386"
3918 aros_host_cpu
="x86_64"
3921 aros_host_cpu
="m68k"
3927 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
3928 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
3929 aros_host_cpu
="$host_cpu"
3935 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
3936 aros_host_make
="gmake"
3937 aros_host_arch
="freebsd"
3938 aros_host_cpu
="i386"
3940 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
3945 aros_object_format
="elf_i386"
3949 aros_object_format
="elf_i386_fbsd"
3956 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3957 aros_host_arch
="darwin"
3960 aros_host_cpu
="i386"
3966 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
3967 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
3968 aros_host_cpu
="$host_cpu"
3972 aros_host_ldflags
="$aros_host_ldflags -liconv"
3977 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3978 aros_host_make
="gmake"
3979 aros_host_arch
="netbsd"
3982 aros_host_cpu
="i386"
3985 aros_host_cpu
="m68k"
3988 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
3989 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
3990 aros_host_cpu
="$host_cpu"
3993 aros_host_lib_suffix
=".0.0"
3997 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3998 aros_host_make
="gmake"
3999 aros_host_arch
="openbsd"
4002 aros_host_cpu
="i386"
4005 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4006 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4007 aros_host_cpu
="$host_cpu"
4013 aros_host_arch
="solaris"
4014 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4017 aros_host_cpu
="sparc"
4020 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4021 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4022 aros_host_cpu
="$host_cpu"
4028 aros_host_arch
="morphos"
4033 aros_host_arch
="amiga"
4038 TOUCH
="/gg/bin/touch"
4041 aros_host_cpu
="m68k"
4047 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4048 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4049 aros_host_cpu
="$host_cpu"
4055 aros_host_arch
="cygwin"
4056 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4059 aros_host_cpu
="i386"
4062 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4063 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4064 aros_host_cpu
="$host_cpu"
4070 aros_host_arch
="mingw32"
4071 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4074 aros_host_cpu
="i386"
4077 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4078 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4079 aros_host_cpu
="$host_cpu"
4084 { { echo "$as_me:$LINENO: error: Unsupported host architecture $host" >&5
4085 echo "$as_me: error: Unsupported host architecture $host" >&2;}
4086 { (exit 1); exit 1; }; }
4090 # Extract the first word of "ar", so it can be a program name with args.
4091 set dummy
ar; ac_word
=$2
4092 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4094 if test "${ac_cv_prog_aros_host_ar+set}" = set; then
4095 echo $ECHO_N "(cached) $ECHO_C" >&6
4097 if test -n "$aros_host_ar"; then
4098 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4104 test -z "$as_dir" && as_dir
=.
4105 for ac_exec_ext
in '' $ac_executable_extensions; do
4106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4107 ac_cv_prog_aros_host_ar
="ar cr"
4108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4117 aros_host_ar
=$ac_cv_prog_aros_host_ar
4118 if test -n "$aros_host_ar"; then
4119 { echo "$as_me:$LINENO: result: $aros_host_ar" >&5
4120 echo "${ECHO_T}$aros_host_ar" >&6; }
4122 { echo "$as_me:$LINENO: result: no" >&5
4123 echo "${ECHO_T}no" >&6; }
4127 if test "$aros_host_ar" = ""; then
4128 { { echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
4129 echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
4130 { (exit 1); exit 1; }; }
4132 # Extract the first word of "ranlib", so it can be a program name with args.
4133 set dummy ranlib
; ac_word
=$2
4134 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4136 if test "${ac_cv_prog_aros_host_ranlib+set}" = set; then
4137 echo $ECHO_N "(cached) $ECHO_C" >&6
4139 if test -n "$aros_host_ranlib"; then
4140 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4146 test -z "$as_dir" && as_dir
=.
4147 for ac_exec_ext
in '' $ac_executable_extensions; do
4148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4149 ac_cv_prog_aros_host_ranlib
="ranlib "
4150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4159 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4160 if test -n "$aros_host_ranlib"; then
4161 { echo "$as_me:$LINENO: result: $aros_host_ranlib" >&5
4162 echo "${ECHO_T}$aros_host_ranlib" >&6; }
4164 { echo "$as_me:$LINENO: result: no" >&5
4165 echo "${ECHO_T}no" >&6; }
4169 if test "$aros_host_ranlib" = ""; then
4170 { { echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
4171 echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
4172 { (exit 1); exit 1; }; }
4174 # Extract the first word of "strip", so it can be a program name with args.
4175 set dummy strip
; ac_word
=$2
4176 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4178 if test "${ac_cv_prog_aros_host_strip+set}" = set; then
4179 echo $ECHO_N "(cached) $ECHO_C" >&6
4181 if test -n "$aros_host_strip"; then
4182 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4188 test -z "$as_dir" && as_dir
=.
4189 for ac_exec_ext
in '' $ac_executable_extensions; do
4190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4191 ac_cv_prog_aros_host_strip
="strip "
4192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4201 aros_host_strip
=$ac_cv_prog_aros_host_strip
4202 if test -n "$aros_host_strip"; then
4203 { echo "$as_me:$LINENO: result: $aros_host_strip" >&5
4204 echo "${ECHO_T}$aros_host_strip" >&6; }
4206 { echo "$as_me:$LINENO: result: no" >&5
4207 echo "${ECHO_T}no" >&6; }
4211 if test "$aros_host_strip" = ""; then
4212 { { echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
4213 echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
4214 { (exit 1); exit 1; }; }
4217 # Extract the first word of "rm", so it can be a program name with args.
4218 set dummy
rm; ac_word
=$2
4219 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4221 if test "${ac_cv_prog_RM+set}" = set; then
4222 echo $ECHO_N "(cached) $ECHO_C" >&6
4224 if test -n "$RM"; then
4225 ac_cv_prog_RM
="$RM" # Let the user override the test.
4227 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4231 test -z "$as_dir" && as_dir
=.
4232 for ac_exec_ext
in '' $ac_executable_extensions; do
4233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4234 ac_cv_prog_RM
="rm -rf"
4235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4245 if test -n "$RM"; then
4246 { echo "$as_me:$LINENO: result: $RM" >&5
4247 echo "${ECHO_T}$RM" >&6; }
4249 { echo "$as_me:$LINENO: result: no" >&5
4250 echo "${ECHO_T}no" >&6; }
4254 if test "$RM" = ""; then
4255 { { echo "$as_me:$LINENO: error: rm is required to build AROS. Please install and run configure again." >&5
4256 echo "$as_me: error: rm is required to build AROS. Please install and run configure again." >&2;}
4257 { (exit 1); exit 1; }; }
4259 # Extract the first word of "cp", so it can be a program name with args.
4260 set dummy
cp; ac_word
=$2
4261 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4263 if test "${ac_cv_prog_CP+set}" = set; then
4264 echo $ECHO_N "(cached) $ECHO_C" >&6
4266 if test -n "$CP"; then
4267 ac_cv_prog_CP
="$CP" # Let the user override the test.
4269 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4273 test -z "$as_dir" && as_dir
=.
4274 for ac_exec_ext
in '' $ac_executable_extensions; do
4275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4287 if test -n "$CP"; then
4288 { echo "$as_me:$LINENO: result: $CP" >&5
4289 echo "${ECHO_T}$CP" >&6; }
4291 { echo "$as_me:$LINENO: result: no" >&5
4292 echo "${ECHO_T}no" >&6; }
4296 if test "$CP" = ""; then
4297 { { echo "$as_me:$LINENO: error: cp is required to build AROS. Please install and run configure again." >&5
4298 echo "$as_me: error: cp is required to build AROS. Please install and run configure again." >&2;}
4299 { (exit 1); exit 1; }; }
4301 # Extract the first word of "mv", so it can be a program name with args.
4302 set dummy
mv; ac_word
=$2
4303 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4305 if test "${ac_cv_prog_MV+set}" = set; then
4306 echo $ECHO_N "(cached) $ECHO_C" >&6
4308 if test -n "$MV"; then
4309 ac_cv_prog_MV
="$MV" # Let the user override the test.
4311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4315 test -z "$as_dir" && as_dir
=.
4316 for ac_exec_ext
in '' $ac_executable_extensions; do
4317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4329 if test -n "$MV"; then
4330 { echo "$as_me:$LINENO: result: $MV" >&5
4331 echo "${ECHO_T}$MV" >&6; }
4333 { echo "$as_me:$LINENO: result: no" >&5
4334 echo "${ECHO_T}no" >&6; }
4338 if test "$MV" = ""; then
4339 { { echo "$as_me:$LINENO: error: mv is required to build AROS. Please install and run configure again." >&5
4340 echo "$as_me: error: mv is required to build AROS. Please install and run configure again." >&2;}
4341 { (exit 1); exit 1; }; }
4343 # Extract the first word of "echo", so it can be a program name with args.
4344 set dummy
echo; ac_word
=$2
4345 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4347 if test "${ac_cv_prog_ECHO+set}" = set; then
4348 echo $ECHO_N "(cached) $ECHO_C" >&6
4350 if test -n "$ECHO"; then
4351 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
4353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4357 test -z "$as_dir" && as_dir
=.
4358 for ac_exec_ext
in '' $ac_executable_extensions; do
4359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4360 ac_cv_prog_ECHO
="echo "
4361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4370 ECHO
=$ac_cv_prog_ECHO
4371 if test -n "$ECHO"; then
4372 { echo "$as_me:$LINENO: result: $ECHO" >&5
4373 echo "${ECHO_T}$ECHO" >&6; }
4375 { echo "$as_me:$LINENO: result: no" >&5
4376 echo "${ECHO_T}no" >&6; }
4380 if test "$ECHO" = ""; then
4381 { { echo "$as_me:$LINENO: error: echo is required to build AROS. Please install and run configure again." >&5
4382 echo "$as_me: error: echo is required to build AROS. Please install and run configure again." >&2;}
4383 { (exit 1); exit 1; }; }
4385 # Extract the first word of "mkdir", so it can be a program name with args.
4386 set dummy mkdir
; ac_word
=$2
4387 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4389 if test "${ac_cv_prog_MKDIR+set}" = set; then
4390 echo $ECHO_N "(cached) $ECHO_C" >&6
4392 if test -n "$MKDIR"; then
4393 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
4395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4399 test -z "$as_dir" && as_dir
=.
4400 for ac_exec_ext
in '' $ac_executable_extensions; do
4401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4402 ac_cv_prog_MKDIR
="mkdir -p"
4403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4412 MKDIR
=$ac_cv_prog_MKDIR
4413 if test -n "$MKDIR"; then
4414 { echo "$as_me:$LINENO: result: $MKDIR" >&5
4415 echo "${ECHO_T}$MKDIR" >&6; }
4417 { echo "$as_me:$LINENO: result: no" >&5
4418 echo "${ECHO_T}no" >&6; }
4422 if test "$MKDIR" = ""; then
4423 { { echo "$as_me:$LINENO: error: mkdir is required to build AROS. Please install and run configure again." >&5
4424 echo "$as_me: error: mkdir is required to build AROS. Please install and run configure again." >&2;}
4425 { (exit 1); exit 1; }; }
4427 # Extract the first word of "touch", so it can be a program name with args.
4428 set dummy
touch; ac_word
=$2
4429 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4431 if test "${ac_cv_prog_TOUCH+set}" = set; then
4432 echo $ECHO_N "(cached) $ECHO_C" >&6
4434 if test -n "$TOUCH"; then
4435 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
4437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4441 test -z "$as_dir" && as_dir
=.
4442 for ac_exec_ext
in '' $ac_executable_extensions; do
4443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4444 ac_cv_prog_TOUCH
="touch "
4445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4454 TOUCH
=$ac_cv_prog_TOUCH
4455 if test -n "$TOUCH"; then
4456 { echo "$as_me:$LINENO: result: $TOUCH" >&5
4457 echo "${ECHO_T}$TOUCH" >&6; }
4459 { echo "$as_me:$LINENO: result: no" >&5
4460 echo "${ECHO_T}no" >&6; }
4464 if test "$TOUCH" = ""; then
4465 { { echo "$as_me:$LINENO: error: touch is required to build AROS. Please install and run configure again." >&5
4466 echo "$as_me: error: touch is required to build AROS. Please install and run configure again." >&2;}
4467 { (exit 1); exit 1; }; }
4469 # Extract the first word of "sort", so it can be a program name with args.
4470 set dummy
sort; ac_word
=$2
4471 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4472 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4473 if test "${ac_cv_prog_SORT+set}" = set; then
4474 echo $ECHO_N "(cached) $ECHO_C" >&6
4476 if test -n "$SORT"; then
4477 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
4479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4483 test -z "$as_dir" && as_dir
=.
4484 for ac_exec_ext
in '' $ac_executable_extensions; do
4485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4486 ac_cv_prog_SORT
="sort "
4487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4496 SORT
=$ac_cv_prog_SORT
4497 if test -n "$SORT"; then
4498 { echo "$as_me:$LINENO: result: $SORT" >&5
4499 echo "${ECHO_T}$SORT" >&6; }
4501 { echo "$as_me:$LINENO: result: no" >&5
4502 echo "${ECHO_T}no" >&6; }
4506 if test "$SORT" = ""; then
4507 { { echo "$as_me:$LINENO: error: sort is required to build AROS. Please install and run configure again." >&5
4508 echo "$as_me: error: sort is required to build AROS. Please install and run configure again." >&2;}
4509 { (exit 1); exit 1; }; }
4511 # Extract the first word of "uniq", so it can be a program name with args.
4512 set dummy
uniq; ac_word
=$2
4513 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4515 if test "${ac_cv_prog_UNIQ+set}" = set; then
4516 echo $ECHO_N "(cached) $ECHO_C" >&6
4518 if test -n "$UNIQ"; then
4519 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
4521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4525 test -z "$as_dir" && as_dir
=.
4526 for ac_exec_ext
in '' $ac_executable_extensions; do
4527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4528 ac_cv_prog_UNIQ
="uniq "
4529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4538 UNIQ
=$ac_cv_prog_UNIQ
4539 if test -n "$UNIQ"; then
4540 { echo "$as_me:$LINENO: result: $UNIQ" >&5
4541 echo "${ECHO_T}$UNIQ" >&6; }
4543 { echo "$as_me:$LINENO: result: no" >&5
4544 echo "${ECHO_T}no" >&6; }
4548 if test "$UNIQ" = ""; then
4549 { { echo "$as_me:$LINENO: error: uniq is required to build AROS. Please install and run configure again." >&5
4550 echo "$as_me: error: uniq is required to build AROS. Please install and run configure again." >&2;}
4551 { (exit 1); exit 1; }; }
4553 # Extract the first word of "true", so it can be a program name with args.
4554 set dummy true
; ac_word
=$2
4555 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4557 if test "${ac_cv_prog_NOP+set}" = set; then
4558 echo $ECHO_N "(cached) $ECHO_C" >&6
4560 if test -n "$NOP"; then
4561 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
4563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4567 test -z "$as_dir" && as_dir
=.
4568 for ac_exec_ext
in '' $ac_executable_extensions; do
4569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4570 ac_cv_prog_NOP
="true "
4571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4581 if test -n "$NOP"; then
4582 { echo "$as_me:$LINENO: result: $NOP" >&5
4583 echo "${ECHO_T}$NOP" >&6; }
4585 { echo "$as_me:$LINENO: result: no" >&5
4586 echo "${ECHO_T}no" >&6; }
4590 if test "$NOP" = ""; then
4591 { { echo "$as_me:$LINENO: error: true is required to build AROS. Please install and run configure again." >&5
4592 echo "$as_me: error: true is required to build AROS. Please install and run configure again." >&2;}
4593 { (exit 1); exit 1; }; }
4595 # Extract the first word of "cat", so it can be a program name with args.
4596 set dummy
cat; ac_word
=$2
4597 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4599 if test "${ac_cv_prog_CAT+set}" = set; then
4600 echo $ECHO_N "(cached) $ECHO_C" >&6
4602 if test -n "$CAT"; then
4603 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
4605 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4609 test -z "$as_dir" && as_dir
=.
4610 for ac_exec_ext
in '' $ac_executable_extensions; do
4611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4612 ac_cv_prog_CAT
="cat "
4613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4623 if test -n "$CAT"; then
4624 { echo "$as_me:$LINENO: result: $CAT" >&5
4625 echo "${ECHO_T}$CAT" >&6; }
4627 { echo "$as_me:$LINENO: result: no" >&5
4628 echo "${ECHO_T}no" >&6; }
4632 if test "$CAT" = ""; then
4633 { { echo "$as_me:$LINENO: error: cat is required to build AROS. Please install and run configure again." >&5
4634 echo "$as_me: error: cat is required to build AROS. Please install and run configure again." >&2;}
4635 { (exit 1); exit 1; }; }
4637 # Extract the first word of "bison", so it can be a program name with args.
4638 set dummy bison
; ac_word
=$2
4639 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4641 if test "${ac_cv_prog_BISON+set}" = set; then
4642 echo $ECHO_N "(cached) $ECHO_C" >&6
4644 if test -n "$BISON"; then
4645 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4651 test -z "$as_dir" && as_dir
=.
4652 for ac_exec_ext
in '' $ac_executable_extensions; do
4653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4654 ac_cv_prog_BISON
="bison "
4655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4664 BISON
=$ac_cv_prog_BISON
4665 if test -n "$BISON"; then
4666 { echo "$as_me:$LINENO: result: $BISON" >&5
4667 echo "${ECHO_T}$BISON" >&6; }
4669 { echo "$as_me:$LINENO: result: no" >&5
4670 echo "${ECHO_T}no" >&6; }
4674 if test "$BISON" = ""; then
4675 { { echo "$as_me:$LINENO: error: bison is required to build AROS. Please install and run configure again." >&5
4676 echo "$as_me: error: bison is required to build AROS. Please install and run configure again." >&2;}
4677 { (exit 1); exit 1; }; }
4679 # Extract the first word of "flex", so it can be a program name with args.
4680 set dummy flex
; ac_word
=$2
4681 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4683 if test "${ac_cv_prog_FLEX+set}" = set; then
4684 echo $ECHO_N "(cached) $ECHO_C" >&6
4686 if test -n "$FLEX"; then
4687 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4693 test -z "$as_dir" && as_dir
=.
4694 for ac_exec_ext
in '' $ac_executable_extensions; do
4695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4696 ac_cv_prog_FLEX
="flex "
4697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4706 FLEX
=$ac_cv_prog_FLEX
4707 if test -n "$FLEX"; then
4708 { echo "$as_me:$LINENO: result: $FLEX" >&5
4709 echo "${ECHO_T}$FLEX" >&6; }
4711 { echo "$as_me:$LINENO: result: no" >&5
4712 echo "${ECHO_T}no" >&6; }
4716 if test "$FLEX" = ""; then
4717 { { echo "$as_me:$LINENO: error: flex is required to build AROS. Please install and run configure again." >&5
4718 echo "$as_me: error: flex is required to build AROS. Please install and run configure again." >&2;}
4719 { (exit 1); exit 1; }; }
4721 # Extract the first word of "pngtopnm", so it can be a program name with args.
4722 set dummy pngtopnm
; ac_word
=$2
4723 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4724 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4725 if test "${ac_cv_prog_PNGTOPNM+set}" = set; then
4726 echo $ECHO_N "(cached) $ECHO_C" >&6
4728 if test -n "$PNGTOPNM"; then
4729 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
4731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4735 test -z "$as_dir" && as_dir
=.
4736 for ac_exec_ext
in '' $ac_executable_extensions; do
4737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4738 ac_cv_prog_PNGTOPNM
="pngtopnm "
4739 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4748 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
4749 if test -n "$PNGTOPNM"; then
4750 { echo "$as_me:$LINENO: result: $PNGTOPNM" >&5
4751 echo "${ECHO_T}$PNGTOPNM" >&6; }
4753 { echo "$as_me:$LINENO: result: no" >&5
4754 echo "${ECHO_T}no" >&6; }
4758 if test "$PNGTOPNM" = ""; then
4759 { { echo "$as_me:$LINENO: error: pngtopnm is required to build AROS. Please install and run configure again." >&5
4760 echo "$as_me: error: pngtopnm is required to build AROS. Please install and run configure again." >&2;}
4761 { (exit 1); exit 1; }; }
4763 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
4764 set dummy ppmtoilbm
; ac_word
=$2
4765 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4767 if test "${ac_cv_prog_PPMTOILBM+set}" = set; then
4768 echo $ECHO_N "(cached) $ECHO_C" >&6
4770 if test -n "$PPMTOILBM"; then
4771 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
4773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4777 test -z "$as_dir" && as_dir
=.
4778 for ac_exec_ext
in '' $ac_executable_extensions; do
4779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4780 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
4781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4790 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
4791 if test -n "$PPMTOILBM"; then
4792 { echo "$as_me:$LINENO: result: $PPMTOILBM" >&5
4793 echo "${ECHO_T}$PPMTOILBM" >&6; }
4795 { echo "$as_me:$LINENO: result: no" >&5
4796 echo "${ECHO_T}no" >&6; }
4800 if test "$PPMTOILBM" = ""; then
4801 { { echo "$as_me:$LINENO: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&5
4802 echo "$as_me: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&2;}
4803 { (exit 1); exit 1; }; }
4805 # Extract the first word of "sed", so it can be a program name with args.
4806 set dummy
sed; ac_word
=$2
4807 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4809 if test "${ac_cv_prog_SED+set}" = set; then
4810 echo $ECHO_N "(cached) $ECHO_C" >&6
4812 if test -n "$SED"; then
4813 ac_cv_prog_SED
="$SED" # Let the user override the test.
4815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4819 test -z "$as_dir" && as_dir
=.
4820 for ac_exec_ext
in '' $ac_executable_extensions; do
4821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4822 ac_cv_prog_SED
="sed "
4823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4833 if test -n "$SED"; then
4834 { echo "$as_me:$LINENO: result: $SED" >&5
4835 echo "${ECHO_T}$SED" >&6; }
4837 { echo "$as_me:$LINENO: result: no" >&5
4838 echo "${ECHO_T}no" >&6; }
4842 if test "$SED" = ""; then
4843 { { echo "$as_me:$LINENO: error: sed is required to build AROS. Please install and run configure again." >&5
4844 echo "$as_me: error: sed is required to build AROS. Please install and run configure again." >&2;}
4845 { (exit 1); exit 1; }; }
4847 # Extract the first word of "chmod", so it can be a program name with args.
4848 set dummy
chmod; ac_word
=$2
4849 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4851 if test "${ac_cv_prog_CHMOD+set}" = set; then
4852 echo $ECHO_N "(cached) $ECHO_C" >&6
4854 if test -n "$CHMOD"; then
4855 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
4857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4861 test -z "$as_dir" && as_dir
=.
4862 for ac_exec_ext
in '' $ac_executable_extensions; do
4863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4864 ac_cv_prog_CHMOD
="chmod "
4865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4874 CHMOD
=$ac_cv_prog_CHMOD
4875 if test -n "$CHMOD"; then
4876 { echo "$as_me:$LINENO: result: $CHMOD" >&5
4877 echo "${ECHO_T}$CHMOD" >&6; }
4879 { echo "$as_me:$LINENO: result: no" >&5
4880 echo "${ECHO_T}no" >&6; }
4884 if test "$CHMOD" = ""; then
4885 { { echo "$as_me:$LINENO: error: chmod is required to build AROS. Please install and run configure again." >&5
4886 echo "$as_me: error: chmod is required to build AROS. Please install and run configure again." >&2;}
4887 { (exit 1); exit 1; }; }
4894 if test -n "$PYTHON"; then
4895 # If the user set $PYTHON, use it and don't search something else.
4896 { echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.2.1" >&5
4897 echo $ECHO_N "checking whether $PYTHON version >= 2.2.1... $ECHO_C" >&6; }
4898 prog
="import sys, string
4899 # split strings by '.' and convert to numeric. Append some zeros
4900 # because we need at least 4 digits for the hex conversion.
4901 minver = map(int, string.split('2.2.1', '.')) + [0, 0, 0]
4903 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
4904 sys.exit(sys.hexversion < minverhex)"
4905 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
4906 ($PYTHON -c "$prog") >&5 2>&5
4908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4909 (exit $ac_status); }; then
4910 { echo "$as_me:$LINENO: result: yes" >&5
4911 echo "${ECHO_T}yes" >&6; }
4913 { { echo "$as_me:$LINENO: error: too old" >&5
4914 echo "$as_me: error: too old" >&2;}
4915 { (exit 1); exit 1; }; }
4918 am_display_PYTHON
=$PYTHON
4920 # Otherwise, try each interpreter until we find one that satisfies
4922 { echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.2.1" >&5
4923 echo $ECHO_N "checking for a Python interpreter with version >= 2.2.1... $ECHO_C" >&6; }
4924 if test "${am_cv_pathless_PYTHON+set}" = set; then
4925 echo $ECHO_N "(cached) $ECHO_C" >&6
4928 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
4929 test "$am_cv_pathless_PYTHON" = none
&& break
4930 prog
="import sys, string
4931 # split strings by '.' and convert to numeric. Append some zeros
4932 # because we need at least 4 digits for the hex conversion.
4933 minver = map(int, string.split('2.2.1', '.')) + [0, 0, 0]
4935 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
4936 sys.exit(sys.hexversion < minverhex)"
4937 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
4938 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
4940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4941 (exit $ac_status); }; then
4947 { echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
4948 echo "${ECHO_T}$am_cv_pathless_PYTHON" >&6; }
4949 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
4950 if test "$am_cv_pathless_PYTHON" = none
; then
4953 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
4954 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
4955 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4957 if test "${ac_cv_path_PYTHON+set}" = set; then
4958 echo $ECHO_N "(cached) $ECHO_C" >&6
4962 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
4965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4969 test -z "$as_dir" && as_dir
=.
4970 for ac_exec_ext
in '' $ac_executable_extensions; do
4971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4972 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
4973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4983 PYTHON
=$ac_cv_path_PYTHON
4984 if test -n "$PYTHON"; then
4985 { echo "$as_me:$LINENO: result: $PYTHON" >&5
4986 echo "${ECHO_T}$PYTHON" >&6; }
4988 { echo "$as_me:$LINENO: result: no" >&5
4989 echo "${ECHO_T}no" >&6; }
4994 am_display_PYTHON
=$am_cv_pathless_PYTHON
4998 if test "$PYTHON" = :; then
4999 { { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
5000 echo "$as_me: error: no suitable Python interpreter found" >&2;}
5001 { (exit 1); exit 1; }; }
5005 { echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
5006 echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; }
5007 if test "${am_cv_python_version+set}" = set; then
5008 echo $ECHO_N "(cached) $ECHO_C" >&6
5010 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
5012 { echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
5013 echo "${ECHO_T}$am_cv_python_version" >&6; }
5014 PYTHON_VERSION
=$am_cv_python_version
5018 PYTHON_PREFIX
='${prefix}'
5020 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5024 { echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
5025 echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; }
5026 if test "${am_cv_python_platform+set}" = set; then
5027 echo $ECHO_N "(cached) $ECHO_C" >&6
5029 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
5031 { echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
5032 echo "${ECHO_T}$am_cv_python_platform" >&6; }
5033 PYTHON_PLATFORM
=$am_cv_python_platform
5038 { echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
5039 echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6; }
5040 if test "${am_cv_python_pythondir+set}" = set; then
5041 echo $ECHO_N "(cached) $ECHO_C" >&6
5043 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5044 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5046 { echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
5047 echo "${ECHO_T}$am_cv_python_pythondir" >&6; }
5048 pythondir
=$am_cv_python_pythondir
5052 pkgpythondir
=\
${pythondir}/$PACKAGE
5055 { echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
5056 echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6; }
5057 if test "${am_cv_python_pyexecdir+set}" = set; then
5058 echo $ECHO_N "(cached) $ECHO_C" >&6
5060 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5061 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5063 { echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
5064 echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; }
5065 pyexecdir
=$am_cv_python_pyexecdir
5069 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5087 # Check for some includes for the X11 HIDD and the kernel
5090 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5091 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5092 if test "${ac_cv_path_GREP+set}" = set; then
5093 echo $ECHO_N "(cached) $ECHO_C" >&6
5095 # Extract the first word of "grep ggrep" to use in msg output
5096 if test -z "$GREP"; then
5097 set dummy
grep ggrep
; ac_prog_name
=$2
5098 if test "${ac_cv_path_GREP+set}" = set; then
5099 echo $ECHO_N "(cached) $ECHO_C" >&6
5101 ac_path_GREP_found
=false
5102 # Loop through the user's path and test for each of PROGNAME-LIST
5103 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5104 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5107 test -z "$as_dir" && as_dir
=.
5108 for ac_prog
in grep ggrep
; do
5109 for ac_exec_ext
in '' $ac_executable_extensions; do
5110 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5111 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5112 # Check for GNU ac_path_GREP and select it if it is found.
5113 # Check for GNU $ac_path_GREP
5114 case `"$ac_path_GREP" --version 2>&1` in
5116 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5119 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5122 cat "conftest.in" "conftest.in" >"conftest.tmp"
5123 mv "conftest.tmp" "conftest.in"
5124 cp "conftest.in" "conftest.nl"
5125 echo 'GREP' >> "conftest.nl"
5126 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5127 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5128 ac_count
=`expr $ac_count + 1`
5129 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5130 # Best one so far, save it but keep looking for a better one
5131 ac_cv_path_GREP
="$ac_path_GREP"
5132 ac_path_GREP_max
=$ac_count
5134 # 10*(2^10) chars as input seems more than enough
5135 test $ac_count -gt 10 && break
5137 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5141 $ac_path_GREP_found && break 3
5151 GREP
="$ac_cv_path_GREP"
5152 if test -z "$GREP"; then
5153 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5154 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5155 { (exit 1); exit 1; }; }
5159 ac_cv_path_GREP
=$GREP
5164 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5165 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5166 GREP
="$ac_cv_path_GREP"
5169 { echo "$as_me:$LINENO: checking for egrep" >&5
5170 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5171 if test "${ac_cv_path_EGREP+set}" = set; then
5172 echo $ECHO_N "(cached) $ECHO_C" >&6
5174 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5175 then ac_cv_path_EGREP
="$GREP -E"
5177 # Extract the first word of "egrep" to use in msg output
5178 if test -z "$EGREP"; then
5179 set dummy
egrep; ac_prog_name
=$2
5180 if test "${ac_cv_path_EGREP+set}" = set; then
5181 echo $ECHO_N "(cached) $ECHO_C" >&6
5183 ac_path_EGREP_found
=false
5184 # Loop through the user's path and test for each of PROGNAME-LIST
5185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5186 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5189 test -z "$as_dir" && as_dir
=.
5190 for ac_prog
in egrep; do
5191 for ac_exec_ext
in '' $ac_executable_extensions; do
5192 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5193 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5194 # Check for GNU ac_path_EGREP and select it if it is found.
5195 # Check for GNU $ac_path_EGREP
5196 case `"$ac_path_EGREP" --version 2>&1` in
5198 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5201 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5204 cat "conftest.in" "conftest.in" >"conftest.tmp"
5205 mv "conftest.tmp" "conftest.in"
5206 cp "conftest.in" "conftest.nl"
5207 echo 'EGREP' >> "conftest.nl"
5208 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5209 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5210 ac_count
=`expr $ac_count + 1`
5211 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5212 # Best one so far, save it but keep looking for a better one
5213 ac_cv_path_EGREP
="$ac_path_EGREP"
5214 ac_path_EGREP_max
=$ac_count
5216 # 10*(2^10) chars as input seems more than enough
5217 test $ac_count -gt 10 && break
5219 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5223 $ac_path_EGREP_found && break 3
5233 EGREP
="$ac_cv_path_EGREP"
5234 if test -z "$EGREP"; then
5235 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5236 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5237 { (exit 1); exit 1; }; }
5241 ac_cv_path_EGREP
=$EGREP
5247 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5248 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5249 EGREP
="$ac_cv_path_EGREP"
5252 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5253 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5254 if test "${ac_cv_header_stdc+set}" = set; then
5255 echo $ECHO_N "(cached) $ECHO_C" >&6
5257 cat >conftest.
$ac_ext <<_ACEOF
5260 cat confdefs.h
>>conftest.
$ac_ext
5261 cat >>conftest.
$ac_ext <<_ACEOF
5262 /* end confdefs.h. */
5276 rm -f conftest.
$ac_objext
5277 if { (ac_try
="$ac_compile"
5279 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5280 *) ac_try_echo=$ac_try;;
5282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5283 (eval "$ac_compile") 2>conftest.er1
5285 grep -v '^ *+' conftest.er1 >conftest.err
5287 cat conftest.err >&5
5288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5289 (exit $ac_status); } && {
5290 test -z "$ac_c_werror_flag" ||
5291 test ! -s conftest.err
5292 } && test -s conftest.$ac_objext; then
5293 ac_cv_header_stdc=yes
5295 echo "$as_me: failed program was:" >&5
5296 sed 's/^/| /' conftest.$ac_ext >&5
5298 ac_cv_header_stdc=no
5301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5303 if test $ac_cv_header_stdc = yes; then
5304 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5305 cat >conftest.$ac_ext <<_ACEOF
5308 cat confdefs.h >>conftest.$ac_ext
5309 cat >>conftest.$ac_ext <<_ACEOF
5310 /* end confdefs.h. */
5314 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5315 $EGREP "memchr" >/dev/null 2>&1; then
5318 ac_cv_header_stdc=no
5324 if test $ac_cv_header_stdc = yes; then
5325 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5326 cat >conftest.$ac_ext <<_ACEOF
5329 cat confdefs.h >>conftest.$ac_ext
5330 cat >>conftest.$ac_ext <<_ACEOF
5331 /* end confdefs.h. */
5335 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5336 $EGREP "free" >/dev/null 2>&1; then
5339 ac_cv_header_stdc=no
5345 if test $ac_cv_header_stdc = yes; then
5346 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5347 if test "$cross_compiling" = yes; then
5350 cat >conftest.$ac_ext <<_ACEOF
5353 cat confdefs.h >>conftest.$ac_ext
5354 cat >>conftest.$ac_ext <<_ACEOF
5355 /* end confdefs.h. */
5358 #if ((' ' & 0x0FF) == 0x020)
5359 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5360 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5362 # define ISLOWER(c) \
5363 (('a' <= (c) && (c) <= 'i') \
5364 || ('j' <= (c) && (c) <= 'r') \
5365 || ('s' <= (c) && (c) <= 'z'))
5366 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5369 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5374 for (i = 0; i < 256; i++)
5375 if (XOR (islower (i), ISLOWER (i))
5376 || toupper (i) != TOUPPER (i))
5381 rm -f conftest$ac_exeext
5382 if { (ac_try="$ac_link"
5384 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5385 *) ac_try_echo
=$ac_try;;
5387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5388 (eval "$ac_link") 2>&5
5390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5391 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5392 { (case "(($ac_try" in
5393 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5394 *) ac_try_echo=$ac_try;;
5396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5397 (eval "$ac_try") 2>&5
5399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5400 (exit $ac_status); }; }; then
5403 echo "$as_me: program exited with status $ac_status" >&5
5404 echo "$as_me: failed program was:" >&5
5405 sed 's/^/| /' conftest.$ac_ext >&5
5408 ac_cv_header_stdc=no
5410 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5416 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5417 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5418 if test $ac_cv_header_stdc = yes; then
5420 cat >>confdefs.h <<\_ACEOF
5421 #define STDC_HEADERS 1
5426 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5436 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5437 inttypes.h stdint.h unistd.h
5439 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5440 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5441 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5442 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5443 echo $ECHO_N "(cached) $ECHO_C" >&6
5445 cat >conftest.$ac_ext <<_ACEOF
5448 cat confdefs.h >>conftest.$ac_ext
5449 cat >>conftest.$ac_ext <<_ACEOF
5450 /* end confdefs.h. */
5451 $ac_includes_default
5453 #include <$ac_header>
5455 rm -f conftest.$ac_objext
5456 if { (ac_try="$ac_compile"
5458 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5459 *) ac_try_echo
=$ac_try;;
5461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5462 (eval "$ac_compile") 2>conftest.er1
5464 grep -v '^ *+' conftest.er1
>conftest.err
5466 cat conftest.err
>&5
5467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5468 (exit $ac_status); } && {
5469 test -z "$ac_c_werror_flag" ||
5470 test ! -s conftest.err
5471 } && test -s conftest.
$ac_objext; then
5472 eval "$as_ac_Header=yes"
5474 echo "$as_me: failed program was:" >&5
5475 sed 's/^/| /' conftest.
$ac_ext >&5
5477 eval "$as_ac_Header=no"
5480 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5482 ac_res
=`eval echo '${'$as_ac_Header'}'`
5483 { echo "$as_me:$LINENO: result: $ac_res" >&5
5484 echo "${ECHO_T}$ac_res" >&6; }
5485 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5486 cat >>confdefs.h
<<_ACEOF
5487 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5504 for ac_header
in sys
/ipc.h sys
/shm.h \
5505 sys
/mmap.h sys
/mman.h sysexits.h \
5506 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
5509 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5510 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5511 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5513 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5514 echo $ECHO_N "(cached) $ECHO_C" >&6
5516 ac_res
=`eval echo '${'$as_ac_Header'}'`
5517 { echo "$as_me:$LINENO: result: $ac_res" >&5
5518 echo "${ECHO_T}$ac_res" >&6; }
5520 # Is the header compilable?
5521 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5522 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5523 cat >conftest.
$ac_ext <<_ACEOF
5526 cat confdefs.h
>>conftest.
$ac_ext
5527 cat >>conftest.
$ac_ext <<_ACEOF
5528 /* end confdefs.h. */
5529 $ac_includes_default
5530 #include <$ac_header>
5532 rm -f conftest.
$ac_objext
5533 if { (ac_try
="$ac_compile"
5535 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5536 *) ac_try_echo=$ac_try;;
5538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5539 (eval "$ac_compile") 2>conftest.er1
5541 grep -v '^ *+' conftest.er1 >conftest.err
5543 cat conftest.err >&5
5544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5545 (exit $ac_status); } && {
5546 test -z "$ac_c_werror_flag" ||
5547 test ! -s conftest.err
5548 } && test -s conftest.$ac_objext; then
5549 ac_header_compiler=yes
5551 echo "$as_me: failed program was:" >&5
5552 sed 's/^/| /' conftest.$ac_ext >&5
5554 ac_header_compiler=no
5557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5558 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5559 echo "${ECHO_T}$ac_header_compiler" >&6; }
5561 # Is the header present?
5562 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5563 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5564 cat >conftest.$ac_ext <<_ACEOF
5567 cat confdefs.h >>conftest.$ac_ext
5568 cat >>conftest.$ac_ext <<_ACEOF
5569 /* end confdefs.h. */
5570 #include <$ac_header>
5572 if { (ac_try="$ac_cpp conftest.$ac_ext"
5574 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5575 *) ac_try_echo
=$ac_try;;
5577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5578 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5580 grep -v '^ *+' conftest.er1
>conftest.err
5582 cat conftest.err
>&5
5583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5584 (exit $ac_status); } >/dev
/null
&& {
5585 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5586 test ! -s conftest.err
5588 ac_header_preproc
=yes
5590 echo "$as_me: failed program was:" >&5
5591 sed 's/^/| /' conftest.
$ac_ext >&5
5593 ac_header_preproc
=no
5596 rm -f conftest.err conftest.
$ac_ext
5597 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5598 echo "${ECHO_T}$ac_header_preproc" >&6; }
5600 # So? What about this header?
5601 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5603 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5604 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5605 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5606 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5607 ac_header_preproc
=yes
5610 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5611 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5612 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5613 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5614 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5615 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5616 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5617 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5618 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5619 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5620 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5621 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5625 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5627 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5628 echo $ECHO_N "(cached) $ECHO_C" >&6
5630 eval "$as_ac_Header=\$ac_header_preproc"
5632 ac_res
=`eval echo '${'$as_ac_Header'}'`
5633 { echo "$as_me:$LINENO: result: $ac_res" >&5
5634 echo "${ECHO_T}$ac_res" >&6; }
5637 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5638 cat >>confdefs.h
<<_ACEOF
5639 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5648 for ac_header
in sys
/mount.h
5650 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5651 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5652 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5653 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5654 echo $ECHO_N "(cached) $ECHO_C" >&6
5656 cat >conftest.
$ac_ext <<_ACEOF
5659 cat confdefs.h
>>conftest.
$ac_ext
5660 cat >>conftest.
$ac_ext <<_ACEOF
5661 /* end confdefs.h. */
5662 #include <sys/param.h>
5664 #include <$ac_header>
5666 rm -f conftest.
$ac_objext
5667 if { (ac_try
="$ac_compile"
5669 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5670 *) ac_try_echo=$ac_try;;
5672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5673 (eval "$ac_compile") 2>conftest.er1
5675 grep -v '^ *+' conftest.er1 >conftest.err
5677 cat conftest.err >&5
5678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5679 (exit $ac_status); } && {
5680 test -z "$ac_c_werror_flag" ||
5681 test ! -s conftest.err
5682 } && test -s conftest.$ac_objext; then
5683 eval "$as_ac_Header=yes"
5685 echo "$as_me: failed program was:" >&5
5686 sed 's/^/| /' conftest.$ac_ext >&5
5688 eval "$as_ac_Header=no"
5691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5693 ac_res=`eval echo '${'$as_ac_Header'}'`
5694 { echo "$as_me:$LINENO: result: $ac_res" >&5
5695 echo "${ECHO_T}$ac_res" >&6; }
5696 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5697 cat >>confdefs.h <<_ACEOF
5698 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5712 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
5713 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
5714 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
5715 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
5716 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5717 echo $ECHO_N "(cached) $ECHO_C" >&6
5719 cat >conftest.$ac_ext <<_ACEOF
5722 cat confdefs.h >>conftest.$ac_ext
5723 cat >>conftest.$ac_ext <<_ACEOF
5724 /* end confdefs.h. */
5725 #include <sys/types.h>
5737 rm -f conftest.$ac_objext
5738 if { (ac_try="$ac_compile"
5740 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5741 *) ac_try_echo
=$ac_try;;
5743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5744 (eval "$ac_compile") 2>conftest.er1
5746 grep -v '^ *+' conftest.er1
>conftest.err
5748 cat conftest.err
>&5
5749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5750 (exit $ac_status); } && {
5751 test -z "$ac_c_werror_flag" ||
5752 test ! -s conftest.err
5753 } && test -s conftest.
$ac_objext; then
5754 eval "$as_ac_Header=yes"
5756 echo "$as_me: failed program was:" >&5
5757 sed 's/^/| /' conftest.
$ac_ext >&5
5759 eval "$as_ac_Header=no"
5762 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5764 ac_res
=`eval echo '${'$as_ac_Header'}'`
5765 { echo "$as_me:$LINENO: result: $ac_res" >&5
5766 echo "${ECHO_T}$ac_res" >&6; }
5767 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5768 cat >>confdefs.h
<<_ACEOF
5769 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5772 ac_header_dirent
=$ac_hdr; break
5776 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5777 if test $ac_header_dirent = dirent.h
; then
5778 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
5779 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
5780 if test "${ac_cv_search_opendir+set}" = set; then
5781 echo $ECHO_N "(cached) $ECHO_C" >&6
5783 ac_func_search_save_LIBS
=$LIBS
5784 cat >conftest.
$ac_ext <<_ACEOF
5787 cat confdefs.h
>>conftest.
$ac_ext
5788 cat >>conftest.
$ac_ext <<_ACEOF
5789 /* end confdefs.h. */
5791 /* Override any GCC internal prototype to avoid an error.
5792 Use char because int might match the return type of a GCC
5793 builtin and then its argument prototype would still apply. */
5806 for ac_lib
in '' dir
; do
5807 if test -z "$ac_lib"; then
5808 ac_res
="none required"
5811 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5813 rm -f conftest.
$ac_objext conftest
$ac_exeext
5814 if { (ac_try
="$ac_link"
5816 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5817 *) ac_try_echo=$ac_try;;
5819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5820 (eval "$ac_link") 2>conftest.er1
5822 grep -v '^ *+' conftest.er1 >conftest.err
5824 cat conftest.err >&5
5825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5826 (exit $ac_status); } && {
5827 test -z "$ac_c_werror_flag" ||
5828 test ! -s conftest.err
5829 } && test -s conftest$ac_exeext &&
5830 $as_test_x conftest$ac_exeext; then
5831 ac_cv_search_opendir=$ac_res
5833 echo "$as_me: failed program was:" >&5
5834 sed 's/^/| /' conftest.$ac_ext >&5
5839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5841 if test "${ac_cv_search_opendir+set}" = set; then
5845 if test "${ac_cv_search_opendir+set}" = set; then
5848 ac_cv_search_opendir=no
5851 LIBS=$ac_func_search_save_LIBS
5853 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5854 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
5855 ac_res=$ac_cv_search_opendir
5856 if test "$ac_res" != no; then
5857 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5862 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
5863 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
5864 if test "${ac_cv_search_opendir+set}" = set; then
5865 echo $ECHO_N "(cached) $ECHO_C" >&6
5867 ac_func_search_save_LIBS=$LIBS
5868 cat >conftest.$ac_ext <<_ACEOF
5871 cat confdefs.h >>conftest.$ac_ext
5872 cat >>conftest.$ac_ext <<_ACEOF
5873 /* end confdefs.h. */
5875 /* Override any GCC internal prototype to avoid an error.
5876 Use char because int might match the return type of a GCC
5877 builtin and then its argument prototype would still apply. */
5890 for ac_lib in '' x; do
5891 if test -z "$ac_lib"; then
5892 ac_res="none required"
5895 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5897 rm -f conftest.$ac_objext conftest$ac_exeext
5898 if { (ac_try="$ac_link"
5900 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5901 *) ac_try_echo
=$ac_try;;
5903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5904 (eval "$ac_link") 2>conftest.er1
5906 grep -v '^ *+' conftest.er1
>conftest.err
5908 cat conftest.err
>&5
5909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5910 (exit $ac_status); } && {
5911 test -z "$ac_c_werror_flag" ||
5912 test ! -s conftest.err
5913 } && test -s conftest
$ac_exeext &&
5914 $as_test_x conftest
$ac_exeext; then
5915 ac_cv_search_opendir
=$ac_res
5917 echo "$as_me: failed program was:" >&5
5918 sed 's/^/| /' conftest.
$ac_ext >&5
5923 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5925 if test "${ac_cv_search_opendir+set}" = set; then
5929 if test "${ac_cv_search_opendir+set}" = set; then
5932 ac_cv_search_opendir
=no
5935 LIBS
=$ac_func_search_save_LIBS
5937 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5938 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
5939 ac_res
=$ac_cv_search_opendir
5940 if test "$ac_res" != no
; then
5941 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5947 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
5948 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
5949 if test "${ac_cv_header_stat_broken+set}" = set; then
5950 echo $ECHO_N "(cached) $ECHO_C" >&6
5952 cat >conftest.
$ac_ext <<_ACEOF
5955 cat confdefs.h
>>conftest.
$ac_ext
5956 cat >>conftest.
$ac_ext <<_ACEOF
5957 /* end confdefs.h. */
5958 #include <sys/types.h>
5959 #include <sys/stat.h>
5961 #if defined S_ISBLK && defined S_IFDIR
5962 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5965 #if defined S_ISBLK && defined S_IFCHR
5966 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5969 #if defined S_ISLNK && defined S_IFREG
5970 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5973 #if defined S_ISSOCK && defined S_IFREG
5974 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5978 rm -f conftest.
$ac_objext
5979 if { (ac_try
="$ac_compile"
5981 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5982 *) ac_try_echo=$ac_try;;
5984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5985 (eval "$ac_compile") 2>conftest.er1
5987 grep -v '^ *+' conftest.er1 >conftest.err
5989 cat conftest.err >&5
5990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5991 (exit $ac_status); } && {
5992 test -z "$ac_c_werror_flag" ||
5993 test ! -s conftest.err
5994 } && test -s conftest.$ac_objext; then
5995 ac_cv_header_stat_broken=no
5997 echo "$as_me: failed program was:" >&5
5998 sed 's/^/| /' conftest.$ac_ext >&5
6000 ac_cv_header_stat_broken=yes
6003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6005 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
6006 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
6007 if test $ac_cv_header_stat_broken = yes; then
6009 cat >>confdefs.h <<\_ACEOF
6010 #define STAT_MACROS_BROKEN 1
6015 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6016 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6017 if test "${ac_cv_header_stdc+set}" = set; then
6018 echo $ECHO_N "(cached) $ECHO_C" >&6
6020 cat >conftest.$ac_ext <<_ACEOF
6023 cat confdefs.h >>conftest.$ac_ext
6024 cat >>conftest.$ac_ext <<_ACEOF
6025 /* end confdefs.h. */
6039 rm -f conftest.$ac_objext
6040 if { (ac_try="$ac_compile"
6042 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6043 *) ac_try_echo
=$ac_try;;
6045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6046 (eval "$ac_compile") 2>conftest.er1
6048 grep -v '^ *+' conftest.er1
>conftest.err
6050 cat conftest.err
>&5
6051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6052 (exit $ac_status); } && {
6053 test -z "$ac_c_werror_flag" ||
6054 test ! -s conftest.err
6055 } && test -s conftest.
$ac_objext; then
6056 ac_cv_header_stdc
=yes
6058 echo "$as_me: failed program was:" >&5
6059 sed 's/^/| /' conftest.
$ac_ext >&5
6061 ac_cv_header_stdc
=no
6064 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6066 if test $ac_cv_header_stdc = yes; then
6067 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6068 cat >conftest.
$ac_ext <<_ACEOF
6071 cat confdefs.h
>>conftest.
$ac_ext
6072 cat >>conftest.
$ac_ext <<_ACEOF
6073 /* end confdefs.h. */
6077 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6078 $EGREP "memchr" >/dev
/null
2>&1; then
6081 ac_cv_header_stdc
=no
6087 if test $ac_cv_header_stdc = yes; then
6088 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6089 cat >conftest.
$ac_ext <<_ACEOF
6092 cat confdefs.h
>>conftest.
$ac_ext
6093 cat >>conftest.
$ac_ext <<_ACEOF
6094 /* end confdefs.h. */
6098 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6099 $EGREP "free" >/dev
/null
2>&1; then
6102 ac_cv_header_stdc
=no
6108 if test $ac_cv_header_stdc = yes; then
6109 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6110 if test "$cross_compiling" = yes; then
6113 cat >conftest.
$ac_ext <<_ACEOF
6116 cat confdefs.h
>>conftest.
$ac_ext
6117 cat >>conftest.
$ac_ext <<_ACEOF
6118 /* end confdefs.h. */
6121 #if ((' ' & 0x0FF) == 0x020)
6122 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6123 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6125 # define ISLOWER(c) \
6126 (('a' <= (c) && (c) <= 'i') \
6127 || ('j' <= (c) && (c) <= 'r') \
6128 || ('s' <= (c) && (c) <= 'z'))
6129 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6132 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6137 for (i = 0; i < 256; i++)
6138 if (XOR (islower (i), ISLOWER (i))
6139 || toupper (i) != TOUPPER (i))
6144 rm -f conftest
$ac_exeext
6145 if { (ac_try
="$ac_link"
6147 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6148 *) ac_try_echo=$ac_try;;
6150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6151 (eval "$ac_link") 2>&5
6153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6154 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6155 { (case "(($ac_try" in
6156 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6157 *) ac_try_echo
=$ac_try;;
6159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6160 (eval "$ac_try") 2>&5
6162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6163 (exit $ac_status); }; }; then
6166 echo "$as_me: program exited with status $ac_status" >&5
6167 echo "$as_me: failed program was:" >&5
6168 sed 's/^/| /' conftest.
$ac_ext >&5
6171 ac_cv_header_stdc
=no
6173 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6179 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6180 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6181 if test $ac_cv_header_stdc = yes; then
6183 cat >>confdefs.h
<<\_ACEOF
6184 #define STDC_HEADERS 1
6189 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
6190 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
6191 if test "${ac_cv_header_sys_wait_h+set}" = set; then
6192 echo $ECHO_N "(cached) $ECHO_C" >&6
6194 cat >conftest.
$ac_ext <<_ACEOF
6197 cat confdefs.h
>>conftest.
$ac_ext
6198 cat >>conftest.
$ac_ext <<_ACEOF
6199 /* end confdefs.h. */
6200 #include <sys/types.h>
6201 #include <sys/wait.h>
6203 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6206 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6214 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6219 rm -f conftest.
$ac_objext
6220 if { (ac_try
="$ac_compile"
6222 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6223 *) ac_try_echo=$ac_try;;
6225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6226 (eval "$ac_compile") 2>conftest.er1
6228 grep -v '^ *+' conftest.er1 >conftest.err
6230 cat conftest.err >&5
6231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6232 (exit $ac_status); } && {
6233 test -z "$ac_c_werror_flag" ||
6234 test ! -s conftest.err
6235 } && test -s conftest.$ac_objext; then
6236 ac_cv_header_sys_wait_h=yes
6238 echo "$as_me: failed program was:" >&5
6239 sed 's/^/| /' conftest.$ac_ext >&5
6241 ac_cv_header_sys_wait_h=no
6244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6246 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
6247 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
6248 if test $ac_cv_header_sys_wait_h = yes; then
6250 cat >>confdefs.h <<\_ACEOF
6251 #define HAVE_SYS_WAIT_H 1
6256 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6257 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
6258 if test "${ac_cv_header_time+set}" = set; then
6259 echo $ECHO_N "(cached) $ECHO_C" >&6
6261 cat >conftest.$ac_ext <<_ACEOF
6264 cat confdefs.h >>conftest.$ac_ext
6265 cat >>conftest.$ac_ext <<_ACEOF
6266 /* end confdefs.h. */
6267 #include <sys/types.h>
6268 #include <sys/time.h>
6274 if ((struct tm *) 0)
6280 rm -f conftest.$ac_objext
6281 if { (ac_try="$ac_compile"
6283 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6284 *) ac_try_echo
=$ac_try;;
6286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6287 (eval "$ac_compile") 2>conftest.er1
6289 grep -v '^ *+' conftest.er1
>conftest.err
6291 cat conftest.err
>&5
6292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6293 (exit $ac_status); } && {
6294 test -z "$ac_c_werror_flag" ||
6295 test ! -s conftest.err
6296 } && test -s conftest.
$ac_objext; then
6297 ac_cv_header_time
=yes
6299 echo "$as_me: failed program was:" >&5
6300 sed 's/^/| /' conftest.
$ac_ext >&5
6302 ac_cv_header_time
=no
6305 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6307 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6308 echo "${ECHO_T}$ac_cv_header_time" >&6; }
6309 if test $ac_cv_header_time = yes; then
6311 cat >>confdefs.h
<<\_ACEOF
6312 #define TIME_WITH_SYS_TIME 1
6317 { echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6318 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6; }
6319 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6320 echo $ECHO_N "(cached) $ECHO_C" >&6
6322 cat >conftest.
$ac_ext <<_ACEOF
6325 cat confdefs.h
>>conftest.
$ac_ext
6326 cat >>conftest.
$ac_ext <<_ACEOF
6327 /* end confdefs.h. */
6328 $ac_includes_default
6332 static struct stat ac_aggr;
6333 if (ac_aggr.st_blksize)
6339 rm -f conftest.
$ac_objext
6340 if { (ac_try
="$ac_compile"
6342 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6343 *) ac_try_echo=$ac_try;;
6345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6346 (eval "$ac_compile") 2>conftest.er1
6348 grep -v '^ *+' conftest.er1 >conftest.err
6350 cat conftest.err >&5
6351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6352 (exit $ac_status); } && {
6353 test -z "$ac_c_werror_flag" ||
6354 test ! -s conftest.err
6355 } && test -s conftest.$ac_objext; then
6356 ac_cv_member_struct_stat_st_blksize=yes
6358 echo "$as_me: failed program was:" >&5
6359 sed 's/^/| /' conftest.$ac_ext >&5
6361 cat >conftest.$ac_ext <<_ACEOF
6364 cat confdefs.h >>conftest.$ac_ext
6365 cat >>conftest.$ac_ext <<_ACEOF
6366 /* end confdefs.h. */
6367 $ac_includes_default
6371 static struct stat ac_aggr;
6372 if (sizeof ac_aggr.st_blksize)
6378 rm -f conftest.$ac_objext
6379 if { (ac_try="$ac_compile"
6381 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6382 *) ac_try_echo
=$ac_try;;
6384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6385 (eval "$ac_compile") 2>conftest.er1
6387 grep -v '^ *+' conftest.er1
>conftest.err
6389 cat conftest.err
>&5
6390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6391 (exit $ac_status); } && {
6392 test -z "$ac_c_werror_flag" ||
6393 test ! -s conftest.err
6394 } && test -s conftest.
$ac_objext; then
6395 ac_cv_member_struct_stat_st_blksize
=yes
6397 echo "$as_me: failed program was:" >&5
6398 sed 's/^/| /' conftest.
$ac_ext >&5
6400 ac_cv_member_struct_stat_st_blksize
=no
6403 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6406 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6408 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
6409 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6; }
6410 if test $ac_cv_member_struct_stat_st_blksize = yes; then
6412 cat >>confdefs.h
<<_ACEOF
6413 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6417 cat >>confdefs.h
<<\_ACEOF
6418 #define HAVE_ST_BLKSIZE 1
6424 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
6425 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
6426 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
6427 echo $ECHO_N "(cached) $ECHO_C" >&6
6429 cat >conftest.
$ac_ext <<_ACEOF
6432 cat confdefs.h
>>conftest.
$ac_ext
6433 cat >>conftest.
$ac_ext <<_ACEOF
6434 /* end confdefs.h. */
6435 $ac_includes_default
6439 static struct stat ac_aggr;
6440 if (ac_aggr.st_blocks)
6446 rm -f conftest.
$ac_objext
6447 if { (ac_try
="$ac_compile"
6449 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6450 *) ac_try_echo=$ac_try;;
6452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6453 (eval "$ac_compile") 2>conftest.er1
6455 grep -v '^ *+' conftest.er1 >conftest.err
6457 cat conftest.err >&5
6458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6459 (exit $ac_status); } && {
6460 test -z "$ac_c_werror_flag" ||
6461 test ! -s conftest.err
6462 } && test -s conftest.$ac_objext; then
6463 ac_cv_member_struct_stat_st_blocks=yes
6465 echo "$as_me: failed program was:" >&5
6466 sed 's/^/| /' conftest.$ac_ext >&5
6468 cat >conftest.$ac_ext <<_ACEOF
6471 cat confdefs.h >>conftest.$ac_ext
6472 cat >>conftest.$ac_ext <<_ACEOF
6473 /* end confdefs.h. */
6474 $ac_includes_default
6478 static struct stat ac_aggr;
6479 if (sizeof ac_aggr.st_blocks)
6485 rm -f conftest.$ac_objext
6486 if { (ac_try="$ac_compile"
6488 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6489 *) ac_try_echo
=$ac_try;;
6491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6492 (eval "$ac_compile") 2>conftest.er1
6494 grep -v '^ *+' conftest.er1
>conftest.err
6496 cat conftest.err
>&5
6497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6498 (exit $ac_status); } && {
6499 test -z "$ac_c_werror_flag" ||
6500 test ! -s conftest.err
6501 } && test -s conftest.
$ac_objext; then
6502 ac_cv_member_struct_stat_st_blocks
=yes
6504 echo "$as_me: failed program was:" >&5
6505 sed 's/^/| /' conftest.
$ac_ext >&5
6507 ac_cv_member_struct_stat_st_blocks
=no
6510 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6513 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6515 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
6516 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
6517 if test $ac_cv_member_struct_stat_st_blocks = yes; then
6519 cat >>confdefs.h
<<_ACEOF
6520 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6524 cat >>confdefs.h
<<\_ACEOF
6525 #define HAVE_ST_BLOCKS 1
6529 case " $LIBOBJS " in
6530 *" fileblocks.$ac_objext "* ) ;;
6531 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6538 { echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6539 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6; }
6540 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6541 echo $ECHO_N "(cached) $ECHO_C" >&6
6543 cat >conftest.
$ac_ext <<_ACEOF
6546 cat confdefs.h
>>conftest.
$ac_ext
6547 cat >>conftest.
$ac_ext <<_ACEOF
6548 /* end confdefs.h. */
6549 $ac_includes_default
6553 static struct stat ac_aggr;
6554 if (ac_aggr.st_rdev)
6560 rm -f conftest.
$ac_objext
6561 if { (ac_try
="$ac_compile"
6563 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6564 *) ac_try_echo=$ac_try;;
6566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6567 (eval "$ac_compile") 2>conftest.er1
6569 grep -v '^ *+' conftest.er1 >conftest.err
6571 cat conftest.err >&5
6572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6573 (exit $ac_status); } && {
6574 test -z "$ac_c_werror_flag" ||
6575 test ! -s conftest.err
6576 } && test -s conftest.$ac_objext; then
6577 ac_cv_member_struct_stat_st_rdev=yes
6579 echo "$as_me: failed program was:" >&5
6580 sed 's/^/| /' conftest.$ac_ext >&5
6582 cat >conftest.$ac_ext <<_ACEOF
6585 cat confdefs.h >>conftest.$ac_ext
6586 cat >>conftest.$ac_ext <<_ACEOF
6587 /* end confdefs.h. */
6588 $ac_includes_default
6592 static struct stat ac_aggr;
6593 if (sizeof ac_aggr.st_rdev)
6599 rm -f conftest.$ac_objext
6600 if { (ac_try="$ac_compile"
6602 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6603 *) ac_try_echo
=$ac_try;;
6605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6606 (eval "$ac_compile") 2>conftest.er1
6608 grep -v '^ *+' conftest.er1
>conftest.err
6610 cat conftest.err
>&5
6611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6612 (exit $ac_status); } && {
6613 test -z "$ac_c_werror_flag" ||
6614 test ! -s conftest.err
6615 } && test -s conftest.
$ac_objext; then
6616 ac_cv_member_struct_stat_st_rdev
=yes
6618 echo "$as_me: failed program was:" >&5
6619 sed 's/^/| /' conftest.
$ac_ext >&5
6621 ac_cv_member_struct_stat_st_rdev
=no
6624 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6627 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6629 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
6630 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6; }
6631 if test $ac_cv_member_struct_stat_st_rdev = yes; then
6633 cat >>confdefs.h
<<_ACEOF
6634 #define HAVE_STRUCT_STAT_ST_RDEV 1
6638 cat >>confdefs.h
<<\_ACEOF
6639 #define HAVE_ST_RDEV 1
6645 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6646 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
6647 if test "${ac_cv_struct_tm+set}" = set; then
6648 echo $ECHO_N "(cached) $ECHO_C" >&6
6650 cat >conftest.
$ac_ext <<_ACEOF
6653 cat confdefs.h
>>conftest.
$ac_ext
6654 cat >>conftest.
$ac_ext <<_ACEOF
6655 /* end confdefs.h. */
6656 #include <sys/types.h>
6663 int *p = &tm.tm_sec;
6669 rm -f conftest.
$ac_objext
6670 if { (ac_try
="$ac_compile"
6672 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6673 *) ac_try_echo=$ac_try;;
6675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6676 (eval "$ac_compile") 2>conftest.er1
6678 grep -v '^ *+' conftest.er1 >conftest.err
6680 cat conftest.err >&5
6681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6682 (exit $ac_status); } && {
6683 test -z "$ac_c_werror_flag" ||
6684 test ! -s conftest.err
6685 } && test -s conftest.$ac_objext; then
6686 ac_cv_struct_tm=time.h
6688 echo "$as_me: failed program was:" >&5
6689 sed 's/^/| /' conftest.$ac_ext >&5
6691 ac_cv_struct_tm=sys/time.h
6694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6696 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6697 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
6698 if test $ac_cv_struct_tm = sys/time.h; then
6700 cat >>confdefs.h <<\_ACEOF
6701 #define TM_IN_SYS_TIME 1
6706 { echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
6707 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6; }
6708 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
6709 echo $ECHO_N "(cached) $ECHO_C" >&6
6711 cat >conftest.$ac_ext <<_ACEOF
6714 cat confdefs.h >>conftest.$ac_ext
6715 cat >>conftest.$ac_ext <<_ACEOF
6716 /* end confdefs.h. */
6717 #include <sys/types.h>
6718 #include <$ac_cv_struct_tm>
6724 static struct tm ac_aggr;
6725 if (ac_aggr.tm_zone)
6731 rm -f conftest.$ac_objext
6732 if { (ac_try="$ac_compile"
6734 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6735 *) ac_try_echo
=$ac_try;;
6737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6738 (eval "$ac_compile") 2>conftest.er1
6740 grep -v '^ *+' conftest.er1
>conftest.err
6742 cat conftest.err
>&5
6743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6744 (exit $ac_status); } && {
6745 test -z "$ac_c_werror_flag" ||
6746 test ! -s conftest.err
6747 } && test -s conftest.
$ac_objext; then
6748 ac_cv_member_struct_tm_tm_zone
=yes
6750 echo "$as_me: failed program was:" >&5
6751 sed 's/^/| /' conftest.
$ac_ext >&5
6753 cat >conftest.
$ac_ext <<_ACEOF
6756 cat confdefs.h
>>conftest.
$ac_ext
6757 cat >>conftest.
$ac_ext <<_ACEOF
6758 /* end confdefs.h. */
6759 #include <sys/types.h>
6760 #include <$ac_cv_struct_tm>
6766 static struct tm ac_aggr;
6767 if (sizeof ac_aggr.tm_zone)
6773 rm -f conftest.
$ac_objext
6774 if { (ac_try
="$ac_compile"
6776 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6777 *) ac_try_echo=$ac_try;;
6779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6780 (eval "$ac_compile") 2>conftest.er1
6782 grep -v '^ *+' conftest.er1 >conftest.err
6784 cat conftest.err >&5
6785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6786 (exit $ac_status); } && {
6787 test -z "$ac_c_werror_flag" ||
6788 test ! -s conftest.err
6789 } && test -s conftest.$ac_objext; then
6790 ac_cv_member_struct_tm_tm_zone=yes
6792 echo "$as_me: failed program was:" >&5
6793 sed 's/^/| /' conftest.$ac_ext >&5
6795 ac_cv_member_struct_tm_tm_zone=no
6798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6803 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
6804 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6; }
6805 if test $ac_cv_member_struct_tm_tm_zone = yes; then
6807 cat >>confdefs.h <<_ACEOF
6808 #define HAVE_STRUCT_TM_TM_ZONE 1
6814 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6816 cat >>confdefs.h <<\_ACEOF
6817 #define HAVE_TM_ZONE 1
6821 { echo "$as_me:$LINENO: checking whether tzname is declared" >&5
6822 echo $ECHO_N "checking whether tzname is declared... $ECHO_C" >&6; }
6823 if test "${ac_cv_have_decl_tzname+set}" = set; then
6824 echo $ECHO_N "(cached) $ECHO_C" >&6
6826 cat >conftest.$ac_ext <<_ACEOF
6829 cat confdefs.h >>conftest.$ac_ext
6830 cat >>conftest.$ac_ext <<_ACEOF
6831 /* end confdefs.h. */
6845 rm -f conftest.$ac_objext
6846 if { (ac_try="$ac_compile"
6848 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6849 *) ac_try_echo
=$ac_try;;
6851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6852 (eval "$ac_compile") 2>conftest.er1
6854 grep -v '^ *+' conftest.er1
>conftest.err
6856 cat conftest.err
>&5
6857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6858 (exit $ac_status); } && {
6859 test -z "$ac_c_werror_flag" ||
6860 test ! -s conftest.err
6861 } && test -s conftest.
$ac_objext; then
6862 ac_cv_have_decl_tzname
=yes
6864 echo "$as_me: failed program was:" >&5
6865 sed 's/^/| /' conftest.
$ac_ext >&5
6867 ac_cv_have_decl_tzname
=no
6870 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6872 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5
6873 echo "${ECHO_T}$ac_cv_have_decl_tzname" >&6; }
6874 if test $ac_cv_have_decl_tzname = yes; then
6876 cat >>confdefs.h
<<_ACEOF
6877 #define HAVE_DECL_TZNAME 1
6882 cat >>confdefs.h
<<_ACEOF
6883 #define HAVE_DECL_TZNAME 0
6890 { echo "$as_me:$LINENO: checking for tzname" >&5
6891 echo $ECHO_N "checking for tzname... $ECHO_C" >&6; }
6892 if test "${ac_cv_var_tzname+set}" = set; then
6893 echo $ECHO_N "(cached) $ECHO_C" >&6
6895 cat >conftest.
$ac_ext <<_ACEOF
6898 cat confdefs.h
>>conftest.
$ac_ext
6899 cat >>conftest.
$ac_ext <<_ACEOF
6900 /* end confdefs.h. */
6902 #if !HAVE_DECL_TZNAME
6903 extern char *tzname[];
6909 return tzname[0][0];
6914 rm -f conftest.
$ac_objext conftest
$ac_exeext
6915 if { (ac_try
="$ac_link"
6917 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6918 *) ac_try_echo=$ac_try;;
6920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6921 (eval "$ac_link") 2>conftest.er1
6923 grep -v '^ *+' conftest.er1 >conftest.err
6925 cat conftest.err >&5
6926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6927 (exit $ac_status); } && {
6928 test -z "$ac_c_werror_flag" ||
6929 test ! -s conftest.err
6930 } && test -s conftest$ac_exeext &&
6931 $as_test_x conftest$ac_exeext; then
6932 ac_cv_var_tzname=yes
6934 echo "$as_me: failed program was:" >&5
6935 sed 's/^/| /' conftest.$ac_ext >&5
6940 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6941 conftest$ac_exeext conftest.$ac_ext
6943 { echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
6944 echo "${ECHO_T}$ac_cv_var_tzname" >&6; }
6945 if test $ac_cv_var_tzname = yes; then
6947 cat >>confdefs.h <<\_ACEOF
6948 #define HAVE_TZNAME 1
6954 { echo "$as_me:$LINENO: checking for off_t" >&5
6955 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
6956 if test "${ac_cv_type_off_t+set}" = set; then
6957 echo $ECHO_N "(cached) $ECHO_C" >&6
6959 cat >conftest.$ac_ext <<_ACEOF
6962 cat confdefs.h >>conftest.$ac_ext
6963 cat >>conftest.$ac_ext <<_ACEOF
6964 /* end confdefs.h. */
6965 $ac_includes_default
6966 typedef off_t ac__type_new_;
6970 if ((ac__type_new_ *) 0)
6972 if (sizeof (ac__type_new_))
6978 rm -f conftest.$ac_objext
6979 if { (ac_try="$ac_compile"
6981 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6982 *) ac_try_echo
=$ac_try;;
6984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6985 (eval "$ac_compile") 2>conftest.er1
6987 grep -v '^ *+' conftest.er1
>conftest.err
6989 cat conftest.err
>&5
6990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6991 (exit $ac_status); } && {
6992 test -z "$ac_c_werror_flag" ||
6993 test ! -s conftest.err
6994 } && test -s conftest.
$ac_objext; then
6995 ac_cv_type_off_t
=yes
6997 echo "$as_me: failed program was:" >&5
6998 sed 's/^/| /' conftest.
$ac_ext >&5
7003 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7005 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
7006 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
7007 if test $ac_cv_type_off_t = yes; then
7011 cat >>confdefs.h
<<_ACEOF
7012 #define off_t long int
7017 { echo "$as_me:$LINENO: checking for pid_t" >&5
7018 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
7019 if test "${ac_cv_type_pid_t+set}" = set; then
7020 echo $ECHO_N "(cached) $ECHO_C" >&6
7022 cat >conftest.
$ac_ext <<_ACEOF
7025 cat confdefs.h
>>conftest.
$ac_ext
7026 cat >>conftest.
$ac_ext <<_ACEOF
7027 /* end confdefs.h. */
7028 $ac_includes_default
7029 typedef pid_t ac__type_new_;
7033 if ((ac__type_new_ *) 0)
7035 if (sizeof (ac__type_new_))
7041 rm -f conftest.
$ac_objext
7042 if { (ac_try
="$ac_compile"
7044 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7045 *) ac_try_echo=$ac_try;;
7047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7048 (eval "$ac_compile") 2>conftest.er1
7050 grep -v '^ *+' conftest.er1 >conftest.err
7052 cat conftest.err >&5
7053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7054 (exit $ac_status); } && {
7055 test -z "$ac_c_werror_flag" ||
7056 test ! -s conftest.err
7057 } && test -s conftest.$ac_objext; then
7058 ac_cv_type_pid_t=yes
7060 echo "$as_me: failed program was:" >&5
7061 sed 's/^/| /' conftest.$ac_ext >&5
7066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7068 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
7069 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
7070 if test $ac_cv_type_pid_t = yes; then
7074 cat >>confdefs.h <<_ACEOF
7080 { echo "$as_me:$LINENO: checking for size_t" >&5
7081 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
7082 if test "${ac_cv_type_size_t+set}" = set; then
7083 echo $ECHO_N "(cached) $ECHO_C" >&6
7085 cat >conftest.$ac_ext <<_ACEOF
7088 cat confdefs.h >>conftest.$ac_ext
7089 cat >>conftest.$ac_ext <<_ACEOF
7090 /* end confdefs.h. */
7091 $ac_includes_default
7092 typedef size_t ac__type_new_;
7096 if ((ac__type_new_ *) 0)
7098 if (sizeof (ac__type_new_))
7104 rm -f conftest.$ac_objext
7105 if { (ac_try="$ac_compile"
7107 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7108 *) ac_try_echo
=$ac_try;;
7110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7111 (eval "$ac_compile") 2>conftest.er1
7113 grep -v '^ *+' conftest.er1
>conftest.err
7115 cat conftest.err
>&5
7116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7117 (exit $ac_status); } && {
7118 test -z "$ac_c_werror_flag" ||
7119 test ! -s conftest.err
7120 } && test -s conftest.
$ac_objext; then
7121 ac_cv_type_size_t
=yes
7123 echo "$as_me: failed program was:" >&5
7124 sed 's/^/| /' conftest.
$ac_ext >&5
7126 ac_cv_type_size_t
=no
7129 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7131 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
7132 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
7133 if test $ac_cv_type_size_t = yes; then
7137 cat >>confdefs.h
<<_ACEOF
7138 #define size_t unsigned int
7143 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
7144 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
7145 if test "${ac_cv_type_uid_t+set}" = set; then
7146 echo $ECHO_N "(cached) $ECHO_C" >&6
7148 cat >conftest.
$ac_ext <<_ACEOF
7151 cat confdefs.h
>>conftest.
$ac_ext
7152 cat >>conftest.
$ac_ext <<_ACEOF
7153 /* end confdefs.h. */
7154 #include <sys/types.h>
7157 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7158 $EGREP "uid_t" >/dev
/null
2>&1; then
7159 ac_cv_type_uid_t
=yes
7166 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
7167 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
7168 if test $ac_cv_type_uid_t = no
; then
7170 cat >>confdefs.h
<<\_ACEOF
7175 cat >>confdefs.h
<<\_ACEOF
7182 { echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
7183 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6; }
7184 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
7185 echo $ECHO_N "(cached) $ECHO_C" >&6
7187 cat >conftest.
$ac_ext <<_ACEOF
7190 cat confdefs.h
>>conftest.
$ac_ext
7191 cat >>conftest.
$ac_ext <<_ACEOF
7192 /* end confdefs.h. */
7193 $ac_includes_default
7197 static struct tm ac_aggr;
7198 if (ac_aggr.tm_gmtoff)
7204 rm -f conftest.
$ac_objext
7205 if { (ac_try
="$ac_compile"
7207 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7208 *) ac_try_echo=$ac_try;;
7210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7211 (eval "$ac_compile") 2>conftest.er1
7213 grep -v '^ *+' conftest.er1 >conftest.err
7215 cat conftest.err >&5
7216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7217 (exit $ac_status); } && {
7218 test -z "$ac_c_werror_flag" ||
7219 test ! -s conftest.err
7220 } && test -s conftest.$ac_objext; then
7221 ac_cv_member_struct_tm_tm_gmtoff=yes
7223 echo "$as_me: failed program was:" >&5
7224 sed 's/^/| /' conftest.$ac_ext >&5
7226 cat >conftest.$ac_ext <<_ACEOF
7229 cat confdefs.h >>conftest.$ac_ext
7230 cat >>conftest.$ac_ext <<_ACEOF
7231 /* end confdefs.h. */
7232 $ac_includes_default
7236 static struct tm ac_aggr;
7237 if (sizeof ac_aggr.tm_gmtoff)
7243 rm -f conftest.$ac_objext
7244 if { (ac_try="$ac_compile"
7246 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7247 *) ac_try_echo
=$ac_try;;
7249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7250 (eval "$ac_compile") 2>conftest.er1
7252 grep -v '^ *+' conftest.er1
>conftest.err
7254 cat conftest.err
>&5
7255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7256 (exit $ac_status); } && {
7257 test -z "$ac_c_werror_flag" ||
7258 test ! -s conftest.err
7259 } && test -s conftest.
$ac_objext; then
7260 ac_cv_member_struct_tm_tm_gmtoff
=yes
7262 echo "$as_me: failed program was:" >&5
7263 sed 's/^/| /' conftest.
$ac_ext >&5
7265 ac_cv_member_struct_tm_tm_gmtoff
=no
7268 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7271 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7273 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
7274 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6; }
7275 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
7277 cat >>confdefs.h
<<_ACEOF
7278 #define HAVE_STRUCT_TM_TM_GMTOFF 1
7285 # Look for some functions
7300 for ac_func
in getpagesize kqueue statfs statvfs \
7301 clone kse_create rfork_thread thr_create sa_register \
7302 getcontext makecontext setcontext sigaltstack swapcontext
7304 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7305 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7307 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7308 echo $ECHO_N "(cached) $ECHO_C" >&6
7310 cat >conftest.
$ac_ext <<_ACEOF
7313 cat confdefs.h
>>conftest.
$ac_ext
7314 cat >>conftest.
$ac_ext <<_ACEOF
7315 /* end confdefs.h. */
7316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7318 #define $ac_func innocuous_$ac_func
7320 /* System header to define __stub macros and hopefully few prototypes,
7321 which can conflict with char $ac_func (); below.
7322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7323 <limits.h> exists even on freestanding compilers. */
7326 # include <limits.h>
7328 # include <assert.h>
7333 /* Override any GCC internal prototype to avoid an error.
7334 Use char because int might match the return type of a GCC
7335 builtin and then its argument prototype would still apply. */
7340 /* The GNU C library defines this for functions which it implements
7341 to always fail with ENOSYS. Some functions are actually named
7342 something starting with __ and the normal name is an alias. */
7343 #if defined __stub_$ac_func || defined __stub___$ac_func
7355 rm -f conftest.
$ac_objext conftest
$ac_exeext
7356 if { (ac_try
="$ac_link"
7358 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7359 *) ac_try_echo=$ac_try;;
7361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7362 (eval "$ac_link") 2>conftest.er1
7364 grep -v '^ *+' conftest.er1 >conftest.err
7366 cat conftest.err >&5
7367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7368 (exit $ac_status); } && {
7369 test -z "$ac_c_werror_flag" ||
7370 test ! -s conftest.err
7371 } && test -s conftest$ac_exeext &&
7372 $as_test_x conftest$ac_exeext; then
7373 eval "$as_ac_var=yes"
7375 echo "$as_me: failed program was:" >&5
7376 sed 's/^/| /' conftest.$ac_ext >&5
7378 eval "$as_ac_var=no"
7381 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7382 conftest$ac_exeext conftest.$ac_ext
7384 ac_res=`eval echo '${'$as_ac_var'}'`
7385 { echo "$as_me:$LINENO: result: $ac_res" >&5
7386 echo "${ECHO_T}$ac_res" >&6; }
7387 if test `eval echo '${'$as_ac_var'}'` = yes; then
7388 cat >>confdefs.h <<_ACEOF
7389 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7398 for ac_header in stdlib.h unistd.h
7400 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7401 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7402 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7403 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7404 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7405 echo $ECHO_N "(cached) $ECHO_C" >&6
7407 ac_res=`eval echo '${'$as_ac_Header'}'`
7408 { echo "$as_me:$LINENO: result: $ac_res" >&5
7409 echo "${ECHO_T}$ac_res" >&6; }
7411 # Is the header compilable?
7412 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7413 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7414 cat >conftest.$ac_ext <<_ACEOF
7417 cat confdefs.h >>conftest.$ac_ext
7418 cat >>conftest.$ac_ext <<_ACEOF
7419 /* end confdefs.h. */
7420 $ac_includes_default
7421 #include <$ac_header>
7423 rm -f conftest.$ac_objext
7424 if { (ac_try="$ac_compile"
7426 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7427 *) ac_try_echo
=$ac_try;;
7429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7430 (eval "$ac_compile") 2>conftest.er1
7432 grep -v '^ *+' conftest.er1
>conftest.err
7434 cat conftest.err
>&5
7435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7436 (exit $ac_status); } && {
7437 test -z "$ac_c_werror_flag" ||
7438 test ! -s conftest.err
7439 } && test -s conftest.
$ac_objext; then
7440 ac_header_compiler
=yes
7442 echo "$as_me: failed program was:" >&5
7443 sed 's/^/| /' conftest.
$ac_ext >&5
7445 ac_header_compiler
=no
7448 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7449 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7450 echo "${ECHO_T}$ac_header_compiler" >&6; }
7452 # Is the header present?
7453 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7454 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7455 cat >conftest.
$ac_ext <<_ACEOF
7458 cat confdefs.h
>>conftest.
$ac_ext
7459 cat >>conftest.
$ac_ext <<_ACEOF
7460 /* end confdefs.h. */
7461 #include <$ac_header>
7463 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7465 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7466 *) ac_try_echo=$ac_try;;
7468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7469 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7471 grep -v '^ *+' conftest.er1 >conftest.err
7473 cat conftest.err >&5
7474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7475 (exit $ac_status); } >/dev/null && {
7476 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7477 test ! -s conftest.err
7479 ac_header_preproc=yes
7481 echo "$as_me: failed program was:" >&5
7482 sed 's/^/| /' conftest.$ac_ext >&5
7484 ac_header_preproc=no
7487 rm -f conftest.err conftest.$ac_ext
7488 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7489 echo "${ECHO_T}$ac_header_preproc" >&6; }
7491 # So? What about this header?
7492 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7494 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7495 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7496 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7497 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7498 ac_header_preproc=yes
7501 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7502 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7503 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7504 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7505 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7506 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7507 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7508 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7509 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7510 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7511 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7512 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7516 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7517 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7518 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7519 echo $ECHO_N "(cached) $ECHO_C" >&6
7521 eval "$as_ac_Header=\$ac_header_preproc"
7523 ac_res=`eval echo '${'$as_ac_Header'}'`
7524 { echo "$as_me:$LINENO: result: $ac_res" >&5
7525 echo "${ECHO_T}$ac_res" >&6; }
7528 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7529 cat >>confdefs.h <<_ACEOF
7530 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7538 for ac_func in getpagesize
7540 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
7541 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7543 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7544 echo $ECHO_N "(cached) $ECHO_C" >&6
7546 cat >conftest.$ac_ext <<_ACEOF
7549 cat confdefs.h >>conftest.$ac_ext
7550 cat >>conftest.$ac_ext <<_ACEOF
7551 /* end confdefs.h. */
7552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7554 #define $ac_func innocuous_$ac_func
7556 /* System header to define __stub macros and hopefully few prototypes,
7557 which can conflict with char $ac_func (); below.
7558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7559 <limits.h> exists even on freestanding compilers. */
7562 # include <limits.h>
7564 # include <assert.h>
7569 /* Override any GCC internal prototype to avoid an error.
7570 Use char because int might match the return type of a GCC
7571 builtin and then its argument prototype would still apply. */
7576 /* The GNU C library defines this for functions which it implements
7577 to always fail with ENOSYS. Some functions are actually named
7578 something starting with __ and the normal name is an alias. */
7579 #if defined __stub_$ac_func || defined __stub___$ac_func
7591 rm -f conftest.$ac_objext conftest$ac_exeext
7592 if { (ac_try="$ac_link"
7594 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7595 *) ac_try_echo
=$ac_try;;
7597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7598 (eval "$ac_link") 2>conftest.er1
7600 grep -v '^ *+' conftest.er1
>conftest.err
7602 cat conftest.err
>&5
7603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7604 (exit $ac_status); } && {
7605 test -z "$ac_c_werror_flag" ||
7606 test ! -s conftest.err
7607 } && test -s conftest
$ac_exeext &&
7608 $as_test_x conftest
$ac_exeext; then
7609 eval "$as_ac_var=yes"
7611 echo "$as_me: failed program was:" >&5
7612 sed 's/^/| /' conftest.
$ac_ext >&5
7614 eval "$as_ac_var=no"
7617 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7618 conftest
$ac_exeext conftest.
$ac_ext
7620 ac_res
=`eval echo '${'$as_ac_var'}'`
7621 { echo "$as_me:$LINENO: result: $ac_res" >&5
7622 echo "${ECHO_T}$ac_res" >&6; }
7623 if test `eval echo '${'$as_ac_var'}'` = yes; then
7624 cat >>confdefs.h
<<_ACEOF
7625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7631 { echo "$as_me:$LINENO: checking for working mmap" >&5
7632 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
7633 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
7634 echo $ECHO_N "(cached) $ECHO_C" >&6
7636 if test "$cross_compiling" = yes; then
7637 ac_cv_func_mmap_fixed_mapped
=no
7639 cat >conftest.
$ac_ext <<_ACEOF
7642 cat confdefs.h
>>conftest.
$ac_ext
7643 cat >>conftest.
$ac_ext <<_ACEOF
7644 /* end confdefs.h. */
7645 $ac_includes_default
7646 /* malloc might have been renamed as rpl_malloc. */
7649 /* Thanks to Mike Haertel and Jim Avera for this test.
7650 Here is a matrix of mmap possibilities:
7651 mmap private not fixed
7652 mmap private fixed at somewhere currently unmapped
7653 mmap private fixed at somewhere already mapped
7654 mmap shared not fixed
7655 mmap shared fixed at somewhere currently unmapped
7656 mmap shared fixed at somewhere already mapped
7657 For private mappings, we should verify that changes cannot be read()
7658 back from the file, nor mmap's back from the file at a different
7659 address. (There have been systems where private was not correctly
7660 implemented like the infamous i386 svr4.0, and systems where the
7661 VM page cache was not coherent with the file system buffer cache
7662 like early versions of FreeBSD and possibly contemporary NetBSD.)
7663 For shared mappings, we should conversely verify that changes get
7664 propagated back to all the places they're supposed to be.
7666 Grep wants private fixed already mapped.
7667 The main things grep needs to know about mmap are:
7668 * does it exist and is it safe to write into the mmap'd area
7669 * how to use it (BSD variants) */
7672 #include <sys/mman.h>
7674 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7678 /* This mess was copied from the GNU getpagesize.h. */
7679 #ifndef HAVE_GETPAGESIZE
7680 /* Assume that all systems that can run configure have sys/param.h. */
7681 # ifndef HAVE_SYS_PARAM_H
7682 # define HAVE_SYS_PARAM_H 1
7685 # ifdef _SC_PAGESIZE
7686 # define getpagesize() sysconf(_SC_PAGESIZE)
7687 # else /* no _SC_PAGESIZE */
7688 # ifdef HAVE_SYS_PARAM_H
7689 # include <sys/param.h>
7690 # ifdef EXEC_PAGESIZE
7691 # define getpagesize() EXEC_PAGESIZE
7692 # else /* no EXEC_PAGESIZE */
7694 # define getpagesize() NBPG * CLSIZE
7697 # endif /* no CLSIZE */
7698 # else /* no NBPG */
7700 # define getpagesize() NBPC
7701 # else /* no NBPC */
7703 # define getpagesize() PAGESIZE
7704 # endif /* PAGESIZE */
7705 # endif /* no NBPC */
7706 # endif /* no NBPG */
7707 # endif /* no EXEC_PAGESIZE */
7708 # else /* no HAVE_SYS_PARAM_H */
7709 # define getpagesize() 8192 /* punt totally */
7710 # endif /* no HAVE_SYS_PARAM_H */
7711 # endif /* no _SC_PAGESIZE */
7713 #endif /* no HAVE_GETPAGESIZE */
7718 char *data, *data2, *data3;
7722 pagesize = getpagesize ();
7724 /* First, make a file with some known garbage in it. */
7725 data = (char *) malloc (pagesize);
7728 for (i = 0; i < pagesize; ++i)
7729 *(data + i) = rand ();
7731 fd = creat ("conftest.mmap", 0600);
7734 if (write (fd, data, pagesize) != pagesize)
7738 /* Next, try to mmap the file at a fixed address which already has
7739 something else allocated at it. If we can, also make sure that
7740 we see the same garbage. */
7741 fd = open ("conftest.mmap", O_RDWR);
7744 data2 = (char *) malloc (2 * pagesize);
7747 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
7748 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7749 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7751 for (i = 0; i < pagesize; ++i)
7752 if (*(data + i) != *(data2 + i))
7755 /* Finally, make sure that changes to the mapped area do not
7756 percolate back to the file as seen by read(). (This is a bug on
7757 some variants of i386 svr4.0.) */
7758 for (i = 0; i < pagesize; ++i)
7759 *(data2 + i) = *(data2 + i) + 1;
7760 data3 = (char *) malloc (pagesize);
7763 if (read (fd, data3, pagesize) != pagesize)
7765 for (i = 0; i < pagesize; ++i)
7766 if (*(data + i) != *(data3 + i))
7772 rm -f conftest
$ac_exeext
7773 if { (ac_try
="$ac_link"
7775 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7776 *) ac_try_echo=$ac_try;;
7778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7779 (eval "$ac_link") 2>&5
7781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7782 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7783 { (case "(($ac_try" in
7784 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7785 *) ac_try_echo
=$ac_try;;
7787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7788 (eval "$ac_try") 2>&5
7790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7791 (exit $ac_status); }; }; then
7792 ac_cv_func_mmap_fixed_mapped
=yes
7794 echo "$as_me: program exited with status $ac_status" >&5
7795 echo "$as_me: failed program was:" >&5
7796 sed 's/^/| /' conftest.
$ac_ext >&5
7799 ac_cv_func_mmap_fixed_mapped
=no
7801 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7806 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
7807 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
7808 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7810 cat >>confdefs.h
<<\_ACEOF
7820 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7821 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7822 aros_config_ldflags
=""
7824 aros_shared_default
=yes
7826 aros_shared_cflags
="-fPIC"
7827 aros_shared_aflags
=""
7828 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7829 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7831 aros_target_ar_flags
="cr"
7832 aros_target_nm_flags
="-C -ul"
7833 aros_target_strip_flags
="--strip-unneeded -R.comment"
7837 aros_target_genmap
="-Wl,-Map -Xlinker"
7839 # Native flavour stuff
7841 aros_serial_debug
="0"
7843 # Palm native flavour stuff
7844 aros_palm_debug_hack
="0"
7846 # Unix flavour stuff
7847 aros_nesting_supervisor
="0"
7849 # Collect-aros stuff: "-ius" to ignore undefined symbols
7850 ignore_undefined_symbols
=""
7852 #-----------------------------------------------------------------------------
7855 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7856 # it switched on by default, and we use the host compiler, so it compiles AROS
7857 # code with this enabled resulting in link failures as we don't have support
7860 # We use two methods to disable it. For the host compiler (used to compile
7861 # some hosted modules), we test to see if the compiler supports stack
7862 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7863 # work on all platforms.
7865 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
7866 # (this is done unconditionally, as it should have no effect on compilers
7867 # without the stack protection feature). This may be specific to the way that
7868 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
7869 # strong enough to disable it in a generic way though, so we'll live with it
7870 # until another vendor ships GCC with it enabled in a different way, and deal
7874 { echo "$as_me:$LINENO: checking whether ${CC} accepts -fno-stack-protector" >&5
7875 echo $ECHO_N "checking whether ${CC} accepts -fno-stack-protector... $ECHO_C" >&6; }
7876 save_cflags
="$CFLAGS"
7877 CFLAGS
="$CFLAGS -fno-stack-protector"
7878 cat >conftest.
$ac_ext <<_ACEOF
7881 cat confdefs.h
>>conftest.
$ac_ext
7882 cat >>conftest.
$ac_ext <<_ACEOF
7883 /* end confdefs.h. */
7893 rm -f conftest.
$ac_objext
7894 if { (ac_try
="$ac_compile"
7896 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7897 *) ac_try_echo=$ac_try;;
7899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7900 (eval "$ac_compile") 2>conftest.er1
7902 grep -v '^ *+' conftest.er1 >conftest.err
7904 cat conftest.err >&5
7905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7906 (exit $ac_status); } && {
7907 test -z "$ac_c_werror_flag" ||
7908 test ! -s conftest.err
7909 } && test -s conftest.$ac_objext; then
7910 use_no_stack_protector="yes"
7912 echo "$as_me: failed program was:" >&5
7913 sed 's/^/| /' conftest.$ac_ext >&5
7915 use_no_stack_protector="no"
7918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7919 { echo "$as_me:$LINENO: result: $use_no_stack_protector" >&5
7920 echo "${ECHO_T}$use_no_stack_protector" >&6; }
7921 if test "x-$use_no_stack_protector" = "x-yes" ; then
7922 aros_config_cflags="$aros_config_cflags -fno-stack-protector"
7924 CFLAGS="$save_cflags"
7926 #-----------------------------------------------------------------------------
7928 { echo "$as_me:$LINENO: checking for type of build" >&5
7929 echo $ECHO_N "checking for type of build... $ECHO_C" >&6; }
7930 # Check whether --enable-build_type was given.
7931 if test "${enable_build_type+set}" = set; then
7932 enableval=$enable_build_type; build_type=$enableval
7934 build_type="personal"
7938 if test "$build_type" = "nightly"; then
7939 build_type_string="NIGHTLY"
7940 elif test "$build_type" = "snapshot"; then
7941 build_type_string="SNAPSHOT"
7942 elif test "$build_type" = "milestone"; then
7943 build_type_string="MILESTONE"
7944 elif test "$build_type" = "release"; then
7945 build_type_string="RELEASE"
7947 build_type_string="PERSONAL"
7948 build_type="personal"
7951 aros_config_cflags="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7953 { echo "$as_me:$LINENO: result: $build_type" >&5
7954 echo "${ECHO_T}$build_type" >&6; }
7956 #-----------------------------------------------------------------------------
7957 all_debug_types="messages stack mungwall modules symbols"
7959 { echo "$as_me:$LINENO: checking which debug types to enable" >&5
7960 echo $ECHO_N "checking which debug types to enable... $ECHO_C" >&6; }
7961 # Check whether --enable-debug was given.
7962 if test "${enable_debug+set}" = set; then
7963 enableval=$enable_debug; debug="$enableval"
7969 if test "$debug" = "" -o "$debug" = "no"; then
7971 elif test "$debug" = "yes"; then
7975 if test "$debug" = "all" ; then
7976 debug=$all_debug_types
7977 for d in $all_debug_types; do
7978 export aros_${d}_debug="1"
7981 for d in $all_debug_types; do
7982 export aros_${d}_debug="0"
7986 if test "$debug" != "none"; then
7987 debug=`echo $debug |
sed s
/,/\
/g
`
7990 for d2 in $all_debug_types; do
7991 if test "$d2" = "$d"; then
7996 if test "$found" = "0"; then
7997 { { echo "$as_me:$LINENO: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&5
7998 echo "$as_me: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&2;}
7999 { (exit 1); exit 1; }; }
8001 export aros_${d}_debug="1"
8005 { echo "$as_me:$LINENO: result: $debug" >&5
8006 echo "${ECHO_T}$debug" >&6; }
8008 if test "$aros_messages_debug" = "1"; then
8009 aros_messages_debug="-DADEBUG=1 -DMDEBUG=1"
8011 aros_messages_debug=""
8013 if test "$aros_symbols_debug" = "1"; then
8014 aros_symbols_debug="-g"
8016 aros_symbols_debug=""
8019 # These are the flags to pass when compiling debugged programs
8020 aros_debug_cflags="$aros_symbols_debug $aros_messages_debug"
8021 aros_debug_aflags=""
8022 aros_debug_ldflags="$aros_symbols_debug"
8024 #-----------------------------------------------------------------------------
8025 # Checking for distcc and ccache.
8027 # Always apply the transforms in this particular order. Basically you should
8028 # always run 'ccache distcc compiler' in that order for the best performance.
8030 { echo "$as_me:$LINENO: checking whether to enable distcc" >&5
8031 echo $ECHO_N "checking whether to enable distcc... $ECHO_C" >&6; }
8032 # Check whether --enable-distcc was given.
8033 if test "${enable_distcc+set}" = set; then
8034 enableval=$enable_distcc; distcc="$enableval"
8039 if test "$distcc" != "" -a "$distcc" != "no"; then
8040 # AC_CHECK_PROG will print out the result in this case
8041 # Extract the first word of "distcc", so it can be a program name with args.
8042 set dummy distcc; ac_word=$2
8043 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8045 if test "${ac_cv_path_DISTCC+set}" = set; then
8046 echo $ECHO_N "(cached) $ECHO_C" >&6
8050 ac_cv_path_DISTCC="$DISTCC" # Let the user override the test with a path.
8053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8057 test -z "$as_dir" && as_dir=.
8058 for ac_exec_ext in '' $ac_executable_extensions; do
8059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8060 ac_cv_path_DISTCC="$as_dir/$ac_word$ac_exec_ext"
8061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8068 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC="distcc"
8072 DISTCC=$ac_cv_path_DISTCC
8073 if test -n "$DISTCC"; then
8074 { echo "$as_me:$LINENO: result: $DISTCC" >&5
8075 echo "${ECHO_T}$DISTCC" >&6; }
8077 { echo "$as_me:$LINENO: result: no" >&5
8078 echo "${ECHO_T}no" >&6; }
8083 { echo "$as_me:$LINENO: result: no" >&5
8084 echo "${ECHO_T}no" >&6; }
8087 { echo "$as_me:$LINENO: checking whether to enable ccache" >&5
8088 echo $ECHO_N "checking whether to enable ccache... $ECHO_C" >&6; }
8089 # Check whether --enable-ccache was given.
8090 if test "${enable_ccache+set}" = set; then
8091 enableval=$enable_ccache; ccache="$enableval"
8096 if test "$ccache" != "" -a "$ccache" != "no"; then
8097 # AC_CHECK_PROG will print out the result in this case
8098 # Extract the first word of "ccache", so it can be a program name with args.
8099 set dummy ccache; ac_word=$2
8100 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8102 if test "${ac_cv_prog_CCACHE+set}" = set; then
8103 echo $ECHO_N "(cached) $ECHO_C" >&6
8105 if test -n "$CCACHE"; then
8106 ac_cv_prog_CCACHE="$CCACHE" # Let the user override the test.
8108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8112 test -z "$as_dir" && as_dir=.
8113 for ac_exec_ext in '' $ac_executable_extensions; do
8114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8115 ac_cv_prog_CCACHE="ccache"
8116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8125 CCACHE=$ac_cv_prog_CCACHE
8126 if test -n "$CCACHE"; then
8127 { echo "$as_me:$LINENO: result: $CCACHE" >&5
8128 echo "${ECHO_T}$CCACHE" >&6; }
8130 { echo "$as_me:$LINENO: result: no" >&5
8131 echo "${ECHO_T}no" >&6; }
8136 { echo "$as_me:$LINENO: result: no" >&5
8137 echo "${ECHO_T}no" >&6; }
8140 #-----------------------------------------------------------------------------
8141 { echo "$as_me:$LINENO: checking what optimization flags to use" >&5
8142 echo $ECHO_N "checking what optimization flags to use... $ECHO_C" >&6; }
8144 # Check whether --with-optimization was given.
8145 if test "${with_optimization+set}" = set; then
8146 withval=$with_optimization; optimization="$withval"
8148 optimization="unknown"
8151 if test "$optimization" = "unknown"; then
8152 if test "$debug" != "none"; then
8158 aros_config_cflags="$aros_config_cflags $optimization"
8159 { echo "$as_me:$LINENO: result: $optimization" >&5
8160 echo "${ECHO_T}$optimization" >&6; }
8162 #-----------------------------------------------------------------------------
8163 { echo "$as_me:$LINENO: checking what target variant to enable" >&5
8164 echo $ECHO_N "checking what target variant to enable... $ECHO_C" >&6; }
8165 # Check whether --enable-target_variant was given.
8166 if test "${enable_target_variant+set}" = set; then
8167 enableval=$enable_target_variant; target_variant=$enableval
8169 target_variant="none"
8172 if test "$target_variant" = "none"; then
8173 aros_target_variant=""
8174 aros_target_suffix=""
8176 aros_target_variant="$target_variant"
8177 aros_target_suffix="-$target_variant"
8179 { echo "$as_me:$LINENO: result: $enableval" >&5
8180 echo "${ECHO_T}$enableval" >&6; }
8182 target_bootloader="none"
8184 #-----------------------------------------------------------------------------
8185 # This is the target configuration switch.
8186 case "$target_os" in
8188 aros_target_arch="linux"
8189 case "$target_cpu" in
8191 aros_target_cpu="m68k"
8192 aros_object_format="m68kelf"
8193 aros_flavour="emulcompat"
8194 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
8195 aros_shared_ldflags="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
8196 aros_kernel_ldflags="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
8197 gcc_target_cpu="mc68000"
8200 aros_target_cpu="i386"
8201 aros_object_format="elf_i386"
8202 aros_flavour="emulation"
8203 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
8204 aros_default_wbdepth=8
8205 gcc_target_cpu="i386"
8208 aros_target_cpu="x86_64"
8209 aros_object_format="elf_x86_64"
8210 aros_flavour="emulation"
8211 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
8212 aros_default_wbdepth=8
8213 gcc_target_cpu="x86_64"
8216 aros_target_cpu="ppc"
8217 aros_object_format="elf32ppc"
8218 aros_flavour="emulation"
8219 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8220 aros_default_wbdepth=8
8221 gcc_target_cpu="ppc"
8224 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Linux -- $target_cpu\"" >&5
8225 echo "$as_me: error: \"Unknown CPU for Linux -- $target_cpu\"" >&2;}
8226 { (exit 1); exit 1; }; }
8232 aros_target_arch="pc"
8233 aros_shared_default="no"
8234 target_bootloader="grub"
8235 case "$target_cpu" in
8237 aros_target_cpu="i386"
8240 if test "$aros_object_format" = "" ; then
8241 aros_object_format="elf_i386"
8243 aros_flavour="standalone"
8244 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386"
8245 aros_kernel_ldflags=""
8246 aros_default_wbwidth=640
8247 aros_default_wbheight=480
8248 gcc_target_cpu="i386"
8251 aros_target_cpu="x86_64"
8252 if test "$aros_object_format" = "" ; then
8253 aros_object_format="elf_x86_64"
8255 aros_flavour="standalone"
8256 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8257 aros_config_cflags="$aros_config_cflags -fno-asynchronous-unwind-tables"
8258 aros_kernel_ldflags=""
8259 aros_default_wbwidth=640
8260 aros_default_wbheight=480
8261 gcc_target_cpu="x86_64"
8264 { { echo "$as_me:$LINENO: error: \"Unknown native CPU -- $target_cpu\"" >&5
8265 echo "$as_me: error: \"Unknown native CPU -- $target_cpu\"" >&2;}
8266 { (exit 1); exit 1; }; }
8272 aros_target_arch="prep"
8273 aros_shared_default="no"
8274 aros_target_cpu="ppc"
8275 aros_object_format="elf32ppc"
8276 aros_flavour="ppcnative"
8277 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc"
8278 aros_kernel_ldflags=""
8279 aros_default_wbwidth=640
8280 aros_default_wbheight=480
8281 gcc_target_cpu="ppc"
8282 case "$target_cpu" in
8284 aros_target_cc="ppc-linux-gcc -pipe"
8285 aros_target_ld="ppc-linux-ld"
8286 aros_target_as="ppc-linux-as"
8287 aros_target_ar="ppc-linux-ar"
8288 aros_target_ranlib="ppc-linux-ranlib"
8289 aros_target_nm="ppc-linux-nm"
8290 aros_target_strip="ppc-linux-strip"
8291 aros_target_objcopy="ppc-linux-objcopy"
8292 aros_target_objdump="ppc-linux-objdump"
8293 aros_shared_ld="ppc-linux-ld"
8294 aros_kernel_ld="ppc-linux-ld"
8302 aros_target_arch="freebsd"
8303 aros_target_cpu="i386"
8304 aros_flavour="emulation"
8305 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386"
8306 gcc_target_cpu="i386"
8308 aros_target_strip_flags="-x"
8312 aros_target_arch="darwin"
8313 aros_target_cpu="i386"
8314 aros_flavour="emulation"
8315 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386"
8316 gcc_target_cpu="i386"
8318 aros_target_strip_flags="-x"
8322 aros_target_arch="netbsd"
8323 case "$target_cpu" in
8325 aros_target_cpu="m68k"
8326 aros_object_format="m68kelf"
8327 aros_flavour="emulcompat"
8328 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8329 gcc_target_cpu="mc68000"
8332 aros_target_cpu="i386"
8333 aros_object_format="elf_i386"
8334 aros_flavour="emulation"
8335 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8336 aros_default_wbdepth=8
8337 gcc_target_cpu="i386"
8340 { { echo "$as_me:$LINENO: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&5
8341 echo "$as_me: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&2;}
8342 { (exit 1); exit 1; }; }
8345 aros_target_genmap="-Wl,-M -Xlinker >"
8346 aros_flavour="emulation"
8347 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386"
8351 aros_target_arch="openbsd"
8352 case "$target_cpu" in
8354 aros_target_cpu="i386"
8355 aros_object_format="elf_i386"
8356 aros_flavour="emulation"
8357 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8358 gcc_target_cpu="i386"
8361 { { echo "$as_me:$LINENO: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&5
8362 echo "$as_me: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&2;}
8363 { (exit 1); exit 1; }; }
8366 aros_target_genmap="-Wl,-M -Xlinker >"
8367 aros_target_nm_flags="-u"
8368 aros_flavour="emulation"
8372 aros_target_arch="solaris"
8373 case "$target_cpu" in
8375 aros_target_cpu="sparc"
8376 aros_object_format="elf_sparc"
8377 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8378 gcc_target_cpu="sparc"
8381 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&5
8382 echo "$as_me: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&2;}
8383 { (exit 1); exit 1; }; }
8386 aros_config_cflags="$aros_config_cflags -D$aros_target_cpu"
8387 aros_flavour="emulation"
8391 aros_target_arch="morphos"
8392 aros_shared_default="no"
8393 aros_target_cpu="ppc"
8394 aros_object_format="elf_ppc"
8395 aros_flavour="nativecompat"
8396 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc"
8397 gcc_target_cpu="ppc"
8401 aros_target_arch="sam440"
8402 aros_shared_default="no"
8403 aros_target_cpu="ppc"
8404 aros_object_format="elf32ppc"
8405 aros_flavour="ppcnative"
8406 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc"
8407 aros_kernel_ldflags=""
8408 aros_default_wbwidth=640
8409 aros_default_wbheight=480
8410 aros_config_cflags="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8411 gcc_target_cpu="powerpc"
8412 case "$target_cpu" in
8414 aros_target_cc="powerpc-linux-gcc -pipe"
8415 aros_target_ld="powerpc-linux-ld"
8416 aros_target_as="powerpc-linux-as"
8417 aros_target_ar="powerpc-linux-ar"
8418 aros_target_ranlib="powerpc-linux-ranlib"
8419 aros_target_nm="powerpc-linux-nm"
8420 aros_target_strip="powerpc-linux-strip"
8421 aros_target_objcopy="powerpc-linux-objcopy"
8422 aros_target_objdump="powerpc-linux-objdump"
8423 aros_shared_ld="powerpc-linux-ld"
8424 aros_kernel_ld="powerpc-linux-ld"
8432 aros_target_arch="amiga"
8433 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8434 aros_shared_default="no"
8436 aros_config_cflags="$aros_config_cflags -fomit-frame-pointer -fbuiltin -ffreestanding"
8438 case "$target_cpu" in
8440 aros_target_cpu="m68k"
8441 aros_object_format="m68kelf"
8442 aros_flavour="nativecompat"
8443 gcc_target_cpu="mc68000"
8447 aros_flavour="native"
8448 gcc_target_cpu="ppc"
8451 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Amiga $target_cpu\"" >&5
8452 echo "$as_me: error: \"Unknown CPU for Amiga $target_cpu\"" >&2;}
8453 { (exit 1); exit 1; }; }
8459 aros_target_arch="cygwin"
8460 aros_shared_default="no"
8461 case "$target_cpu" in
8463 aros_target_cpu="i386"
8464 aros_object_format="elf_i386"
8465 aros_flavour="emulation"
8466 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386 -D__CYGWIN32__"
8467 aros_shared_cflags=""
8468 aros_default_wbdepth=8
8469 gcc_target_cpu="i386"
8472 { { echo "$as_me:$LINENO: error: \"Unknown CPU for CygWin -- $target_cpu\"" >&5
8473 echo "$as_me: error: \"Unknown CPU for CygWin -- $target_cpu\"" >&2;}
8474 { (exit 1); exit 1; }; }
8480 aros_target_arch="mingw32"
8481 aros_shared_default="no"
8482 case "$target_cpu" in
8484 aros_target_cpu="i386"
8485 aros_object_format="elf_i386"
8486 aros_flavour="emulation"
8487 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386"
8488 aros_shared_cflags=""
8489 aros_default_wbdepth=8
8490 gcc_target_cpu="i386"
8493 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Mingw32 -- $target_cpu\"" >&5
8494 echo "$as_me: error: \"Unknown CPU for Mingw32 -- $target_cpu\"" >&2;}
8495 { (exit 1); exit 1; }; }
8500 aros_target_arch="pp"
8501 aros_shared_default="no"
8502 case "$target_cpu" in
8504 aros_target_cpu="m68k"
8505 aros_object_format="m68kelf"
8506 aros_flavour="palmnative"
8507 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dm68k"
8508 aros_kernel_ldflags=""
8509 aros_default_wbwidth=160
8510 aros_default_wbheight=160
8511 aros_default_wbdepth=1
8512 aros_target_cc="m68k-elf-gcc -pipe"
8513 aros_target_ld="$(which m68k-elf-ld)"
8514 aros_target_as="m68k-elf-gcc -pipe"
8515 aros_shared_ld="m68k-elf-gcc"
8516 aros_kernel_ld="m68k-elf-gcc"
8517 aros_target_ar="m68k-elf-ar"
8518 aros_target_ar_flags="cru"
8519 aros_target_ranlib="m68k-elf-ranlib"
8520 aros_target_nm="m68k-elf-nm"
8521 aros_target_objcopy="m68k-elf-objcopy"
8522 aros_target_objdump="m68k-elf-objdump"
8523 aros_compiler_libs="-lgcc1"
8524 aros_shared_default=no
8525 aros_shared_cflags="-fpic"
8526 aros_shared_aflags=""
8527 aros_shared_ldflags="-Wl,-rpath,./lib -shared"
8528 aros_kernel_ldflags="-Wl,-rpath,./lib"
8529 aros_debug_cflags="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
8530 aros_debug_aflags=""
8531 aros_debug_ldflags="$aros_symbols_debug"
8532 aros_mungwall_debug="0"
8533 aros_modules_debug="0"
8534 gcc_target_cpu="mc68000"
8535 ignore_undefined_symbols="-ius"
8538 { { echo "$as_me:$LINENO: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&5
8539 echo "$as_me: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&2;}
8540 { (exit 1); exit 1; }; }
8546 aros_target_arch="mac"
8547 aros_shared_default="no"
8548 case "$target_cpu" in
8550 aros_target_cpu="m68k"
8551 aros_object_format="m68kelf"
8552 aros_flavour="mac68knative"
8553 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dm68k"
8554 aros_default_wbwidth=512
8555 aros_default_wbheight=384
8556 aros_default_wbdepth=8
8557 aros_target_cc="m68k-elf-gcc -pipe"
8558 aros_target_ld="$(which m68k-elf-ld)"
8559 aros_target_as="m68k-elf-gcc -pipe"
8560 aros_shared_ld="m68k-elf-gcc"
8561 aros_kernel_ld="m68k-elf-gcc"
8562 aros_target_ar="m68k-elf-ar"
8563 aros_target_ar_flags="cru"
8564 aros_target_ranlib="m68k-elf-ranlib"
8565 aros_target_nm="m68k-elf-nm"
8566 aros_target_objcopy="m68k-elf-objcopy"
8567 aros_target_objdump="m68k-elf-objdump"
8568 aros_compiler_libs="-lgcc1"
8569 aros_shared_default=no
8570 aros_shared_cflags="-fpic"
8571 aros_shared_aflags=""
8572 aros_shared_ldflags="-Wl,-rpath,./lib -shared"
8573 aros_kernel_ldflags="-Wl,-rpath,./lib"
8574 aros_debug_cflags="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000"
8575 aros_debug_aflags=""
8576 aros_debug_ldflags="$aros_symbols_debug"
8577 aros_mungwall_debug="0"
8578 aros_modules_debug="0"
8579 gcc_target_cpu="mc68000"
8580 ignore_undefined_symbols="-ius"
8583 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&5
8584 echo "$as_me: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&2;}
8585 { (exit 1); exit 1; }; }
8591 { { echo "$as_me:$LINENO: error: Unsupported target architecture $target" >&5
8592 echo "$as_me: error: Unsupported target architecture $target" >&2;}
8593 { (exit 1); exit 1; }; }
8597 { echo "$as_me:$LINENO: checking which bootloader to use" >&5
8598 echo $ECHO_N "checking which bootloader to use... $ECHO_C" >&6; }
8599 # Check whether --enable-bootloader was given.
8600 if test "${enable_bootloader+set}" = set; then
8601 enableval=$enable_bootloader; target_bootloader=$enableval
8603 target_bootloader=$target_bootloader
8606 if test "$target_bootloader" = "none"; then
8607 aros_target_bootloader=""
8609 aros_target_bootloader="$target_bootloader"
8611 { echo "$as_me:$LINENO: result: $target_bootloader" >&5
8612 echo "${ECHO_T}$target_bootloader" >&6; }
8614 # Check LZO when compiling the grub2 bootloader on i386/x86_64.
8615 aros_liblzo_check="no"
8616 case "$aros_target_bootloader" in
8618 case "$target_cpu" in
8620 aros_liblzo_check="yes"
8623 aros_liblzo_check="yes"
8634 if test "$aros_liblzo_check" = "yes"; then
8635 # There are three possibilities. LZO version 2 installed with the name
8636 # liblzo2, with the name liblzo, and LZO version 1.
8637 { echo "$as_me:$LINENO: checking for __lzo_init_v2 in -llzo2" >&5
8638 echo $ECHO_N "checking for __lzo_init_v2 in -llzo2... $ECHO_C" >&6; }
8639 if test "${ac_cv_lib_lzo2___lzo_init_v2+set}" = set; then
8640 echo $ECHO_N "(cached) $ECHO_C" >&6
8642 ac_check_lib_save_LIBS=$LIBS
8644 cat >conftest.$ac_ext <<_ACEOF
8647 cat confdefs.h >>conftest.$ac_ext
8648 cat >>conftest.$ac_ext <<_ACEOF
8649 /* end confdefs.h. */
8651 /* Override any GCC internal prototype to avoid an error.
8652 Use char because int might match the return type of a GCC
8653 builtin and then its argument prototype would still apply. */
8657 char __lzo_init_v2 ();
8661 return __lzo_init_v2 ();
8666 rm -f conftest.$ac_objext conftest$ac_exeext
8667 if { (ac_try="$ac_link"
8669 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8670 *) ac_try_echo
=$ac_try;;
8672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8673 (eval "$ac_link") 2>conftest.er1
8675 grep -v '^ *+' conftest.er1
>conftest.err
8677 cat conftest.err
>&5
8678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8679 (exit $ac_status); } && {
8680 test -z "$ac_c_werror_flag" ||
8681 test ! -s conftest.err
8682 } && test -s conftest
$ac_exeext &&
8683 $as_test_x conftest
$ac_exeext; then
8684 ac_cv_lib_lzo2___lzo_init_v2
=yes
8686 echo "$as_me: failed program was:" >&5
8687 sed 's/^/| /' conftest.
$ac_ext >&5
8689 ac_cv_lib_lzo2___lzo_init_v2
=no
8692 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8693 conftest
$ac_exeext conftest.
$ac_ext
8694 LIBS
=$ac_check_lib_save_LIBS
8696 { echo "$as_me:$LINENO: result: $ac_cv_lib_lzo2___lzo_init_v2" >&5
8697 echo "${ECHO_T}$ac_cv_lib_lzo2___lzo_init_v2" >&6; }
8698 if test $ac_cv_lib_lzo2___lzo_init_v2 = yes; then
8701 { echo "$as_me:$LINENO: checking for __lzo_init_v2 in -llzo" >&5
8702 echo $ECHO_N "checking for __lzo_init_v2 in -llzo... $ECHO_C" >&6; }
8703 if test "${ac_cv_lib_lzo___lzo_init_v2+set}" = set; then
8704 echo $ECHO_N "(cached) $ECHO_C" >&6
8706 ac_check_lib_save_LIBS
=$LIBS
8708 cat >conftest.
$ac_ext <<_ACEOF
8711 cat confdefs.h
>>conftest.
$ac_ext
8712 cat >>conftest.
$ac_ext <<_ACEOF
8713 /* end confdefs.h. */
8715 /* Override any GCC internal prototype to avoid an error.
8716 Use char because int might match the return type of a GCC
8717 builtin and then its argument prototype would still apply. */
8721 char __lzo_init_v2 ();
8725 return __lzo_init_v2 ();
8730 rm -f conftest.
$ac_objext conftest
$ac_exeext
8731 if { (ac_try
="$ac_link"
8733 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8734 *) ac_try_echo=$ac_try;;
8736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8737 (eval "$ac_link") 2>conftest.er1
8739 grep -v '^ *+' conftest.er1 >conftest.err
8741 cat conftest.err >&5
8742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8743 (exit $ac_status); } && {
8744 test -z "$ac_c_werror_flag" ||
8745 test ! -s conftest.err
8746 } && test -s conftest$ac_exeext &&
8747 $as_test_x conftest$ac_exeext; then
8748 ac_cv_lib_lzo___lzo_init_v2=yes
8750 echo "$as_me: failed program was:" >&5
8751 sed 's/^/| /' conftest.$ac_ext >&5
8753 ac_cv_lib_lzo___lzo_init_v2=no
8756 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8757 conftest$ac_exeext conftest.$ac_ext
8758 LIBS=$ac_check_lib_save_LIBS
8760 { echo "$as_me:$LINENO: result: $ac_cv_lib_lzo___lzo_init_v2" >&5
8761 echo "${ECHO_T}$ac_cv_lib_lzo___lzo_init_v2" >&6; }
8762 if test $ac_cv_lib_lzo___lzo_init_v2 = yes; then
8765 { echo "$as_me:$LINENO: checking for __lzo_init2 in -llzo" >&5
8766 echo $ECHO_N "checking for __lzo_init2 in -llzo... $ECHO_C" >&6; }
8767 if test "${ac_cv_lib_lzo___lzo_init2+set}" = set; then
8768 echo $ECHO_N "(cached) $ECHO_C" >&6
8770 ac_check_lib_save_LIBS=$LIBS
8772 cat >conftest.$ac_ext <<_ACEOF
8775 cat confdefs.h >>conftest.$ac_ext
8776 cat >>conftest.$ac_ext <<_ACEOF
8777 /* end confdefs.h. */
8779 /* Override any GCC internal prototype to avoid an error.
8780 Use char because int might match the return type of a GCC
8781 builtin and then its argument prototype would still apply. */
8785 char __lzo_init2 ();
8789 return __lzo_init2 ();
8794 rm -f conftest.$ac_objext conftest$ac_exeext
8795 if { (ac_try="$ac_link"
8797 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8798 *) ac_try_echo
=$ac_try;;
8800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8801 (eval "$ac_link") 2>conftest.er1
8803 grep -v '^ *+' conftest.er1
>conftest.err
8805 cat conftest.err
>&5
8806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8807 (exit $ac_status); } && {
8808 test -z "$ac_c_werror_flag" ||
8809 test ! -s conftest.err
8810 } && test -s conftest
$ac_exeext &&
8811 $as_test_x conftest
$ac_exeext; then
8812 ac_cv_lib_lzo___lzo_init2
=yes
8814 echo "$as_me: failed program was:" >&5
8815 sed 's/^/| /' conftest.
$ac_ext >&5
8817 ac_cv_lib_lzo___lzo_init2
=no
8820 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8821 conftest
$ac_exeext conftest.
$ac_ext
8822 LIBS
=$ac_check_lib_save_LIBS
8824 { echo "$as_me:$LINENO: result: $ac_cv_lib_lzo___lzo_init2" >&5
8825 echo "${ECHO_T}$ac_cv_lib_lzo___lzo_init2" >&6; }
8826 if test $ac_cv_lib_lzo___lzo_init2 = yes; then
8829 { { echo "$as_me:$LINENO: error: LZO library version 1.02 or later is required" >&5
8830 echo "$as_me: error: LZO library version 1.02 or later is required" >&2;}
8831 { (exit 1); exit 1; }; }
8840 LIBS
="$LIBS $LIBLZO"
8841 { echo "$as_me:$LINENO: checking for lzo1x_999_compress" >&5
8842 echo $ECHO_N "checking for lzo1x_999_compress... $ECHO_C" >&6; }
8843 if test "${ac_cv_func_lzo1x_999_compress+set}" = set; then
8844 echo $ECHO_N "(cached) $ECHO_C" >&6
8846 cat >conftest.
$ac_ext <<_ACEOF
8849 cat confdefs.h
>>conftest.
$ac_ext
8850 cat >>conftest.
$ac_ext <<_ACEOF
8851 /* end confdefs.h. */
8852 /* Define lzo1x_999_compress to an innocuous variant, in case <limits.h> declares lzo1x_999_compress.
8853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8854 #define lzo1x_999_compress innocuous_lzo1x_999_compress
8856 /* System header to define __stub macros and hopefully few prototypes,
8857 which can conflict with char lzo1x_999_compress (); below.
8858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8859 <limits.h> exists even on freestanding compilers. */
8862 # include <limits.h>
8864 # include <assert.h>
8867 #undef lzo1x_999_compress
8869 /* Override any GCC internal prototype to avoid an error.
8870 Use char because int might match the return type of a GCC
8871 builtin and then its argument prototype would still apply. */
8875 char lzo1x_999_compress ();
8876 /* The GNU C library defines this for functions which it implements
8877 to always fail with ENOSYS. Some functions are actually named
8878 something starting with __ and the normal name is an alias. */
8879 #if defined __stub_lzo1x_999_compress || defined __stub___lzo1x_999_compress
8886 return lzo1x_999_compress ();
8891 rm -f conftest.
$ac_objext conftest
$ac_exeext
8892 if { (ac_try
="$ac_link"
8894 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8895 *) ac_try_echo=$ac_try;;
8897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8898 (eval "$ac_link") 2>conftest.er1
8900 grep -v '^ *+' conftest.er1 >conftest.err
8902 cat conftest.err >&5
8903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8904 (exit $ac_status); } && {
8905 test -z "$ac_c_werror_flag" ||
8906 test ! -s conftest.err
8907 } && test -s conftest$ac_exeext &&
8908 $as_test_x conftest$ac_exeext; then
8909 ac_cv_func_lzo1x_999_compress=yes
8911 echo "$as_me: failed program was:" >&5
8912 sed 's/^/| /' conftest.$ac_ext >&5
8914 ac_cv_func_lzo1x_999_compress=no
8917 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8918 conftest$ac_exeext conftest.$ac_ext
8920 { echo "$as_me:$LINENO: result: $ac_cv_func_lzo1x_999_compress" >&5
8921 echo "${ECHO_T}$ac_cv_func_lzo1x_999_compress" >&6; }
8922 if test $ac_cv_func_lzo1x_999_compress = yes; then
8925 { { echo "$as_me:$LINENO: error: LZO1X-999 must be enabled" >&5
8926 echo "$as_me: error: LZO1X-999 must be enabled" >&2;}
8927 { (exit 1); exit 1; }; }
8931 # LZO version 2 uses lzo/lzo1x.h, while LZO version 1 uses lzo1x.h.
8934 for ac_header in lzo/lzo1x.h lzo1x.h
8936 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8937 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8938 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8939 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8940 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8941 echo $ECHO_N "(cached) $ECHO_C" >&6
8943 ac_res=`eval echo '${'$as_ac_Header'}'`
8944 { echo "$as_me:$LINENO: result: $ac_res" >&5
8945 echo "${ECHO_T}$ac_res" >&6; }
8947 # Is the header compilable?
8948 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8949 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8950 cat >conftest.$ac_ext <<_ACEOF
8953 cat confdefs.h >>conftest.$ac_ext
8954 cat >>conftest.$ac_ext <<_ACEOF
8955 /* end confdefs.h. */
8956 $ac_includes_default
8957 #include <$ac_header>
8959 rm -f conftest.$ac_objext
8960 if { (ac_try="$ac_compile"
8962 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8963 *) ac_try_echo
=$ac_try;;
8965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8966 (eval "$ac_compile") 2>conftest.er1
8968 grep -v '^ *+' conftest.er1
>conftest.err
8970 cat conftest.err
>&5
8971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8972 (exit $ac_status); } && {
8973 test -z "$ac_c_werror_flag" ||
8974 test ! -s conftest.err
8975 } && test -s conftest.
$ac_objext; then
8976 ac_header_compiler
=yes
8978 echo "$as_me: failed program was:" >&5
8979 sed 's/^/| /' conftest.
$ac_ext >&5
8981 ac_header_compiler
=no
8984 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8985 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8986 echo "${ECHO_T}$ac_header_compiler" >&6; }
8988 # Is the header present?
8989 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8990 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8991 cat >conftest.
$ac_ext <<_ACEOF
8994 cat confdefs.h
>>conftest.
$ac_ext
8995 cat >>conftest.
$ac_ext <<_ACEOF
8996 /* end confdefs.h. */
8997 #include <$ac_header>
8999 if { (ac_try
="$ac_cpp conftest.$ac_ext"
9001 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9002 *) ac_try_echo=$ac_try;;
9004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9005 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9007 grep -v '^ *+' conftest.er1 >conftest.err
9009 cat conftest.err >&5
9010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9011 (exit $ac_status); } >/dev/null && {
9012 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9013 test ! -s conftest.err
9015 ac_header_preproc=yes
9017 echo "$as_me: failed program was:" >&5
9018 sed 's/^/| /' conftest.$ac_ext >&5
9020 ac_header_preproc=no
9023 rm -f conftest.err conftest.$ac_ext
9024 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9025 echo "${ECHO_T}$ac_header_preproc" >&6; }
9027 # So? What about this header?
9028 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9030 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9031 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9032 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9033 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9034 ac_header_preproc=yes
9037 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9038 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9039 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9040 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9041 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9042 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9043 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9044 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9045 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9046 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9047 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9048 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9052 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9053 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9054 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9055 echo $ECHO_N "(cached) $ECHO_C" >&6
9057 eval "$as_ac_Header=\$ac_header_preproc"
9059 ac_res=`eval echo '${'$as_ac_Header'}'`
9060 { echo "$as_me:$LINENO: result: $ac_res" >&5
9061 echo "${ECHO_T}$ac_res" >&6; }
9064 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9065 cat >>confdefs.h <<_ACEOF
9066 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9075 # Find out if we are cross-compiling (ie. if we can't use the host compiler
9078 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
9081 if test "$aros_host_arch" == "darwin" ; then
9085 # Set prefix for target compiler etc. if we're cross-compiling
9086 # (should possibly be earlier but needs to be after AC_PROG_CC)
9087 if test "$cross_compiling" = "yes" ; then
9088 target_tool_prefix=${target_cpu}-elf-
9089 CC=${target_tool_prefix}gcc
9092 # Find all the tools we need to compile. This could be cross-compiling
9093 # though! If that is the case we use the GNU form of the target and
9094 # simply add this to the front of the binary name. This is rather simple,
9095 # but it should work under most circumstances.
9097 # The default tools are to use the same as the host, but only if the
9098 # host and target CPU are the same. With GCC this is normally enough.
9102 aros_shared_ld="$aros_host_ld"
9104 aros_target_mkdep="$aros_host_mkdep"
9105 aros_target_incl_def="$aros_host_incl"
9107 # Extract the first word of "$CC", so it can be a program name with args.
9108 set dummy $CC; ac_word=$2
9109 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9111 if test "${ac_cv_path_aros_kernel_cc+set}" = set; then
9112 echo $ECHO_N "(cached) $ECHO_C" >&6
9114 case $aros_kernel_cc in
9116 ac_cv_path_aros_kernel_cc="$aros_kernel_cc" # Let the user override the test with a path.
9119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9123 test -z "$as_dir" && as_dir=.
9124 for ac_exec_ext in '' $ac_executable_extensions; do
9125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9126 ac_cv_path_aros_kernel_cc="$as_dir/$ac_word$ac_exec_ext"
9127 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9137 aros_kernel_cc=$ac_cv_path_aros_kernel_cc
9138 if test -n "$aros_kernel_cc"; then
9139 { echo "$as_me:$LINENO: result: $aros_kernel_cc" >&5
9140 echo "${ECHO_T}$aros_kernel_cc" >&6; }
9142 { echo "$as_me:$LINENO: result: no" >&5
9143 echo "${ECHO_T}no" >&6; }
9148 # The default tools executables to be linked to.
9150 if test "$cross_compiling" = "yes" ; then
9151 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
9152 set dummy ${target_tool_prefix}as; ac_word=$2
9153 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9155 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9156 echo $ECHO_N "(cached) $ECHO_C" >&6
9158 case $aros_target_as_ln in
9160 ac_cv_path_aros_target_as_ln="$aros_target_as_ln" # Let the user override the test with a path.
9163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9167 test -z "$as_dir" && as_dir=.
9168 for ac_exec_ext in '' $ac_executable_extensions; do
9169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9170 ac_cv_path_aros_target_as_ln="$as_dir/$ac_word$ac_exec_ext"
9171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9181 aros_target_as_ln=$ac_cv_path_aros_target_as_ln
9182 if test -n "$aros_target_as_ln"; then
9183 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9184 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9186 { echo "$as_me:$LINENO: result: no" >&5
9187 echo "${ECHO_T}no" >&6; }
9192 if test "$GCC" = "yes"; then
9193 aros_gcc_as=`$CC -print-prog-name=as
`
9194 # Extract the first word of "`basename $aros_gcc_[as
]`", so it can be a program name with args.
9195 set dummy `basename $aros_gcc_as`; ac_word=$2
9196 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9198 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9199 echo $ECHO_N "(cached) $ECHO_C" >&6
9201 case $aros_target_as_ln in
9203 ac_cv_path_aros_target_as_ln="$aros_target_as_ln" # Let the user override the test with a path.
9206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9207 for as_dir in `dirname $aros_gcc_as`
9210 test -z "$as_dir" && as_dir=.
9211 for ac_exec_ext in '' $ac_executable_extensions; do
9212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9213 ac_cv_path_aros_target_as_ln="$as_dir/$ac_word$ac_exec_ext"
9214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9224 aros_target_as_ln=$ac_cv_path_aros_target_as_ln
9225 if test -n "$aros_target_as_ln"; then
9226 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9227 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9229 { echo "$as_me:$LINENO: result: no" >&5
9230 echo "${ECHO_T}no" >&6; }
9235 if test "$aros_target_as_ln" = ""; then
9236 # Extract the first word of "as", so it can be a program name with args.
9237 set dummy as; ac_word=$2
9238 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9239 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9240 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9241 echo $ECHO_N "(cached) $ECHO_C" >&6
9243 case $aros_target_as_ln in
9245 ac_cv_path_aros_target_as_ln="$aros_target_as_ln" # Let the user override the test with a path.
9248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9252 test -z "$as_dir" && as_dir=.
9253 for ac_exec_ext in '' $ac_executable_extensions; do
9254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9255 ac_cv_path_aros_target_as_ln="$as_dir/$ac_word$ac_exec_ext"
9256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9266 aros_target_as_ln=$ac_cv_path_aros_target_as_ln
9267 if test -n "$aros_target_as_ln"; then
9268 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9269 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9271 { echo "$as_me:$LINENO: result: no" >&5
9272 echo "${ECHO_T}no" >&6; }
9279 if test "$aros_target_as_ln" = ""; then
9280 { { echo "$as_me:$LINENO: error: as is required to build AROS. Please install and run configure again." >&5
9281 echo "$as_me: error: as is required to build AROS. Please install and run configure again." >&2;}
9282 { (exit 1); exit 1; }; }
9285 if test "$cross_compiling" = "yes" ; then
9286 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
9287 set dummy ${target_tool_prefix}ld; ac_word=$2
9288 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9290 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9291 echo $ECHO_N "(cached) $ECHO_C" >&6
9293 case $aros_kernel_ld in
9295 ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path.
9298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9302 test -z "$as_dir" && as_dir=.
9303 for ac_exec_ext in '' $ac_executable_extensions; do
9304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9305 ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext"
9306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9316 aros_kernel_ld=$ac_cv_path_aros_kernel_ld
9317 if test -n "$aros_kernel_ld"; then
9318 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9319 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9321 { echo "$as_me:$LINENO: result: no" >&5
9322 echo "${ECHO_T}no" >&6; }
9327 if test "$GCC" = "yes"; then
9328 aros_gcc_ld=`$CC -print-prog-name=ld
`
9329 # Extract the first word of "`basename $aros_gcc_[ld
]`", so it can be a program name with args.
9330 set dummy `basename $aros_gcc_ld`; ac_word=$2
9331 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9333 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9334 echo $ECHO_N "(cached) $ECHO_C" >&6
9336 case $aros_kernel_ld in
9338 ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path.
9341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9342 for as_dir in `dirname $aros_gcc_ld`
9345 test -z "$as_dir" && as_dir=.
9346 for ac_exec_ext in '' $ac_executable_extensions; do
9347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9348 ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext"
9349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9359 aros_kernel_ld=$ac_cv_path_aros_kernel_ld
9360 if test -n "$aros_kernel_ld"; then
9361 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9362 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9364 { echo "$as_me:$LINENO: result: no" >&5
9365 echo "${ECHO_T}no" >&6; }
9370 if test "$aros_kernel_ld" = ""; then
9371 # Extract the first word of "ld", so it can be a program name with args.
9372 set dummy ld; ac_word=$2
9373 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9375 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9376 echo $ECHO_N "(cached) $ECHO_C" >&6
9378 case $aros_kernel_ld in
9380 ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path.
9383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9387 test -z "$as_dir" && as_dir=.
9388 for ac_exec_ext in '' $ac_executable_extensions; do
9389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9390 ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext"
9391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9401 aros_kernel_ld=$ac_cv_path_aros_kernel_ld
9402 if test -n "$aros_kernel_ld"; then
9403 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9404 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9406 { echo "$as_me:$LINENO: result: no" >&5
9407 echo "${ECHO_T}no" >&6; }
9414 if test "$aros_kernel_ld" = ""; then
9415 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
9416 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
9417 { (exit 1); exit 1; }; }
9420 if test "$cross_compiling" = "yes" ; then
9421 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
9422 set dummy ${target_tool_prefix}ar; ac_word=$2
9423 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9425 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9426 echo $ECHO_N "(cached) $ECHO_C" >&6
9428 case $aros_target_ar_ln in
9430 ac_cv_path_aros_target_ar_ln="$aros_target_ar_ln" # Let the user override the test with a path.
9433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9437 test -z "$as_dir" && as_dir=.
9438 for ac_exec_ext in '' $ac_executable_extensions; do
9439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9440 ac_cv_path_aros_target_ar_ln="$as_dir/$ac_word$ac_exec_ext"
9441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9451 aros_target_ar_ln=$ac_cv_path_aros_target_ar_ln
9452 if test -n "$aros_target_ar_ln"; then
9453 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9454 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9456 { echo "$as_me:$LINENO: result: no" >&5
9457 echo "${ECHO_T}no" >&6; }
9462 if test "$GCC" = "yes"; then
9463 aros_gcc_ar=`$CC -print-prog-name=ar`
9464 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9465 set dummy `basename $aros_gcc_ar`; ac_word=$2
9466 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9468 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9469 echo $ECHO_N "(cached) $ECHO_C" >&6
9471 case $aros_target_ar_ln in
9473 ac_cv_path_aros_target_ar_ln="$aros_target_ar_ln" # Let the user override the test with a path.
9476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9477 for as_dir in `dirname $aros_gcc_ar`
9480 test -z "$as_dir" && as_dir=.
9481 for ac_exec_ext in '' $ac_executable_extensions; do
9482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9483 ac_cv_path_aros_target_ar_ln="$as_dir/$ac_word$ac_exec_ext"
9484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9494 aros_target_ar_ln=$ac_cv_path_aros_target_ar_ln
9495 if test -n "$aros_target_ar_ln"; then
9496 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9497 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9499 { echo "$as_me:$LINENO: result: no" >&5
9500 echo "${ECHO_T}no" >&6; }
9505 if test "$aros_target_ar_ln" = ""; then
9506 # Extract the first word of "ar", so it can be a program name with args.
9507 set dummy ar; ac_word=$2
9508 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9510 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9511 echo $ECHO_N "(cached) $ECHO_C" >&6
9513 case $aros_target_ar_ln in
9515 ac_cv_path_aros_target_ar_ln="$aros_target_ar_ln" # Let the user override the test with a path.
9518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9522 test -z "$as_dir" && as_dir=.
9523 for ac_exec_ext in '' $ac_executable_extensions; do
9524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9525 ac_cv_path_aros_target_ar_ln="$as_dir/$ac_word$ac_exec_ext"
9526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9536 aros_target_ar_ln=$ac_cv_path_aros_target_ar_ln
9537 if test -n "$aros_target_ar_ln"; then
9538 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9539 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9541 { echo "$as_me:$LINENO: result: no" >&5
9542 echo "${ECHO_T}no" >&6; }
9549 if test "$aros_target_ar_ln" = ""; then
9550 { { echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
9551 echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
9552 { (exit 1); exit 1; }; }
9555 if test "$cross_compiling" = "yes" ; then
9556 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
9557 set dummy ${target_tool_prefix}nm; ac_word=$2
9558 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9560 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
9561 echo $ECHO_N "(cached) $ECHO_C" >&6
9563 case $aros_target_nm_ln in
9565 ac_cv_path_aros_target_nm_ln="$aros_target_nm_ln" # Let the user override the test with a path.
9568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9572 test -z "$as_dir" && as_dir=.
9573 for ac_exec_ext in '' $ac_executable_extensions; do
9574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9575 ac_cv_path_aros_target_nm_ln="$as_dir/$ac_word$ac_exec_ext"
9576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9586 aros_target_nm_ln=$ac_cv_path_aros_target_nm_ln
9587 if test -n "$aros_target_nm_ln"; then
9588 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
9589 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
9591 { echo "$as_me:$LINENO: result: no" >&5
9592 echo "${ECHO_T}no" >&6; }
9597 if test "$GCC" = "yes"; then
9598 aros_gcc_nm=`$CC -print-prog-name=nm
`
9599 # Extract the first word of "`basename $aros_gcc_[nm
]`", so it can be a program name with args.
9600 set dummy `basename $aros_gcc_nm`; ac_word=$2
9601 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9603 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
9604 echo $ECHO_N "(cached) $ECHO_C" >&6
9606 case $aros_target_nm_ln in
9608 ac_cv_path_aros_target_nm_ln="$aros_target_nm_ln" # Let the user override the test with a path.
9611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9612 for as_dir in `dirname $aros_gcc_nm`
9615 test -z "$as_dir" && as_dir=.
9616 for ac_exec_ext in '' $ac_executable_extensions; do
9617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9618 ac_cv_path_aros_target_nm_ln="$as_dir/$ac_word$ac_exec_ext"
9619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9629 aros_target_nm_ln=$ac_cv_path_aros_target_nm_ln
9630 if test -n "$aros_target_nm_ln"; then
9631 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
9632 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
9634 { echo "$as_me:$LINENO: result: no" >&5
9635 echo "${ECHO_T}no" >&6; }
9640 if test "$aros_target_nm_ln" = ""; then
9641 # Extract the first word of "nm", so it can be a program name with args.
9642 set dummy nm; ac_word=$2
9643 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9645 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
9646 echo $ECHO_N "(cached) $ECHO_C" >&6
9648 case $aros_target_nm_ln in
9650 ac_cv_path_aros_target_nm_ln="$aros_target_nm_ln" # Let the user override the test with a path.
9653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9657 test -z "$as_dir" && as_dir=.
9658 for ac_exec_ext in '' $ac_executable_extensions; do
9659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9660 ac_cv_path_aros_target_nm_ln="$as_dir/$ac_word$ac_exec_ext"
9661 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9671 aros_target_nm_ln=$ac_cv_path_aros_target_nm_ln
9672 if test -n "$aros_target_nm_ln"; then
9673 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
9674 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
9676 { echo "$as_me:$LINENO: result: no" >&5
9677 echo "${ECHO_T}no" >&6; }
9684 if test "$aros_target_nm_ln" = ""; then
9685 { { echo "$as_me:$LINENO: error: nm is required to build AROS. Please install and run configure again." >&5
9686 echo "$as_me: error: nm is required to build AROS. Please install and run configure again." >&2;}
9687 { (exit 1); exit 1; }; }
9690 if test "$cross_compiling" = "yes" ; then
9691 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
9692 set dummy ${target_tool_prefix}objcopy; ac_word=$2
9693 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9695 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
9696 echo $ECHO_N "(cached) $ECHO_C" >&6
9698 case $aros_target_objcopy_ln in
9700 ac_cv_path_aros_target_objcopy_ln="$aros_target_objcopy_ln" # Let the user override the test with a path.
9703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9707 test -z "$as_dir" && as_dir=.
9708 for ac_exec_ext in '' $ac_executable_extensions; do
9709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9710 ac_cv_path_aros_target_objcopy_ln="$as_dir/$ac_word$ac_exec_ext"
9711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9721 aros_target_objcopy_ln=$ac_cv_path_aros_target_objcopy_ln
9722 if test -n "$aros_target_objcopy_ln"; then
9723 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
9724 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
9726 { echo "$as_me:$LINENO: result: no" >&5
9727 echo "${ECHO_T}no" >&6; }
9732 if test "$GCC" = "yes"; then
9733 aros_gcc_objcopy=`$CC -print-prog-name=objcopy
`
9734 # Extract the first word of "`basename $aros_gcc_[objcopy
]`", so it can be a program name with args.
9735 set dummy `basename $aros_gcc_objcopy`; ac_word=$2
9736 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9737 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9738 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
9739 echo $ECHO_N "(cached) $ECHO_C" >&6
9741 case $aros_target_objcopy_ln in
9743 ac_cv_path_aros_target_objcopy_ln="$aros_target_objcopy_ln" # Let the user override the test with a path.
9746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9747 for as_dir in `dirname $aros_gcc_objcopy`
9750 test -z "$as_dir" && as_dir=.
9751 for ac_exec_ext in '' $ac_executable_extensions; do
9752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9753 ac_cv_path_aros_target_objcopy_ln="$as_dir/$ac_word$ac_exec_ext"
9754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9764 aros_target_objcopy_ln=$ac_cv_path_aros_target_objcopy_ln
9765 if test -n "$aros_target_objcopy_ln"; then
9766 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
9767 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
9769 { echo "$as_me:$LINENO: result: no" >&5
9770 echo "${ECHO_T}no" >&6; }
9775 if test "$aros_target_objcopy_ln" = ""; then
9776 # Extract the first word of "objcopy", so it can be a program name with args.
9777 set dummy objcopy; ac_word=$2
9778 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9780 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
9781 echo $ECHO_N "(cached) $ECHO_C" >&6
9783 case $aros_target_objcopy_ln in
9785 ac_cv_path_aros_target_objcopy_ln="$aros_target_objcopy_ln" # Let the user override the test with a path.
9788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9792 test -z "$as_dir" && as_dir=.
9793 for ac_exec_ext in '' $ac_executable_extensions; do
9794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9795 ac_cv_path_aros_target_objcopy_ln="$as_dir/$ac_word$ac_exec_ext"
9796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9806 aros_target_objcopy_ln=$ac_cv_path_aros_target_objcopy_ln
9807 if test -n "$aros_target_objcopy_ln"; then
9808 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
9809 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
9811 { echo "$as_me:$LINENO: result: no" >&5
9812 echo "${ECHO_T}no" >&6; }
9819 if test "$aros_target_objcopy_ln" = ""; then
9820 { { echo "$as_me:$LINENO: error: objcopy is required to build AROS. Please install and run configure again." >&5
9821 echo "$as_me: error: objcopy is required to build AROS. Please install and run configure again." >&2;}
9822 { (exit 1); exit 1; }; }
9825 if test "$cross_compiling" = "yes" ; then
9826 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
9827 set dummy ${target_tool_prefix}objdump; ac_word=$2
9828 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9830 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
9831 echo $ECHO_N "(cached) $ECHO_C" >&6
9833 case $aros_target_objdump_ln in
9835 ac_cv_path_aros_target_objdump_ln="$aros_target_objdump_ln" # Let the user override the test with a path.
9838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9842 test -z "$as_dir" && as_dir=.
9843 for ac_exec_ext in '' $ac_executable_extensions; do
9844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9845 ac_cv_path_aros_target_objdump_ln="$as_dir/$ac_word$ac_exec_ext"
9846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9856 aros_target_objdump_ln=$ac_cv_path_aros_target_objdump_ln
9857 if test -n "$aros_target_objdump_ln"; then
9858 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
9859 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
9861 { echo "$as_me:$LINENO: result: no" >&5
9862 echo "${ECHO_T}no" >&6; }
9867 if test "$GCC" = "yes"; then
9868 aros_gcc_objdump=`$CC -print-prog-name=objdump
`
9869 # Extract the first word of "`basename $aros_gcc_[objdump
]`", so it can be a program name with args.
9870 set dummy `basename $aros_gcc_objdump`; ac_word=$2
9871 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9873 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
9874 echo $ECHO_N "(cached) $ECHO_C" >&6
9876 case $aros_target_objdump_ln in
9878 ac_cv_path_aros_target_objdump_ln="$aros_target_objdump_ln" # Let the user override the test with a path.
9881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9882 for as_dir in `dirname $aros_gcc_objdump`
9885 test -z "$as_dir" && as_dir=.
9886 for ac_exec_ext in '' $ac_executable_extensions; do
9887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9888 ac_cv_path_aros_target_objdump_ln="$as_dir/$ac_word$ac_exec_ext"
9889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9899 aros_target_objdump_ln=$ac_cv_path_aros_target_objdump_ln
9900 if test -n "$aros_target_objdump_ln"; then
9901 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
9902 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
9904 { echo "$as_me:$LINENO: result: no" >&5
9905 echo "${ECHO_T}no" >&6; }
9910 if test "$aros_target_objdump_ln" = ""; then
9911 # Extract the first word of "objdump", so it can be a program name with args.
9912 set dummy objdump; ac_word=$2
9913 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9915 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
9916 echo $ECHO_N "(cached) $ECHO_C" >&6
9918 case $aros_target_objdump_ln in
9920 ac_cv_path_aros_target_objdump_ln="$aros_target_objdump_ln" # Let the user override the test with a path.
9923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9927 test -z "$as_dir" && as_dir=.
9928 for ac_exec_ext in '' $ac_executable_extensions; do
9929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9930 ac_cv_path_aros_target_objdump_ln="$as_dir/$ac_word$ac_exec_ext"
9931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9941 aros_target_objdump_ln=$ac_cv_path_aros_target_objdump_ln
9942 if test -n "$aros_target_objdump_ln"; then
9943 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
9944 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
9946 { echo "$as_me:$LINENO: result: no" >&5
9947 echo "${ECHO_T}no" >&6; }
9954 if test "$aros_target_objdump_ln" = ""; then
9955 { { echo "$as_me:$LINENO: error: objdump is required to build AROS. Please install and run configure again." >&5
9956 echo "$as_me: error: objdump is required to build AROS. Please install and run configure again." >&2;}
9957 { (exit 1); exit 1; }; }
9960 if test "$cross_compiling" = "yes" ; then
9961 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
9962 set dummy ${target_tool_prefix}ranlib; ac_word=$2
9963 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9965 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
9966 echo $ECHO_N "(cached) $ECHO_C" >&6
9968 case $aros_target_ranlib_ln in
9970 ac_cv_path_aros_target_ranlib_ln="$aros_target_ranlib_ln" # Let the user override the test with a path.
9973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9977 test -z "$as_dir" && as_dir=.
9978 for ac_exec_ext in '' $ac_executable_extensions; do
9979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9980 ac_cv_path_aros_target_ranlib_ln="$as_dir/$ac_word$ac_exec_ext"
9981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9991 aros_target_ranlib_ln=$ac_cv_path_aros_target_ranlib_ln
9992 if test -n "$aros_target_ranlib_ln"; then
9993 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
9994 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
9996 { echo "$as_me:$LINENO: result: no" >&5
9997 echo "${ECHO_T}no" >&6; }
10002 if test "$GCC" = "yes"; then
10003 aros_gcc_ranlib=`$CC -print-prog-name=ranlib
`
10004 # Extract the first word of "`basename $aros_gcc_[ranlib
]`", so it can be a program name with args.
10005 set dummy `basename $aros_gcc_ranlib`; ac_word=$2
10006 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10008 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10009 echo $ECHO_N "(cached) $ECHO_C" >&6
10011 case $aros_target_ranlib_ln in
10013 ac_cv_path_aros_target_ranlib_ln="$aros_target_ranlib_ln" # Let the user override the test with a path.
10016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10017 for as_dir in `dirname $aros_gcc_ranlib`
10020 test -z "$as_dir" && as_dir=.
10021 for ac_exec_ext in '' $ac_executable_extensions; do
10022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10023 ac_cv_path_aros_target_ranlib_ln="$as_dir/$ac_word$ac_exec_ext"
10024 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10034 aros_target_ranlib_ln=$ac_cv_path_aros_target_ranlib_ln
10035 if test -n "$aros_target_ranlib_ln"; then
10036 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10037 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10039 { echo "$as_me:$LINENO: result: no" >&5
10040 echo "${ECHO_T}no" >&6; }
10045 if test "$aros_target_ranlib_ln" = ""; then
10046 # Extract the first word of "ranlib", so it can be a program name with args.
10047 set dummy ranlib; ac_word=$2
10048 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10050 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10051 echo $ECHO_N "(cached) $ECHO_C" >&6
10053 case $aros_target_ranlib_ln in
10055 ac_cv_path_aros_target_ranlib_ln="$aros_target_ranlib_ln" # Let the user override the test with a path.
10058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10059 for as_dir in $PATH
10062 test -z "$as_dir" && as_dir=.
10063 for ac_exec_ext in '' $ac_executable_extensions; do
10064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10065 ac_cv_path_aros_target_ranlib_ln="$as_dir/$ac_word$ac_exec_ext"
10066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10076 aros_target_ranlib_ln=$ac_cv_path_aros_target_ranlib_ln
10077 if test -n "$aros_target_ranlib_ln"; then
10078 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10079 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10081 { echo "$as_me:$LINENO: result: no" >&5
10082 echo "${ECHO_T}no" >&6; }
10089 if test "$aros_target_ranlib_ln" = ""; then
10090 { { echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
10091 echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
10092 { (exit 1); exit 1; }; }
10095 if test "$cross_compiling" = "yes" ; then
10096 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
10097 set dummy ${target_tool_prefix}strip; ac_word=$2
10098 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10100 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10101 echo $ECHO_N "(cached) $ECHO_C" >&6
10103 case $aros_target_strip_ln in
10105 ac_cv_path_aros_target_strip_ln="$aros_target_strip_ln" # Let the user override the test with a path.
10108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10109 for as_dir in $PATH
10112 test -z "$as_dir" && as_dir=.
10113 for ac_exec_ext in '' $ac_executable_extensions; do
10114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10115 ac_cv_path_aros_target_strip_ln="$as_dir/$ac_word$ac_exec_ext"
10116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10126 aros_target_strip_ln=$ac_cv_path_aros_target_strip_ln
10127 if test -n "$aros_target_strip_ln"; then
10128 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10129 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10131 { echo "$as_me:$LINENO: result: no" >&5
10132 echo "${ECHO_T}no" >&6; }
10137 if test "$GCC" = "yes"; then
10138 aros_gcc_strip=`$CC -print-prog-name=strip
`
10139 # Extract the first word of "`basename $aros_gcc_[strip
]`", so it can be a program name with args.
10140 set dummy `basename $aros_gcc_strip`; ac_word=$2
10141 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10143 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10144 echo $ECHO_N "(cached) $ECHO_C" >&6
10146 case $aros_target_strip_ln in
10148 ac_cv_path_aros_target_strip_ln="$aros_target_strip_ln" # Let the user override the test with a path.
10151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10152 for as_dir in `dirname $aros_gcc_strip`
10155 test -z "$as_dir" && as_dir=.
10156 for ac_exec_ext in '' $ac_executable_extensions; do
10157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10158 ac_cv_path_aros_target_strip_ln="$as_dir/$ac_word$ac_exec_ext"
10159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10169 aros_target_strip_ln=$ac_cv_path_aros_target_strip_ln
10170 if test -n "$aros_target_strip_ln"; then
10171 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10172 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10174 { echo "$as_me:$LINENO: result: no" >&5
10175 echo "${ECHO_T}no" >&6; }
10180 if test "$aros_target_strip_ln" = ""; then
10181 # Extract the first word of "strip", so it can be a program name with args.
10182 set dummy strip; ac_word=$2
10183 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10185 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10186 echo $ECHO_N "(cached) $ECHO_C" >&6
10188 case $aros_target_strip_ln in
10190 ac_cv_path_aros_target_strip_ln="$aros_target_strip_ln" # Let the user override the test with a path.
10193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10194 for as_dir in $PATH
10197 test -z "$as_dir" && as_dir=.
10198 for ac_exec_ext in '' $ac_executable_extensions; do
10199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10200 ac_cv_path_aros_target_strip_ln="$as_dir/$ac_word$ac_exec_ext"
10201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10211 aros_target_strip_ln=$ac_cv_path_aros_target_strip_ln
10212 if test -n "$aros_target_strip_ln"; then
10213 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10214 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10216 { echo "$as_me:$LINENO: result: no" >&5
10217 echo "${ECHO_T}no" >&6; }
10224 if test "$aros_target_strip_ln" = ""; then
10225 { { echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
10226 echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
10227 { (exit 1); exit 1; }; }
10230 if test "$GCC" = "yes"; then
10231 aros_target_cc_path=`$aros_kernel_cc -print-search-dirs |
grep "programs: =" | cut
-c 12-`
10234 aros_hostcfg_dir="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
10235 aros_targetcfg_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
10236 aros_inc_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
10237 aros_gendir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
10238 aros_geninc_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
10239 aros_tools_dir="bin/${aros_host_arch}-${aros_host_cpu}/tools"
10240 aros_scripts_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
10242 # aros_cc_pre is a variable that is added to the front of the compiler name
10243 # in the generated aros-gcc shell script. We need this to enable the cache
10244 # to work across cleaned builds. Also, support DISTCC using the correct
10245 # environment variable.
10248 if test "x${DISTCC}" != "x" ; then
10249 if test "x${CCACHE}" != "x" ; then
10250 aros_cc_pre="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
10252 aros_cc_pre="${DISTCC} "
10255 if test "x${CCACHE}" != "x" ; then
10256 aros_cc_pre="${CCACHE} "
10260 prefix="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
10262 aros_target_nostdinc_cflags=-nostdinc
10264 aros_target_nostartup_ldflags=-nostartfiles
10266 aros_target_nix_ldflags=-nix
10268 aros_target_detach_ldflags=-detach
10270 aros_target_nostdlib_ldflags=-nostdlib
10274 aros_target_cc="${prefix}-gcc"
10275 aros_target_as="${prefix}-as"
10276 aros_target_ld="${prefix}-ld"
10277 aros_target_ar="${prefix}-ar $aros_target_ar_flags"
10278 aros_target_objcopy=${prefix}-objcopy
10279 aros_target_objdump=${prefix}-objdump
10280 aros_target_ranlib="${prefix}-ranlib $aros_target_ranlib_flags"
10281 aros_target_nm="${prefix}-nm $aros_target_nm_flags"
10282 aros_kernel_nm="${prefix}-nm"
10283 aros_target_strip=${prefix}-strip
10286 # Find the system include path. We can suggest that an alternative is
10287 # used if we don't get it correct. The default is to use /usr/include.
10288 # Which is set in the aros_target_incl_def variable.
10290 # Check whether --enable-includes was given.
10291 if test "${enable_includes+set}" = set; then
10292 enableval=$enable_includes; aros_target_incl=$enable_includes
10294 aros_target_incl=$aros_target_incl_def
10298 { echo "$as_me:$LINENO: checking for the target compiler's include path" >&5
10299 echo $ECHO_N "checking for the target compiler's include path... $ECHO_C" >&6; }
10300 if test "$aros_target_cc_includes" = "" ; then
10301 #try to guess where the directory is
10302 aros_target_cc_includes=`dirname \
`${aros_kernel_cc} -print-libgcc-file-name\``/include
10303 if ! test -d $aros_target_cc_includes; then
10304 #the directory doesn't exist, we need to do some more work
10305 aros_target_cc_includes=${PWD}/${aros_gendir}/cc_include
10307 #these are the headers we're looling for
10308 headers="limits.h mmintrin.h stdbool.h syslimits.h float.h \
10309 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
10313 for h in $headers; do
10314 #which other headers each of the above headers needs?
10315 deps=$(echo "#include <$h>" | \
10316 $aros_host_cc -E -M - 2>/dev/null | \
10317 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
10319 #copy all the needed headers to a directory beneath gendir
10322 dir=${aros_target_cc_includes}$(echo $(dirname $d) | \
10323 sed -n "s,^.*/include\(/.*\),\1,p")
10324 ! test -d $dir && mkdir -p $dir
10325 ! test -f $dir/$h && { cp $d $dir; chmod u+w $dir/$h; }
10330 { echo "$as_me:$LINENO: result: $aros_target_cc_includes" >&5
10331 echo "${ECHO_T}$aros_target_cc_includes" >&6; }
10333 { echo "$as_me:$LINENO: checking for default resolution of WBScreen" >&5
10334 echo $ECHO_N "checking for default resolution of WBScreen... $ECHO_C" >&6; }
10336 # Check whether --with-resolution was given.
10337 if test "${with_resolution+set}" = set; then
10338 withval=$with_resolution; resolution=$withval
10343 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
10344 if test "$resolution" = "yes" ; then
10347 if test "$resolution" = "no" ; then
10350 if test "$resolution" != "none" ; then
10351 aros_default_wbwidth=`echo $resolution | cut
-d'x' -f1`
10352 aros_default_wbheight=`echo $resolution | cut
-d'x' -f2`
10353 aros_default_wbdepth=`echo $resolution | cut
-d'x' -f3`
10355 { echo "$as_me:$LINENO: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
10356 echo "${ECHO_T}$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
10357 aros_cv_default_wbwidth=$aros_default_wbwidth
10358 aros_cv_default_wbheight=$aros_default_wbheight
10359 aros_cv_default_wbdepth=$aros_default_wbdepth
10361 { echo "$as_me:$LINENO: checking if bochs hack is enabled" >&5
10362 echo $ECHO_N "checking if bochs hack is enabled... $ECHO_C" >&6; }
10363 # Check whether --enable-bochs_hack was given.
10364 if test "${enable_bochs_hack+set}" = set; then
10365 enableval=$enable_bochs_hack; bochs_hack="yes"
10370 if test "$bochs_hack" = "yes" ; then
10371 aros_bochs_hack="1"
10373 { echo "$as_me:$LINENO: result: $bochs_hack" >&5
10374 echo "${ECHO_T}$bochs_hack" >&6; }
10376 { echo "$as_me:$LINENO: checking if serial debug is enabled" >&5
10377 echo $ECHO_N "checking if serial debug is enabled... $ECHO_C" >&6; }
10379 # Check whether --with-serial-debug was given.
10380 if test "${with_serial_debug+set}" = set; then
10381 withval=$with_serial_debug; serial_debug=$withval
10386 if test "$serial_debug" = "yes" ; then
10389 if test "$serial_debug" = "no" ; then
10390 serial_debug="none"
10392 if test "$serial_debug" != "none" ; then
10393 aros_serial_debug=$serial_debug
10394 { echo "$as_me:$LINENO: result: on port $serial_debug" >&5
10395 echo "${ECHO_T}on port $serial_debug" >&6; }
10397 { echo "$as_me:$LINENO: result: no" >&5
10398 echo "${ECHO_T}no" >&6; }
10401 { echo "$as_me:$LINENO: checking if palm debug hack is enabled" >&5
10402 echo $ECHO_N "checking if palm debug hack is enabled... $ECHO_C" >&6; }
10403 # Check whether --enable-palm_debug_hack was given.
10404 if test "${enable_palm_debug_hack+set}" = set; then
10405 enableval=$enable_palm_debug_hack; palm_debug_hack="yes"
10407 palm_debug_hack="no"
10410 if test "$palm_debug_hack" = "yes" ; then
10411 aros_palm_debug_hack="1"
10413 { echo "$as_me:$LINENO: result: $palm_debug_hack" >&5
10414 echo "${ECHO_T}$palm_debug_hack" >&6; }
10417 { echo "$as_me:$LINENO: checking if nesting supervisor support is enabled" >&5
10418 echo $ECHO_N "checking if nesting supervisor support is enabled... $ECHO_C" >&6; }
10419 # Check whether --enable-nesting_supervisor was given.
10420 if test "${enable_nesting_supervisor+set}" = set; then
10421 enableval=$enable_nesting_supervisor; nesting_supervisor="yes"
10423 nesting_supervisor="no"
10426 if test "$nesting_supervisor" = "yes" ; then
10427 aros_nesting_supervisor="1"
10429 { echo "$as_me:$LINENO: result: $nesting_supervisor" >&5
10430 echo "${ECHO_T}$nesting_supervisor" >&6; }
10433 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
10435 { echo "$as_me:$LINENO: checking for dlopen" >&5
10436 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
10437 if test "${ac_cv_func_dlopen+set}" = set; then
10438 echo $ECHO_N "(cached) $ECHO_C" >&6
10440 cat >conftest.$ac_ext <<_ACEOF
10443 cat confdefs.h >>conftest.$ac_ext
10444 cat >>conftest.$ac_ext <<_ACEOF
10445 /* end confdefs.h. */
10446 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10447 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10448 #define dlopen innocuous_dlopen
10450 /* System header to define __stub macros and hopefully few prototypes,
10451 which can conflict with char dlopen (); below.
10452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10453 <limits.h> exists even on freestanding compilers. */
10456 # include <limits.h>
10458 # include <assert.h>
10463 /* Override any GCC internal prototype to avoid an error.
10464 Use char because int might match the return type of a GCC
10465 builtin and then its argument prototype would still apply. */
10470 /* The GNU C library defines this for functions which it implements
10471 to always fail with ENOSYS. Some functions are actually named
10472 something starting with __ and the normal name is an alias. */
10473 #if defined __stub_dlopen || defined __stub___dlopen
10485 rm -f conftest.$ac_objext conftest$ac_exeext
10486 if { (ac_try="$ac_link"
10487 case "(($ac_try" in
10488 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10489 *) ac_try_echo
=$ac_try;;
10491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10492 (eval "$ac_link") 2>conftest.er1
10494 grep -v '^ *+' conftest.er1
>conftest.err
10496 cat conftest.err
>&5
10497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10498 (exit $ac_status); } && {
10499 test -z "$ac_c_werror_flag" ||
10500 test ! -s conftest.err
10501 } && test -s conftest
$ac_exeext &&
10502 $as_test_x conftest
$ac_exeext; then
10503 ac_cv_func_dlopen
=yes
10505 echo "$as_me: failed program was:" >&5
10506 sed 's/^/| /' conftest.
$ac_ext >&5
10508 ac_cv_func_dlopen
=no
10511 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10512 conftest
$ac_exeext conftest.
$ac_ext
10514 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10515 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10516 if test $ac_cv_func_dlopen = yes; then
10522 if test "x-$have_dl" = "x-no" ; then
10523 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10524 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10525 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10526 echo $ECHO_N "(cached) $ECHO_C" >&6
10528 ac_check_lib_save_LIBS
=$LIBS
10530 cat >conftest.
$ac_ext <<_ACEOF
10533 cat confdefs.h
>>conftest.
$ac_ext
10534 cat >>conftest.
$ac_ext <<_ACEOF
10535 /* end confdefs.h. */
10537 /* Override any GCC internal prototype to avoid an error.
10538 Use char because int might match the return type of a GCC
10539 builtin and then its argument prototype would still apply. */
10552 rm -f conftest.
$ac_objext conftest
$ac_exeext
10553 if { (ac_try
="$ac_link"
10554 case "(($ac_try" in
10555 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10556 *) ac_try_echo=$ac_try;;
10558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10559 (eval "$ac_link") 2>conftest.er1
10561 grep -v '^ *+' conftest.er1 >conftest.err
10563 cat conftest.err >&5
10564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10565 (exit $ac_status); } && {
10566 test -z "$ac_c_werror_flag" ||
10567 test ! -s conftest.err
10568 } && test -s conftest$ac_exeext &&
10569 $as_test_x conftest$ac_exeext; then
10570 ac_cv_lib_dl_dlopen=yes
10572 echo "$as_me: failed program was:" >&5
10573 sed 's/^/| /' conftest.$ac_ext >&5
10575 ac_cv_lib_dl_dlopen=no
10578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10579 conftest$ac_exeext conftest.$ac_ext
10580 LIBS=$ac_check_lib_save_LIBS
10582 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10583 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10584 if test $ac_cv_lib_dl_dlopen = yes; then
10586 aros_host_ldflags="$aros_host_ldflags -ldl"
10592 if test "x-$have_dl" = "x-no" ; then
10593 { { echo "$as_me:$LINENO: error: dlopen() dynamic linker functions not available" >&5
10594 echo "$as_me: error: dlopen() dynamic linker functions not available" >&2;}
10595 { (exit 1); exit 1; }; }
10599 # Check whether --enable-x11_hidd was given.
10600 if test "${enable_x11_hidd+set}" = set; then
10601 enableval=$enable_x11_hidd; x11_hidd="$enableval"
10606 case "x-$x11_hidd" in
10607 x-yes|x-no|x-auto) ;;
10608 *) x11_hidd="auto" ;;
10611 if test "x-$x11_hidd" != "x-no" ; then
10613 { echo "$as_me:$LINENO: checking for X" >&5
10614 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
10617 # Check whether --with-x was given.
10618 if test "${with_x+set}" = set; then
10622 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10623 if test "x$with_x" = xno; then
10624 # The user explicitly disabled X.
10627 case $x_includes,$x_libraries in #(
10628 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
10629 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
10630 { (exit 1); exit 1; }; };; #(
10631 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
10632 echo $ECHO_N "(cached) $ECHO_C" >&6
10634 # One or both of the vars are not set, and there is no cached value.
10635 ac_x_includes=no ac_x_libraries=no
10636 rm -f -r conftest.dir
10637 if mkdir conftest.dir; then
10639 cat >Imakefile <<'_ACEOF'
10641 @echo incroot='${INCROOT}'
10643 @echo usrlibdir='${USRLIBDIR}'
10645 @echo libdir='${LIBDIR}'
10647 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10648 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10649 for ac_var in incroot usrlibdir libdir; do
10650 eval "ac_im_$ac_var=\`\
${MAKE-make} $ac_var 2>/dev
/null |
sed -n 's/^$ac_var=//p'\
`"
10652 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10653 for ac_extension in a so sl; do
10654 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10655 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10656 ac_im_usrlibdir=$ac_im_libdir; break
10659 # Screen out bogus values from the imake configuration. They are
10660 # bogus both because they are the default anyway, and because
10661 # using them would break gcc on systems where it needs fixed includes.
10662 case $ac_im_incroot in
10663 /usr/include) ac_x_includes= ;;
10664 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10666 case $ac_im_usrlibdir in
10667 /usr/lib | /lib) ;;
10668 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10672 rm -f -r conftest.dir
10675 # Standard set of common directories for X headers.
10676 # Check X11 before X11Rn because it is often a symlink to the current release.
10688 /usr/local/X11/include
10689 /usr/local/X11R6/include
10690 /usr/local/X11R5/include
10691 /usr/local/X11R4/include
10693 /usr/local/include/X11
10694 /usr/local/include/X11R6
10695 /usr/local/include/X11R5
10696 /usr/local/include/X11R4
10700 /usr/XFree86/include/X11
10704 /usr/unsupported/include
10705 /usr/athena/include
10706 /usr/local/x11r5/include
10707 /usr/lpp/Xamples/include
10709 /usr/openwin/include
10710 /usr/openwin/share/include'
10712 if test "$ac_x_includes" = no; then
10713 # Guess where to find include files, by looking for Xlib.h.
10714 # First, try using that file with no special directory specified.
10715 cat >conftest.$ac_ext <<_ACEOF
10718 cat confdefs.h >>conftest.$ac_ext
10719 cat >>conftest.$ac_ext <<_ACEOF
10720 /* end confdefs.h. */
10721 #include <X11/Xlib.h>
10723 if { (ac_try="$ac_cpp conftest.$ac_ext"
10724 case "(($ac_try" in
10725 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10726 *) ac_try_echo
=$ac_try;;
10728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10729 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10731 grep -v '^ *+' conftest.er1
>conftest.err
10733 cat conftest.err
>&5
10734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10735 (exit $ac_status); } >/dev
/null
&& {
10736 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10737 test ! -s conftest.err
10739 # We can compile using X headers with no special include directory.
10742 echo "$as_me: failed program was:" >&5
10743 sed 's/^/| /' conftest.
$ac_ext >&5
10745 for ac_dir
in $ac_x_header_dirs; do
10746 if test -r "$ac_dir/X11/Xlib.h"; then
10747 ac_x_includes
=$ac_dir
10753 rm -f conftest.err conftest.
$ac_ext
10754 fi # $ac_x_includes = no
10756 if test "$ac_x_libraries" = no
; then
10757 # Check for the libraries.
10758 # See if we find them without any special options.
10759 # Don't add to $LIBS permanently.
10762 cat >conftest.
$ac_ext <<_ACEOF
10765 cat confdefs.h
>>conftest.
$ac_ext
10766 cat >>conftest.
$ac_ext <<_ACEOF
10767 /* end confdefs.h. */
10768 #include <X11/Xlib.h>
10777 rm -f conftest.
$ac_objext conftest
$ac_exeext
10778 if { (ac_try
="$ac_link"
10779 case "(($ac_try" in
10780 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10781 *) ac_try_echo=$ac_try;;
10783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10784 (eval "$ac_link") 2>conftest.er1
10786 grep -v '^ *+' conftest.er1 >conftest.err
10788 cat conftest.err >&5
10789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10790 (exit $ac_status); } && {
10791 test -z "$ac_c_werror_flag" ||
10792 test ! -s conftest.err
10793 } && test -s conftest$ac_exeext &&
10794 $as_test_x conftest$ac_exeext; then
10796 # We can link X programs with no special library path.
10799 echo "$as_me: failed program was:" >&5
10800 sed 's/^/| /' conftest.$ac_ext >&5
10803 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
10805 # Don't even attempt the hair of trying to link an X program!
10806 for ac_extension in a so sl; do
10807 if test -r "$ac_dir/libX11.$ac_extension"; then
10808 ac_x_libraries=$ac_dir
10815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10816 conftest$ac_exeext conftest.$ac_ext
10817 fi # $ac_x_libraries = no
10819 case $ac_x_includes,$ac_x_libraries in #(
10820 no,* | *,no | *\'*)
10821 # Didn't find X, or a directory has "'" in its name.
10822 ac_cv_have_x="have_x=no";; #(
10824 # Record where we found X for the cache.
10825 ac_cv_have_x="have_x=yes\
10826 ac_x_includes='$ac_x_includes'\
10827 ac_x_libraries='$ac_x_libraries'"
10833 eval "$ac_cv_have_x"
10836 if test "$have_x" != yes; then
10837 { echo "$as_me:$LINENO: result: $have_x" >&5
10838 echo "${ECHO_T}$have_x" >&6; }
10841 # If each of the values was on the command line, it overrides each guess.
10842 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10843 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10844 # Update the cache value to reflect the command line values.
10845 ac_cv_have_x="have_x=yes\
10846 ac_x_includes='$x_includes'\
10847 ac_x_libraries='$x_libraries'"
10848 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
10849 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
10854 for path in $x_libraries
10856 x_cflags="$x_cflags -L$path"
10859 for path in $x_includes
10861 x_cflags="$x_cflags -I$path"
10864 if test "x-$no_x" = "x-yes" ; then
10866 if test "x-$x11_hidd" != "x-auto" ; then
10867 { { echo "$as_me:$LINENO: error: X11 libs/headers not found, cannot build X11 hidd as requested" >&5
10868 echo "$as_me: error: X11 libs/headers not found, cannot build X11 hidd as requested" >&2;}
10869 { (exit 1); exit 1; }; }
10873 x11_hidd_target=kernel-x11gfx
10876 # Check whether --enable-x11_shm was given.
10877 if test "${enable_x11_shm+set}" = set; then
10878 enableval=$enable_x11_shm; x11_hidd_shm="$enableval"
10880 x11_hidd_shm="auto"
10883 case "x-$x11_hidd_shm" in
10884 x-yes|x-no|x-auto) ;;
10885 *) x11_hidd_shm="auto" ;;
10890 if test "x-$x11_hidd_shm" != "x-no" ; then
10893 for ac_header in sys/ipc.h
10895 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10896 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10897 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10898 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10899 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10900 echo $ECHO_N "(cached) $ECHO_C" >&6
10902 ac_res=`eval echo '${'$as_ac_Header'}'`
10903 { echo "$as_me:$LINENO: result: $ac_res" >&5
10904 echo "${ECHO_T}$ac_res" >&6; }
10906 # Is the header compilable?
10907 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10908 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10909 cat >conftest.$ac_ext <<_ACEOF
10912 cat confdefs.h >>conftest.$ac_ext
10913 cat >>conftest.$ac_ext <<_ACEOF
10914 /* end confdefs.h. */
10915 $ac_includes_default
10916 #include <$ac_header>
10918 rm -f conftest.$ac_objext
10919 if { (ac_try="$ac_compile"
10920 case "(($ac_try" in
10921 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10922 *) ac_try_echo
=$ac_try;;
10924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10925 (eval "$ac_compile") 2>conftest.er1
10927 grep -v '^ *+' conftest.er1
>conftest.err
10929 cat conftest.err
>&5
10930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10931 (exit $ac_status); } && {
10932 test -z "$ac_c_werror_flag" ||
10933 test ! -s conftest.err
10934 } && test -s conftest.
$ac_objext; then
10935 ac_header_compiler
=yes
10937 echo "$as_me: failed program was:" >&5
10938 sed 's/^/| /' conftest.
$ac_ext >&5
10940 ac_header_compiler
=no
10943 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10944 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10945 echo "${ECHO_T}$ac_header_compiler" >&6; }
10947 # Is the header present?
10948 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10949 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10950 cat >conftest.
$ac_ext <<_ACEOF
10953 cat confdefs.h
>>conftest.
$ac_ext
10954 cat >>conftest.
$ac_ext <<_ACEOF
10955 /* end confdefs.h. */
10956 #include <$ac_header>
10958 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10959 case "(($ac_try" in
10960 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10961 *) ac_try_echo=$ac_try;;
10963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10964 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10966 grep -v '^ *+' conftest.er1 >conftest.err
10968 cat conftest.err >&5
10969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10970 (exit $ac_status); } >/dev/null && {
10971 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10972 test ! -s conftest.err
10974 ac_header_preproc=yes
10976 echo "$as_me: failed program was:" >&5
10977 sed 's/^/| /' conftest.$ac_ext >&5
10979 ac_header_preproc=no
10982 rm -f conftest.err conftest.$ac_ext
10983 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10984 echo "${ECHO_T}$ac_header_preproc" >&6; }
10986 # So? What about this header?
10987 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10989 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10990 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10991 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10992 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10993 ac_header_preproc=yes
10996 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10997 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10998 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10999 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11000 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11001 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11002 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11003 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11004 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11005 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11006 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11007 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11011 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11012 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11013 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11014 echo $ECHO_N "(cached) $ECHO_C" >&6
11016 eval "$as_ac_Header=\$ac_header_preproc"
11018 ac_res=`eval echo '${'$as_ac_Header'}'`
11019 { echo "$as_me:$LINENO: result: $ac_res" >&5
11020 echo "${ECHO_T}$ac_res" >&6; }
11023 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11024 cat >>confdefs.h <<_ACEOF
11025 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11033 for ac_header in sys/shm.h
11035 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11036 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11037 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11038 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11039 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11040 echo $ECHO_N "(cached) $ECHO_C" >&6
11042 ac_res=`eval echo '${'$as_ac_Header'}'`
11043 { echo "$as_me:$LINENO: result: $ac_res" >&5
11044 echo "${ECHO_T}$ac_res" >&6; }
11046 # Is the header compilable?
11047 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11048 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11049 cat >conftest.$ac_ext <<_ACEOF
11052 cat confdefs.h >>conftest.$ac_ext
11053 cat >>conftest.$ac_ext <<_ACEOF
11054 /* end confdefs.h. */
11055 $ac_includes_default
11056 #include <$ac_header>
11058 rm -f conftest.$ac_objext
11059 if { (ac_try="$ac_compile"
11060 case "(($ac_try" in
11061 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11062 *) ac_try_echo
=$ac_try;;
11064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11065 (eval "$ac_compile") 2>conftest.er1
11067 grep -v '^ *+' conftest.er1
>conftest.err
11069 cat conftest.err
>&5
11070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11071 (exit $ac_status); } && {
11072 test -z "$ac_c_werror_flag" ||
11073 test ! -s conftest.err
11074 } && test -s conftest.
$ac_objext; then
11075 ac_header_compiler
=yes
11077 echo "$as_me: failed program was:" >&5
11078 sed 's/^/| /' conftest.
$ac_ext >&5
11080 ac_header_compiler
=no
11083 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11084 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11085 echo "${ECHO_T}$ac_header_compiler" >&6; }
11087 # Is the header present?
11088 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11089 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11090 cat >conftest.
$ac_ext <<_ACEOF
11093 cat confdefs.h
>>conftest.
$ac_ext
11094 cat >>conftest.
$ac_ext <<_ACEOF
11095 /* end confdefs.h. */
11096 #include <$ac_header>
11098 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11099 case "(($ac_try" in
11100 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11101 *) ac_try_echo=$ac_try;;
11103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11104 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11106 grep -v '^ *+' conftest.er1 >conftest.err
11108 cat conftest.err >&5
11109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11110 (exit $ac_status); } >/dev/null && {
11111 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11112 test ! -s conftest.err
11114 ac_header_preproc=yes
11116 echo "$as_me: failed program was:" >&5
11117 sed 's/^/| /' conftest.$ac_ext >&5
11119 ac_header_preproc=no
11122 rm -f conftest.err conftest.$ac_ext
11123 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11124 echo "${ECHO_T}$ac_header_preproc" >&6; }
11126 # So? What about this header?
11127 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11129 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11130 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11131 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11132 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11133 ac_header_preproc=yes
11136 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11137 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11138 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11139 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11140 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11141 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11142 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11143 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11144 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11145 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11146 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11147 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11151 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11152 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11153 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11154 echo $ECHO_N "(cached) $ECHO_C" >&6
11156 eval "$as_ac_Header=\$ac_header_preproc"
11158 ac_res=`eval echo '${'$as_ac_Header'}'`
11159 { echo "$as_me:$LINENO: result: $ac_res" >&5
11160 echo "${ECHO_T}$ac_res" >&6; }
11163 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11164 cat >>confdefs.h <<_ACEOF
11165 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11173 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
11175 save_cflags="$CFLAGS"
11176 CFLAGS="$CFLAGS $x_cflags"
11177 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
11178 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
11179 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
11180 echo $ECHO_N "(cached) $ECHO_C" >&6
11182 ac_check_lib_save_LIBS=$LIBS
11183 LIBS="-lXext $LIBS"
11184 cat >conftest.$ac_ext <<_ACEOF
11187 cat confdefs.h >>conftest.$ac_ext
11188 cat >>conftest.$ac_ext <<_ACEOF
11189 /* end confdefs.h. */
11191 /* Override any GCC internal prototype to avoid an error.
11192 Use char because int might match the return type of a GCC
11193 builtin and then its argument prototype would still apply. */
11197 char XShmQueryExtension ();
11201 return XShmQueryExtension ();
11206 rm -f conftest.$ac_objext conftest$ac_exeext
11207 if { (ac_try="$ac_link"
11208 case "(($ac_try" in
11209 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11210 *) ac_try_echo
=$ac_try;;
11212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11213 (eval "$ac_link") 2>conftest.er1
11215 grep -v '^ *+' conftest.er1
>conftest.err
11217 cat conftest.err
>&5
11218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11219 (exit $ac_status); } && {
11220 test -z "$ac_c_werror_flag" ||
11221 test ! -s conftest.err
11222 } && test -s conftest
$ac_exeext &&
11223 $as_test_x conftest
$ac_exeext; then
11224 ac_cv_lib_Xext_XShmQueryExtension
=yes
11226 echo "$as_me: failed program was:" >&5
11227 sed 's/^/| /' conftest.
$ac_ext >&5
11229 ac_cv_lib_Xext_XShmQueryExtension
=no
11232 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11233 conftest
$ac_exeext conftest.
$ac_ext
11234 LIBS
=$ac_check_lib_save_LIBS
11236 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11237 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11238 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
11242 CFLAGS
="$save_cflags"
11246 if test "x-$have_xshm" = "x-yes" ; then
11247 DO_XSHM_SUPPORT
="1"
11248 elif test "x-$x11_hidd_shm" = "x-yes" ; then
11249 { { echo "$as_me:$LINENO: error: X11 has no support for shared memory, cannot enable it as requested" >&5
11250 echo "$as_me: error: X11 has no support for shared memory, cannot enable it as requested" >&2;}
11251 { (exit 1); exit 1; }; }
11253 DO_XSHM_SUPPORT
="0"
11257 # Check whether --enable-x11_vidmode was given.
11258 if test "${enable_x11_vidmode+set}" = set; then
11259 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
11261 x11_hidd_vidmode
="auto"
11264 case "x-$x11_hidd_vidmode" in
11265 x-yes|x-no|x-auto
) ;;
11266 *) x11_hidd_vidmode
="auto" ;;
11271 if test "x-$x11_hidd_vidmode" != "x-no" ; then
11273 save_cflags
="$CFLAGS"
11274 CFLAGS
="$CFLAGS $x_cflags"
11275 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
11276 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
11277 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
11278 echo $ECHO_N "(cached) $ECHO_C" >&6
11280 ac_check_lib_save_LIBS
=$LIBS
11281 LIBS
="-lXxf86vm $LIBS"
11282 cat >conftest.
$ac_ext <<_ACEOF
11285 cat confdefs.h
>>conftest.
$ac_ext
11286 cat >>conftest.
$ac_ext <<_ACEOF
11287 /* end confdefs.h. */
11289 /* Override any GCC internal prototype to avoid an error.
11290 Use char because int might match the return type of a GCC
11291 builtin and then its argument prototype would still apply. */
11295 char XF86VidModeQueryExtension ();
11299 return XF86VidModeQueryExtension ();
11304 rm -f conftest.
$ac_objext conftest
$ac_exeext
11305 if { (ac_try
="$ac_link"
11306 case "(($ac_try" in
11307 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11308 *) ac_try_echo=$ac_try;;
11310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11311 (eval "$ac_link") 2>conftest.er1
11313 grep -v '^ *+' conftest.er1 >conftest.err
11315 cat conftest.err >&5
11316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11317 (exit $ac_status); } && {
11318 test -z "$ac_c_werror_flag" ||
11319 test ! -s conftest.err
11320 } && test -s conftest$ac_exeext &&
11321 $as_test_x conftest$ac_exeext; then
11322 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
11324 echo "$as_me: failed program was:" >&5
11325 sed 's/^/| /' conftest.$ac_ext >&5
11327 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
11330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11331 conftest$ac_exeext conftest.$ac_ext
11332 LIBS=$ac_check_lib_save_LIBS
11334 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
11335 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
11336 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
11340 CFLAGS="$save_cflags"
11343 if test "x-$have_vidmode" = "x-yes" ; then
11344 DO_VIDMODE_SUPPORT="1"
11345 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
11346 { { echo "$as_me:$LINENO: error: X11 vidmode extension not available, cannot enable it as requested" >&5
11347 echo "$as_me: error: X11 vidmode extension not available, cannot enable it as requested" >&2;}
11348 { (exit 1); exit 1; }; }
11350 DO_VIDMODE_SUPPORT="0"
11354 aros_host_x11_includes=$x_includes
11355 aros_host_x11_libdirs=$x_libraries
11359 # Check whether --enable-sdl_hidd was given.
11360 if test "${enable_sdl_hidd+set}" = set; then
11361 enableval=$enable_sdl_hidd; sdl_hidd="$enableval"
11366 case "x-$sdl_hidd" in
11367 x-yes|x-no|x-auto) ;;
11368 *) sdl_hidd="auto" ;;
11371 if test "x-$sdl_hidd" != "x-no" ; then
11374 # Check whether --with-sdl-prefix was given.
11375 if test "${with_sdl_prefix+set}" = set; then
11376 withval=$with_sdl_prefix; sdl_prefix="$withval"
11382 # Check whether --with-sdl-exec-prefix was given.
11383 if test "${with_sdl_exec_prefix+set}" = set; then
11384 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
11389 # Check whether --enable-sdltest was given.
11390 if test "${enable_sdltest+set}" = set; then
11391 enableval=$enable_sdltest;
11397 if test x$sdl_exec_prefix != x ; then
11398 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
11399 if test x${SDL_CONFIG+set} != xset ; then
11400 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
11403 if test x$sdl_prefix != x ; then
11404 sdl_args="$sdl_args --prefix=$sdl_prefix"
11405 if test x${SDL_CONFIG+set} != xset ; then
11406 SDL_CONFIG=$sdl_prefix/bin/sdl-config
11410 if test "x$prefix" != xNONE; then
11411 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
11413 # Extract the first word of "sdl-config", so it can be a program name with args.
11414 set dummy sdl-config; ac_word=$2
11415 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11417 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
11418 echo $ECHO_N "(cached) $ECHO_C" >&6
11420 case $SDL_CONFIG in
11422 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
11425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11426 for as_dir in $PATH
11429 test -z "$as_dir" && as_dir=.
11430 for ac_exec_ext in '' $ac_executable_extensions; do
11431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11432 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11440 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
11444 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
11445 if test -n "$SDL_CONFIG"; then
11446 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
11447 echo "${ECHO_T}$SDL_CONFIG" >&6; }
11449 { echo "$as_me:$LINENO: result: no" >&5
11450 echo "${ECHO_T}no" >&6; }
11454 min_sdl_version=1.2.10
11455 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
11456 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
11458 if test "$SDL_CONFIG" = "no" ; then
11461 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
11462 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
11464 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
11465 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
11466 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
11467 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
11468 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
11469 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
11470 if test "x$enable_sdltest" = "xyes" ; then
11471 ac_save_CFLAGS="$CFLAGS"
11472 ac_save_CXXFLAGS="$CXXFLAGS"
11473 ac_save_LIBS="$LIBS"
11474 CFLAGS="$CFLAGS $SDL_CFLAGS"
11475 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
11476 LIBS="$LIBS $SDL_LIBS"
11478 if test "$cross_compiling" = yes; then
11479 echo $ac_n "cross compiling; assumed OK... $ac_c"
11481 cat >conftest.$ac_ext <<_ACEOF
11484 cat confdefs.h >>conftest.$ac_ext
11485 cat >>conftest.$ac_ext <<_ACEOF
11486 /* end confdefs.h. */
11489 #include <stdlib.h>
11490 #include <string.h>
11494 my_strdup (char *str)
11500 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
11501 strcpy (new_str, str);
11509 int main (int argc, char *argv[])
11511 int major, minor, micro;
11514 /* This hangs on some systems (?)
11515 system ("touch conf.sdltest");
11517 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
11519 /* HP/UX 9 (%@#!) writes to sscanf strings */
11520 tmp_version = my_strdup("$min_sdl_version");
11521 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
11522 printf("%s, bad version string\n", "$min_sdl_version");
11526 if (($sdl_major_version > major) ||
11527 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
11528 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
11534 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
11535 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
11536 printf("*** best to upgrade to the required version.\n");
11537 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
11538 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
11539 printf("*** config.cache before re-running configure\n");
11546 rm -f conftest$ac_exeext
11547 if { (ac_try="$ac_link"
11548 case "(($ac_try" in
11549 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11550 *) ac_try_echo
=$ac_try;;
11552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11553 (eval "$ac_link") 2>&5
11555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11556 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11557 { (case "(($ac_try" in
11558 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11559 *) ac_try_echo=$ac_try;;
11561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11562 (eval "$ac_try") 2>&5
11564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11565 (exit $ac_status); }; }; then
11568 echo "$as_me: program exited with status $ac_status" >&5
11569 echo "$as_me: failed program was:" >&5
11570 sed 's/^/| /' conftest.$ac_ext >&5
11572 ( exit $ac_status )
11575 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11579 CFLAGS="$ac_save_CFLAGS"
11580 CXXFLAGS="$ac_save_CXXFLAGS"
11581 LIBS="$ac_save_LIBS"
11584 if test "x$no_sdl" = x ; then
11585 { echo "$as_me:$LINENO: result: yes" >&5
11586 echo "${ECHO_T}yes" >&6; }
11589 { echo "$as_me:$LINENO: result: no" >&5
11590 echo "${ECHO_T}no" >&6; }
11591 if test "$SDL_CONFIG" = "no" ; then
11592 echo "*** The sdl-config script installed by SDL could not be found"
11593 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
11594 echo "*** your path, or set the SDL_CONFIG environment variable to the"
11595 echo "*** full path to sdl-config."
11597 if test -f conf.sdltest ; then
11600 echo "*** Could not run SDL test program, checking why..."
11601 CFLAGS="$CFLAGS $SDL_CFLAGS"
11602 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
11603 LIBS="$LIBS $SDL_LIBS"
11604 cat >conftest.$ac_ext <<_ACEOF
11607 cat confdefs.h >>conftest.$ac_ext
11608 cat >>conftest.$ac_ext <<_ACEOF
11609 /* end confdefs.h. */
11614 int main(int argc, char *argv[])
11617 #define main K_and_R_C_main
11627 rm -f conftest.$ac_objext conftest$ac_exeext
11628 if { (ac_try="$ac_link"
11629 case "(($ac_try" in
11630 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11631 *) ac_try_echo
=$ac_try;;
11633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11634 (eval "$ac_link") 2>conftest.er1
11636 grep -v '^ *+' conftest.er1
>conftest.err
11638 cat conftest.err
>&5
11639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11640 (exit $ac_status); } && {
11641 test -z "$ac_c_werror_flag" ||
11642 test ! -s conftest.err
11643 } && test -s conftest
$ac_exeext &&
11644 $as_test_x conftest
$ac_exeext; then
11645 echo "*** The test program compiled, but did not run. This usually means"
11646 echo "*** that the run-time linker is not finding SDL or finding the wrong"
11647 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
11648 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
11649 echo "*** to the installed location Also, make sure you have run ldconfig if that"
11650 echo "*** is required on your system"
11652 echo "*** If you have an old version installed, it is best to remove it, although"
11653 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
11655 echo "$as_me: failed program was:" >&5
11656 sed 's/^/| /' conftest.
$ac_ext >&5
11658 echo "*** The test program failed to compile or link. See the file config.log for the"
11659 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
11660 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
11661 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
11664 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11665 conftest
$ac_exeext conftest.
$ac_ext
11666 CFLAGS
="$ac_save_CFLAGS"
11667 CXXFLAGS
="$ac_save_CXXFLAGS"
11668 LIBS
="$ac_save_LIBS"
11680 if test "x-$have_sdl" != "x-yes" ; then
11682 if test "x-$sdl_hidd" != "x-auto" ; then
11683 { { echo "$as_me:$LINENO: error: SDL libs/headers not found, cannot build SDL hidd as requested" >&5
11684 echo "$as_me: error: SDL libs/headers not found, cannot build SDL hidd as requested" >&2;}
11685 { (exit 1); exit 1; }; }
11689 sdl_hidd_target
=kernel-hidd-sdl
11690 aros_host_sdl_cflags
=SDL_CFLAGS
11691 aros_host_sdl_libs
=SDL_LIBS
11698 { echo "$as_me:$LINENO: checking if building of dbus.library is enabled" >&5
11699 echo $ECHO_N "checking if building of dbus.library is enabled... $ECHO_C" >&6; }
11700 # Check whether --enable-dbus was given.
11701 if test "${enable_dbus+set}" = set; then
11702 enableval
=$enable_dbus; dbus
="yes"
11707 if test "$dbus" = "yes" ; then
11709 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
11710 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
11711 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
11712 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
11716 { echo "$as_me:$LINENO: result: $dbus" >&5
11717 echo "${ECHO_T}$dbus" >&6; }
11806 # Native version related
11810 # Palm native version related
11813 # Unix/Hosted version related
11829 # Collect-aros stuff: "-ius" to ignore undefined symbols
11832 # C compiler related
11835 case "$aros_flavour" in
11836 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
11837 aros_flavour
="emulation" ;;
11838 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
11839 aros_flavour
="emulation" ;;
11840 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
11841 aros_flavour
="standalone";;
11842 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
11843 aros_flavour
="native" ;;
11844 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
11845 aros_flavour
="native" ;;
11846 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
11847 aros_flavour
="linklib" ;;
11848 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
11849 aros_flavour
="palmnative" ;;
11850 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
11851 aros_flavour
="mac68knative" ;;
11852 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
11853 aros_flavour
="ppcnative" ;;
11856 if test ! -d ${aros_inc_dir} ; then
11857 ${MKDIR} ${aros_inc_dir}
11859 if test ! -d ${aros_geninc_dir} ; then
11860 ${MKDIR} ${aros_geninc_dir}
11862 if test ! -d ${aros_hostcfg_dir} ; then
11863 ${MKDIR} ${aros_hostcfg_dir}
11865 if test ! -d ${aros_targetcfg_dir} ; then
11866 ${MKDIR} ${aros_targetcfg_dir}
11868 if test ! -d ${aros_tools_dir} ; then
11869 ${MKDIR} ${aros_tools_dir}
11871 if test ! -d ${aros_scripts_dir} ; then
11872 ${MKDIR} ${aros_scripts_dir}
11875 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
11878 ac_config_commands
="$ac_config_commands compiler_executable"
11880 ac_config_commands
="$ac_config_commands genshared_executable"
11882 ac_config_commands
="$ac_config_commands genmf_executable"
11884 ac_config_commands
="$ac_config_commands adflib_myaros.conf_executable"
11887 ac_config_files
="$ac_config_files Makefile rom/mmakefile ${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"
11890 cat >confcache
<<\_ACEOF
11891 # This file is a shell script that caches the results of configure
11892 # tests run on this system so they can be shared between configure
11893 # scripts and configure runs, see configure's option --config-cache.
11894 # It is not useful on other systems. If it contains results you don't
11895 # want to keep, you may remove or edit it.
11897 # config.status only pays attention to the cache file if you give it
11898 # the --recheck option to rerun configure.
11900 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11901 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11902 # following values.
11906 # The following way of writing the cache mishandles newlines in values,
11907 # but we know of no workaround that is simple, portable, and efficient.
11908 # So, we kill variables containing newlines.
11909 # Ultrix sh set writes to stderr and can't be redirected directly,
11910 # and sets the high bit in the cache file unless we assign to the vars.
11912 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11913 eval ac_val
=\$
$ac_var
11917 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
11918 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
11921 _ | IFS | as_nl
) ;; #(
11922 *) $as_unset $ac_var ;;
11928 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11929 *${as_nl}ac_space
=\
*)
11930 # `set' does not quote correctly, so add quotes (double-quote
11931 # substitution turns \\\\ into \\, and sed turns \\ into \).
11934 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11937 # `set' quotes correctly as required by POSIX, so do not add quotes.
11938 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11947 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11949 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11951 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11952 if test -w "$cache_file"; then
11953 test "x$cache_file" != "x/dev/null" &&
11954 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
11955 echo "$as_me: updating cache $cache_file" >&6;}
11956 cat confcache
>$cache_file
11958 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
11959 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11964 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11965 # Let make expand exec_prefix.
11966 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11968 DEFS
=-DHAVE_CONFIG_H
11972 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11973 # 1. Remove the extension, and $U if already installed.
11974 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
11975 ac_i
=`echo "$ac_i" | sed "$ac_script"`
11976 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11977 # will be set to the directory where LIBOBJS objects are built.
11978 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11979 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
11981 LIBOBJS
=$ac_libobjs
11983 LTLIBOBJS
=$ac_ltlibobjs
11987 : ${CONFIG_STATUS=./config.status}
11988 ac_clean_files_save
=$ac_clean_files
11989 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11990 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11991 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11992 cat >$CONFIG_STATUS <<_ACEOF
11994 # Generated by $as_me.
11995 # Run this file to recreate the current configuration.
11996 # Compiler output produced by configure, useful for debugging
11997 # configure, is in config.log if it exists.
12000 ac_cs_recheck=false
12002 SHELL=\${CONFIG_SHELL-$SHELL}
12005 cat >>$CONFIG_STATUS <<\_ACEOF
12006 ## --------------------- ##
12007 ## M4sh Initialization. ##
12008 ## --------------------- ##
12010 # Be more Bourne compatible
12011 DUALCASE
=1; export DUALCASE
# for MKS sh
12012 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
12015 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12016 # is contrary to our usage. Disable this feature.
12017 alias -g '${1+"$@"}'='"$@"'
12018 setopt NO_GLOB_SUBST
12020 case `(set -o) 2>/dev/null` in
12021 *posix
*) set -o posix
;;
12030 # Avoid depending upon Character Ranges.
12031 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12032 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12033 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12034 as_cr_digits
='0123456789'
12035 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12037 # The user is always right.
12038 if test "${PATH_SEPARATOR+set}" != set; then
12039 echo "#! /bin/sh" >conf$$.sh
12040 echo "exit 0" >>conf$$.sh
12042 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12050 # Support unset when possible.
12051 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
12059 # We need space, tab and new line, in precisely that order. Quoting is
12060 # there to prevent editors from complaining about space-tab.
12061 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12062 # splitting by setting IFS to empty value.)
12067 # Find who we are. Look in the path if we contain no directory separator.
12069 *[\\/]* ) as_myself
=$0 ;;
12070 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12071 for as_dir
in $PATH
12074 test -z "$as_dir" && as_dir
=.
12075 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
12081 # We did not find ourselves, most probably we were run as `sh COMMAND'
12082 # in which case we are not to be found in the path.
12083 if test "x$as_myself" = x
; then
12086 if test ! -f "$as_myself"; then
12087 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12088 { (exit 1); exit 1; }
12091 # Work around bugs in pre-3.0 UWIN ksh.
12092 for as_var
in ENV MAIL MAILPATH
12093 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
12101 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12102 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12103 LC_TELEPHONE LC_TIME
12105 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12106 eval $as_var=C
; export $as_var
12108 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
12112 # Required to use basename.
12113 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12114 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12120 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12121 as_basename
=basename
12127 # Name of the executable.
12128 as_me
=`$as_basename -- "$0" ||
12129 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12130 X"$0" : 'X\(//\)$' \| \
12131 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12133 sed '/^.*\/\([^/][^/]*\)\/*$/{
12152 as_lineno_1
=$LINENO
12153 as_lineno_2
=$LINENO
12154 test "x$as_lineno_1" != "x$as_lineno_2" &&
12155 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
12157 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12158 # uniformly replaced by the line number. The first 'sed' inserts a
12159 # line-number line after each line using $LINENO; the second 'sed'
12160 # does the real work. The second script uses 'N' to pair each
12161 # line-number line with the line containing $LINENO, and appends
12162 # trailing '-' during substitution so that $LINENO is not a special
12163 # case at line end.
12164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12165 # scripts with optimization help from Paolo Bonzini. Blame Lee
12166 # E. McMahon (1931-1989) for sed's syntax. :-)
12178 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
12181 ' >$as_me.lineno
&&
12182 chmod +x
"$as_me.lineno" ||
12183 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
12184 { (exit 1); exit 1; }; }
12186 # Don't try to exec as it changes $[0], causing all sort of problems
12187 # (the dirname of $[0] is not the place where we might find the
12188 # original and so on. Autoconf is especially sensitive to this).
12189 .
"./$as_me.lineno"
12190 # Exit status is that of the last command.
12195 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12201 ECHO_C
= ECHO_N
= ECHO_T
=
12202 case `echo -n x` in
12204 case `echo 'x\c'` in
12205 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12212 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12213 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12219 rm -f conf$$ conf$$.exe conf$$.
file
12220 if test -d conf$$.dir
; then
12221 rm -f conf$$.dir
/conf$$.
file
12227 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12229 # ... but there are two gotchas:
12230 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12231 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12232 # In both cases, we have to default to `cp -p'.
12233 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12235 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12240 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12241 rmdir conf$$.dir
2>/dev
/null
12243 if mkdir
-p .
2>/dev
/null
; then
12246 test -d .
/-p && rmdir .
/-p
12250 if test -x / >/dev
/null
2>&1; then
12251 as_test_x
='test -x'
12253 if ls -dL / >/dev
/null
2>&1; then
12260 if test -d "$1"; then
12266 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
12267 ???[sx]*):;;*)false;;esac;fi
12271 as_executable_p
=$as_test_x
12273 # Sed expression to map a string onto a valid CPP name.
12274 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12276 # Sed expression to map a string onto a valid variable name.
12277 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12282 # Save the log message, to keep $[0] and so on meaningful, and to
12283 # report actual input values of CONFIG_FILES etc. instead of their
12284 # values after options handling.
12286 This file was extended by $as_me, which was
12287 generated by GNU Autoconf 2.61. Invocation command line was
12289 CONFIG_FILES = $CONFIG_FILES
12290 CONFIG_HEADERS = $CONFIG_HEADERS
12291 CONFIG_LINKS = $CONFIG_LINKS
12292 CONFIG_COMMANDS = $CONFIG_COMMANDS
12295 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12300 cat >>$CONFIG_STATUS <<_ACEOF
12301 # Files that config.status was made for.
12302 config_files="$ac_config_files"
12303 config_headers="$ac_config_headers"
12304 config_commands="$ac_config_commands"
12308 cat >>$CONFIG_STATUS <<\_ACEOF
12310 \`$as_me' instantiates files from templates according to the
12311 current configuration.
12313 Usage: $0 [OPTIONS] [FILE]...
12315 -h, --help print this help, then exit
12316 -V, --version print version number and configuration settings, then exit
12317 -q, --quiet do not print progress messages
12318 -d, --debug don't remove temporary files
12319 --recheck update $as_me by reconfiguring in the same conditions
12320 --file=FILE[:TEMPLATE]
12321 instantiate the configuration file FILE
12322 --header=FILE[:TEMPLATE]
12323 instantiate the configuration header FILE
12325 Configuration files:
12328 Configuration headers:
12331 Configuration commands:
12334 Report bugs to <bug-autoconf@gnu.org>."
12337 cat >>$CONFIG_STATUS <<_ACEOF
12340 configured by $0, generated by GNU Autoconf 2.61,
12341 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
12343 Copyright (C) 2006 Free Software Foundation, Inc.
12344 This config.status script is free software; the Free Software Foundation
12345 gives unlimited permission to copy, distribute and modify it."
12351 cat >>$CONFIG_STATUS <<\_ACEOF
12352 # If no file are specified by the user, then we need to provide default
12353 # value. By we need to know if files were specified by the user.
12359 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12360 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12371 # Handling of the options.
12372 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12374 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12375 echo "$ac_cs_version"; exit ;;
12376 --debug |
--debu |
--deb |
--de |
--d |
-d )
12378 --file |
--fil |
--fi |
--f )
12380 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
12381 ac_need_defaults
=false
;;
12382 --header |
--heade |
--head |
--hea )
12384 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
12385 ac_need_defaults
=false
;;
12387 # Conflict between --help and --header
12388 { echo "$as_me: error: ambiguous option: $1
12389 Try \`$0 --help' for more information." >&2
12390 { (exit 1); exit 1; }; };;
12391 --help |
--hel |
-h )
12392 echo "$ac_cs_usage"; exit ;;
12393 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12394 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12397 # This is an error.
12398 -*) { echo "$as_me: error: unrecognized option: $1
12399 Try \`$0 --help' for more information." >&2
12400 { (exit 1); exit 1; }; } ;;
12402 *) ac_config_targets
="$ac_config_targets $1"
12403 ac_need_defaults
=false
;;
12409 ac_configure_extra_args
=
12411 if $ac_cs_silent; then
12413 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12417 cat >>$CONFIG_STATUS <<_ACEOF
12418 if \$ac_cs_recheck; then
12419 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12420 CONFIG_SHELL=$SHELL
12421 export CONFIG_SHELL
12422 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12426 cat >>$CONFIG_STATUS <<\_ACEOF
12430 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12431 ## Running $as_me. ##
12437 cat >>$CONFIG_STATUS <<_ACEOF
12442 aros_tools_dir=${aros_tools_dir}
12443 aros_target_cpu=${aros_target_cpu}
12444 aros_target_arch=${aros_target_arch}
12445 aros_target_suffix=${aros_target_suffix}
12446 aros_target_nm_ln=${aros_target_nm_ln}
12447 aros_target_as_ln=${aros_target_as_ln}
12448 aros_target_ar_ln=${aros_target_ar_ln}
12449 aros_target_ranlib_ln=${aros_target_ranlib_ln}
12450 aros_target_objdump_ln=${aros_target_objdump_ln}
12451 aros_target_objcopy_ln=${aros_target_objcopy_ln}
12452 aros_target_strip_ln=${aros_target_strip_ln}
12455 aros_scripts_dir=${aros_scripts_dir}
12457 aros_tools_dir=${aros_tools_dir}
12462 cat >>$CONFIG_STATUS <<\_ACEOF
12464 # Handling of arguments.
12465 for ac_config_target
in $ac_config_targets
12467 case $ac_config_target in
12468 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
12469 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
12470 "genshared_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genshared_executable" ;;
12471 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
12472 "adflib_myaros.conf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS adflib_myaros.conf_executable" ;;
12473 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12474 "rom/mmakefile") CONFIG_FILES
="$CONFIG_FILES rom/mmakefile" ;;
12475 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
12476 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
12477 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
12478 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
12479 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
12480 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
12481 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
12482 "${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" ;;
12483 "${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" ;;
12484 "${aros_scripts_dir}/genshared") CONFIG_FILES
="$CONFIG_FILES ${aros_scripts_dir}/genshared:compiler/c_lib/source/lib_source/genshared.in" ;;
12485 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
12486 "tools/adflib/myconf.aros") CONFIG_FILES
="$CONFIG_FILES tools/adflib/myconf.aros" ;;
12487 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
12489 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12490 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12491 { (exit 1); exit 1; }; };;
12496 # If the user did not use the arguments to specify the items to instantiate,
12497 # then the envvar interface is used. Set only those that are not.
12498 # We use the long form for the default assignment because of an extremely
12499 # bizarre bug on SunOS 4.1.3.
12500 if $ac_need_defaults; then
12501 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12502 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12503 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12506 # Have a temporary directory for convenience. Make it in the build tree
12507 # simply because there is no reason against having it here, and in addition,
12508 # creating and moving files from /tmp can sometimes cause problems.
12509 # Hook for its removal unless debugging.
12510 # Note that there is a small window in which the directory will not be cleaned:
12511 # after its creation but before its name has been assigned to `$tmp'.
12515 trap 'exit_status=$?
12516 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
12518 trap '{ (exit 1); exit 1; }' 1 2 13 15
12520 # Create a (secure) tmp directory for tmp files.
12523 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12524 test -n "$tmp" && test -d "$tmp"
12527 tmp
=.
/conf$$
-$RANDOM
12528 (umask 077 && mkdir
"$tmp")
12531 echo "$me: cannot create a temporary directory in ." >&2
12532 { (exit 1); exit 1; }
12536 # Set up the sed scripts for CONFIG_FILES section.
12539 # No need to generate the scripts if there are no CONFIG_FILES.
12540 # This happens for instance when ./config.status config.h
12541 if test -n "$CONFIG_FILES"; then
12548 for ac_last_try
in false false false false false
:; do
12549 cat >conf$
$subs.
sed <<_ACEOF
12550 SHELL!$SHELL$ac_delim
12551 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
12552 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
12553 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
12554 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
12555 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
12556 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
12557 exec_prefix!$exec_prefix$ac_delim
12558 prefix!$prefix$ac_delim
12559 program_transform_name!$program_transform_name$ac_delim
12560 bindir!$bindir$ac_delim
12561 sbindir!$sbindir$ac_delim
12562 libexecdir!$libexecdir$ac_delim
12563 datarootdir!$datarootdir$ac_delim
12564 datadir!$datadir$ac_delim
12565 sysconfdir!$sysconfdir$ac_delim
12566 sharedstatedir!$sharedstatedir$ac_delim
12567 localstatedir!$localstatedir$ac_delim
12568 includedir!$includedir$ac_delim
12569 oldincludedir!$oldincludedir$ac_delim
12570 docdir!$docdir$ac_delim
12571 infodir!$infodir$ac_delim
12572 htmldir!$htmldir$ac_delim
12573 dvidir!$dvidir$ac_delim
12574 pdfdir!$pdfdir$ac_delim
12575 psdir!$psdir$ac_delim
12576 libdir!$libdir$ac_delim
12577 localedir!$localedir$ac_delim
12578 mandir!$mandir$ac_delim
12579 DEFS!$DEFS$ac_delim
12580 ECHO_C!$ECHO_C$ac_delim
12581 ECHO_N!$ECHO_N$ac_delim
12582 ECHO_T!$ECHO_T$ac_delim
12583 LIBS!$LIBS$ac_delim
12584 build_alias!$build_alias$ac_delim
12585 host_alias!$host_alias$ac_delim
12586 target_alias!$target_alias$ac_delim
12587 build!$build$ac_delim
12588 build_cpu!$build_cpu$ac_delim
12589 build_vendor!$build_vendor$ac_delim
12590 build_os!$build_os$ac_delim
12591 host!$host$ac_delim
12592 host_cpu!$host_cpu$ac_delim
12593 host_vendor!$host_vendor$ac_delim
12594 host_os!$host_os$ac_delim
12596 CFLAGS!$CFLAGS$ac_delim
12597 LDFLAGS!$LDFLAGS$ac_delim
12598 CPPFLAGS!$CPPFLAGS$ac_delim
12599 ac_ct_CC!$ac_ct_CC$ac_delim
12600 EXEEXT!$EXEEXT$ac_delim
12601 OBJEXT!$OBJEXT$ac_delim
12604 MMAKE!$MMAKE$ac_delim
12605 aros_host_ld!$aros_host_ld$ac_delim
12606 aros_host_aclocal!$aros_host_aclocal$ac_delim
12607 aros_host_autoconf!$aros_host_autoconf$ac_delim
12608 aros_host_autoheader!$aros_host_autoheader$ac_delim
12609 aros_host_automake!$aros_host_automake$ac_delim
12610 aros_host_ar!$aros_host_ar$ac_delim
12611 aros_host_ranlib!$aros_host_ranlib$ac_delim
12612 aros_host_strip!$aros_host_strip$ac_delim
12616 ECHO!$ECHO$ac_delim
12617 MKDIR!$MKDIR$ac_delim
12618 TOUCH!$TOUCH$ac_delim
12619 SORT!$SORT$ac_delim
12620 UNIQ!$UNIQ$ac_delim
12623 BISON!$BISON$ac_delim
12624 FLEX!$FLEX$ac_delim
12625 PNGTOPNM!$PNGTOPNM$ac_delim
12626 PPMTOILBM!$PPMTOILBM$ac_delim
12628 CHMOD!$CHMOD$ac_delim
12629 PYTHON!$PYTHON$ac_delim
12630 PYTHON_VERSION!$PYTHON_VERSION$ac_delim
12631 PYTHON_PREFIX!$PYTHON_PREFIX$ac_delim
12632 PYTHON_EXEC_PREFIX!$PYTHON_EXEC_PREFIX$ac_delim
12633 PYTHON_PLATFORM!$PYTHON_PLATFORM$ac_delim
12634 pythondir!$pythondir$ac_delim
12635 pkgpythondir!$pkgpythondir$ac_delim
12636 pyexecdir!$pyexecdir$ac_delim
12637 pkgpyexecdir!$pkgpyexecdir$ac_delim
12640 TEST!$TEST$ac_delim
12642 GREP!$GREP$ac_delim
12643 EGREP!$EGREP$ac_delim
12644 LIBOBJS!$LIBOBJS$ac_delim
12645 DISTCC!$DISTCC$ac_delim
12646 CCACHE!$CCACHE$ac_delim
12649 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
12651 elif $ac_last_try; then
12652 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12653 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12654 { (exit 1); exit 1; }; }
12656 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
12660 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
12661 if test -n "$ac_eof"; then
12662 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
12663 ac_eof
=`expr $ac_eof + 1`
12666 cat >>$CONFIG_STATUS <<_ACEOF
12667 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
12668 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12671 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
12672 s/^/s,@/; s/!/@,|#_!!_#|/
12675 s/'"$ac_delim"'$/,g/; t
12677 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
12678 ' >>$CONFIG_STATUS <conf$
$subs.
sed
12679 rm -f conf$
$subs.
sed
12680 cat >>$CONFIG_STATUS <<_ACEOF
12686 for ac_last_try
in false false false false false
:; do
12687 cat >conf$
$subs.
sed <<_ACEOF
12688 LIBLZO!$LIBLZO$ac_delim
12689 aros_kernel_cc!$aros_kernel_cc$ac_delim
12690 aros_target_as_ln!$aros_target_as_ln$ac_delim
12691 aros_kernel_ld!$aros_kernel_ld$ac_delim
12692 aros_target_ar_ln!$aros_target_ar_ln$ac_delim
12693 aros_target_nm_ln!$aros_target_nm_ln$ac_delim
12694 aros_target_objcopy_ln!$aros_target_objcopy_ln$ac_delim
12695 aros_target_objdump_ln!$aros_target_objdump_ln$ac_delim
12696 aros_target_ranlib_ln!$aros_target_ranlib_ln$ac_delim
12697 aros_target_strip_ln!$aros_target_strip_ln$ac_delim
12698 aros_target_nostdinc_cflags!$aros_target_nostdinc_cflags$ac_delim
12699 aros_target_nostartup_ldflags!$aros_target_nostartup_ldflags$ac_delim
12700 aros_target_nix_ldflags!$aros_target_nix_ldflags$ac_delim
12701 aros_target_detach_ldflags!$aros_target_detach_ldflags$ac_delim
12702 aros_target_nostdlib_ldflags!$aros_target_nostdlib_ldflags$ac_delim
12703 XMKMF!$XMKMF$ac_delim
12704 SDL_CONFIG!$SDL_CONFIG$ac_delim
12705 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
12706 SDL_LIBS!$SDL_LIBS$ac_delim
12707 aros_arch!$aros_arch$ac_delim
12708 aros_cpu!$aros_cpu$ac_delim
12709 aros_flavour!$aros_flavour$ac_delim
12710 aros_flavour_uc!$aros_flavour_uc$ac_delim
12711 TOPDIR!$TOPDIR$ac_delim
12712 aros_cc_pre!$aros_cc_pre$ac_delim
12713 aros_host_arch!$aros_host_arch$ac_delim
12714 aros_host_cpu!$aros_host_cpu$ac_delim
12715 aros_host_cc!$aros_host_cc$ac_delim
12716 aros_host_make!$aros_host_make$ac_delim
12717 aros_host_cflags!$aros_host_cflags$ac_delim
12718 aros_host_ldflags!$aros_host_ldflags$ac_delim
12719 aros_host_debug!$aros_host_debug$ac_delim
12720 aros_host_mkdep!$aros_host_mkdep$ac_delim
12721 aros_host_mkargs!$aros_host_mkargs$ac_delim
12722 aros_host_exe_suffix!$aros_host_exe_suffix$ac_delim
12723 aros_host_lib_suffix!$aros_host_lib_suffix$ac_delim
12724 aros_tools_dir!$aros_tools_dir$ac_delim
12725 aros_target_bootloader!$aros_target_bootloader$ac_delim
12726 aros_target_arch!$aros_target_arch$ac_delim
12727 aros_target_cpu!$aros_target_cpu$ac_delim
12728 aros_target_variant!$aros_target_variant$ac_delim
12729 aros_target_suffix!$aros_target_suffix$ac_delim
12730 aros_target_incl!$aros_target_incl$ac_delim
12731 aros_target_ar!$aros_target_ar$ac_delim
12732 aros_target_ranlib!$aros_target_ranlib$ac_delim
12733 aros_kernel_nm!$aros_kernel_nm$ac_delim
12734 aros_target_cc!$aros_target_cc$ac_delim
12735 aros_target_as!$aros_target_as$ac_delim
12736 aros_target_ld!$aros_target_ld$ac_delim
12737 aros_target_cc_includes!$aros_target_cc_includes$ac_delim
12738 aros_target_cc_path!$aros_target_cc_path$ac_delim
12739 aros_target_objdump!$aros_target_objdump$ac_delim
12740 aros_target_objcopy!$aros_target_objcopy$ac_delim
12741 aros_target_strip!$aros_target_strip$ac_delim
12742 aros_target_nm!$aros_target_nm$ac_delim
12743 aros_shared_default!$aros_shared_default$ac_delim
12744 aros_shared_ld!$aros_shared_ld$ac_delim
12745 aros_object_format!$aros_object_format$ac_delim
12746 aros_compiler_libs!$aros_compiler_libs$ac_delim
12747 aros_config_cflags!$aros_config_cflags$ac_delim
12748 aros_config_aflags!$aros_config_aflags$ac_delim
12749 aros_config_ldflags!$aros_config_ldflags$ac_delim
12750 aros_shared_cflags!$aros_shared_cflags$ac_delim
12751 aros_shared_aflags!$aros_shared_aflags$ac_delim
12752 aros_shared_ldflags!$aros_shared_ldflags$ac_delim
12753 aros_kernel_ldflags!$aros_kernel_ldflags$ac_delim
12754 aros_debug_cflags!$aros_debug_cflags$ac_delim
12755 aros_debug_aflags!$aros_debug_aflags$ac_delim
12756 aros_debug_ldflags!$aros_debug_ldflags$ac_delim
12757 aros_target_genmap!$aros_target_genmap$ac_delim
12758 aros_target_strip_flags!$aros_target_strip_flags$ac_delim
12759 x11_hidd_target!$x11_hidd_target$ac_delim
12760 sdl_hidd_target!$sdl_hidd_target$ac_delim
12761 aros_default_wbwidth!$aros_default_wbwidth$ac_delim
12762 aros_default_wbheight!$aros_default_wbheight$ac_delim
12763 aros_default_wbdepth!$aros_default_wbdepth$ac_delim
12764 DO_XSHM_SUPPORT!$DO_XSHM_SUPPORT$ac_delim
12765 DO_VIDMODE_SUPPORT!$DO_VIDMODE_SUPPORT$ac_delim
12766 aros_host_x11_includes!$aros_host_x11_includes$ac_delim
12767 aros_host_x11_libdirs!$aros_host_x11_libdirs$ac_delim
12768 aros_host_sdl_cflags!$aros_host_sdl_cflags$ac_delim
12769 aros_host_sdl_libs!$aros_host_sdl_libs$ac_delim
12770 aros_bochs_hack!$aros_bochs_hack$ac_delim
12771 aros_serial_debug!$aros_serial_debug$ac_delim
12772 aros_palm_debug_hack!$aros_palm_debug_hack$ac_delim
12773 aros_nesting_supervisor!$aros_nesting_supervisor$ac_delim
12774 ENABLE_DBUS!$ENABLE_DBUS$ac_delim
12775 DBUS_CFLAGS!$DBUS_CFLAGS$ac_delim
12776 DBUS_LIBFLAGS!$DBUS_LIBFLAGS$ac_delim
12777 KERNEL_DBUS_KOBJ!$KERNEL_DBUS_KOBJ$ac_delim
12778 KERNEL_DBUS_INCLUDES!$KERNEL_DBUS_INCLUDES$ac_delim
12779 aros_debug!$aros_debug$ac_delim
12780 aros_mungwall_debug!$aros_mungwall_debug$ac_delim
12781 aros_stack_debug!$aros_stack_debug$ac_delim
12782 aros_modules_debug!$aros_modules_debug$ac_delim
12783 ignore_undefined_symbols!$ignore_undefined_symbols$ac_delim
12784 gcc_target_cpu!$gcc_target_cpu$ac_delim
12787 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
12789 elif $ac_last_try; then
12790 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12791 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12792 { (exit 1); exit 1; }; }
12794 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
12798 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
12799 if test -n "$ac_eof"; then
12800 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
12801 ac_eof
=`expr $ac_eof + 1`
12804 cat >>$CONFIG_STATUS <<_ACEOF
12805 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
12806 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12809 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
12810 s/^/s,@/; s/!/@,|#_!!_#|/
12813 s/'"$ac_delim"'$/,g/; t
12815 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
12816 ' >>$CONFIG_STATUS <conf$
$subs.
sed
12817 rm -f conf$
$subs.
sed
12818 cat >>$CONFIG_STATUS <<_ACEOF
12824 for ac_last_try
in false false false false false
:; do
12825 cat >conf$
$subs.
sed <<_ACEOF
12826 LTLIBOBJS!$LTLIBOBJS$ac_delim
12829 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 1; then
12831 elif $ac_last_try; then
12832 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12833 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12834 { (exit 1); exit 1; }; }
12836 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
12840 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
12841 if test -n "$ac_eof"; then
12842 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
12843 ac_eof
=`expr $ac_eof + 1`
12846 cat >>$CONFIG_STATUS <<_ACEOF
12847 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
12848 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
12851 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
12852 s/^/s,@/; s/!/@,|#_!!_#|/
12855 s/'"$ac_delim"'$/,g/; t
12857 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
12858 ' >>$CONFIG_STATUS <conf$
$subs.
sed
12859 rm -f conf$
$subs.
sed
12860 cat >>$CONFIG_STATUS <<_ACEOF
12867 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12868 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12869 # trailing colons and then remove the whole line if VPATH becomes empty
12870 # (actually we leave an empty line to preserve line numbers).
12871 if test "x$srcdir" = x.
; then
12872 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
12873 s/:*\$(srcdir):*/:/
12874 s/:*\${srcdir}:*/:/
12876 s/^\([^=]*=[ ]*\):*/\1/
12882 cat >>$CONFIG_STATUS <<\_ACEOF
12883 fi # test -n "$CONFIG_FILES"
12886 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
12889 :[FHLC
]) ac_mode
=$ac_tag; continue;;
12891 case $ac_mode$ac_tag in
12893 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
12894 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
12895 { (exit 1); exit 1; }; };;
12896 :[FH
]-) ac_tag
=-:-;;
12897 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
12914 -) ac_f
="$tmp/stdin";;
12915 *) # Look for the file first in the build tree, then in the source tree
12916 # (if the path is not absolute). The absolute path cannot be DOS-style,
12917 # because $ac_f cannot contain `:'.
12921 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
12923 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
12924 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
12925 { (exit 1); exit 1; }; };;
12927 ac_file_inputs
="$ac_file_inputs $ac_f"
12930 # Let's still pretend it is `configure' which instantiates (i.e., don't
12931 # use $as_me), people would be surprised to read:
12932 # /* config.h. Generated by config.status. */
12933 configure_input
="Generated from "`IFS=:
12934 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
12935 if test x
"$ac_file" != x-
; then
12936 configure_input
="$ac_file. $configure_input"
12937 { echo "$as_me:$LINENO: creating $ac_file" >&5
12938 echo "$as_me: creating $ac_file" >&6;}
12942 *:-:* |
*:-) cat >"$tmp/stdin";;
12947 ac_dir
=`$as_dirname -- "$ac_file" ||
12948 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12949 X"$ac_file" : 'X\(//\)[^/]' \| \
12950 X"$ac_file" : 'X\(//\)$' \| \
12951 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12953 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12957 /^X\(\/\/\)[^/].*/{
12972 -*) as_dir
=.
/$as_dir;;
12974 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
12978 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12979 *) as_qdir
=$as_dir;;
12981 as_dirs
="'$as_qdir' $as_dirs"
12982 as_dir
=`$as_dirname -- "$as_dir" ||
12983 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12984 X"$as_dir" : 'X\(//\)[^/]' \| \
12985 X"$as_dir" : 'X\(//\)$' \| \
12986 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12988 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12992 /^X\(\/\/\)[^/].*/{
13005 test -d "$as_dir" && break
13007 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13008 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13009 echo "$as_me: error: cannot create directory $as_dir" >&2;}
13010 { (exit 1); exit 1; }; }; }
13014 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13016 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13017 # A ".." for each directory in $ac_dir_suffix.
13018 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
13019 case $ac_top_builddir_sub in
13020 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13021 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13024 ac_abs_top_builddir
=$ac_pwd
13025 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13026 # for backward compatibility:
13027 ac_top_builddir
=$ac_top_build_prefix
13030 .
) # We are building in place.
13032 ac_top_srcdir
=$ac_top_builddir_sub
13033 ac_abs_top_srcdir
=$ac_pwd ;;
13034 [\\/]* | ?
:[\\/]* ) # Absolute name.
13035 ac_srcdir
=$srcdir$ac_dir_suffix;
13036 ac_top_srcdir
=$srcdir
13037 ac_abs_top_srcdir
=$srcdir ;;
13038 *) # Relative name.
13039 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13040 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13041 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13043 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13054 cat >>$CONFIG_STATUS <<\_ACEOF
13055 # If the template does not know about datarootdir, expand it.
13056 # FIXME: This hack should be removed a few years after 2.60.
13057 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13059 case `sed -n '/datarootdir/ {
13068 ' $ac_file_inputs` in
13069 *datarootdir
*) ac_datarootdir_seen
=yes;;
13070 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13071 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13072 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13074 cat >>$CONFIG_STATUS <<_ACEOF
13075 ac_datarootdir_hack='
13076 s&@datadir@&$datadir&g
13077 s&@docdir@&$docdir&g
13078 s&@infodir@&$infodir&g
13079 s&@localedir@&$localedir&g
13080 s&@mandir@&$mandir&g
13081 s&\\\${datarootdir}&$datarootdir&g' ;;
13085 # Neutralize VPATH when `$srcdir' = `.'.
13086 # Shell code in configure.ac might set extrasub.
13087 # FIXME: do we really want to maintain this feature?
13088 cat >>$CONFIG_STATUS <<_ACEOF
13092 cat >>$CONFIG_STATUS <<\_ACEOF
13094 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13095 s
&@configure_input@
&$configure_input&;t t
13096 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13097 s
&@srcdir@
&$ac_srcdir&;t t
13098 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13099 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13100 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13101 s
&@builddir@
&$ac_builddir&;t t
13102 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13103 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13104 $ac_datarootdir_hack
13105 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" | sed -f "$tmp/subs-3.
sed" >$tmp/out
13107 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13108 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
13109 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
13110 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13111 which seems to be undefined. Please make sure it is defined." >&5
13112 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13113 which seems to be undefined. Please make sure it is defined." >&2;}
13117 -) cat "$tmp/out"; rm -f "$tmp/out";;
13118 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
13127 # Transform confdefs.h into a sed script `conftest.defines', that
13128 # substitutes the proper values into config.h.in to produce config.h.
13129 rm -f conftest.defines conftest.
tail
13130 # First, append a space to every undef/define line, to ease matching.
13131 echo 's/$/ /' >conftest.defines
13132 # Then, protect against being on the right side of a sed subst, or in
13133 # an unquoted here document, in config.status. If some macros were
13134 # called several times there might be several #defines for the same
13135 # symbol, which is useless. But do not sort them, since the last
13136 # AC_DEFINE must be honored.
13137 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
13138 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
13139 # NAME is the cpp macro being defined, VALUE is the value it is being given.
13140 # PARAMS is the parameter list in the macro definition--in most cases, it's
13141 # just an empty string.
13142 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
13143 ac_dB
='\\)[ (].*,\\1define\\2'
13151 s/^[ ]*#[ ]*define[ ][ ]*//
13156 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
13157 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
13158 ' >>conftest.defines
13160 # Remove the space that was appended to ease matching.
13161 # Then replace #undef with comments. This is necessary, for
13162 # example, in the case of _POSIX_SOURCE, which is predefined and required
13163 # on some systems where configure will not decide to define it.
13164 # (The regexp can be short, since the line contains either #define or #undef.)
13166 s,^[ #]*u.*,/* & */,' >>conftest.defines
13168 # Break up conftest.defines:
13169 ac_max_sed_lines
=50
13171 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
13172 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
13173 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
13175 ac_in
='$ac_file_inputs'
13176 ac_out
='"$tmp/out1"'
13177 ac_nxt
='"$tmp/out2"'
13181 # Write a here document:
13182 cat >>$CONFIG_STATUS <<_ACEOF
13183 # First, check the format of the line:
13184 cat >"\$tmp/defines.sed" <<\\CEOF
13185 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
13186 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
13190 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
13192 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
13193 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
13194 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
13195 grep . conftest.
tail >/dev
/null ||
break
13196 rm -f conftest.defines
13197 mv conftest.
tail conftest.defines
13199 rm -f conftest.defines conftest.
tail
13201 echo "ac_result=$ac_in" >>$CONFIG_STATUS
13202 cat >>$CONFIG_STATUS <<\_ACEOF
13203 if test x
"$ac_file" != x-
; then
13204 echo "/* $configure_input */" >"$tmp/config.h"
13205 cat "$ac_result" >>"$tmp/config.h"
13206 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
13207 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13208 echo "$as_me: $ac_file is unchanged" >&6;}
13211 mv "$tmp/config.h" $ac_file
13214 echo "/* $configure_input */"
13220 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
13221 echo "$as_me: executing $ac_file commands" >&6;}
13226 case $ac_file$ac_mode in
13227 "compiler_executable":C
)
13228 prefix
=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
13230 prefix
="${prefix}/${aros_target_cpu}-aros"
13231 prefix2
=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
13235 chmod a
+x
${prefix2}-gcc ${prefix2}-ld
13237 ln -sf ${prefix2}-gcc ${prefix}-gcc
13238 ln -sf ${prefix2}-ld ${prefix}-ld
13240 ln -sf $aros_target_as_ln ${prefix}-as
13241 ln -sf $aros_target_nm_ln ${prefix}-nm
13242 ln -sf $aros_target_ar_ln ${prefix}-ar
13243 ln -sf $aros_target_ranlib_ln ${prefix}-ranlib
13244 ln -sf $aros_target_objcopy_ln ${prefix}-objcopy
13245 ln -sf $aros_target_objdump_ln ${prefix}-objdump
13246 ln -sf $aros_target_strip_ln ${prefix}-strip
13248 ln -sf $aros_target_as_ln ${prefix2}-as
13249 ln -sf $aros_target_nm_ln ${prefix2}-nm
13250 ln -sf $aros_target_ar_ln ${prefix2}-ar
13251 ln -sf $aros_target_ranlib_ln ${prefix2}-ranlib
13252 ln -sf $aros_target_objcopy_ln ${prefix2}-objcopy
13253 ln -sf $aros_target_objdump_ln ${prefix2}-objdump
13254 ln -sf $aros_target_strip_ln ${prefix2}-strip
13256 "genshared_executable":C
) chmod a
+x
${aros_scripts_dir}/genshared
;;
13257 "genmf_executable":C
) chmod a
+x
${aros_tools_dir}/genmf.py
;;
13258 "adflib_myaros.conf_executable":C
) chmod a
+x tools
/adflib
/myconf.aros
13265 { (exit 0); exit 0; }
13267 chmod +x
$CONFIG_STATUS
13268 ac_clean_files
=$ac_clean_files_save
13271 # configure is writing to config.log, and then calls config.status.
13272 # config.status does its own redirection, appending to config.log.
13273 # Unfortunately, on DOS this fails, as config.log is still kept open
13274 # by configure, so config.status won't be able to write to it; its
13275 # output is simply discarded. So we exec the FD to /dev/null,
13276 # effectively closing config.log, so it can be properly (re)opened and
13277 # appended to by config.status. When coming back to configure, we
13278 # need to make the FD available again.
13279 if test "$no_create" != yes; then
13281 ac_config_status_args
=
13282 test "$silent" = yes &&
13283 ac_config_status_args
="$ac_config_status_args --quiet"
13285 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13287 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13288 # would make configure fail if this is the last instruction.
13289 $ac_cs_success ||
{ (exit 1); exit 1; }
13294 #XXX compatability...
13295 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
13297 if test -n "$aros_shared_cflags" ; then
13298 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
13299 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg