2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE
=1; export DUALCASE
# for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix
*) set -o posix
;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits
='0123456789'
38 as_cr_alnum
=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53 # Support unset when possible.
54 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself
=$0 ;;
73 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir
=.
78 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x
; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var
in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C
; export $as_var
111 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
123 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me
=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x
; then
155 if (eval ":") 2>/dev
/null
; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev
/null
; then
221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
222 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir
=.
228 for as_base
in sh bash ksh sh5
; do
229 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
236 for as_shell
in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix
*) set -o posix
;;
258 CONFIG_SHELL
=$as_shell
260 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
286 as_func_ret_success
() {
289 as_func_ret_failure
() {
294 if as_func_success
; then
298 echo as_func_success failed.
301 if as_func_failure
; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success
; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure
; then
315 echo as_func_ret_failure succeeded.
318 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) ||
{ (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x
; then
343 for as_var
in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no
; then
352 echo This
script requires a shell
more modern than all the
353 echo shells that I found on your system. Please
install a
354 echo modern shell
, or manually run the
script under such a
355 echo shell
if you
do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") ||
{
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system
,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x
"$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
472 ECHO_C
= ECHO_N
= ECHO_T
=
476 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
483 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
490 rm -f conf$$ conf$$.exe conf$$.
file
491 if test -d conf$$.dir
; then
492 rm -f conf$$.dir
/conf$$.
file
498 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
506 elif ln conf$$.
file conf$$
2>/dev
/null
; then
511 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
512 rmdir conf$$.dir
2>/dev
/null
514 if mkdir
-p .
2>/dev
/null
; then
517 test -d .
/-p && rmdir .
/-p
521 if test -x / >/dev
/null
2>&1; then
524 if ls -dL / >/dev
/null
2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p
=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev
/null
6>&1
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix
=/usr
/local
564 ac_config_libobj_dir
=.
570 SHELL
=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
579 ac_unique_file
="mmakefile"
580 # Factoring default headers for most tests.
581 ac_includes_default
="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
625 program_transform_name
721 aros_target_objcopy_ln
722 aros_target_objdump_ln
723 aros_target_ranlib_ln
725 aros_target_nostdinc_cflags
726 aros_target_nostartup_ldflags
727 aros_target_nix_ldflags
728 aros_target_detach_ldflags
729 aros_target_nostdlib_ldflags
731 aros_cflags_iquote_end
757 aros_target_bootloader
769 aros_target_cc_includes
791 aros_target_strip_flags
795 aros_default_wbheight
799 aros_host_x11_includes
800 aros_host_x11_libdirs
806 aros_nesting_supervisor
816 ignore_undefined_symbols
820 ac_precious_vars
='build_alias
832 # Initialize some variables set by options.
834 ac_init_version
=false
835 # The variables have the same names as the options, with
836 # dashes changed to underlines.
844 program_transform_name
=s
,x
,x
,
852 # Installation directory options.
853 # These are left unexpanded so users can "make install exec_prefix=/foo"
854 # and all the variables that are supposed to be based on exec_prefix
855 # by default will actually change.
856 # Use braces instead of parens because sh, perl, etc. also accept them.
857 # (The list follows the same order as the GNU Coding Standards.)
858 bindir
='${exec_prefix}/bin'
859 sbindir
='${exec_prefix}/sbin'
860 libexecdir
='${exec_prefix}/libexec'
861 datarootdir
='${prefix}/share'
862 datadir
='${datarootdir}'
863 sysconfdir
='${prefix}/etc'
864 sharedstatedir
='${prefix}/com'
865 localstatedir
='${prefix}/var'
866 includedir
='${prefix}/include'
867 oldincludedir
='/usr/include'
868 docdir
='${datarootdir}/doc/${PACKAGE}'
869 infodir
='${datarootdir}/info'
874 libdir
='${exec_prefix}/lib'
875 localedir
='${datarootdir}/locale'
876 mandir
='${datarootdir}/man'
882 # If the previous option needs an argument, assign it.
883 if test -n "$ac_prev"; then
884 eval $ac_prev=\
$ac_option
890 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
894 # Accept the important Cygnus configure options, so we can diagnose typos.
896 case $ac_dashdash$ac_option in
900 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
902 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
905 -build |
--build |
--buil |
--bui |
--bu)
906 ac_prev
=build_alias
;;
907 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
908 build_alias
=$ac_optarg ;;
910 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
911 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
912 ac_prev
=cache_file
;;
913 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
914 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
915 cache_file
=$ac_optarg ;;
918 cache_file
=config.cache
;;
920 -datadir |
--datadir |
--datadi |
--datad)
922 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
923 datadir
=$ac_optarg ;;
925 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
926 |
--dataroo |
--dataro |
--datar)
927 ac_prev
=datarootdir
;;
928 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
929 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
930 datarootdir
=$ac_optarg ;;
932 -disable-* |
--disable-*)
933 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
934 # Reject names that are not valid shell variable names.
935 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
936 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
937 { (exit 1); exit 1; }; }
938 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
939 eval enable_
$ac_feature=no
;;
941 -docdir |
--docdir |
--docdi |
--doc |
--do)
943 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
946 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
948 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
951 -enable-* |
--enable-*)
952 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
953 # Reject names that are not valid shell variable names.
954 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
955 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
956 { (exit 1); exit 1; }; }
957 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
958 eval enable_
$ac_feature=\
$ac_optarg ;;
960 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
961 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
962 |
--exec |
--exe |
--ex)
963 ac_prev
=exec_prefix
;;
964 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
965 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
966 |
--exec=* |
--exe=* |
--ex=*)
967 exec_prefix
=$ac_optarg ;;
969 -gas |
--gas |
--ga |
--g)
970 # Obsolete; use --with-gas.
973 -help |
--help |
--hel |
--he |
-h)
975 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
976 ac_init_help
=recursive
;;
977 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
978 ac_init_help
=short
;;
980 -host |
--host |
--hos |
--ho)
981 ac_prev
=host_alias
;;
982 -host=* |
--host=* |
--hos=* |
--ho=*)
983 host_alias
=$ac_optarg ;;
985 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
987 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
989 htmldir
=$ac_optarg ;;
991 -includedir |
--includedir |
--includedi |
--included |
--include \
992 |
--includ |
--inclu |
--incl |
--inc)
993 ac_prev
=includedir
;;
994 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
995 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
996 includedir
=$ac_optarg ;;
998 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1000 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1001 infodir
=$ac_optarg ;;
1003 -libdir |
--libdir |
--libdi |
--libd)
1005 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1006 libdir
=$ac_optarg ;;
1008 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1009 |
--libexe |
--libex |
--libe)
1010 ac_prev
=libexecdir
;;
1011 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1012 |
--libexe=* |
--libex=* |
--libe=*)
1013 libexecdir
=$ac_optarg ;;
1015 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1016 ac_prev
=localedir
;;
1017 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1018 localedir
=$ac_optarg ;;
1020 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1021 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1022 ac_prev
=localstatedir
;;
1023 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1024 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1025 localstatedir
=$ac_optarg ;;
1027 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1029 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1030 mandir
=$ac_optarg ;;
1032 -nfp |
--nfp |
--nf)
1033 # Obsolete; use --without-fp.
1036 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1037 |
--no-cr |
--no-c |
-n)
1040 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1041 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1044 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1045 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1046 |
--oldin |
--oldi |
--old |
--ol |
--o)
1047 ac_prev
=oldincludedir
;;
1048 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1049 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1050 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1051 oldincludedir
=$ac_optarg ;;
1053 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1055 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1056 prefix
=$ac_optarg ;;
1058 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1059 |
--program-pre |
--program-pr |
--program-p)
1060 ac_prev
=program_prefix
;;
1061 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1062 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1063 program_prefix
=$ac_optarg ;;
1065 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1066 |
--program-suf |
--program-su |
--program-s)
1067 ac_prev
=program_suffix
;;
1068 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1069 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1070 program_suffix
=$ac_optarg ;;
1072 -program-transform-name |
--program-transform-name \
1073 |
--program-transform-nam |
--program-transform-na \
1074 |
--program-transform-n |
--program-transform- \
1075 |
--program-transform |
--program-transfor \
1076 |
--program-transfo |
--program-transf \
1077 |
--program-trans |
--program-tran \
1078 |
--progr-tra |
--program-tr |
--program-t)
1079 ac_prev
=program_transform_name
;;
1080 -program-transform-name=* |
--program-transform-name=* \
1081 |
--program-transform-nam=* |
--program-transform-na=* \
1082 |
--program-transform-n=* |
--program-transform-=* \
1083 |
--program-transform=* |
--program-transfor=* \
1084 |
--program-transfo=* |
--program-transf=* \
1085 |
--program-trans=* |
--program-tran=* \
1086 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1087 program_transform_name
=$ac_optarg ;;
1089 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1091 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1092 pdfdir
=$ac_optarg ;;
1094 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1096 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1099 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1100 |
-silent |
--silent |
--silen |
--sile |
--sil)
1103 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1105 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1107 sbindir
=$ac_optarg ;;
1109 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1110 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1111 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1113 ac_prev
=sharedstatedir
;;
1114 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1115 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1116 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1118 sharedstatedir
=$ac_optarg ;;
1120 -site |
--site |
--sit)
1122 -site=* |
--site=* |
--sit=*)
1125 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1127 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1128 srcdir
=$ac_optarg ;;
1130 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1131 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1132 ac_prev
=sysconfdir
;;
1133 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1134 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1135 sysconfdir
=$ac_optarg ;;
1137 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1138 ac_prev
=target_alias
;;
1139 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1140 target_alias
=$ac_optarg ;;
1142 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1145 -version |
--version |
--versio |
--versi |
--vers |
-V)
1146 ac_init_version
=: ;;
1149 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1150 # Reject names that are not valid shell variable names.
1151 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1152 { echo "$as_me: error: invalid package name: $ac_package" >&2
1153 { (exit 1); exit 1; }; }
1154 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1155 eval with_
$ac_package=\
$ac_optarg ;;
1157 -without-* |
--without-*)
1158 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1159 # Reject names that are not valid shell variable names.
1160 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1161 { echo "$as_me: error: invalid package name: $ac_package" >&2
1162 { (exit 1); exit 1; }; }
1163 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1164 eval with_
$ac_package=no
;;
1167 # Obsolete; use --with-x.
1170 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1171 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1172 ac_prev
=x_includes
;;
1173 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1174 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1175 x_includes
=$ac_optarg ;;
1177 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1178 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1179 ac_prev
=x_libraries
;;
1180 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1181 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1182 x_libraries
=$ac_optarg ;;
1184 -*) { echo "$as_me: error: unrecognized option: $ac_option
1185 Try \`$0 --help' for more information." >&2
1186 { (exit 1); exit 1; }; }
1190 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1191 # Reject names that are not valid shell variable names.
1192 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1193 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1194 { (exit 1); exit 1; }; }
1195 eval $ac_envvar=\
$ac_optarg
1196 export $ac_envvar ;;
1199 # FIXME: should be removed in autoconf 3.0.
1200 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1201 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1202 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1203 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1209 if test -n "$ac_prev"; then
1210 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1211 { echo "$as_me: error: missing argument to $ac_option" >&2
1212 { (exit 1); exit 1; }; }
1215 # Be sure to have absolute directory names.
1216 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1217 datadir sysconfdir sharedstatedir localstatedir includedir \
1218 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1219 libdir localedir mandir
1221 eval ac_val
=\$
$ac_var
1223 [\\/$
]* | ?
:[\\/]* ) continue;;
1224 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1226 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1227 { (exit 1); exit 1; }; }
1230 # There might be people who depend on the old broken behavior: `$host'
1231 # used to hold the argument of --host etc.
1232 # FIXME: To remove some day.
1235 target
=$target_alias
1237 # FIXME: To remove some day.
1238 if test "x$host_alias" != x
; then
1239 if test "x$build_alias" = x
; then
1240 cross_compiling
=maybe
1241 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1242 If a cross compiler is detected then cross compile mode will be used." >&2
1243 elif test "x$build_alias" != "x$host_alias"; then
1249 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1251 test "$silent" = yes && exec 6>/dev
/null
1254 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1255 ac_ls_di
=`ls -di .` &&
1256 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1257 { echo "$as_me: error: Working directory cannot be determined" >&2
1258 { (exit 1); exit 1; }; }
1259 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1260 { echo "$as_me: error: pwd does not report name of working directory" >&2
1261 { (exit 1); exit 1; }; }
1264 # Find the source files, if location was not specified.
1265 if test -z "$srcdir"; then
1266 ac_srcdir_defaulted
=yes
1267 # Try the directory containing this script, then the parent directory.
1268 ac_confdir
=`$as_dirname -- "$0" ||
1269 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1270 X"$0" : 'X\(//\)[^/]' \| \
1271 X"$0" : 'X\(//\)$' \| \
1272 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1274 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1292 if test ! -r "$srcdir/$ac_unique_file"; then
1296 ac_srcdir_defaulted
=no
1298 if test ! -r "$srcdir/$ac_unique_file"; then
1299 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1300 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1301 { (exit 1); exit 1; }; }
1303 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1305 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1306 { (exit 1); exit 1; }; }
1308 # When building in place, set srcdir=.
1309 if test "$ac_abs_confdir" = "$ac_pwd"; then
1312 # Remove unnecessary trailing slashes from srcdir.
1313 # Double slashes in file names in object file debugging info
1314 # mess up M-x gdb in Emacs.
1316 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1318 for ac_var
in $ac_precious_vars; do
1319 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1320 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1321 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1322 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1326 # Report the --help message.
1328 if test "$ac_init_help" = "long"; then
1329 # Omit some internal or obsolete options to make the list less imposing.
1330 # This message is too long to be a string in the A/UX 3.1 sh.
1332 \`configure' configures this package to adapt to many kinds of systems.
1334 Usage: $0 [OPTION]... [VAR=VALUE]...
1336 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1337 VAR=VALUE. See below for descriptions of some of the useful variables.
1339 Defaults for the options are specified in brackets.
1342 -h, --help display this help and exit
1343 --help=short display options specific to this package
1344 --help=recursive display the short help of all the included packages
1345 -V, --version display version information and exit
1346 -q, --quiet, --silent do not print \`checking...' messages
1347 --cache-file=FILE cache test results in FILE [disabled]
1348 -C, --config-cache alias for \`--cache-file=config.cache'
1349 -n, --no-create do not create output files
1350 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1352 Installation directories:
1353 --prefix=PREFIX install architecture-independent files in PREFIX
1354 [$ac_default_prefix]
1355 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1358 By default, \`make install' will install all the files in
1359 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1360 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1361 for instance \`--prefix=\$HOME'.
1363 For better control, use the options below.
1365 Fine tuning of the installation directories:
1366 --bindir=DIR user executables [EPREFIX/bin]
1367 --sbindir=DIR system admin executables [EPREFIX/sbin]
1368 --libexecdir=DIR program executables [EPREFIX/libexec]
1369 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1370 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1371 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1372 --libdir=DIR object code libraries [EPREFIX/lib]
1373 --includedir=DIR C header files [PREFIX/include]
1374 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1375 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1376 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1377 --infodir=DIR info documentation [DATAROOTDIR/info]
1378 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1379 --mandir=DIR man documentation [DATAROOTDIR/man]
1380 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1381 --htmldir=DIR html documentation [DOCDIR]
1382 --dvidir=DIR dvi documentation [DOCDIR]
1383 --pdfdir=DIR pdf documentation [DOCDIR]
1384 --psdir=DIR ps documentation [DOCDIR]
1390 --x-includes=DIR X include files are
in DIR
1391 --x-libraries=DIR X library files are
in DIR
1394 --build=BUILD configure
for building on BUILD
[guessed
]
1395 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1399 if test -n "$ac_init_help"; then
1404 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1405 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1406 --enable-build-type=TYPE
1407 Select the build
type. Available types are
:
1408 personal
, nightly
, snapshot
, milestone
, release. Do
1409 NOT use this option unless you know what you are
1410 doing
! (default
=personal
)
1411 --enable-debug=list Enable different types of debug. Commas or
1412 whitespaces can be used to separate the items
in the
1413 list. Available types of debug are
: all
, none
,
1414 messages
, stack
, mungwall
, modules
, symbols. If no
1415 list is provided
then "all" is assumed.
1417 --enable-distcc Use distcc as a front end to the compiler
1419 --enable-ccache Use ccache as a front end to the compiler
1421 --enable-target-variant=NAME
1422 Enable a specific target variant
(default
=none
)
1423 --enable-includes=dir Alternative system include directory
1424 --enable-bochs-hack Enable hacks to
make BOCHS
(partly
) work
1426 --enable-palm-debug-hack
1427 Enable palm debug output hack
in palm native
1429 --enable-nesting-supervisor
1430 Enable nesting supervisor support
in unix
1432 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1433 --enable-x11-shm use X11 shared memory
(default
=auto
)
1434 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1435 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1436 --disable-sdltest Do not try to compile and run a
test SDL program
1437 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1440 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1441 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1442 --with-optimization=FLAGS
1443 Use optimization flags FLAGS
(default
=-O2).
1444 --with-portssources=DIR Where to download sourcecode
for external ports
1445 --with-bootloader=NAME Use a specific bootloader
1446 --with-theme=NAME Use a specific GUI Theme
1447 --with-resolution=XRESxYRESxDEPTH
1448 Default resolution of the initial WorkbenchScreen
1449 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1450 --with-x use the X Window System
1451 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1452 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1454 Some influential environment variables
:
1455 CC C compiler
command
1456 CFLAGS C compiler flags
1457 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1458 nonstandard directory
<lib dir
>
1459 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1460 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1461 you have headers
in a nonstandard directory
<include dir
>
1463 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1465 Use these variables to override the choices made by
`configure' or to help
1466 it to find libraries and programs with nonstandard names/locations.
1472 if test "$ac_init_help" = "recursive"; then
1473 # If there are subdirs, report their specific --help.
1474 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1475 test -d "$ac_dir" || continue
1479 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1481 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1482 # A ".." for each directory in $ac_dir_suffix.
1483 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1484 case $ac_top_builddir_sub in
1485 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1486 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1489 ac_abs_top_builddir=$ac_pwd
1490 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1491 # for backward compatibility:
1492 ac_top_builddir=$ac_top_build_prefix
1495 .) # We are building in place.
1497 ac_top_srcdir=$ac_top_builddir_sub
1498 ac_abs_top_srcdir=$ac_pwd ;;
1499 [\\/]* | ?:[\\/]* ) # Absolute name.
1500 ac_srcdir=$srcdir$ac_dir_suffix;
1501 ac_top_srcdir=$srcdir
1502 ac_abs_top_srcdir=$srcdir ;;
1504 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1505 ac_top_srcdir=$ac_top_build_prefix$srcdir
1506 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1508 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1510 cd "$ac_dir" || { ac_status=$?; continue; }
1511 # Check for guested configure.
1512 if test -f "$ac_srcdir/configure.gnu"; then
1514 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1515 elif test -f "$ac_srcdir/configure"; then
1517 $SHELL "$ac_srcdir/configure" --help=recursive
1519 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1521 cd "$ac_pwd" || { ac_status=$?; break; }
1525 test -n "$ac_init_help" && exit $ac_status
1526 if $ac_init_version; then
1529 generated by GNU Autoconf 2.61
1531 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1532 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1533 This configure script is free software; the Free Software Foundation
1534 gives unlimited permission to copy, distribute and modify it.
1538 cat >config.log <<_ACEOF
1539 This file contains any messages produced by compilers while
1540 running configure, to aid debugging if configure makes a mistake.
1542 It was created by $as_me, which was
1543 generated by GNU Autoconf 2.61. Invocation command line was
1555 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1556 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1557 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1558 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1559 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1561 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1562 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1564 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1565 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1566 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1567 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1568 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1569 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1570 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1578 test -z "$as_dir" && as_dir=.
1579 echo "PATH: $as_dir"
1595 # Keep a trace of the command line.
1596 # Strip out --no-create and --no-recursion so they do not pile up.
1597 # Strip out --silent because we don't want to record it for future runs.
1598 # Also quote any args containing shell meta-characters.
1599 # Make two passes to allow for proper duplicate-argument suppression.
1603 ac_must_keep_next=false
1609 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1610 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1611 | -silent | --silent | --silen | --sile | --sil)
1614 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1617 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1619 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1620 if test $ac_must_keep_next = true; then
1621 ac_must_keep_next=false # Got value, back to normal.
1624 *=* | --config-cache | -C | -disable-* | --disable-* \
1625 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1626 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1627 | -with-* | --with-* | -without-* | --without-* | --x)
1628 case "$ac_configure_args0 " in
1629 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1632 -* ) ac_must_keep_next=true ;;
1635 ac_configure_args="$ac_configure_args '$ac_arg'"
1640 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1641 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1643 # When interrupted or exit'd, cleanup temporary files, and complete
1644 # config.log. We remove comments because anyway the quotes in there
1645 # would cause problems or look ugly.
1646 # WARNING: Use '\'' to represent an apostrophe within the trap.
1647 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1648 trap 'exit_status=$?
1649 # Save into config.log some information that might help in debugging.
1654 ## ---------------- ##
1655 ## Cache variables. ##
1656 ## ---------------- ##
1659 # The following way of writing the cache mishandles newlines in values,
1661 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1662 eval ac_val=\$$ac_var
1666 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1667 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1670 _ | IFS | as_nl) ;; #(
1671 *) $as_unset $ac_var ;;
1676 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1677 *${as_nl}ac_space=\ *)
1679 "s/'\''/'\''\\\\'\'''\''/g;
1680 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1683 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1691 ## ----------------- ##
1692 ## Output variables. ##
1693 ## ----------------- ##
1696 for ac_var in $ac_subst_vars
1698 eval ac_val=\$$ac_var
1700 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1702 echo "$ac_var='\''$ac_val'\''"
1706 if test -n "$ac_subst_files"; then
1708 ## ------------------- ##
1709 ## File substitutions. ##
1710 ## ------------------- ##
1713 for ac_var in $ac_subst_files
1715 eval ac_val=\$$ac_var
1717 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1719 echo "$ac_var='\''$ac_val'\''"
1724 if test -s confdefs.h; then
1734 test "$ac_signal" != 0 &&
1735 echo "$as_me: caught signal $ac_signal"
1736 echo "$as_me: exit $exit_status"
1738 rm -f core *.core core.conftest.* &&
1739 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1742 for ac_signal in 1 2 13 15; do
1743 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1747 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1748 rm -f -r conftest* confdefs.h
1750 # Predefined preprocessor variables.
1752 cat >>confdefs.h <<_ACEOF
1753 #define PACKAGE_NAME "$PACKAGE_NAME"
1757 cat >>confdefs.h <<_ACEOF
1758 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1762 cat >>confdefs.h <<_ACEOF
1763 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1767 cat >>confdefs.h <<_ACEOF
1768 #define PACKAGE_STRING "$PACKAGE_STRING"
1772 cat >>confdefs.h <<_ACEOF
1773 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1777 # Let the site file select an alternate cache file if it wants to.
1778 # Prefer explicitly selected file to automatically selected ones.
1779 if test -n "$CONFIG_SITE"; then
1780 set x "$CONFIG_SITE"
1781 elif test "x$prefix" != xNONE; then
1782 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1784 set x "$ac_default_prefix/share/config.site" \
1785 "$ac_default_prefix/etc/config.site"
1790 if test -r "$ac_site_file"; then
1791 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1792 echo "$as_me: loading site script $ac_site_file" >&6;}
1793 sed 's/^/| /' "$ac_site_file" >&5
1798 if test -r "$cache_file"; then
1799 # Some versions of bash will fail to source /dev/null (special
1800 # files actually), so we avoid doing that.
1801 if test -f "$cache_file"; then
1802 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1803 echo "$as_me: loading cache $cache_file" >&6;}
1805 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1806 *) . "./$cache_file";;
1810 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1811 echo "$as_me: creating cache $cache_file" >&6;}
1815 # Check that the precious variables saved in the cache have kept the same
1817 ac_cache_corrupted=false
1818 for ac_var in $ac_precious_vars; do
1819 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1820 eval ac_new_set=\$ac_env_${ac_var}_set
1821 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1822 eval ac_new_val=\$ac_env_${ac_var}_value
1823 case $ac_old_set,$ac_new_set in
1825 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1826 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1827 ac_cache_corrupted=: ;;
1829 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1830 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1831 ac_cache_corrupted=: ;;
1834 if test "x$ac_old_val" != "x$ac_new_val"; then
1835 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1836 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1837 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1838 echo "$as_me: former value
: $ac_old_val" >&2;}
1839 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1840 echo "$as_me: current value
: $ac_new_val" >&2;}
1841 ac_cache_corrupted=:
1844 # Pass precious variables to config.status.
1845 if test "$ac_new_set" = set; then
1847 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1848 *) ac_arg=$ac_var=$ac_new_val ;;
1850 case " $ac_configure_args " in
1851 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1852 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1856 if $ac_cache_corrupted; then
1857 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1858 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1859 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1860 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1861 { (exit 1); exit 1; }; }
1881 ac_cpp='$CPP $CPPFLAGS'
1882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1889 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
1890 if test -f "$ac_dir/install-sh"; then
1892 ac_install_sh="$ac_aux_dir/install-sh -c"
1894 elif test -f "$ac_dir/install.sh"; then
1896 ac_install_sh="$ac_aux_dir/install.sh -c"
1898 elif test -f "$ac_dir/shtool"; then
1900 ac_install_sh="$ac_aux_dir/shtool install -c"
1904 if test -z "$ac_aux_dir"; then
1905 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts/autoconf \"$srcdir\"/scripts/autoconf" >&5
1906 echo "$as_me: error: cannot find install-sh or install.sh in scripts/autoconf \"$srcdir\"/scripts/autoconf" >&2;}
1907 { (exit 1); exit 1; }; }
1910 # These three variables are undocumented and unsupported,
1911 # and are intended to be withdrawn in a future Autoconf release.
1912 # They can cause serious problems if a builder's source tree is in a directory
1913 # whose full name contains unusual characters.
1914 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1915 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1916 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1920 # Check what host we are running on.
1921 # If a target is not suggested, we use this one.
1922 # Note that what we call a target, Autoconf calls a host.
1923 # Make sure we can run config.sub.
1924 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1925 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1926 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1927 { (exit 1); exit 1; }; }
1929 { echo "$as_me:$LINENO: checking build system type" >&5
1930 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1931 if test "${ac_cv_build+set}" = set; then
1932 echo $ECHO_N "(cached) $ECHO_C" >&6
1934 ac_build_alias=$build_alias
1935 test "x$ac_build_alias" = x &&
1936 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1937 test "x$ac_build_alias" = x &&
1938 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1939 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1940 { (exit 1); exit 1; }; }
1941 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1942 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1943 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1944 { (exit 1); exit 1; }; }
1947 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1948 echo "${ECHO_T}$ac_cv_build" >&6; }
1949 case $ac_cv_build in
1951 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1952 echo "$as_me: error: invalid value of canonical build" >&2;}
1953 { (exit 1); exit 1; }; };;
1956 ac_save_IFS=$IFS; IFS='-'
1962 # Remember, the first character of IFS is used to create $*,
1963 # except with old shells:
1966 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
1969 { echo "$as_me:$LINENO: checking host system type" >&5
1970 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1971 if test "${ac_cv_host+set}" = set; then
1972 echo $ECHO_N "(cached) $ECHO_C" >&6
1974 if test "x$host_alias" = x; then
1975 ac_cv_host=$ac_cv_build
1977 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1978 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1979 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1980 { (exit 1); exit 1; }; }
1984 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1985 echo "${ECHO_T}$ac_cv_host" >&6; }
1988 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1989 echo "$as_me: error: invalid value of canonical host" >&2;}
1990 { (exit 1); exit 1; }; };;
1993 ac_save_IFS=$IFS; IFS='-'
1999 # Remember, the first character of IFS is used to create $*,
2000 # except with old shells:
2003 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2007 # The AROS target is slightly different to the normal GNU style
2008 # format. We don't have the middle part, and we reverse the order
2009 # of the $(CPU) and $(OS) bits.
2011 # Don't strip the version of the target yet, it might be
2012 # useful on some systems.
2014 { echo "$as_me:$LINENO: checking for AROS style target" >&5
2015 echo $ECHO_N "checking for AROS style target... $ECHO_C" >&6; }
2017 if test "$target" = "NONE" ; then
2018 target=$host_os-$host_cpu
2021 if test "$target" = "" ; then
2022 target=$host_os-$host_cpu
2028 { echo "$as_me:$LINENO: result: $target" >&5
2029 echo "${ECHO_T}$target" >&6; }
2031 #don't know where else to put this...
2032 { echo "$as_me:$LINENO: checking Building AROS in .. " >&5
2033 echo $ECHO_N "checking Building AROS in .. ... $ECHO_C" >&6; }
2035 { echo "$as_me:$LINENO: result: $AROS_BUILDDIR" >&5
2036 echo "${ECHO_T}$AROS_BUILDDIR" >&6; }
2038 { echo "$as_me:$LINENO: checking AROS Source in .. " >&5
2039 echo $ECHO_N "checking AROS Source in .. ... $ECHO_C" >&6; }
2040 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2041 AROS_SRCDIR=${srcpwd}
2042 { echo "$as_me:$LINENO: result: $AROS_SRCDIR" >&5
2043 echo "${ECHO_T}$AROS_SRCDIR" >&6; }
2045 # Parse the target field into something useful.
2047 target_os=`echo $target |
sed 's/^\([^-]*\)-\(.*\)$/\1/'`
2048 target_cpu=`echo $target |
sed 's/^\([^-]*\)-\(.*\)$/\2/'`
2051 aros_default_wbwidth=800
2052 aros_default_wbheight=600
2053 aros_default_wbdepth=4
2056 # The first step is to find the host binaries.
2057 # Check for a compiler.
2059 ac_cpp='$CPP $CPPFLAGS'
2060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2063 if test -n "$ac_tool_prefix"; then
2064 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2065 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2066 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2068 if test "${ac_cv_prog_CC+set}" = set; then
2069 echo $ECHO_N "(cached) $ECHO_C" >&6
2071 if test -n "$CC"; then
2072 ac_cv_prog_CC="$CC" # Let the user override the test.
2074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2078 test -z "$as_dir" && as_dir=.
2079 for ac_exec_ext in '' $ac_executable_extensions; do
2080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2081 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2092 if test -n "$CC"; then
2093 { echo "$as_me:$LINENO: result: $CC" >&5
2094 echo "${ECHO_T}$CC" >&6; }
2096 { echo "$as_me:$LINENO: result: no" >&5
2097 echo "${ECHO_T}no" >&6; }
2102 if test -z "$ac_cv_prog_CC"; then
2104 # Extract the first word of "gcc", so it can be a program name with args.
2105 set dummy gcc; ac_word=$2
2106 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2108 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2109 echo $ECHO_N "(cached) $ECHO_C" >&6
2111 if test -n "$ac_ct_CC"; then
2112 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2118 test -z "$as_dir" && as_dir=.
2119 for ac_exec_ext in '' $ac_executable_extensions; do
2120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2121 ac_cv_prog_ac_ct_CC="gcc"
2122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2131 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2132 if test -n "$ac_ct_CC"; then
2133 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2134 echo "${ECHO_T}$ac_ct_CC" >&6; }
2136 { echo "$as_me:$LINENO: result: no" >&5
2137 echo "${ECHO_T}no" >&6; }
2140 if test "x$ac_ct_CC" = x; then
2143 case $cross_compiling:$ac_tool_warned in
2145 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2146 whose name does not start with the host triplet. If you think this
2147 configuration is useful to you, please write to autoconf@gnu.org." >&5
2148 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2149 whose name does not start with the host triplet. If you think this
2150 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2151 ac_tool_warned=yes ;;
2159 if test -z "$CC"; then
2160 if test -n "$ac_tool_prefix"; then
2161 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2162 set dummy ${ac_tool_prefix}cc; ac_word=$2
2163 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2164 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2165 if test "${ac_cv_prog_CC+set}" = set; then
2166 echo $ECHO_N "(cached) $ECHO_C" >&6
2168 if test -n "$CC"; then
2169 ac_cv_prog_CC="$CC" # Let the user override the test.
2171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2175 test -z "$as_dir" && as_dir=.
2176 for ac_exec_ext in '' $ac_executable_extensions; do
2177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2178 ac_cv_prog_CC="${ac_tool_prefix}cc"
2179 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2189 if test -n "$CC"; then
2190 { echo "$as_me:$LINENO: result: $CC" >&5
2191 echo "${ECHO_T}$CC" >&6; }
2193 { echo "$as_me:$LINENO: result: no" >&5
2194 echo "${ECHO_T}no" >&6; }
2200 if test -z "$CC"; then
2201 # Extract the first word of "cc", so it can be a program name with args.
2202 set dummy cc; ac_word=$2
2203 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2204 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2205 if test "${ac_cv_prog_CC+set}" = set; then
2206 echo $ECHO_N "(cached) $ECHO_C" >&6
2208 if test -n "$CC"; then
2209 ac_cv_prog_CC="$CC" # Let the user override the test.
2212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2216 test -z "$as_dir" && as_dir=.
2217 for ac_exec_ext in '' $ac_executable_extensions; do
2218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2219 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2220 ac_prog_rejected=yes
2224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2231 if test $ac_prog_rejected = yes; then
2232 # We found a bogon in the path, so make sure we never use it.
2233 set dummy $ac_cv_prog_CC
2235 if test $# != 0; then
2236 # We chose a different compiler from the bogus one.
2237 # However, it has the same basename, so the bogon will be chosen
2238 # first if we set CC to just the basename; use the full file name.
2240 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2246 if test -n "$CC"; then
2247 { echo "$as_me:$LINENO: result: $CC" >&5
2248 echo "${ECHO_T}$CC" >&6; }
2250 { echo "$as_me:$LINENO: result: no" >&5
2251 echo "${ECHO_T}no" >&6; }
2256 if test -z "$CC"; then
2257 if test -n "$ac_tool_prefix"; then
2258 for ac_prog in cl.exe
2260 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2261 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2262 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2264 if test "${ac_cv_prog_CC+set}" = set; then
2265 echo $ECHO_N "(cached) $ECHO_C" >&6
2267 if test -n "$CC"; then
2268 ac_cv_prog_CC="$CC" # Let the user override the test.
2270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2274 test -z "$as_dir" && as_dir=.
2275 for ac_exec_ext in '' $ac_executable_extensions; do
2276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2277 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2288 if test -n "$CC"; then
2289 { echo "$as_me:$LINENO: result: $CC" >&5
2290 echo "${ECHO_T}$CC" >&6; }
2292 { echo "$as_me:$LINENO: result: no" >&5
2293 echo "${ECHO_T}no" >&6; }
2297 test -n "$CC" && break
2300 if test -z "$CC"; then
2302 for ac_prog in cl.exe
2304 # Extract the first word of "$ac_prog", so it can be a program name with args.
2305 set dummy $ac_prog; ac_word=$2
2306 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2308 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2309 echo $ECHO_N "(cached) $ECHO_C" >&6
2311 if test -n "$ac_ct_CC"; then
2312 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2318 test -z "$as_dir" && as_dir=.
2319 for ac_exec_ext in '' $ac_executable_extensions; do
2320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2321 ac_cv_prog_ac_ct_CC="$ac_prog"
2322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2331 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2332 if test -n "$ac_ct_CC"; then
2333 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2334 echo "${ECHO_T}$ac_ct_CC" >&6; }
2336 { echo "$as_me:$LINENO: result: no" >&5
2337 echo "${ECHO_T}no" >&6; }
2341 test -n "$ac_ct_CC" && break
2344 if test "x$ac_ct_CC" = x; then
2347 case $cross_compiling:$ac_tool_warned in
2349 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2350 whose name does not start with the host triplet. If you think this
2351 configuration is useful to you, please write to autoconf@gnu.org." >&5
2352 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2353 whose name does not start with the host triplet. If you think this
2354 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2355 ac_tool_warned=yes ;;
2364 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2365 See \`config.log
' for more details." >&5
2366 echo "$as_me: error: no acceptable C compiler found in \$PATH
2367 See \`config.log' for more details.
" >&2;}
2368 { (exit 1); exit 1; }; }
2370 # Provide some information about the compiler.
2371 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2372 ac_compiler=`set X $ac_compile; echo $2`
2373 { (ac_try="$ac_compiler --version >&5"
2375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2376 *) ac_try_echo=$ac_try;;
2378 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2379 (eval "$ac_compiler --version >&5") 2>&5
2381 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2382 (exit $ac_status); }
2383 { (ac_try="$ac_compiler -v >&5"
2385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2386 *) ac_try_echo=$ac_try;;
2388 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2389 (eval "$ac_compiler -v >&5") 2>&5
2391 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2392 (exit $ac_status); }
2393 { (ac_try="$ac_compiler -V >&5"
2395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2396 *) ac_try_echo=$ac_try;;
2398 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2399 (eval "$ac_compiler -V >&5") 2>&5
2401 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2402 (exit $ac_status); }
2404 cat >conftest.$ac_ext <<_ACEOF
2407 cat confdefs.h >>conftest.$ac_ext
2408 cat >>conftest.$ac_ext <<_ACEOF
2409 /* end confdefs.h. */
2419 ac_clean_files_save=$ac_clean_files
2420 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2421 # Try to create an executable without -o first, disregard a.out.
2422 # It will help us diagnose broken compilers, and finding out an intuition
2424 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2425 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2426 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2428 # List of possible output files, starting from the most likely.
2429 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2430 # only as a last resort. b.out is created by i960 compilers.
2431 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2433 # The IRIX 6 linker writes into existing files which may not be
2434 # executable, retaining their permissions. Remove them first so a
2435 # subsequent execution test works.
2437 for ac_file in $ac_files
2440 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2441 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2446 if { (ac_try="$ac_link_default"
2448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2449 *) ac_try_echo=$ac_try;;
2451 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2452 (eval "$ac_link_default") 2>&5
2454 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2455 (exit $ac_status); }; then
2456 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2457 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2458 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2459 # so that the user can short-circuit this test for compilers unknown to
2461 for ac_file in $ac_files ''
2463 test -f "$ac_file" || continue
2465 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2468 # We found the default executable, but exeext='' is most
2472 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2474 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2476 # We set ac_cv_exeext here because the later test for it is not
2477 # safe: cross compilers may not add the suffix if given an `-o'
2478 # argument, so we may need to know it at that point already.
2479 # Even if this section looks crufty: it has the advantage of
2486 test "$ac_cv_exeext" = no && ac_cv_exeext=
2492 { echo "$as_me:$LINENO: result
: $ac_file" >&5
2493 echo "${ECHO_T}$ac_file" >&6; }
2494 if test -z "$ac_file"; then
2495 echo "$as_me: failed program was
:" >&5
2496 sed 's/^/| /' conftest.$ac_ext >&5
2498 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2499 See \
`config.log' for more details." >&5
2500 echo "$as_me: error: C compiler cannot create executables
2501 See \`config.log
' for more details." >&2;}
2502 { (exit 77); exit 77; }; }
2505 ac_exeext=$ac_cv_exeext
2507 # Check that the compiler produces executables we can run. If not, either
2508 # the compiler is broken, or we cross compile.
2509 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2510 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2511 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2512 # If not cross compiling, check that we can run a simple program.
2513 if test "$cross_compiling" != yes; then
2514 if { ac_try='.
/$ac_file'
2515 { (case "(($ac_try" in
2516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2517 *) ac_try_echo=$ac_try;;
2519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2520 (eval "$ac_try") 2>&5
2522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2523 (exit $ac_status); }; }; then
2526 if test "$cross_compiling" = maybe; then
2529 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2530 If you meant to cross compile, use \`--host'.
2531 See \
`config.log' for more details." >&5
2532 echo "$as_me: error: cannot run C compiled programs.
2533 If you meant to cross compile, use \`--host'.
2534 See \`config.log' for more details.
" >&2;}
2535 { (exit 1); exit 1; }; }
2539 { echo "$as_me:$LINENO: result
: yes" >&5
2540 echo "${ECHO_T}yes" >&6; }
2542 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2543 ac_clean_files=$ac_clean_files_save
2544 # Check that the compiler produces executables we can run. If not, either
2545 # the compiler is broken, or we cross compile.
2546 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2547 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2548 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2549 echo "${ECHO_T}$cross_compiling" >&6; }
2551 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2552 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2553 if { (ac_try="$ac_link"
2555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2556 *) ac_try_echo=$ac_try;;
2558 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2559 (eval "$ac_link") 2>&5
2561 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2562 (exit $ac_status); }; then
2563 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2564 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2565 # work properly (i.e., refer to `conftest.exe'), while it won't with
2567 for ac_file in conftest.exe conftest conftest.*; do
2568 test -f "$ac_file" || continue
2570 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2571 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2577 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2578 See \
`config.log' for more details." >&5
2579 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2580 See \`config.log
' for more details." >&2;}
2581 { (exit 1); exit 1; }; }
2584 rm -f conftest$ac_cv_exeext
2585 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2586 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2588 rm -f conftest.$ac_ext
2589 EXEEXT=$ac_cv_exeext
2591 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2592 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2593 if test "${ac_cv_objext+set}" = set; then
2594 echo $ECHO_N "(cached) $ECHO_C" >&6
2596 cat >conftest.$ac_ext <<_ACEOF
2599 cat confdefs.h >>conftest.$ac_ext
2600 cat >>conftest.$ac_ext <<_ACEOF
2601 /* end confdefs.h. */
2611 rm -f conftest.o conftest.obj
2612 if { (ac_try="$ac_compile"
2614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2615 *) ac_try_echo=$ac_try;;
2617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2618 (eval "$ac_compile") 2>&5
2620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2621 (exit $ac_status); }; then
2622 for ac_file in conftest.o conftest.obj conftest.*; do
2623 test -f "$ac_file" || continue;
2625 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2626 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2631 echo "$as_me: failed program was:" >&5
2632 sed 's
/^
/|
/' conftest.$ac_ext >&5
2634 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2635 See \`config.log' for more details.
" >&5
2636 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2637 See \
`config.log' for more details." >&2;}
2638 { (exit 1); exit 1; }; }
2641 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2643 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2644 echo "${ECHO_T}$ac_cv_objext" >&6; }
2645 OBJEXT=$ac_cv_objext
2647 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2648 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2649 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2650 echo $ECHO_N "(cached) $ECHO_C" >&6
2652 cat >conftest.$ac_ext <<_ACEOF
2655 cat confdefs.h >>conftest.$ac_ext
2656 cat >>conftest.$ac_ext <<_ACEOF
2657 /* end confdefs.h. */
2670 rm -f conftest.$ac_objext
2671 if { (ac_try="$ac_compile"
2673 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2674 *) ac_try_echo
=$ac_try;;
2676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2677 (eval "$ac_compile") 2>conftest.er1
2679 grep -v '^ *+' conftest.er1
>conftest.err
2681 cat conftest.err
>&5
2682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2683 (exit $ac_status); } && {
2684 test -z "$ac_c_werror_flag" ||
2685 test ! -s conftest.err
2686 } && test -s conftest.
$ac_objext; then
2689 echo "$as_me: failed program was:" >&5
2690 sed 's/^/| /' conftest.
$ac_ext >&5
2695 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2696 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2699 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2700 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2701 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2702 ac_test_CFLAGS
=${CFLAGS+set}
2703 ac_save_CFLAGS
=$CFLAGS
2704 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2705 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2706 if test "${ac_cv_prog_cc_g+set}" = set; then
2707 echo $ECHO_N "(cached) $ECHO_C" >&6
2709 ac_save_c_werror_flag
=$ac_c_werror_flag
2710 ac_c_werror_flag
=yes
2713 cat >conftest.
$ac_ext <<_ACEOF
2716 cat confdefs.h
>>conftest.
$ac_ext
2717 cat >>conftest.
$ac_ext <<_ACEOF
2718 /* end confdefs.h. */
2728 rm -f conftest.
$ac_objext
2729 if { (ac_try
="$ac_compile"
2731 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2732 *) ac_try_echo=$ac_try;;
2734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2735 (eval "$ac_compile") 2>conftest.er1
2737 grep -v '^ *+' conftest.er1 >conftest.err
2739 cat conftest.err >&5
2740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2741 (exit $ac_status); } && {
2742 test -z "$ac_c_werror_flag" ||
2743 test ! -s conftest.err
2744 } && test -s conftest.$ac_objext; then
2747 echo "$as_me: failed program was:" >&5
2748 sed 's/^/| /' conftest.$ac_ext >&5
2751 cat >conftest.$ac_ext <<_ACEOF
2754 cat confdefs.h >>conftest.$ac_ext
2755 cat >>conftest.$ac_ext <<_ACEOF
2756 /* end confdefs.h. */
2766 rm -f conftest.$ac_objext
2767 if { (ac_try="$ac_compile"
2769 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2770 *) ac_try_echo
=$ac_try;;
2772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2773 (eval "$ac_compile") 2>conftest.er1
2775 grep -v '^ *+' conftest.er1
>conftest.err
2777 cat conftest.err
>&5
2778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779 (exit $ac_status); } && {
2780 test -z "$ac_c_werror_flag" ||
2781 test ! -s conftest.err
2782 } && test -s conftest.
$ac_objext; then
2785 echo "$as_me: failed program was:" >&5
2786 sed 's/^/| /' conftest.
$ac_ext >&5
2788 ac_c_werror_flag
=$ac_save_c_werror_flag
2790 cat >conftest.
$ac_ext <<_ACEOF
2793 cat confdefs.h
>>conftest.
$ac_ext
2794 cat >>conftest.
$ac_ext <<_ACEOF
2795 /* end confdefs.h. */
2805 rm -f conftest.
$ac_objext
2806 if { (ac_try
="$ac_compile"
2808 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2809 *) ac_try_echo=$ac_try;;
2811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2812 (eval "$ac_compile") 2>conftest.er1
2814 grep -v '^ *+' conftest.er1 >conftest.err
2816 cat conftest.err >&5
2817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2818 (exit $ac_status); } && {
2819 test -z "$ac_c_werror_flag" ||
2820 test ! -s conftest.err
2821 } && test -s conftest.$ac_objext; then
2824 echo "$as_me: failed program was:" >&5
2825 sed 's/^/| /' conftest.$ac_ext >&5
2830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2837 ac_c_werror_flag=$ac_save_c_werror_flag
2839 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2840 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2841 if test "$ac_test_CFLAGS" = set; then
2842 CFLAGS=$ac_save_CFLAGS
2843 elif test $ac_cv_prog_cc_g = yes; then
2844 if test "$GCC" = yes; then
2850 if test "$GCC" = yes; then
2856 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2857 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2858 if test "${ac_cv_prog_cc_c89+set}" = set; then
2859 echo $ECHO_N "(cached) $ECHO_C" >&6
2861 ac_cv_prog_cc_c89=no
2863 cat >conftest.$ac_ext <<_ACEOF
2866 cat confdefs.h >>conftest.$ac_ext
2867 cat >>conftest.$ac_ext <<_ACEOF
2868 /* end confdefs.h. */
2871 #include <sys/types.h>
2872 #include <sys/stat.h>
2873 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2874 struct buf { int x; };
2875 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2876 static char *e (p, i)
2882 static char *f (char * (*g) (char **, int), char **p, ...)
2887 s = g (p, va_arg (v,int));
2892 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2893 function prototypes and stuff, but not '\xHH' hex character constants.
2894 These don't provoke an error unfortunately, instead are silently treated
2895 as 'x'. The following induces an error, until -std is added to get
2896 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2897 array size at least. It's necessary to write '\x00'==0 to get something
2898 that's true only with -std. */
2899 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2901 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2902 inside strings and character constants. */
2904 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2906 int test (int i, double x);
2907 struct s1 {int (*f) (int a);};
2908 struct s2 {int (*f) (double a);};
2909 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2915 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2920 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2921 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2923 CC="$ac_save_CC $ac_arg"
2924 rm -f conftest.$ac_objext
2925 if { (ac_try="$ac_compile"
2927 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2928 *) ac_try_echo
=$ac_try;;
2930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2931 (eval "$ac_compile") 2>conftest.er1
2933 grep -v '^ *+' conftest.er1
>conftest.err
2935 cat conftest.err
>&5
2936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2937 (exit $ac_status); } && {
2938 test -z "$ac_c_werror_flag" ||
2939 test ! -s conftest.err
2940 } && test -s conftest.
$ac_objext; then
2941 ac_cv_prog_cc_c89
=$ac_arg
2943 echo "$as_me: failed program was:" >&5
2944 sed 's/^/| /' conftest.
$ac_ext >&5
2949 rm -f core conftest.err conftest.
$ac_objext
2950 test "x$ac_cv_prog_cc_c89" != "xno" && break
2952 rm -f conftest.
$ac_ext
2957 case "x$ac_cv_prog_cc_c89" in
2959 { echo "$as_me:$LINENO: result: none needed" >&5
2960 echo "${ECHO_T}none needed" >&6; } ;;
2962 { echo "$as_me:$LINENO: result: unsupported" >&5
2963 echo "${ECHO_T}unsupported" >&6; } ;;
2965 CC
="$CC $ac_cv_prog_cc_c89"
2966 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2967 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2972 ac_cpp
='$CPP $CPPFLAGS'
2973 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2974 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2975 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2977 case $ac_cv_prog_cc_stdc in
2978 no
) ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;;
2979 *) { echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
2980 echo $ECHO_N "checking for $CC option to accept ISO C99... $ECHO_C" >&6; }
2981 if test "${ac_cv_prog_cc_c99+set}" = set; then
2982 echo $ECHO_N "(cached) $ECHO_C" >&6
2984 ac_cv_prog_cc_c99
=no
2986 cat >conftest.
$ac_ext <<_ACEOF
2989 cat confdefs.h
>>conftest.
$ac_ext
2990 cat >>conftest.
$ac_ext <<_ACEOF
2991 /* end confdefs.h. */
2993 #include <stdbool.h>
2998 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2999 #define debug(...) fprintf (stderr, __VA_ARGS__)
3000 #define showlist(...) puts (#__VA_ARGS__)
3001 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3003 test_varargs_macros (void)
3008 debug ("X = %d\n", x);
3009 showlist (The first, second, and third items.);
3010 report (x>y, "x is %d but y is %d", x, y);
3013 // Check long long types.
3014 #define BIG64 18446744073709551615ull
3015 #define BIG32 4294967295ul
3016 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3018 your preprocessor is broken;
3022 your preprocessor is broken;
3024 static long long int bignum = -9223372036854775807LL;
3025 static unsigned long long int ubignum = BIG64;
3027 struct incomplete_array
3035 const wchar_t *name;
3039 typedef const char *ccp;
3042 test_restrict (ccp restrict text)
3044 // See if C++-style comments work.
3045 // Iterate through items via the restricted pointer.
3046 // Also check for declarations in for loops.
3047 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3052 // Check varargs and va_copy.
3054 test_varargs (const char *format, ...)
3057 va_start (args, format);
3059 va_copy (args_copy, args);
3070 str = va_arg (args_copy, const char *);
3073 number = va_arg (args_copy, int);
3076 fnumber = va_arg (args_copy, double);
3091 _Bool success = false;
3094 if (test_restrict ("String literal") == 0)
3096 char *restrict newvar = "Another string";
3099 test_varargs ("s, d' f .", "string", 65, 34.234);
3100 test_varargs_macros ();
3102 // Check flexible array members.
3103 struct incomplete_array *ia =
3104 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3106 for (int i = 0; i < ia->datasize; ++i)
3107 ia->data[i] = i * 1.234;
3109 // Check named initializers.
3110 struct named_init ni = {
3112 .name = L"Test wide string",
3113 .average = 543.34343,
3118 int dynamic_array[ni.number];
3119 dynamic_array[ni.number - 1] = 543;
3121 // work around unused variable warnings
3122 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3123 || dynamic_array[ni.number - 1] != 543);
3129 for ac_arg
in '' -std=gnu99
-c99 -qlanglvl=extc99
3131 CC
="$ac_save_CC $ac_arg"
3132 rm -f conftest.
$ac_objext
3133 if { (ac_try
="$ac_compile"
3135 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3136 *) ac_try_echo=$ac_try;;
3138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3139 (eval "$ac_compile") 2>conftest.er1
3141 grep -v '^ *+' conftest.er1 >conftest.err
3143 cat conftest.err >&5
3144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145 (exit $ac_status); } && {
3146 test -z "$ac_c_werror_flag" ||
3147 test ! -s conftest.err
3148 } && test -s conftest.$ac_objext; then
3149 ac_cv_prog_cc_c99=$ac_arg
3151 echo "$as_me: failed program was:" >&5
3152 sed 's/^/| /' conftest.$ac_ext >&5
3157 rm -f core conftest.err conftest.$ac_objext
3158 test "x$ac_cv_prog_cc_c99" != "xno" && break
3160 rm -f conftest.$ac_ext
3165 case "x$ac_cv_prog_cc_c99" in
3167 { echo "$as_me:$LINENO: result: none needed" >&5
3168 echo "${ECHO_T}none needed" >&6; } ;;
3170 { echo "$as_me:$LINENO: result: unsupported" >&5
3171 echo "${ECHO_T}unsupported" >&6; } ;;
3173 CC="$CC $ac_cv_prog_cc_c99"
3174 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
3175 echo "${ECHO_T}$ac_cv_prog_cc_c99" >&6; } ;;
3177 if test "x$ac_cv_prog_cc_c99" != xno; then
3178 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3180 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3181 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3182 if test "${ac_cv_prog_cc_c89+set}" = set; then
3183 echo $ECHO_N "(cached) $ECHO_C" >&6
3185 ac_cv_prog_cc_c89=no
3187 cat >conftest.$ac_ext <<_ACEOF
3190 cat confdefs.h >>conftest.$ac_ext
3191 cat >>conftest.$ac_ext <<_ACEOF
3192 /* end confdefs.h. */
3195 #include <sys/types.h>
3196 #include <sys/stat.h>
3197 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3198 struct buf { int x; };
3199 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3200 static char *e (p, i)
3206 static char *f (char * (*g) (char **, int), char **p, ...)
3211 s = g (p, va_arg (v,int));
3216 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3217 function prototypes and stuff, but not '\xHH' hex character constants.
3218 These don't provoke an error unfortunately, instead are silently treated
3219 as 'x'. The following induces an error, until -std is added to get
3220 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3221 array size at least. It's necessary to write '\x00'==0 to get something
3222 that's true only with -std. */
3223 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3225 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3226 inside strings and character constants. */
3228 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3230 int test (int i, double x);
3231 struct s1 {int (*f) (int a);};
3232 struct s2 {int (*f) (double a);};
3233 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3239 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3244 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3245 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3247 CC="$ac_save_CC $ac_arg"
3248 rm -f conftest.$ac_objext
3249 if { (ac_try="$ac_compile"
3251 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3252 *) ac_try_echo
=$ac_try;;
3254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3255 (eval "$ac_compile") 2>conftest.er1
3257 grep -v '^ *+' conftest.er1
>conftest.err
3259 cat conftest.err
>&5
3260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3261 (exit $ac_status); } && {
3262 test -z "$ac_c_werror_flag" ||
3263 test ! -s conftest.err
3264 } && test -s conftest.
$ac_objext; then
3265 ac_cv_prog_cc_c89
=$ac_arg
3267 echo "$as_me: failed program was:" >&5
3268 sed 's/^/| /' conftest.
$ac_ext >&5
3273 rm -f core conftest.err conftest.
$ac_objext
3274 test "x$ac_cv_prog_cc_c89" != "xno" && break
3276 rm -f conftest.
$ac_ext
3281 case "x$ac_cv_prog_cc_c89" in
3283 { echo "$as_me:$LINENO: result: none needed" >&5
3284 echo "${ECHO_T}none needed" >&6; } ;;
3286 { echo "$as_me:$LINENO: result: unsupported" >&5
3287 echo "${ECHO_T}unsupported" >&6; } ;;
3289 CC
="$CC $ac_cv_prog_cc_c89"
3290 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3291 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3293 if test "x$ac_cv_prog_cc_c89" != xno
; then
3294 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
3296 ac_cv_prog_cc_stdc
=no
3304 { echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5
3305 echo $ECHO_N "checking for $CC option to accept ISO Standard C... $ECHO_C" >&6; }
3306 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3307 echo $ECHO_N "(cached) $ECHO_C" >&6
3310 case $ac_cv_prog_cc_stdc in
3311 no
) { echo "$as_me:$LINENO: result: unsupported" >&5
3312 echo "${ECHO_T}unsupported" >&6; } ;;
3313 '') { echo "$as_me:$LINENO: result: none needed" >&5
3314 echo "${ECHO_T}none needed" >&6; } ;;
3315 *) { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3316 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; } ;;
3321 ac_cpp
='$CPP $CPPFLAGS'
3322 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3323 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3324 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3325 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3326 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3327 # On Suns, sometimes $CPP names a directory.
3328 if test -n "$CPP" && test -d "$CPP"; then
3331 if test -z "$CPP"; then
3332 if test "${ac_cv_prog_CPP+set}" = set; then
3333 echo $ECHO_N "(cached) $ECHO_C" >&6
3335 # Double quotes because CPP needs to be expanded
3336 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3339 for ac_c_preproc_warn_flag
in '' yes
3341 # Use a header file that comes with gcc, so configuring glibc
3342 # with a fresh cross-compiler works.
3343 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3344 # <limits.h> exists even on freestanding compilers.
3345 # On the NeXT, cc -E runs the code through the compiler's parser,
3346 # not just through cpp. "Syntax error" is here to catch this case.
3347 cat >conftest.
$ac_ext <<_ACEOF
3350 cat confdefs.h
>>conftest.
$ac_ext
3351 cat >>conftest.
$ac_ext <<_ACEOF
3352 /* end confdefs.h. */
3354 # include <limits.h>
3356 # include <assert.h>
3360 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3362 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3363 *) ac_try_echo=$ac_try;;
3365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3366 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3368 grep -v '^ *+' conftest.er1 >conftest.err
3370 cat conftest.err >&5
3371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3372 (exit $ac_status); } >/dev/null && {
3373 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3374 test ! -s conftest.err
3378 echo "$as_me: failed program was:" >&5
3379 sed 's/^/| /' conftest.$ac_ext >&5
3381 # Broken: fails on valid input.
3385 rm -f conftest.err conftest.$ac_ext
3387 # OK, works on sane cases. Now check whether nonexistent headers
3388 # can be detected and how.
3389 cat >conftest.$ac_ext <<_ACEOF
3392 cat confdefs.h >>conftest.$ac_ext
3393 cat >>conftest.$ac_ext <<_ACEOF
3394 /* end confdefs.h. */
3395 #include <ac_nonexistent.h>
3397 if { (ac_try="$ac_cpp conftest.$ac_ext"
3399 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3400 *) ac_try_echo
=$ac_try;;
3402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3403 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3405 grep -v '^ *+' conftest.er1
>conftest.err
3407 cat conftest.err
>&5
3408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3409 (exit $ac_status); } >/dev
/null
&& {
3410 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3411 test ! -s conftest.err
3413 # Broken: success on invalid input.
3416 echo "$as_me: failed program was:" >&5
3417 sed 's/^/| /' conftest.
$ac_ext >&5
3419 # Passes both tests.
3424 rm -f conftest.err conftest.
$ac_ext
3427 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3428 rm -f conftest.err conftest.
$ac_ext
3429 if $ac_preproc_ok; then
3441 { echo "$as_me:$LINENO: result: $CPP" >&5
3442 echo "${ECHO_T}$CPP" >&6; }
3444 for ac_c_preproc_warn_flag
in '' yes
3446 # Use a header file that comes with gcc, so configuring glibc
3447 # with a fresh cross-compiler works.
3448 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3449 # <limits.h> exists even on freestanding compilers.
3450 # On the NeXT, cc -E runs the code through the compiler's parser,
3451 # not just through cpp. "Syntax error" is here to catch this case.
3452 cat >conftest.
$ac_ext <<_ACEOF
3455 cat confdefs.h
>>conftest.
$ac_ext
3456 cat >>conftest.
$ac_ext <<_ACEOF
3457 /* end confdefs.h. */
3459 # include <limits.h>
3461 # include <assert.h>
3465 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3467 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3468 *) ac_try_echo=$ac_try;;
3470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3471 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3473 grep -v '^ *+' conftest.er1 >conftest.err
3475 cat conftest.err >&5
3476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3477 (exit $ac_status); } >/dev/null && {
3478 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3479 test ! -s conftest.err
3483 echo "$as_me: failed program was:" >&5
3484 sed 's/^/| /' conftest.$ac_ext >&5
3486 # Broken: fails on valid input.
3490 rm -f conftest.err conftest.$ac_ext
3492 # OK, works on sane cases. Now check whether nonexistent headers
3493 # can be detected and how.
3494 cat >conftest.$ac_ext <<_ACEOF
3497 cat confdefs.h >>conftest.$ac_ext
3498 cat >>conftest.$ac_ext <<_ACEOF
3499 /* end confdefs.h. */
3500 #include <ac_nonexistent.h>
3502 if { (ac_try="$ac_cpp conftest.$ac_ext"
3504 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3505 *) ac_try_echo
=$ac_try;;
3507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3508 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3510 grep -v '^ *+' conftest.er1
>conftest.err
3512 cat conftest.err
>&5
3513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3514 (exit $ac_status); } >/dev
/null
&& {
3515 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3516 test ! -s conftest.err
3518 # Broken: success on invalid input.
3521 echo "$as_me: failed program was:" >&5
3522 sed 's/^/| /' conftest.
$ac_ext >&5
3524 # Passes both tests.
3529 rm -f conftest.err conftest.
$ac_ext
3532 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3533 rm -f conftest.err conftest.
$ac_ext
3534 if $ac_preproc_ok; then
3537 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3538 See \`config.log' for more details." >&5
3539 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3540 See \`config.log' for more details." >&2;}
3541 { (exit 1); exit 1; }; }
3545 ac_cpp
='$CPP $CPPFLAGS'
3546 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3547 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3548 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3551 # Check for a compatible awk
3552 for ac_prog
in gawk nawk
3554 # Extract the first word of "$ac_prog", so it can be a program name with args.
3555 set dummy
$ac_prog; ac_word
=$2
3556 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3558 if test "${ac_cv_prog_AWK+set}" = set; then
3559 echo $ECHO_N "(cached) $ECHO_C" >&6
3561 if test -n "$AWK"; then
3562 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3568 test -z "$as_dir" && as_dir
=.
3569 for ac_exec_ext
in '' $ac_executable_extensions; do
3570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3571 ac_cv_prog_AWK
="$ac_prog"
3572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3582 if test -n "$AWK"; then
3583 { echo "$as_me:$LINENO: result: $AWK" >&5
3584 echo "${ECHO_T}$AWK" >&6; }
3586 { echo "$as_me:$LINENO: result: no" >&5
3587 echo "${ECHO_T}no" >&6; }
3591 test -n "$AWK" && break
3594 if test "$AWK" = ""; then
3595 { { echo "$as_me:$LINENO: error: gawk is required to build AROS. Please install and run configure again." >&5
3596 echo "$as_me: error: gawk is required to build AROS. Please install and run configure again." >&2;}
3597 { (exit 1); exit 1; }; }
3599 # Extract the first word of "mmake", so it can be a program name with args.
3600 set dummy mmake
; ac_word
=$2
3601 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3603 if test "${ac_cv_prog_MMAKE+set}" = set; then
3604 echo $ECHO_N "(cached) $ECHO_C" >&6
3606 if test -n "$MMAKE"; then
3607 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
3609 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3613 test -z "$as_dir" && as_dir
=.
3614 for ac_exec_ext
in '' $ac_executable_extensions; do
3615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3616 ac_cv_prog_MMAKE
="mmake "
3617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3626 MMAKE
=$ac_cv_prog_MMAKE
3627 if test -n "$MMAKE"; then
3628 { echo "$as_me:$LINENO: result: $MMAKE" >&5
3629 echo "${ECHO_T}$MMAKE" >&6; }
3631 { echo "$as_me:$LINENO: result: no" >&5
3632 echo "${ECHO_T}no" >&6; }
3637 # Perform some default variable assignments. Note all of these will be
3638 # Regenerated from the script, so there is no need to cache them.
3641 if test "$GCC" = "yes"; then
3642 aros_gcc_ld
=`$CC -print-prog-name=ld`
3643 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
3644 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
3645 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3647 if test "${ac_cv_path_aros_host_ld+set}" = set; then
3648 echo $ECHO_N "(cached) $ECHO_C" >&6
3650 case $aros_host_ld in
3652 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3656 for as_dir
in `dirname $aros_gcc_ld`
3659 test -z "$as_dir" && as_dir
=.
3660 for ac_exec_ext
in '' $ac_executable_extensions; do
3661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3662 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3673 aros_host_ld
=$ac_cv_path_aros_host_ld
3674 if test -n "$aros_host_ld"; then
3675 { echo "$as_me:$LINENO: result: $aros_host_ld" >&5
3676 echo "${ECHO_T}$aros_host_ld" >&6; }
3678 { echo "$as_me:$LINENO: result: no" >&5
3679 echo "${ECHO_T}no" >&6; }
3684 if test "$aros_host_ld" = ""; then
3685 # Extract the first word of "ld", so it can be a program name with args.
3686 set dummy ld
; ac_word
=$2
3687 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3689 if test "${ac_cv_path_aros_host_ld+set}" = set; then
3690 echo $ECHO_N "(cached) $ECHO_C" >&6
3692 case $aros_host_ld in
3694 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3701 test -z "$as_dir" && as_dir
=.
3702 for ac_exec_ext
in '' $ac_executable_extensions; do
3703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3704 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3715 aros_host_ld
=$ac_cv_path_aros_host_ld
3716 if test -n "$aros_host_ld"; then
3717 { echo "$as_me:$LINENO: result: $aros_host_ld" >&5
3718 echo "${ECHO_T}$aros_host_ld" >&6; }
3720 { echo "$as_me:$LINENO: result: no" >&5
3721 echo "${ECHO_T}no" >&6; }
3726 if test "$aros_host_ld" = ""; then
3727 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
3728 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
3729 { (exit 1); exit 1; }; }
3731 aros_host_make
="make"
3732 aros_host_cflags
=$CFLAGS
3733 aros_host_ldflags
=$LDFLAGS
3734 aros_host_debug
="-g -O0"
3735 aros_host_mkdep
="\$(TOP)/scripts/mkdep"
3736 aros_host_mkargs
="--no-print-directory"
3737 aros_host_incl
="/usr/include"
3738 aros_host_exe_suffix
="$EXEEXT"
3739 aros_host_lib_suffix
=""
3741 for ac_prog
in aclocal aclocal19
3743 # Extract the first word of "$ac_prog", so it can be a program name with args.
3744 set dummy
$ac_prog; ac_word
=$2
3745 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3746 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3747 if test "${ac_cv_prog_aros_host_aclocal+set}" = set; then
3748 echo $ECHO_N "(cached) $ECHO_C" >&6
3750 if test -n "$aros_host_aclocal"; then
3751 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
3753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3757 test -z "$as_dir" && as_dir
=.
3758 for ac_exec_ext
in '' $ac_executable_extensions; do
3759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3760 ac_cv_prog_aros_host_aclocal
="$ac_prog"
3761 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3770 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
3771 if test -n "$aros_host_aclocal"; then
3772 { echo "$as_me:$LINENO: result: $aros_host_aclocal" >&5
3773 echo "${ECHO_T}$aros_host_aclocal" >&6; }
3775 { echo "$as_me:$LINENO: result: no" >&5
3776 echo "${ECHO_T}no" >&6; }
3780 test -n "$aros_host_aclocal" && break
3783 for ac_prog
in autoconf autoconf259 autoconf253
3785 # Extract the first word of "$ac_prog", so it can be a program name with args.
3786 set dummy
$ac_prog; ac_word
=$2
3787 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3789 if test "${ac_cv_prog_aros_host_autoconf+set}" = set; then
3790 echo $ECHO_N "(cached) $ECHO_C" >&6
3792 if test -n "$aros_host_autoconf"; then
3793 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
3795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3799 test -z "$as_dir" && as_dir
=.
3800 for ac_exec_ext
in '' $ac_executable_extensions; do
3801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3802 ac_cv_prog_aros_host_autoconf
="$ac_prog"
3803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3812 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
3813 if test -n "$aros_host_autoconf"; then
3814 { echo "$as_me:$LINENO: result: $aros_host_autoconf" >&5
3815 echo "${ECHO_T}$aros_host_autoconf" >&6; }
3817 { echo "$as_me:$LINENO: result: no" >&5
3818 echo "${ECHO_T}no" >&6; }
3822 test -n "$aros_host_autoconf" && break
3825 for ac_prog
in autoheader autoheader259 autoheader253
3827 # Extract the first word of "$ac_prog", so it can be a program name with args.
3828 set dummy
$ac_prog; ac_word
=$2
3829 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3831 if test "${ac_cv_prog_aros_host_autoheader+set}" = set; then
3832 echo $ECHO_N "(cached) $ECHO_C" >&6
3834 if test -n "$aros_host_autoheader"; then
3835 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
3837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3841 test -z "$as_dir" && as_dir
=.
3842 for ac_exec_ext
in '' $ac_executable_extensions; do
3843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3844 ac_cv_prog_aros_host_autoheader
="$ac_prog"
3845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3854 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
3855 if test -n "$aros_host_autoheader"; then
3856 { echo "$as_me:$LINENO: result: $aros_host_autoheader" >&5
3857 echo "${ECHO_T}$aros_host_autoheader" >&6; }
3859 { echo "$as_me:$LINENO: result: no" >&5
3860 echo "${ECHO_T}no" >&6; }
3864 test -n "$aros_host_autoheader" && break
3867 for ac_prog
in automake automake19
3869 # Extract the first word of "$ac_prog", so it can be a program name with args.
3870 set dummy
$ac_prog; ac_word
=$2
3871 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3873 if test "${ac_cv_prog_aros_host_automake+set}" = set; then
3874 echo $ECHO_N "(cached) $ECHO_C" >&6
3876 if test -n "$aros_host_automake"; then
3877 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
3879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3883 test -z "$as_dir" && as_dir
=.
3884 for ac_exec_ext
in '' $ac_executable_extensions; do
3885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3886 ac_cv_prog_aros_host_automake
="$ac_prog"
3887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3896 aros_host_automake
=$ac_cv_prog_aros_host_automake
3897 if test -n "$aros_host_automake"; then
3898 { echo "$as_me:$LINENO: result: $aros_host_automake" >&5
3899 echo "${ECHO_T}$aros_host_automake" >&6; }
3901 { echo "$as_me:$LINENO: result: no" >&5
3902 echo "${ECHO_T}no" >&6; }
3906 test -n "$aros_host_automake" && break
3910 case "$aros_host_cc" in
3912 aros_host_cc_pipe
="-pipe"
3915 aros_host_cc_pipe
=""
3918 aros_host_cc_pipe
=""
3922 aros_target_cc_includes
=""
3924 # This is the main host configuration section. It is where the host
3925 # can change the values of any variables it needs to change. We do
3926 # not look at anything that compiles to the target yet, we'll get
3931 aros_host_arch
="linux"
3932 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3935 aros_host_cpu
="i386"
3938 aros_host_cpu
="x86_64"
3941 aros_host_cpu
="m68k"
3947 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
3948 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
3949 aros_host_cpu
="$host_cpu"
3955 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
3956 aros_host_make
="gmake"
3957 aros_host_arch
="freebsd"
3958 aros_host_cpu
="i386"
3960 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
3965 aros_object_format
="elf_i386"
3969 aros_object_format
="elf_i386_fbsd"
3976 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3977 aros_host_arch
="darwin"
3980 aros_host_cpu
="i386"
3986 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
3987 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
3988 aros_host_cpu
="$host_cpu"
3992 aros_host_ldflags
="$aros_host_ldflags -liconv"
3997 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3998 aros_host_make
="gmake"
3999 aros_host_arch
="netbsd"
4002 aros_host_cpu
="i386"
4005 aros_host_cpu
="m68k"
4008 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4009 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4010 aros_host_cpu
="$host_cpu"
4013 aros_host_lib_suffix
=".0.0"
4017 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4018 aros_host_make
="gmake"
4019 aros_host_arch
="openbsd"
4022 aros_host_cpu
="i386"
4025 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4026 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4027 aros_host_cpu
="$host_cpu"
4033 aros_host_arch
="solaris"
4034 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4037 aros_host_cpu
="i386"
4040 aros_host_cpu
="sparc"
4043 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4044 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4045 aros_host_cpu
="$host_cpu"
4051 aros_host_arch
="morphos"
4056 aros_host_arch
="amiga"
4061 TOUCH
="/gg/bin/touch"
4064 aros_host_cpu
="m68k"
4070 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4071 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4072 aros_host_cpu
="$host_cpu"
4078 aros_host_arch
="cygwin"
4079 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4082 aros_host_cpu
="i386"
4085 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4086 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4087 aros_host_cpu
="$host_cpu"
4093 aros_host_arch
="mingw32"
4094 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4097 aros_host_cpu
="i386"
4100 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4101 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4102 aros_host_cpu
="$host_cpu"
4107 { { echo "$as_me:$LINENO: error: Unsupported host architecture $host" >&5
4108 echo "$as_me: error: Unsupported host architecture $host" >&2;}
4109 { (exit 1); exit 1; }; }
4113 # Extract the first word of "ar", so it can be a program name with args.
4114 set dummy
ar; ac_word
=$2
4115 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4117 if test "${ac_cv_prog_aros_host_ar+set}" = set; then
4118 echo $ECHO_N "(cached) $ECHO_C" >&6
4120 if test -n "$aros_host_ar"; then
4121 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4127 test -z "$as_dir" && as_dir
=.
4128 for ac_exec_ext
in '' $ac_executable_extensions; do
4129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4130 ac_cv_prog_aros_host_ar
="ar cr"
4131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4140 aros_host_ar
=$ac_cv_prog_aros_host_ar
4141 if test -n "$aros_host_ar"; then
4142 { echo "$as_me:$LINENO: result: $aros_host_ar" >&5
4143 echo "${ECHO_T}$aros_host_ar" >&6; }
4145 { echo "$as_me:$LINENO: result: no" >&5
4146 echo "${ECHO_T}no" >&6; }
4150 if test "$aros_host_ar" = ""; then
4151 { { echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
4152 echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
4153 { (exit 1); exit 1; }; }
4155 # Extract the first word of "ranlib", so it can be a program name with args.
4156 set dummy ranlib
; ac_word
=$2
4157 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4159 if test "${ac_cv_prog_aros_host_ranlib+set}" = set; then
4160 echo $ECHO_N "(cached) $ECHO_C" >&6
4162 if test -n "$aros_host_ranlib"; then
4163 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4169 test -z "$as_dir" && as_dir
=.
4170 for ac_exec_ext
in '' $ac_executable_extensions; do
4171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4172 ac_cv_prog_aros_host_ranlib
="ranlib "
4173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4182 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4183 if test -n "$aros_host_ranlib"; then
4184 { echo "$as_me:$LINENO: result: $aros_host_ranlib" >&5
4185 echo "${ECHO_T}$aros_host_ranlib" >&6; }
4187 { echo "$as_me:$LINENO: result: no" >&5
4188 echo "${ECHO_T}no" >&6; }
4192 if test "$aros_host_ranlib" = ""; then
4193 { { echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
4194 echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
4195 { (exit 1); exit 1; }; }
4197 # Extract the first word of "strip", so it can be a program name with args.
4198 set dummy strip
; ac_word
=$2
4199 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4201 if test "${ac_cv_prog_aros_host_strip+set}" = set; then
4202 echo $ECHO_N "(cached) $ECHO_C" >&6
4204 if test -n "$aros_host_strip"; then
4205 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4211 test -z "$as_dir" && as_dir
=.
4212 for ac_exec_ext
in '' $ac_executable_extensions; do
4213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4214 ac_cv_prog_aros_host_strip
="strip "
4215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4224 aros_host_strip
=$ac_cv_prog_aros_host_strip
4225 if test -n "$aros_host_strip"; then
4226 { echo "$as_me:$LINENO: result: $aros_host_strip" >&5
4227 echo "${ECHO_T}$aros_host_strip" >&6; }
4229 { echo "$as_me:$LINENO: result: no" >&5
4230 echo "${ECHO_T}no" >&6; }
4234 if test "$aros_host_strip" = ""; then
4235 { { echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
4236 echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
4237 { (exit 1); exit 1; }; }
4240 # Extract the first word of "rm", so it can be a program name with args.
4241 set dummy
rm; ac_word
=$2
4242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4244 if test "${ac_cv_prog_RM+set}" = set; then
4245 echo $ECHO_N "(cached) $ECHO_C" >&6
4247 if test -n "$RM"; then
4248 ac_cv_prog_RM
="$RM" # Let the user override the test.
4250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4254 test -z "$as_dir" && as_dir
=.
4255 for ac_exec_ext
in '' $ac_executable_extensions; do
4256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4257 ac_cv_prog_RM
="rm -rf"
4258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4268 if test -n "$RM"; then
4269 { echo "$as_me:$LINENO: result: $RM" >&5
4270 echo "${ECHO_T}$RM" >&6; }
4272 { echo "$as_me:$LINENO: result: no" >&5
4273 echo "${ECHO_T}no" >&6; }
4277 if test "$RM" = ""; then
4278 { { echo "$as_me:$LINENO: error: rm is required to build AROS. Please install and run configure again." >&5
4279 echo "$as_me: error: rm is required to build AROS. Please install and run configure again." >&2;}
4280 { (exit 1); exit 1; }; }
4282 # Extract the first word of "cp", so it can be a program name with args.
4283 set dummy
cp; ac_word
=$2
4284 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4286 if test "${ac_cv_prog_CP+set}" = set; then
4287 echo $ECHO_N "(cached) $ECHO_C" >&6
4289 if test -n "$CP"; then
4290 ac_cv_prog_CP
="$CP" # Let the user override the test.
4292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4296 test -z "$as_dir" && as_dir
=.
4297 for ac_exec_ext
in '' $ac_executable_extensions; do
4298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4310 if test -n "$CP"; then
4311 { echo "$as_me:$LINENO: result: $CP" >&5
4312 echo "${ECHO_T}$CP" >&6; }
4314 { echo "$as_me:$LINENO: result: no" >&5
4315 echo "${ECHO_T}no" >&6; }
4319 if test "$CP" = ""; then
4320 { { echo "$as_me:$LINENO: error: cp is required to build AROS. Please install and run configure again." >&5
4321 echo "$as_me: error: cp is required to build AROS. Please install and run configure again." >&2;}
4322 { (exit 1); exit 1; }; }
4324 # Extract the first word of "mv", so it can be a program name with args.
4325 set dummy
mv; ac_word
=$2
4326 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4328 if test "${ac_cv_prog_MV+set}" = set; then
4329 echo $ECHO_N "(cached) $ECHO_C" >&6
4331 if test -n "$MV"; then
4332 ac_cv_prog_MV
="$MV" # Let the user override the test.
4334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4338 test -z "$as_dir" && as_dir
=.
4339 for ac_exec_ext
in '' $ac_executable_extensions; do
4340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4352 if test -n "$MV"; then
4353 { echo "$as_me:$LINENO: result: $MV" >&5
4354 echo "${ECHO_T}$MV" >&6; }
4356 { echo "$as_me:$LINENO: result: no" >&5
4357 echo "${ECHO_T}no" >&6; }
4361 if test "$MV" = ""; then
4362 { { echo "$as_me:$LINENO: error: mv is required to build AROS. Please install and run configure again." >&5
4363 echo "$as_me: error: mv is required to build AROS. Please install and run configure again." >&2;}
4364 { (exit 1); exit 1; }; }
4366 # Extract the first word of "echo", so it can be a program name with args.
4367 set dummy
echo; ac_word
=$2
4368 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4370 if test "${ac_cv_prog_ECHO+set}" = set; then
4371 echo $ECHO_N "(cached) $ECHO_C" >&6
4373 if test -n "$ECHO"; then
4374 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
4376 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4380 test -z "$as_dir" && as_dir
=.
4381 for ac_exec_ext
in '' $ac_executable_extensions; do
4382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4383 ac_cv_prog_ECHO
="echo "
4384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4393 ECHO
=$ac_cv_prog_ECHO
4394 if test -n "$ECHO"; then
4395 { echo "$as_me:$LINENO: result: $ECHO" >&5
4396 echo "${ECHO_T}$ECHO" >&6; }
4398 { echo "$as_me:$LINENO: result: no" >&5
4399 echo "${ECHO_T}no" >&6; }
4403 if test "$ECHO" = ""; then
4404 { { echo "$as_me:$LINENO: error: echo is required to build AROS. Please install and run configure again." >&5
4405 echo "$as_me: error: echo is required to build AROS. Please install and run configure again." >&2;}
4406 { (exit 1); exit 1; }; }
4408 # Extract the first word of "mkdir", so it can be a program name with args.
4409 set dummy mkdir
; ac_word
=$2
4410 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4412 if test "${ac_cv_prog_MKDIR+set}" = set; then
4413 echo $ECHO_N "(cached) $ECHO_C" >&6
4415 if test -n "$MKDIR"; then
4416 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
4418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4422 test -z "$as_dir" && as_dir
=.
4423 for ac_exec_ext
in '' $ac_executable_extensions; do
4424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4425 ac_cv_prog_MKDIR
="mkdir -p"
4426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4435 MKDIR
=$ac_cv_prog_MKDIR
4436 if test -n "$MKDIR"; then
4437 { echo "$as_me:$LINENO: result: $MKDIR" >&5
4438 echo "${ECHO_T}$MKDIR" >&6; }
4440 { echo "$as_me:$LINENO: result: no" >&5
4441 echo "${ECHO_T}no" >&6; }
4445 if test "$MKDIR" = ""; then
4446 { { echo "$as_me:$LINENO: error: mkdir is required to build AROS. Please install and run configure again." >&5
4447 echo "$as_me: error: mkdir is required to build AROS. Please install and run configure again." >&2;}
4448 { (exit 1); exit 1; }; }
4450 # Extract the first word of "touch", so it can be a program name with args.
4451 set dummy
touch; ac_word
=$2
4452 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4454 if test "${ac_cv_prog_TOUCH+set}" = set; then
4455 echo $ECHO_N "(cached) $ECHO_C" >&6
4457 if test -n "$TOUCH"; then
4458 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
4460 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4464 test -z "$as_dir" && as_dir
=.
4465 for ac_exec_ext
in '' $ac_executable_extensions; do
4466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4467 ac_cv_prog_TOUCH
="touch "
4468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4477 TOUCH
=$ac_cv_prog_TOUCH
4478 if test -n "$TOUCH"; then
4479 { echo "$as_me:$LINENO: result: $TOUCH" >&5
4480 echo "${ECHO_T}$TOUCH" >&6; }
4482 { echo "$as_me:$LINENO: result: no" >&5
4483 echo "${ECHO_T}no" >&6; }
4487 if test "$TOUCH" = ""; then
4488 { { echo "$as_me:$LINENO: error: touch is required to build AROS. Please install and run configure again." >&5
4489 echo "$as_me: error: touch is required to build AROS. Please install and run configure again." >&2;}
4490 { (exit 1); exit 1; }; }
4492 # Extract the first word of "sort", so it can be a program name with args.
4493 set dummy
sort; ac_word
=$2
4494 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4496 if test "${ac_cv_prog_SORT+set}" = set; then
4497 echo $ECHO_N "(cached) $ECHO_C" >&6
4499 if test -n "$SORT"; then
4500 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
4502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4506 test -z "$as_dir" && as_dir
=.
4507 for ac_exec_ext
in '' $ac_executable_extensions; do
4508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4509 ac_cv_prog_SORT
="sort "
4510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4519 SORT
=$ac_cv_prog_SORT
4520 if test -n "$SORT"; then
4521 { echo "$as_me:$LINENO: result: $SORT" >&5
4522 echo "${ECHO_T}$SORT" >&6; }
4524 { echo "$as_me:$LINENO: result: no" >&5
4525 echo "${ECHO_T}no" >&6; }
4529 if test "$SORT" = ""; then
4530 { { echo "$as_me:$LINENO: error: sort is required to build AROS. Please install and run configure again." >&5
4531 echo "$as_me: error: sort is required to build AROS. Please install and run configure again." >&2;}
4532 { (exit 1); exit 1; }; }
4534 # Extract the first word of "uniq", so it can be a program name with args.
4535 set dummy
uniq; ac_word
=$2
4536 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4538 if test "${ac_cv_prog_UNIQ+set}" = set; then
4539 echo $ECHO_N "(cached) $ECHO_C" >&6
4541 if test -n "$UNIQ"; then
4542 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
4544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4548 test -z "$as_dir" && as_dir
=.
4549 for ac_exec_ext
in '' $ac_executable_extensions; do
4550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4551 ac_cv_prog_UNIQ
="uniq "
4552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4561 UNIQ
=$ac_cv_prog_UNIQ
4562 if test -n "$UNIQ"; then
4563 { echo "$as_me:$LINENO: result: $UNIQ" >&5
4564 echo "${ECHO_T}$UNIQ" >&6; }
4566 { echo "$as_me:$LINENO: result: no" >&5
4567 echo "${ECHO_T}no" >&6; }
4571 if test "$UNIQ" = ""; then
4572 { { echo "$as_me:$LINENO: error: uniq is required to build AROS. Please install and run configure again." >&5
4573 echo "$as_me: error: uniq is required to build AROS. Please install and run configure again." >&2;}
4574 { (exit 1); exit 1; }; }
4576 # Extract the first word of "true", so it can be a program name with args.
4577 set dummy true
; ac_word
=$2
4578 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4580 if test "${ac_cv_prog_NOP+set}" = set; then
4581 echo $ECHO_N "(cached) $ECHO_C" >&6
4583 if test -n "$NOP"; then
4584 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
4586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4590 test -z "$as_dir" && as_dir
=.
4591 for ac_exec_ext
in '' $ac_executable_extensions; do
4592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4593 ac_cv_prog_NOP
="true "
4594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4604 if test -n "$NOP"; then
4605 { echo "$as_me:$LINENO: result: $NOP" >&5
4606 echo "${ECHO_T}$NOP" >&6; }
4608 { echo "$as_me:$LINENO: result: no" >&5
4609 echo "${ECHO_T}no" >&6; }
4613 if test "$NOP" = ""; then
4614 { { echo "$as_me:$LINENO: error: true is required to build AROS. Please install and run configure again." >&5
4615 echo "$as_me: error: true is required to build AROS. Please install and run configure again." >&2;}
4616 { (exit 1); exit 1; }; }
4618 # Extract the first word of "cat", so it can be a program name with args.
4619 set dummy
cat; ac_word
=$2
4620 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4622 if test "${ac_cv_prog_CAT+set}" = set; then
4623 echo $ECHO_N "(cached) $ECHO_C" >&6
4625 if test -n "$CAT"; then
4626 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
4628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4632 test -z "$as_dir" && as_dir
=.
4633 for ac_exec_ext
in '' $ac_executable_extensions; do
4634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4635 ac_cv_prog_CAT
="cat "
4636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4646 if test -n "$CAT"; then
4647 { echo "$as_me:$LINENO: result: $CAT" >&5
4648 echo "${ECHO_T}$CAT" >&6; }
4650 { echo "$as_me:$LINENO: result: no" >&5
4651 echo "${ECHO_T}no" >&6; }
4655 if test "$CAT" = ""; then
4656 { { echo "$as_me:$LINENO: error: cat is required to build AROS. Please install and run configure again." >&5
4657 echo "$as_me: error: cat is required to build AROS. Please install and run configure again." >&2;}
4658 { (exit 1); exit 1; }; }
4660 # Extract the first word of "bison", so it can be a program name with args.
4661 set dummy bison
; ac_word
=$2
4662 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4664 if test "${ac_cv_prog_BISON+set}" = set; then
4665 echo $ECHO_N "(cached) $ECHO_C" >&6
4667 if test -n "$BISON"; then
4668 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4674 test -z "$as_dir" && as_dir
=.
4675 for ac_exec_ext
in '' $ac_executable_extensions; do
4676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4677 ac_cv_prog_BISON
="bison "
4678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4687 BISON
=$ac_cv_prog_BISON
4688 if test -n "$BISON"; then
4689 { echo "$as_me:$LINENO: result: $BISON" >&5
4690 echo "${ECHO_T}$BISON" >&6; }
4692 { echo "$as_me:$LINENO: result: no" >&5
4693 echo "${ECHO_T}no" >&6; }
4697 if test "$BISON" = ""; then
4698 { { echo "$as_me:$LINENO: error: bison is required to build AROS. Please install and run configure again." >&5
4699 echo "$as_me: error: bison is required to build AROS. Please install and run configure again." >&2;}
4700 { (exit 1); exit 1; }; }
4702 # Extract the first word of "flex", so it can be a program name with args.
4703 set dummy flex
; ac_word
=$2
4704 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4706 if test "${ac_cv_prog_FLEX+set}" = set; then
4707 echo $ECHO_N "(cached) $ECHO_C" >&6
4709 if test -n "$FLEX"; then
4710 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4716 test -z "$as_dir" && as_dir
=.
4717 for ac_exec_ext
in '' $ac_executable_extensions; do
4718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4719 ac_cv_prog_FLEX
="flex "
4720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4729 FLEX
=$ac_cv_prog_FLEX
4730 if test -n "$FLEX"; then
4731 { echo "$as_me:$LINENO: result: $FLEX" >&5
4732 echo "${ECHO_T}$FLEX" >&6; }
4734 { echo "$as_me:$LINENO: result: no" >&5
4735 echo "${ECHO_T}no" >&6; }
4739 if test "$FLEX" = ""; then
4740 { { echo "$as_me:$LINENO: error: flex is required to build AROS. Please install and run configure again." >&5
4741 echo "$as_me: error: flex is required to build AROS. Please install and run configure again." >&2;}
4742 { (exit 1); exit 1; }; }
4744 # Extract the first word of "pngtopnm", so it can be a program name with args.
4745 set dummy pngtopnm
; ac_word
=$2
4746 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4748 if test "${ac_cv_prog_PNGTOPNM+set}" = set; then
4749 echo $ECHO_N "(cached) $ECHO_C" >&6
4751 if test -n "$PNGTOPNM"; then
4752 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
4754 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4758 test -z "$as_dir" && as_dir
=.
4759 for ac_exec_ext
in '' $ac_executable_extensions; do
4760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4761 ac_cv_prog_PNGTOPNM
="pngtopnm "
4762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4771 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
4772 if test -n "$PNGTOPNM"; then
4773 { echo "$as_me:$LINENO: result: $PNGTOPNM" >&5
4774 echo "${ECHO_T}$PNGTOPNM" >&6; }
4776 { echo "$as_me:$LINENO: result: no" >&5
4777 echo "${ECHO_T}no" >&6; }
4781 if test "$PNGTOPNM" = ""; then
4782 { { echo "$as_me:$LINENO: error: pngtopnm is required to build AROS. Please install and run configure again." >&5
4783 echo "$as_me: error: pngtopnm is required to build AROS. Please install and run configure again." >&2;}
4784 { (exit 1); exit 1; }; }
4786 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
4787 set dummy ppmtoilbm
; ac_word
=$2
4788 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4790 if test "${ac_cv_prog_PPMTOILBM+set}" = set; then
4791 echo $ECHO_N "(cached) $ECHO_C" >&6
4793 if test -n "$PPMTOILBM"; then
4794 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
4796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4800 test -z "$as_dir" && as_dir
=.
4801 for ac_exec_ext
in '' $ac_executable_extensions; do
4802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4803 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
4804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4813 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
4814 if test -n "$PPMTOILBM"; then
4815 { echo "$as_me:$LINENO: result: $PPMTOILBM" >&5
4816 echo "${ECHO_T}$PPMTOILBM" >&6; }
4818 { echo "$as_me:$LINENO: result: no" >&5
4819 echo "${ECHO_T}no" >&6; }
4823 if test "$PPMTOILBM" = ""; then
4824 { { echo "$as_me:$LINENO: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&5
4825 echo "$as_me: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&2;}
4826 { (exit 1); exit 1; }; }
4828 # Extract the first word of "sed", so it can be a program name with args.
4829 set dummy
sed; ac_word
=$2
4830 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4832 if test "${ac_cv_prog_SED+set}" = set; then
4833 echo $ECHO_N "(cached) $ECHO_C" >&6
4835 if test -n "$SED"; then
4836 ac_cv_prog_SED
="$SED" # Let the user override the test.
4838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4842 test -z "$as_dir" && as_dir
=.
4843 for ac_exec_ext
in '' $ac_executable_extensions; do
4844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4845 ac_cv_prog_SED
="sed "
4846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4856 if test -n "$SED"; then
4857 { echo "$as_me:$LINENO: result: $SED" >&5
4858 echo "${ECHO_T}$SED" >&6; }
4860 { echo "$as_me:$LINENO: result: no" >&5
4861 echo "${ECHO_T}no" >&6; }
4865 if test "$SED" = ""; then
4866 { { echo "$as_me:$LINENO: error: sed is required to build AROS. Please install and run configure again." >&5
4867 echo "$as_me: error: sed is required to build AROS. Please install and run configure again." >&2;}
4868 { (exit 1); exit 1; }; }
4870 # Extract the first word of "chmod", so it can be a program name with args.
4871 set dummy
chmod; ac_word
=$2
4872 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4874 if test "${ac_cv_prog_CHMOD+set}" = set; then
4875 echo $ECHO_N "(cached) $ECHO_C" >&6
4877 if test -n "$CHMOD"; then
4878 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
4880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4884 test -z "$as_dir" && as_dir
=.
4885 for ac_exec_ext
in '' $ac_executable_extensions; do
4886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4887 ac_cv_prog_CHMOD
="chmod "
4888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4897 CHMOD
=$ac_cv_prog_CHMOD
4898 if test -n "$CHMOD"; then
4899 { echo "$as_me:$LINENO: result: $CHMOD" >&5
4900 echo "${ECHO_T}$CHMOD" >&6; }
4902 { echo "$as_me:$LINENO: result: no" >&5
4903 echo "${ECHO_T}no" >&6; }
4907 if test "$CHMOD" = ""; then
4908 { { echo "$as_me:$LINENO: error: chmod is required to build AROS. Please install and run configure again." >&5
4909 echo "$as_me: error: chmod is required to build AROS. Please install and run configure again." >&2;}
4910 { (exit 1); exit 1; }; }
4917 if test -n "$PYTHON"; then
4918 # If the user set $PYTHON, use it and don't search something else.
4919 { echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.2.1" >&5
4920 echo $ECHO_N "checking whether $PYTHON version >= 2.2.1... $ECHO_C" >&6; }
4921 prog
="import sys, string
4922 # split strings by '.' and convert to numeric. Append some zeros
4923 # because we need at least 4 digits for the hex conversion.
4924 minver = map(int, string.split('2.2.1', '.')) + [0, 0, 0]
4926 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
4927 sys.exit(sys.hexversion < minverhex)"
4928 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
4929 ($PYTHON -c "$prog") >&5 2>&5
4931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4932 (exit $ac_status); }; then
4933 { echo "$as_me:$LINENO: result: yes" >&5
4934 echo "${ECHO_T}yes" >&6; }
4936 { { echo "$as_me:$LINENO: error: too old" >&5
4937 echo "$as_me: error: too old" >&2;}
4938 { (exit 1); exit 1; }; }
4941 am_display_PYTHON
=$PYTHON
4943 # Otherwise, try each interpreter until we find one that satisfies
4945 { echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.2.1" >&5
4946 echo $ECHO_N "checking for a Python interpreter with version >= 2.2.1... $ECHO_C" >&6; }
4947 if test "${am_cv_pathless_PYTHON+set}" = set; then
4948 echo $ECHO_N "(cached) $ECHO_C" >&6
4951 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
4952 test "$am_cv_pathless_PYTHON" = none
&& break
4953 prog
="import sys, string
4954 # split strings by '.' and convert to numeric. Append some zeros
4955 # because we need at least 4 digits for the hex conversion.
4956 minver = map(int, string.split('2.2.1', '.')) + [0, 0, 0]
4958 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
4959 sys.exit(sys.hexversion < minverhex)"
4960 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
4961 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
4963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4964 (exit $ac_status); }; then
4970 { echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
4971 echo "${ECHO_T}$am_cv_pathless_PYTHON" >&6; }
4972 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
4973 if test "$am_cv_pathless_PYTHON" = none
; then
4976 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
4977 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
4978 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4980 if test "${ac_cv_path_PYTHON+set}" = set; then
4981 echo $ECHO_N "(cached) $ECHO_C" >&6
4985 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
4988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4992 test -z "$as_dir" && as_dir
=.
4993 for ac_exec_ext
in '' $ac_executable_extensions; do
4994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4995 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
4996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5006 PYTHON
=$ac_cv_path_PYTHON
5007 if test -n "$PYTHON"; then
5008 { echo "$as_me:$LINENO: result: $PYTHON" >&5
5009 echo "${ECHO_T}$PYTHON" >&6; }
5011 { echo "$as_me:$LINENO: result: no" >&5
5012 echo "${ECHO_T}no" >&6; }
5017 am_display_PYTHON
=$am_cv_pathless_PYTHON
5021 if test "$PYTHON" = :; then
5022 { { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
5023 echo "$as_me: error: no suitable Python interpreter found" >&2;}
5024 { (exit 1); exit 1; }; }
5028 { echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
5029 echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; }
5030 if test "${am_cv_python_version+set}" = set; then
5031 echo $ECHO_N "(cached) $ECHO_C" >&6
5033 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
5035 { echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
5036 echo "${ECHO_T}$am_cv_python_version" >&6; }
5037 PYTHON_VERSION
=$am_cv_python_version
5041 PYTHON_PREFIX
='${prefix}'
5043 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5047 { echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
5048 echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; }
5049 if test "${am_cv_python_platform+set}" = set; then
5050 echo $ECHO_N "(cached) $ECHO_C" >&6
5052 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
5054 { echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
5055 echo "${ECHO_T}$am_cv_python_platform" >&6; }
5056 PYTHON_PLATFORM
=$am_cv_python_platform
5061 { echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
5062 echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6; }
5063 if test "${am_cv_python_pythondir+set}" = set; then
5064 echo $ECHO_N "(cached) $ECHO_C" >&6
5066 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5067 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5069 { echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
5070 echo "${ECHO_T}$am_cv_python_pythondir" >&6; }
5071 pythondir
=$am_cv_python_pythondir
5075 pkgpythondir
=\
${pythondir}/$PACKAGE
5078 { echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
5079 echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6; }
5080 if test "${am_cv_python_pyexecdir+set}" = set; then
5081 echo $ECHO_N "(cached) $ECHO_C" >&6
5083 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5084 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5086 { echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
5087 echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; }
5088 pyexecdir
=$am_cv_python_pyexecdir
5092 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5110 # Check for some includes for the X11 HIDD and the kernel
5113 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5114 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5115 if test "${ac_cv_path_GREP+set}" = set; then
5116 echo $ECHO_N "(cached) $ECHO_C" >&6
5118 # Extract the first word of "grep ggrep" to use in msg output
5119 if test -z "$GREP"; then
5120 set dummy
grep ggrep
; ac_prog_name
=$2
5121 if test "${ac_cv_path_GREP+set}" = set; then
5122 echo $ECHO_N "(cached) $ECHO_C" >&6
5124 ac_path_GREP_found
=false
5125 # Loop through the user's path and test for each of PROGNAME-LIST
5126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5127 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5130 test -z "$as_dir" && as_dir
=.
5131 for ac_prog
in grep ggrep
; do
5132 for ac_exec_ext
in '' $ac_executable_extensions; do
5133 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5134 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5135 # Check for GNU ac_path_GREP and select it if it is found.
5136 # Check for GNU $ac_path_GREP
5137 case `"$ac_path_GREP" --version 2>&1` in
5139 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5142 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5145 cat "conftest.in" "conftest.in" >"conftest.tmp"
5146 mv "conftest.tmp" "conftest.in"
5147 cp "conftest.in" "conftest.nl"
5148 echo 'GREP' >> "conftest.nl"
5149 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5150 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5151 ac_count
=`expr $ac_count + 1`
5152 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5153 # Best one so far, save it but keep looking for a better one
5154 ac_cv_path_GREP
="$ac_path_GREP"
5155 ac_path_GREP_max
=$ac_count
5157 # 10*(2^10) chars as input seems more than enough
5158 test $ac_count -gt 10 && break
5160 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5164 $ac_path_GREP_found && break 3
5174 GREP
="$ac_cv_path_GREP"
5175 if test -z "$GREP"; then
5176 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5177 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5178 { (exit 1); exit 1; }; }
5182 ac_cv_path_GREP
=$GREP
5187 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5188 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5189 GREP
="$ac_cv_path_GREP"
5192 { echo "$as_me:$LINENO: checking for egrep" >&5
5193 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5194 if test "${ac_cv_path_EGREP+set}" = set; then
5195 echo $ECHO_N "(cached) $ECHO_C" >&6
5197 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5198 then ac_cv_path_EGREP
="$GREP -E"
5200 # Extract the first word of "egrep" to use in msg output
5201 if test -z "$EGREP"; then
5202 set dummy
egrep; ac_prog_name
=$2
5203 if test "${ac_cv_path_EGREP+set}" = set; then
5204 echo $ECHO_N "(cached) $ECHO_C" >&6
5206 ac_path_EGREP_found
=false
5207 # Loop through the user's path and test for each of PROGNAME-LIST
5208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5209 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5212 test -z "$as_dir" && as_dir
=.
5213 for ac_prog
in egrep; do
5214 for ac_exec_ext
in '' $ac_executable_extensions; do
5215 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5216 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5217 # Check for GNU ac_path_EGREP and select it if it is found.
5218 # Check for GNU $ac_path_EGREP
5219 case `"$ac_path_EGREP" --version 2>&1` in
5221 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5224 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5227 cat "conftest.in" "conftest.in" >"conftest.tmp"
5228 mv "conftest.tmp" "conftest.in"
5229 cp "conftest.in" "conftest.nl"
5230 echo 'EGREP' >> "conftest.nl"
5231 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5232 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5233 ac_count
=`expr $ac_count + 1`
5234 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5235 # Best one so far, save it but keep looking for a better one
5236 ac_cv_path_EGREP
="$ac_path_EGREP"
5237 ac_path_EGREP_max
=$ac_count
5239 # 10*(2^10) chars as input seems more than enough
5240 test $ac_count -gt 10 && break
5242 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5246 $ac_path_EGREP_found && break 3
5256 EGREP
="$ac_cv_path_EGREP"
5257 if test -z "$EGREP"; then
5258 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5259 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5260 { (exit 1); exit 1; }; }
5264 ac_cv_path_EGREP
=$EGREP
5270 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5271 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5272 EGREP
="$ac_cv_path_EGREP"
5275 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5276 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5277 if test "${ac_cv_header_stdc+set}" = set; then
5278 echo $ECHO_N "(cached) $ECHO_C" >&6
5280 cat >conftest.
$ac_ext <<_ACEOF
5283 cat confdefs.h
>>conftest.
$ac_ext
5284 cat >>conftest.
$ac_ext <<_ACEOF
5285 /* end confdefs.h. */
5299 rm -f conftest.
$ac_objext
5300 if { (ac_try
="$ac_compile"
5302 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5303 *) ac_try_echo=$ac_try;;
5305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5306 (eval "$ac_compile") 2>conftest.er1
5308 grep -v '^ *+' conftest.er1 >conftest.err
5310 cat conftest.err >&5
5311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5312 (exit $ac_status); } && {
5313 test -z "$ac_c_werror_flag" ||
5314 test ! -s conftest.err
5315 } && test -s conftest.$ac_objext; then
5316 ac_cv_header_stdc=yes
5318 echo "$as_me: failed program was:" >&5
5319 sed 's/^/| /' conftest.$ac_ext >&5
5321 ac_cv_header_stdc=no
5324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5326 if test $ac_cv_header_stdc = yes; then
5327 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5328 cat >conftest.$ac_ext <<_ACEOF
5331 cat confdefs.h >>conftest.$ac_ext
5332 cat >>conftest.$ac_ext <<_ACEOF
5333 /* end confdefs.h. */
5337 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5338 $EGREP "memchr" >/dev/null 2>&1; then
5341 ac_cv_header_stdc=no
5347 if test $ac_cv_header_stdc = yes; then
5348 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5349 cat >conftest.$ac_ext <<_ACEOF
5352 cat confdefs.h >>conftest.$ac_ext
5353 cat >>conftest.$ac_ext <<_ACEOF
5354 /* end confdefs.h. */
5358 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5359 $EGREP "free" >/dev/null 2>&1; then
5362 ac_cv_header_stdc=no
5368 if test $ac_cv_header_stdc = yes; then
5369 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5370 if test "$cross_compiling" = yes; then
5373 cat >conftest.$ac_ext <<_ACEOF
5376 cat confdefs.h >>conftest.$ac_ext
5377 cat >>conftest.$ac_ext <<_ACEOF
5378 /* end confdefs.h. */
5381 #if ((' ' & 0x0FF) == 0x020)
5382 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5383 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5385 # define ISLOWER(c) \
5386 (('a' <= (c) && (c) <= 'i') \
5387 || ('j' <= (c) && (c) <= 'r') \
5388 || ('s' <= (c) && (c) <= 'z'))
5389 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5392 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5397 for (i = 0; i < 256; i++)
5398 if (XOR (islower (i), ISLOWER (i))
5399 || toupper (i) != TOUPPER (i))
5404 rm -f conftest$ac_exeext
5405 if { (ac_try="$ac_link"
5407 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5408 *) ac_try_echo
=$ac_try;;
5410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5411 (eval "$ac_link") 2>&5
5413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5414 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5415 { (case "(($ac_try" in
5416 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5417 *) ac_try_echo=$ac_try;;
5419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5420 (eval "$ac_try") 2>&5
5422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5423 (exit $ac_status); }; }; then
5426 echo "$as_me: program exited with status $ac_status" >&5
5427 echo "$as_me: failed program was:" >&5
5428 sed 's/^/| /' conftest.$ac_ext >&5
5431 ac_cv_header_stdc=no
5433 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5439 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5440 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5441 if test $ac_cv_header_stdc = yes; then
5443 cat >>confdefs.h <<\_ACEOF
5444 #define STDC_HEADERS 1
5449 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5459 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5460 inttypes.h stdint.h unistd.h
5462 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5463 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5464 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5465 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5466 echo $ECHO_N "(cached) $ECHO_C" >&6
5468 cat >conftest.$ac_ext <<_ACEOF
5471 cat confdefs.h >>conftest.$ac_ext
5472 cat >>conftest.$ac_ext <<_ACEOF
5473 /* end confdefs.h. */
5474 $ac_includes_default
5476 #include <$ac_header>
5478 rm -f conftest.$ac_objext
5479 if { (ac_try="$ac_compile"
5481 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5482 *) ac_try_echo
=$ac_try;;
5484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5485 (eval "$ac_compile") 2>conftest.er1
5487 grep -v '^ *+' conftest.er1
>conftest.err
5489 cat conftest.err
>&5
5490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5491 (exit $ac_status); } && {
5492 test -z "$ac_c_werror_flag" ||
5493 test ! -s conftest.err
5494 } && test -s conftest.
$ac_objext; then
5495 eval "$as_ac_Header=yes"
5497 echo "$as_me: failed program was:" >&5
5498 sed 's/^/| /' conftest.
$ac_ext >&5
5500 eval "$as_ac_Header=no"
5503 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5505 ac_res
=`eval echo '${'$as_ac_Header'}'`
5506 { echo "$as_me:$LINENO: result: $ac_res" >&5
5507 echo "${ECHO_T}$ac_res" >&6; }
5508 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5509 cat >>confdefs.h
<<_ACEOF
5510 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5527 for ac_header
in sys
/ipc.h sys
/shm.h \
5528 sys
/mmap.h sys
/mman.h sysexits.h \
5529 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
5532 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5533 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5534 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5535 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5536 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5537 echo $ECHO_N "(cached) $ECHO_C" >&6
5539 ac_res
=`eval echo '${'$as_ac_Header'}'`
5540 { echo "$as_me:$LINENO: result: $ac_res" >&5
5541 echo "${ECHO_T}$ac_res" >&6; }
5543 # Is the header compilable?
5544 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5545 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5546 cat >conftest.
$ac_ext <<_ACEOF
5549 cat confdefs.h
>>conftest.
$ac_ext
5550 cat >>conftest.
$ac_ext <<_ACEOF
5551 /* end confdefs.h. */
5552 $ac_includes_default
5553 #include <$ac_header>
5555 rm -f conftest.
$ac_objext
5556 if { (ac_try
="$ac_compile"
5558 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5559 *) ac_try_echo=$ac_try;;
5561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5562 (eval "$ac_compile") 2>conftest.er1
5564 grep -v '^ *+' conftest.er1 >conftest.err
5566 cat conftest.err >&5
5567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5568 (exit $ac_status); } && {
5569 test -z "$ac_c_werror_flag" ||
5570 test ! -s conftest.err
5571 } && test -s conftest.$ac_objext; then
5572 ac_header_compiler=yes
5574 echo "$as_me: failed program was:" >&5
5575 sed 's/^/| /' conftest.$ac_ext >&5
5577 ac_header_compiler=no
5580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5581 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5582 echo "${ECHO_T}$ac_header_compiler" >&6; }
5584 # Is the header present?
5585 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5586 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5587 cat >conftest.$ac_ext <<_ACEOF
5590 cat confdefs.h >>conftest.$ac_ext
5591 cat >>conftest.$ac_ext <<_ACEOF
5592 /* end confdefs.h. */
5593 #include <$ac_header>
5595 if { (ac_try="$ac_cpp conftest.$ac_ext"
5597 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5598 *) ac_try_echo
=$ac_try;;
5600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5601 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5603 grep -v '^ *+' conftest.er1
>conftest.err
5605 cat conftest.err
>&5
5606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5607 (exit $ac_status); } >/dev
/null
&& {
5608 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5609 test ! -s conftest.err
5611 ac_header_preproc
=yes
5613 echo "$as_me: failed program was:" >&5
5614 sed 's/^/| /' conftest.
$ac_ext >&5
5616 ac_header_preproc
=no
5619 rm -f conftest.err conftest.
$ac_ext
5620 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5621 echo "${ECHO_T}$ac_header_preproc" >&6; }
5623 # So? What about this header?
5624 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5626 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5627 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5628 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5629 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5630 ac_header_preproc
=yes
5633 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5634 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5635 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5636 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5637 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5638 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5639 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5640 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5641 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5642 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5643 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5644 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5648 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5650 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5651 echo $ECHO_N "(cached) $ECHO_C" >&6
5653 eval "$as_ac_Header=\$ac_header_preproc"
5655 ac_res
=`eval echo '${'$as_ac_Header'}'`
5656 { echo "$as_me:$LINENO: result: $ac_res" >&5
5657 echo "${ECHO_T}$ac_res" >&6; }
5660 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5661 cat >>confdefs.h
<<_ACEOF
5662 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5671 for ac_header
in sys
/mount.h
5673 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5674 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5675 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5676 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5677 echo $ECHO_N "(cached) $ECHO_C" >&6
5679 cat >conftest.
$ac_ext <<_ACEOF
5682 cat confdefs.h
>>conftest.
$ac_ext
5683 cat >>conftest.
$ac_ext <<_ACEOF
5684 /* end confdefs.h. */
5685 #include <sys/param.h>
5687 #include <$ac_header>
5689 rm -f conftest.
$ac_objext
5690 if { (ac_try
="$ac_compile"
5692 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5693 *) ac_try_echo=$ac_try;;
5695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5696 (eval "$ac_compile") 2>conftest.er1
5698 grep -v '^ *+' conftest.er1 >conftest.err
5700 cat conftest.err >&5
5701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5702 (exit $ac_status); } && {
5703 test -z "$ac_c_werror_flag" ||
5704 test ! -s conftest.err
5705 } && test -s conftest.$ac_objext; then
5706 eval "$as_ac_Header=yes"
5708 echo "$as_me: failed program was:" >&5
5709 sed 's/^/| /' conftest.$ac_ext >&5
5711 eval "$as_ac_Header=no"
5714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5716 ac_res=`eval echo '${'$as_ac_Header'}'`
5717 { echo "$as_me:$LINENO: result: $ac_res" >&5
5718 echo "${ECHO_T}$ac_res" >&6; }
5719 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5720 cat >>confdefs.h <<_ACEOF
5721 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5735 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
5736 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
5737 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
5738 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
5739 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5740 echo $ECHO_N "(cached) $ECHO_C" >&6
5742 cat >conftest.$ac_ext <<_ACEOF
5745 cat confdefs.h >>conftest.$ac_ext
5746 cat >>conftest.$ac_ext <<_ACEOF
5747 /* end confdefs.h. */
5748 #include <sys/types.h>
5760 rm -f conftest.$ac_objext
5761 if { (ac_try="$ac_compile"
5763 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5764 *) ac_try_echo
=$ac_try;;
5766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5767 (eval "$ac_compile") 2>conftest.er1
5769 grep -v '^ *+' conftest.er1
>conftest.err
5771 cat conftest.err
>&5
5772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5773 (exit $ac_status); } && {
5774 test -z "$ac_c_werror_flag" ||
5775 test ! -s conftest.err
5776 } && test -s conftest.
$ac_objext; then
5777 eval "$as_ac_Header=yes"
5779 echo "$as_me: failed program was:" >&5
5780 sed 's/^/| /' conftest.
$ac_ext >&5
5782 eval "$as_ac_Header=no"
5785 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5787 ac_res
=`eval echo '${'$as_ac_Header'}'`
5788 { echo "$as_me:$LINENO: result: $ac_res" >&5
5789 echo "${ECHO_T}$ac_res" >&6; }
5790 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5791 cat >>confdefs.h
<<_ACEOF
5792 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5795 ac_header_dirent
=$ac_hdr; break
5799 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5800 if test $ac_header_dirent = dirent.h
; then
5801 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
5802 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
5803 if test "${ac_cv_search_opendir+set}" = set; then
5804 echo $ECHO_N "(cached) $ECHO_C" >&6
5806 ac_func_search_save_LIBS
=$LIBS
5807 cat >conftest.
$ac_ext <<_ACEOF
5810 cat confdefs.h
>>conftest.
$ac_ext
5811 cat >>conftest.
$ac_ext <<_ACEOF
5812 /* end confdefs.h. */
5814 /* Override any GCC internal prototype to avoid an error.
5815 Use char because int might match the return type of a GCC
5816 builtin and then its argument prototype would still apply. */
5829 for ac_lib
in '' dir
; do
5830 if test -z "$ac_lib"; then
5831 ac_res
="none required"
5834 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5836 rm -f conftest.
$ac_objext conftest
$ac_exeext
5837 if { (ac_try
="$ac_link"
5839 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5840 *) ac_try_echo=$ac_try;;
5842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5843 (eval "$ac_link") 2>conftest.er1
5845 grep -v '^ *+' conftest.er1 >conftest.err
5847 cat conftest.err >&5
5848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5849 (exit $ac_status); } && {
5850 test -z "$ac_c_werror_flag" ||
5851 test ! -s conftest.err
5852 } && test -s conftest$ac_exeext &&
5853 $as_test_x conftest$ac_exeext; then
5854 ac_cv_search_opendir=$ac_res
5856 echo "$as_me: failed program was:" >&5
5857 sed 's/^/| /' conftest.$ac_ext >&5
5862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5864 if test "${ac_cv_search_opendir+set}" = set; then
5868 if test "${ac_cv_search_opendir+set}" = set; then
5871 ac_cv_search_opendir=no
5874 LIBS=$ac_func_search_save_LIBS
5876 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5877 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
5878 ac_res=$ac_cv_search_opendir
5879 if test "$ac_res" != no; then
5880 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5885 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
5886 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
5887 if test "${ac_cv_search_opendir+set}" = set; then
5888 echo $ECHO_N "(cached) $ECHO_C" >&6
5890 ac_func_search_save_LIBS=$LIBS
5891 cat >conftest.$ac_ext <<_ACEOF
5894 cat confdefs.h >>conftest.$ac_ext
5895 cat >>conftest.$ac_ext <<_ACEOF
5896 /* end confdefs.h. */
5898 /* Override any GCC internal prototype to avoid an error.
5899 Use char because int might match the return type of a GCC
5900 builtin and then its argument prototype would still apply. */
5913 for ac_lib in '' x; do
5914 if test -z "$ac_lib"; then
5915 ac_res="none required"
5918 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5920 rm -f conftest.$ac_objext conftest$ac_exeext
5921 if { (ac_try="$ac_link"
5923 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5924 *) ac_try_echo
=$ac_try;;
5926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5927 (eval "$ac_link") 2>conftest.er1
5929 grep -v '^ *+' conftest.er1
>conftest.err
5931 cat conftest.err
>&5
5932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5933 (exit $ac_status); } && {
5934 test -z "$ac_c_werror_flag" ||
5935 test ! -s conftest.err
5936 } && test -s conftest
$ac_exeext &&
5937 $as_test_x conftest
$ac_exeext; then
5938 ac_cv_search_opendir
=$ac_res
5940 echo "$as_me: failed program was:" >&5
5941 sed 's/^/| /' conftest.
$ac_ext >&5
5946 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5948 if test "${ac_cv_search_opendir+set}" = set; then
5952 if test "${ac_cv_search_opendir+set}" = set; then
5955 ac_cv_search_opendir
=no
5958 LIBS
=$ac_func_search_save_LIBS
5960 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5961 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
5962 ac_res
=$ac_cv_search_opendir
5963 if test "$ac_res" != no
; then
5964 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5970 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
5971 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
5972 if test "${ac_cv_header_stat_broken+set}" = set; then
5973 echo $ECHO_N "(cached) $ECHO_C" >&6
5975 cat >conftest.
$ac_ext <<_ACEOF
5978 cat confdefs.h
>>conftest.
$ac_ext
5979 cat >>conftest.
$ac_ext <<_ACEOF
5980 /* end confdefs.h. */
5981 #include <sys/types.h>
5982 #include <sys/stat.h>
5984 #if defined S_ISBLK && defined S_IFDIR
5985 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5988 #if defined S_ISBLK && defined S_IFCHR
5989 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5992 #if defined S_ISLNK && defined S_IFREG
5993 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5996 #if defined S_ISSOCK && defined S_IFREG
5997 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6001 rm -f conftest.
$ac_objext
6002 if { (ac_try
="$ac_compile"
6004 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6005 *) ac_try_echo=$ac_try;;
6007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6008 (eval "$ac_compile") 2>conftest.er1
6010 grep -v '^ *+' conftest.er1 >conftest.err
6012 cat conftest.err >&5
6013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6014 (exit $ac_status); } && {
6015 test -z "$ac_c_werror_flag" ||
6016 test ! -s conftest.err
6017 } && test -s conftest.$ac_objext; then
6018 ac_cv_header_stat_broken=no
6020 echo "$as_me: failed program was:" >&5
6021 sed 's/^/| /' conftest.$ac_ext >&5
6023 ac_cv_header_stat_broken=yes
6026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6028 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
6029 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
6030 if test $ac_cv_header_stat_broken = yes; then
6032 cat >>confdefs.h <<\_ACEOF
6033 #define STAT_MACROS_BROKEN 1
6038 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6039 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6040 if test "${ac_cv_header_stdc+set}" = set; then
6041 echo $ECHO_N "(cached) $ECHO_C" >&6
6043 cat >conftest.$ac_ext <<_ACEOF
6046 cat confdefs.h >>conftest.$ac_ext
6047 cat >>conftest.$ac_ext <<_ACEOF
6048 /* end confdefs.h. */
6062 rm -f conftest.$ac_objext
6063 if { (ac_try="$ac_compile"
6065 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6066 *) ac_try_echo
=$ac_try;;
6068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6069 (eval "$ac_compile") 2>conftest.er1
6071 grep -v '^ *+' conftest.er1
>conftest.err
6073 cat conftest.err
>&5
6074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6075 (exit $ac_status); } && {
6076 test -z "$ac_c_werror_flag" ||
6077 test ! -s conftest.err
6078 } && test -s conftest.
$ac_objext; then
6079 ac_cv_header_stdc
=yes
6081 echo "$as_me: failed program was:" >&5
6082 sed 's/^/| /' conftest.
$ac_ext >&5
6084 ac_cv_header_stdc
=no
6087 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6089 if test $ac_cv_header_stdc = yes; then
6090 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6091 cat >conftest.
$ac_ext <<_ACEOF
6094 cat confdefs.h
>>conftest.
$ac_ext
6095 cat >>conftest.
$ac_ext <<_ACEOF
6096 /* end confdefs.h. */
6100 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6101 $EGREP "memchr" >/dev
/null
2>&1; then
6104 ac_cv_header_stdc
=no
6110 if test $ac_cv_header_stdc = yes; then
6111 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6112 cat >conftest.
$ac_ext <<_ACEOF
6115 cat confdefs.h
>>conftest.
$ac_ext
6116 cat >>conftest.
$ac_ext <<_ACEOF
6117 /* end confdefs.h. */
6121 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6122 $EGREP "free" >/dev
/null
2>&1; then
6125 ac_cv_header_stdc
=no
6131 if test $ac_cv_header_stdc = yes; then
6132 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6133 if test "$cross_compiling" = yes; then
6136 cat >conftest.
$ac_ext <<_ACEOF
6139 cat confdefs.h
>>conftest.
$ac_ext
6140 cat >>conftest.
$ac_ext <<_ACEOF
6141 /* end confdefs.h. */
6144 #if ((' ' & 0x0FF) == 0x020)
6145 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6146 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6148 # define ISLOWER(c) \
6149 (('a' <= (c) && (c) <= 'i') \
6150 || ('j' <= (c) && (c) <= 'r') \
6151 || ('s' <= (c) && (c) <= 'z'))
6152 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6155 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6160 for (i = 0; i < 256; i++)
6161 if (XOR (islower (i), ISLOWER (i))
6162 || toupper (i) != TOUPPER (i))
6167 rm -f conftest
$ac_exeext
6168 if { (ac_try
="$ac_link"
6170 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6171 *) ac_try_echo=$ac_try;;
6173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6174 (eval "$ac_link") 2>&5
6176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6177 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6178 { (case "(($ac_try" in
6179 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6180 *) ac_try_echo
=$ac_try;;
6182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6183 (eval "$ac_try") 2>&5
6185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6186 (exit $ac_status); }; }; then
6189 echo "$as_me: program exited with status $ac_status" >&5
6190 echo "$as_me: failed program was:" >&5
6191 sed 's/^/| /' conftest.
$ac_ext >&5
6194 ac_cv_header_stdc
=no
6196 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6202 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6203 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6204 if test $ac_cv_header_stdc = yes; then
6206 cat >>confdefs.h
<<\_ACEOF
6207 #define STDC_HEADERS 1
6212 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
6213 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
6214 if test "${ac_cv_header_sys_wait_h+set}" = set; then
6215 echo $ECHO_N "(cached) $ECHO_C" >&6
6217 cat >conftest.
$ac_ext <<_ACEOF
6220 cat confdefs.h
>>conftest.
$ac_ext
6221 cat >>conftest.
$ac_ext <<_ACEOF
6222 /* end confdefs.h. */
6223 #include <sys/types.h>
6224 #include <sys/wait.h>
6226 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6229 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6237 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6242 rm -f conftest.
$ac_objext
6243 if { (ac_try
="$ac_compile"
6245 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6246 *) ac_try_echo=$ac_try;;
6248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6249 (eval "$ac_compile") 2>conftest.er1
6251 grep -v '^ *+' conftest.er1 >conftest.err
6253 cat conftest.err >&5
6254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6255 (exit $ac_status); } && {
6256 test -z "$ac_c_werror_flag" ||
6257 test ! -s conftest.err
6258 } && test -s conftest.$ac_objext; then
6259 ac_cv_header_sys_wait_h=yes
6261 echo "$as_me: failed program was:" >&5
6262 sed 's/^/| /' conftest.$ac_ext >&5
6264 ac_cv_header_sys_wait_h=no
6267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6269 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
6270 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
6271 if test $ac_cv_header_sys_wait_h = yes; then
6273 cat >>confdefs.h <<\_ACEOF
6274 #define HAVE_SYS_WAIT_H 1
6279 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6280 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
6281 if test "${ac_cv_header_time+set}" = set; then
6282 echo $ECHO_N "(cached) $ECHO_C" >&6
6284 cat >conftest.$ac_ext <<_ACEOF
6287 cat confdefs.h >>conftest.$ac_ext
6288 cat >>conftest.$ac_ext <<_ACEOF
6289 /* end confdefs.h. */
6290 #include <sys/types.h>
6291 #include <sys/time.h>
6297 if ((struct tm *) 0)
6303 rm -f conftest.$ac_objext
6304 if { (ac_try="$ac_compile"
6306 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6307 *) ac_try_echo
=$ac_try;;
6309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6310 (eval "$ac_compile") 2>conftest.er1
6312 grep -v '^ *+' conftest.er1
>conftest.err
6314 cat conftest.err
>&5
6315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6316 (exit $ac_status); } && {
6317 test -z "$ac_c_werror_flag" ||
6318 test ! -s conftest.err
6319 } && test -s conftest.
$ac_objext; then
6320 ac_cv_header_time
=yes
6322 echo "$as_me: failed program was:" >&5
6323 sed 's/^/| /' conftest.
$ac_ext >&5
6325 ac_cv_header_time
=no
6328 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6330 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6331 echo "${ECHO_T}$ac_cv_header_time" >&6; }
6332 if test $ac_cv_header_time = yes; then
6334 cat >>confdefs.h
<<\_ACEOF
6335 #define TIME_WITH_SYS_TIME 1
6340 { echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6341 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6; }
6342 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6343 echo $ECHO_N "(cached) $ECHO_C" >&6
6345 cat >conftest.
$ac_ext <<_ACEOF
6348 cat confdefs.h
>>conftest.
$ac_ext
6349 cat >>conftest.
$ac_ext <<_ACEOF
6350 /* end confdefs.h. */
6351 $ac_includes_default
6355 static struct stat ac_aggr;
6356 if (ac_aggr.st_blksize)
6362 rm -f conftest.
$ac_objext
6363 if { (ac_try
="$ac_compile"
6365 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6366 *) ac_try_echo=$ac_try;;
6368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6369 (eval "$ac_compile") 2>conftest.er1
6371 grep -v '^ *+' conftest.er1 >conftest.err
6373 cat conftest.err >&5
6374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6375 (exit $ac_status); } && {
6376 test -z "$ac_c_werror_flag" ||
6377 test ! -s conftest.err
6378 } && test -s conftest.$ac_objext; then
6379 ac_cv_member_struct_stat_st_blksize=yes
6381 echo "$as_me: failed program was:" >&5
6382 sed 's/^/| /' conftest.$ac_ext >&5
6384 cat >conftest.$ac_ext <<_ACEOF
6387 cat confdefs.h >>conftest.$ac_ext
6388 cat >>conftest.$ac_ext <<_ACEOF
6389 /* end confdefs.h. */
6390 $ac_includes_default
6394 static struct stat ac_aggr;
6395 if (sizeof ac_aggr.st_blksize)
6401 rm -f conftest.$ac_objext
6402 if { (ac_try="$ac_compile"
6404 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6405 *) ac_try_echo
=$ac_try;;
6407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6408 (eval "$ac_compile") 2>conftest.er1
6410 grep -v '^ *+' conftest.er1
>conftest.err
6412 cat conftest.err
>&5
6413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6414 (exit $ac_status); } && {
6415 test -z "$ac_c_werror_flag" ||
6416 test ! -s conftest.err
6417 } && test -s conftest.
$ac_objext; then
6418 ac_cv_member_struct_stat_st_blksize
=yes
6420 echo "$as_me: failed program was:" >&5
6421 sed 's/^/| /' conftest.
$ac_ext >&5
6423 ac_cv_member_struct_stat_st_blksize
=no
6426 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6429 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6431 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
6432 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6; }
6433 if test $ac_cv_member_struct_stat_st_blksize = yes; then
6435 cat >>confdefs.h
<<_ACEOF
6436 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6440 cat >>confdefs.h
<<\_ACEOF
6441 #define HAVE_ST_BLKSIZE 1
6447 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
6448 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
6449 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
6450 echo $ECHO_N "(cached) $ECHO_C" >&6
6452 cat >conftest.
$ac_ext <<_ACEOF
6455 cat confdefs.h
>>conftest.
$ac_ext
6456 cat >>conftest.
$ac_ext <<_ACEOF
6457 /* end confdefs.h. */
6458 $ac_includes_default
6462 static struct stat ac_aggr;
6463 if (ac_aggr.st_blocks)
6469 rm -f conftest.
$ac_objext
6470 if { (ac_try
="$ac_compile"
6472 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6473 *) ac_try_echo=$ac_try;;
6475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6476 (eval "$ac_compile") 2>conftest.er1
6478 grep -v '^ *+' conftest.er1 >conftest.err
6480 cat conftest.err >&5
6481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6482 (exit $ac_status); } && {
6483 test -z "$ac_c_werror_flag" ||
6484 test ! -s conftest.err
6485 } && test -s conftest.$ac_objext; then
6486 ac_cv_member_struct_stat_st_blocks=yes
6488 echo "$as_me: failed program was:" >&5
6489 sed 's/^/| /' conftest.$ac_ext >&5
6491 cat >conftest.$ac_ext <<_ACEOF
6494 cat confdefs.h >>conftest.$ac_ext
6495 cat >>conftest.$ac_ext <<_ACEOF
6496 /* end confdefs.h. */
6497 $ac_includes_default
6501 static struct stat ac_aggr;
6502 if (sizeof ac_aggr.st_blocks)
6508 rm -f conftest.$ac_objext
6509 if { (ac_try="$ac_compile"
6511 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6512 *) ac_try_echo
=$ac_try;;
6514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6515 (eval "$ac_compile") 2>conftest.er1
6517 grep -v '^ *+' conftest.er1
>conftest.err
6519 cat conftest.err
>&5
6520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6521 (exit $ac_status); } && {
6522 test -z "$ac_c_werror_flag" ||
6523 test ! -s conftest.err
6524 } && test -s conftest.
$ac_objext; then
6525 ac_cv_member_struct_stat_st_blocks
=yes
6527 echo "$as_me: failed program was:" >&5
6528 sed 's/^/| /' conftest.
$ac_ext >&5
6530 ac_cv_member_struct_stat_st_blocks
=no
6533 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6536 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6538 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
6539 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
6540 if test $ac_cv_member_struct_stat_st_blocks = yes; then
6542 cat >>confdefs.h
<<_ACEOF
6543 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6547 cat >>confdefs.h
<<\_ACEOF
6548 #define HAVE_ST_BLOCKS 1
6552 case " $LIBOBJS " in
6553 *" fileblocks.$ac_objext "* ) ;;
6554 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6561 { echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6562 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6; }
6563 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6564 echo $ECHO_N "(cached) $ECHO_C" >&6
6566 cat >conftest.
$ac_ext <<_ACEOF
6569 cat confdefs.h
>>conftest.
$ac_ext
6570 cat >>conftest.
$ac_ext <<_ACEOF
6571 /* end confdefs.h. */
6572 $ac_includes_default
6576 static struct stat ac_aggr;
6577 if (ac_aggr.st_rdev)
6583 rm -f conftest.
$ac_objext
6584 if { (ac_try
="$ac_compile"
6586 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6587 *) ac_try_echo=$ac_try;;
6589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6590 (eval "$ac_compile") 2>conftest.er1
6592 grep -v '^ *+' conftest.er1 >conftest.err
6594 cat conftest.err >&5
6595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6596 (exit $ac_status); } && {
6597 test -z "$ac_c_werror_flag" ||
6598 test ! -s conftest.err
6599 } && test -s conftest.$ac_objext; then
6600 ac_cv_member_struct_stat_st_rdev=yes
6602 echo "$as_me: failed program was:" >&5
6603 sed 's/^/| /' conftest.$ac_ext >&5
6605 cat >conftest.$ac_ext <<_ACEOF
6608 cat confdefs.h >>conftest.$ac_ext
6609 cat >>conftest.$ac_ext <<_ACEOF
6610 /* end confdefs.h. */
6611 $ac_includes_default
6615 static struct stat ac_aggr;
6616 if (sizeof ac_aggr.st_rdev)
6622 rm -f conftest.$ac_objext
6623 if { (ac_try="$ac_compile"
6625 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6626 *) ac_try_echo
=$ac_try;;
6628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6629 (eval "$ac_compile") 2>conftest.er1
6631 grep -v '^ *+' conftest.er1
>conftest.err
6633 cat conftest.err
>&5
6634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6635 (exit $ac_status); } && {
6636 test -z "$ac_c_werror_flag" ||
6637 test ! -s conftest.err
6638 } && test -s conftest.
$ac_objext; then
6639 ac_cv_member_struct_stat_st_rdev
=yes
6641 echo "$as_me: failed program was:" >&5
6642 sed 's/^/| /' conftest.
$ac_ext >&5
6644 ac_cv_member_struct_stat_st_rdev
=no
6647 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6650 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6652 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
6653 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6; }
6654 if test $ac_cv_member_struct_stat_st_rdev = yes; then
6656 cat >>confdefs.h
<<_ACEOF
6657 #define HAVE_STRUCT_STAT_ST_RDEV 1
6661 cat >>confdefs.h
<<\_ACEOF
6662 #define HAVE_ST_RDEV 1
6668 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6669 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
6670 if test "${ac_cv_struct_tm+set}" = set; then
6671 echo $ECHO_N "(cached) $ECHO_C" >&6
6673 cat >conftest.
$ac_ext <<_ACEOF
6676 cat confdefs.h
>>conftest.
$ac_ext
6677 cat >>conftest.
$ac_ext <<_ACEOF
6678 /* end confdefs.h. */
6679 #include <sys/types.h>
6686 int *p = &tm.tm_sec;
6692 rm -f conftest.
$ac_objext
6693 if { (ac_try
="$ac_compile"
6695 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6696 *) ac_try_echo=$ac_try;;
6698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6699 (eval "$ac_compile") 2>conftest.er1
6701 grep -v '^ *+' conftest.er1 >conftest.err
6703 cat conftest.err >&5
6704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6705 (exit $ac_status); } && {
6706 test -z "$ac_c_werror_flag" ||
6707 test ! -s conftest.err
6708 } && test -s conftest.$ac_objext; then
6709 ac_cv_struct_tm=time.h
6711 echo "$as_me: failed program was:" >&5
6712 sed 's/^/| /' conftest.$ac_ext >&5
6714 ac_cv_struct_tm=sys/time.h
6717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6719 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6720 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
6721 if test $ac_cv_struct_tm = sys/time.h; then
6723 cat >>confdefs.h <<\_ACEOF
6724 #define TM_IN_SYS_TIME 1
6729 { echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
6730 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6; }
6731 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
6732 echo $ECHO_N "(cached) $ECHO_C" >&6
6734 cat >conftest.$ac_ext <<_ACEOF
6737 cat confdefs.h >>conftest.$ac_ext
6738 cat >>conftest.$ac_ext <<_ACEOF
6739 /* end confdefs.h. */
6740 #include <sys/types.h>
6741 #include <$ac_cv_struct_tm>
6747 static struct tm ac_aggr;
6748 if (ac_aggr.tm_zone)
6754 rm -f conftest.$ac_objext
6755 if { (ac_try="$ac_compile"
6757 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6758 *) ac_try_echo
=$ac_try;;
6760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6761 (eval "$ac_compile") 2>conftest.er1
6763 grep -v '^ *+' conftest.er1
>conftest.err
6765 cat conftest.err
>&5
6766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6767 (exit $ac_status); } && {
6768 test -z "$ac_c_werror_flag" ||
6769 test ! -s conftest.err
6770 } && test -s conftest.
$ac_objext; then
6771 ac_cv_member_struct_tm_tm_zone
=yes
6773 echo "$as_me: failed program was:" >&5
6774 sed 's/^/| /' conftest.
$ac_ext >&5
6776 cat >conftest.
$ac_ext <<_ACEOF
6779 cat confdefs.h
>>conftest.
$ac_ext
6780 cat >>conftest.
$ac_ext <<_ACEOF
6781 /* end confdefs.h. */
6782 #include <sys/types.h>
6783 #include <$ac_cv_struct_tm>
6789 static struct tm ac_aggr;
6790 if (sizeof ac_aggr.tm_zone)
6796 rm -f conftest.
$ac_objext
6797 if { (ac_try
="$ac_compile"
6799 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6800 *) ac_try_echo=$ac_try;;
6802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6803 (eval "$ac_compile") 2>conftest.er1
6805 grep -v '^ *+' conftest.er1 >conftest.err
6807 cat conftest.err >&5
6808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6809 (exit $ac_status); } && {
6810 test -z "$ac_c_werror_flag" ||
6811 test ! -s conftest.err
6812 } && test -s conftest.$ac_objext; then
6813 ac_cv_member_struct_tm_tm_zone=yes
6815 echo "$as_me: failed program was:" >&5
6816 sed 's/^/| /' conftest.$ac_ext >&5
6818 ac_cv_member_struct_tm_tm_zone=no
6821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6826 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
6827 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6; }
6828 if test $ac_cv_member_struct_tm_tm_zone = yes; then
6830 cat >>confdefs.h <<_ACEOF
6831 #define HAVE_STRUCT_TM_TM_ZONE 1
6837 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6839 cat >>confdefs.h <<\_ACEOF
6840 #define HAVE_TM_ZONE 1
6844 { echo "$as_me:$LINENO: checking whether tzname is declared" >&5
6845 echo $ECHO_N "checking whether tzname is declared... $ECHO_C" >&6; }
6846 if test "${ac_cv_have_decl_tzname+set}" = set; then
6847 echo $ECHO_N "(cached) $ECHO_C" >&6
6849 cat >conftest.$ac_ext <<_ACEOF
6852 cat confdefs.h >>conftest.$ac_ext
6853 cat >>conftest.$ac_ext <<_ACEOF
6854 /* end confdefs.h. */
6868 rm -f conftest.$ac_objext
6869 if { (ac_try="$ac_compile"
6871 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6872 *) ac_try_echo
=$ac_try;;
6874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6875 (eval "$ac_compile") 2>conftest.er1
6877 grep -v '^ *+' conftest.er1
>conftest.err
6879 cat conftest.err
>&5
6880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6881 (exit $ac_status); } && {
6882 test -z "$ac_c_werror_flag" ||
6883 test ! -s conftest.err
6884 } && test -s conftest.
$ac_objext; then
6885 ac_cv_have_decl_tzname
=yes
6887 echo "$as_me: failed program was:" >&5
6888 sed 's/^/| /' conftest.
$ac_ext >&5
6890 ac_cv_have_decl_tzname
=no
6893 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6895 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5
6896 echo "${ECHO_T}$ac_cv_have_decl_tzname" >&6; }
6897 if test $ac_cv_have_decl_tzname = yes; then
6899 cat >>confdefs.h
<<_ACEOF
6900 #define HAVE_DECL_TZNAME 1
6905 cat >>confdefs.h
<<_ACEOF
6906 #define HAVE_DECL_TZNAME 0
6913 { echo "$as_me:$LINENO: checking for tzname" >&5
6914 echo $ECHO_N "checking for tzname... $ECHO_C" >&6; }
6915 if test "${ac_cv_var_tzname+set}" = set; then
6916 echo $ECHO_N "(cached) $ECHO_C" >&6
6918 cat >conftest.
$ac_ext <<_ACEOF
6921 cat confdefs.h
>>conftest.
$ac_ext
6922 cat >>conftest.
$ac_ext <<_ACEOF
6923 /* end confdefs.h. */
6925 #if !HAVE_DECL_TZNAME
6926 extern char *tzname[];
6932 return tzname[0][0];
6937 rm -f conftest.
$ac_objext conftest
$ac_exeext
6938 if { (ac_try
="$ac_link"
6940 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6941 *) ac_try_echo=$ac_try;;
6943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6944 (eval "$ac_link") 2>conftest.er1
6946 grep -v '^ *+' conftest.er1 >conftest.err
6948 cat conftest.err >&5
6949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6950 (exit $ac_status); } && {
6951 test -z "$ac_c_werror_flag" ||
6952 test ! -s conftest.err
6953 } && test -s conftest$ac_exeext &&
6954 $as_test_x conftest$ac_exeext; then
6955 ac_cv_var_tzname=yes
6957 echo "$as_me: failed program was:" >&5
6958 sed 's/^/| /' conftest.$ac_ext >&5
6963 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6964 conftest$ac_exeext conftest.$ac_ext
6966 { echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
6967 echo "${ECHO_T}$ac_cv_var_tzname" >&6; }
6968 if test $ac_cv_var_tzname = yes; then
6970 cat >>confdefs.h <<\_ACEOF
6971 #define HAVE_TZNAME 1
6977 { echo "$as_me:$LINENO: checking for off_t" >&5
6978 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
6979 if test "${ac_cv_type_off_t+set}" = set; then
6980 echo $ECHO_N "(cached) $ECHO_C" >&6
6982 cat >conftest.$ac_ext <<_ACEOF
6985 cat confdefs.h >>conftest.$ac_ext
6986 cat >>conftest.$ac_ext <<_ACEOF
6987 /* end confdefs.h. */
6988 $ac_includes_default
6989 typedef off_t ac__type_new_;
6993 if ((ac__type_new_ *) 0)
6995 if (sizeof (ac__type_new_))
7001 rm -f conftest.$ac_objext
7002 if { (ac_try="$ac_compile"
7004 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7005 *) ac_try_echo
=$ac_try;;
7007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7008 (eval "$ac_compile") 2>conftest.er1
7010 grep -v '^ *+' conftest.er1
>conftest.err
7012 cat conftest.err
>&5
7013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7014 (exit $ac_status); } && {
7015 test -z "$ac_c_werror_flag" ||
7016 test ! -s conftest.err
7017 } && test -s conftest.
$ac_objext; then
7018 ac_cv_type_off_t
=yes
7020 echo "$as_me: failed program was:" >&5
7021 sed 's/^/| /' conftest.
$ac_ext >&5
7026 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7028 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
7029 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
7030 if test $ac_cv_type_off_t = yes; then
7034 cat >>confdefs.h
<<_ACEOF
7035 #define off_t long int
7040 { echo "$as_me:$LINENO: checking for pid_t" >&5
7041 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
7042 if test "${ac_cv_type_pid_t+set}" = set; then
7043 echo $ECHO_N "(cached) $ECHO_C" >&6
7045 cat >conftest.
$ac_ext <<_ACEOF
7048 cat confdefs.h
>>conftest.
$ac_ext
7049 cat >>conftest.
$ac_ext <<_ACEOF
7050 /* end confdefs.h. */
7051 $ac_includes_default
7052 typedef pid_t ac__type_new_;
7056 if ((ac__type_new_ *) 0)
7058 if (sizeof (ac__type_new_))
7064 rm -f conftest.
$ac_objext
7065 if { (ac_try
="$ac_compile"
7067 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7068 *) ac_try_echo=$ac_try;;
7070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7071 (eval "$ac_compile") 2>conftest.er1
7073 grep -v '^ *+' conftest.er1 >conftest.err
7075 cat conftest.err >&5
7076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7077 (exit $ac_status); } && {
7078 test -z "$ac_c_werror_flag" ||
7079 test ! -s conftest.err
7080 } && test -s conftest.$ac_objext; then
7081 ac_cv_type_pid_t=yes
7083 echo "$as_me: failed program was:" >&5
7084 sed 's/^/| /' conftest.$ac_ext >&5
7089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7091 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
7092 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
7093 if test $ac_cv_type_pid_t = yes; then
7097 cat >>confdefs.h <<_ACEOF
7103 { echo "$as_me:$LINENO: checking for size_t" >&5
7104 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
7105 if test "${ac_cv_type_size_t+set}" = set; then
7106 echo $ECHO_N "(cached) $ECHO_C" >&6
7108 cat >conftest.$ac_ext <<_ACEOF
7111 cat confdefs.h >>conftest.$ac_ext
7112 cat >>conftest.$ac_ext <<_ACEOF
7113 /* end confdefs.h. */
7114 $ac_includes_default
7115 typedef size_t ac__type_new_;
7119 if ((ac__type_new_ *) 0)
7121 if (sizeof (ac__type_new_))
7127 rm -f conftest.$ac_objext
7128 if { (ac_try="$ac_compile"
7130 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7131 *) ac_try_echo
=$ac_try;;
7133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7134 (eval "$ac_compile") 2>conftest.er1
7136 grep -v '^ *+' conftest.er1
>conftest.err
7138 cat conftest.err
>&5
7139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7140 (exit $ac_status); } && {
7141 test -z "$ac_c_werror_flag" ||
7142 test ! -s conftest.err
7143 } && test -s conftest.
$ac_objext; then
7144 ac_cv_type_size_t
=yes
7146 echo "$as_me: failed program was:" >&5
7147 sed 's/^/| /' conftest.
$ac_ext >&5
7149 ac_cv_type_size_t
=no
7152 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7154 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
7155 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
7156 if test $ac_cv_type_size_t = yes; then
7160 cat >>confdefs.h
<<_ACEOF
7161 #define size_t unsigned int
7166 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
7167 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
7168 if test "${ac_cv_type_uid_t+set}" = set; then
7169 echo $ECHO_N "(cached) $ECHO_C" >&6
7171 cat >conftest.
$ac_ext <<_ACEOF
7174 cat confdefs.h
>>conftest.
$ac_ext
7175 cat >>conftest.
$ac_ext <<_ACEOF
7176 /* end confdefs.h. */
7177 #include <sys/types.h>
7180 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7181 $EGREP "uid_t" >/dev
/null
2>&1; then
7182 ac_cv_type_uid_t
=yes
7189 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
7190 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
7191 if test $ac_cv_type_uid_t = no
; then
7193 cat >>confdefs.h
<<\_ACEOF
7198 cat >>confdefs.h
<<\_ACEOF
7205 { echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
7206 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6; }
7207 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
7208 echo $ECHO_N "(cached) $ECHO_C" >&6
7210 cat >conftest.
$ac_ext <<_ACEOF
7213 cat confdefs.h
>>conftest.
$ac_ext
7214 cat >>conftest.
$ac_ext <<_ACEOF
7215 /* end confdefs.h. */
7216 $ac_includes_default
7220 static struct tm ac_aggr;
7221 if (ac_aggr.tm_gmtoff)
7227 rm -f conftest.
$ac_objext
7228 if { (ac_try
="$ac_compile"
7230 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7231 *) ac_try_echo=$ac_try;;
7233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7234 (eval "$ac_compile") 2>conftest.er1
7236 grep -v '^ *+' conftest.er1 >conftest.err
7238 cat conftest.err >&5
7239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7240 (exit $ac_status); } && {
7241 test -z "$ac_c_werror_flag" ||
7242 test ! -s conftest.err
7243 } && test -s conftest.$ac_objext; then
7244 ac_cv_member_struct_tm_tm_gmtoff=yes
7246 echo "$as_me: failed program was:" >&5
7247 sed 's/^/| /' conftest.$ac_ext >&5
7249 cat >conftest.$ac_ext <<_ACEOF
7252 cat confdefs.h >>conftest.$ac_ext
7253 cat >>conftest.$ac_ext <<_ACEOF
7254 /* end confdefs.h. */
7255 $ac_includes_default
7259 static struct tm ac_aggr;
7260 if (sizeof ac_aggr.tm_gmtoff)
7266 rm -f conftest.$ac_objext
7267 if { (ac_try="$ac_compile"
7269 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7270 *) ac_try_echo
=$ac_try;;
7272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7273 (eval "$ac_compile") 2>conftest.er1
7275 grep -v '^ *+' conftest.er1
>conftest.err
7277 cat conftest.err
>&5
7278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7279 (exit $ac_status); } && {
7280 test -z "$ac_c_werror_flag" ||
7281 test ! -s conftest.err
7282 } && test -s conftest.
$ac_objext; then
7283 ac_cv_member_struct_tm_tm_gmtoff
=yes
7285 echo "$as_me: failed program was:" >&5
7286 sed 's/^/| /' conftest.
$ac_ext >&5
7288 ac_cv_member_struct_tm_tm_gmtoff
=no
7291 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7294 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7296 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
7297 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6; }
7298 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
7300 cat >>confdefs.h
<<_ACEOF
7301 #define HAVE_STRUCT_TM_TM_GMTOFF 1
7308 # Look for some functions
7323 for ac_func
in getpagesize kqueue statfs statvfs \
7324 clone kse_create rfork_thread thr_create sa_register \
7325 getcontext makecontext setcontext sigaltstack swapcontext
7327 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7328 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7330 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7331 echo $ECHO_N "(cached) $ECHO_C" >&6
7333 cat >conftest.
$ac_ext <<_ACEOF
7336 cat confdefs.h
>>conftest.
$ac_ext
7337 cat >>conftest.
$ac_ext <<_ACEOF
7338 /* end confdefs.h. */
7339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7341 #define $ac_func innocuous_$ac_func
7343 /* System header to define __stub macros and hopefully few prototypes,
7344 which can conflict with char $ac_func (); below.
7345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7346 <limits.h> exists even on freestanding compilers. */
7349 # include <limits.h>
7351 # include <assert.h>
7356 /* Override any GCC internal prototype to avoid an error.
7357 Use char because int might match the return type of a GCC
7358 builtin and then its argument prototype would still apply. */
7363 /* The GNU C library defines this for functions which it implements
7364 to always fail with ENOSYS. Some functions are actually named
7365 something starting with __ and the normal name is an alias. */
7366 #if defined __stub_$ac_func || defined __stub___$ac_func
7378 rm -f conftest.
$ac_objext conftest
$ac_exeext
7379 if { (ac_try
="$ac_link"
7381 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7382 *) ac_try_echo=$ac_try;;
7384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7385 (eval "$ac_link") 2>conftest.er1
7387 grep -v '^ *+' conftest.er1 >conftest.err
7389 cat conftest.err >&5
7390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7391 (exit $ac_status); } && {
7392 test -z "$ac_c_werror_flag" ||
7393 test ! -s conftest.err
7394 } && test -s conftest$ac_exeext &&
7395 $as_test_x conftest$ac_exeext; then
7396 eval "$as_ac_var=yes"
7398 echo "$as_me: failed program was:" >&5
7399 sed 's/^/| /' conftest.$ac_ext >&5
7401 eval "$as_ac_var=no"
7404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7405 conftest$ac_exeext conftest.$ac_ext
7407 ac_res=`eval echo '${'$as_ac_var'}'`
7408 { echo "$as_me:$LINENO: result: $ac_res" >&5
7409 echo "${ECHO_T}$ac_res" >&6; }
7410 if test `eval echo '${'$as_ac_var'}'` = yes; then
7411 cat >>confdefs.h <<_ACEOF
7412 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7421 for ac_header in stdlib.h unistd.h
7423 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7424 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7425 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7426 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7427 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7428 echo $ECHO_N "(cached) $ECHO_C" >&6
7430 ac_res=`eval echo '${'$as_ac_Header'}'`
7431 { echo "$as_me:$LINENO: result: $ac_res" >&5
7432 echo "${ECHO_T}$ac_res" >&6; }
7434 # Is the header compilable?
7435 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7436 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7437 cat >conftest.$ac_ext <<_ACEOF
7440 cat confdefs.h >>conftest.$ac_ext
7441 cat >>conftest.$ac_ext <<_ACEOF
7442 /* end confdefs.h. */
7443 $ac_includes_default
7444 #include <$ac_header>
7446 rm -f conftest.$ac_objext
7447 if { (ac_try="$ac_compile"
7449 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7450 *) ac_try_echo
=$ac_try;;
7452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7453 (eval "$ac_compile") 2>conftest.er1
7455 grep -v '^ *+' conftest.er1
>conftest.err
7457 cat conftest.err
>&5
7458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7459 (exit $ac_status); } && {
7460 test -z "$ac_c_werror_flag" ||
7461 test ! -s conftest.err
7462 } && test -s conftest.
$ac_objext; then
7463 ac_header_compiler
=yes
7465 echo "$as_me: failed program was:" >&5
7466 sed 's/^/| /' conftest.
$ac_ext >&5
7468 ac_header_compiler
=no
7471 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7472 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7473 echo "${ECHO_T}$ac_header_compiler" >&6; }
7475 # Is the header present?
7476 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7477 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7478 cat >conftest.
$ac_ext <<_ACEOF
7481 cat confdefs.h
>>conftest.
$ac_ext
7482 cat >>conftest.
$ac_ext <<_ACEOF
7483 /* end confdefs.h. */
7484 #include <$ac_header>
7486 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7488 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7489 *) ac_try_echo=$ac_try;;
7491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7492 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7494 grep -v '^ *+' conftest.er1 >conftest.err
7496 cat conftest.err >&5
7497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7498 (exit $ac_status); } >/dev/null && {
7499 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7500 test ! -s conftest.err
7502 ac_header_preproc=yes
7504 echo "$as_me: failed program was:" >&5
7505 sed 's/^/| /' conftest.$ac_ext >&5
7507 ac_header_preproc=no
7510 rm -f conftest.err conftest.$ac_ext
7511 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7512 echo "${ECHO_T}$ac_header_preproc" >&6; }
7514 # So? What about this header?
7515 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7517 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7518 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7519 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7520 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7521 ac_header_preproc=yes
7524 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7525 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7526 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7527 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7528 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7529 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7530 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7531 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7532 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7533 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7534 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7535 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7539 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7540 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7541 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7542 echo $ECHO_N "(cached) $ECHO_C" >&6
7544 eval "$as_ac_Header=\$ac_header_preproc"
7546 ac_res=`eval echo '${'$as_ac_Header'}'`
7547 { echo "$as_me:$LINENO: result: $ac_res" >&5
7548 echo "${ECHO_T}$ac_res" >&6; }
7551 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7552 cat >>confdefs.h <<_ACEOF
7553 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7561 for ac_func in getpagesize
7563 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
7564 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7566 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7567 echo $ECHO_N "(cached) $ECHO_C" >&6
7569 cat >conftest.$ac_ext <<_ACEOF
7572 cat confdefs.h >>conftest.$ac_ext
7573 cat >>conftest.$ac_ext <<_ACEOF
7574 /* end confdefs.h. */
7575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7577 #define $ac_func innocuous_$ac_func
7579 /* System header to define __stub macros and hopefully few prototypes,
7580 which can conflict with char $ac_func (); below.
7581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7582 <limits.h> exists even on freestanding compilers. */
7585 # include <limits.h>
7587 # include <assert.h>
7592 /* Override any GCC internal prototype to avoid an error.
7593 Use char because int might match the return type of a GCC
7594 builtin and then its argument prototype would still apply. */
7599 /* The GNU C library defines this for functions which it implements
7600 to always fail with ENOSYS. Some functions are actually named
7601 something starting with __ and the normal name is an alias. */
7602 #if defined __stub_$ac_func || defined __stub___$ac_func
7614 rm -f conftest.$ac_objext conftest$ac_exeext
7615 if { (ac_try="$ac_link"
7617 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7618 *) ac_try_echo
=$ac_try;;
7620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7621 (eval "$ac_link") 2>conftest.er1
7623 grep -v '^ *+' conftest.er1
>conftest.err
7625 cat conftest.err
>&5
7626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7627 (exit $ac_status); } && {
7628 test -z "$ac_c_werror_flag" ||
7629 test ! -s conftest.err
7630 } && test -s conftest
$ac_exeext &&
7631 $as_test_x conftest
$ac_exeext; then
7632 eval "$as_ac_var=yes"
7634 echo "$as_me: failed program was:" >&5
7635 sed 's/^/| /' conftest.
$ac_ext >&5
7637 eval "$as_ac_var=no"
7640 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7641 conftest
$ac_exeext conftest.
$ac_ext
7643 ac_res
=`eval echo '${'$as_ac_var'}'`
7644 { echo "$as_me:$LINENO: result: $ac_res" >&5
7645 echo "${ECHO_T}$ac_res" >&6; }
7646 if test `eval echo '${'$as_ac_var'}'` = yes; then
7647 cat >>confdefs.h
<<_ACEOF
7648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7654 { echo "$as_me:$LINENO: checking for working mmap" >&5
7655 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
7656 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
7657 echo $ECHO_N "(cached) $ECHO_C" >&6
7659 if test "$cross_compiling" = yes; then
7660 ac_cv_func_mmap_fixed_mapped
=no
7662 cat >conftest.
$ac_ext <<_ACEOF
7665 cat confdefs.h
>>conftest.
$ac_ext
7666 cat >>conftest.
$ac_ext <<_ACEOF
7667 /* end confdefs.h. */
7668 $ac_includes_default
7669 /* malloc might have been renamed as rpl_malloc. */
7672 /* Thanks to Mike Haertel and Jim Avera for this test.
7673 Here is a matrix of mmap possibilities:
7674 mmap private not fixed
7675 mmap private fixed at somewhere currently unmapped
7676 mmap private fixed at somewhere already mapped
7677 mmap shared not fixed
7678 mmap shared fixed at somewhere currently unmapped
7679 mmap shared fixed at somewhere already mapped
7680 For private mappings, we should verify that changes cannot be read()
7681 back from the file, nor mmap's back from the file at a different
7682 address. (There have been systems where private was not correctly
7683 implemented like the infamous i386 svr4.0, and systems where the
7684 VM page cache was not coherent with the file system buffer cache
7685 like early versions of FreeBSD and possibly contemporary NetBSD.)
7686 For shared mappings, we should conversely verify that changes get
7687 propagated back to all the places they're supposed to be.
7689 Grep wants private fixed already mapped.
7690 The main things grep needs to know about mmap are:
7691 * does it exist and is it safe to write into the mmap'd area
7692 * how to use it (BSD variants) */
7695 #include <sys/mman.h>
7697 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7701 /* This mess was copied from the GNU getpagesize.h. */
7702 #ifndef HAVE_GETPAGESIZE
7703 /* Assume that all systems that can run configure have sys/param.h. */
7704 # ifndef HAVE_SYS_PARAM_H
7705 # define HAVE_SYS_PARAM_H 1
7708 # ifdef _SC_PAGESIZE
7709 # define getpagesize() sysconf(_SC_PAGESIZE)
7710 # else /* no _SC_PAGESIZE */
7711 # ifdef HAVE_SYS_PARAM_H
7712 # include <sys/param.h>
7713 # ifdef EXEC_PAGESIZE
7714 # define getpagesize() EXEC_PAGESIZE
7715 # else /* no EXEC_PAGESIZE */
7717 # define getpagesize() NBPG * CLSIZE
7720 # endif /* no CLSIZE */
7721 # else /* no NBPG */
7723 # define getpagesize() NBPC
7724 # else /* no NBPC */
7726 # define getpagesize() PAGESIZE
7727 # endif /* PAGESIZE */
7728 # endif /* no NBPC */
7729 # endif /* no NBPG */
7730 # endif /* no EXEC_PAGESIZE */
7731 # else /* no HAVE_SYS_PARAM_H */
7732 # define getpagesize() 8192 /* punt totally */
7733 # endif /* no HAVE_SYS_PARAM_H */
7734 # endif /* no _SC_PAGESIZE */
7736 #endif /* no HAVE_GETPAGESIZE */
7741 char *data, *data2, *data3;
7745 pagesize = getpagesize ();
7747 /* First, make a file with some known garbage in it. */
7748 data = (char *) malloc (pagesize);
7751 for (i = 0; i < pagesize; ++i)
7752 *(data + i) = rand ();
7754 fd = creat ("conftest.mmap", 0600);
7757 if (write (fd, data, pagesize) != pagesize)
7761 /* Next, try to mmap the file at a fixed address which already has
7762 something else allocated at it. If we can, also make sure that
7763 we see the same garbage. */
7764 fd = open ("conftest.mmap", O_RDWR);
7767 data2 = (char *) malloc (2 * pagesize);
7770 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
7771 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7772 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7774 for (i = 0; i < pagesize; ++i)
7775 if (*(data + i) != *(data2 + i))
7778 /* Finally, make sure that changes to the mapped area do not
7779 percolate back to the file as seen by read(). (This is a bug on
7780 some variants of i386 svr4.0.) */
7781 for (i = 0; i < pagesize; ++i)
7782 *(data2 + i) = *(data2 + i) + 1;
7783 data3 = (char *) malloc (pagesize);
7786 if (read (fd, data3, pagesize) != pagesize)
7788 for (i = 0; i < pagesize; ++i)
7789 if (*(data + i) != *(data3 + i))
7795 rm -f conftest
$ac_exeext
7796 if { (ac_try
="$ac_link"
7798 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7799 *) ac_try_echo=$ac_try;;
7801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7802 (eval "$ac_link") 2>&5
7804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7805 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7806 { (case "(($ac_try" in
7807 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7808 *) ac_try_echo
=$ac_try;;
7810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7811 (eval "$ac_try") 2>&5
7813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7814 (exit $ac_status); }; }; then
7815 ac_cv_func_mmap_fixed_mapped
=yes
7817 echo "$as_me: program exited with status $ac_status" >&5
7818 echo "$as_me: failed program was:" >&5
7819 sed 's/^/| /' conftest.
$ac_ext >&5
7822 ac_cv_func_mmap_fixed_mapped
=no
7824 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7829 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
7830 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
7831 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7833 cat >>confdefs.h
<<\_ACEOF
7843 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7844 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7845 aros_config_ldflags
=""
7847 aros_shared_default
=yes
7849 aros_shared_cflags
="-fPIC"
7850 aros_shared_aflags
=""
7851 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7852 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7854 aros_target_ar_flags
="cr"
7855 aros_target_nm_flags
="-C -ul"
7856 aros_target_strip_flags
="--strip-unneeded -R.comment"
7860 aros_target_genmap
="-Wl,-Map -Xlinker"
7862 # Native flavour stuff
7864 aros_serial_debug
="0"
7866 # Palm native flavour stuff
7867 aros_palm_debug_hack
="0"
7869 # Unix flavour stuff
7870 aros_nesting_supervisor
="0"
7872 # Collect-aros stuff: "-ius" to ignore undefined symbols
7873 ignore_undefined_symbols
=""
7875 #-----------------------------------------------------------------------------
7878 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7879 # it switched on by default, and we use the host compiler, so it compiles AROS
7880 # code with this enabled resulting in link failures as we don't have support
7883 # We use two methods to disable it. For the host compiler (used to compile
7884 # some hosted modules), we test to see if the compiler supports stack
7885 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7886 # work on all platforms.
7888 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
7889 # (this is done unconditionally, as it should have no effect on compilers
7890 # without the stack protection feature). This may be specific to the way that
7891 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
7892 # strong enough to disable it in a generic way though, so we'll live with it
7893 # until another vendor ships GCC with it enabled in a different way, and deal
7897 { echo "$as_me:$LINENO: checking whether ${CC} accepts -fno-stack-protector" >&5
7898 echo $ECHO_N "checking whether ${CC} accepts -fno-stack-protector... $ECHO_C" >&6; }
7899 save_cflags
="$CFLAGS"
7900 CFLAGS
="$CFLAGS -fno-stack-protector"
7901 cat >conftest.
$ac_ext <<_ACEOF
7904 cat confdefs.h
>>conftest.
$ac_ext
7905 cat >>conftest.
$ac_ext <<_ACEOF
7906 /* end confdefs.h. */
7916 rm -f conftest.
$ac_objext
7917 if { (ac_try
="$ac_compile"
7919 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7920 *) ac_try_echo=$ac_try;;
7922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7923 (eval "$ac_compile") 2>conftest.er1
7925 grep -v '^ *+' conftest.er1 >conftest.err
7927 cat conftest.err >&5
7928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7929 (exit $ac_status); } && {
7930 test -z "$ac_c_werror_flag" ||
7931 test ! -s conftest.err
7932 } && test -s conftest.$ac_objext; then
7933 use_no_stack_protector="yes"
7935 echo "$as_me: failed program was:" >&5
7936 sed 's/^/| /' conftest.$ac_ext >&5
7938 use_no_stack_protector="no"
7941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7942 { echo "$as_me:$LINENO: result: $use_no_stack_protector" >&5
7943 echo "${ECHO_T}$use_no_stack_protector" >&6; }
7944 if test "x-$use_no_stack_protector" = "x-yes" ; then
7945 aros_host_cflags="$aros_host_cflags -fno-stack-protector"
7947 CFLAGS="$save_cflags"
7950 #-----------------------------------------------------------------------------
7952 # Disable pointer-signedness warnings if the compiler recognises the option
7953 # (this only works for the host compiler at the moment)
7955 { echo "$as_me:$LINENO: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7956 echo $ECHO_N "checking whether ${CC} accepts -Wno-pointer-sign... $ECHO_C" >&6; }
7957 save_cflags="$CFLAGS"
7958 CFLAGS="$CFLAGS -Wno-pointer-sign"
7959 cat >conftest.$ac_ext <<_ACEOF
7962 cat confdefs.h >>conftest.$ac_ext
7963 cat >>conftest.$ac_ext <<_ACEOF
7964 /* end confdefs.h. */
7974 rm -f conftest.$ac_objext
7975 if { (ac_try="$ac_compile"
7977 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7978 *) ac_try_echo
=$ac_try;;
7980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7981 (eval "$ac_compile") 2>conftest.er1
7983 grep -v '^ *+' conftest.er1
>conftest.err
7985 cat conftest.err
>&5
7986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7987 (exit $ac_status); } && {
7988 test -z "$ac_c_werror_flag" ||
7989 test ! -s conftest.err
7990 } && test -s conftest.
$ac_objext; then
7991 use_no_sign_warning
="yes"
7993 echo "$as_me: failed program was:" >&5
7994 sed 's/^/| /' conftest.
$ac_ext >&5
7996 use_no_sign_warning
="no"
7999 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8000 { echo "$as_me:$LINENO: result: $use_no_sign_warning" >&5
8001 echo "${ECHO_T}$use_no_sign_warning" >&6; }
8002 if test "x-$use_no_sign_warning" = "x-yes" ; then
8003 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
8005 CFLAGS
="$save_cflags"
8007 #-----------------------------------------------------------------------------
8009 { echo "$as_me:$LINENO: checking for type of build" >&5
8010 echo $ECHO_N "checking for type of build... $ECHO_C" >&6; }
8011 # Check whether --enable-build_type was given.
8012 if test "${enable_build_type+set}" = set; then
8013 enableval
=$enable_build_type; build_type
=$enableval
8015 build_type
="personal"
8019 if test "$build_type" = "nightly"; then
8020 build_type_string
="NIGHTLY"
8021 elif test "$build_type" = "snapshot"; then
8022 build_type_string
="SNAPSHOT"
8023 elif test "$build_type" = "milestone"; then
8024 build_type_string
="MILESTONE"
8025 elif test "$build_type" = "release"; then
8026 build_type_string
="RELEASE"
8028 build_type_string
="PERSONAL"
8029 build_type
="personal"
8032 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
8034 { echo "$as_me:$LINENO: result: $build_type" >&5
8035 echo "${ECHO_T}$build_type" >&6; }
8037 #-----------------------------------------------------------------------------
8038 all_debug_types
="messages stack mungwall modules symbols"
8040 { echo "$as_me:$LINENO: checking which debug types to enable" >&5
8041 echo $ECHO_N "checking which debug types to enable... $ECHO_C" >&6; }
8042 # Check whether --enable-debug was given.
8043 if test "${enable_debug+set}" = set; then
8044 enableval
=$enable_debug; debug
="$enableval"
8050 if test "$debug" = "" -o "$debug" = "no"; then
8052 elif test "$debug" = "yes"; then
8056 if test "$debug" = "all" ; then
8057 debug
=$all_debug_types
8058 for d
in $all_debug_types; do
8059 export aros_
${d}_debug
="1"
8062 for d
in $all_debug_types; do
8063 export aros_
${d}_debug
="0"
8067 if test "$debug" != "none"; then
8068 debug
=`echo $debug | sed s/,/\ /g`
8071 for d2
in $all_debug_types; do
8072 if test "$d2" = "$d"; then
8077 if test "$found" = "0"; then
8078 { { echo "$as_me:$LINENO: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&5
8079 echo "$as_me: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&2;}
8080 { (exit 1); exit 1; }; }
8082 export aros_
${d}_debug
="1"
8086 { echo "$as_me:$LINENO: result: $debug" >&5
8087 echo "${ECHO_T}$debug" >&6; }
8089 if test "$aros_messages_debug" = "1"; then
8090 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
8092 aros_messages_debug
=""
8094 if test "$aros_symbols_debug" = "1"; then
8095 aros_symbols_debug
="-g"
8097 aros_symbols_debug
=""
8100 # These are the flags to pass when compiling debugged programs
8101 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8102 aros_debug_aflags
=""
8103 aros_debug_ldflags
="$aros_symbols_debug"
8105 #-----------------------------------------------------------------------------
8106 # Checking for distcc and ccache.
8108 # Always apply the transforms in this particular order. Basically you should
8109 # always run 'ccache distcc compiler' in that order for the best performance.
8111 { echo "$as_me:$LINENO: checking whether to enable distcc" >&5
8112 echo $ECHO_N "checking whether to enable distcc... $ECHO_C" >&6; }
8113 # Check whether --enable-distcc was given.
8114 if test "${enable_distcc+set}" = set; then
8115 enableval
=$enable_distcc; distcc
="$enableval"
8120 if test "$distcc" != "" -a "$distcc" != "no"; then
8121 # AC_CHECK_PROG will print out the result in this case
8122 # Extract the first word of "distcc", so it can be a program name with args.
8123 set dummy distcc
; ac_word
=$2
8124 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8125 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8126 if test "${ac_cv_path_DISTCC+set}" = set; then
8127 echo $ECHO_N "(cached) $ECHO_C" >&6
8131 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
8134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8138 test -z "$as_dir" && as_dir
=.
8139 for ac_exec_ext
in '' $ac_executable_extensions; do
8140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8141 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
8142 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8149 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
8153 DISTCC
=$ac_cv_path_DISTCC
8154 if test -n "$DISTCC"; then
8155 { echo "$as_me:$LINENO: result: $DISTCC" >&5
8156 echo "${ECHO_T}$DISTCC" >&6; }
8158 { echo "$as_me:$LINENO: result: no" >&5
8159 echo "${ECHO_T}no" >&6; }
8164 { echo "$as_me:$LINENO: result: no" >&5
8165 echo "${ECHO_T}no" >&6; }
8168 { echo "$as_me:$LINENO: checking whether to enable ccache" >&5
8169 echo $ECHO_N "checking whether to enable ccache... $ECHO_C" >&6; }
8170 # Check whether --enable-ccache was given.
8171 if test "${enable_ccache+set}" = set; then
8172 enableval
=$enable_ccache; ccache
="$enableval"
8177 if test "$ccache" != "" -a "$ccache" != "no"; then
8178 # AC_CHECK_PROG will print out the result in this case
8179 # Extract the first word of "ccache", so it can be a program name with args.
8180 set dummy ccache
; ac_word
=$2
8181 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8183 if test "${ac_cv_prog_CCACHE+set}" = set; then
8184 echo $ECHO_N "(cached) $ECHO_C" >&6
8186 if test -n "$CCACHE"; then
8187 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
8189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8193 test -z "$as_dir" && as_dir
=.
8194 for ac_exec_ext
in '' $ac_executable_extensions; do
8195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8196 ac_cv_prog_CCACHE
="ccache"
8197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8206 CCACHE
=$ac_cv_prog_CCACHE
8207 if test -n "$CCACHE"; then
8208 { echo "$as_me:$LINENO: result: $CCACHE" >&5
8209 echo "${ECHO_T}$CCACHE" >&6; }
8211 { echo "$as_me:$LINENO: result: no" >&5
8212 echo "${ECHO_T}no" >&6; }
8217 { echo "$as_me:$LINENO: result: no" >&5
8218 echo "${ECHO_T}no" >&6; }
8221 #-----------------------------------------------------------------------------
8222 { echo "$as_me:$LINENO: checking what optimization flags to use" >&5
8223 echo $ECHO_N "checking what optimization flags to use... $ECHO_C" >&6; }
8225 # Check whether --with-optimization was given.
8226 if test "${with_optimization+set}" = set; then
8227 withval
=$with_optimization; optimization
="$withval"
8229 optimization
="unknown"
8232 if test "$optimization" = "unknown"; then
8233 if test "$debug" != "none"; then
8239 aros_config_cflags
="$aros_config_cflags $optimization"
8240 { echo "$as_me:$LINENO: result: $optimization" >&5
8241 echo "${ECHO_T}$optimization" >&6; }
8243 #-----------------------------------------------------------------------------
8244 { echo "$as_me:$LINENO: checking what target variant to enable" >&5
8245 echo $ECHO_N "checking what target variant to enable... $ECHO_C" >&6; }
8246 # Check whether --enable-target_variant was given.
8247 if test "${enable_target_variant+set}" = set; then
8248 enableval
=$enable_target_variant; target_variant
=$enableval
8250 target_variant
="none"
8253 if test "$target_variant" = "none"; then
8254 aros_target_variant
=""
8255 aros_target_suffix
=""
8257 aros_target_variant
="$target_variant"
8258 aros_target_suffix
="-$target_variant"
8260 { echo "$as_me:$LINENO: result: $enableval" >&5
8261 echo "${ECHO_T}$enableval" >&6; }
8263 target_bootloader
="none"
8265 #-----------------------------------------------------------------------------
8266 # This is the target configuration switch.
8267 case "$target_os" in
8269 aros_target_arch
="linux"
8270 case "$target_cpu" in
8272 aros_target_cpu
="m68k"
8273 aros_object_format
="m68kelf"
8274 aros_flavour
="emulcompat"
8275 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
8276 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
8277 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
8278 gcc_target_cpu
="mc68000"
8281 aros_target_cpu
="i386"
8282 aros_object_format
="elf_i386"
8283 aros_flavour
="emulation"
8284 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
8285 aros_default_wbdepth
=8
8286 gcc_target_cpu
="i386"
8289 aros_target_cpu
="x86_64"
8290 aros_object_format
="elf_x86_64"
8291 aros_flavour
="emulation"
8292 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
8293 aros_config_cflags
="$aros_config_cflags -mno-red-zone"
8294 aros_default_wbdepth
=8
8295 gcc_target_cpu
="x86_64"
8298 aros_target_cpu
="ppc"
8299 aros_object_format
="elf32ppc"
8300 aros_flavour
="emulation"
8301 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8302 aros_default_wbdepth
=8
8303 gcc_target_cpu
="ppc"
8306 # Same as powerpc, but I need this for the nightly build to work again.
8307 # Actually, the nightly should be made working with powerpc target.
8308 # That just was too much work for the moment, another week or two.
8310 aros_target_cpu
="ppc"
8311 aros_object_format
="elf32ppc"
8312 aros_flavour
="emulation"
8313 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8314 aros_default_wbdepth
=8
8315 gcc_target_cpu
="ppc"
8318 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Linux -- $target_cpu\"" >&5
8319 echo "$as_me: error: \"Unknown CPU for Linux -- $target_cpu\"" >&2;}
8320 { (exit 1); exit 1; }; }
8326 aros_target_arch
="pc"
8327 aros_shared_default
="no"
8328 target_bootloader
="grub"
8329 case "$target_cpu" in
8331 aros_target_cpu
="i386"
8334 if test "$aros_object_format" = "" ; then
8335 aros_object_format
="elf_i386"
8337 aros_flavour
="standalone"
8338 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8339 aros_kernel_ldflags
=""
8340 aros_default_wbwidth
=640
8341 aros_default_wbheight
=480
8342 gcc_target_cpu
="i386"
8345 aros_target_cpu
="x86_64"
8347 if test "$aros_object_format" = "" ; then
8348 aros_object_format
="elf_x86_64"
8350 aros_flavour
="standalone"
8351 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8352 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone"
8353 aros_kernel_ldflags
=""
8354 aros_default_wbwidth
=640
8355 aros_default_wbheight
=480
8356 gcc_target_cpu
="x86_64"
8359 { { echo "$as_me:$LINENO: error: \"Unknown native CPU -- $target_cpu\"" >&5
8360 echo "$as_me: error: \"Unknown native CPU -- $target_cpu\"" >&2;}
8361 { (exit 1); exit 1; }; }
8367 aros_target_arch
="prep"
8368 aros_shared_default
="no"
8369 aros_target_cpu
="ppc"
8370 aros_object_format
="elf32ppc"
8371 aros_flavour
="ppcnative"
8372 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8373 aros_kernel_ldflags
=""
8374 aros_default_wbwidth
=640
8375 aros_default_wbheight
=480
8376 gcc_target_cpu
="ppc"
8380 aros_target_arch
="freebsd"
8381 aros_target_cpu
="i386"
8382 aros_flavour
="emulation"
8383 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8384 gcc_target_cpu
="i386"
8386 aros_target_strip_flags
="-x"
8390 aros_target_arch
="darwin"
8391 aros_flavour
="emulation"
8392 case "$target_cpu" in
8394 aros_target_cpu
="i386"
8395 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8396 gcc_target_cpu
="i386"
8397 aros_object_format
="elf_i386"
8398 aros_target_strip_flags
="-x"
8401 { { echo "$as_me:$LINENO: error: \"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" >&5
8402 echo "$as_me: error: \"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" >&2;}
8403 { (exit 1); exit 1; }; }
8408 aros_target_arch
="netbsd"
8409 case "$target_cpu" in
8411 aros_target_cpu
="m68k"
8412 aros_object_format
="m68kelf"
8413 aros_flavour
="emulcompat"
8414 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8415 gcc_target_cpu
="mc68000"
8418 aros_target_cpu
="i386"
8419 aros_object_format
="elf_i386"
8420 aros_flavour
="emulation"
8421 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8422 aros_default_wbdepth
=8
8423 gcc_target_cpu
="i386"
8426 { { echo "$as_me:$LINENO: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&5
8427 echo "$as_me: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&2;}
8428 { (exit 1); exit 1; }; }
8431 aros_target_genmap
="-Wl,-M -Xlinker >"
8432 aros_flavour
="emulation"
8433 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8437 aros_target_arch
="openbsd"
8438 case "$target_cpu" in
8440 aros_target_cpu
="i386"
8441 aros_object_format
="elf_i386"
8442 aros_flavour
="emulation"
8443 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8444 gcc_target_cpu
="i386"
8447 { { echo "$as_me:$LINENO: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&5
8448 echo "$as_me: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&2;}
8449 { (exit 1); exit 1; }; }
8452 aros_target_genmap
="-Wl,-M -Xlinker >"
8453 aros_target_nm_flags
="-u"
8454 aros_flavour
="emulation"
8458 aros_target_arch
="solaris"
8459 case "$target_cpu" in
8461 aros_target_cpu
="i386"
8462 aros_object_format
="elf_i386"
8463 aros_flavour
="emulation"
8464 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8465 aros_default_wbdepth
=8
8466 gcc_target_cpu
="i386"
8469 aros_target_cpu
="sparc"
8470 aros_object_format
="elf_sparc"
8471 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8472 gcc_target_cpu
="sparc"
8475 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&5
8476 echo "$as_me: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&2;}
8477 { (exit 1); exit 1; }; }
8480 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8481 aros_flavour
="emulation"
8485 aros_target_arch
="morphos"
8486 aros_shared_default
="no"
8487 aros_target_cpu
="ppc"
8488 aros_object_format
="elf_ppc"
8489 aros_flavour
="nativecompat"
8490 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8491 gcc_target_cpu
="ppc"
8495 aros_target_arch
="sam440"
8496 aros_shared_default
="no"
8497 aros_target_cpu
="ppc"
8498 aros_object_format
="elf32ppc"
8499 aros_flavour
="ppcnative"
8500 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8501 aros_kernel_ldflags
=""
8502 aros_default_wbwidth
=640
8503 aros_default_wbheight
=480
8504 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8505 gcc_target_cpu
="powerpc"
8509 aros_target_arch
="amiga"
8510 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8511 aros_shared_default
="no"
8513 aros_config_cflags
="$aros_config_cflags -fomit-frame-pointer -fbuiltin -ffreestanding"
8515 case "$target_cpu" in
8517 aros_target_cpu
="m68k"
8518 aros_object_format
="m68kelf"
8519 aros_flavour
="nativecompat"
8520 gcc_target_cpu
="mc68000"
8524 aros_flavour
="native"
8525 gcc_target_cpu
="ppc"
8528 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Amiga $target_cpu\"" >&5
8529 echo "$as_me: error: \"Unknown CPU for Amiga $target_cpu\"" >&2;}
8530 { (exit 1); exit 1; }; }
8536 aros_target_arch
="cygwin"
8537 aros_shared_default
="no"
8538 case "$target_cpu" in
8540 aros_target_cpu
="i386"
8541 aros_object_format
="elf_i386"
8542 aros_flavour
="emulation"
8543 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__CYGWIN32__"
8544 aros_shared_cflags
=""
8545 aros_default_wbdepth
=8
8546 gcc_target_cpu
="i386"
8547 aros_target_cc
="i386-aros-gcc"
8548 aros_target_ld
="i386-aros-ld"
8549 aros_target_as
="i386-aros-as"
8550 aros_target_ar
="i386-aros-ar"
8551 aros_target_ranlib
="i386-aros-ranlib"
8552 aros_target_nm
="i386-aros-nm"
8553 aros_target_strip
="i386-aros-strip"
8554 aros_target_objcopy
="i386-aros-objcopy"
8555 aros_target_objdump
="i386-aros-objdump"
8558 { { echo "$as_me:$LINENO: error: \"Unknown CPU for CygWin -- $target_cpu\"" >&5
8559 echo "$as_me: error: \"Unknown CPU for CygWin -- $target_cpu\"" >&2;}
8560 { (exit 1); exit 1; }; }
8566 aros_target_arch
="mingw32"
8567 aros_shared_default
="no"
8568 case "$target_cpu" in
8570 aros_target_cpu
="i386"
8571 aros_object_format
="elf_i386"
8572 aros_flavour
="emulation"
8573 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8574 aros_shared_cflags
=""
8575 aros_default_wbdepth
=8
8576 gcc_target_cpu
="i386"
8577 aros_target_cc
="i386-aros-gcc"
8578 aros_target_ld
="i386-aros-ld"
8579 aros_target_as
="i386-aros-as"
8580 aros_target_ar
="i386-aros-ar"
8581 aros_target_ranlib
="i386-aros-ranlib"
8582 aros_target_nm
="i386-aros-nm"
8583 aros_target_strip
="i386-aros-strip"
8584 aros_target_objcopy
="i386-aros-objcopy"
8585 aros_target_objdump
="i386-aros-objdump"
8588 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Mingw32 -- $target_cpu\"" >&5
8589 echo "$as_me: error: \"Unknown CPU for Mingw32 -- $target_cpu\"" >&2;}
8590 { (exit 1); exit 1; }; }
8593 if test $host_os = "cygwin"; then
8594 aros_kernel_cflags
="-mno-cygwin"
8598 aros_target_arch
="pp"
8599 aros_shared_default
="no"
8600 case "$target_cpu" in
8602 aros_target_cpu
="m68k"
8603 aros_object_format
="m68kelf"
8604 aros_flavour
="palmnative"
8605 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8606 aros_kernel_ldflags
=""
8607 aros_default_wbwidth
=160
8608 aros_default_wbheight
=160
8609 aros_default_wbdepth
=1
8610 aros_target_ar_flags
="cru"
8611 aros_compiler_libs
="-lgcc1"
8612 aros_shared_default
=no
8613 aros_shared_cflags
="-fpic"
8614 aros_shared_aflags
=""
8615 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8616 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8617 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
8618 aros_debug_aflags
=""
8619 aros_debug_ldflags
="$aros_symbols_debug"
8620 aros_mungwall_debug
="0"
8621 aros_modules_debug
="0"
8622 gcc_target_cpu
="mc68000"
8623 ignore_undefined_symbols
="-ius"
8626 { { echo "$as_me:$LINENO: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&5
8627 echo "$as_me: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&2;}
8628 { (exit 1); exit 1; }; }
8634 aros_target_arch
="mac"
8635 aros_shared_default
="no"
8636 case "$target_cpu" in
8638 aros_target_cpu
="m68k"
8639 aros_object_format
="m68kelf"
8640 aros_flavour
="mac68knative"
8641 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8642 aros_default_wbwidth
=512
8643 aros_default_wbheight
=384
8644 aros_default_wbdepth
=8
8645 aros_target_ar_flags
="cru"
8646 aros_compiler_libs
="-lgcc1"
8647 aros_shared_default
=no
8648 aros_shared_cflags
="-fpic"
8649 aros_shared_aflags
=""
8650 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8651 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8652 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000"
8653 aros_debug_aflags
=""
8654 aros_debug_ldflags
="$aros_symbols_debug"
8655 aros_mungwall_debug
="0"
8656 aros_modules_debug
="0"
8657 gcc_target_cpu
="mc68000"
8658 ignore_undefined_symbols
="-ius"
8661 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&5
8662 echo "$as_me: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&2;}
8663 { (exit 1); exit 1; }; }
8669 { { echo "$as_me:$LINENO: error: Unsupported target architecture $target" >&5
8670 echo "$as_me: error: Unsupported target architecture $target" >&2;}
8671 { (exit 1); exit 1; }; }
8675 { echo "$as_me:$LINENO: checking Where to download sourcecode for external ports" >&5
8676 echo $ECHO_N "checking Where to download sourcecode for external ports... $ECHO_C" >&6; }
8678 # Check whether --with-portssources was given.
8679 if test "${with_portssources+set}" = set; then
8680 withval
=$with_portssources; with_portssrcdir
=$withval
8682 with_portssrcdir
="default"
8685 if test "$with_portssrcdir" = "default"; then
8686 AROS_PORTSSRCDIR
="$AROS_BUILDDIR/bin/Sources"
8688 AROS_PORTSSRCDIR
="$with_portssrcdir"
8690 { echo "$as_me:$LINENO: result: $AROS_PORTSSRCDIR" >&5
8691 echo "${ECHO_T}$AROS_PORTSSRCDIR" >&6; }
8693 { echo "$as_me:$LINENO: checking which bootloader to use" >&5
8694 echo $ECHO_N "checking which bootloader to use... $ECHO_C" >&6; }
8696 # Check whether --with-bootloader was given.
8697 if test "${with_bootloader+set}" = set; then
8698 withval
=$with_bootloader; target_bootloader
=$withval
8700 target_bootloader
=$target_bootloader
8703 if test "$target_bootloader" = "none"; then
8704 aros_target_bootloader
=""
8706 aros_target_bootloader
="$target_bootloader"
8708 { echo "$as_me:$LINENO: result: $target_bootloader" >&5
8709 echo "${ECHO_T}$target_bootloader" >&6; }
8711 # Check LZO when compiling the grub2 bootloader on i386/x86_64.
8712 aros_liblzo_check
="no"
8713 case "$aros_target_bootloader" in
8715 case "$target_cpu" in
8717 aros_liblzo_check
="yes"
8720 aros_liblzo_check
="yes"
8731 if test "$aros_liblzo_check" = "yes"; then
8732 # There are three possibilities. LZO version 2 installed with the name
8733 # liblzo2, with the name liblzo, and LZO version 1.
8734 { echo "$as_me:$LINENO: checking for __lzo_init_v2 in -llzo2" >&5
8735 echo $ECHO_N "checking for __lzo_init_v2 in -llzo2... $ECHO_C" >&6; }
8736 if test "${ac_cv_lib_lzo2___lzo_init_v2+set}" = set; then
8737 echo $ECHO_N "(cached) $ECHO_C" >&6
8739 ac_check_lib_save_LIBS
=$LIBS
8741 cat >conftest.
$ac_ext <<_ACEOF
8744 cat confdefs.h
>>conftest.
$ac_ext
8745 cat >>conftest.
$ac_ext <<_ACEOF
8746 /* end confdefs.h. */
8748 /* Override any GCC internal prototype to avoid an error.
8749 Use char because int might match the return type of a GCC
8750 builtin and then its argument prototype would still apply. */
8754 char __lzo_init_v2 ();
8758 return __lzo_init_v2 ();
8763 rm -f conftest.
$ac_objext conftest
$ac_exeext
8764 if { (ac_try
="$ac_link"
8766 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8767 *) ac_try_echo=$ac_try;;
8769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8770 (eval "$ac_link") 2>conftest.er1
8772 grep -v '^ *+' conftest.er1 >conftest.err
8774 cat conftest.err >&5
8775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8776 (exit $ac_status); } && {
8777 test -z "$ac_c_werror_flag" ||
8778 test ! -s conftest.err
8779 } && test -s conftest$ac_exeext &&
8780 $as_test_x conftest$ac_exeext; then
8781 ac_cv_lib_lzo2___lzo_init_v2=yes
8783 echo "$as_me: failed program was:" >&5
8784 sed 's/^/| /' conftest.$ac_ext >&5
8786 ac_cv_lib_lzo2___lzo_init_v2=no
8789 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8790 conftest$ac_exeext conftest.$ac_ext
8791 LIBS=$ac_check_lib_save_LIBS
8793 { echo "$as_me:$LINENO: result: $ac_cv_lib_lzo2___lzo_init_v2" >&5
8794 echo "${ECHO_T}$ac_cv_lib_lzo2___lzo_init_v2" >&6; }
8795 if test $ac_cv_lib_lzo2___lzo_init_v2 = yes; then
8798 { echo "$as_me:$LINENO: checking for __lzo_init_v2 in -llzo" >&5
8799 echo $ECHO_N "checking for __lzo_init_v2 in -llzo... $ECHO_C" >&6; }
8800 if test "${ac_cv_lib_lzo___lzo_init_v2+set}" = set; then
8801 echo $ECHO_N "(cached) $ECHO_C" >&6
8803 ac_check_lib_save_LIBS=$LIBS
8805 cat >conftest.$ac_ext <<_ACEOF
8808 cat confdefs.h >>conftest.$ac_ext
8809 cat >>conftest.$ac_ext <<_ACEOF
8810 /* end confdefs.h. */
8812 /* Override any GCC internal prototype to avoid an error.
8813 Use char because int might match the return type of a GCC
8814 builtin and then its argument prototype would still apply. */
8818 char __lzo_init_v2 ();
8822 return __lzo_init_v2 ();
8827 rm -f conftest.$ac_objext conftest$ac_exeext
8828 if { (ac_try="$ac_link"
8830 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8831 *) ac_try_echo
=$ac_try;;
8833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8834 (eval "$ac_link") 2>conftest.er1
8836 grep -v '^ *+' conftest.er1
>conftest.err
8838 cat conftest.err
>&5
8839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8840 (exit $ac_status); } && {
8841 test -z "$ac_c_werror_flag" ||
8842 test ! -s conftest.err
8843 } && test -s conftest
$ac_exeext &&
8844 $as_test_x conftest
$ac_exeext; then
8845 ac_cv_lib_lzo___lzo_init_v2
=yes
8847 echo "$as_me: failed program was:" >&5
8848 sed 's/^/| /' conftest.
$ac_ext >&5
8850 ac_cv_lib_lzo___lzo_init_v2
=no
8853 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8854 conftest
$ac_exeext conftest.
$ac_ext
8855 LIBS
=$ac_check_lib_save_LIBS
8857 { echo "$as_me:$LINENO: result: $ac_cv_lib_lzo___lzo_init_v2" >&5
8858 echo "${ECHO_T}$ac_cv_lib_lzo___lzo_init_v2" >&6; }
8859 if test $ac_cv_lib_lzo___lzo_init_v2 = yes; then
8862 { echo "$as_me:$LINENO: checking for __lzo_init2 in -llzo" >&5
8863 echo $ECHO_N "checking for __lzo_init2 in -llzo... $ECHO_C" >&6; }
8864 if test "${ac_cv_lib_lzo___lzo_init2+set}" = set; then
8865 echo $ECHO_N "(cached) $ECHO_C" >&6
8867 ac_check_lib_save_LIBS
=$LIBS
8869 cat >conftest.
$ac_ext <<_ACEOF
8872 cat confdefs.h
>>conftest.
$ac_ext
8873 cat >>conftest.
$ac_ext <<_ACEOF
8874 /* end confdefs.h. */
8876 /* Override any GCC internal prototype to avoid an error.
8877 Use char because int might match the return type of a GCC
8878 builtin and then its argument prototype would still apply. */
8882 char __lzo_init2 ();
8886 return __lzo_init2 ();
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_lib_lzo___lzo_init2=yes
8911 echo "$as_me: failed program was:" >&5
8912 sed 's/^/| /' conftest.$ac_ext >&5
8914 ac_cv_lib_lzo___lzo_init2=no
8917 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8918 conftest$ac_exeext conftest.$ac_ext
8919 LIBS=$ac_check_lib_save_LIBS
8921 { echo "$as_me:$LINENO: result: $ac_cv_lib_lzo___lzo_init2" >&5
8922 echo "${ECHO_T}$ac_cv_lib_lzo___lzo_init2" >&6; }
8923 if test $ac_cv_lib_lzo___lzo_init2 = yes; then
8926 { { echo "$as_me:$LINENO: error: LZO library version 1.02 or later is required" >&5
8927 echo "$as_me: error: LZO library version 1.02 or later is required" >&2;}
8928 { (exit 1); exit 1; }; }
8937 LIBS="$LIBS $LIBLZO"
8938 { echo "$as_me:$LINENO: checking for lzo1x_999_compress" >&5
8939 echo $ECHO_N "checking for lzo1x_999_compress... $ECHO_C" >&6; }
8940 if test "${ac_cv_func_lzo1x_999_compress+set}" = set; then
8941 echo $ECHO_N "(cached) $ECHO_C" >&6
8943 cat >conftest.$ac_ext <<_ACEOF
8946 cat confdefs.h >>conftest.$ac_ext
8947 cat >>conftest.$ac_ext <<_ACEOF
8948 /* end confdefs.h. */
8949 /* Define lzo1x_999_compress to an innocuous variant, in case <limits.h> declares lzo1x_999_compress.
8950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8951 #define lzo1x_999_compress innocuous_lzo1x_999_compress
8953 /* System header to define __stub macros and hopefully few prototypes,
8954 which can conflict with char lzo1x_999_compress (); below.
8955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8956 <limits.h> exists even on freestanding compilers. */
8959 # include <limits.h>
8961 # include <assert.h>
8964 #undef lzo1x_999_compress
8966 /* Override any GCC internal prototype to avoid an error.
8967 Use char because int might match the return type of a GCC
8968 builtin and then its argument prototype would still apply. */
8972 char lzo1x_999_compress ();
8973 /* The GNU C library defines this for functions which it implements
8974 to always fail with ENOSYS. Some functions are actually named
8975 something starting with __ and the normal name is an alias. */
8976 #if defined __stub_lzo1x_999_compress || defined __stub___lzo1x_999_compress
8983 return lzo1x_999_compress ();
8988 rm -f conftest.$ac_objext conftest$ac_exeext
8989 if { (ac_try="$ac_link"
8991 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8992 *) ac_try_echo
=$ac_try;;
8994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8995 (eval "$ac_link") 2>conftest.er1
8997 grep -v '^ *+' conftest.er1
>conftest.err
8999 cat conftest.err
>&5
9000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9001 (exit $ac_status); } && {
9002 test -z "$ac_c_werror_flag" ||
9003 test ! -s conftest.err
9004 } && test -s conftest
$ac_exeext &&
9005 $as_test_x conftest
$ac_exeext; then
9006 ac_cv_func_lzo1x_999_compress
=yes
9008 echo "$as_me: failed program was:" >&5
9009 sed 's/^/| /' conftest.
$ac_ext >&5
9011 ac_cv_func_lzo1x_999_compress
=no
9014 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9015 conftest
$ac_exeext conftest.
$ac_ext
9017 { echo "$as_me:$LINENO: result: $ac_cv_func_lzo1x_999_compress" >&5
9018 echo "${ECHO_T}$ac_cv_func_lzo1x_999_compress" >&6; }
9019 if test $ac_cv_func_lzo1x_999_compress = yes; then
9022 { { echo "$as_me:$LINENO: error: LZO1X-999 must be enabled" >&5
9023 echo "$as_me: error: LZO1X-999 must be enabled" >&2;}
9024 { (exit 1); exit 1; }; }
9028 # LZO version 2 uses lzo/lzo1x.h, while LZO version 1 uses lzo1x.h.
9031 for ac_header
in lzo
/lzo1x.h lzo1x.h
9033 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9034 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9035 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9036 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9037 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9038 echo $ECHO_N "(cached) $ECHO_C" >&6
9040 ac_res
=`eval echo '${'$as_ac_Header'}'`
9041 { echo "$as_me:$LINENO: result: $ac_res" >&5
9042 echo "${ECHO_T}$ac_res" >&6; }
9044 # Is the header compilable?
9045 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9046 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9047 cat >conftest.
$ac_ext <<_ACEOF
9050 cat confdefs.h
>>conftest.
$ac_ext
9051 cat >>conftest.
$ac_ext <<_ACEOF
9052 /* end confdefs.h. */
9053 $ac_includes_default
9054 #include <$ac_header>
9056 rm -f conftest.
$ac_objext
9057 if { (ac_try
="$ac_compile"
9059 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9060 *) ac_try_echo=$ac_try;;
9062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9063 (eval "$ac_compile") 2>conftest.er1
9065 grep -v '^ *+' conftest.er1 >conftest.err
9067 cat conftest.err >&5
9068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9069 (exit $ac_status); } && {
9070 test -z "$ac_c_werror_flag" ||
9071 test ! -s conftest.err
9072 } && test -s conftest.$ac_objext; then
9073 ac_header_compiler=yes
9075 echo "$as_me: failed program was:" >&5
9076 sed 's/^/| /' conftest.$ac_ext >&5
9078 ac_header_compiler=no
9081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9082 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9083 echo "${ECHO_T}$ac_header_compiler" >&6; }
9085 # Is the header present?
9086 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9087 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9088 cat >conftest.$ac_ext <<_ACEOF
9091 cat confdefs.h >>conftest.$ac_ext
9092 cat >>conftest.$ac_ext <<_ACEOF
9093 /* end confdefs.h. */
9094 #include <$ac_header>
9096 if { (ac_try="$ac_cpp conftest.$ac_ext"
9098 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9099 *) ac_try_echo
=$ac_try;;
9101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9102 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9104 grep -v '^ *+' conftest.er1
>conftest.err
9106 cat conftest.err
>&5
9107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9108 (exit $ac_status); } >/dev
/null
&& {
9109 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9110 test ! -s conftest.err
9112 ac_header_preproc
=yes
9114 echo "$as_me: failed program was:" >&5
9115 sed 's/^/| /' conftest.
$ac_ext >&5
9117 ac_header_preproc
=no
9120 rm -f conftest.err conftest.
$ac_ext
9121 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9122 echo "${ECHO_T}$ac_header_preproc" >&6; }
9124 # So? What about this header?
9125 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9127 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9128 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9129 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9130 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9131 ac_header_preproc
=yes
9134 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9135 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9136 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9137 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9138 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9139 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9140 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9141 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9142 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9143 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9144 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9145 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9149 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9150 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9151 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9152 echo $ECHO_N "(cached) $ECHO_C" >&6
9154 eval "$as_ac_Header=\$ac_header_preproc"
9156 ac_res
=`eval echo '${'$as_ac_Header'}'`
9157 { echo "$as_me:$LINENO: result: $ac_res" >&5
9158 echo "${ECHO_T}$ac_res" >&6; }
9161 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9162 cat >>confdefs.h
<<_ACEOF
9163 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9172 { echo "$as_me:$LINENO: checking which GUI Theme to use" >&5
9173 echo $ECHO_N "checking which GUI Theme to use... $ECHO_C" >&6; }
9175 # Check whether --with-theme was given.
9176 if test "${with_theme+set}" = set; then
9177 withval
=$with_theme; target_guitheme
=$withval
9179 target_guitheme
="default"
9182 if test "$target_guitheme" = "default"; then
9183 aros_target_guitheme
="Ice"
9185 aros_target_guitheme
="$target_guitheme"
9187 { echo "$as_me:$LINENO: result: $aros_target_guitheme" >&5
9188 echo "${ECHO_T}$aros_target_guitheme" >&6; }
9190 # Find out if we are cross-compiling (ie. if we can't use the host compiler
9193 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
9196 if test "$aros_host_arch" == "darwin" ; then
9200 # Set prefix for target compiler etc. if we're cross-compiling
9201 # (should possibly be earlier but needs to be after AC_PROG_CC)
9202 if test "$cross_compiling" = "yes" ; then
9203 target_tool_prefix
=${target_cpu}-elf-
9204 CC
=${target_tool_prefix}gcc
9207 # Find all the tools we need to compile. This could be cross-compiling
9208 # though! If that is the case we use the GNU form of the target and
9209 # simply add this to the front of the binary name. This is rather simple,
9210 # but it should work under most circumstances.
9212 # The default tools are to use the same as the host, but only if the
9213 # host and target CPU are the same. With GCC this is normally enough.
9217 aros_shared_ld
="$aros_host_ld"
9219 aros_target_mkdep
="$aros_host_mkdep"
9220 aros_target_incl_def
="$aros_host_incl"
9222 # Extract the first word of "$CC", so it can be a program name with args.
9223 set dummy
$CC; ac_word
=$2
9224 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9226 if test "${ac_cv_path_aros_kernel_cc+set}" = set; then
9227 echo $ECHO_N "(cached) $ECHO_C" >&6
9229 case $aros_kernel_cc in
9231 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9238 test -z "$as_dir" && as_dir
=.
9239 for ac_exec_ext
in '' $ac_executable_extensions; do
9240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9241 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9252 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9253 if test -n "$aros_kernel_cc"; then
9254 { echo "$as_me:$LINENO: result: $aros_kernel_cc" >&5
9255 echo "${ECHO_T}$aros_kernel_cc" >&6; }
9257 { echo "$as_me:$LINENO: result: no" >&5
9258 echo "${ECHO_T}no" >&6; }
9263 # The default tools executables to be linked to.
9264 if test "$aros_target_cc" != ""; then
9265 # Extract the first word of "$aros_target_cc", so it can be a program name with args.
9266 set dummy
$aros_target_cc; ac_word
=$2
9267 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9269 if test "${ac_cv_path_aros_target_cc+set}" = set; then
9270 echo $ECHO_N "(cached) $ECHO_C" >&6
9272 case $aros_target_cc in
9274 ac_cv_path_aros_target_cc
="$aros_target_cc" # Let the user override the test with a path.
9277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9281 test -z "$as_dir" && as_dir
=.
9282 for ac_exec_ext
in '' $ac_executable_extensions; do
9283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9284 ac_cv_path_aros_target_cc
="$as_dir/$ac_word$ac_exec_ext"
9285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9295 aros_target_cc
=$ac_cv_path_aros_target_cc
9296 if test -n "$aros_target_cc"; then
9297 { echo "$as_me:$LINENO: result: $aros_target_cc" >&5
9298 echo "${ECHO_T}$aros_target_cc" >&6; }
9300 { echo "$as_me:$LINENO: result: no" >&5
9301 echo "${ECHO_T}no" >&6; }
9305 if test "$aros_target_cc" = ""; then
9306 { { echo "$as_me:$LINENO: error: gcc is required to build AROS. Please install and run configure again." >&5
9307 echo "$as_me: error: gcc is required to build AROS. Please install and run configure again." >&2;}
9308 { (exit 1); exit 1; }; }
9311 if test "$aros_target_ld" != ""; then
9312 # Extract the first word of "$aros_target_ld", so it can be a program name with args.
9313 set dummy
$aros_target_ld; ac_word
=$2
9314 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9316 if test "${ac_cv_path_aros_target_ld+set}" = set; then
9317 echo $ECHO_N "(cached) $ECHO_C" >&6
9319 case $aros_target_ld in
9321 ac_cv_path_aros_target_ld
="$aros_target_ld" # Let the user override the test with a path.
9324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9328 test -z "$as_dir" && as_dir
=.
9329 for ac_exec_ext
in '' $ac_executable_extensions; do
9330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9331 ac_cv_path_aros_target_ld
="$as_dir/$ac_word$ac_exec_ext"
9332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9342 aros_target_ld
=$ac_cv_path_aros_target_ld
9343 if test -n "$aros_target_ld"; then
9344 { echo "$as_me:$LINENO: result: $aros_target_ld" >&5
9345 echo "${ECHO_T}$aros_target_ld" >&6; }
9347 { echo "$as_me:$LINENO: result: no" >&5
9348 echo "${ECHO_T}no" >&6; }
9352 if test "$aros_target_ld" = ""; then
9353 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
9354 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
9355 { (exit 1); exit 1; }; }
9359 if test "$aros_target_as" = ""; then
9360 if test "$cross_compiling" = "yes" ; then
9361 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
9362 set dummy
${target_tool_prefix}as
; ac_word
=$2
9363 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9365 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9366 echo $ECHO_N "(cached) $ECHO_C" >&6
9368 case $aros_target_as_ln in
9370 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
9373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9377 test -z "$as_dir" && as_dir
=.
9378 for ac_exec_ext
in '' $ac_executable_extensions; do
9379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9380 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
9381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9391 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
9392 if test -n "$aros_target_as_ln"; then
9393 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9394 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9396 { echo "$as_me:$LINENO: result: no" >&5
9397 echo "${ECHO_T}no" >&6; }
9402 if test "$GCC" = "yes"; then
9403 aros_gcc_as
=`$CC -print-prog-name=as`
9404 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
9405 set dummy
`basename $aros_gcc_as`; ac_word
=$2
9406 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9408 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9409 echo $ECHO_N "(cached) $ECHO_C" >&6
9411 case $aros_target_as_ln in
9413 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
9416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9417 for as_dir
in `dirname $aros_gcc_as`
9420 test -z "$as_dir" && as_dir
=.
9421 for ac_exec_ext
in '' $ac_executable_extensions; do
9422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9423 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
9424 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9434 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
9435 if test -n "$aros_target_as_ln"; then
9436 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9437 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9439 { echo "$as_me:$LINENO: result: no" >&5
9440 echo "${ECHO_T}no" >&6; }
9445 if test "$aros_target_as_ln" = ""; then
9446 # Extract the first word of "as", so it can be a program name with args.
9447 set dummy as
; ac_word
=$2
9448 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9449 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9450 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9451 echo $ECHO_N "(cached) $ECHO_C" >&6
9453 case $aros_target_as_ln in
9455 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
9458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9462 test -z "$as_dir" && as_dir
=.
9463 for ac_exec_ext
in '' $ac_executable_extensions; do
9464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9465 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
9466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9476 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
9477 if test -n "$aros_target_as_ln"; then
9478 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9479 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9481 { echo "$as_me:$LINENO: result: no" >&5
9482 echo "${ECHO_T}no" >&6; }
9489 # Extract the first word of "$aros_target_as", so it can be a program name with args.
9490 set dummy
$aros_target_as; ac_word
=$2
9491 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9493 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9494 echo $ECHO_N "(cached) $ECHO_C" >&6
9496 case $aros_target_as_ln in
9498 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
9501 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9505 test -z "$as_dir" && as_dir
=.
9506 for ac_exec_ext
in '' $ac_executable_extensions; do
9507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9508 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
9509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9519 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
9520 if test -n "$aros_target_as_ln"; then
9521 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9522 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9524 { echo "$as_me:$LINENO: result: no" >&5
9525 echo "${ECHO_T}no" >&6; }
9531 if test "$aros_target_as_ln" = ""; then
9532 { { echo "$as_me:$LINENO: error: as is required to build AROS. Please install and run configure again." >&5
9533 echo "$as_me: error: as is required to build AROS. Please install and run configure again." >&2;}
9534 { (exit 1); exit 1; }; }
9537 if test "$aros_kernel_ld" = ""; then
9538 if test "$cross_compiling" = "yes" ; then
9539 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
9540 set dummy
${target_tool_prefix}ld
; ac_word
=$2
9541 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9543 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9544 echo $ECHO_N "(cached) $ECHO_C" >&6
9546 case $aros_kernel_ld in
9548 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9555 test -z "$as_dir" && as_dir
=.
9556 for ac_exec_ext
in '' $ac_executable_extensions; do
9557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9558 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9569 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9570 if test -n "$aros_kernel_ld"; then
9571 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9572 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9574 { echo "$as_me:$LINENO: result: no" >&5
9575 echo "${ECHO_T}no" >&6; }
9580 if test "$GCC" = "yes"; then
9581 aros_gcc_ld
=`$CC -print-prog-name=ld`
9582 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
9583 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
9584 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9586 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9587 echo $ECHO_N "(cached) $ECHO_C" >&6
9589 case $aros_kernel_ld in
9591 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9595 for as_dir
in `dirname $aros_gcc_ld`
9598 test -z "$as_dir" && as_dir
=.
9599 for ac_exec_ext
in '' $ac_executable_extensions; do
9600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9601 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9612 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9613 if test -n "$aros_kernel_ld"; then
9614 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9615 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9617 { echo "$as_me:$LINENO: result: no" >&5
9618 echo "${ECHO_T}no" >&6; }
9623 if test "$aros_kernel_ld" = ""; then
9624 # Extract the first word of "ld", so it can be a program name with args.
9625 set dummy ld
; ac_word
=$2
9626 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9628 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9629 echo $ECHO_N "(cached) $ECHO_C" >&6
9631 case $aros_kernel_ld in
9633 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9640 test -z "$as_dir" && as_dir
=.
9641 for ac_exec_ext
in '' $ac_executable_extensions; do
9642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9643 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9654 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9655 if test -n "$aros_kernel_ld"; then
9656 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9657 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9659 { echo "$as_me:$LINENO: result: no" >&5
9660 echo "${ECHO_T}no" >&6; }
9667 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
9668 set dummy
$aros_kernel_ld; ac_word
=$2
9669 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9671 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9672 echo $ECHO_N "(cached) $ECHO_C" >&6
9674 case $aros_kernel_ld in
9676 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9683 test -z "$as_dir" && as_dir
=.
9684 for ac_exec_ext
in '' $ac_executable_extensions; do
9685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9686 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9687 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9697 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9698 if test -n "$aros_kernel_ld"; then
9699 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9700 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9702 { echo "$as_me:$LINENO: result: no" >&5
9703 echo "${ECHO_T}no" >&6; }
9709 if test "$aros_kernel_ld" = ""; then
9710 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
9711 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
9712 { (exit 1); exit 1; }; }
9715 if test "$aros_target_ar" = ""; then
9716 if test "$cross_compiling" = "yes" ; then
9717 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
9718 set dummy
${target_tool_prefix}ar; ac_word
=$2
9719 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9721 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9722 echo $ECHO_N "(cached) $ECHO_C" >&6
9724 case $aros_target_ar_ln in
9726 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9733 test -z "$as_dir" && as_dir
=.
9734 for ac_exec_ext
in '' $ac_executable_extensions; do
9735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9736 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9747 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9748 if test -n "$aros_target_ar_ln"; then
9749 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9750 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9752 { echo "$as_me:$LINENO: result: no" >&5
9753 echo "${ECHO_T}no" >&6; }
9758 if test "$GCC" = "yes"; then
9759 aros_gcc_ar
=`$CC -print-prog-name=ar`
9760 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9761 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
9762 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9764 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9765 echo $ECHO_N "(cached) $ECHO_C" >&6
9767 case $aros_target_ar_ln in
9769 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9773 for as_dir
in `dirname $aros_gcc_ar`
9776 test -z "$as_dir" && as_dir
=.
9777 for ac_exec_ext
in '' $ac_executable_extensions; do
9778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9779 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9790 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9791 if test -n "$aros_target_ar_ln"; then
9792 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9793 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9795 { echo "$as_me:$LINENO: result: no" >&5
9796 echo "${ECHO_T}no" >&6; }
9801 if test "$aros_target_ar_ln" = ""; then
9802 # Extract the first word of "ar", so it can be a program name with args.
9803 set dummy
ar; ac_word
=$2
9804 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9806 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9807 echo $ECHO_N "(cached) $ECHO_C" >&6
9809 case $aros_target_ar_ln in
9811 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9818 test -z "$as_dir" && as_dir
=.
9819 for ac_exec_ext
in '' $ac_executable_extensions; do
9820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9821 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9832 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9833 if test -n "$aros_target_ar_ln"; then
9834 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9835 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9837 { echo "$as_me:$LINENO: result: no" >&5
9838 echo "${ECHO_T}no" >&6; }
9845 # Extract the first word of "$aros_target_ar", so it can be a program name with args.
9846 set dummy
$aros_target_ar; ac_word
=$2
9847 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9849 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9850 echo $ECHO_N "(cached) $ECHO_C" >&6
9852 case $aros_target_ar_ln in
9854 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9861 test -z "$as_dir" && as_dir
=.
9862 for ac_exec_ext
in '' $ac_executable_extensions; do
9863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9864 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9875 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9876 if test -n "$aros_target_ar_ln"; then
9877 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9878 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9880 { echo "$as_me:$LINENO: result: no" >&5
9881 echo "${ECHO_T}no" >&6; }
9887 if test "$aros_target_ar_ln" = ""; then
9888 { { echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
9889 echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
9890 { (exit 1); exit 1; }; }
9893 if test "$aros_target_nm" = ""; then
9894 if test "$cross_compiling" = "yes" ; then
9895 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
9896 set dummy
${target_tool_prefix}nm
; ac_word
=$2
9897 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9899 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
9900 echo $ECHO_N "(cached) $ECHO_C" >&6
9902 case $aros_target_nm_ln in
9904 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9907 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9911 test -z "$as_dir" && as_dir
=.
9912 for ac_exec_ext
in '' $ac_executable_extensions; do
9913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9914 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9915 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9925 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9926 if test -n "$aros_target_nm_ln"; then
9927 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
9928 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
9930 { echo "$as_me:$LINENO: result: no" >&5
9931 echo "${ECHO_T}no" >&6; }
9936 if test "$GCC" = "yes"; then
9937 aros_gcc_nm
=`$CC -print-prog-name=nm`
9938 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
9939 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
9940 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9942 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
9943 echo $ECHO_N "(cached) $ECHO_C" >&6
9945 case $aros_target_nm_ln in
9947 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9951 for as_dir
in `dirname $aros_gcc_nm`
9954 test -z "$as_dir" && as_dir
=.
9955 for ac_exec_ext
in '' $ac_executable_extensions; do
9956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9957 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9968 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9969 if test -n "$aros_target_nm_ln"; then
9970 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
9971 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
9973 { echo "$as_me:$LINENO: result: no" >&5
9974 echo "${ECHO_T}no" >&6; }
9979 if test "$aros_target_nm_ln" = ""; then
9980 # Extract the first word of "nm", so it can be a program name with args.
9981 set dummy nm
; ac_word
=$2
9982 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9984 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
9985 echo $ECHO_N "(cached) $ECHO_C" >&6
9987 case $aros_target_nm_ln in
9989 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9992 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9996 test -z "$as_dir" && as_dir
=.
9997 for ac_exec_ext
in '' $ac_executable_extensions; do
9998 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9999 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
10000 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10010 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
10011 if test -n "$aros_target_nm_ln"; then
10012 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10013 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
10015 { echo "$as_me:$LINENO: result: no" >&5
10016 echo "${ECHO_T}no" >&6; }
10023 # Extract the first word of "$aros_target_nm", so it can be a program name with args.
10024 set dummy
$aros_target_nm; ac_word
=$2
10025 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10027 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
10028 echo $ECHO_N "(cached) $ECHO_C" >&6
10030 case $aros_target_nm_ln in
10032 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
10035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10036 for as_dir
in $PATH
10039 test -z "$as_dir" && as_dir
=.
10040 for ac_exec_ext
in '' $ac_executable_extensions; do
10041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10042 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
10043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10053 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
10054 if test -n "$aros_target_nm_ln"; then
10055 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10056 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
10058 { echo "$as_me:$LINENO: result: no" >&5
10059 echo "${ECHO_T}no" >&6; }
10065 if test "$aros_target_nm_ln" = ""; then
10066 { { echo "$as_me:$LINENO: error: nm is required to build AROS. Please install and run configure again." >&5
10067 echo "$as_me: error: nm is required to build AROS. Please install and run configure again." >&2;}
10068 { (exit 1); exit 1; }; }
10071 if test "$aros_target_objcopy" = ""; then
10072 if test "$cross_compiling" = "yes" ; then
10073 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
10074 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
10075 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10077 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10078 echo $ECHO_N "(cached) $ECHO_C" >&6
10080 case $aros_target_objcopy_ln in
10082 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
10085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10086 for as_dir
in $PATH
10089 test -z "$as_dir" && as_dir
=.
10090 for ac_exec_ext
in '' $ac_executable_extensions; do
10091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10092 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
10093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10103 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
10104 if test -n "$aros_target_objcopy_ln"; then
10105 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10106 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
10108 { echo "$as_me:$LINENO: result: no" >&5
10109 echo "${ECHO_T}no" >&6; }
10114 if test "$GCC" = "yes"; then
10115 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
10116 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
10117 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
10118 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10120 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10121 echo $ECHO_N "(cached) $ECHO_C" >&6
10123 case $aros_target_objcopy_ln in
10125 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
10128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10129 for as_dir
in `dirname $aros_gcc_objcopy`
10132 test -z "$as_dir" && as_dir
=.
10133 for ac_exec_ext
in '' $ac_executable_extensions; do
10134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10135 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
10136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10146 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
10147 if test -n "$aros_target_objcopy_ln"; then
10148 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10149 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
10151 { echo "$as_me:$LINENO: result: no" >&5
10152 echo "${ECHO_T}no" >&6; }
10157 if test "$aros_target_objcopy_ln" = ""; then
10158 # Extract the first word of "objcopy", so it can be a program name with args.
10159 set dummy objcopy
; ac_word
=$2
10160 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10162 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10163 echo $ECHO_N "(cached) $ECHO_C" >&6
10165 case $aros_target_objcopy_ln in
10167 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
10170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10171 for as_dir
in $PATH
10174 test -z "$as_dir" && as_dir
=.
10175 for ac_exec_ext
in '' $ac_executable_extensions; do
10176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10177 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
10178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10188 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
10189 if test -n "$aros_target_objcopy_ln"; then
10190 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10191 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
10193 { echo "$as_me:$LINENO: result: no" >&5
10194 echo "${ECHO_T}no" >&6; }
10201 # Extract the first word of "$aros_target_objcopy", so it can be a program name with args.
10202 set dummy
$aros_target_objcopy; ac_word
=$2
10203 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10204 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10205 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10206 echo $ECHO_N "(cached) $ECHO_C" >&6
10208 case $aros_target_objcopy_ln in
10210 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
10213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10214 for as_dir
in $PATH
10217 test -z "$as_dir" && as_dir
=.
10218 for ac_exec_ext
in '' $ac_executable_extensions; do
10219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10220 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
10221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10231 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
10232 if test -n "$aros_target_objcopy_ln"; then
10233 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10234 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
10236 { echo "$as_me:$LINENO: result: no" >&5
10237 echo "${ECHO_T}no" >&6; }
10243 if test "$aros_target_objcopy_ln" = ""; then
10244 { { echo "$as_me:$LINENO: error: objcopy is required to build AROS. Please install and run configure again." >&5
10245 echo "$as_me: error: objcopy is required to build AROS. Please install and run configure again." >&2;}
10246 { (exit 1); exit 1; }; }
10249 if test "$aros_target_objdump" = ""; then
10250 if test "$cross_compiling" = "yes" ; then
10251 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
10252 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
10253 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10255 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10256 echo $ECHO_N "(cached) $ECHO_C" >&6
10258 case $aros_target_objdump_ln in
10260 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
10263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10264 for as_dir
in $PATH
10267 test -z "$as_dir" && as_dir
=.
10268 for ac_exec_ext
in '' $ac_executable_extensions; do
10269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10270 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
10271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10281 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
10282 if test -n "$aros_target_objdump_ln"; then
10283 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10284 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
10286 { echo "$as_me:$LINENO: result: no" >&5
10287 echo "${ECHO_T}no" >&6; }
10292 if test "$GCC" = "yes"; then
10293 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
10294 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
10295 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
10296 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10298 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10299 echo $ECHO_N "(cached) $ECHO_C" >&6
10301 case $aros_target_objdump_ln in
10303 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
10306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10307 for as_dir
in `dirname $aros_gcc_objdump`
10310 test -z "$as_dir" && as_dir
=.
10311 for ac_exec_ext
in '' $ac_executable_extensions; do
10312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10313 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
10314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10324 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
10325 if test -n "$aros_target_objdump_ln"; then
10326 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10327 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
10329 { echo "$as_me:$LINENO: result: no" >&5
10330 echo "${ECHO_T}no" >&6; }
10335 if test "$aros_target_objdump_ln" = ""; then
10336 # Extract the first word of "objdump", so it can be a program name with args.
10337 set dummy objdump
; ac_word
=$2
10338 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10340 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10341 echo $ECHO_N "(cached) $ECHO_C" >&6
10343 case $aros_target_objdump_ln in
10345 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
10348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10349 for as_dir
in $PATH
10352 test -z "$as_dir" && as_dir
=.
10353 for ac_exec_ext
in '' $ac_executable_extensions; do
10354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10355 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
10356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10366 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
10367 if test -n "$aros_target_objdump_ln"; then
10368 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10369 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
10371 { echo "$as_me:$LINENO: result: no" >&5
10372 echo "${ECHO_T}no" >&6; }
10379 # Extract the first word of "$aros_target_objdump", so it can be a program name with args.
10380 set dummy
$aros_target_objdump; ac_word
=$2
10381 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10383 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10384 echo $ECHO_N "(cached) $ECHO_C" >&6
10386 case $aros_target_objdump_ln in
10388 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
10391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10392 for as_dir
in $PATH
10395 test -z "$as_dir" && as_dir
=.
10396 for ac_exec_ext
in '' $ac_executable_extensions; do
10397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10398 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
10399 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10409 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
10410 if test -n "$aros_target_objdump_ln"; then
10411 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10412 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
10414 { echo "$as_me:$LINENO: result: no" >&5
10415 echo "${ECHO_T}no" >&6; }
10421 if test "$aros_target_objdump_ln" = ""; then
10422 { { echo "$as_me:$LINENO: error: objdump is required to build AROS. Please install and run configure again." >&5
10423 echo "$as_me: error: objdump is required to build AROS. Please install and run configure again." >&2;}
10424 { (exit 1); exit 1; }; }
10427 if test "$aros_target_ranlib" = ""; then
10428 if test "$cross_compiling" = "yes" ; then
10429 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
10430 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
10431 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10433 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10434 echo $ECHO_N "(cached) $ECHO_C" >&6
10436 case $aros_target_ranlib_ln in
10438 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
10441 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10442 for as_dir
in $PATH
10445 test -z "$as_dir" && as_dir
=.
10446 for ac_exec_ext
in '' $ac_executable_extensions; do
10447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10448 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
10449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10459 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
10460 if test -n "$aros_target_ranlib_ln"; then
10461 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10462 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10464 { echo "$as_me:$LINENO: result: no" >&5
10465 echo "${ECHO_T}no" >&6; }
10470 if test "$GCC" = "yes"; then
10471 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
10472 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
10473 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
10474 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10475 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10476 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10477 echo $ECHO_N "(cached) $ECHO_C" >&6
10479 case $aros_target_ranlib_ln in
10481 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
10484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10485 for as_dir
in `dirname $aros_gcc_ranlib`
10488 test -z "$as_dir" && as_dir
=.
10489 for ac_exec_ext
in '' $ac_executable_extensions; do
10490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10491 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
10492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10502 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
10503 if test -n "$aros_target_ranlib_ln"; then
10504 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10505 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10507 { echo "$as_me:$LINENO: result: no" >&5
10508 echo "${ECHO_T}no" >&6; }
10513 if test "$aros_target_ranlib_ln" = ""; then
10514 # Extract the first word of "ranlib", so it can be a program name with args.
10515 set dummy ranlib
; ac_word
=$2
10516 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10517 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10518 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10519 echo $ECHO_N "(cached) $ECHO_C" >&6
10521 case $aros_target_ranlib_ln in
10523 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
10526 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10527 for as_dir
in $PATH
10530 test -z "$as_dir" && as_dir
=.
10531 for ac_exec_ext
in '' $ac_executable_extensions; do
10532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10533 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
10534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10544 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
10545 if test -n "$aros_target_ranlib_ln"; then
10546 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10547 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10549 { echo "$as_me:$LINENO: result: no" >&5
10550 echo "${ECHO_T}no" >&6; }
10557 # Extract the first word of "$aros_target_ranlib", so it can be a program name with args.
10558 set dummy
$aros_target_ranlib; ac_word
=$2
10559 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10561 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10562 echo $ECHO_N "(cached) $ECHO_C" >&6
10564 case $aros_target_ranlib_ln in
10566 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
10569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10570 for as_dir
in $PATH
10573 test -z "$as_dir" && as_dir
=.
10574 for ac_exec_ext
in '' $ac_executable_extensions; do
10575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10576 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
10577 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10587 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
10588 if test -n "$aros_target_ranlib_ln"; then
10589 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10590 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10592 { echo "$as_me:$LINENO: result: no" >&5
10593 echo "${ECHO_T}no" >&6; }
10599 if test "$aros_target_ranlib_ln" = ""; then
10600 { { echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
10601 echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
10602 { (exit 1); exit 1; }; }
10605 if test "$aros_target_strip" = ""; then
10606 if test "$cross_compiling" = "yes" ; then
10607 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
10608 set dummy
${target_tool_prefix}strip
; ac_word
=$2
10609 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10611 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10612 echo $ECHO_N "(cached) $ECHO_C" >&6
10614 case $aros_target_strip_ln in
10616 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
10619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10620 for as_dir
in $PATH
10623 test -z "$as_dir" && as_dir
=.
10624 for ac_exec_ext
in '' $ac_executable_extensions; do
10625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10626 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
10627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10637 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
10638 if test -n "$aros_target_strip_ln"; then
10639 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10640 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10642 { echo "$as_me:$LINENO: result: no" >&5
10643 echo "${ECHO_T}no" >&6; }
10648 if test "$GCC" = "yes"; then
10649 aros_gcc_strip
=`$CC -print-prog-name=strip`
10650 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
10651 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
10652 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10654 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10655 echo $ECHO_N "(cached) $ECHO_C" >&6
10657 case $aros_target_strip_ln in
10659 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
10662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10663 for as_dir
in `dirname $aros_gcc_strip`
10666 test -z "$as_dir" && as_dir
=.
10667 for ac_exec_ext
in '' $ac_executable_extensions; do
10668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10669 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
10670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10680 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
10681 if test -n "$aros_target_strip_ln"; then
10682 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10683 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10685 { echo "$as_me:$LINENO: result: no" >&5
10686 echo "${ECHO_T}no" >&6; }
10691 if test "$aros_target_strip_ln" = ""; then
10692 # Extract the first word of "strip", so it can be a program name with args.
10693 set dummy strip
; ac_word
=$2
10694 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10696 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10697 echo $ECHO_N "(cached) $ECHO_C" >&6
10699 case $aros_target_strip_ln in
10701 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
10704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10705 for as_dir
in $PATH
10708 test -z "$as_dir" && as_dir
=.
10709 for ac_exec_ext
in '' $ac_executable_extensions; do
10710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10711 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
10712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10722 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
10723 if test -n "$aros_target_strip_ln"; then
10724 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10725 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10727 { echo "$as_me:$LINENO: result: no" >&5
10728 echo "${ECHO_T}no" >&6; }
10735 # Extract the first word of "$aros_target_strip", so it can be a program name with args.
10736 set dummy
$aros_target_strip; ac_word
=$2
10737 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10738 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10739 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10740 echo $ECHO_N "(cached) $ECHO_C" >&6
10742 case $aros_target_strip_ln in
10744 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
10747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10748 for as_dir
in $PATH
10751 test -z "$as_dir" && as_dir
=.
10752 for ac_exec_ext
in '' $ac_executable_extensions; do
10753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10754 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
10755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10765 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
10766 if test -n "$aros_target_strip_ln"; then
10767 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10768 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10770 { echo "$as_me:$LINENO: result: no" >&5
10771 echo "${ECHO_T}no" >&6; }
10777 if test "$aros_target_strip_ln" = ""; then
10778 { { echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
10779 echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
10780 { (exit 1); exit 1; }; }
10783 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
10784 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
10785 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
10786 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
10787 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
10788 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
10789 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
10791 # aros_cc_pre is a variable that is added to the front of the compiler name
10792 # in the generated aros-gcc shell script. We need this to enable the cache
10793 # to work across cleaned builds. Also, support DISTCC using the correct
10794 # environment variable.
10797 if test "x${DISTCC}" != "x" ; then
10798 if test "x${CCACHE}" != "x" ; then
10799 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
10801 aros_cc_pre
="${DISTCC} "
10804 if test "x${CCACHE}" != "x" ; then
10805 aros_cc_pre
="${CCACHE} "
10809 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
10811 aros_target_nostdinc_cflags
=-nostdinc
10813 aros_target_nostartup_ldflags
=-nostartfiles
10815 aros_target_nix_ldflags
=-nix
10817 aros_target_detach_ldflags
=-detach
10819 aros_target_nostdlib_ldflags
=-nostdlib
10823 if test "$aros_target_cc" = ""; then
10824 orig_target_cc
=$aros_kernel_cc
10826 orig_target_cc
=$aros_target_cc
10828 if test "$aros_target_ld" = ""; then
10829 orig_target_ld
=$aros_kernel_ld
10831 orig_target_ld
=$aros_target_ld
10833 if test "$GCC" = "yes"; then
10834 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
10836 aros_target_cc
="${prefix}-gcc"
10837 aros_target_as
="${prefix}-as"
10838 aros_target_ld
="${prefix}-ld"
10839 aros_target_ar
="${prefix}-ar $aros_target_ar_flags"
10840 aros_target_objcopy
=${prefix}-objcopy
10841 aros_target_objdump
=${prefix}-objdump
10842 aros_target_ranlib
="${prefix}-ranlib $aros_target_ranlib_flags"
10843 aros_target_nm
="${prefix}-nm $aros_target_nm_flags"
10844 aros_kernel_nm
="${prefix}-nm"
10845 aros_target_strip
=${prefix}-strip
10847 # Find the system include path. We can suggest that an alternative is
10848 # used if we don't get it correct. The default is to use /usr/include.
10849 # Which is set in the aros_target_incl_def variable.
10851 # Check whether --enable-includes was given.
10852 if test "${enable_includes+set}" = set; then
10853 enableval
=$enable_includes; aros_target_incl
=$enable_includes
10855 aros_target_incl
=$aros_target_incl_def
10859 { echo "$as_me:$LINENO: checking for the target compiler's include path" >&5
10860 echo $ECHO_N "checking for the target compiler's include path... $ECHO_C" >&6; }
10861 if test "$aros_target_cc_includes" = "" ; then
10862 #try to guess where the directory is
10863 aros_target_cc_includes
=`dirname \`${aros_kernel_cc} -print-libgcc-file-name\
``/include
10864 if ! test -d $aros_target_cc_includes; then
10865 #the directory doesn't exist, we need to do some more work
10866 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
10868 #these are the headers we're looling for
10869 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
10870 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
10874 for h
in $headers; do
10875 #which other headers each of the above headers needs?
10876 deps
=$
(echo "#include <$h>" | \
10877 $aros_host_cc -E -M - 2>/dev
/null | \
10878 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
10880 #copy all the needed headers to a directory beneath gendir
10883 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
10884 sed -n "s,^.*/include\(/.*\),\1,p")
10885 ! test -d $dir && mkdir
-p $dir
10886 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
10891 { echo "$as_me:$LINENO: result: $aros_target_cc_includes" >&5
10892 echo "${ECHO_T}$aros_target_cc_includes" >&6; }
10895 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
10896 # On GCC >= 4.0 -iquote should be used
10900 save_cflags
="$CFLAGS"
10901 CC
="$aros_kernel_cc"
10903 { echo "$as_me:$LINENO: checking whether ${CC} accepts -iquote" >&5
10904 echo $ECHO_N "checking whether ${CC} accepts -iquote... $ECHO_C" >&6; }
10905 cat >conftest.
$ac_ext <<_ACEOF
10908 cat confdefs.h
>>conftest.
$ac_ext
10909 cat >>conftest.
$ac_ext <<_ACEOF
10910 /* end confdefs.h. */
10920 rm -f conftest.
$ac_objext
10921 if { (ac_try
="$ac_compile"
10922 case "(($ac_try" in
10923 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10924 *) ac_try_echo=$ac_try;;
10926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10927 (eval "$ac_compile") 2>conftest.er1
10929 grep -v '^ *+' conftest.er1 >conftest.err
10931 cat conftest.err >&5
10932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10933 (exit $ac_status); } && {
10934 test -z "$ac_c_werror_flag" ||
10935 test ! -s conftest.err
10936 } && test -s conftest.$ac_objext; then
10939 echo "$as_me: failed program was:" >&5
10940 sed 's/^/| /' conftest.$ac_ext >&5
10945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10946 { echo "$as_me:$LINENO: result: $has_iquote" >&5
10947 echo "${ECHO_T}$has_iquote" >&6; }
10948 if test "x-$has_iquote" = "x-yes" ; then
10949 aros_cflags_iquote=-iquote
10950 aros_cflags_iquote_end=
10952 aros_cflags_iquote=-I
10953 aros_cflags_iquote_end=-I-
10956 CFLAGS="$save_cflags"
10962 { echo "$as_me:$LINENO: checking for default resolution of WBScreen" >&5
10963 echo $ECHO_N "checking for default resolution of WBScreen... $ECHO_C" >&6; }
10965 # Check whether --with-resolution was given.
10966 if test "${with_resolution+set}" = set; then
10967 withval=$with_resolution; resolution=$withval
10972 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
10973 if test "$resolution" = "yes" ; then
10976 if test "$resolution" = "no" ; then
10979 if test "$resolution" != "none" ; then
10980 aros_default_wbwidth=`echo $resolution | cut
-d'x' -f1`
10981 aros_default_wbheight=`echo $resolution | cut
-d'x' -f2`
10982 aros_default_wbdepth=`echo $resolution | cut
-d'x' -f3`
10984 { echo "$as_me:$LINENO: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
10985 echo "${ECHO_T}$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
10986 aros_cv_default_wbwidth=$aros_default_wbwidth
10987 aros_cv_default_wbheight=$aros_default_wbheight
10988 aros_cv_default_wbdepth=$aros_default_wbdepth
10990 { echo "$as_me:$LINENO: checking if bochs hack is enabled" >&5
10991 echo $ECHO_N "checking if bochs hack is enabled... $ECHO_C" >&6; }
10992 # Check whether --enable-bochs_hack was given.
10993 if test "${enable_bochs_hack+set}" = set; then
10994 enableval=$enable_bochs_hack; bochs_hack="yes"
10999 if test "$bochs_hack" = "yes" ; then
11000 aros_bochs_hack="1"
11002 { echo "$as_me:$LINENO: result: $bochs_hack" >&5
11003 echo "${ECHO_T}$bochs_hack" >&6; }
11005 { echo "$as_me:$LINENO: checking if serial debug is enabled" >&5
11006 echo $ECHO_N "checking if serial debug is enabled... $ECHO_C" >&6; }
11008 # Check whether --with-serial-debug was given.
11009 if test "${with_serial_debug+set}" = set; then
11010 withval=$with_serial_debug; serial_debug=$withval
11015 if test "$aros_serial_debug" = 0 ; then
11016 serial_debug_forced=""
11017 if test "$serial_debug" = "yes" ; then
11020 if test "$serial_debug" = "no" ; then
11021 serial_debug="none"
11024 serial_debug_forced="(forced)"
11025 serial_debug=$aros_serial_debug
11027 if test "$serial_debug" != "none" ; then
11028 aros_serial_debug=$serial_debug
11029 { echo "$as_me:$LINENO: result: $serial_debug_forced on port $serial_debug" >&5
11030 echo "${ECHO_T}$serial_debug_forced on port $serial_debug" >&6; }
11032 { echo "$as_me:$LINENO: result: no" >&5
11033 echo "${ECHO_T}no" >&6; }
11036 { echo "$as_me:$LINENO: checking if palm debug hack is enabled" >&5
11037 echo $ECHO_N "checking if palm debug hack is enabled... $ECHO_C" >&6; }
11038 # Check whether --enable-palm_debug_hack was given.
11039 if test "${enable_palm_debug_hack+set}" = set; then
11040 enableval=$enable_palm_debug_hack; palm_debug_hack="yes"
11042 palm_debug_hack="no"
11045 if test "$palm_debug_hack" = "yes" ; then
11046 aros_palm_debug_hack="1"
11048 { echo "$as_me:$LINENO: result: $palm_debug_hack" >&5
11049 echo "${ECHO_T}$palm_debug_hack" >&6; }
11052 { echo "$as_me:$LINENO: checking if nesting supervisor support is enabled" >&5
11053 echo $ECHO_N "checking if nesting supervisor support is enabled... $ECHO_C" >&6; }
11054 # Check whether --enable-nesting_supervisor was given.
11055 if test "${enable_nesting_supervisor+set}" = set; then
11056 enableval=$enable_nesting_supervisor; nesting_supervisor="yes"
11058 nesting_supervisor="no"
11061 if test "$nesting_supervisor" = "yes" ; then
11062 aros_nesting_supervisor="1"
11064 { echo "$as_me:$LINENO: result: $nesting_supervisor" >&5
11065 echo "${ECHO_T}$nesting_supervisor" >&6; }
11068 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
11070 if test "x-$aros_host_arch" != "x-darwin" ; then
11071 { echo "$as_me:$LINENO: checking for dlopen" >&5
11072 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
11073 if test "${ac_cv_func_dlopen+set}" = set; then
11074 echo $ECHO_N "(cached) $ECHO_C" >&6
11076 cat >conftest.$ac_ext <<_ACEOF
11079 cat confdefs.h >>conftest.$ac_ext
11080 cat >>conftest.$ac_ext <<_ACEOF
11081 /* end confdefs.h. */
11082 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11084 #define dlopen innocuous_dlopen
11086 /* System header to define __stub macros and hopefully few prototypes,
11087 which can conflict with char dlopen (); below.
11088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11089 <limits.h> exists even on freestanding compilers. */
11092 # include <limits.h>
11094 # include <assert.h>
11099 /* Override any GCC internal prototype to avoid an error.
11100 Use char because int might match the return type of a GCC
11101 builtin and then its argument prototype would still apply. */
11106 /* The GNU C library defines this for functions which it implements
11107 to always fail with ENOSYS. Some functions are actually named
11108 something starting with __ and the normal name is an alias. */
11109 #if defined __stub_dlopen || defined __stub___dlopen
11121 rm -f conftest.$ac_objext conftest$ac_exeext
11122 if { (ac_try="$ac_link"
11123 case "(($ac_try" in
11124 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11125 *) ac_try_echo
=$ac_try;;
11127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11128 (eval "$ac_link") 2>conftest.er1
11130 grep -v '^ *+' conftest.er1
>conftest.err
11132 cat conftest.err
>&5
11133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11134 (exit $ac_status); } && {
11135 test -z "$ac_c_werror_flag" ||
11136 test ! -s conftest.err
11137 } && test -s conftest
$ac_exeext &&
11138 $as_test_x conftest
$ac_exeext; then
11139 ac_cv_func_dlopen
=yes
11141 echo "$as_me: failed program was:" >&5
11142 sed 's/^/| /' conftest.
$ac_ext >&5
11144 ac_cv_func_dlopen
=no
11147 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11148 conftest
$ac_exeext conftest.
$ac_ext
11150 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11151 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
11152 if test $ac_cv_func_dlopen = yes; then
11158 if test "x-$have_dl" = "x-no" ; then
11159 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11160 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11161 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11162 echo $ECHO_N "(cached) $ECHO_C" >&6
11164 ac_check_lib_save_LIBS
=$LIBS
11166 cat >conftest.
$ac_ext <<_ACEOF
11169 cat confdefs.h
>>conftest.
$ac_ext
11170 cat >>conftest.
$ac_ext <<_ACEOF
11171 /* end confdefs.h. */
11173 /* Override any GCC internal prototype to avoid an error.
11174 Use char because int might match the return type of a GCC
11175 builtin and then its argument prototype would still apply. */
11188 rm -f conftest.
$ac_objext conftest
$ac_exeext
11189 if { (ac_try
="$ac_link"
11190 case "(($ac_try" in
11191 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11192 *) ac_try_echo=$ac_try;;
11194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11195 (eval "$ac_link") 2>conftest.er1
11197 grep -v '^ *+' conftest.er1 >conftest.err
11199 cat conftest.err >&5
11200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11201 (exit $ac_status); } && {
11202 test -z "$ac_c_werror_flag" ||
11203 test ! -s conftest.err
11204 } && test -s conftest$ac_exeext &&
11205 $as_test_x conftest$ac_exeext; then
11206 ac_cv_lib_dl_dlopen=yes
11208 echo "$as_me: failed program was:" >&5
11209 sed 's/^/| /' conftest.$ac_ext >&5
11211 ac_cv_lib_dl_dlopen=no
11214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11215 conftest$ac_exeext conftest.$ac_ext
11216 LIBS=$ac_check_lib_save_LIBS
11218 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11219 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11220 if test $ac_cv_lib_dl_dlopen = yes; then
11222 aros_host_ldflags="$aros_host_ldflags -ldl"
11228 if test "x-$have_dl" = "x-no" ; then
11229 { { echo "$as_me:$LINENO: error: dlopen() dynamic linker functions not available" >&5
11230 echo "$as_me: error: dlopen() dynamic linker functions not available" >&2;}
11231 { (exit 1); exit 1; }; }
11236 # Check whether --enable-x11_hidd was given.
11237 if test "${enable_x11_hidd+set}" = set; then
11238 enableval=$enable_x11_hidd; x11_hidd="$enableval"
11243 case "x-$x11_hidd" in
11244 x-yes|x-no|x-auto) ;;
11245 *) x11_hidd="auto" ;;
11248 if test "x-$x11_hidd" != "x-no" ; then
11250 { echo "$as_me:$LINENO: checking for X" >&5
11251 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
11254 # Check whether --with-x was given.
11255 if test "${with_x+set}" = set; then
11259 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11260 if test "x$with_x" = xno; then
11261 # The user explicitly disabled X.
11264 case $x_includes,$x_libraries in #(
11265 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
11266 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
11267 { (exit 1); exit 1; }; };; #(
11268 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
11269 echo $ECHO_N "(cached) $ECHO_C" >&6
11271 # One or both of the vars are not set, and there is no cached value.
11272 ac_x_includes=no ac_x_libraries=no
11273 rm -f -r conftest.dir
11274 if mkdir conftest.dir; then
11276 cat >Imakefile <<'_ACEOF'
11278 @echo incroot='${INCROOT}'
11280 @echo usrlibdir='${USRLIBDIR}'
11282 @echo libdir='${LIBDIR}'
11284 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
11285 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11286 for ac_var in incroot usrlibdir libdir; do
11287 eval "ac_im_$ac_var=\`\
${MAKE-make} $ac_var 2>/dev
/null |
sed -n 's/^$ac_var=//p'\
`"
11289 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11290 for ac_extension in a so sl; do
11291 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
11292 test -f "$ac_im_libdir/libX11.$ac_extension"; then
11293 ac_im_usrlibdir=$ac_im_libdir; break
11296 # Screen out bogus values from the imake configuration. They are
11297 # bogus both because they are the default anyway, and because
11298 # using them would break gcc on systems where it needs fixed includes.
11299 case $ac_im_incroot in
11300 /usr/include) ac_x_includes= ;;
11301 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
11303 case $ac_im_usrlibdir in
11304 /usr/lib | /lib) ;;
11305 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
11309 rm -f -r conftest.dir
11312 # Standard set of common directories for X headers.
11313 # Check X11 before X11Rn because it is often a symlink to the current release.
11325 /usr/local/X11/include
11326 /usr/local/X11R6/include
11327 /usr/local/X11R5/include
11328 /usr/local/X11R4/include
11330 /usr/local/include/X11
11331 /usr/local/include/X11R6
11332 /usr/local/include/X11R5
11333 /usr/local/include/X11R4
11337 /usr/XFree86/include/X11
11341 /usr/unsupported/include
11342 /usr/athena/include
11343 /usr/local/x11r5/include
11344 /usr/lpp/Xamples/include
11346 /usr/openwin/include
11347 /usr/openwin/share/include'
11349 if test "$ac_x_includes" = no; then
11350 # Guess where to find include files, by looking for Xlib.h.
11351 # First, try using that file with no special directory specified.
11352 cat >conftest.$ac_ext <<_ACEOF
11355 cat confdefs.h >>conftest.$ac_ext
11356 cat >>conftest.$ac_ext <<_ACEOF
11357 /* end confdefs.h. */
11358 #include <X11/Xlib.h>
11360 if { (ac_try="$ac_cpp conftest.$ac_ext"
11361 case "(($ac_try" in
11362 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11363 *) ac_try_echo
=$ac_try;;
11365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11366 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11368 grep -v '^ *+' conftest.er1
>conftest.err
11370 cat conftest.err
>&5
11371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11372 (exit $ac_status); } >/dev
/null
&& {
11373 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11374 test ! -s conftest.err
11376 # We can compile using X headers with no special include directory.
11379 echo "$as_me: failed program was:" >&5
11380 sed 's/^/| /' conftest.
$ac_ext >&5
11382 for ac_dir
in $ac_x_header_dirs; do
11383 if test -r "$ac_dir/X11/Xlib.h"; then
11384 ac_x_includes
=$ac_dir
11390 rm -f conftest.err conftest.
$ac_ext
11391 fi # $ac_x_includes = no
11393 if test "$ac_x_libraries" = no
; then
11394 # Check for the libraries.
11395 # See if we find them without any special options.
11396 # Don't add to $LIBS permanently.
11399 cat >conftest.
$ac_ext <<_ACEOF
11402 cat confdefs.h
>>conftest.
$ac_ext
11403 cat >>conftest.
$ac_ext <<_ACEOF
11404 /* end confdefs.h. */
11405 #include <X11/Xlib.h>
11414 rm -f conftest.
$ac_objext conftest
$ac_exeext
11415 if { (ac_try
="$ac_link"
11416 case "(($ac_try" in
11417 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11418 *) ac_try_echo=$ac_try;;
11420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11421 (eval "$ac_link") 2>conftest.er1
11423 grep -v '^ *+' conftest.er1 >conftest.err
11425 cat conftest.err >&5
11426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11427 (exit $ac_status); } && {
11428 test -z "$ac_c_werror_flag" ||
11429 test ! -s conftest.err
11430 } && test -s conftest$ac_exeext &&
11431 $as_test_x conftest$ac_exeext; then
11433 # We can link X programs with no special library path.
11436 echo "$as_me: failed program was:" >&5
11437 sed 's/^/| /' conftest.$ac_ext >&5
11440 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
11442 # Don't even attempt the hair of trying to link an X program!
11443 for ac_extension in a so sl; do
11444 if test -r "$ac_dir/libX11.$ac_extension"; then
11445 ac_x_libraries=$ac_dir
11452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11453 conftest$ac_exeext conftest.$ac_ext
11454 fi # $ac_x_libraries = no
11456 case $ac_x_includes,$ac_x_libraries in #(
11457 no,* | *,no | *\'*)
11458 # Didn't find X, or a directory has "'" in its name.
11459 ac_cv_have_x="have_x=no";; #(
11461 # Record where we found X for the cache.
11462 ac_cv_have_x="have_x=yes\
11463 ac_x_includes='$ac_x_includes'\
11464 ac_x_libraries='$ac_x_libraries'"
11470 eval "$ac_cv_have_x"
11473 if test "$have_x" != yes; then
11474 { echo "$as_me:$LINENO: result: $have_x" >&5
11475 echo "${ECHO_T}$have_x" >&6; }
11478 # If each of the values was on the command line, it overrides each guess.
11479 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11480 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11481 # Update the cache value to reflect the command line values.
11482 ac_cv_have_x="have_x=yes\
11483 ac_x_includes='$x_includes'\
11484 ac_x_libraries='$x_libraries'"
11485 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
11486 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
11491 for path in $x_libraries
11493 x_cflags="$x_cflags -L$path"
11496 for path in $x_includes
11498 x_cflags="$x_cflags -I$path"
11501 if test "x-$no_x" = "x-yes" ; then
11503 if test "x-$x11_hidd" != "x-auto" ; then
11504 { { echo "$as_me:$LINENO: error: X11 libs/headers not found, cannot build X11 hidd as requested" >&5
11505 echo "$as_me: error: X11 libs/headers not found, cannot build X11 hidd as requested" >&2;}
11506 { (exit 1); exit 1; }; }
11510 x11_hidd_target=kernel-x11gfx
11513 # Check whether --enable-x11_shm was given.
11514 if test "${enable_x11_shm+set}" = set; then
11515 enableval=$enable_x11_shm; x11_hidd_shm="$enableval"
11517 x11_hidd_shm="auto"
11520 case "x-$x11_hidd_shm" in
11521 x-yes|x-no|x-auto) ;;
11522 *) x11_hidd_shm="auto" ;;
11527 if test "x-$x11_hidd_shm" != "x-no" ; then
11530 for ac_header in sys/ipc.h
11532 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11533 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11534 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11535 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11536 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11537 echo $ECHO_N "(cached) $ECHO_C" >&6
11539 ac_res=`eval echo '${'$as_ac_Header'}'`
11540 { echo "$as_me:$LINENO: result: $ac_res" >&5
11541 echo "${ECHO_T}$ac_res" >&6; }
11543 # Is the header compilable?
11544 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11545 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11546 cat >conftest.$ac_ext <<_ACEOF
11549 cat confdefs.h >>conftest.$ac_ext
11550 cat >>conftest.$ac_ext <<_ACEOF
11551 /* end confdefs.h. */
11552 $ac_includes_default
11553 #include <$ac_header>
11555 rm -f conftest.$ac_objext
11556 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
11564 grep -v '^ *+' conftest.er1
>conftest.err
11566 cat conftest.err
>&5
11567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11568 (exit $ac_status); } && {
11569 test -z "$ac_c_werror_flag" ||
11570 test ! -s conftest.err
11571 } && test -s conftest.
$ac_objext; then
11572 ac_header_compiler
=yes
11574 echo "$as_me: failed program was:" >&5
11575 sed 's/^/| /' conftest.
$ac_ext >&5
11577 ac_header_compiler
=no
11580 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11581 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11582 echo "${ECHO_T}$ac_header_compiler" >&6; }
11584 # Is the header present?
11585 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11586 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11587 cat >conftest.
$ac_ext <<_ACEOF
11590 cat confdefs.h
>>conftest.
$ac_ext
11591 cat >>conftest.
$ac_ext <<_ACEOF
11592 /* end confdefs.h. */
11593 #include <$ac_header>
11595 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11596 case "(($ac_try" in
11597 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11598 *) ac_try_echo=$ac_try;;
11600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11601 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11603 grep -v '^ *+' conftest.er1 >conftest.err
11605 cat conftest.err >&5
11606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11607 (exit $ac_status); } >/dev/null && {
11608 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11609 test ! -s conftest.err
11611 ac_header_preproc=yes
11613 echo "$as_me: failed program was:" >&5
11614 sed 's/^/| /' conftest.$ac_ext >&5
11616 ac_header_preproc=no
11619 rm -f conftest.err conftest.$ac_ext
11620 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11621 echo "${ECHO_T}$ac_header_preproc" >&6; }
11623 # So? What about this header?
11624 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11626 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11627 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11628 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11629 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11630 ac_header_preproc=yes
11633 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11634 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11635 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11636 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11637 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11638 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11639 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11640 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11641 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11642 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11643 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11644 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11648 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11650 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11651 echo $ECHO_N "(cached) $ECHO_C" >&6
11653 eval "$as_ac_Header=\$ac_header_preproc"
11655 ac_res=`eval echo '${'$as_ac_Header'}'`
11656 { echo "$as_me:$LINENO: result: $ac_res" >&5
11657 echo "${ECHO_T}$ac_res" >&6; }
11660 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11661 cat >>confdefs.h <<_ACEOF
11662 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11670 for ac_header in sys/shm.h
11672 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11673 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11674 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11675 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11676 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11677 echo $ECHO_N "(cached) $ECHO_C" >&6
11679 ac_res=`eval echo '${'$as_ac_Header'}'`
11680 { echo "$as_me:$LINENO: result: $ac_res" >&5
11681 echo "${ECHO_T}$ac_res" >&6; }
11683 # Is the header compilable?
11684 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11685 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11686 cat >conftest.$ac_ext <<_ACEOF
11689 cat confdefs.h >>conftest.$ac_ext
11690 cat >>conftest.$ac_ext <<_ACEOF
11691 /* end confdefs.h. */
11692 $ac_includes_default
11693 #include <$ac_header>
11695 rm -f conftest.$ac_objext
11696 if { (ac_try="$ac_compile"
11697 case "(($ac_try" in
11698 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11699 *) ac_try_echo
=$ac_try;;
11701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11702 (eval "$ac_compile") 2>conftest.er1
11704 grep -v '^ *+' conftest.er1
>conftest.err
11706 cat conftest.err
>&5
11707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11708 (exit $ac_status); } && {
11709 test -z "$ac_c_werror_flag" ||
11710 test ! -s conftest.err
11711 } && test -s conftest.
$ac_objext; then
11712 ac_header_compiler
=yes
11714 echo "$as_me: failed program was:" >&5
11715 sed 's/^/| /' conftest.
$ac_ext >&5
11717 ac_header_compiler
=no
11720 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11721 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11722 echo "${ECHO_T}$ac_header_compiler" >&6; }
11724 # Is the header present?
11725 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11726 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11727 cat >conftest.
$ac_ext <<_ACEOF
11730 cat confdefs.h
>>conftest.
$ac_ext
11731 cat >>conftest.
$ac_ext <<_ACEOF
11732 /* end confdefs.h. */
11733 #include <$ac_header>
11735 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11736 case "(($ac_try" in
11737 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11738 *) ac_try_echo=$ac_try;;
11740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11741 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11743 grep -v '^ *+' conftest.er1 >conftest.err
11745 cat conftest.err >&5
11746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11747 (exit $ac_status); } >/dev/null && {
11748 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11749 test ! -s conftest.err
11751 ac_header_preproc=yes
11753 echo "$as_me: failed program was:" >&5
11754 sed 's/^/| /' conftest.$ac_ext >&5
11756 ac_header_preproc=no
11759 rm -f conftest.err conftest.$ac_ext
11760 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11761 echo "${ECHO_T}$ac_header_preproc" >&6; }
11763 # So? What about this header?
11764 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11766 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11767 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11768 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11769 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11770 ac_header_preproc=yes
11773 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11774 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11775 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11776 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11777 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11778 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11779 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11780 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11781 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11782 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11783 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11784 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11788 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11789 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11790 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11791 echo $ECHO_N "(cached) $ECHO_C" >&6
11793 eval "$as_ac_Header=\$ac_header_preproc"
11795 ac_res=`eval echo '${'$as_ac_Header'}'`
11796 { echo "$as_me:$LINENO: result: $ac_res" >&5
11797 echo "${ECHO_T}$ac_res" >&6; }
11800 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11801 cat >>confdefs.h <<_ACEOF
11802 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11810 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
11812 save_cflags="$CFLAGS"
11813 CFLAGS="$CFLAGS $x_cflags"
11814 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
11815 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
11816 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
11817 echo $ECHO_N "(cached) $ECHO_C" >&6
11819 ac_check_lib_save_LIBS=$LIBS
11820 LIBS="-lXext $LIBS"
11821 cat >conftest.$ac_ext <<_ACEOF
11824 cat confdefs.h >>conftest.$ac_ext
11825 cat >>conftest.$ac_ext <<_ACEOF
11826 /* end confdefs.h. */
11828 /* Override any GCC internal prototype to avoid an error.
11829 Use char because int might match the return type of a GCC
11830 builtin and then its argument prototype would still apply. */
11834 char XShmQueryExtension ();
11838 return XShmQueryExtension ();
11843 rm -f conftest.$ac_objext conftest$ac_exeext
11844 if { (ac_try="$ac_link"
11845 case "(($ac_try" in
11846 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11847 *) ac_try_echo
=$ac_try;;
11849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11850 (eval "$ac_link") 2>conftest.er1
11852 grep -v '^ *+' conftest.er1
>conftest.err
11854 cat conftest.err
>&5
11855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11856 (exit $ac_status); } && {
11857 test -z "$ac_c_werror_flag" ||
11858 test ! -s conftest.err
11859 } && test -s conftest
$ac_exeext &&
11860 $as_test_x conftest
$ac_exeext; then
11861 ac_cv_lib_Xext_XShmQueryExtension
=yes
11863 echo "$as_me: failed program was:" >&5
11864 sed 's/^/| /' conftest.
$ac_ext >&5
11866 ac_cv_lib_Xext_XShmQueryExtension
=no
11869 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11870 conftest
$ac_exeext conftest.
$ac_ext
11871 LIBS
=$ac_check_lib_save_LIBS
11873 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11874 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11875 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
11879 CFLAGS
="$save_cflags"
11883 if test "x-$have_xshm" = "x-yes" ; then
11884 DO_XSHM_SUPPORT
="1"
11885 elif test "x-$x11_hidd_shm" = "x-yes" ; then
11886 { { echo "$as_me:$LINENO: error: X11 has no support for shared memory, cannot enable it as requested" >&5
11887 echo "$as_me: error: X11 has no support for shared memory, cannot enable it as requested" >&2;}
11888 { (exit 1); exit 1; }; }
11890 DO_XSHM_SUPPORT
="0"
11894 # Check whether --enable-x11_vidmode was given.
11895 if test "${enable_x11_vidmode+set}" = set; then
11896 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
11898 x11_hidd_vidmode
="auto"
11901 case "x-$x11_hidd_vidmode" in
11902 x-yes|x-no|x-auto
) ;;
11903 *) x11_hidd_vidmode
="auto" ;;
11908 if test "x-$x11_hidd_vidmode" != "x-no" ; then
11910 save_cflags
="$CFLAGS"
11911 CFLAGS
="$CFLAGS $x_cflags"
11912 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
11913 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
11914 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
11915 echo $ECHO_N "(cached) $ECHO_C" >&6
11917 ac_check_lib_save_LIBS
=$LIBS
11918 LIBS
="-lXxf86vm $LIBS"
11919 cat >conftest.
$ac_ext <<_ACEOF
11922 cat confdefs.h
>>conftest.
$ac_ext
11923 cat >>conftest.
$ac_ext <<_ACEOF
11924 /* end confdefs.h. */
11926 /* Override any GCC internal prototype to avoid an error.
11927 Use char because int might match the return type of a GCC
11928 builtin and then its argument prototype would still apply. */
11932 char XF86VidModeQueryExtension ();
11936 return XF86VidModeQueryExtension ();
11941 rm -f conftest.
$ac_objext conftest
$ac_exeext
11942 if { (ac_try
="$ac_link"
11943 case "(($ac_try" in
11944 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11945 *) ac_try_echo=$ac_try;;
11947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11948 (eval "$ac_link") 2>conftest.er1
11950 grep -v '^ *+' conftest.er1 >conftest.err
11952 cat conftest.err >&5
11953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11954 (exit $ac_status); } && {
11955 test -z "$ac_c_werror_flag" ||
11956 test ! -s conftest.err
11957 } && test -s conftest$ac_exeext &&
11958 $as_test_x conftest$ac_exeext; then
11959 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
11961 echo "$as_me: failed program was:" >&5
11962 sed 's/^/| /' conftest.$ac_ext >&5
11964 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
11967 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11968 conftest$ac_exeext conftest.$ac_ext
11969 LIBS=$ac_check_lib_save_LIBS
11971 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
11972 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
11973 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
11977 CFLAGS="$save_cflags"
11980 if test "x-$have_vidmode" = "x-yes" ; then
11981 DO_VIDMODE_SUPPORT="1"
11982 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
11983 { { echo "$as_me:$LINENO: error: X11 vidmode extension not available, cannot enable it as requested" >&5
11984 echo "$as_me: error: X11 vidmode extension not available, cannot enable it as requested" >&2;}
11985 { (exit 1); exit 1; }; }
11987 DO_VIDMODE_SUPPORT="0"
11991 aros_host_x11_includes=$x_includes
11992 aros_host_x11_libdirs=$x_libraries
11996 # Check whether --enable-sdl_hidd was given.
11997 if test "${enable_sdl_hidd+set}" = set; then
11998 enableval=$enable_sdl_hidd; sdl_hidd="$enableval"
12003 case "x-$sdl_hidd" in
12004 x-yes|x-no|x-auto) ;;
12005 *) sdl_hidd="auto" ;;
12008 if test "x-$sdl_hidd" != "x-no" ; then
12011 # Check whether --with-sdl-prefix was given.
12012 if test "${with_sdl_prefix+set}" = set; then
12013 withval=$with_sdl_prefix; sdl_prefix="$withval"
12019 # Check whether --with-sdl-exec-prefix was given.
12020 if test "${with_sdl_exec_prefix+set}" = set; then
12021 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
12026 # Check whether --enable-sdltest was given.
12027 if test "${enable_sdltest+set}" = set; then
12028 enableval=$enable_sdltest;
12034 if test x$sdl_exec_prefix != x ; then
12035 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
12036 if test x${SDL_CONFIG+set} != xset ; then
12037 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
12040 if test x$sdl_prefix != x ; then
12041 sdl_args="$sdl_args --prefix=$sdl_prefix"
12042 if test x${SDL_CONFIG+set} != xset ; then
12043 SDL_CONFIG=$sdl_prefix/bin/sdl-config
12047 if test "x$prefix" != xNONE; then
12048 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
12050 # Extract the first word of "sdl-config", so it can be a program name with args.
12051 set dummy sdl-config; ac_word=$2
12052 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12054 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
12055 echo $ECHO_N "(cached) $ECHO_C" >&6
12057 case $SDL_CONFIG in
12059 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
12062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12063 for as_dir in $PATH
12066 test -z "$as_dir" && as_dir=.
12067 for ac_exec_ext in '' $ac_executable_extensions; do
12068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12069 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12077 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
12081 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
12082 if test -n "$SDL_CONFIG"; then
12083 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
12084 echo "${ECHO_T}$SDL_CONFIG" >&6; }
12086 { echo "$as_me:$LINENO: result: no" >&5
12087 echo "${ECHO_T}no" >&6; }
12091 min_sdl_version=1.2.10
12092 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
12093 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
12095 if test "$SDL_CONFIG" = "no" ; then
12098 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
12099 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
12101 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
12102 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12103 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
12104 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12105 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
12106 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12107 if test "x$enable_sdltest" = "xyes" ; then
12108 ac_save_CFLAGS="$CFLAGS"
12109 ac_save_CXXFLAGS="$CXXFLAGS"
12110 ac_save_LIBS="$LIBS"
12111 CFLAGS="$CFLAGS $SDL_CFLAGS"
12112 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
12113 LIBS="$LIBS $SDL_LIBS"
12115 if test "$cross_compiling" = yes; then
12116 echo $ac_n "cross compiling; assumed OK... $ac_c"
12118 cat >conftest.$ac_ext <<_ACEOF
12121 cat confdefs.h >>conftest.$ac_ext
12122 cat >>conftest.$ac_ext <<_ACEOF
12123 /* end confdefs.h. */
12126 #include <stdlib.h>
12127 #include <string.h>
12131 my_strdup (char *str)
12137 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
12138 strcpy (new_str, str);
12146 int main (int argc, char *argv[])
12148 int major, minor, micro;
12151 /* This hangs on some systems (?)
12152 system ("touch conf.sdltest");
12154 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
12156 /* HP/UX 9 (%@#!) writes to sscanf strings */
12157 tmp_version = my_strdup("$min_sdl_version");
12158 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12159 printf("%s, bad version string\n", "$min_sdl_version");
12163 if (($sdl_major_version > major) ||
12164 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
12165 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
12171 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
12172 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
12173 printf("*** best to upgrade to the required version.\n");
12174 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
12175 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
12176 printf("*** config.cache before re-running configure\n");
12183 rm -f conftest$ac_exeext
12184 if { (ac_try="$ac_link"
12185 case "(($ac_try" in
12186 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12187 *) ac_try_echo
=$ac_try;;
12189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12190 (eval "$ac_link") 2>&5
12192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12193 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12194 { (case "(($ac_try" in
12195 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12196 *) ac_try_echo=$ac_try;;
12198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12199 (eval "$ac_try") 2>&5
12201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12202 (exit $ac_status); }; }; then
12205 echo "$as_me: program exited with status $ac_status" >&5
12206 echo "$as_me: failed program was:" >&5
12207 sed 's/^/| /' conftest.$ac_ext >&5
12209 ( exit $ac_status )
12212 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12216 CFLAGS="$ac_save_CFLAGS"
12217 CXXFLAGS="$ac_save_CXXFLAGS"
12218 LIBS="$ac_save_LIBS"
12221 if test "x$no_sdl" = x ; then
12222 { echo "$as_me:$LINENO: result: yes" >&5
12223 echo "${ECHO_T}yes" >&6; }
12226 { echo "$as_me:$LINENO: result: no" >&5
12227 echo "${ECHO_T}no" >&6; }
12228 if test "$SDL_CONFIG" = "no" ; then
12229 echo "*** The sdl-config script installed by SDL could not be found"
12230 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
12231 echo "*** your path, or set the SDL_CONFIG environment variable to the"
12232 echo "*** full path to sdl-config."
12234 if test -f conf.sdltest ; then
12237 echo "*** Could not run SDL test program, checking why..."
12238 CFLAGS="$CFLAGS $SDL_CFLAGS"
12239 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
12240 LIBS="$LIBS $SDL_LIBS"
12241 cat >conftest.$ac_ext <<_ACEOF
12244 cat confdefs.h >>conftest.$ac_ext
12245 cat >>conftest.$ac_ext <<_ACEOF
12246 /* end confdefs.h. */
12251 int main(int argc, char *argv[])
12254 #define main K_and_R_C_main
12264 rm -f conftest.$ac_objext conftest$ac_exeext
12265 if { (ac_try="$ac_link"
12266 case "(($ac_try" in
12267 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12268 *) ac_try_echo
=$ac_try;;
12270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12271 (eval "$ac_link") 2>conftest.er1
12273 grep -v '^ *+' conftest.er1
>conftest.err
12275 cat conftest.err
>&5
12276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12277 (exit $ac_status); } && {
12278 test -z "$ac_c_werror_flag" ||
12279 test ! -s conftest.err
12280 } && test -s conftest
$ac_exeext &&
12281 $as_test_x conftest
$ac_exeext; then
12282 echo "*** The test program compiled, but did not run. This usually means"
12283 echo "*** that the run-time linker is not finding SDL or finding the wrong"
12284 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
12285 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12286 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12287 echo "*** is required on your system"
12289 echo "*** If you have an old version installed, it is best to remove it, although"
12290 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12292 echo "$as_me: failed program was:" >&5
12293 sed 's/^/| /' conftest.
$ac_ext >&5
12295 echo "*** The test program failed to compile or link. See the file config.log for the"
12296 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
12297 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
12298 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
12301 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12302 conftest
$ac_exeext conftest.
$ac_ext
12303 CFLAGS
="$ac_save_CFLAGS"
12304 CXXFLAGS
="$ac_save_CXXFLAGS"
12305 LIBS
="$ac_save_LIBS"
12317 if test "x-$have_sdl" != "x-yes" ; then
12319 if test "x-$sdl_hidd" != "x-auto" ; then
12320 { { echo "$as_me:$LINENO: error: SDL libs/headers not found, cannot build SDL hidd as requested" >&5
12321 echo "$as_me: error: SDL libs/headers not found, cannot build SDL hidd as requested" >&2;}
12322 { (exit 1); exit 1; }; }
12326 sdl_hidd_target
=kernel-hidd-sdl
12327 aros_host_sdl_cflags
=SDL_CFLAGS
12328 aros_host_sdl_libs
=SDL_LIBS
12335 { echo "$as_me:$LINENO: checking if building of dbus.library is enabled" >&5
12336 echo $ECHO_N "checking if building of dbus.library is enabled... $ECHO_C" >&6; }
12337 # Check whether --enable-dbus was given.
12338 if test "${enable_dbus+set}" = set; then
12339 enableval
=$enable_dbus; dbus
="yes"
12344 if test "$dbus" = "yes" ; then
12346 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
12347 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
12348 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
12349 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
12353 { echo "$as_me:$LINENO: result: $dbus" >&5
12354 echo "${ECHO_T}$dbus" >&6; }
12449 # Native version related
12453 # Palm native version related
12456 # Unix/Hosted version related
12472 # Collect-aros stuff: "-ius" to ignore undefined symbols
12475 # C compiler related
12478 case "$aros_flavour" in
12479 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
12480 aros_flavour
="emulation" ;;
12481 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
12482 aros_flavour
="emulation" ;;
12483 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
12484 aros_flavour
="standalone";;
12485 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
12486 aros_flavour
="native" ;;
12487 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
12488 aros_flavour
="native" ;;
12489 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
12490 aros_flavour
="linklib" ;;
12491 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
12492 aros_flavour
="palmnative" ;;
12493 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
12494 aros_flavour
="mac68knative" ;;
12495 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
12496 aros_flavour
="ppcnative" ;;
12499 if test ! -d ${aros_inc_dir} ; then
12500 ${MKDIR} ${aros_inc_dir}
12502 if test ! -d ${aros_geninc_dir} ; then
12503 ${MKDIR} ${aros_geninc_dir}
12505 if test ! -d ${aros_hostcfg_dir} ; then
12506 ${MKDIR} ${aros_hostcfg_dir}
12508 if test ! -d ${aros_targetcfg_dir} ; then
12509 ${MKDIR} ${aros_targetcfg_dir}
12511 if test ! -d ${aros_tools_dir} ; then
12512 ${MKDIR} ${aros_tools_dir}
12514 if test ! -d ${aros_scripts_dir} ; then
12515 ${MKDIR} ${aros_scripts_dir}
12518 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
12521 ac_config_commands
="$ac_config_commands compiler_executable"
12523 ac_config_commands
="$ac_config_commands genshared_executable"
12525 ac_config_commands
="$ac_config_commands genmf_executable"
12527 ac_config_commands
="$ac_config_commands adflib_myaros.conf_executable"
12530 ac_config_files
="$ac_config_files Makefile rom/mmakefile config/make.cfg ${aros_inc_dir}/config.h:config/config.h.in ${aros_geninc_dir}/config.h:config/config.h.in ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in mmake.config ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in ${aros_targetcfg_dir}/specs:config/specs.in ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-gcc:scripts/aros-gcc.in ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-ld:scripts/aros-ld.in ${aros_scripts_dir}/genshared:compiler/c_lib/source/lib_source/genshared.in ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py tools/adflib/myconf.aros tools/collect-aros/env.h"
12533 cat >confcache
<<\_ACEOF
12534 # This file is a shell script that caches the results of configure
12535 # tests run on this system so they can be shared between configure
12536 # scripts and configure runs, see configure's option --config-cache.
12537 # It is not useful on other systems. If it contains results you don't
12538 # want to keep, you may remove or edit it.
12540 # config.status only pays attention to the cache file if you give it
12541 # the --recheck option to rerun configure.
12543 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12544 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12545 # following values.
12549 # The following way of writing the cache mishandles newlines in values,
12550 # but we know of no workaround that is simple, portable, and efficient.
12551 # So, we kill variables containing newlines.
12552 # Ultrix sh set writes to stderr and can't be redirected directly,
12553 # and sets the high bit in the cache file unless we assign to the vars.
12555 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12556 eval ac_val
=\$
$ac_var
12560 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12561 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12564 _ | IFS | as_nl
) ;; #(
12565 *) $as_unset $ac_var ;;
12571 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12572 *${as_nl}ac_space
=\
*)
12573 # `set' does not quote correctly, so add quotes (double-quote
12574 # substitution turns \\\\ into \\, and sed turns \\ into \).
12577 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12580 # `set' quotes correctly as required by POSIX, so do not add quotes.
12581 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12590 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12592 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12594 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12595 if test -w "$cache_file"; then
12596 test "x$cache_file" != "x/dev/null" &&
12597 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12598 echo "$as_me: updating cache $cache_file" >&6;}
12599 cat confcache
>$cache_file
12601 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12602 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12607 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12608 # Let make expand exec_prefix.
12609 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12611 DEFS
=-DHAVE_CONFIG_H
12615 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12616 # 1. Remove the extension, and $U if already installed.
12617 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12618 ac_i
=`echo "$ac_i" | sed "$ac_script"`
12619 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12620 # will be set to the directory where LIBOBJS objects are built.
12621 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12622 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
12624 LIBOBJS
=$ac_libobjs
12626 LTLIBOBJS
=$ac_ltlibobjs
12630 : ${CONFIG_STATUS=./config.status}
12631 ac_clean_files_save
=$ac_clean_files
12632 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12633 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12634 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12635 cat >$CONFIG_STATUS <<_ACEOF
12637 # Generated by $as_me.
12638 # Run this file to recreate the current configuration.
12639 # Compiler output produced by configure, useful for debugging
12640 # configure, is in config.log if it exists.
12643 ac_cs_recheck=false
12645 SHELL=\${CONFIG_SHELL-$SHELL}
12648 cat >>$CONFIG_STATUS <<\_ACEOF
12649 ## --------------------- ##
12650 ## M4sh Initialization. ##
12651 ## --------------------- ##
12653 # Be more Bourne compatible
12654 DUALCASE
=1; export DUALCASE
# for MKS sh
12655 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
12658 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12659 # is contrary to our usage. Disable this feature.
12660 alias -g '${1+"$@"}'='"$@"'
12661 setopt NO_GLOB_SUBST
12663 case `(set -o) 2>/dev/null` in
12664 *posix
*) set -o posix
;;
12673 # Avoid depending upon Character Ranges.
12674 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12675 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12676 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12677 as_cr_digits
='0123456789'
12678 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12680 # The user is always right.
12681 if test "${PATH_SEPARATOR+set}" != set; then
12682 echo "#! /bin/sh" >conf$$.sh
12683 echo "exit 0" >>conf$$.sh
12685 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12693 # Support unset when possible.
12694 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
12702 # We need space, tab and new line, in precisely that order. Quoting is
12703 # there to prevent editors from complaining about space-tab.
12704 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12705 # splitting by setting IFS to empty value.)
12710 # Find who we are. Look in the path if we contain no directory separator.
12712 *[\\/]* ) as_myself
=$0 ;;
12713 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12714 for as_dir
in $PATH
12717 test -z "$as_dir" && as_dir
=.
12718 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
12724 # We did not find ourselves, most probably we were run as `sh COMMAND'
12725 # in which case we are not to be found in the path.
12726 if test "x$as_myself" = x
; then
12729 if test ! -f "$as_myself"; then
12730 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12731 { (exit 1); exit 1; }
12734 # Work around bugs in pre-3.0 UWIN ksh.
12735 for as_var
in ENV MAIL MAILPATH
12736 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
12744 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12745 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12746 LC_TELEPHONE LC_TIME
12748 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12749 eval $as_var=C
; export $as_var
12751 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
12755 # Required to use basename.
12756 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12757 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12763 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12764 as_basename
=basename
12770 # Name of the executable.
12771 as_me
=`$as_basename -- "$0" ||
12772 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12773 X"$0" : 'X\(//\)$' \| \
12774 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12776 sed '/^.*\/\([^/][^/]*\)\/*$/{
12795 as_lineno_1
=$LINENO
12796 as_lineno_2
=$LINENO
12797 test "x$as_lineno_1" != "x$as_lineno_2" &&
12798 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
12800 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12801 # uniformly replaced by the line number. The first 'sed' inserts a
12802 # line-number line after each line using $LINENO; the second 'sed'
12803 # does the real work. The second script uses 'N' to pair each
12804 # line-number line with the line containing $LINENO, and appends
12805 # trailing '-' during substitution so that $LINENO is not a special
12806 # case at line end.
12807 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12808 # scripts with optimization help from Paolo Bonzini. Blame Lee
12809 # E. McMahon (1931-1989) for sed's syntax. :-)
12821 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
12824 ' >$as_me.lineno
&&
12825 chmod +x
"$as_me.lineno" ||
12826 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
12827 { (exit 1); exit 1; }; }
12829 # Don't try to exec as it changes $[0], causing all sort of problems
12830 # (the dirname of $[0] is not the place where we might find the
12831 # original and so on. Autoconf is especially sensitive to this).
12832 .
"./$as_me.lineno"
12833 # Exit status is that of the last command.
12838 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12844 ECHO_C
= ECHO_N
= ECHO_T
=
12845 case `echo -n x` in
12847 case `echo 'x\c'` in
12848 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12855 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12856 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12862 rm -f conf$$ conf$$.exe conf$$.
file
12863 if test -d conf$$.dir
; then
12864 rm -f conf$$.dir
/conf$$.
file
12870 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12872 # ... but there are two gotchas:
12873 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12874 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12875 # In both cases, we have to default to `cp -p'.
12876 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12878 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12883 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12884 rmdir conf$$.dir
2>/dev
/null
12886 if mkdir
-p .
2>/dev
/null
; then
12889 test -d .
/-p && rmdir .
/-p
12893 if test -x / >/dev
/null
2>&1; then
12894 as_test_x
='test -x'
12896 if ls -dL / >/dev
/null
2>&1; then
12903 if test -d "$1"; then
12909 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
12910 ???[sx]*):;;*)false;;esac;fi
12914 as_executable_p
=$as_test_x
12916 # Sed expression to map a string onto a valid CPP name.
12917 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12919 # Sed expression to map a string onto a valid variable name.
12920 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12925 # Save the log message, to keep $[0] and so on meaningful, and to
12926 # report actual input values of CONFIG_FILES etc. instead of their
12927 # values after options handling.
12929 This file was extended by $as_me, which was
12930 generated by GNU Autoconf 2.61. Invocation command line was
12932 CONFIG_FILES = $CONFIG_FILES
12933 CONFIG_HEADERS = $CONFIG_HEADERS
12934 CONFIG_LINKS = $CONFIG_LINKS
12935 CONFIG_COMMANDS = $CONFIG_COMMANDS
12938 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12943 cat >>$CONFIG_STATUS <<_ACEOF
12944 # Files that config.status was made for.
12945 config_files="$ac_config_files"
12946 config_headers="$ac_config_headers"
12947 config_commands="$ac_config_commands"
12951 cat >>$CONFIG_STATUS <<\_ACEOF
12953 \`$as_me' instantiates files from templates according to the
12954 current configuration.
12956 Usage: $0 [OPTIONS] [FILE]...
12958 -h, --help print this help, then exit
12959 -V, --version print version number and configuration settings, then exit
12960 -q, --quiet do not print progress messages
12961 -d, --debug don't remove temporary files
12962 --recheck update $as_me by reconfiguring in the same conditions
12963 --file=FILE[:TEMPLATE]
12964 instantiate the configuration file FILE
12965 --header=FILE[:TEMPLATE]
12966 instantiate the configuration header FILE
12968 Configuration files:
12971 Configuration headers:
12974 Configuration commands:
12977 Report bugs to <bug-autoconf@gnu.org>."
12980 cat >>$CONFIG_STATUS <<_ACEOF
12983 configured by $0, generated by GNU Autoconf 2.61,
12984 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
12986 Copyright (C) 2006 Free Software Foundation, Inc.
12987 This config.status script is free software; the Free Software Foundation
12988 gives unlimited permission to copy, distribute and modify it."
12994 cat >>$CONFIG_STATUS <<\_ACEOF
12995 # If no file are specified by the user, then we need to provide default
12996 # value. By we need to know if files were specified by the user.
13002 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13003 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13014 # Handling of the options.
13015 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13017 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13018 echo "$ac_cs_version"; exit ;;
13019 --debug |
--debu |
--deb |
--de |
--d |
-d )
13021 --file |
--fil |
--fi |
--f )
13023 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
13024 ac_need_defaults
=false
;;
13025 --header |
--heade |
--head |
--hea )
13027 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
13028 ac_need_defaults
=false
;;
13030 # Conflict between --help and --header
13031 { echo "$as_me: error: ambiguous option: $1
13032 Try \`$0 --help' for more information." >&2
13033 { (exit 1); exit 1; }; };;
13034 --help |
--hel |
-h )
13035 echo "$ac_cs_usage"; exit ;;
13036 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13037 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13040 # This is an error.
13041 -*) { echo "$as_me: error: unrecognized option: $1
13042 Try \`$0 --help' for more information." >&2
13043 { (exit 1); exit 1; }; } ;;
13045 *) ac_config_targets
="$ac_config_targets $1"
13046 ac_need_defaults
=false
;;
13052 ac_configure_extra_args
=
13054 if $ac_cs_silent; then
13056 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13060 cat >>$CONFIG_STATUS <<_ACEOF
13061 if \$ac_cs_recheck; then
13062 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13063 CONFIG_SHELL=$SHELL
13064 export CONFIG_SHELL
13065 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13069 cat >>$CONFIG_STATUS <<\_ACEOF
13073 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13074 ## Running $as_me. ##
13080 cat >>$CONFIG_STATUS <<_ACEOF
13085 aros_tools_dir=${aros_tools_dir}
13086 aros_target_cpu=${aros_target_cpu}
13087 aros_target_arch=${aros_target_arch}
13088 aros_target_suffix=${aros_target_suffix}
13089 aros_target_nm_ln=${aros_target_nm_ln}
13090 aros_target_as_ln=${aros_target_as_ln}
13091 aros_target_ar_ln=${aros_target_ar_ln}
13092 aros_target_ranlib_ln=${aros_target_ranlib_ln}
13093 aros_target_objdump_ln=${aros_target_objdump_ln}
13094 aros_target_objcopy_ln=${aros_target_objcopy_ln}
13095 aros_target_strip_ln=${aros_target_strip_ln}
13098 aros_scripts_dir=${aros_scripts_dir}
13100 aros_tools_dir=${aros_tools_dir}
13105 cat >>$CONFIG_STATUS <<\_ACEOF
13107 # Handling of arguments.
13108 for ac_config_target
in $ac_config_targets
13110 case $ac_config_target in
13111 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
13112 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
13113 "genshared_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genshared_executable" ;;
13114 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
13115 "adflib_myaros.conf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS adflib_myaros.conf_executable" ;;
13116 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13117 "rom/mmakefile") CONFIG_FILES
="$CONFIG_FILES rom/mmakefile" ;;
13118 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
13119 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
13120 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
13121 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
13122 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
13123 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
13124 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
13125 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
13126 "${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" ;;
13127 "${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" ;;
13128 "${aros_scripts_dir}/genshared") CONFIG_FILES
="$CONFIG_FILES ${aros_scripts_dir}/genshared:compiler/c_lib/source/lib_source/genshared.in" ;;
13129 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
13130 "tools/adflib/myconf.aros") CONFIG_FILES
="$CONFIG_FILES tools/adflib/myconf.aros" ;;
13131 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
13133 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13134 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13135 { (exit 1); exit 1; }; };;
13140 # If the user did not use the arguments to specify the items to instantiate,
13141 # then the envvar interface is used. Set only those that are not.
13142 # We use the long form for the default assignment because of an extremely
13143 # bizarre bug on SunOS 4.1.3.
13144 if $ac_need_defaults; then
13145 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13146 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13147 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13150 # Have a temporary directory for convenience. Make it in the build tree
13151 # simply because there is no reason against having it here, and in addition,
13152 # creating and moving files from /tmp can sometimes cause problems.
13153 # Hook for its removal unless debugging.
13154 # Note that there is a small window in which the directory will not be cleaned:
13155 # after its creation but before its name has been assigned to `$tmp'.
13159 trap 'exit_status=$?
13160 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13162 trap '{ (exit 1); exit 1; }' 1 2 13 15
13164 # Create a (secure) tmp directory for tmp files.
13167 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13168 test -n "$tmp" && test -d "$tmp"
13171 tmp
=.
/conf$$
-$RANDOM
13172 (umask 077 && mkdir
"$tmp")
13175 echo "$me: cannot create a temporary directory in ." >&2
13176 { (exit 1); exit 1; }
13180 # Set up the sed scripts for CONFIG_FILES section.
13183 # No need to generate the scripts if there are no CONFIG_FILES.
13184 # This happens for instance when ./config.status config.h
13185 if test -n "$CONFIG_FILES"; then
13192 for ac_last_try
in false false false false false
:; do
13193 cat >conf$
$subs.
sed <<_ACEOF
13194 SHELL!$SHELL$ac_delim
13195 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
13196 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
13197 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
13198 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
13199 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
13200 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
13201 exec_prefix!$exec_prefix$ac_delim
13202 prefix!$prefix$ac_delim
13203 program_transform_name!$program_transform_name$ac_delim
13204 bindir!$bindir$ac_delim
13205 sbindir!$sbindir$ac_delim
13206 libexecdir!$libexecdir$ac_delim
13207 datarootdir!$datarootdir$ac_delim
13208 datadir!$datadir$ac_delim
13209 sysconfdir!$sysconfdir$ac_delim
13210 sharedstatedir!$sharedstatedir$ac_delim
13211 localstatedir!$localstatedir$ac_delim
13212 includedir!$includedir$ac_delim
13213 oldincludedir!$oldincludedir$ac_delim
13214 docdir!$docdir$ac_delim
13215 infodir!$infodir$ac_delim
13216 htmldir!$htmldir$ac_delim
13217 dvidir!$dvidir$ac_delim
13218 pdfdir!$pdfdir$ac_delim
13219 psdir!$psdir$ac_delim
13220 libdir!$libdir$ac_delim
13221 localedir!$localedir$ac_delim
13222 mandir!$mandir$ac_delim
13223 DEFS!$DEFS$ac_delim
13224 ECHO_C!$ECHO_C$ac_delim
13225 ECHO_N!$ECHO_N$ac_delim
13226 ECHO_T!$ECHO_T$ac_delim
13227 LIBS!$LIBS$ac_delim
13228 build_alias!$build_alias$ac_delim
13229 host_alias!$host_alias$ac_delim
13230 target_alias!$target_alias$ac_delim
13231 build!$build$ac_delim
13232 build_cpu!$build_cpu$ac_delim
13233 build_vendor!$build_vendor$ac_delim
13234 build_os!$build_os$ac_delim
13235 host!$host$ac_delim
13236 host_cpu!$host_cpu$ac_delim
13237 host_vendor!$host_vendor$ac_delim
13238 host_os!$host_os$ac_delim
13240 CFLAGS!$CFLAGS$ac_delim
13241 LDFLAGS!$LDFLAGS$ac_delim
13242 CPPFLAGS!$CPPFLAGS$ac_delim
13243 ac_ct_CC!$ac_ct_CC$ac_delim
13244 EXEEXT!$EXEEXT$ac_delim
13245 OBJEXT!$OBJEXT$ac_delim
13248 MMAKE!$MMAKE$ac_delim
13249 aros_host_ld!$aros_host_ld$ac_delim
13250 aros_host_aclocal!$aros_host_aclocal$ac_delim
13251 aros_host_autoconf!$aros_host_autoconf$ac_delim
13252 aros_host_autoheader!$aros_host_autoheader$ac_delim
13253 aros_host_automake!$aros_host_automake$ac_delim
13254 aros_host_ar!$aros_host_ar$ac_delim
13255 aros_host_ranlib!$aros_host_ranlib$ac_delim
13256 aros_host_strip!$aros_host_strip$ac_delim
13260 ECHO!$ECHO$ac_delim
13261 MKDIR!$MKDIR$ac_delim
13262 TOUCH!$TOUCH$ac_delim
13263 SORT!$SORT$ac_delim
13264 UNIQ!$UNIQ$ac_delim
13267 BISON!$BISON$ac_delim
13268 FLEX!$FLEX$ac_delim
13269 PNGTOPNM!$PNGTOPNM$ac_delim
13270 PPMTOILBM!$PPMTOILBM$ac_delim
13272 CHMOD!$CHMOD$ac_delim
13273 PYTHON!$PYTHON$ac_delim
13274 PYTHON_VERSION!$PYTHON_VERSION$ac_delim
13275 PYTHON_PREFIX!$PYTHON_PREFIX$ac_delim
13276 PYTHON_EXEC_PREFIX!$PYTHON_EXEC_PREFIX$ac_delim
13277 PYTHON_PLATFORM!$PYTHON_PLATFORM$ac_delim
13278 pythondir!$pythondir$ac_delim
13279 pkgpythondir!$pkgpythondir$ac_delim
13280 pyexecdir!$pyexecdir$ac_delim
13281 pkgpyexecdir!$pkgpyexecdir$ac_delim
13284 TEST!$TEST$ac_delim
13286 GREP!$GREP$ac_delim
13287 EGREP!$EGREP$ac_delim
13288 LIBOBJS!$LIBOBJS$ac_delim
13289 DISTCC!$DISTCC$ac_delim
13290 CCACHE!$CCACHE$ac_delim
13293 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
13295 elif $ac_last_try; then
13296 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13297 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13298 { (exit 1); exit 1; }; }
13300 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
13304 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13305 if test -n "$ac_eof"; then
13306 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
13307 ac_eof
=`expr $ac_eof + 1`
13310 cat >>$CONFIG_STATUS <<_ACEOF
13311 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
13312 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13315 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13316 s/^/s,@/; s/!/@,|#_!!_#|/
13319 s/'"$ac_delim"'$/,g/; t
13321 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13322 ' >>$CONFIG_STATUS <conf$
$subs.
sed
13323 rm -f conf$
$subs.
sed
13324 cat >>$CONFIG_STATUS <<_ACEOF
13330 for ac_last_try
in false false false false false
:; do
13331 cat >conf$
$subs.
sed <<_ACEOF
13332 LIBLZO!$LIBLZO$ac_delim
13333 aros_kernel_cc!$aros_kernel_cc$ac_delim
13334 aros_target_cc!$aros_target_cc$ac_delim
13335 aros_target_ld!$aros_target_ld$ac_delim
13336 aros_target_as_ln!$aros_target_as_ln$ac_delim
13337 aros_kernel_ld!$aros_kernel_ld$ac_delim
13338 aros_target_ar_ln!$aros_target_ar_ln$ac_delim
13339 aros_target_nm_ln!$aros_target_nm_ln$ac_delim
13340 aros_target_objcopy_ln!$aros_target_objcopy_ln$ac_delim
13341 aros_target_objdump_ln!$aros_target_objdump_ln$ac_delim
13342 aros_target_ranlib_ln!$aros_target_ranlib_ln$ac_delim
13343 aros_target_strip_ln!$aros_target_strip_ln$ac_delim
13344 aros_target_nostdinc_cflags!$aros_target_nostdinc_cflags$ac_delim
13345 aros_target_nostartup_ldflags!$aros_target_nostartup_ldflags$ac_delim
13346 aros_target_nix_ldflags!$aros_target_nix_ldflags$ac_delim
13347 aros_target_detach_ldflags!$aros_target_detach_ldflags$ac_delim
13348 aros_target_nostdlib_ldflags!$aros_target_nostdlib_ldflags$ac_delim
13349 aros_cflags_iquote!$aros_cflags_iquote$ac_delim
13350 aros_cflags_iquote_end!$aros_cflags_iquote_end$ac_delim
13351 XMKMF!$XMKMF$ac_delim
13352 SDL_CONFIG!$SDL_CONFIG$ac_delim
13353 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
13354 SDL_LIBS!$SDL_LIBS$ac_delim
13355 aros_arch!$aros_arch$ac_delim
13356 aros_cpu!$aros_cpu$ac_delim
13357 aros_flavour!$aros_flavour$ac_delim
13358 aros_flavour_uc!$aros_flavour_uc$ac_delim
13359 AROS_BUILDDIR!$AROS_BUILDDIR$ac_delim
13360 AROS_SRCDIR!$AROS_SRCDIR$ac_delim
13361 AROS_PORTSSRCDIR!$AROS_PORTSSRCDIR$ac_delim
13362 aros_cc_pre!$aros_cc_pre$ac_delim
13363 aros_host_arch!$aros_host_arch$ac_delim
13364 aros_host_cpu!$aros_host_cpu$ac_delim
13365 aros_host_cc!$aros_host_cc$ac_delim
13366 aros_host_make!$aros_host_make$ac_delim
13367 aros_host_cflags!$aros_host_cflags$ac_delim
13368 aros_host_ldflags!$aros_host_ldflags$ac_delim
13369 aros_host_debug!$aros_host_debug$ac_delim
13370 aros_host_mkdep!$aros_host_mkdep$ac_delim
13371 aros_host_mkargs!$aros_host_mkargs$ac_delim
13372 aros_host_exe_suffix!$aros_host_exe_suffix$ac_delim
13373 aros_host_lib_suffix!$aros_host_lib_suffix$ac_delim
13374 aros_tools_dir!$aros_tools_dir$ac_delim
13375 aros_target_guitheme!$aros_target_guitheme$ac_delim
13376 aros_target_bootloader!$aros_target_bootloader$ac_delim
13377 aros_target_arch!$aros_target_arch$ac_delim
13378 aros_target_cpu!$aros_target_cpu$ac_delim
13379 aros_target_variant!$aros_target_variant$ac_delim
13380 aros_target_suffix!$aros_target_suffix$ac_delim
13381 aros_target_incl!$aros_target_incl$ac_delim
13382 aros_target_ar!$aros_target_ar$ac_delim
13383 aros_target_ranlib!$aros_target_ranlib$ac_delim
13384 aros_kernel_nm!$aros_kernel_nm$ac_delim
13385 orig_target_cc!$orig_target_cc$ac_delim
13386 aros_target_as!$aros_target_as$ac_delim
13387 orig_target_ld!$orig_target_ld$ac_delim
13388 aros_target_cc_includes!$aros_target_cc_includes$ac_delim
13389 aros_target_cc_path!$aros_target_cc_path$ac_delim
13390 aros_target_objdump!$aros_target_objdump$ac_delim
13391 aros_target_objcopy!$aros_target_objcopy$ac_delim
13392 aros_target_strip!$aros_target_strip$ac_delim
13393 aros_target_nm!$aros_target_nm$ac_delim
13394 aros_shared_default!$aros_shared_default$ac_delim
13395 aros_shared_ld!$aros_shared_ld$ac_delim
13396 aros_object_format!$aros_object_format$ac_delim
13397 aros_compiler_libs!$aros_compiler_libs$ac_delim
13398 aros_config_cflags!$aros_config_cflags$ac_delim
13399 aros_config_aflags!$aros_config_aflags$ac_delim
13400 aros_config_ldflags!$aros_config_ldflags$ac_delim
13401 aros_shared_cflags!$aros_shared_cflags$ac_delim
13402 aros_shared_aflags!$aros_shared_aflags$ac_delim
13403 aros_shared_ldflags!$aros_shared_ldflags$ac_delim
13404 aros_kernel_cflags!$aros_kernel_cflags$ac_delim
13405 aros_kernel_ldflags!$aros_kernel_ldflags$ac_delim
13406 aros_debug_cflags!$aros_debug_cflags$ac_delim
13407 aros_debug_aflags!$aros_debug_aflags$ac_delim
13408 aros_debug_ldflags!$aros_debug_ldflags$ac_delim
13409 aros_target_genmap!$aros_target_genmap$ac_delim
13410 aros_target_strip_flags!$aros_target_strip_flags$ac_delim
13411 x11_hidd_target!$x11_hidd_target$ac_delim
13412 sdl_hidd_target!$sdl_hidd_target$ac_delim
13413 aros_default_wbwidth!$aros_default_wbwidth$ac_delim
13414 aros_default_wbheight!$aros_default_wbheight$ac_delim
13415 aros_default_wbdepth!$aros_default_wbdepth$ac_delim
13416 DO_XSHM_SUPPORT!$DO_XSHM_SUPPORT$ac_delim
13417 DO_VIDMODE_SUPPORT!$DO_VIDMODE_SUPPORT$ac_delim
13418 aros_host_x11_includes!$aros_host_x11_includes$ac_delim
13419 aros_host_x11_libdirs!$aros_host_x11_libdirs$ac_delim
13420 aros_host_sdl_cflags!$aros_host_sdl_cflags$ac_delim
13421 aros_host_sdl_libs!$aros_host_sdl_libs$ac_delim
13422 aros_bochs_hack!$aros_bochs_hack$ac_delim
13423 aros_serial_debug!$aros_serial_debug$ac_delim
13424 aros_palm_debug_hack!$aros_palm_debug_hack$ac_delim
13425 aros_nesting_supervisor!$aros_nesting_supervisor$ac_delim
13426 ENABLE_DBUS!$ENABLE_DBUS$ac_delim
13427 DBUS_CFLAGS!$DBUS_CFLAGS$ac_delim
13428 DBUS_LIBFLAGS!$DBUS_LIBFLAGS$ac_delim
13431 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
13433 elif $ac_last_try; then
13434 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13435 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13436 { (exit 1); exit 1; }; }
13438 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
13442 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13443 if test -n "$ac_eof"; then
13444 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
13445 ac_eof
=`expr $ac_eof + 1`
13448 cat >>$CONFIG_STATUS <<_ACEOF
13449 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
13450 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13453 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13454 s/^/s,@/; s/!/@,|#_!!_#|/
13457 s/'"$ac_delim"'$/,g/; t
13459 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13460 ' >>$CONFIG_STATUS <conf$
$subs.
sed
13461 rm -f conf$
$subs.
sed
13462 cat >>$CONFIG_STATUS <<_ACEOF
13468 for ac_last_try
in false false false false false
:; do
13469 cat >conf$
$subs.
sed <<_ACEOF
13470 KERNEL_DBUS_KOBJ!$KERNEL_DBUS_KOBJ$ac_delim
13471 KERNEL_DBUS_INCLUDES!$KERNEL_DBUS_INCLUDES$ac_delim
13472 aros_debug!$aros_debug$ac_delim
13473 aros_mungwall_debug!$aros_mungwall_debug$ac_delim
13474 aros_stack_debug!$aros_stack_debug$ac_delim
13475 aros_modules_debug!$aros_modules_debug$ac_delim
13476 ignore_undefined_symbols!$ignore_undefined_symbols$ac_delim
13477 gcc_target_cpu!$gcc_target_cpu$ac_delim
13478 LTLIBOBJS!$LTLIBOBJS$ac_delim
13481 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 9; then
13483 elif $ac_last_try; then
13484 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13485 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13486 { (exit 1); exit 1; }; }
13488 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
13492 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13493 if test -n "$ac_eof"; then
13494 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
13495 ac_eof
=`expr $ac_eof + 1`
13498 cat >>$CONFIG_STATUS <<_ACEOF
13499 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
13500 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
13503 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13504 s/^/s,@/; s/!/@,|#_!!_#|/
13507 s/'"$ac_delim"'$/,g/; t
13509 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13510 ' >>$CONFIG_STATUS <conf$
$subs.
sed
13511 rm -f conf$
$subs.
sed
13512 cat >>$CONFIG_STATUS <<_ACEOF
13519 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13520 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13521 # trailing colons and then remove the whole line if VPATH becomes empty
13522 # (actually we leave an empty line to preserve line numbers).
13523 if test "x$srcdir" = x.
; then
13524 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
13525 s/:*\$(srcdir):*/:/
13526 s/:*\${srcdir}:*/:/
13528 s/^\([^=]*=[ ]*\):*/\1/
13534 cat >>$CONFIG_STATUS <<\_ACEOF
13535 fi # test -n "$CONFIG_FILES"
13538 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
13541 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13543 case $ac_mode$ac_tag in
13545 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
13546 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
13547 { (exit 1); exit 1; }; };;
13548 :[FH
]-) ac_tag
=-:-;;
13549 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13566 -) ac_f
="$tmp/stdin";;
13567 *) # Look for the file first in the build tree, then in the source tree
13568 # (if the path is not absolute). The absolute path cannot be DOS-style,
13569 # because $ac_f cannot contain `:'.
13573 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13575 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
13576 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
13577 { (exit 1); exit 1; }; };;
13579 ac_file_inputs
="$ac_file_inputs $ac_f"
13582 # Let's still pretend it is `configure' which instantiates (i.e., don't
13583 # use $as_me), people would be surprised to read:
13584 # /* config.h. Generated by config.status. */
13585 configure_input
="Generated from "`IFS=:
13586 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
13587 if test x
"$ac_file" != x-
; then
13588 configure_input
="$ac_file. $configure_input"
13589 { echo "$as_me:$LINENO: creating $ac_file" >&5
13590 echo "$as_me: creating $ac_file" >&6;}
13594 *:-:* |
*:-) cat >"$tmp/stdin";;
13599 ac_dir
=`$as_dirname -- "$ac_file" ||
13600 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13601 X"$ac_file" : 'X\(//\)[^/]' \| \
13602 X"$ac_file" : 'X\(//\)$' \| \
13603 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13605 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13609 /^X\(\/\/\)[^/].*/{
13624 -*) as_dir
=.
/$as_dir;;
13626 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
13630 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
13631 *) as_qdir
=$as_dir;;
13633 as_dirs
="'$as_qdir' $as_dirs"
13634 as_dir
=`$as_dirname -- "$as_dir" ||
13635 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13636 X"$as_dir" : 'X\(//\)[^/]' \| \
13637 X"$as_dir" : 'X\(//\)$' \| \
13638 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13640 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13644 /^X\(\/\/\)[^/].*/{
13657 test -d "$as_dir" && break
13659 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13660 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13661 echo "$as_me: error: cannot create directory $as_dir" >&2;}
13662 { (exit 1); exit 1; }; }; }
13666 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13668 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13669 # A ".." for each directory in $ac_dir_suffix.
13670 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
13671 case $ac_top_builddir_sub in
13672 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13673 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13676 ac_abs_top_builddir
=$ac_pwd
13677 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13678 # for backward compatibility:
13679 ac_top_builddir
=$ac_top_build_prefix
13682 .
) # We are building in place.
13684 ac_top_srcdir
=$ac_top_builddir_sub
13685 ac_abs_top_srcdir
=$ac_pwd ;;
13686 [\\/]* | ?
:[\\/]* ) # Absolute name.
13687 ac_srcdir
=$srcdir$ac_dir_suffix;
13688 ac_top_srcdir
=$srcdir
13689 ac_abs_top_srcdir
=$srcdir ;;
13690 *) # Relative name.
13691 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13692 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13693 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13695 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13706 cat >>$CONFIG_STATUS <<\_ACEOF
13707 # If the template does not know about datarootdir, expand it.
13708 # FIXME: This hack should be removed a few years after 2.60.
13709 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13711 case `sed -n '/datarootdir/ {
13720 ' $ac_file_inputs` in
13721 *datarootdir
*) ac_datarootdir_seen
=yes;;
13722 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13723 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13724 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13726 cat >>$CONFIG_STATUS <<_ACEOF
13727 ac_datarootdir_hack='
13728 s&@datadir@&$datadir&g
13729 s&@docdir@&$docdir&g
13730 s&@infodir@&$infodir&g
13731 s&@localedir@&$localedir&g
13732 s&@mandir@&$mandir&g
13733 s&\\\${datarootdir}&$datarootdir&g' ;;
13737 # Neutralize VPATH when `$srcdir' = `.'.
13738 # Shell code in configure.ac might set extrasub.
13739 # FIXME: do we really want to maintain this feature?
13740 cat >>$CONFIG_STATUS <<_ACEOF
13744 cat >>$CONFIG_STATUS <<\_ACEOF
13746 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13747 s
&@configure_input@
&$configure_input&;t t
13748 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13749 s
&@srcdir@
&$ac_srcdir&;t t
13750 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13751 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13752 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13753 s
&@builddir@
&$ac_builddir&;t t
13754 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13755 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13756 $ac_datarootdir_hack
13757 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" | sed -f "$tmp/subs-3.
sed" >$tmp/out
13759 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13760 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
13761 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
13762 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13763 which seems to be undefined. Please make sure it is defined." >&5
13764 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13765 which seems to be undefined. Please make sure it is defined." >&2;}
13769 -) cat "$tmp/out"; rm -f "$tmp/out";;
13770 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
13779 # Transform confdefs.h into a sed script `conftest.defines', that
13780 # substitutes the proper values into config.h.in to produce config.h.
13781 rm -f conftest.defines conftest.
tail
13782 # First, append a space to every undef/define line, to ease matching.
13783 echo 's/$/ /' >conftest.defines
13784 # Then, protect against being on the right side of a sed subst, or in
13785 # an unquoted here document, in config.status. If some macros were
13786 # called several times there might be several #defines for the same
13787 # symbol, which is useless. But do not sort them, since the last
13788 # AC_DEFINE must be honored.
13789 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
13790 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
13791 # NAME is the cpp macro being defined, VALUE is the value it is being given.
13792 # PARAMS is the parameter list in the macro definition--in most cases, it's
13793 # just an empty string.
13794 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
13795 ac_dB
='\\)[ (].*,\\1define\\2'
13803 s/^[ ]*#[ ]*define[ ][ ]*//
13808 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
13809 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
13810 ' >>conftest.defines
13812 # Remove the space that was appended to ease matching.
13813 # Then replace #undef with comments. This is necessary, for
13814 # example, in the case of _POSIX_SOURCE, which is predefined and required
13815 # on some systems where configure will not decide to define it.
13816 # (The regexp can be short, since the line contains either #define or #undef.)
13818 s,^[ #]*u.*,/* & */,' >>conftest.defines
13820 # Break up conftest.defines:
13821 ac_max_sed_lines
=50
13823 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
13824 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
13825 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
13827 ac_in
='$ac_file_inputs'
13828 ac_out
='"$tmp/out1"'
13829 ac_nxt
='"$tmp/out2"'
13833 # Write a here document:
13834 cat >>$CONFIG_STATUS <<_ACEOF
13835 # First, check the format of the line:
13836 cat >"\$tmp/defines.sed" <<\\CEOF
13837 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
13838 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
13842 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
13844 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
13845 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
13846 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
13847 grep . conftest.
tail >/dev
/null ||
break
13848 rm -f conftest.defines
13849 mv conftest.
tail conftest.defines
13851 rm -f conftest.defines conftest.
tail
13853 echo "ac_result=$ac_in" >>$CONFIG_STATUS
13854 cat >>$CONFIG_STATUS <<\_ACEOF
13855 if test x
"$ac_file" != x-
; then
13856 echo "/* $configure_input */" >"$tmp/config.h"
13857 cat "$ac_result" >>"$tmp/config.h"
13858 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
13859 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13860 echo "$as_me: $ac_file is unchanged" >&6;}
13863 mv "$tmp/config.h" $ac_file
13866 echo "/* $configure_input */"
13872 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
13873 echo "$as_me: executing $ac_file commands" >&6;}
13878 case $ac_file$ac_mode in
13879 "compiler_executable":C
)
13880 prefix
=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
13882 prefix
="${prefix}/${aros_target_cpu}-aros"
13883 prefix2
=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
13887 chmod a
+x
${prefix2}-gcc ${prefix2}-ld
13889 ln -sf ${prefix2}-gcc ${prefix}-gcc
13890 ln -sf ${prefix2}-ld ${prefix}-ld
13892 ln -sf $aros_target_as_ln ${prefix}-as
13893 ln -sf $aros_target_nm_ln ${prefix}-nm
13894 ln -sf $aros_target_ar_ln ${prefix}-ar
13895 ln -sf $aros_target_ranlib_ln ${prefix}-ranlib
13896 ln -sf $aros_target_objcopy_ln ${prefix}-objcopy
13897 ln -sf $aros_target_objdump_ln ${prefix}-objdump
13898 ln -sf $aros_target_strip_ln ${prefix}-strip
13900 ln -sf $aros_target_as_ln ${prefix2}-as
13901 ln -sf $aros_target_nm_ln ${prefix2}-nm
13902 ln -sf $aros_target_ar_ln ${prefix2}-ar
13903 ln -sf $aros_target_ranlib_ln ${prefix2}-ranlib
13904 ln -sf $aros_target_objcopy_ln ${prefix2}-objcopy
13905 ln -sf $aros_target_objdump_ln ${prefix2}-objdump
13906 ln -sf $aros_target_strip_ln ${prefix2}-strip
13908 "genshared_executable":C
) chmod a
+x
${aros_scripts_dir}/genshared
;;
13909 "genmf_executable":C
) chmod a
+x
${aros_tools_dir}/genmf.py
;;
13910 "adflib_myaros.conf_executable":C
) chmod a
+x tools
/adflib
/myconf.aros
13917 { (exit 0); exit 0; }
13919 chmod +x
$CONFIG_STATUS
13920 ac_clean_files
=$ac_clean_files_save
13923 # configure is writing to config.log, and then calls config.status.
13924 # config.status does its own redirection, appending to config.log.
13925 # Unfortunately, on DOS this fails, as config.log is still kept open
13926 # by configure, so config.status won't be able to write to it; its
13927 # output is simply discarded. So we exec the FD to /dev/null,
13928 # effectively closing config.log, so it can be properly (re)opened and
13929 # appended to by config.status. When coming back to configure, we
13930 # need to make the FD available again.
13931 if test "$no_create" != yes; then
13933 ac_config_status_args
=
13934 test "$silent" = yes &&
13935 ac_config_status_args
="$ac_config_status_args --quiet"
13937 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13939 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13940 # would make configure fail if this is the last instruction.
13941 $ac_cs_success ||
{ (exit 1); exit 1; }
13946 #XXX compatability...
13947 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
13949 if test -n "$aros_shared_cflags" ; then
13950 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
13951 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg