2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE
=1; export DUALCASE
# for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix
*) set -o posix
;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits
='0123456789'
38 as_cr_alnum
=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53 # Support unset when possible.
54 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself
=$0 ;;
73 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir
=.
78 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x
; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var
in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C
; export $as_var
111 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
123 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me
=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x
; then
155 if (eval ":") 2>/dev
/null
; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev
/null
; then
221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
222 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir
=.
228 for as_base
in sh bash ksh sh5
; do
229 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
236 for as_shell
in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix
*) set -o posix
;;
258 CONFIG_SHELL
=$as_shell
260 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
286 as_func_ret_success
() {
289 as_func_ret_failure
() {
294 if as_func_success
; then
298 echo as_func_success failed.
301 if as_func_failure
; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success
; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure
; then
315 echo as_func_ret_failure succeeded.
318 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) ||
{ (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x
; then
343 for as_var
in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no
; then
352 echo This
script requires a shell
more modern than all the
353 echo shells that I found on your system. Please
install a
354 echo modern shell
, or manually run the
script under such a
355 echo shell
if you
do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") ||
{
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system
,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x
"$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
472 ECHO_C
= ECHO_N
= ECHO_T
=
476 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
483 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
490 rm -f conf$$ conf$$.exe conf$$.
file
491 if test -d conf$$.dir
; then
492 rm -f conf$$.dir
/conf$$.
file
498 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
506 elif ln conf$$.
file conf$$
2>/dev
/null
; then
511 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
512 rmdir conf$$.dir
2>/dev
/null
514 if mkdir
-p .
2>/dev
/null
; then
517 test -d .
/-p && rmdir .
/-p
521 if test -x / >/dev
/null
2>&1; then
524 if ls -dL / >/dev
/null
2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p
=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev
/null
6>&1
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix
=/usr
/local
564 ac_config_libobj_dir
=.
570 SHELL
=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
579 ac_unique_file
="mmakefile"
580 # Factoring default headers for most tests.
581 ac_includes_default
="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
625 program_transform_name
719 aros_target_objcopy_ln
720 aros_target_objdump_ln
721 aros_target_ranlib_ln
724 aros_target_nostdinc_cflags
725 aros_target_nostartup_ldflags
726 aros_target_nix_ldflags
727 aros_target_detach_ldflags
728 aros_target_nostdlib_ldflags
730 host_cflags_iquote_end
732 kernel_cflags_iquote_end
734 aros_cflags_iquote_end
762 aros_target_bootloader
776 aros_target_cc_includes
794 aros_kernel_objcflags
800 aros_target_strip_flags
804 aros_default_wbheight
808 aros_host_x11_includes
809 aros_host_x11_libdirs
814 aros_nesting_supervisor
829 ignore_undefined_symbols
833 ac_precious_vars
='build_alias
845 # Initialize some variables set by options.
847 ac_init_version
=false
848 # The variables have the same names as the options, with
849 # dashes changed to underlines.
857 program_transform_name
=s
,x
,x
,
865 # Installation directory options.
866 # These are left unexpanded so users can "make install exec_prefix=/foo"
867 # and all the variables that are supposed to be based on exec_prefix
868 # by default will actually change.
869 # Use braces instead of parens because sh, perl, etc. also accept them.
870 # (The list follows the same order as the GNU Coding Standards.)
871 bindir
='${exec_prefix}/bin'
872 sbindir
='${exec_prefix}/sbin'
873 libexecdir
='${exec_prefix}/libexec'
874 datarootdir
='${prefix}/share'
875 datadir
='${datarootdir}'
876 sysconfdir
='${prefix}/etc'
877 sharedstatedir
='${prefix}/com'
878 localstatedir
='${prefix}/var'
879 includedir
='${prefix}/include'
880 oldincludedir
='/usr/include'
881 docdir
='${datarootdir}/doc/${PACKAGE}'
882 infodir
='${datarootdir}/info'
887 libdir
='${exec_prefix}/lib'
888 localedir
='${datarootdir}/locale'
889 mandir
='${datarootdir}/man'
895 # If the previous option needs an argument, assign it.
896 if test -n "$ac_prev"; then
897 eval $ac_prev=\
$ac_option
903 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
907 # Accept the important Cygnus configure options, so we can diagnose typos.
909 case $ac_dashdash$ac_option in
913 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
915 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
918 -build |
--build |
--buil |
--bui |
--bu)
919 ac_prev
=build_alias
;;
920 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
921 build_alias
=$ac_optarg ;;
923 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
924 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
925 ac_prev
=cache_file
;;
926 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
927 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
928 cache_file
=$ac_optarg ;;
931 cache_file
=config.cache
;;
933 -datadir |
--datadir |
--datadi |
--datad)
935 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
936 datadir
=$ac_optarg ;;
938 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
939 |
--dataroo |
--dataro |
--datar)
940 ac_prev
=datarootdir
;;
941 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
942 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
943 datarootdir
=$ac_optarg ;;
945 -disable-* |
--disable-*)
946 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
947 # Reject names that are not valid shell variable names.
948 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
949 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
950 { (exit 1); exit 1; }; }
951 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
952 eval enable_
$ac_feature=no
;;
954 -docdir |
--docdir |
--docdi |
--doc |
--do)
956 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
959 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
961 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
964 -enable-* |
--enable-*)
965 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
966 # Reject names that are not valid shell variable names.
967 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
968 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
969 { (exit 1); exit 1; }; }
970 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
971 eval enable_
$ac_feature=\
$ac_optarg ;;
973 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
974 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
975 |
--exec |
--exe |
--ex)
976 ac_prev
=exec_prefix
;;
977 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
978 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
979 |
--exec=* |
--exe=* |
--ex=*)
980 exec_prefix
=$ac_optarg ;;
982 -gas |
--gas |
--ga |
--g)
983 # Obsolete; use --with-gas.
986 -help |
--help |
--hel |
--he |
-h)
988 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
989 ac_init_help
=recursive
;;
990 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
991 ac_init_help
=short
;;
993 -host |
--host |
--hos |
--ho)
994 ac_prev
=host_alias
;;
995 -host=* |
--host=* |
--hos=* |
--ho=*)
996 host_alias
=$ac_optarg ;;
998 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1000 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1002 htmldir
=$ac_optarg ;;
1004 -includedir |
--includedir |
--includedi |
--included |
--include \
1005 |
--includ |
--inclu |
--incl |
--inc)
1006 ac_prev
=includedir
;;
1007 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1008 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1009 includedir
=$ac_optarg ;;
1011 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1013 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1014 infodir
=$ac_optarg ;;
1016 -libdir |
--libdir |
--libdi |
--libd)
1018 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1019 libdir
=$ac_optarg ;;
1021 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1022 |
--libexe |
--libex |
--libe)
1023 ac_prev
=libexecdir
;;
1024 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1025 |
--libexe=* |
--libex=* |
--libe=*)
1026 libexecdir
=$ac_optarg ;;
1028 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1029 ac_prev
=localedir
;;
1030 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1031 localedir
=$ac_optarg ;;
1033 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1034 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1035 ac_prev
=localstatedir
;;
1036 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1037 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1038 localstatedir
=$ac_optarg ;;
1040 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1042 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1043 mandir
=$ac_optarg ;;
1045 -nfp |
--nfp |
--nf)
1046 # Obsolete; use --without-fp.
1049 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1050 |
--no-cr |
--no-c |
-n)
1053 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1054 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1057 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1058 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1059 |
--oldin |
--oldi |
--old |
--ol |
--o)
1060 ac_prev
=oldincludedir
;;
1061 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1062 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1063 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1064 oldincludedir
=$ac_optarg ;;
1066 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1068 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1069 prefix
=$ac_optarg ;;
1071 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1072 |
--program-pre |
--program-pr |
--program-p)
1073 ac_prev
=program_prefix
;;
1074 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1075 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1076 program_prefix
=$ac_optarg ;;
1078 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1079 |
--program-suf |
--program-su |
--program-s)
1080 ac_prev
=program_suffix
;;
1081 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1082 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1083 program_suffix
=$ac_optarg ;;
1085 -program-transform-name |
--program-transform-name \
1086 |
--program-transform-nam |
--program-transform-na \
1087 |
--program-transform-n |
--program-transform- \
1088 |
--program-transform |
--program-transfor \
1089 |
--program-transfo |
--program-transf \
1090 |
--program-trans |
--program-tran \
1091 |
--progr-tra |
--program-tr |
--program-t)
1092 ac_prev
=program_transform_name
;;
1093 -program-transform-name=* |
--program-transform-name=* \
1094 |
--program-transform-nam=* |
--program-transform-na=* \
1095 |
--program-transform-n=* |
--program-transform-=* \
1096 |
--program-transform=* |
--program-transfor=* \
1097 |
--program-transfo=* |
--program-transf=* \
1098 |
--program-trans=* |
--program-tran=* \
1099 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1100 program_transform_name
=$ac_optarg ;;
1102 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1104 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1105 pdfdir
=$ac_optarg ;;
1107 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1109 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1112 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1113 |
-silent |
--silent |
--silen |
--sile |
--sil)
1116 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1118 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1120 sbindir
=$ac_optarg ;;
1122 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1123 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1124 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1126 ac_prev
=sharedstatedir
;;
1127 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1128 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1129 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1131 sharedstatedir
=$ac_optarg ;;
1133 -site |
--site |
--sit)
1135 -site=* |
--site=* |
--sit=*)
1138 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1140 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1141 srcdir
=$ac_optarg ;;
1143 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1144 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1145 ac_prev
=sysconfdir
;;
1146 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1147 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1148 sysconfdir
=$ac_optarg ;;
1150 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1151 ac_prev
=target_alias
;;
1152 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1153 target_alias
=$ac_optarg ;;
1155 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1158 -version |
--version |
--versio |
--versi |
--vers |
-V)
1159 ac_init_version
=: ;;
1162 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1163 # Reject names that are not valid shell variable names.
1164 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1165 { echo "$as_me: error: invalid package name: $ac_package" >&2
1166 { (exit 1); exit 1; }; }
1167 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1168 eval with_
$ac_package=\
$ac_optarg ;;
1170 -without-* |
--without-*)
1171 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1172 # Reject names that are not valid shell variable names.
1173 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1174 { echo "$as_me: error: invalid package name: $ac_package" >&2
1175 { (exit 1); exit 1; }; }
1176 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1177 eval with_
$ac_package=no
;;
1180 # Obsolete; use --with-x.
1183 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1184 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1185 ac_prev
=x_includes
;;
1186 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1187 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1188 x_includes
=$ac_optarg ;;
1190 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1191 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1192 ac_prev
=x_libraries
;;
1193 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1194 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1195 x_libraries
=$ac_optarg ;;
1197 -*) { echo "$as_me: error: unrecognized option: $ac_option
1198 Try \`$0 --help' for more information." >&2
1199 { (exit 1); exit 1; }; }
1203 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1204 # Reject names that are not valid shell variable names.
1205 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1206 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1207 { (exit 1); exit 1; }; }
1208 eval $ac_envvar=\
$ac_optarg
1209 export $ac_envvar ;;
1212 # FIXME: should be removed in autoconf 3.0.
1213 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1214 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1215 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1216 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1222 if test -n "$ac_prev"; then
1223 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1224 { echo "$as_me: error: missing argument to $ac_option" >&2
1225 { (exit 1); exit 1; }; }
1228 # Be sure to have absolute directory names.
1229 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1230 datadir sysconfdir sharedstatedir localstatedir includedir \
1231 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1232 libdir localedir mandir
1234 eval ac_val
=\$
$ac_var
1236 [\\/$
]* | ?
:[\\/]* ) continue;;
1237 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1239 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1240 { (exit 1); exit 1; }; }
1243 # There might be people who depend on the old broken behavior: `$host'
1244 # used to hold the argument of --host etc.
1245 # FIXME: To remove some day.
1248 target
=$target_alias
1250 # FIXME: To remove some day.
1251 if test "x$host_alias" != x
; then
1252 if test "x$build_alias" = x
; then
1253 cross_compiling
=maybe
1254 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1255 If a cross compiler is detected then cross compile mode will be used." >&2
1256 elif test "x$build_alias" != "x$host_alias"; then
1262 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1264 test "$silent" = yes && exec 6>/dev
/null
1267 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1268 ac_ls_di
=`ls -di .` &&
1269 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1270 { echo "$as_me: error: Working directory cannot be determined" >&2
1271 { (exit 1); exit 1; }; }
1272 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1273 { echo "$as_me: error: pwd does not report name of working directory" >&2
1274 { (exit 1); exit 1; }; }
1277 # Find the source files, if location was not specified.
1278 if test -z "$srcdir"; then
1279 ac_srcdir_defaulted
=yes
1280 # Try the directory containing this script, then the parent directory.
1281 ac_confdir
=`$as_dirname -- "$0" ||
1282 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1283 X"$0" : 'X\(//\)[^/]' \| \
1284 X"$0" : 'X\(//\)$' \| \
1285 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1287 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1305 if test ! -r "$srcdir/$ac_unique_file"; then
1309 ac_srcdir_defaulted
=no
1311 if test ! -r "$srcdir/$ac_unique_file"; then
1312 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1313 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1314 { (exit 1); exit 1; }; }
1316 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1318 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1319 { (exit 1); exit 1; }; }
1321 # When building in place, set srcdir=.
1322 if test "$ac_abs_confdir" = "$ac_pwd"; then
1325 # Remove unnecessary trailing slashes from srcdir.
1326 # Double slashes in file names in object file debugging info
1327 # mess up M-x gdb in Emacs.
1329 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1331 for ac_var
in $ac_precious_vars; do
1332 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1333 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1334 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1335 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1339 # Report the --help message.
1341 if test "$ac_init_help" = "long"; then
1342 # Omit some internal or obsolete options to make the list less imposing.
1343 # This message is too long to be a string in the A/UX 3.1 sh.
1345 \`configure' configures this package to adapt to many kinds of systems.
1347 Usage: $0 [OPTION]... [VAR=VALUE]...
1349 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1350 VAR=VALUE. See below for descriptions of some of the useful variables.
1352 Defaults for the options are specified in brackets.
1355 -h, --help display this help and exit
1356 --help=short display options specific to this package
1357 --help=recursive display the short help of all the included packages
1358 -V, --version display version information and exit
1359 -q, --quiet, --silent do not print \`checking...' messages
1360 --cache-file=FILE cache test results in FILE [disabled]
1361 -C, --config-cache alias for \`--cache-file=config.cache'
1362 -n, --no-create do not create output files
1363 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1365 Installation directories:
1366 --prefix=PREFIX install architecture-independent files in PREFIX
1367 [$ac_default_prefix]
1368 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1371 By default, \`make install' will install all the files in
1372 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1373 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1374 for instance \`--prefix=\$HOME'.
1376 For better control, use the options below.
1378 Fine tuning of the installation directories:
1379 --bindir=DIR user executables [EPREFIX/bin]
1380 --sbindir=DIR system admin executables [EPREFIX/sbin]
1381 --libexecdir=DIR program executables [EPREFIX/libexec]
1382 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1383 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1384 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1385 --libdir=DIR object code libraries [EPREFIX/lib]
1386 --includedir=DIR C header files [PREFIX/include]
1387 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1388 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1389 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1390 --infodir=DIR info documentation [DATAROOTDIR/info]
1391 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1392 --mandir=DIR man documentation [DATAROOTDIR/man]
1393 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1394 --htmldir=DIR html documentation [DOCDIR]
1395 --dvidir=DIR dvi documentation [DOCDIR]
1396 --pdfdir=DIR pdf documentation [DOCDIR]
1397 --psdir=DIR ps documentation [DOCDIR]
1403 --x-includes=DIR X include files are
in DIR
1404 --x-libraries=DIR X library files are
in DIR
1407 --build=BUILD configure
for building on BUILD
[guessed
]
1408 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1412 if test -n "$ac_init_help"; then
1417 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1418 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1419 --enable-build-type=TYPE
1420 Select the build
type. Available types are
:
1421 personal
, nightly
, snapshot
, milestone
, release. Do
1422 NOT use this option unless you know what you are
1423 doing
! (default
=personal
)
1424 --enable-debug=list Enable different types of debug. Commas or
1425 whitespaces can be used to separate the items
in the
1426 list. Available types of debug are
: all
, none
,
1427 messages
, stack
, mungwall
, modules
, symbols. If no
1428 list is provided
then "all" is assumed.
1430 --enable-crosstools Build cross-compiler toolchains
if necessary
1432 --enable-distcc Use distcc as a front end to the compiler
1434 --enable-ccache Use ccache as a front end to the compiler
1436 --enable-target-variant=NAME
1437 Enable a specific target variant
(default
=none
)
1438 --enable-includes=dir Alternative system include directory
1439 --enable-palm-debug-hack
1440 Enable palm debug output hack
in palm native
1442 --enable-nesting-supervisor
1443 Enable nesting supervisor support
in unix
1445 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1446 --enable-x11-shm use X11 shared memory
(default
=auto
)
1447 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1448 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1449 --disable-sdltest Do not try to compile and run a
test SDL program
1450 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1453 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1454 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1455 --with-optimization=FLAGS
1456 Use optimization flags FLAGS
(default
=-O2).
1457 --with-portssources=DIR Where to download sourcecode
for external ports
1458 --with-bootloader=NAME Use a specific bootloader
1459 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1460 --with-theme=NAME Use a specific GUI Theme
1461 --with-resolution=XRESxYRESxDEPTH
1462 Default resolution of the initial WorkbenchScreen
1463 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1464 --with-x use the X Window System
1465 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1466 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1468 Some influential environment variables
:
1469 CC C compiler
command
1470 CFLAGS C compiler flags
1471 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1472 nonstandard directory
<lib dir
>
1473 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1474 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1475 you have headers
in a nonstandard directory
<include dir
>
1477 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1479 Use these variables to override the choices made by
`configure' or to help
1480 it to find libraries and programs with nonstandard names/locations.
1486 if test "$ac_init_help" = "recursive"; then
1487 # If there are subdirs, report their specific --help.
1488 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1489 test -d "$ac_dir" || continue
1493 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1495 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1496 # A ".." for each directory in $ac_dir_suffix.
1497 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1498 case $ac_top_builddir_sub in
1499 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1500 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1503 ac_abs_top_builddir=$ac_pwd
1504 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1505 # for backward compatibility:
1506 ac_top_builddir=$ac_top_build_prefix
1509 .) # We are building in place.
1511 ac_top_srcdir=$ac_top_builddir_sub
1512 ac_abs_top_srcdir=$ac_pwd ;;
1513 [\\/]* | ?:[\\/]* ) # Absolute name.
1514 ac_srcdir=$srcdir$ac_dir_suffix;
1515 ac_top_srcdir=$srcdir
1516 ac_abs_top_srcdir=$srcdir ;;
1518 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1519 ac_top_srcdir=$ac_top_build_prefix$srcdir
1520 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1522 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1524 cd "$ac_dir" || { ac_status=$?; continue; }
1525 # Check for guested configure.
1526 if test -f "$ac_srcdir/configure.gnu"; then
1528 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1529 elif test -f "$ac_srcdir/configure"; then
1531 $SHELL "$ac_srcdir/configure" --help=recursive
1533 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1535 cd "$ac_pwd" || { ac_status=$?; break; }
1539 test -n "$ac_init_help" && exit $ac_status
1540 if $ac_init_version; then
1543 generated by GNU Autoconf 2.61
1545 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1546 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1547 This configure script is free software; the Free Software Foundation
1548 gives unlimited permission to copy, distribute and modify it.
1552 cat >config.log <<_ACEOF
1553 This file contains any messages produced by compilers while
1554 running configure, to aid debugging if configure makes a mistake.
1556 It was created by $as_me, which was
1557 generated by GNU Autoconf 2.61. Invocation command line was
1569 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1570 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1571 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1572 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1573 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1575 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1576 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1578 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1579 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1580 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1581 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1582 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1583 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1584 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1592 test -z "$as_dir" && as_dir=.
1593 echo "PATH: $as_dir"
1609 # Keep a trace of the command line.
1610 # Strip out --no-create and --no-recursion so they do not pile up.
1611 # Strip out --silent because we don't want to record it for future runs.
1612 # Also quote any args containing shell meta-characters.
1613 # Make two passes to allow for proper duplicate-argument suppression.
1617 ac_must_keep_next=false
1623 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1624 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1625 | -silent | --silent | --silen | --sile | --sil)
1628 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1631 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1633 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1634 if test $ac_must_keep_next = true; then
1635 ac_must_keep_next=false # Got value, back to normal.
1638 *=* | --config-cache | -C | -disable-* | --disable-* \
1639 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1640 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1641 | -with-* | --with-* | -without-* | --without-* | --x)
1642 case "$ac_configure_args0 " in
1643 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1646 -* ) ac_must_keep_next=true ;;
1649 ac_configure_args="$ac_configure_args '$ac_arg'"
1654 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1655 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1657 # When interrupted or exit'd, cleanup temporary files, and complete
1658 # config.log. We remove comments because anyway the quotes in there
1659 # would cause problems or look ugly.
1660 # WARNING: Use '\'' to represent an apostrophe within the trap.
1661 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1662 trap 'exit_status=$?
1663 # Save into config.log some information that might help in debugging.
1668 ## ---------------- ##
1669 ## Cache variables. ##
1670 ## ---------------- ##
1673 # The following way of writing the cache mishandles newlines in values,
1675 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1676 eval ac_val=\$$ac_var
1680 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1681 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1684 _ | IFS | as_nl) ;; #(
1685 *) $as_unset $ac_var ;;
1690 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1691 *${as_nl}ac_space=\ *)
1693 "s/'\''/'\''\\\\'\'''\''/g;
1694 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1697 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1705 ## ----------------- ##
1706 ## Output variables. ##
1707 ## ----------------- ##
1710 for ac_var in $ac_subst_vars
1712 eval ac_val=\$$ac_var
1714 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1716 echo "$ac_var='\''$ac_val'\''"
1720 if test -n "$ac_subst_files"; then
1722 ## ------------------- ##
1723 ## File substitutions. ##
1724 ## ------------------- ##
1727 for ac_var in $ac_subst_files
1729 eval ac_val=\$$ac_var
1731 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1733 echo "$ac_var='\''$ac_val'\''"
1738 if test -s confdefs.h; then
1748 test "$ac_signal" != 0 &&
1749 echo "$as_me: caught signal $ac_signal"
1750 echo "$as_me: exit $exit_status"
1752 rm -f core *.core core.conftest.* &&
1753 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1756 for ac_signal in 1 2 13 15; do
1757 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1761 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1762 rm -f -r conftest* confdefs.h
1764 # Predefined preprocessor variables.
1766 cat >>confdefs.h <<_ACEOF
1767 #define PACKAGE_NAME "$PACKAGE_NAME"
1771 cat >>confdefs.h <<_ACEOF
1772 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1776 cat >>confdefs.h <<_ACEOF
1777 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1781 cat >>confdefs.h <<_ACEOF
1782 #define PACKAGE_STRING "$PACKAGE_STRING"
1786 cat >>confdefs.h <<_ACEOF
1787 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1791 # Let the site file select an alternate cache file if it wants to.
1792 # Prefer explicitly selected file to automatically selected ones.
1793 if test -n "$CONFIG_SITE"; then
1794 set x "$CONFIG_SITE"
1795 elif test "x$prefix" != xNONE; then
1796 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1798 set x "$ac_default_prefix/share/config.site" \
1799 "$ac_default_prefix/etc/config.site"
1804 if test -r "$ac_site_file"; then
1805 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1806 echo "$as_me: loading site script $ac_site_file" >&6;}
1807 sed 's/^/| /' "$ac_site_file" >&5
1812 if test -r "$cache_file"; then
1813 # Some versions of bash will fail to source /dev/null (special
1814 # files actually), so we avoid doing that.
1815 if test -f "$cache_file"; then
1816 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1817 echo "$as_me: loading cache $cache_file" >&6;}
1819 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1820 *) . "./$cache_file";;
1824 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1825 echo "$as_me: creating cache $cache_file" >&6;}
1829 # Check that the precious variables saved in the cache have kept the same
1831 ac_cache_corrupted=false
1832 for ac_var in $ac_precious_vars; do
1833 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1834 eval ac_new_set=\$ac_env_${ac_var}_set
1835 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1836 eval ac_new_val=\$ac_env_${ac_var}_value
1837 case $ac_old_set,$ac_new_set in
1839 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1840 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1841 ac_cache_corrupted=: ;;
1843 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1844 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1845 ac_cache_corrupted=: ;;
1848 if test "x$ac_old_val" != "x$ac_new_val"; then
1849 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1850 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1851 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1852 echo "$as_me: former value
: $ac_old_val" >&2;}
1853 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1854 echo "$as_me: current value
: $ac_new_val" >&2;}
1855 ac_cache_corrupted=:
1858 # Pass precious variables to config.status.
1859 if test "$ac_new_set" = set; then
1861 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1862 *) ac_arg=$ac_var=$ac_new_val ;;
1864 case " $ac_configure_args " in
1865 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1866 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1870 if $ac_cache_corrupted; then
1871 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1872 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1873 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1874 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1875 { (exit 1); exit 1; }; }
1895 ac_cpp='$CPP $CPPFLAGS'
1896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1903 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
1904 if test -f "$ac_dir/install-sh"; then
1906 ac_install_sh="$ac_aux_dir/install-sh -c"
1908 elif test -f "$ac_dir/install.sh"; then
1910 ac_install_sh="$ac_aux_dir/install.sh -c"
1912 elif test -f "$ac_dir/shtool"; then
1914 ac_install_sh="$ac_aux_dir/shtool install -c"
1918 if test -z "$ac_aux_dir"; then
1919 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts/autoconf \"$srcdir\"/scripts/autoconf" >&5
1920 echo "$as_me: error: cannot find install-sh or install.sh in scripts/autoconf \"$srcdir\"/scripts/autoconf" >&2;}
1921 { (exit 1); exit 1; }; }
1924 # These three variables are undocumented and unsupported,
1925 # and are intended to be withdrawn in a future Autoconf release.
1926 # They can cause serious problems if a builder's source tree is in a directory
1927 # whose full name contains unusual characters.
1928 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1929 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1930 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1934 # Check what host we are running on.
1935 # If a target is not suggested, we use this one.
1936 # Note that what we call a target, Autoconf calls a host.
1937 # Make sure we can run config.sub.
1938 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1939 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1940 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1941 { (exit 1); exit 1; }; }
1943 { echo "$as_me:$LINENO: checking build system type" >&5
1944 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1945 if test "${ac_cv_build+set}" = set; then
1946 echo $ECHO_N "(cached) $ECHO_C" >&6
1948 ac_build_alias=$build_alias
1949 test "x$ac_build_alias" = x &&
1950 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1951 test "x$ac_build_alias" = x &&
1952 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1953 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1954 { (exit 1); exit 1; }; }
1955 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1956 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1957 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1958 { (exit 1); exit 1; }; }
1961 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1962 echo "${ECHO_T}$ac_cv_build" >&6; }
1963 case $ac_cv_build in
1965 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1966 echo "$as_me: error: invalid value of canonical build" >&2;}
1967 { (exit 1); exit 1; }; };;
1970 ac_save_IFS=$IFS; IFS='-'
1976 # Remember, the first character of IFS is used to create $*,
1977 # except with old shells:
1980 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
1983 { echo "$as_me:$LINENO: checking host system type" >&5
1984 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1985 if test "${ac_cv_host+set}" = set; then
1986 echo $ECHO_N "(cached) $ECHO_C" >&6
1988 if test "x$host_alias" = x; then
1989 ac_cv_host=$ac_cv_build
1991 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1992 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1993 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1994 { (exit 1); exit 1; }; }
1998 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1999 echo "${ECHO_T}$ac_cv_host" >&6; }
2002 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2003 echo "$as_me: error: invalid value of canonical host" >&2;}
2004 { (exit 1); exit 1; }; };;
2007 ac_save_IFS=$IFS; IFS='-'
2013 # Remember, the first character of IFS is used to create $*,
2014 # except with old shells:
2017 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2021 # The AROS target is slightly different to the normal GNU style
2022 # format. We don't have the middle part, and we reverse the order
2023 # of the $(CPU) and $(OS) bits.
2025 # Don't strip the version of the target yet, it might be
2026 # useful on some systems.
2028 { echo "$as_me:$LINENO: checking for AROS style target" >&5
2029 echo $ECHO_N "checking for AROS style target... $ECHO_C" >&6; }
2031 if test "$target" = "NONE" ; then
2032 target=$host_os-$host_cpu
2035 if test "$target" = "" ; then
2036 target=$host_os-$host_cpu
2042 { echo "$as_me:$LINENO: result: $target" >&5
2043 echo "${ECHO_T}$target" >&6; }
2045 if test "$host_os" = "mingw32" ; then
2049 #don't know where else to put this...
2050 { echo "$as_me:$LINENO: checking Building AROS in .. " >&5
2051 echo $ECHO_N "checking Building AROS in .. ... $ECHO_C" >&6; }
2052 AROS_BUILDDIR=`${PWDCMD-pwd}`
2053 AROS_BUILDDIR_UNIX=${PWD}
2054 { echo "$as_me:$LINENO: result: $AROS_BUILDDIR" >&5
2055 echo "${ECHO_T}$AROS_BUILDDIR" >&6; }
2057 { echo "$as_me:$LINENO: checking AROS Source in .. " >&5
2058 echo $ECHO_N "checking AROS Source in .. ... $ECHO_C" >&6; }
2059 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2061 { echo "$as_me:$LINENO: result: $SRCDIR" >&5
2062 echo "${ECHO_T}$SRCDIR" >&6; }
2064 # Parse the target field into something useful.
2066 target_os=`echo $target |
sed 's/^\([^-]*\)-\(.*\)$/\1/'`
2067 target_cpu=`echo $target |
sed 's/^\([^-]*\)-\(.*\)$/\2/'`
2070 aros_default_wbwidth=800
2071 aros_default_wbheight=600
2072 aros_default_wbdepth=4
2075 # The first step is to find the host binaries.
2076 # Check for a compiler.
2078 ac_cpp='$CPP $CPPFLAGS'
2079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2082 if test -n "$ac_tool_prefix"; then
2083 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2084 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2085 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2087 if test "${ac_cv_prog_CC+set}" = set; then
2088 echo $ECHO_N "(cached) $ECHO_C" >&6
2090 if test -n "$CC"; then
2091 ac_cv_prog_CC="$CC" # Let the user override the test.
2093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2097 test -z "$as_dir" && as_dir=.
2098 for ac_exec_ext in '' $ac_executable_extensions; do
2099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2100 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2111 if test -n "$CC"; then
2112 { echo "$as_me:$LINENO: result: $CC" >&5
2113 echo "${ECHO_T}$CC" >&6; }
2115 { echo "$as_me:$LINENO: result: no" >&5
2116 echo "${ECHO_T}no" >&6; }
2121 if test -z "$ac_cv_prog_CC"; then
2123 # Extract the first word of "gcc", so it can be a program name with args.
2124 set dummy gcc; ac_word=$2
2125 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2127 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2128 echo $ECHO_N "(cached) $ECHO_C" >&6
2130 if test -n "$ac_ct_CC"; then
2131 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2137 test -z "$as_dir" && as_dir=.
2138 for ac_exec_ext in '' $ac_executable_extensions; do
2139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2140 ac_cv_prog_ac_ct_CC="gcc"
2141 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2150 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2151 if test -n "$ac_ct_CC"; then
2152 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2153 echo "${ECHO_T}$ac_ct_CC" >&6; }
2155 { echo "$as_me:$LINENO: result: no" >&5
2156 echo "${ECHO_T}no" >&6; }
2159 if test "x$ac_ct_CC" = x; then
2162 case $cross_compiling:$ac_tool_warned in
2164 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2165 whose name does not start with the host triplet. If you think this
2166 configuration is useful to you, please write to autoconf@gnu.org." >&5
2167 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2168 whose name does not start with the host triplet. If you think this
2169 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2170 ac_tool_warned=yes ;;
2178 if test -z "$CC"; then
2179 if test -n "$ac_tool_prefix"; then
2180 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2181 set dummy ${ac_tool_prefix}cc; ac_word=$2
2182 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2184 if test "${ac_cv_prog_CC+set}" = set; then
2185 echo $ECHO_N "(cached) $ECHO_C" >&6
2187 if test -n "$CC"; then
2188 ac_cv_prog_CC="$CC" # Let the user override the test.
2190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2194 test -z "$as_dir" && as_dir=.
2195 for ac_exec_ext in '' $ac_executable_extensions; do
2196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2197 ac_cv_prog_CC="${ac_tool_prefix}cc"
2198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2208 if test -n "$CC"; then
2209 { echo "$as_me:$LINENO: result: $CC" >&5
2210 echo "${ECHO_T}$CC" >&6; }
2212 { echo "$as_me:$LINENO: result: no" >&5
2213 echo "${ECHO_T}no" >&6; }
2219 if test -z "$CC"; then
2220 # Extract the first word of "cc", so it can be a program name with args.
2221 set dummy cc; ac_word=$2
2222 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2224 if test "${ac_cv_prog_CC+set}" = set; then
2225 echo $ECHO_N "(cached) $ECHO_C" >&6
2227 if test -n "$CC"; then
2228 ac_cv_prog_CC="$CC" # Let the user override the test.
2231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2235 test -z "$as_dir" && as_dir=.
2236 for ac_exec_ext in '' $ac_executable_extensions; do
2237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2238 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2239 ac_prog_rejected=yes
2243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2250 if test $ac_prog_rejected = yes; then
2251 # We found a bogon in the path, so make sure we never use it.
2252 set dummy $ac_cv_prog_CC
2254 if test $# != 0; then
2255 # We chose a different compiler from the bogus one.
2256 # However, it has the same basename, so the bogon will be chosen
2257 # first if we set CC to just the basename; use the full file name.
2259 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2265 if test -n "$CC"; then
2266 { echo "$as_me:$LINENO: result: $CC" >&5
2267 echo "${ECHO_T}$CC" >&6; }
2269 { echo "$as_me:$LINENO: result: no" >&5
2270 echo "${ECHO_T}no" >&6; }
2275 if test -z "$CC"; then
2276 if test -n "$ac_tool_prefix"; then
2277 for ac_prog in cl.exe
2279 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2280 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2281 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2283 if test "${ac_cv_prog_CC+set}" = set; then
2284 echo $ECHO_N "(cached) $ECHO_C" >&6
2286 if test -n "$CC"; then
2287 ac_cv_prog_CC="$CC" # Let the user override the test.
2289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2293 test -z "$as_dir" && as_dir=.
2294 for ac_exec_ext in '' $ac_executable_extensions; do
2295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2296 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2307 if test -n "$CC"; then
2308 { echo "$as_me:$LINENO: result: $CC" >&5
2309 echo "${ECHO_T}$CC" >&6; }
2311 { echo "$as_me:$LINENO: result: no" >&5
2312 echo "${ECHO_T}no" >&6; }
2316 test -n "$CC" && break
2319 if test -z "$CC"; then
2321 for ac_prog in cl.exe
2323 # Extract the first word of "$ac_prog", so it can be a program name with args.
2324 set dummy $ac_prog; ac_word=$2
2325 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2327 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2328 echo $ECHO_N "(cached) $ECHO_C" >&6
2330 if test -n "$ac_ct_CC"; then
2331 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2337 test -z "$as_dir" && as_dir=.
2338 for ac_exec_ext in '' $ac_executable_extensions; do
2339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2340 ac_cv_prog_ac_ct_CC="$ac_prog"
2341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2350 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2351 if test -n "$ac_ct_CC"; then
2352 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2353 echo "${ECHO_T}$ac_ct_CC" >&6; }
2355 { echo "$as_me:$LINENO: result: no" >&5
2356 echo "${ECHO_T}no" >&6; }
2360 test -n "$ac_ct_CC" && break
2363 if test "x$ac_ct_CC" = x; then
2366 case $cross_compiling:$ac_tool_warned in
2368 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2369 whose name does not start with the host triplet. If you think this
2370 configuration is useful to you, please write to autoconf@gnu.org." >&5
2371 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2372 whose name does not start with the host triplet. If you think this
2373 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2374 ac_tool_warned=yes ;;
2383 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2384 See \`config.log
' for more details." >&5
2385 echo "$as_me: error: no acceptable C compiler found in \$PATH
2386 See \`config.log' for more details.
" >&2;}
2387 { (exit 1); exit 1; }; }
2389 # Provide some information about the compiler.
2390 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2391 ac_compiler=`set X $ac_compile; echo $2`
2392 { (ac_try="$ac_compiler --version >&5"
2394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2395 *) ac_try_echo=$ac_try;;
2397 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2398 (eval "$ac_compiler --version >&5") 2>&5
2400 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2401 (exit $ac_status); }
2402 { (ac_try="$ac_compiler -v >&5"
2404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2405 *) ac_try_echo=$ac_try;;
2407 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2408 (eval "$ac_compiler -v >&5") 2>&5
2410 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2411 (exit $ac_status); }
2412 { (ac_try="$ac_compiler -V >&5"
2414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2415 *) ac_try_echo=$ac_try;;
2417 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2418 (eval "$ac_compiler -V >&5") 2>&5
2420 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2421 (exit $ac_status); }
2423 cat >conftest.$ac_ext <<_ACEOF
2426 cat confdefs.h >>conftest.$ac_ext
2427 cat >>conftest.$ac_ext <<_ACEOF
2428 /* end confdefs.h. */
2438 ac_clean_files_save=$ac_clean_files
2439 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2440 # Try to create an executable without -o first, disregard a.out.
2441 # It will help us diagnose broken compilers, and finding out an intuition
2443 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2444 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2445 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2447 # List of possible output files, starting from the most likely.
2448 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2449 # only as a last resort. b.out is created by i960 compilers.
2450 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2452 # The IRIX 6 linker writes into existing files which may not be
2453 # executable, retaining their permissions. Remove them first so a
2454 # subsequent execution test works.
2456 for ac_file in $ac_files
2459 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2460 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2465 if { (ac_try="$ac_link_default"
2467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2468 *) ac_try_echo=$ac_try;;
2470 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2471 (eval "$ac_link_default") 2>&5
2473 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2474 (exit $ac_status); }; then
2475 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2476 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2477 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2478 # so that the user can short-circuit this test for compilers unknown to
2480 for ac_file in $ac_files ''
2482 test -f "$ac_file" || continue
2484 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2487 # We found the default executable, but exeext='' is most
2491 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2493 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2495 # We set ac_cv_exeext here because the later test for it is not
2496 # safe: cross compilers may not add the suffix if given an `-o'
2497 # argument, so we may need to know it at that point already.
2498 # Even if this section looks crufty: it has the advantage of
2505 test "$ac_cv_exeext" = no && ac_cv_exeext=
2511 { echo "$as_me:$LINENO: result
: $ac_file" >&5
2512 echo "${ECHO_T}$ac_file" >&6; }
2513 if test -z "$ac_file"; then
2514 echo "$as_me: failed program was
:" >&5
2515 sed 's/^/| /' conftest.$ac_ext >&5
2517 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2518 See \
`config.log' for more details." >&5
2519 echo "$as_me: error: C compiler cannot create executables
2520 See \`config.log
' for more details." >&2;}
2521 { (exit 77); exit 77; }; }
2524 ac_exeext=$ac_cv_exeext
2526 # Check that the compiler produces executables we can run. If not, either
2527 # the compiler is broken, or we cross compile.
2528 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2529 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2530 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2531 # If not cross compiling, check that we can run a simple program.
2532 if test "$cross_compiling" != yes; then
2533 if { ac_try='.
/$ac_file'
2534 { (case "(($ac_try" in
2535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2536 *) ac_try_echo=$ac_try;;
2538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2539 (eval "$ac_try") 2>&5
2541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2542 (exit $ac_status); }; }; then
2545 if test "$cross_compiling" = maybe; then
2548 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2549 If you meant to cross compile, use \`--host'.
2550 See \
`config.log' for more details." >&5
2551 echo "$as_me: error: cannot run C compiled programs.
2552 If you meant to cross compile, use \`--host'.
2553 See \`config.log' for more details.
" >&2;}
2554 { (exit 1); exit 1; }; }
2558 { echo "$as_me:$LINENO: result
: yes" >&5
2559 echo "${ECHO_T}yes" >&6; }
2561 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2562 ac_clean_files=$ac_clean_files_save
2563 # Check that the compiler produces executables we can run. If not, either
2564 # the compiler is broken, or we cross compile.
2565 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2566 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2567 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2568 echo "${ECHO_T}$cross_compiling" >&6; }
2570 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2571 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2572 if { (ac_try="$ac_link"
2574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2575 *) ac_try_echo=$ac_try;;
2577 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2578 (eval "$ac_link") 2>&5
2580 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2581 (exit $ac_status); }; then
2582 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2583 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2584 # work properly (i.e., refer to `conftest.exe'), while it won't with
2586 for ac_file in conftest.exe conftest conftest.*; do
2587 test -f "$ac_file" || continue
2589 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2590 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2596 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2597 See \
`config.log' for more details." >&5
2598 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2599 See \`config.log
' for more details." >&2;}
2600 { (exit 1); exit 1; }; }
2603 rm -f conftest$ac_cv_exeext
2604 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2605 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2607 rm -f conftest.$ac_ext
2608 EXEEXT=$ac_cv_exeext
2610 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2611 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2612 if test "${ac_cv_objext+set}" = set; then
2613 echo $ECHO_N "(cached) $ECHO_C" >&6
2615 cat >conftest.$ac_ext <<_ACEOF
2618 cat confdefs.h >>conftest.$ac_ext
2619 cat >>conftest.$ac_ext <<_ACEOF
2620 /* end confdefs.h. */
2630 rm -f conftest.o conftest.obj
2631 if { (ac_try="$ac_compile"
2633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2634 *) ac_try_echo=$ac_try;;
2636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2637 (eval "$ac_compile") 2>&5
2639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640 (exit $ac_status); }; then
2641 for ac_file in conftest.o conftest.obj conftest.*; do
2642 test -f "$ac_file" || continue;
2644 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2645 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2650 echo "$as_me: failed program was:" >&5
2651 sed 's
/^
/|
/' conftest.$ac_ext >&5
2653 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2654 See \`config.log' for more details.
" >&5
2655 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2656 See \
`config.log' for more details." >&2;}
2657 { (exit 1); exit 1; }; }
2660 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2662 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2663 echo "${ECHO_T}$ac_cv_objext" >&6; }
2664 OBJEXT=$ac_cv_objext
2666 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2667 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2668 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2669 echo $ECHO_N "(cached) $ECHO_C" >&6
2671 cat >conftest.$ac_ext <<_ACEOF
2674 cat confdefs.h >>conftest.$ac_ext
2675 cat >>conftest.$ac_ext <<_ACEOF
2676 /* end confdefs.h. */
2689 rm -f conftest.$ac_objext
2690 if { (ac_try="$ac_compile"
2692 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2693 *) ac_try_echo
=$ac_try;;
2695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2696 (eval "$ac_compile") 2>conftest.er1
2698 grep -v '^ *+' conftest.er1
>conftest.err
2700 cat conftest.err
>&5
2701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2702 (exit $ac_status); } && {
2703 test -z "$ac_c_werror_flag" ||
2704 test ! -s conftest.err
2705 } && test -s conftest.
$ac_objext; then
2708 echo "$as_me: failed program was:" >&5
2709 sed 's/^/| /' conftest.
$ac_ext >&5
2714 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2715 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2718 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2719 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2720 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2721 ac_test_CFLAGS
=${CFLAGS+set}
2722 ac_save_CFLAGS
=$CFLAGS
2723 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2724 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2725 if test "${ac_cv_prog_cc_g+set}" = set; then
2726 echo $ECHO_N "(cached) $ECHO_C" >&6
2728 ac_save_c_werror_flag
=$ac_c_werror_flag
2729 ac_c_werror_flag
=yes
2732 cat >conftest.
$ac_ext <<_ACEOF
2735 cat confdefs.h
>>conftest.
$ac_ext
2736 cat >>conftest.
$ac_ext <<_ACEOF
2737 /* end confdefs.h. */
2747 rm -f conftest.
$ac_objext
2748 if { (ac_try
="$ac_compile"
2750 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2751 *) ac_try_echo=$ac_try;;
2753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2754 (eval "$ac_compile") 2>conftest.er1
2756 grep -v '^ *+' conftest.er1 >conftest.err
2758 cat conftest.err >&5
2759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2760 (exit $ac_status); } && {
2761 test -z "$ac_c_werror_flag" ||
2762 test ! -s conftest.err
2763 } && test -s conftest.$ac_objext; then
2766 echo "$as_me: failed program was:" >&5
2767 sed 's/^/| /' conftest.$ac_ext >&5
2770 cat >conftest.$ac_ext <<_ACEOF
2773 cat confdefs.h >>conftest.$ac_ext
2774 cat >>conftest.$ac_ext <<_ACEOF
2775 /* end confdefs.h. */
2785 rm -f conftest.$ac_objext
2786 if { (ac_try="$ac_compile"
2788 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2789 *) ac_try_echo
=$ac_try;;
2791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2792 (eval "$ac_compile") 2>conftest.er1
2794 grep -v '^ *+' conftest.er1
>conftest.err
2796 cat conftest.err
>&5
2797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2798 (exit $ac_status); } && {
2799 test -z "$ac_c_werror_flag" ||
2800 test ! -s conftest.err
2801 } && test -s conftest.
$ac_objext; then
2804 echo "$as_me: failed program was:" >&5
2805 sed 's/^/| /' conftest.
$ac_ext >&5
2807 ac_c_werror_flag
=$ac_save_c_werror_flag
2809 cat >conftest.
$ac_ext <<_ACEOF
2812 cat confdefs.h
>>conftest.
$ac_ext
2813 cat >>conftest.
$ac_ext <<_ACEOF
2814 /* end confdefs.h. */
2824 rm -f conftest.
$ac_objext
2825 if { (ac_try
="$ac_compile"
2827 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2828 *) ac_try_echo=$ac_try;;
2830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2831 (eval "$ac_compile") 2>conftest.er1
2833 grep -v '^ *+' conftest.er1 >conftest.err
2835 cat conftest.err >&5
2836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2837 (exit $ac_status); } && {
2838 test -z "$ac_c_werror_flag" ||
2839 test ! -s conftest.err
2840 } && test -s conftest.$ac_objext; then
2843 echo "$as_me: failed program was:" >&5
2844 sed 's/^/| /' conftest.$ac_ext >&5
2849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2856 ac_c_werror_flag=$ac_save_c_werror_flag
2858 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2859 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2860 if test "$ac_test_CFLAGS" = set; then
2861 CFLAGS=$ac_save_CFLAGS
2862 elif test $ac_cv_prog_cc_g = yes; then
2863 if test "$GCC" = yes; then
2869 if test "$GCC" = yes; then
2875 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2876 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2877 if test "${ac_cv_prog_cc_c89+set}" = set; then
2878 echo $ECHO_N "(cached) $ECHO_C" >&6
2880 ac_cv_prog_cc_c89=no
2882 cat >conftest.$ac_ext <<_ACEOF
2885 cat confdefs.h >>conftest.$ac_ext
2886 cat >>conftest.$ac_ext <<_ACEOF
2887 /* end confdefs.h. */
2890 #include <sys/types.h>
2891 #include <sys/stat.h>
2892 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2893 struct buf { int x; };
2894 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2895 static char *e (p, i)
2901 static char *f (char * (*g) (char **, int), char **p, ...)
2906 s = g (p, va_arg (v,int));
2911 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2912 function prototypes and stuff, but not '\xHH' hex character constants.
2913 These don't provoke an error unfortunately, instead are silently treated
2914 as 'x'. The following induces an error, until -std is added to get
2915 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2916 array size at least. It's necessary to write '\x00'==0 to get something
2917 that's true only with -std. */
2918 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2920 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2921 inside strings and character constants. */
2923 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2925 int test (int i, double x);
2926 struct s1 {int (*f) (int a);};
2927 struct s2 {int (*f) (double a);};
2928 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2934 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2939 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2940 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2942 CC="$ac_save_CC $ac_arg"
2943 rm -f conftest.$ac_objext
2944 if { (ac_try="$ac_compile"
2946 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2947 *) ac_try_echo
=$ac_try;;
2949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2950 (eval "$ac_compile") 2>conftest.er1
2952 grep -v '^ *+' conftest.er1
>conftest.err
2954 cat conftest.err
>&5
2955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2956 (exit $ac_status); } && {
2957 test -z "$ac_c_werror_flag" ||
2958 test ! -s conftest.err
2959 } && test -s conftest.
$ac_objext; then
2960 ac_cv_prog_cc_c89
=$ac_arg
2962 echo "$as_me: failed program was:" >&5
2963 sed 's/^/| /' conftest.
$ac_ext >&5
2968 rm -f core conftest.err conftest.
$ac_objext
2969 test "x$ac_cv_prog_cc_c89" != "xno" && break
2971 rm -f conftest.
$ac_ext
2976 case "x$ac_cv_prog_cc_c89" in
2978 { echo "$as_me:$LINENO: result: none needed" >&5
2979 echo "${ECHO_T}none needed" >&6; } ;;
2981 { echo "$as_me:$LINENO: result: unsupported" >&5
2982 echo "${ECHO_T}unsupported" >&6; } ;;
2984 CC
="$CC $ac_cv_prog_cc_c89"
2985 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2986 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2991 ac_cpp
='$CPP $CPPFLAGS'
2992 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2993 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2994 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2996 case $ac_cv_prog_cc_stdc in
2997 no
) ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;;
2998 *) { echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
2999 echo $ECHO_N "checking for $CC option to accept ISO C99... $ECHO_C" >&6; }
3000 if test "${ac_cv_prog_cc_c99+set}" = set; then
3001 echo $ECHO_N "(cached) $ECHO_C" >&6
3003 ac_cv_prog_cc_c99
=no
3005 cat >conftest.
$ac_ext <<_ACEOF
3008 cat confdefs.h
>>conftest.
$ac_ext
3009 cat >>conftest.
$ac_ext <<_ACEOF
3010 /* end confdefs.h. */
3012 #include <stdbool.h>
3017 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3018 #define debug(...) fprintf (stderr, __VA_ARGS__)
3019 #define showlist(...) puts (#__VA_ARGS__)
3020 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3022 test_varargs_macros (void)
3027 debug ("X = %d\n", x);
3028 showlist (The first, second, and third items.);
3029 report (x>y, "x is %d but y is %d", x, y);
3032 // Check long long types.
3033 #define BIG64 18446744073709551615ull
3034 #define BIG32 4294967295ul
3035 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3037 your preprocessor is broken;
3041 your preprocessor is broken;
3043 static long long int bignum = -9223372036854775807LL;
3044 static unsigned long long int ubignum = BIG64;
3046 struct incomplete_array
3054 const wchar_t *name;
3058 typedef const char *ccp;
3061 test_restrict (ccp restrict text)
3063 // See if C++-style comments work.
3064 // Iterate through items via the restricted pointer.
3065 // Also check for declarations in for loops.
3066 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3071 // Check varargs and va_copy.
3073 test_varargs (const char *format, ...)
3076 va_start (args, format);
3078 va_copy (args_copy, args);
3089 str = va_arg (args_copy, const char *);
3092 number = va_arg (args_copy, int);
3095 fnumber = va_arg (args_copy, double);
3110 _Bool success = false;
3113 if (test_restrict ("String literal") == 0)
3115 char *restrict newvar = "Another string";
3118 test_varargs ("s, d' f .", "string", 65, 34.234);
3119 test_varargs_macros ();
3121 // Check flexible array members.
3122 struct incomplete_array *ia =
3123 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3125 for (int i = 0; i < ia->datasize; ++i)
3126 ia->data[i] = i * 1.234;
3128 // Check named initializers.
3129 struct named_init ni = {
3131 .name = L"Test wide string",
3132 .average = 543.34343,
3137 int dynamic_array[ni.number];
3138 dynamic_array[ni.number - 1] = 543;
3140 // work around unused variable warnings
3141 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3142 || dynamic_array[ni.number - 1] != 543);
3148 for ac_arg
in '' -std=gnu99
-c99 -qlanglvl=extc99
3150 CC
="$ac_save_CC $ac_arg"
3151 rm -f conftest.
$ac_objext
3152 if { (ac_try
="$ac_compile"
3154 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3155 *) ac_try_echo=$ac_try;;
3157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3158 (eval "$ac_compile") 2>conftest.er1
3160 grep -v '^ *+' conftest.er1 >conftest.err
3162 cat conftest.err >&5
3163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164 (exit $ac_status); } && {
3165 test -z "$ac_c_werror_flag" ||
3166 test ! -s conftest.err
3167 } && test -s conftest.$ac_objext; then
3168 ac_cv_prog_cc_c99=$ac_arg
3170 echo "$as_me: failed program was:" >&5
3171 sed 's/^/| /' conftest.$ac_ext >&5
3176 rm -f core conftest.err conftest.$ac_objext
3177 test "x$ac_cv_prog_cc_c99" != "xno" && break
3179 rm -f conftest.$ac_ext
3184 case "x$ac_cv_prog_cc_c99" in
3186 { echo "$as_me:$LINENO: result: none needed" >&5
3187 echo "${ECHO_T}none needed" >&6; } ;;
3189 { echo "$as_me:$LINENO: result: unsupported" >&5
3190 echo "${ECHO_T}unsupported" >&6; } ;;
3192 CC="$CC $ac_cv_prog_cc_c99"
3193 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
3194 echo "${ECHO_T}$ac_cv_prog_cc_c99" >&6; } ;;
3196 if test "x$ac_cv_prog_cc_c99" != xno; then
3197 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3199 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3200 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3201 if test "${ac_cv_prog_cc_c89+set}" = set; then
3202 echo $ECHO_N "(cached) $ECHO_C" >&6
3204 ac_cv_prog_cc_c89=no
3206 cat >conftest.$ac_ext <<_ACEOF
3209 cat confdefs.h >>conftest.$ac_ext
3210 cat >>conftest.$ac_ext <<_ACEOF
3211 /* end confdefs.h. */
3214 #include <sys/types.h>
3215 #include <sys/stat.h>
3216 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3217 struct buf { int x; };
3218 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3219 static char *e (p, i)
3225 static char *f (char * (*g) (char **, int), char **p, ...)
3230 s = g (p, va_arg (v,int));
3235 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3236 function prototypes and stuff, but not '\xHH' hex character constants.
3237 These don't provoke an error unfortunately, instead are silently treated
3238 as 'x'. The following induces an error, until -std is added to get
3239 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3240 array size at least. It's necessary to write '\x00'==0 to get something
3241 that's true only with -std. */
3242 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3244 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3245 inside strings and character constants. */
3247 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3249 int test (int i, double x);
3250 struct s1 {int (*f) (int a);};
3251 struct s2 {int (*f) (double a);};
3252 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3258 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3263 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3264 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3266 CC="$ac_save_CC $ac_arg"
3267 rm -f conftest.$ac_objext
3268 if { (ac_try="$ac_compile"
3270 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3271 *) ac_try_echo
=$ac_try;;
3273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3274 (eval "$ac_compile") 2>conftest.er1
3276 grep -v '^ *+' conftest.er1
>conftest.err
3278 cat conftest.err
>&5
3279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3280 (exit $ac_status); } && {
3281 test -z "$ac_c_werror_flag" ||
3282 test ! -s conftest.err
3283 } && test -s conftest.
$ac_objext; then
3284 ac_cv_prog_cc_c89
=$ac_arg
3286 echo "$as_me: failed program was:" >&5
3287 sed 's/^/| /' conftest.
$ac_ext >&5
3292 rm -f core conftest.err conftest.
$ac_objext
3293 test "x$ac_cv_prog_cc_c89" != "xno" && break
3295 rm -f conftest.
$ac_ext
3300 case "x$ac_cv_prog_cc_c89" in
3302 { echo "$as_me:$LINENO: result: none needed" >&5
3303 echo "${ECHO_T}none needed" >&6; } ;;
3305 { echo "$as_me:$LINENO: result: unsupported" >&5
3306 echo "${ECHO_T}unsupported" >&6; } ;;
3308 CC
="$CC $ac_cv_prog_cc_c89"
3309 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3310 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3312 if test "x$ac_cv_prog_cc_c89" != xno
; then
3313 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
3315 ac_cv_prog_cc_stdc
=no
3323 { echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5
3324 echo $ECHO_N "checking for $CC option to accept ISO Standard C... $ECHO_C" >&6; }
3325 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3326 echo $ECHO_N "(cached) $ECHO_C" >&6
3329 case $ac_cv_prog_cc_stdc in
3330 no
) { echo "$as_me:$LINENO: result: unsupported" >&5
3331 echo "${ECHO_T}unsupported" >&6; } ;;
3332 '') { echo "$as_me:$LINENO: result: none needed" >&5
3333 echo "${ECHO_T}none needed" >&6; } ;;
3334 *) { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3335 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; } ;;
3340 ac_cpp
='$CPP $CPPFLAGS'
3341 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3342 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3343 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3344 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3345 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3346 # On Suns, sometimes $CPP names a directory.
3347 if test -n "$CPP" && test -d "$CPP"; then
3350 if test -z "$CPP"; then
3351 if test "${ac_cv_prog_CPP+set}" = set; then
3352 echo $ECHO_N "(cached) $ECHO_C" >&6
3354 # Double quotes because CPP needs to be expanded
3355 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3358 for ac_c_preproc_warn_flag
in '' yes
3360 # Use a header file that comes with gcc, so configuring glibc
3361 # with a fresh cross-compiler works.
3362 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3363 # <limits.h> exists even on freestanding compilers.
3364 # On the NeXT, cc -E runs the code through the compiler's parser,
3365 # not just through cpp. "Syntax error" is here to catch this case.
3366 cat >conftest.
$ac_ext <<_ACEOF
3369 cat confdefs.h
>>conftest.
$ac_ext
3370 cat >>conftest.
$ac_ext <<_ACEOF
3371 /* end confdefs.h. */
3373 # include <limits.h>
3375 # include <assert.h>
3379 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3381 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3382 *) ac_try_echo=$ac_try;;
3384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3385 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3387 grep -v '^ *+' conftest.er1 >conftest.err
3389 cat conftest.err >&5
3390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3391 (exit $ac_status); } >/dev/null && {
3392 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3393 test ! -s conftest.err
3397 echo "$as_me: failed program was:" >&5
3398 sed 's/^/| /' conftest.$ac_ext >&5
3400 # Broken: fails on valid input.
3404 rm -f conftest.err conftest.$ac_ext
3406 # OK, works on sane cases. Now check whether nonexistent headers
3407 # can be detected and how.
3408 cat >conftest.$ac_ext <<_ACEOF
3411 cat confdefs.h >>conftest.$ac_ext
3412 cat >>conftest.$ac_ext <<_ACEOF
3413 /* end confdefs.h. */
3414 #include <ac_nonexistent.h>
3416 if { (ac_try="$ac_cpp conftest.$ac_ext"
3418 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3419 *) ac_try_echo
=$ac_try;;
3421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3422 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3424 grep -v '^ *+' conftest.er1
>conftest.err
3426 cat conftest.err
>&5
3427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3428 (exit $ac_status); } >/dev
/null
&& {
3429 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3430 test ! -s conftest.err
3432 # Broken: success on invalid input.
3435 echo "$as_me: failed program was:" >&5
3436 sed 's/^/| /' conftest.
$ac_ext >&5
3438 # Passes both tests.
3443 rm -f conftest.err conftest.
$ac_ext
3446 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3447 rm -f conftest.err conftest.
$ac_ext
3448 if $ac_preproc_ok; then
3460 { echo "$as_me:$LINENO: result: $CPP" >&5
3461 echo "${ECHO_T}$CPP" >&6; }
3463 for ac_c_preproc_warn_flag
in '' yes
3465 # Use a header file that comes with gcc, so configuring glibc
3466 # with a fresh cross-compiler works.
3467 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3468 # <limits.h> exists even on freestanding compilers.
3469 # On the NeXT, cc -E runs the code through the compiler's parser,
3470 # not just through cpp. "Syntax error" is here to catch this case.
3471 cat >conftest.
$ac_ext <<_ACEOF
3474 cat confdefs.h
>>conftest.
$ac_ext
3475 cat >>conftest.
$ac_ext <<_ACEOF
3476 /* end confdefs.h. */
3478 # include <limits.h>
3480 # include <assert.h>
3484 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3486 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3487 *) ac_try_echo=$ac_try;;
3489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3490 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3492 grep -v '^ *+' conftest.er1 >conftest.err
3494 cat conftest.err >&5
3495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3496 (exit $ac_status); } >/dev/null && {
3497 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3498 test ! -s conftest.err
3502 echo "$as_me: failed program was:" >&5
3503 sed 's/^/| /' conftest.$ac_ext >&5
3505 # Broken: fails on valid input.
3509 rm -f conftest.err conftest.$ac_ext
3511 # OK, works on sane cases. Now check whether nonexistent headers
3512 # can be detected and how.
3513 cat >conftest.$ac_ext <<_ACEOF
3516 cat confdefs.h >>conftest.$ac_ext
3517 cat >>conftest.$ac_ext <<_ACEOF
3518 /* end confdefs.h. */
3519 #include <ac_nonexistent.h>
3521 if { (ac_try="$ac_cpp conftest.$ac_ext"
3523 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3524 *) ac_try_echo
=$ac_try;;
3526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3527 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3529 grep -v '^ *+' conftest.er1
>conftest.err
3531 cat conftest.err
>&5
3532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3533 (exit $ac_status); } >/dev
/null
&& {
3534 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3535 test ! -s conftest.err
3537 # Broken: success on invalid input.
3540 echo "$as_me: failed program was:" >&5
3541 sed 's/^/| /' conftest.
$ac_ext >&5
3543 # Passes both tests.
3548 rm -f conftest.err conftest.
$ac_ext
3551 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3552 rm -f conftest.err conftest.
$ac_ext
3553 if $ac_preproc_ok; then
3556 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3557 See \`config.log' for more details." >&5
3558 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3559 See \`config.log' for more details." >&2;}
3560 { (exit 1); exit 1; }; }
3564 ac_cpp
='$CPP $CPPFLAGS'
3565 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3566 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3567 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3570 # Check for a compatible awk
3571 for ac_prog
in gawk nawk
3573 # Extract the first word of "$ac_prog", so it can be a program name with args.
3574 set dummy
$ac_prog; ac_word
=$2
3575 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3576 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3577 if test "${ac_cv_prog_AWK+set}" = set; then
3578 echo $ECHO_N "(cached) $ECHO_C" >&6
3580 if test -n "$AWK"; then
3581 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3587 test -z "$as_dir" && as_dir
=.
3588 for ac_exec_ext
in '' $ac_executable_extensions; do
3589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3590 ac_cv_prog_AWK
="$ac_prog"
3591 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3601 if test -n "$AWK"; then
3602 { echo "$as_me:$LINENO: result: $AWK" >&5
3603 echo "${ECHO_T}$AWK" >&6; }
3605 { echo "$as_me:$LINENO: result: no" >&5
3606 echo "${ECHO_T}no" >&6; }
3610 test -n "$AWK" && break
3613 if test "$AWK" = ""; then
3614 { { echo "$as_me:$LINENO: error: gawk is required to build AROS. Please install and run configure again." >&5
3615 echo "$as_me: error: gawk is required to build AROS. Please install and run configure again." >&2;}
3616 { (exit 1); exit 1; }; }
3618 # Extract the first word of "mmake", so it can be a program name with args.
3619 set dummy mmake
; ac_word
=$2
3620 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3622 if test "${ac_cv_prog_MMAKE+set}" = set; then
3623 echo $ECHO_N "(cached) $ECHO_C" >&6
3625 if test -n "$MMAKE"; then
3626 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
3628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3632 test -z "$as_dir" && as_dir
=.
3633 for ac_exec_ext
in '' $ac_executable_extensions; do
3634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3635 ac_cv_prog_MMAKE
="mmake "
3636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3645 MMAKE
=$ac_cv_prog_MMAKE
3646 if test -n "$MMAKE"; then
3647 { echo "$as_me:$LINENO: result: $MMAKE" >&5
3648 echo "${ECHO_T}$MMAKE" >&6; }
3650 { echo "$as_me:$LINENO: result: no" >&5
3651 echo "${ECHO_T}no" >&6; }
3656 # Perform some default variable assignments. Note all of these will be
3657 # Regenerated from the script, so there is no need to cache them.
3660 if test "$GCC" = "yes"; then
3661 aros_gcc_ld
=`$CC -print-prog-name=ld`
3662 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
3663 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
3664 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3666 if test "${ac_cv_path_aros_host_ld+set}" = set; then
3667 echo $ECHO_N "(cached) $ECHO_C" >&6
3669 case $aros_host_ld in
3671 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3675 for as_dir
in `dirname $aros_gcc_ld`
3678 test -z "$as_dir" && as_dir
=.
3679 for ac_exec_ext
in '' $ac_executable_extensions; do
3680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3681 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3692 aros_host_ld
=$ac_cv_path_aros_host_ld
3693 if test -n "$aros_host_ld"; then
3694 { echo "$as_me:$LINENO: result: $aros_host_ld" >&5
3695 echo "${ECHO_T}$aros_host_ld" >&6; }
3697 { echo "$as_me:$LINENO: result: no" >&5
3698 echo "${ECHO_T}no" >&6; }
3703 if test "$aros_host_ld" = ""; then
3704 # Extract the first word of "ld", so it can be a program name with args.
3705 set dummy ld
; ac_word
=$2
3706 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3708 if test "${ac_cv_path_aros_host_ld+set}" = set; then
3709 echo $ECHO_N "(cached) $ECHO_C" >&6
3711 case $aros_host_ld in
3713 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3720 test -z "$as_dir" && as_dir
=.
3721 for ac_exec_ext
in '' $ac_executable_extensions; do
3722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3723 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3724 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3734 aros_host_ld
=$ac_cv_path_aros_host_ld
3735 if test -n "$aros_host_ld"; then
3736 { echo "$as_me:$LINENO: result: $aros_host_ld" >&5
3737 echo "${ECHO_T}$aros_host_ld" >&6; }
3739 { echo "$as_me:$LINENO: result: no" >&5
3740 echo "${ECHO_T}no" >&6; }
3745 if test "$aros_host_ld" = ""; then
3746 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
3747 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
3748 { (exit 1); exit 1; }; }
3750 aros_host_make
="make"
3751 aros_host_cflags
=$CFLAGS
3752 aros_host_ldflags
=$LDFLAGS
3753 aros_host_debug
="-g -O0"
3754 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
3755 aros_host_mkargs
="--no-print-directory"
3756 aros_host_incl
="/usr/include"
3757 aros_host_exe_suffix
="$EXEEXT"
3758 aros_host_lib_suffix
=""
3760 for ac_prog
in aclocal aclocal19 aclocal-1.9
3762 # Extract the first word of "$ac_prog", so it can be a program name with args.
3763 set dummy
$ac_prog; ac_word
=$2
3764 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3766 if test "${ac_cv_prog_aros_host_aclocal+set}" = set; then
3767 echo $ECHO_N "(cached) $ECHO_C" >&6
3769 if test -n "$aros_host_aclocal"; then
3770 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
3772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3776 test -z "$as_dir" && as_dir
=.
3777 for ac_exec_ext
in '' $ac_executable_extensions; do
3778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3779 ac_cv_prog_aros_host_aclocal
="$ac_prog"
3780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3789 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
3790 if test -n "$aros_host_aclocal"; then
3791 { echo "$as_me:$LINENO: result: $aros_host_aclocal" >&5
3792 echo "${ECHO_T}$aros_host_aclocal" >&6; }
3794 { echo "$as_me:$LINENO: result: no" >&5
3795 echo "${ECHO_T}no" >&6; }
3799 test -n "$aros_host_aclocal" && break
3802 for ac_prog
in autoconf autoconf259 autoconf253
3804 # Extract the first word of "$ac_prog", so it can be a program name with args.
3805 set dummy
$ac_prog; ac_word
=$2
3806 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3808 if test "${ac_cv_prog_aros_host_autoconf+set}" = set; then
3809 echo $ECHO_N "(cached) $ECHO_C" >&6
3811 if test -n "$aros_host_autoconf"; then
3812 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
3814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3818 test -z "$as_dir" && as_dir
=.
3819 for ac_exec_ext
in '' $ac_executable_extensions; do
3820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3821 ac_cv_prog_aros_host_autoconf
="$ac_prog"
3822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3831 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
3832 if test -n "$aros_host_autoconf"; then
3833 { echo "$as_me:$LINENO: result: $aros_host_autoconf" >&5
3834 echo "${ECHO_T}$aros_host_autoconf" >&6; }
3836 { echo "$as_me:$LINENO: result: no" >&5
3837 echo "${ECHO_T}no" >&6; }
3841 test -n "$aros_host_autoconf" && break
3844 for ac_prog
in autoheader autoheader259 autoheader253
3846 # Extract the first word of "$ac_prog", so it can be a program name with args.
3847 set dummy
$ac_prog; ac_word
=$2
3848 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3850 if test "${ac_cv_prog_aros_host_autoheader+set}" = set; then
3851 echo $ECHO_N "(cached) $ECHO_C" >&6
3853 if test -n "$aros_host_autoheader"; then
3854 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
3856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3860 test -z "$as_dir" && as_dir
=.
3861 for ac_exec_ext
in '' $ac_executable_extensions; do
3862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3863 ac_cv_prog_aros_host_autoheader
="$ac_prog"
3864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3873 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
3874 if test -n "$aros_host_autoheader"; then
3875 { echo "$as_me:$LINENO: result: $aros_host_autoheader" >&5
3876 echo "${ECHO_T}$aros_host_autoheader" >&6; }
3878 { echo "$as_me:$LINENO: result: no" >&5
3879 echo "${ECHO_T}no" >&6; }
3883 test -n "$aros_host_autoheader" && break
3886 for ac_prog
in automake automake19 automake-1.9
3888 # Extract the first word of "$ac_prog", so it can be a program name with args.
3889 set dummy
$ac_prog; ac_word
=$2
3890 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3892 if test "${ac_cv_prog_aros_host_automake+set}" = set; then
3893 echo $ECHO_N "(cached) $ECHO_C" >&6
3895 if test -n "$aros_host_automake"; then
3896 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
3898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3902 test -z "$as_dir" && as_dir
=.
3903 for ac_exec_ext
in '' $ac_executable_extensions; do
3904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3905 ac_cv_prog_aros_host_automake
="$ac_prog"
3906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3915 aros_host_automake
=$ac_cv_prog_aros_host_automake
3916 if test -n "$aros_host_automake"; then
3917 { echo "$as_me:$LINENO: result: $aros_host_automake" >&5
3918 echo "${ECHO_T}$aros_host_automake" >&6; }
3920 { echo "$as_me:$LINENO: result: no" >&5
3921 echo "${ECHO_T}no" >&6; }
3925 test -n "$aros_host_automake" && break
3929 if test "$aros_host_aclocal" = ""; then
3930 { { echo "$as_me:$LINENO: error: aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." >&5
3931 echo "$as_me: error: aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." >&2;}
3932 { (exit 1); exit 1; }; }
3934 if test "$aros_host_automake" = ""; then
3935 { { echo "$as_me:$LINENO: error: automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." >&5
3936 echo "$as_me: error: automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." >&2;}
3937 { (exit 1); exit 1; }; }
3940 case "$aros_host_cc" in
3942 aros_host_cc_pipe
="-pipe"
3945 aros_host_cc_pipe
=""
3948 aros_host_cc_pipe
=""
3952 aros_target_cc_includes
=""
3954 # This is the main host configuration section. It is where the host
3955 # can change the values of any variables it needs to change. We do
3956 # not look at anything that compiles to the target yet, we'll get
3961 aros_host_arch
="aros"
3962 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3965 aros_host_cpu
="i386"
3968 aros_host_cpu
="x86_64"
3974 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
3975 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
3976 aros_host_cpu
="$host_cpu"
3982 aros_host_arch
="linux"
3983 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3986 aros_host_cpu
="i386"
3989 aros_host_cpu
="x86_64"
3992 aros_host_cpu
="m68k"
4001 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4002 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4003 aros_host_cpu
="$host_cpu"
4009 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4010 aros_host_make
="gmake"
4011 aros_host_arch
="freebsd"
4012 aros_host_cpu
="i386"
4014 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4019 aros_object_format
="elf_i386"
4023 aros_object_format
="elf_i386_fbsd"
4030 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4031 aros_host_arch
="darwin"
4034 aros_host_cpu
="i386"
4037 aros_host_cpu
="x86_64"
4043 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4044 echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4045 aros_host_cpu
="$host_cpu"
4049 aros_host_ldflags
="$aros_host_ldflags -liconv"
4054 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4055 aros_host_make
="gmake"
4056 aros_host_arch
="dragonfly"
4059 aros_host_cpu
="i386"
4062 aros_host_cpu
="x86_64"
4065 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4066 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4067 aros_host_cpu
="$host_cpu"
4073 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4074 aros_host_make
="gmake"
4075 aros_host_arch
="netbsd"
4078 aros_host_cpu
="i386"
4081 aros_host_cpu
="m68k"
4084 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4085 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4086 aros_host_cpu
="$host_cpu"
4089 aros_host_lib_suffix
=".0.0"
4093 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4094 aros_host_make
="gmake"
4095 aros_host_arch
="openbsd"
4098 aros_host_cpu
="i386"
4101 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4102 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4103 aros_host_cpu
="$host_cpu"
4109 aros_host_arch
="solaris"
4110 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4113 aros_host_cpu
="i386"
4116 aros_host_cpu
="sparc"
4119 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4120 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4121 aros_host_cpu
="$host_cpu"
4127 aros_host_arch
="morphos"
4132 aros_host_arch
="amiga"
4137 TOUCH
="/gg/bin/touch"
4140 aros_host_cpu
="m68k"
4146 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4147 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4148 aros_host_cpu
="$host_cpu"
4154 aros_host_arch
="cygwin"
4155 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4158 aros_host_cpu
="i386"
4161 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4162 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4163 aros_host_cpu
="$host_cpu"
4169 aros_host_arch
="mingw32"
4170 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4173 aros_host_cpu
="i386"
4176 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4177 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4178 aros_host_cpu
="$host_cpu"
4183 { { echo "$as_me:$LINENO: error: Unsupported host architecture $host" >&5
4184 echo "$as_me: error: Unsupported host architecture $host" >&2;}
4185 { (exit 1); exit 1; }; }
4189 # Extract the first word of "ar", so it can be a program name with args.
4190 set dummy
ar; ac_word
=$2
4191 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4193 if test "${ac_cv_prog_aros_host_ar+set}" = set; then
4194 echo $ECHO_N "(cached) $ECHO_C" >&6
4196 if test -n "$aros_host_ar"; then
4197 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4199 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4203 test -z "$as_dir" && as_dir
=.
4204 for ac_exec_ext
in '' $ac_executable_extensions; do
4205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4206 ac_cv_prog_aros_host_ar
="ar cr"
4207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4216 aros_host_ar
=$ac_cv_prog_aros_host_ar
4217 if test -n "$aros_host_ar"; then
4218 { echo "$as_me:$LINENO: result: $aros_host_ar" >&5
4219 echo "${ECHO_T}$aros_host_ar" >&6; }
4221 { echo "$as_me:$LINENO: result: no" >&5
4222 echo "${ECHO_T}no" >&6; }
4226 if test "$aros_host_ar" = ""; then
4227 { { echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
4228 echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
4229 { (exit 1); exit 1; }; }
4231 # Extract the first word of "ranlib", so it can be a program name with args.
4232 set dummy ranlib
; ac_word
=$2
4233 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4235 if test "${ac_cv_prog_aros_host_ranlib+set}" = set; then
4236 echo $ECHO_N "(cached) $ECHO_C" >&6
4238 if test -n "$aros_host_ranlib"; then
4239 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4245 test -z "$as_dir" && as_dir
=.
4246 for ac_exec_ext
in '' $ac_executable_extensions; do
4247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4248 ac_cv_prog_aros_host_ranlib
="ranlib "
4249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4258 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4259 if test -n "$aros_host_ranlib"; then
4260 { echo "$as_me:$LINENO: result: $aros_host_ranlib" >&5
4261 echo "${ECHO_T}$aros_host_ranlib" >&6; }
4263 { echo "$as_me:$LINENO: result: no" >&5
4264 echo "${ECHO_T}no" >&6; }
4268 if test "$aros_host_ranlib" = ""; then
4269 { { echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
4270 echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
4271 { (exit 1); exit 1; }; }
4273 # Extract the first word of "strip", so it can be a program name with args.
4274 set dummy strip
; ac_word
=$2
4275 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4277 if test "${ac_cv_prog_aros_host_strip+set}" = set; then
4278 echo $ECHO_N "(cached) $ECHO_C" >&6
4280 if test -n "$aros_host_strip"; then
4281 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4287 test -z "$as_dir" && as_dir
=.
4288 for ac_exec_ext
in '' $ac_executable_extensions; do
4289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4290 ac_cv_prog_aros_host_strip
="strip "
4291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4300 aros_host_strip
=$ac_cv_prog_aros_host_strip
4301 if test -n "$aros_host_strip"; then
4302 { echo "$as_me:$LINENO: result: $aros_host_strip" >&5
4303 echo "${ECHO_T}$aros_host_strip" >&6; }
4305 { echo "$as_me:$LINENO: result: no" >&5
4306 echo "${ECHO_T}no" >&6; }
4310 if test "$aros_host_strip" = ""; then
4311 { { echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
4312 echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
4313 { (exit 1); exit 1; }; }
4316 # Extract the first word of "rm", so it can be a program name with args.
4317 set dummy
rm; ac_word
=$2
4318 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4320 if test "${ac_cv_prog_RM+set}" = set; then
4321 echo $ECHO_N "(cached) $ECHO_C" >&6
4323 if test -n "$RM"; then
4324 ac_cv_prog_RM
="$RM" # Let the user override the test.
4326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4330 test -z "$as_dir" && as_dir
=.
4331 for ac_exec_ext
in '' $ac_executable_extensions; do
4332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4333 ac_cv_prog_RM
="rm -rf"
4334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4344 if test -n "$RM"; then
4345 { echo "$as_me:$LINENO: result: $RM" >&5
4346 echo "${ECHO_T}$RM" >&6; }
4348 { echo "$as_me:$LINENO: result: no" >&5
4349 echo "${ECHO_T}no" >&6; }
4353 if test "$RM" = ""; then
4354 { { echo "$as_me:$LINENO: error: rm is required to build AROS. Please install and run configure again." >&5
4355 echo "$as_me: error: rm is required to build AROS. Please install and run configure again." >&2;}
4356 { (exit 1); exit 1; }; }
4358 # Extract the first word of "cp", so it can be a program name with args.
4359 set dummy
cp; ac_word
=$2
4360 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4362 if test "${ac_cv_prog_CP+set}" = set; then
4363 echo $ECHO_N "(cached) $ECHO_C" >&6
4365 if test -n "$CP"; then
4366 ac_cv_prog_CP
="$CP" # Let the user override the test.
4368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4372 test -z "$as_dir" && as_dir
=.
4373 for ac_exec_ext
in '' $ac_executable_extensions; do
4374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4376 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4386 if test -n "$CP"; then
4387 { echo "$as_me:$LINENO: result: $CP" >&5
4388 echo "${ECHO_T}$CP" >&6; }
4390 { echo "$as_me:$LINENO: result: no" >&5
4391 echo "${ECHO_T}no" >&6; }
4395 if test "$CP" = ""; then
4396 { { echo "$as_me:$LINENO: error: cp is required to build AROS. Please install and run configure again." >&5
4397 echo "$as_me: error: cp is required to build AROS. Please install and run configure again." >&2;}
4398 { (exit 1); exit 1; }; }
4400 # Extract the first word of "mv", so it can be a program name with args.
4401 set dummy
mv; ac_word
=$2
4402 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4404 if test "${ac_cv_prog_MV+set}" = set; then
4405 echo $ECHO_N "(cached) $ECHO_C" >&6
4407 if test -n "$MV"; then
4408 ac_cv_prog_MV
="$MV" # Let the user override the test.
4410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4414 test -z "$as_dir" && as_dir
=.
4415 for ac_exec_ext
in '' $ac_executable_extensions; do
4416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4428 if test -n "$MV"; then
4429 { echo "$as_me:$LINENO: result: $MV" >&5
4430 echo "${ECHO_T}$MV" >&6; }
4432 { echo "$as_me:$LINENO: result: no" >&5
4433 echo "${ECHO_T}no" >&6; }
4437 if test "$MV" = ""; then
4438 { { echo "$as_me:$LINENO: error: mv is required to build AROS. Please install and run configure again." >&5
4439 echo "$as_me: error: mv is required to build AROS. Please install and run configure again." >&2;}
4440 { (exit 1); exit 1; }; }
4442 # Extract the first word of "echo", so it can be a program name with args.
4443 set dummy
echo; ac_word
=$2
4444 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4446 if test "${ac_cv_prog_ECHO+set}" = set; then
4447 echo $ECHO_N "(cached) $ECHO_C" >&6
4449 if test -n "$ECHO"; then
4450 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
4452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4456 test -z "$as_dir" && as_dir
=.
4457 for ac_exec_ext
in '' $ac_executable_extensions; do
4458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4459 ac_cv_prog_ECHO
="echo "
4460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4469 ECHO
=$ac_cv_prog_ECHO
4470 if test -n "$ECHO"; then
4471 { echo "$as_me:$LINENO: result: $ECHO" >&5
4472 echo "${ECHO_T}$ECHO" >&6; }
4474 { echo "$as_me:$LINENO: result: no" >&5
4475 echo "${ECHO_T}no" >&6; }
4479 if test "$ECHO" = ""; then
4480 { { echo "$as_me:$LINENO: error: echo is required to build AROS. Please install and run configure again." >&5
4481 echo "$as_me: error: echo is required to build AROS. Please install and run configure again." >&2;}
4482 { (exit 1); exit 1; }; }
4484 # Extract the first word of "mkdir", so it can be a program name with args.
4485 set dummy mkdir
; ac_word
=$2
4486 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4488 if test "${ac_cv_prog_MKDIR+set}" = set; then
4489 echo $ECHO_N "(cached) $ECHO_C" >&6
4491 if test -n "$MKDIR"; then
4492 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
4494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4498 test -z "$as_dir" && as_dir
=.
4499 for ac_exec_ext
in '' $ac_executable_extensions; do
4500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4501 ac_cv_prog_MKDIR
="mkdir -p"
4502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4511 MKDIR
=$ac_cv_prog_MKDIR
4512 if test -n "$MKDIR"; then
4513 { echo "$as_me:$LINENO: result: $MKDIR" >&5
4514 echo "${ECHO_T}$MKDIR" >&6; }
4516 { echo "$as_me:$LINENO: result: no" >&5
4517 echo "${ECHO_T}no" >&6; }
4521 if test "$MKDIR" = ""; then
4522 { { echo "$as_me:$LINENO: error: mkdir is required to build AROS. Please install and run configure again." >&5
4523 echo "$as_me: error: mkdir is required to build AROS. Please install and run configure again." >&2;}
4524 { (exit 1); exit 1; }; }
4526 # Extract the first word of "touch", so it can be a program name with args.
4527 set dummy
touch; ac_word
=$2
4528 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4530 if test "${ac_cv_prog_TOUCH+set}" = set; then
4531 echo $ECHO_N "(cached) $ECHO_C" >&6
4533 if test -n "$TOUCH"; then
4534 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
4536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4540 test -z "$as_dir" && as_dir
=.
4541 for ac_exec_ext
in '' $ac_executable_extensions; do
4542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4543 ac_cv_prog_TOUCH
="touch "
4544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4553 TOUCH
=$ac_cv_prog_TOUCH
4554 if test -n "$TOUCH"; then
4555 { echo "$as_me:$LINENO: result: $TOUCH" >&5
4556 echo "${ECHO_T}$TOUCH" >&6; }
4558 { echo "$as_me:$LINENO: result: no" >&5
4559 echo "${ECHO_T}no" >&6; }
4563 if test "$TOUCH" = ""; then
4564 { { echo "$as_me:$LINENO: error: touch is required to build AROS. Please install and run configure again." >&5
4565 echo "$as_me: error: touch is required to build AROS. Please install and run configure again." >&2;}
4566 { (exit 1); exit 1; }; }
4568 # Extract the first word of "sort", so it can be a program name with args.
4569 set dummy
sort; ac_word
=$2
4570 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4572 if test "${ac_cv_prog_SORT+set}" = set; then
4573 echo $ECHO_N "(cached) $ECHO_C" >&6
4575 if test -n "$SORT"; then
4576 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
4578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4582 test -z "$as_dir" && as_dir
=.
4583 for ac_exec_ext
in '' $ac_executable_extensions; do
4584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4585 ac_cv_prog_SORT
="sort "
4586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4595 SORT
=$ac_cv_prog_SORT
4596 if test -n "$SORT"; then
4597 { echo "$as_me:$LINENO: result: $SORT" >&5
4598 echo "${ECHO_T}$SORT" >&6; }
4600 { echo "$as_me:$LINENO: result: no" >&5
4601 echo "${ECHO_T}no" >&6; }
4605 if test "$SORT" = ""; then
4606 { { echo "$as_me:$LINENO: error: sort is required to build AROS. Please install and run configure again." >&5
4607 echo "$as_me: error: sort is required to build AROS. Please install and run configure again." >&2;}
4608 { (exit 1); exit 1; }; }
4610 # Extract the first word of "uniq", so it can be a program name with args.
4611 set dummy
uniq; ac_word
=$2
4612 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4614 if test "${ac_cv_prog_UNIQ+set}" = set; then
4615 echo $ECHO_N "(cached) $ECHO_C" >&6
4617 if test -n "$UNIQ"; then
4618 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
4620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4624 test -z "$as_dir" && as_dir
=.
4625 for ac_exec_ext
in '' $ac_executable_extensions; do
4626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4627 ac_cv_prog_UNIQ
="uniq "
4628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4637 UNIQ
=$ac_cv_prog_UNIQ
4638 if test -n "$UNIQ"; then
4639 { echo "$as_me:$LINENO: result: $UNIQ" >&5
4640 echo "${ECHO_T}$UNIQ" >&6; }
4642 { echo "$as_me:$LINENO: result: no" >&5
4643 echo "${ECHO_T}no" >&6; }
4647 if test "$UNIQ" = ""; then
4648 { { echo "$as_me:$LINENO: error: uniq is required to build AROS. Please install and run configure again." >&5
4649 echo "$as_me: error: uniq is required to build AROS. Please install and run configure again." >&2;}
4650 { (exit 1); exit 1; }; }
4652 # Extract the first word of "true", so it can be a program name with args.
4653 set dummy true
; ac_word
=$2
4654 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4656 if test "${ac_cv_prog_NOP+set}" = set; then
4657 echo $ECHO_N "(cached) $ECHO_C" >&6
4659 if test -n "$NOP"; then
4660 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
4662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4666 test -z "$as_dir" && as_dir
=.
4667 for ac_exec_ext
in '' $ac_executable_extensions; do
4668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4669 ac_cv_prog_NOP
="true "
4670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4680 if test -n "$NOP"; then
4681 { echo "$as_me:$LINENO: result: $NOP" >&5
4682 echo "${ECHO_T}$NOP" >&6; }
4684 { echo "$as_me:$LINENO: result: no" >&5
4685 echo "${ECHO_T}no" >&6; }
4689 if test "$NOP" = ""; then
4690 { { echo "$as_me:$LINENO: error: true is required to build AROS. Please install and run configure again." >&5
4691 echo "$as_me: error: true is required to build AROS. Please install and run configure again." >&2;}
4692 { (exit 1); exit 1; }; }
4694 # Extract the first word of "cat", so it can be a program name with args.
4695 set dummy
cat; ac_word
=$2
4696 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4698 if test "${ac_cv_prog_CAT+set}" = set; then
4699 echo $ECHO_N "(cached) $ECHO_C" >&6
4701 if test -n "$CAT"; then
4702 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
4704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4708 test -z "$as_dir" && as_dir
=.
4709 for ac_exec_ext
in '' $ac_executable_extensions; do
4710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4711 ac_cv_prog_CAT
="cat "
4712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4722 if test -n "$CAT"; then
4723 { echo "$as_me:$LINENO: result: $CAT" >&5
4724 echo "${ECHO_T}$CAT" >&6; }
4726 { echo "$as_me:$LINENO: result: no" >&5
4727 echo "${ECHO_T}no" >&6; }
4731 if test "$CAT" = ""; then
4732 { { echo "$as_me:$LINENO: error: cat is required to build AROS. Please install and run configure again." >&5
4733 echo "$as_me: error: cat is required to build AROS. Please install and run configure again." >&2;}
4734 { (exit 1); exit 1; }; }
4736 # Extract the first word of "bison", so it can be a program name with args.
4737 set dummy bison
; ac_word
=$2
4738 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4740 if test "${ac_cv_prog_BISON+set}" = set; then
4741 echo $ECHO_N "(cached) $ECHO_C" >&6
4743 if test -n "$BISON"; then
4744 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4750 test -z "$as_dir" && as_dir
=.
4751 for ac_exec_ext
in '' $ac_executable_extensions; do
4752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4753 ac_cv_prog_BISON
="bison "
4754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4763 BISON
=$ac_cv_prog_BISON
4764 if test -n "$BISON"; then
4765 { echo "$as_me:$LINENO: result: $BISON" >&5
4766 echo "${ECHO_T}$BISON" >&6; }
4768 { echo "$as_me:$LINENO: result: no" >&5
4769 echo "${ECHO_T}no" >&6; }
4773 if test "$BISON" = ""; then
4774 { { echo "$as_me:$LINENO: error: bison is required to build AROS. Please install and run configure again." >&5
4775 echo "$as_me: error: bison is required to build AROS. Please install and run configure again." >&2;}
4776 { (exit 1); exit 1; }; }
4778 # Extract the first word of "flex", so it can be a program name with args.
4779 set dummy flex
; ac_word
=$2
4780 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4782 if test "${ac_cv_prog_FLEX+set}" = set; then
4783 echo $ECHO_N "(cached) $ECHO_C" >&6
4785 if test -n "$FLEX"; then
4786 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4792 test -z "$as_dir" && as_dir
=.
4793 for ac_exec_ext
in '' $ac_executable_extensions; do
4794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4795 ac_cv_prog_FLEX
="flex "
4796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4805 FLEX
=$ac_cv_prog_FLEX
4806 if test -n "$FLEX"; then
4807 { echo "$as_me:$LINENO: result: $FLEX" >&5
4808 echo "${ECHO_T}$FLEX" >&6; }
4810 { echo "$as_me:$LINENO: result: no" >&5
4811 echo "${ECHO_T}no" >&6; }
4815 if test "$FLEX" = ""; then
4816 { { echo "$as_me:$LINENO: error: flex is required to build AROS. Please install and run configure again." >&5
4817 echo "$as_me: error: flex is required to build AROS. Please install and run configure again." >&2;}
4818 { (exit 1); exit 1; }; }
4820 # Extract the first word of "pngtopnm", so it can be a program name with args.
4821 set dummy pngtopnm
; ac_word
=$2
4822 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4824 if test "${ac_cv_prog_PNGTOPNM+set}" = set; then
4825 echo $ECHO_N "(cached) $ECHO_C" >&6
4827 if test -n "$PNGTOPNM"; then
4828 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
4830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4834 test -z "$as_dir" && as_dir
=.
4835 for ac_exec_ext
in '' $ac_executable_extensions; do
4836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4837 ac_cv_prog_PNGTOPNM
="pngtopnm "
4838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4847 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
4848 if test -n "$PNGTOPNM"; then
4849 { echo "$as_me:$LINENO: result: $PNGTOPNM" >&5
4850 echo "${ECHO_T}$PNGTOPNM" >&6; }
4852 { echo "$as_me:$LINENO: result: no" >&5
4853 echo "${ECHO_T}no" >&6; }
4857 if test "$PNGTOPNM" = ""; then
4858 { { echo "$as_me:$LINENO: error: pngtopnm is required to build AROS. Please install and run configure again." >&5
4859 echo "$as_me: error: pngtopnm is required to build AROS. Please install and run configure again." >&2;}
4860 { (exit 1); exit 1; }; }
4862 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
4863 set dummy ppmtoilbm
; ac_word
=$2
4864 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4866 if test "${ac_cv_prog_PPMTOILBM+set}" = set; then
4867 echo $ECHO_N "(cached) $ECHO_C" >&6
4869 if test -n "$PPMTOILBM"; then
4870 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
4872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4876 test -z "$as_dir" && as_dir
=.
4877 for ac_exec_ext
in '' $ac_executable_extensions; do
4878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4879 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
4880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4889 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
4890 if test -n "$PPMTOILBM"; then
4891 { echo "$as_me:$LINENO: result: $PPMTOILBM" >&5
4892 echo "${ECHO_T}$PPMTOILBM" >&6; }
4894 { echo "$as_me:$LINENO: result: no" >&5
4895 echo "${ECHO_T}no" >&6; }
4899 if test "$PPMTOILBM" = ""; then
4900 { { echo "$as_me:$LINENO: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&5
4901 echo "$as_me: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&2;}
4902 { (exit 1); exit 1; }; }
4904 # Extract the first word of "sed", so it can be a program name with args.
4905 set dummy
sed; ac_word
=$2
4906 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4908 if test "${ac_cv_prog_SED+set}" = set; then
4909 echo $ECHO_N "(cached) $ECHO_C" >&6
4911 if test -n "$SED"; then
4912 ac_cv_prog_SED
="$SED" # Let the user override the test.
4914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4918 test -z "$as_dir" && as_dir
=.
4919 for ac_exec_ext
in '' $ac_executable_extensions; do
4920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4921 ac_cv_prog_SED
="sed "
4922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4932 if test -n "$SED"; then
4933 { echo "$as_me:$LINENO: result: $SED" >&5
4934 echo "${ECHO_T}$SED" >&6; }
4936 { echo "$as_me:$LINENO: result: no" >&5
4937 echo "${ECHO_T}no" >&6; }
4941 if test "$SED" = ""; then
4942 { { echo "$as_me:$LINENO: error: sed is required to build AROS. Please install and run configure again." >&5
4943 echo "$as_me: error: sed is required to build AROS. Please install and run configure again." >&2;}
4944 { (exit 1); exit 1; }; }
4946 # Extract the first word of "chmod", so it can be a program name with args.
4947 set dummy
chmod; ac_word
=$2
4948 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4949 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4950 if test "${ac_cv_prog_CHMOD+set}" = set; then
4951 echo $ECHO_N "(cached) $ECHO_C" >&6
4953 if test -n "$CHMOD"; then
4954 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
4956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4960 test -z "$as_dir" && as_dir
=.
4961 for ac_exec_ext
in '' $ac_executable_extensions; do
4962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4963 ac_cv_prog_CHMOD
="chmod "
4964 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4973 CHMOD
=$ac_cv_prog_CHMOD
4974 if test -n "$CHMOD"; then
4975 { echo "$as_me:$LINENO: result: $CHMOD" >&5
4976 echo "${ECHO_T}$CHMOD" >&6; }
4978 { echo "$as_me:$LINENO: result: no" >&5
4979 echo "${ECHO_T}no" >&6; }
4983 if test "$CHMOD" = ""; then
4984 { { echo "$as_me:$LINENO: error: chmod is required to build AROS. Please install and run configure again." >&5
4985 echo "$as_me: error: chmod is required to build AROS. Please install and run configure again." >&2;}
4986 { (exit 1); exit 1; }; }
4993 if test -n "$PYTHON"; then
4994 # If the user set $PYTHON, use it and don't search something else.
4995 { echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.5" >&5
4996 echo $ECHO_N "checking whether $PYTHON version >= 2.5... $ECHO_C" >&6; }
4997 prog
="import sys, string
4998 # split strings by '.' and convert to numeric. Append some zeros
4999 # because we need at least 4 digits for the hex conversion.
5000 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5002 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5003 sys.exit(sys.hexversion < minverhex)"
5004 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5005 ($PYTHON -c "$prog") >&5 2>&5
5007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5008 (exit $ac_status); }; then
5009 { echo "$as_me:$LINENO: result: yes" >&5
5010 echo "${ECHO_T}yes" >&6; }
5012 { { echo "$as_me:$LINENO: error: too old" >&5
5013 echo "$as_me: error: too old" >&2;}
5014 { (exit 1); exit 1; }; }
5017 am_display_PYTHON
=$PYTHON
5019 # Otherwise, try each interpreter until we find one that satisfies
5021 { echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.5" >&5
5022 echo $ECHO_N "checking for a Python interpreter with version >= 2.5... $ECHO_C" >&6; }
5023 if test "${am_cv_pathless_PYTHON+set}" = set; then
5024 echo $ECHO_N "(cached) $ECHO_C" >&6
5027 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
5028 test "$am_cv_pathless_PYTHON" = none
&& break
5029 prog
="import sys, string
5030 # split strings by '.' and convert to numeric. Append some zeros
5031 # because we need at least 4 digits for the hex conversion.
5032 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5034 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5035 sys.exit(sys.hexversion < minverhex)"
5036 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5037 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5040 (exit $ac_status); }; then
5046 { echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
5047 echo "${ECHO_T}$am_cv_pathless_PYTHON" >&6; }
5048 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5049 if test "$am_cv_pathless_PYTHON" = none
; then
5052 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5053 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5054 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5056 if test "${ac_cv_path_PYTHON+set}" = set; then
5057 echo $ECHO_N "(cached) $ECHO_C" >&6
5061 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5068 test -z "$as_dir" && as_dir
=.
5069 for ac_exec_ext
in '' $ac_executable_extensions; do
5070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5071 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5082 PYTHON
=$ac_cv_path_PYTHON
5083 if test -n "$PYTHON"; then
5084 { echo "$as_me:$LINENO: result: $PYTHON" >&5
5085 echo "${ECHO_T}$PYTHON" >&6; }
5087 { echo "$as_me:$LINENO: result: no" >&5
5088 echo "${ECHO_T}no" >&6; }
5093 am_display_PYTHON
=$am_cv_pathless_PYTHON
5097 if test "$PYTHON" = :; then
5098 { { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
5099 echo "$as_me: error: no suitable Python interpreter found" >&2;}
5100 { (exit 1); exit 1; }; }
5104 { echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
5105 echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; }
5106 if test "${am_cv_python_version+set}" = set; then
5107 echo $ECHO_N "(cached) $ECHO_C" >&6
5109 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
5111 { echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
5112 echo "${ECHO_T}$am_cv_python_version" >&6; }
5113 PYTHON_VERSION
=$am_cv_python_version
5117 PYTHON_PREFIX
='${prefix}'
5119 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5123 { echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
5124 echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; }
5125 if test "${am_cv_python_platform+set}" = set; then
5126 echo $ECHO_N "(cached) $ECHO_C" >&6
5128 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
5130 { echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
5131 echo "${ECHO_T}$am_cv_python_platform" >&6; }
5132 PYTHON_PLATFORM
=$am_cv_python_platform
5137 { echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
5138 echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6; }
5139 if test "${am_cv_python_pythondir+set}" = set; then
5140 echo $ECHO_N "(cached) $ECHO_C" >&6
5142 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5143 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5145 { echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
5146 echo "${ECHO_T}$am_cv_python_pythondir" >&6; }
5147 pythondir
=$am_cv_python_pythondir
5151 pkgpythondir
=\
${pythondir}/$PACKAGE
5154 { echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
5155 echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6; }
5156 if test "${am_cv_python_pyexecdir+set}" = set; then
5157 echo $ECHO_N "(cached) $ECHO_C" >&6
5159 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5160 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5162 { echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
5163 echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; }
5164 pyexecdir
=$am_cv_python_pyexecdir
5168 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5186 # Check for some includes for the X11 HIDD and the kernel
5189 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5190 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5191 if test "${ac_cv_path_GREP+set}" = set; then
5192 echo $ECHO_N "(cached) $ECHO_C" >&6
5194 # Extract the first word of "grep ggrep" to use in msg output
5195 if test -z "$GREP"; then
5196 set dummy
grep ggrep
; ac_prog_name
=$2
5197 if test "${ac_cv_path_GREP+set}" = set; then
5198 echo $ECHO_N "(cached) $ECHO_C" >&6
5200 ac_path_GREP_found
=false
5201 # Loop through the user's path and test for each of PROGNAME-LIST
5202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5203 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5206 test -z "$as_dir" && as_dir
=.
5207 for ac_prog
in grep ggrep
; do
5208 for ac_exec_ext
in '' $ac_executable_extensions; do
5209 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5210 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5211 # Check for GNU ac_path_GREP and select it if it is found.
5212 # Check for GNU $ac_path_GREP
5213 case `"$ac_path_GREP" --version 2>&1` in
5215 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5218 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5221 cat "conftest.in" "conftest.in" >"conftest.tmp"
5222 mv "conftest.tmp" "conftest.in"
5223 cp "conftest.in" "conftest.nl"
5224 echo 'GREP' >> "conftest.nl"
5225 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5226 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5227 ac_count
=`expr $ac_count + 1`
5228 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5229 # Best one so far, save it but keep looking for a better one
5230 ac_cv_path_GREP
="$ac_path_GREP"
5231 ac_path_GREP_max
=$ac_count
5233 # 10*(2^10) chars as input seems more than enough
5234 test $ac_count -gt 10 && break
5236 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5240 $ac_path_GREP_found && break 3
5250 GREP
="$ac_cv_path_GREP"
5251 if test -z "$GREP"; then
5252 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5253 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5254 { (exit 1); exit 1; }; }
5258 ac_cv_path_GREP
=$GREP
5263 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5264 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5265 GREP
="$ac_cv_path_GREP"
5268 { echo "$as_me:$LINENO: checking for egrep" >&5
5269 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5270 if test "${ac_cv_path_EGREP+set}" = set; then
5271 echo $ECHO_N "(cached) $ECHO_C" >&6
5273 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5274 then ac_cv_path_EGREP
="$GREP -E"
5276 # Extract the first word of "egrep" to use in msg output
5277 if test -z "$EGREP"; then
5278 set dummy
egrep; ac_prog_name
=$2
5279 if test "${ac_cv_path_EGREP+set}" = set; then
5280 echo $ECHO_N "(cached) $ECHO_C" >&6
5282 ac_path_EGREP_found
=false
5283 # Loop through the user's path and test for each of PROGNAME-LIST
5284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5285 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5288 test -z "$as_dir" && as_dir
=.
5289 for ac_prog
in egrep; do
5290 for ac_exec_ext
in '' $ac_executable_extensions; do
5291 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5292 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5293 # Check for GNU ac_path_EGREP and select it if it is found.
5294 # Check for GNU $ac_path_EGREP
5295 case `"$ac_path_EGREP" --version 2>&1` in
5297 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5300 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5303 cat "conftest.in" "conftest.in" >"conftest.tmp"
5304 mv "conftest.tmp" "conftest.in"
5305 cp "conftest.in" "conftest.nl"
5306 echo 'EGREP' >> "conftest.nl"
5307 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5308 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5309 ac_count
=`expr $ac_count + 1`
5310 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5311 # Best one so far, save it but keep looking for a better one
5312 ac_cv_path_EGREP
="$ac_path_EGREP"
5313 ac_path_EGREP_max
=$ac_count
5315 # 10*(2^10) chars as input seems more than enough
5316 test $ac_count -gt 10 && break
5318 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5322 $ac_path_EGREP_found && break 3
5332 EGREP
="$ac_cv_path_EGREP"
5333 if test -z "$EGREP"; then
5334 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5335 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5336 { (exit 1); exit 1; }; }
5340 ac_cv_path_EGREP
=$EGREP
5346 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5347 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5348 EGREP
="$ac_cv_path_EGREP"
5351 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5352 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5353 if test "${ac_cv_header_stdc+set}" = set; then
5354 echo $ECHO_N "(cached) $ECHO_C" >&6
5356 cat >conftest.
$ac_ext <<_ACEOF
5359 cat confdefs.h
>>conftest.
$ac_ext
5360 cat >>conftest.
$ac_ext <<_ACEOF
5361 /* end confdefs.h. */
5375 rm -f conftest.
$ac_objext
5376 if { (ac_try
="$ac_compile"
5378 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5379 *) ac_try_echo=$ac_try;;
5381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5382 (eval "$ac_compile") 2>conftest.er1
5384 grep -v '^ *+' conftest.er1 >conftest.err
5386 cat conftest.err >&5
5387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5388 (exit $ac_status); } && {
5389 test -z "$ac_c_werror_flag" ||
5390 test ! -s conftest.err
5391 } && test -s conftest.$ac_objext; then
5392 ac_cv_header_stdc=yes
5394 echo "$as_me: failed program was:" >&5
5395 sed 's/^/| /' conftest.$ac_ext >&5
5397 ac_cv_header_stdc=no
5400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5402 if test $ac_cv_header_stdc = yes; then
5403 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5404 cat >conftest.$ac_ext <<_ACEOF
5407 cat confdefs.h >>conftest.$ac_ext
5408 cat >>conftest.$ac_ext <<_ACEOF
5409 /* end confdefs.h. */
5413 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5414 $EGREP "memchr" >/dev/null 2>&1; then
5417 ac_cv_header_stdc=no
5423 if test $ac_cv_header_stdc = yes; then
5424 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5425 cat >conftest.$ac_ext <<_ACEOF
5428 cat confdefs.h >>conftest.$ac_ext
5429 cat >>conftest.$ac_ext <<_ACEOF
5430 /* end confdefs.h. */
5434 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5435 $EGREP "free" >/dev/null 2>&1; then
5438 ac_cv_header_stdc=no
5444 if test $ac_cv_header_stdc = yes; then
5445 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5446 if test "$cross_compiling" = yes; then
5449 cat >conftest.$ac_ext <<_ACEOF
5452 cat confdefs.h >>conftest.$ac_ext
5453 cat >>conftest.$ac_ext <<_ACEOF
5454 /* end confdefs.h. */
5457 #if ((' ' & 0x0FF) == 0x020)
5458 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5459 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5461 # define ISLOWER(c) \
5462 (('a' <= (c) && (c) <= 'i') \
5463 || ('j' <= (c) && (c) <= 'r') \
5464 || ('s' <= (c) && (c) <= 'z'))
5465 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5468 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5473 for (i = 0; i < 256; i++)
5474 if (XOR (islower (i), ISLOWER (i))
5475 || toupper (i) != TOUPPER (i))
5480 rm -f conftest$ac_exeext
5481 if { (ac_try="$ac_link"
5483 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5484 *) ac_try_echo
=$ac_try;;
5486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5487 (eval "$ac_link") 2>&5
5489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5490 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5491 { (case "(($ac_try" in
5492 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5493 *) ac_try_echo=$ac_try;;
5495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5496 (eval "$ac_try") 2>&5
5498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5499 (exit $ac_status); }; }; then
5502 echo "$as_me: program exited with status $ac_status" >&5
5503 echo "$as_me: failed program was:" >&5
5504 sed 's/^/| /' conftest.$ac_ext >&5
5507 ac_cv_header_stdc=no
5509 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5515 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5516 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5517 if test $ac_cv_header_stdc = yes; then
5519 cat >>confdefs.h <<\_ACEOF
5520 #define STDC_HEADERS 1
5525 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5535 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5536 inttypes.h stdint.h unistd.h
5538 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5539 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5540 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5541 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5542 echo $ECHO_N "(cached) $ECHO_C" >&6
5544 cat >conftest.$ac_ext <<_ACEOF
5547 cat confdefs.h >>conftest.$ac_ext
5548 cat >>conftest.$ac_ext <<_ACEOF
5549 /* end confdefs.h. */
5550 $ac_includes_default
5552 #include <$ac_header>
5554 rm -f conftest.$ac_objext
5555 if { (ac_try="$ac_compile"
5557 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5558 *) ac_try_echo
=$ac_try;;
5560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5561 (eval "$ac_compile") 2>conftest.er1
5563 grep -v '^ *+' conftest.er1
>conftest.err
5565 cat conftest.err
>&5
5566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5567 (exit $ac_status); } && {
5568 test -z "$ac_c_werror_flag" ||
5569 test ! -s conftest.err
5570 } && test -s conftest.
$ac_objext; then
5571 eval "$as_ac_Header=yes"
5573 echo "$as_me: failed program was:" >&5
5574 sed 's/^/| /' conftest.
$ac_ext >&5
5576 eval "$as_ac_Header=no"
5579 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5581 ac_res
=`eval echo '${'$as_ac_Header'}'`
5582 { echo "$as_me:$LINENO: result: $ac_res" >&5
5583 echo "${ECHO_T}$ac_res" >&6; }
5584 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5585 cat >>confdefs.h
<<_ACEOF
5586 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5603 for ac_header
in sys
/ipc.h sys
/shm.h \
5604 sys
/mmap.h sys
/mman.h sysexits.h \
5605 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
5608 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5609 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5610 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5611 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5612 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5613 echo $ECHO_N "(cached) $ECHO_C" >&6
5615 ac_res
=`eval echo '${'$as_ac_Header'}'`
5616 { echo "$as_me:$LINENO: result: $ac_res" >&5
5617 echo "${ECHO_T}$ac_res" >&6; }
5619 # Is the header compilable?
5620 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5621 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5622 cat >conftest.
$ac_ext <<_ACEOF
5625 cat confdefs.h
>>conftest.
$ac_ext
5626 cat >>conftest.
$ac_ext <<_ACEOF
5627 /* end confdefs.h. */
5628 $ac_includes_default
5629 #include <$ac_header>
5631 rm -f conftest.
$ac_objext
5632 if { (ac_try
="$ac_compile"
5634 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5635 *) ac_try_echo=$ac_try;;
5637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5638 (eval "$ac_compile") 2>conftest.er1
5640 grep -v '^ *+' conftest.er1 >conftest.err
5642 cat conftest.err >&5
5643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5644 (exit $ac_status); } && {
5645 test -z "$ac_c_werror_flag" ||
5646 test ! -s conftest.err
5647 } && test -s conftest.$ac_objext; then
5648 ac_header_compiler=yes
5650 echo "$as_me: failed program was:" >&5
5651 sed 's/^/| /' conftest.$ac_ext >&5
5653 ac_header_compiler=no
5656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5657 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5658 echo "${ECHO_T}$ac_header_compiler" >&6; }
5660 # Is the header present?
5661 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5662 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5663 cat >conftest.$ac_ext <<_ACEOF
5666 cat confdefs.h >>conftest.$ac_ext
5667 cat >>conftest.$ac_ext <<_ACEOF
5668 /* end confdefs.h. */
5669 #include <$ac_header>
5671 if { (ac_try="$ac_cpp conftest.$ac_ext"
5673 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5674 *) ac_try_echo
=$ac_try;;
5676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5677 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5679 grep -v '^ *+' conftest.er1
>conftest.err
5681 cat conftest.err
>&5
5682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5683 (exit $ac_status); } >/dev
/null
&& {
5684 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5685 test ! -s conftest.err
5687 ac_header_preproc
=yes
5689 echo "$as_me: failed program was:" >&5
5690 sed 's/^/| /' conftest.
$ac_ext >&5
5692 ac_header_preproc
=no
5695 rm -f conftest.err conftest.
$ac_ext
5696 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5697 echo "${ECHO_T}$ac_header_preproc" >&6; }
5699 # So? What about this header?
5700 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5702 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5703 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5704 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5705 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5706 ac_header_preproc
=yes
5709 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5710 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5711 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5712 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5713 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5714 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5715 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5716 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5717 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5718 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5719 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5720 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5724 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5725 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5726 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5727 echo $ECHO_N "(cached) $ECHO_C" >&6
5729 eval "$as_ac_Header=\$ac_header_preproc"
5731 ac_res
=`eval echo '${'$as_ac_Header'}'`
5732 { echo "$as_me:$LINENO: result: $ac_res" >&5
5733 echo "${ECHO_T}$ac_res" >&6; }
5736 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5737 cat >>confdefs.h
<<_ACEOF
5738 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5747 for ac_header
in sys
/mount.h
5749 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5750 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5751 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5752 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5753 echo $ECHO_N "(cached) $ECHO_C" >&6
5755 cat >conftest.
$ac_ext <<_ACEOF
5758 cat confdefs.h
>>conftest.
$ac_ext
5759 cat >>conftest.
$ac_ext <<_ACEOF
5760 /* end confdefs.h. */
5761 #include <sys/param.h>
5763 #include <$ac_header>
5765 rm -f conftest.
$ac_objext
5766 if { (ac_try
="$ac_compile"
5768 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5769 *) ac_try_echo=$ac_try;;
5771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5772 (eval "$ac_compile") 2>conftest.er1
5774 grep -v '^ *+' conftest.er1 >conftest.err
5776 cat conftest.err >&5
5777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5778 (exit $ac_status); } && {
5779 test -z "$ac_c_werror_flag" ||
5780 test ! -s conftest.err
5781 } && test -s conftest.$ac_objext; then
5782 eval "$as_ac_Header=yes"
5784 echo "$as_me: failed program was:" >&5
5785 sed 's/^/| /' conftest.$ac_ext >&5
5787 eval "$as_ac_Header=no"
5790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5792 ac_res=`eval echo '${'$as_ac_Header'}'`
5793 { echo "$as_me:$LINENO: result: $ac_res" >&5
5794 echo "${ECHO_T}$ac_res" >&6; }
5795 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5796 cat >>confdefs.h <<_ACEOF
5797 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5811 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
5812 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
5813 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
5814 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
5815 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5816 echo $ECHO_N "(cached) $ECHO_C" >&6
5818 cat >conftest.$ac_ext <<_ACEOF
5821 cat confdefs.h >>conftest.$ac_ext
5822 cat >>conftest.$ac_ext <<_ACEOF
5823 /* end confdefs.h. */
5824 #include <sys/types.h>
5836 rm -f conftest.$ac_objext
5837 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
5853 eval "$as_ac_Header=yes"
5855 echo "$as_me: failed program was:" >&5
5856 sed 's/^/| /' conftest.
$ac_ext >&5
5858 eval "$as_ac_Header=no"
5861 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5863 ac_res
=`eval echo '${'$as_ac_Header'}'`
5864 { echo "$as_me:$LINENO: result: $ac_res" >&5
5865 echo "${ECHO_T}$ac_res" >&6; }
5866 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5867 cat >>confdefs.h
<<_ACEOF
5868 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5871 ac_header_dirent
=$ac_hdr; break
5875 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5876 if test $ac_header_dirent = dirent.h
; then
5877 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
5878 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
5879 if test "${ac_cv_search_opendir+set}" = set; then
5880 echo $ECHO_N "(cached) $ECHO_C" >&6
5882 ac_func_search_save_LIBS
=$LIBS
5883 cat >conftest.
$ac_ext <<_ACEOF
5886 cat confdefs.h
>>conftest.
$ac_ext
5887 cat >>conftest.
$ac_ext <<_ACEOF
5888 /* end confdefs.h. */
5890 /* Override any GCC internal prototype to avoid an error.
5891 Use char because int might match the return type of a GCC
5892 builtin and then its argument prototype would still apply. */
5905 for ac_lib
in '' dir
; do
5906 if test -z "$ac_lib"; then
5907 ac_res
="none required"
5910 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5912 rm -f conftest.
$ac_objext conftest
$ac_exeext
5913 if { (ac_try
="$ac_link"
5915 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5916 *) ac_try_echo=$ac_try;;
5918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5919 (eval "$ac_link") 2>conftest.er1
5921 grep -v '^ *+' conftest.er1 >conftest.err
5923 cat conftest.err >&5
5924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5925 (exit $ac_status); } && {
5926 test -z "$ac_c_werror_flag" ||
5927 test ! -s conftest.err
5928 } && test -s conftest$ac_exeext &&
5929 $as_test_x conftest$ac_exeext; then
5930 ac_cv_search_opendir=$ac_res
5932 echo "$as_me: failed program was:" >&5
5933 sed 's/^/| /' conftest.$ac_ext >&5
5938 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5940 if test "${ac_cv_search_opendir+set}" = set; then
5944 if test "${ac_cv_search_opendir+set}" = set; then
5947 ac_cv_search_opendir=no
5950 LIBS=$ac_func_search_save_LIBS
5952 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5953 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
5954 ac_res=$ac_cv_search_opendir
5955 if test "$ac_res" != no; then
5956 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5961 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
5962 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
5963 if test "${ac_cv_search_opendir+set}" = set; then
5964 echo $ECHO_N "(cached) $ECHO_C" >&6
5966 ac_func_search_save_LIBS=$LIBS
5967 cat >conftest.$ac_ext <<_ACEOF
5970 cat confdefs.h >>conftest.$ac_ext
5971 cat >>conftest.$ac_ext <<_ACEOF
5972 /* end confdefs.h. */
5974 /* Override any GCC internal prototype to avoid an error.
5975 Use char because int might match the return type of a GCC
5976 builtin and then its argument prototype would still apply. */
5989 for ac_lib in '' x; do
5990 if test -z "$ac_lib"; then
5991 ac_res="none required"
5994 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5996 rm -f conftest.$ac_objext conftest$ac_exeext
5997 if { (ac_try="$ac_link"
5999 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6000 *) ac_try_echo
=$ac_try;;
6002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6003 (eval "$ac_link") 2>conftest.er1
6005 grep -v '^ *+' conftest.er1
>conftest.err
6007 cat conftest.err
>&5
6008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6009 (exit $ac_status); } && {
6010 test -z "$ac_c_werror_flag" ||
6011 test ! -s conftest.err
6012 } && test -s conftest
$ac_exeext &&
6013 $as_test_x conftest
$ac_exeext; then
6014 ac_cv_search_opendir
=$ac_res
6016 echo "$as_me: failed program was:" >&5
6017 sed 's/^/| /' conftest.
$ac_ext >&5
6022 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6024 if test "${ac_cv_search_opendir+set}" = set; then
6028 if test "${ac_cv_search_opendir+set}" = set; then
6031 ac_cv_search_opendir
=no
6034 LIBS
=$ac_func_search_save_LIBS
6036 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6037 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
6038 ac_res
=$ac_cv_search_opendir
6039 if test "$ac_res" != no
; then
6040 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6046 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
6047 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
6048 if test "${ac_cv_header_stat_broken+set}" = set; then
6049 echo $ECHO_N "(cached) $ECHO_C" >&6
6051 cat >conftest.
$ac_ext <<_ACEOF
6054 cat confdefs.h
>>conftest.
$ac_ext
6055 cat >>conftest.
$ac_ext <<_ACEOF
6056 /* end confdefs.h. */
6057 #include <sys/types.h>
6058 #include <sys/stat.h>
6060 #if defined S_ISBLK && defined S_IFDIR
6061 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6064 #if defined S_ISBLK && defined S_IFCHR
6065 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6068 #if defined S_ISLNK && defined S_IFREG
6069 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6072 #if defined S_ISSOCK && defined S_IFREG
6073 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6077 rm -f conftest.
$ac_objext
6078 if { (ac_try
="$ac_compile"
6080 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6081 *) ac_try_echo=$ac_try;;
6083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6084 (eval "$ac_compile") 2>conftest.er1
6086 grep -v '^ *+' conftest.er1 >conftest.err
6088 cat conftest.err >&5
6089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6090 (exit $ac_status); } && {
6091 test -z "$ac_c_werror_flag" ||
6092 test ! -s conftest.err
6093 } && test -s conftest.$ac_objext; then
6094 ac_cv_header_stat_broken=no
6096 echo "$as_me: failed program was:" >&5
6097 sed 's/^/| /' conftest.$ac_ext >&5
6099 ac_cv_header_stat_broken=yes
6102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6104 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
6105 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
6106 if test $ac_cv_header_stat_broken = yes; then
6108 cat >>confdefs.h <<\_ACEOF
6109 #define STAT_MACROS_BROKEN 1
6114 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6115 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6116 if test "${ac_cv_header_stdc+set}" = set; then
6117 echo $ECHO_N "(cached) $ECHO_C" >&6
6119 cat >conftest.$ac_ext <<_ACEOF
6122 cat confdefs.h >>conftest.$ac_ext
6123 cat >>conftest.$ac_ext <<_ACEOF
6124 /* end confdefs.h. */
6138 rm -f conftest.$ac_objext
6139 if { (ac_try="$ac_compile"
6141 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6142 *) ac_try_echo
=$ac_try;;
6144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6145 (eval "$ac_compile") 2>conftest.er1
6147 grep -v '^ *+' conftest.er1
>conftest.err
6149 cat conftest.err
>&5
6150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6151 (exit $ac_status); } && {
6152 test -z "$ac_c_werror_flag" ||
6153 test ! -s conftest.err
6154 } && test -s conftest.
$ac_objext; then
6155 ac_cv_header_stdc
=yes
6157 echo "$as_me: failed program was:" >&5
6158 sed 's/^/| /' conftest.
$ac_ext >&5
6160 ac_cv_header_stdc
=no
6163 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6165 if test $ac_cv_header_stdc = yes; then
6166 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6167 cat >conftest.
$ac_ext <<_ACEOF
6170 cat confdefs.h
>>conftest.
$ac_ext
6171 cat >>conftest.
$ac_ext <<_ACEOF
6172 /* end confdefs.h. */
6176 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6177 $EGREP "memchr" >/dev
/null
2>&1; then
6180 ac_cv_header_stdc
=no
6186 if test $ac_cv_header_stdc = yes; then
6187 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6188 cat >conftest.
$ac_ext <<_ACEOF
6191 cat confdefs.h
>>conftest.
$ac_ext
6192 cat >>conftest.
$ac_ext <<_ACEOF
6193 /* end confdefs.h. */
6197 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6198 $EGREP "free" >/dev
/null
2>&1; then
6201 ac_cv_header_stdc
=no
6207 if test $ac_cv_header_stdc = yes; then
6208 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6209 if test "$cross_compiling" = yes; then
6212 cat >conftest.
$ac_ext <<_ACEOF
6215 cat confdefs.h
>>conftest.
$ac_ext
6216 cat >>conftest.
$ac_ext <<_ACEOF
6217 /* end confdefs.h. */
6220 #if ((' ' & 0x0FF) == 0x020)
6221 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6222 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6224 # define ISLOWER(c) \
6225 (('a' <= (c) && (c) <= 'i') \
6226 || ('j' <= (c) && (c) <= 'r') \
6227 || ('s' <= (c) && (c) <= 'z'))
6228 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6231 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6236 for (i = 0; i < 256; i++)
6237 if (XOR (islower (i), ISLOWER (i))
6238 || toupper (i) != TOUPPER (i))
6243 rm -f conftest
$ac_exeext
6244 if { (ac_try
="$ac_link"
6246 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6247 *) ac_try_echo=$ac_try;;
6249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6250 (eval "$ac_link") 2>&5
6252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6253 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6254 { (case "(($ac_try" in
6255 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6256 *) ac_try_echo
=$ac_try;;
6258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6259 (eval "$ac_try") 2>&5
6261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6262 (exit $ac_status); }; }; then
6265 echo "$as_me: program exited with status $ac_status" >&5
6266 echo "$as_me: failed program was:" >&5
6267 sed 's/^/| /' conftest.
$ac_ext >&5
6270 ac_cv_header_stdc
=no
6272 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6278 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6279 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6280 if test $ac_cv_header_stdc = yes; then
6282 cat >>confdefs.h
<<\_ACEOF
6283 #define STDC_HEADERS 1
6288 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
6289 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
6290 if test "${ac_cv_header_sys_wait_h+set}" = set; then
6291 echo $ECHO_N "(cached) $ECHO_C" >&6
6293 cat >conftest.
$ac_ext <<_ACEOF
6296 cat confdefs.h
>>conftest.
$ac_ext
6297 cat >>conftest.
$ac_ext <<_ACEOF
6298 /* end confdefs.h. */
6299 #include <sys/types.h>
6300 #include <sys/wait.h>
6302 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6305 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6313 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6318 rm -f conftest.
$ac_objext
6319 if { (ac_try
="$ac_compile"
6321 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6322 *) ac_try_echo=$ac_try;;
6324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6325 (eval "$ac_compile") 2>conftest.er1
6327 grep -v '^ *+' conftest.er1 >conftest.err
6329 cat conftest.err >&5
6330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6331 (exit $ac_status); } && {
6332 test -z "$ac_c_werror_flag" ||
6333 test ! -s conftest.err
6334 } && test -s conftest.$ac_objext; then
6335 ac_cv_header_sys_wait_h=yes
6337 echo "$as_me: failed program was:" >&5
6338 sed 's/^/| /' conftest.$ac_ext >&5
6340 ac_cv_header_sys_wait_h=no
6343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6345 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
6346 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
6347 if test $ac_cv_header_sys_wait_h = yes; then
6349 cat >>confdefs.h <<\_ACEOF
6350 #define HAVE_SYS_WAIT_H 1
6355 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6356 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
6357 if test "${ac_cv_header_time+set}" = set; then
6358 echo $ECHO_N "(cached) $ECHO_C" >&6
6360 cat >conftest.$ac_ext <<_ACEOF
6363 cat confdefs.h >>conftest.$ac_ext
6364 cat >>conftest.$ac_ext <<_ACEOF
6365 /* end confdefs.h. */
6366 #include <sys/types.h>
6367 #include <sys/time.h>
6373 if ((struct tm *) 0)
6379 rm -f conftest.$ac_objext
6380 if { (ac_try="$ac_compile"
6382 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6383 *) ac_try_echo
=$ac_try;;
6385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6386 (eval "$ac_compile") 2>conftest.er1
6388 grep -v '^ *+' conftest.er1
>conftest.err
6390 cat conftest.err
>&5
6391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6392 (exit $ac_status); } && {
6393 test -z "$ac_c_werror_flag" ||
6394 test ! -s conftest.err
6395 } && test -s conftest.
$ac_objext; then
6396 ac_cv_header_time
=yes
6398 echo "$as_me: failed program was:" >&5
6399 sed 's/^/| /' conftest.
$ac_ext >&5
6401 ac_cv_header_time
=no
6404 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6406 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6407 echo "${ECHO_T}$ac_cv_header_time" >&6; }
6408 if test $ac_cv_header_time = yes; then
6410 cat >>confdefs.h
<<\_ACEOF
6411 #define TIME_WITH_SYS_TIME 1
6416 { echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6417 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6; }
6418 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6419 echo $ECHO_N "(cached) $ECHO_C" >&6
6421 cat >conftest.
$ac_ext <<_ACEOF
6424 cat confdefs.h
>>conftest.
$ac_ext
6425 cat >>conftest.
$ac_ext <<_ACEOF
6426 /* end confdefs.h. */
6427 $ac_includes_default
6431 static struct stat ac_aggr;
6432 if (ac_aggr.st_blksize)
6438 rm -f conftest.
$ac_objext
6439 if { (ac_try
="$ac_compile"
6441 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6442 *) ac_try_echo=$ac_try;;
6444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6445 (eval "$ac_compile") 2>conftest.er1
6447 grep -v '^ *+' conftest.er1 >conftest.err
6449 cat conftest.err >&5
6450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6451 (exit $ac_status); } && {
6452 test -z "$ac_c_werror_flag" ||
6453 test ! -s conftest.err
6454 } && test -s conftest.$ac_objext; then
6455 ac_cv_member_struct_stat_st_blksize=yes
6457 echo "$as_me: failed program was:" >&5
6458 sed 's/^/| /' conftest.$ac_ext >&5
6460 cat >conftest.$ac_ext <<_ACEOF
6463 cat confdefs.h >>conftest.$ac_ext
6464 cat >>conftest.$ac_ext <<_ACEOF
6465 /* end confdefs.h. */
6466 $ac_includes_default
6470 static struct stat ac_aggr;
6471 if (sizeof ac_aggr.st_blksize)
6477 rm -f conftest.$ac_objext
6478 if { (ac_try="$ac_compile"
6480 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6481 *) ac_try_echo
=$ac_try;;
6483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6484 (eval "$ac_compile") 2>conftest.er1
6486 grep -v '^ *+' conftest.er1
>conftest.err
6488 cat conftest.err
>&5
6489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6490 (exit $ac_status); } && {
6491 test -z "$ac_c_werror_flag" ||
6492 test ! -s conftest.err
6493 } && test -s conftest.
$ac_objext; then
6494 ac_cv_member_struct_stat_st_blksize
=yes
6496 echo "$as_me: failed program was:" >&5
6497 sed 's/^/| /' conftest.
$ac_ext >&5
6499 ac_cv_member_struct_stat_st_blksize
=no
6502 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6505 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6507 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
6508 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6; }
6509 if test $ac_cv_member_struct_stat_st_blksize = yes; then
6511 cat >>confdefs.h
<<_ACEOF
6512 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6516 cat >>confdefs.h
<<\_ACEOF
6517 #define HAVE_ST_BLKSIZE 1
6523 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
6524 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
6525 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
6526 echo $ECHO_N "(cached) $ECHO_C" >&6
6528 cat >conftest.
$ac_ext <<_ACEOF
6531 cat confdefs.h
>>conftest.
$ac_ext
6532 cat >>conftest.
$ac_ext <<_ACEOF
6533 /* end confdefs.h. */
6534 $ac_includes_default
6538 static struct stat ac_aggr;
6539 if (ac_aggr.st_blocks)
6545 rm -f conftest.
$ac_objext
6546 if { (ac_try
="$ac_compile"
6548 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6549 *) ac_try_echo=$ac_try;;
6551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6552 (eval "$ac_compile") 2>conftest.er1
6554 grep -v '^ *+' conftest.er1 >conftest.err
6556 cat conftest.err >&5
6557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6558 (exit $ac_status); } && {
6559 test -z "$ac_c_werror_flag" ||
6560 test ! -s conftest.err
6561 } && test -s conftest.$ac_objext; then
6562 ac_cv_member_struct_stat_st_blocks=yes
6564 echo "$as_me: failed program was:" >&5
6565 sed 's/^/| /' conftest.$ac_ext >&5
6567 cat >conftest.$ac_ext <<_ACEOF
6570 cat confdefs.h >>conftest.$ac_ext
6571 cat >>conftest.$ac_ext <<_ACEOF
6572 /* end confdefs.h. */
6573 $ac_includes_default
6577 static struct stat ac_aggr;
6578 if (sizeof ac_aggr.st_blocks)
6584 rm -f conftest.$ac_objext
6585 if { (ac_try="$ac_compile"
6587 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6588 *) ac_try_echo
=$ac_try;;
6590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6591 (eval "$ac_compile") 2>conftest.er1
6593 grep -v '^ *+' conftest.er1
>conftest.err
6595 cat conftest.err
>&5
6596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6597 (exit $ac_status); } && {
6598 test -z "$ac_c_werror_flag" ||
6599 test ! -s conftest.err
6600 } && test -s conftest.
$ac_objext; then
6601 ac_cv_member_struct_stat_st_blocks
=yes
6603 echo "$as_me: failed program was:" >&5
6604 sed 's/^/| /' conftest.
$ac_ext >&5
6606 ac_cv_member_struct_stat_st_blocks
=no
6609 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6612 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6614 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
6615 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
6616 if test $ac_cv_member_struct_stat_st_blocks = yes; then
6618 cat >>confdefs.h
<<_ACEOF
6619 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6623 cat >>confdefs.h
<<\_ACEOF
6624 #define HAVE_ST_BLOCKS 1
6628 case " $LIBOBJS " in
6629 *" fileblocks.$ac_objext "* ) ;;
6630 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6637 { echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6638 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6; }
6639 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6640 echo $ECHO_N "(cached) $ECHO_C" >&6
6642 cat >conftest.
$ac_ext <<_ACEOF
6645 cat confdefs.h
>>conftest.
$ac_ext
6646 cat >>conftest.
$ac_ext <<_ACEOF
6647 /* end confdefs.h. */
6648 $ac_includes_default
6652 static struct stat ac_aggr;
6653 if (ac_aggr.st_rdev)
6659 rm -f conftest.
$ac_objext
6660 if { (ac_try
="$ac_compile"
6662 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6663 *) ac_try_echo=$ac_try;;
6665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6666 (eval "$ac_compile") 2>conftest.er1
6668 grep -v '^ *+' conftest.er1 >conftest.err
6670 cat conftest.err >&5
6671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6672 (exit $ac_status); } && {
6673 test -z "$ac_c_werror_flag" ||
6674 test ! -s conftest.err
6675 } && test -s conftest.$ac_objext; then
6676 ac_cv_member_struct_stat_st_rdev=yes
6678 echo "$as_me: failed program was:" >&5
6679 sed 's/^/| /' conftest.$ac_ext >&5
6681 cat >conftest.$ac_ext <<_ACEOF
6684 cat confdefs.h >>conftest.$ac_ext
6685 cat >>conftest.$ac_ext <<_ACEOF
6686 /* end confdefs.h. */
6687 $ac_includes_default
6691 static struct stat ac_aggr;
6692 if (sizeof ac_aggr.st_rdev)
6698 rm -f conftest.$ac_objext
6699 if { (ac_try="$ac_compile"
6701 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6702 *) ac_try_echo
=$ac_try;;
6704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6705 (eval "$ac_compile") 2>conftest.er1
6707 grep -v '^ *+' conftest.er1
>conftest.err
6709 cat conftest.err
>&5
6710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6711 (exit $ac_status); } && {
6712 test -z "$ac_c_werror_flag" ||
6713 test ! -s conftest.err
6714 } && test -s conftest.
$ac_objext; then
6715 ac_cv_member_struct_stat_st_rdev
=yes
6717 echo "$as_me: failed program was:" >&5
6718 sed 's/^/| /' conftest.
$ac_ext >&5
6720 ac_cv_member_struct_stat_st_rdev
=no
6723 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6726 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6728 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
6729 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6; }
6730 if test $ac_cv_member_struct_stat_st_rdev = yes; then
6732 cat >>confdefs.h
<<_ACEOF
6733 #define HAVE_STRUCT_STAT_ST_RDEV 1
6737 cat >>confdefs.h
<<\_ACEOF
6738 #define HAVE_ST_RDEV 1
6744 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6745 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
6746 if test "${ac_cv_struct_tm+set}" = set; then
6747 echo $ECHO_N "(cached) $ECHO_C" >&6
6749 cat >conftest.
$ac_ext <<_ACEOF
6752 cat confdefs.h
>>conftest.
$ac_ext
6753 cat >>conftest.
$ac_ext <<_ACEOF
6754 /* end confdefs.h. */
6755 #include <sys/types.h>
6762 int *p = &tm.tm_sec;
6768 rm -f conftest.
$ac_objext
6769 if { (ac_try
="$ac_compile"
6771 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6772 *) ac_try_echo=$ac_try;;
6774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6775 (eval "$ac_compile") 2>conftest.er1
6777 grep -v '^ *+' conftest.er1 >conftest.err
6779 cat conftest.err >&5
6780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6781 (exit $ac_status); } && {
6782 test -z "$ac_c_werror_flag" ||
6783 test ! -s conftest.err
6784 } && test -s conftest.$ac_objext; then
6785 ac_cv_struct_tm=time.h
6787 echo "$as_me: failed program was:" >&5
6788 sed 's/^/| /' conftest.$ac_ext >&5
6790 ac_cv_struct_tm=sys/time.h
6793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6795 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6796 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
6797 if test $ac_cv_struct_tm = sys/time.h; then
6799 cat >>confdefs.h <<\_ACEOF
6800 #define TM_IN_SYS_TIME 1
6805 { echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
6806 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6; }
6807 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
6808 echo $ECHO_N "(cached) $ECHO_C" >&6
6810 cat >conftest.$ac_ext <<_ACEOF
6813 cat confdefs.h >>conftest.$ac_ext
6814 cat >>conftest.$ac_ext <<_ACEOF
6815 /* end confdefs.h. */
6816 #include <sys/types.h>
6817 #include <$ac_cv_struct_tm>
6823 static struct tm ac_aggr;
6824 if (ac_aggr.tm_zone)
6830 rm -f conftest.$ac_objext
6831 if { (ac_try="$ac_compile"
6833 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6834 *) ac_try_echo
=$ac_try;;
6836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6837 (eval "$ac_compile") 2>conftest.er1
6839 grep -v '^ *+' conftest.er1
>conftest.err
6841 cat conftest.err
>&5
6842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6843 (exit $ac_status); } && {
6844 test -z "$ac_c_werror_flag" ||
6845 test ! -s conftest.err
6846 } && test -s conftest.
$ac_objext; then
6847 ac_cv_member_struct_tm_tm_zone
=yes
6849 echo "$as_me: failed program was:" >&5
6850 sed 's/^/| /' conftest.
$ac_ext >&5
6852 cat >conftest.
$ac_ext <<_ACEOF
6855 cat confdefs.h
>>conftest.
$ac_ext
6856 cat >>conftest.
$ac_ext <<_ACEOF
6857 /* end confdefs.h. */
6858 #include <sys/types.h>
6859 #include <$ac_cv_struct_tm>
6865 static struct tm ac_aggr;
6866 if (sizeof ac_aggr.tm_zone)
6872 rm -f conftest.
$ac_objext
6873 if { (ac_try
="$ac_compile"
6875 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6876 *) ac_try_echo=$ac_try;;
6878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6879 (eval "$ac_compile") 2>conftest.er1
6881 grep -v '^ *+' conftest.er1 >conftest.err
6883 cat conftest.err >&5
6884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6885 (exit $ac_status); } && {
6886 test -z "$ac_c_werror_flag" ||
6887 test ! -s conftest.err
6888 } && test -s conftest.$ac_objext; then
6889 ac_cv_member_struct_tm_tm_zone=yes
6891 echo "$as_me: failed program was:" >&5
6892 sed 's/^/| /' conftest.$ac_ext >&5
6894 ac_cv_member_struct_tm_tm_zone=no
6897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6902 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
6903 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6; }
6904 if test $ac_cv_member_struct_tm_tm_zone = yes; then
6906 cat >>confdefs.h <<_ACEOF
6907 #define HAVE_STRUCT_TM_TM_ZONE 1
6913 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6915 cat >>confdefs.h <<\_ACEOF
6916 #define HAVE_TM_ZONE 1
6920 { echo "$as_me:$LINENO: checking whether tzname is declared" >&5
6921 echo $ECHO_N "checking whether tzname is declared... $ECHO_C" >&6; }
6922 if test "${ac_cv_have_decl_tzname+set}" = set; then
6923 echo $ECHO_N "(cached) $ECHO_C" >&6
6925 cat >conftest.$ac_ext <<_ACEOF
6928 cat confdefs.h >>conftest.$ac_ext
6929 cat >>conftest.$ac_ext <<_ACEOF
6930 /* end confdefs.h. */
6944 rm -f conftest.$ac_objext
6945 if { (ac_try="$ac_compile"
6947 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6948 *) ac_try_echo
=$ac_try;;
6950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6951 (eval "$ac_compile") 2>conftest.er1
6953 grep -v '^ *+' conftest.er1
>conftest.err
6955 cat conftest.err
>&5
6956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6957 (exit $ac_status); } && {
6958 test -z "$ac_c_werror_flag" ||
6959 test ! -s conftest.err
6960 } && test -s conftest.
$ac_objext; then
6961 ac_cv_have_decl_tzname
=yes
6963 echo "$as_me: failed program was:" >&5
6964 sed 's/^/| /' conftest.
$ac_ext >&5
6966 ac_cv_have_decl_tzname
=no
6969 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6971 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5
6972 echo "${ECHO_T}$ac_cv_have_decl_tzname" >&6; }
6973 if test $ac_cv_have_decl_tzname = yes; then
6975 cat >>confdefs.h
<<_ACEOF
6976 #define HAVE_DECL_TZNAME 1
6981 cat >>confdefs.h
<<_ACEOF
6982 #define HAVE_DECL_TZNAME 0
6989 { echo "$as_me:$LINENO: checking for tzname" >&5
6990 echo $ECHO_N "checking for tzname... $ECHO_C" >&6; }
6991 if test "${ac_cv_var_tzname+set}" = set; then
6992 echo $ECHO_N "(cached) $ECHO_C" >&6
6994 cat >conftest.
$ac_ext <<_ACEOF
6997 cat confdefs.h
>>conftest.
$ac_ext
6998 cat >>conftest.
$ac_ext <<_ACEOF
6999 /* end confdefs.h. */
7001 #if !HAVE_DECL_TZNAME
7002 extern char *tzname[];
7008 return tzname[0][0];
7013 rm -f conftest.
$ac_objext conftest
$ac_exeext
7014 if { (ac_try
="$ac_link"
7016 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7017 *) ac_try_echo=$ac_try;;
7019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7020 (eval "$ac_link") 2>conftest.er1
7022 grep -v '^ *+' conftest.er1 >conftest.err
7024 cat conftest.err >&5
7025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7026 (exit $ac_status); } && {
7027 test -z "$ac_c_werror_flag" ||
7028 test ! -s conftest.err
7029 } && test -s conftest$ac_exeext &&
7030 $as_test_x conftest$ac_exeext; then
7031 ac_cv_var_tzname=yes
7033 echo "$as_me: failed program was:" >&5
7034 sed 's/^/| /' conftest.$ac_ext >&5
7039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7040 conftest$ac_exeext conftest.$ac_ext
7042 { echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
7043 echo "${ECHO_T}$ac_cv_var_tzname" >&6; }
7044 if test $ac_cv_var_tzname = yes; then
7046 cat >>confdefs.h <<\_ACEOF
7047 #define HAVE_TZNAME 1
7053 { echo "$as_me:$LINENO: checking for off_t" >&5
7054 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
7055 if test "${ac_cv_type_off_t+set}" = set; then
7056 echo $ECHO_N "(cached) $ECHO_C" >&6
7058 cat >conftest.$ac_ext <<_ACEOF
7061 cat confdefs.h >>conftest.$ac_ext
7062 cat >>conftest.$ac_ext <<_ACEOF
7063 /* end confdefs.h. */
7064 $ac_includes_default
7065 typedef off_t ac__type_new_;
7069 if ((ac__type_new_ *) 0)
7071 if (sizeof (ac__type_new_))
7077 rm -f conftest.$ac_objext
7078 if { (ac_try="$ac_compile"
7080 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7081 *) ac_try_echo
=$ac_try;;
7083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7084 (eval "$ac_compile") 2>conftest.er1
7086 grep -v '^ *+' conftest.er1
>conftest.err
7088 cat conftest.err
>&5
7089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7090 (exit $ac_status); } && {
7091 test -z "$ac_c_werror_flag" ||
7092 test ! -s conftest.err
7093 } && test -s conftest.
$ac_objext; then
7094 ac_cv_type_off_t
=yes
7096 echo "$as_me: failed program was:" >&5
7097 sed 's/^/| /' conftest.
$ac_ext >&5
7102 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7104 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
7105 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
7106 if test $ac_cv_type_off_t = yes; then
7110 cat >>confdefs.h
<<_ACEOF
7111 #define off_t long int
7116 { echo "$as_me:$LINENO: checking for pid_t" >&5
7117 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
7118 if test "${ac_cv_type_pid_t+set}" = set; then
7119 echo $ECHO_N "(cached) $ECHO_C" >&6
7121 cat >conftest.
$ac_ext <<_ACEOF
7124 cat confdefs.h
>>conftest.
$ac_ext
7125 cat >>conftest.
$ac_ext <<_ACEOF
7126 /* end confdefs.h. */
7127 $ac_includes_default
7128 typedef pid_t ac__type_new_;
7132 if ((ac__type_new_ *) 0)
7134 if (sizeof (ac__type_new_))
7140 rm -f conftest.
$ac_objext
7141 if { (ac_try
="$ac_compile"
7143 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7144 *) ac_try_echo=$ac_try;;
7146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7147 (eval "$ac_compile") 2>conftest.er1
7149 grep -v '^ *+' conftest.er1 >conftest.err
7151 cat conftest.err >&5
7152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7153 (exit $ac_status); } && {
7154 test -z "$ac_c_werror_flag" ||
7155 test ! -s conftest.err
7156 } && test -s conftest.$ac_objext; then
7157 ac_cv_type_pid_t=yes
7159 echo "$as_me: failed program was:" >&5
7160 sed 's/^/| /' conftest.$ac_ext >&5
7165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7167 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
7168 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
7169 if test $ac_cv_type_pid_t = yes; then
7173 cat >>confdefs.h <<_ACEOF
7179 { echo "$as_me:$LINENO: checking for size_t" >&5
7180 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
7181 if test "${ac_cv_type_size_t+set}" = set; then
7182 echo $ECHO_N "(cached) $ECHO_C" >&6
7184 cat >conftest.$ac_ext <<_ACEOF
7187 cat confdefs.h >>conftest.$ac_ext
7188 cat >>conftest.$ac_ext <<_ACEOF
7189 /* end confdefs.h. */
7190 $ac_includes_default
7191 typedef size_t ac__type_new_;
7195 if ((ac__type_new_ *) 0)
7197 if (sizeof (ac__type_new_))
7203 rm -f conftest.$ac_objext
7204 if { (ac_try="$ac_compile"
7206 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7207 *) ac_try_echo
=$ac_try;;
7209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7210 (eval "$ac_compile") 2>conftest.er1
7212 grep -v '^ *+' conftest.er1
>conftest.err
7214 cat conftest.err
>&5
7215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7216 (exit $ac_status); } && {
7217 test -z "$ac_c_werror_flag" ||
7218 test ! -s conftest.err
7219 } && test -s conftest.
$ac_objext; then
7220 ac_cv_type_size_t
=yes
7222 echo "$as_me: failed program was:" >&5
7223 sed 's/^/| /' conftest.
$ac_ext >&5
7225 ac_cv_type_size_t
=no
7228 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7230 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
7231 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
7232 if test $ac_cv_type_size_t = yes; then
7236 cat >>confdefs.h
<<_ACEOF
7237 #define size_t unsigned int
7242 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
7243 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
7244 if test "${ac_cv_type_uid_t+set}" = set; then
7245 echo $ECHO_N "(cached) $ECHO_C" >&6
7247 cat >conftest.
$ac_ext <<_ACEOF
7250 cat confdefs.h
>>conftest.
$ac_ext
7251 cat >>conftest.
$ac_ext <<_ACEOF
7252 /* end confdefs.h. */
7253 #include <sys/types.h>
7256 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7257 $EGREP "uid_t" >/dev
/null
2>&1; then
7258 ac_cv_type_uid_t
=yes
7265 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
7266 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
7267 if test $ac_cv_type_uid_t = no
; then
7269 cat >>confdefs.h
<<\_ACEOF
7274 cat >>confdefs.h
<<\_ACEOF
7281 { echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
7282 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6; }
7283 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
7284 echo $ECHO_N "(cached) $ECHO_C" >&6
7286 cat >conftest.
$ac_ext <<_ACEOF
7289 cat confdefs.h
>>conftest.
$ac_ext
7290 cat >>conftest.
$ac_ext <<_ACEOF
7291 /* end confdefs.h. */
7292 $ac_includes_default
7296 static struct tm ac_aggr;
7297 if (ac_aggr.tm_gmtoff)
7303 rm -f conftest.
$ac_objext
7304 if { (ac_try
="$ac_compile"
7306 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7307 *) ac_try_echo=$ac_try;;
7309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7310 (eval "$ac_compile") 2>conftest.er1
7312 grep -v '^ *+' conftest.er1 >conftest.err
7314 cat conftest.err >&5
7315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7316 (exit $ac_status); } && {
7317 test -z "$ac_c_werror_flag" ||
7318 test ! -s conftest.err
7319 } && test -s conftest.$ac_objext; then
7320 ac_cv_member_struct_tm_tm_gmtoff=yes
7322 echo "$as_me: failed program was:" >&5
7323 sed 's/^/| /' conftest.$ac_ext >&5
7325 cat >conftest.$ac_ext <<_ACEOF
7328 cat confdefs.h >>conftest.$ac_ext
7329 cat >>conftest.$ac_ext <<_ACEOF
7330 /* end confdefs.h. */
7331 $ac_includes_default
7335 static struct tm ac_aggr;
7336 if (sizeof ac_aggr.tm_gmtoff)
7342 rm -f conftest.$ac_objext
7343 if { (ac_try="$ac_compile"
7345 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7346 *) ac_try_echo
=$ac_try;;
7348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7349 (eval "$ac_compile") 2>conftest.er1
7351 grep -v '^ *+' conftest.er1
>conftest.err
7353 cat conftest.err
>&5
7354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7355 (exit $ac_status); } && {
7356 test -z "$ac_c_werror_flag" ||
7357 test ! -s conftest.err
7358 } && test -s conftest.
$ac_objext; then
7359 ac_cv_member_struct_tm_tm_gmtoff
=yes
7361 echo "$as_me: failed program was:" >&5
7362 sed 's/^/| /' conftest.
$ac_ext >&5
7364 ac_cv_member_struct_tm_tm_gmtoff
=no
7367 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7370 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7372 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
7373 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6; }
7374 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
7376 cat >>confdefs.h
<<_ACEOF
7377 #define HAVE_STRUCT_TM_TM_GMTOFF 1
7384 # Look for some functions
7399 for ac_func
in getpagesize kqueue statfs statvfs \
7400 clone kse_create rfork_thread thr_create sa_register \
7401 getcontext makecontext setcontext sigaltstack swapcontext
7403 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7404 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7406 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7407 echo $ECHO_N "(cached) $ECHO_C" >&6
7409 cat >conftest.
$ac_ext <<_ACEOF
7412 cat confdefs.h
>>conftest.
$ac_ext
7413 cat >>conftest.
$ac_ext <<_ACEOF
7414 /* end confdefs.h. */
7415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7417 #define $ac_func innocuous_$ac_func
7419 /* System header to define __stub macros and hopefully few prototypes,
7420 which can conflict with char $ac_func (); below.
7421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7422 <limits.h> exists even on freestanding compilers. */
7425 # include <limits.h>
7427 # include <assert.h>
7432 /* Override any GCC internal prototype to avoid an error.
7433 Use char because int might match the return type of a GCC
7434 builtin and then its argument prototype would still apply. */
7439 /* The GNU C library defines this for functions which it implements
7440 to always fail with ENOSYS. Some functions are actually named
7441 something starting with __ and the normal name is an alias. */
7442 #if defined __stub_$ac_func || defined __stub___$ac_func
7454 rm -f conftest.
$ac_objext conftest
$ac_exeext
7455 if { (ac_try
="$ac_link"
7457 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7458 *) ac_try_echo=$ac_try;;
7460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7461 (eval "$ac_link") 2>conftest.er1
7463 grep -v '^ *+' conftest.er1 >conftest.err
7465 cat conftest.err >&5
7466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7467 (exit $ac_status); } && {
7468 test -z "$ac_c_werror_flag" ||
7469 test ! -s conftest.err
7470 } && test -s conftest$ac_exeext &&
7471 $as_test_x conftest$ac_exeext; then
7472 eval "$as_ac_var=yes"
7474 echo "$as_me: failed program was:" >&5
7475 sed 's/^/| /' conftest.$ac_ext >&5
7477 eval "$as_ac_var=no"
7480 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7481 conftest$ac_exeext conftest.$ac_ext
7483 ac_res=`eval echo '${'$as_ac_var'}'`
7484 { echo "$as_me:$LINENO: result: $ac_res" >&5
7485 echo "${ECHO_T}$ac_res" >&6; }
7486 if test `eval echo '${'$as_ac_var'}'` = yes; then
7487 cat >>confdefs.h <<_ACEOF
7488 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7497 for ac_header in stdlib.h unistd.h
7499 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7500 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7501 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7502 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7503 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7504 echo $ECHO_N "(cached) $ECHO_C" >&6
7506 ac_res=`eval echo '${'$as_ac_Header'}'`
7507 { echo "$as_me:$LINENO: result: $ac_res" >&5
7508 echo "${ECHO_T}$ac_res" >&6; }
7510 # Is the header compilable?
7511 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7512 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7513 cat >conftest.$ac_ext <<_ACEOF
7516 cat confdefs.h >>conftest.$ac_ext
7517 cat >>conftest.$ac_ext <<_ACEOF
7518 /* end confdefs.h. */
7519 $ac_includes_default
7520 #include <$ac_header>
7522 rm -f conftest.$ac_objext
7523 if { (ac_try="$ac_compile"
7525 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7526 *) ac_try_echo
=$ac_try;;
7528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7529 (eval "$ac_compile") 2>conftest.er1
7531 grep -v '^ *+' conftest.er1
>conftest.err
7533 cat conftest.err
>&5
7534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7535 (exit $ac_status); } && {
7536 test -z "$ac_c_werror_flag" ||
7537 test ! -s conftest.err
7538 } && test -s conftest.
$ac_objext; then
7539 ac_header_compiler
=yes
7541 echo "$as_me: failed program was:" >&5
7542 sed 's/^/| /' conftest.
$ac_ext >&5
7544 ac_header_compiler
=no
7547 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7548 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7549 echo "${ECHO_T}$ac_header_compiler" >&6; }
7551 # Is the header present?
7552 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7553 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7554 cat >conftest.
$ac_ext <<_ACEOF
7557 cat confdefs.h
>>conftest.
$ac_ext
7558 cat >>conftest.
$ac_ext <<_ACEOF
7559 /* end confdefs.h. */
7560 #include <$ac_header>
7562 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7564 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7565 *) ac_try_echo=$ac_try;;
7567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7568 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7570 grep -v '^ *+' conftest.er1 >conftest.err
7572 cat conftest.err >&5
7573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7574 (exit $ac_status); } >/dev/null && {
7575 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7576 test ! -s conftest.err
7578 ac_header_preproc=yes
7580 echo "$as_me: failed program was:" >&5
7581 sed 's/^/| /' conftest.$ac_ext >&5
7583 ac_header_preproc=no
7586 rm -f conftest.err conftest.$ac_ext
7587 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7588 echo "${ECHO_T}$ac_header_preproc" >&6; }
7590 # So? What about this header?
7591 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7593 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7594 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7595 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7596 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7597 ac_header_preproc=yes
7600 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7601 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7602 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7603 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7604 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7605 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7606 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7607 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7608 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7609 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7610 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7611 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7615 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7616 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7617 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7618 echo $ECHO_N "(cached) $ECHO_C" >&6
7620 eval "$as_ac_Header=\$ac_header_preproc"
7622 ac_res=`eval echo '${'$as_ac_Header'}'`
7623 { echo "$as_me:$LINENO: result: $ac_res" >&5
7624 echo "${ECHO_T}$ac_res" >&6; }
7627 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7628 cat >>confdefs.h <<_ACEOF
7629 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7637 for ac_func in getpagesize
7639 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
7640 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7642 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7643 echo $ECHO_N "(cached) $ECHO_C" >&6
7645 cat >conftest.$ac_ext <<_ACEOF
7648 cat confdefs.h >>conftest.$ac_ext
7649 cat >>conftest.$ac_ext <<_ACEOF
7650 /* end confdefs.h. */
7651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7653 #define $ac_func innocuous_$ac_func
7655 /* System header to define __stub macros and hopefully few prototypes,
7656 which can conflict with char $ac_func (); below.
7657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7658 <limits.h> exists even on freestanding compilers. */
7661 # include <limits.h>
7663 # include <assert.h>
7668 /* Override any GCC internal prototype to avoid an error.
7669 Use char because int might match the return type of a GCC
7670 builtin and then its argument prototype would still apply. */
7675 /* The GNU C library defines this for functions which it implements
7676 to always fail with ENOSYS. Some functions are actually named
7677 something starting with __ and the normal name is an alias. */
7678 #if defined __stub_$ac_func || defined __stub___$ac_func
7690 rm -f conftest.$ac_objext conftest$ac_exeext
7691 if { (ac_try="$ac_link"
7693 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7694 *) ac_try_echo
=$ac_try;;
7696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7697 (eval "$ac_link") 2>conftest.er1
7699 grep -v '^ *+' conftest.er1
>conftest.err
7701 cat conftest.err
>&5
7702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7703 (exit $ac_status); } && {
7704 test -z "$ac_c_werror_flag" ||
7705 test ! -s conftest.err
7706 } && test -s conftest
$ac_exeext &&
7707 $as_test_x conftest
$ac_exeext; then
7708 eval "$as_ac_var=yes"
7710 echo "$as_me: failed program was:" >&5
7711 sed 's/^/| /' conftest.
$ac_ext >&5
7713 eval "$as_ac_var=no"
7716 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7717 conftest
$ac_exeext conftest.
$ac_ext
7719 ac_res
=`eval echo '${'$as_ac_var'}'`
7720 { echo "$as_me:$LINENO: result: $ac_res" >&5
7721 echo "${ECHO_T}$ac_res" >&6; }
7722 if test `eval echo '${'$as_ac_var'}'` = yes; then
7723 cat >>confdefs.h
<<_ACEOF
7724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7730 { echo "$as_me:$LINENO: checking for working mmap" >&5
7731 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
7732 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
7733 echo $ECHO_N "(cached) $ECHO_C" >&6
7735 if test "$cross_compiling" = yes; then
7736 ac_cv_func_mmap_fixed_mapped
=no
7738 cat >conftest.
$ac_ext <<_ACEOF
7741 cat confdefs.h
>>conftest.
$ac_ext
7742 cat >>conftest.
$ac_ext <<_ACEOF
7743 /* end confdefs.h. */
7744 $ac_includes_default
7745 /* malloc might have been renamed as rpl_malloc. */
7748 /* Thanks to Mike Haertel and Jim Avera for this test.
7749 Here is a matrix of mmap possibilities:
7750 mmap private not fixed
7751 mmap private fixed at somewhere currently unmapped
7752 mmap private fixed at somewhere already mapped
7753 mmap shared not fixed
7754 mmap shared fixed at somewhere currently unmapped
7755 mmap shared fixed at somewhere already mapped
7756 For private mappings, we should verify that changes cannot be read()
7757 back from the file, nor mmap's back from the file at a different
7758 address. (There have been systems where private was not correctly
7759 implemented like the infamous i386 svr4.0, and systems where the
7760 VM page cache was not coherent with the file system buffer cache
7761 like early versions of FreeBSD and possibly contemporary NetBSD.)
7762 For shared mappings, we should conversely verify that changes get
7763 propagated back to all the places they're supposed to be.
7765 Grep wants private fixed already mapped.
7766 The main things grep needs to know about mmap are:
7767 * does it exist and is it safe to write into the mmap'd area
7768 * how to use it (BSD variants) */
7771 #include <sys/mman.h>
7773 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7777 /* This mess was copied from the GNU getpagesize.h. */
7778 #ifndef HAVE_GETPAGESIZE
7779 /* Assume that all systems that can run configure have sys/param.h. */
7780 # ifndef HAVE_SYS_PARAM_H
7781 # define HAVE_SYS_PARAM_H 1
7784 # ifdef _SC_PAGESIZE
7785 # define getpagesize() sysconf(_SC_PAGESIZE)
7786 # else /* no _SC_PAGESIZE */
7787 # ifdef HAVE_SYS_PARAM_H
7788 # include <sys/param.h>
7789 # ifdef EXEC_PAGESIZE
7790 # define getpagesize() EXEC_PAGESIZE
7791 # else /* no EXEC_PAGESIZE */
7793 # define getpagesize() NBPG * CLSIZE
7796 # endif /* no CLSIZE */
7797 # else /* no NBPG */
7799 # define getpagesize() NBPC
7800 # else /* no NBPC */
7802 # define getpagesize() PAGESIZE
7803 # endif /* PAGESIZE */
7804 # endif /* no NBPC */
7805 # endif /* no NBPG */
7806 # endif /* no EXEC_PAGESIZE */
7807 # else /* no HAVE_SYS_PARAM_H */
7808 # define getpagesize() 8192 /* punt totally */
7809 # endif /* no HAVE_SYS_PARAM_H */
7810 # endif /* no _SC_PAGESIZE */
7812 #endif /* no HAVE_GETPAGESIZE */
7817 char *data, *data2, *data3;
7821 pagesize = getpagesize ();
7823 /* First, make a file with some known garbage in it. */
7824 data = (char *) malloc (pagesize);
7827 for (i = 0; i < pagesize; ++i)
7828 *(data + i) = rand ();
7830 fd = creat ("conftest.mmap", 0600);
7833 if (write (fd, data, pagesize) != pagesize)
7837 /* Next, try to mmap the file at a fixed address which already has
7838 something else allocated at it. If we can, also make sure that
7839 we see the same garbage. */
7840 fd = open ("conftest.mmap", O_RDWR);
7843 data2 = (char *) malloc (2 * pagesize);
7846 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
7847 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7848 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7850 for (i = 0; i < pagesize; ++i)
7851 if (*(data + i) != *(data2 + i))
7854 /* Finally, make sure that changes to the mapped area do not
7855 percolate back to the file as seen by read(). (This is a bug on
7856 some variants of i386 svr4.0.) */
7857 for (i = 0; i < pagesize; ++i)
7858 *(data2 + i) = *(data2 + i) + 1;
7859 data3 = (char *) malloc (pagesize);
7862 if (read (fd, data3, pagesize) != pagesize)
7864 for (i = 0; i < pagesize; ++i)
7865 if (*(data + i) != *(data3 + i))
7871 rm -f conftest
$ac_exeext
7872 if { (ac_try
="$ac_link"
7874 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7875 *) ac_try_echo=$ac_try;;
7877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7878 (eval "$ac_link") 2>&5
7880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7881 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7882 { (case "(($ac_try" in
7883 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7884 *) ac_try_echo
=$ac_try;;
7886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7887 (eval "$ac_try") 2>&5
7889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7890 (exit $ac_status); }; }; then
7891 ac_cv_func_mmap_fixed_mapped
=yes
7893 echo "$as_me: program exited with status $ac_status" >&5
7894 echo "$as_me: failed program was:" >&5
7895 sed 's/^/| /' conftest.
$ac_ext >&5
7898 ac_cv_func_mmap_fixed_mapped
=no
7900 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7905 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
7906 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
7907 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7909 cat >>confdefs.h
<<\_ACEOF
7919 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7920 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7921 aros_config_ldflags
=""
7923 aros_shared_default
=yes
7925 aros_shared_cflags
="-fPIC"
7926 aros_shared_aflags
=""
7927 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7928 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7930 aros_target_ar_flags
="cr"
7931 aros_target_nm_flags
="-C -ul"
7932 aros_target_strip_flags
="--strip-unneeded -R.comment"
7937 aros_target_genmap
="-Wl,-Map -Xlinker"
7939 # Native flavour stuff
7940 aros_serial_debug
="0"
7942 # Palm native flavour stuff
7943 aros_palm_debug_hack
="0"
7945 # Unix flavour stuff
7946 aros_nesting_supervisor
="0"
7948 # Collect-aros stuff: "-ius" to ignore undefined symbols
7949 ignore_undefined_symbols
=""
7951 #-----------------------------------------------------------------------------
7954 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7955 # it switched on by default, and we use the host compiler, so it compiles AROS
7956 # code with this enabled resulting in link failures as we don't have support
7959 # We use two methods to disable it. For the host compiler (used to compile
7960 # some hosted modules), we test to see if the compiler supports stack
7961 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7962 # work on all platforms.
7964 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
7965 # (this is done unconditionally, as it should have no effect on compilers
7966 # without the stack protection feature). This may be specific to the way that
7967 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
7968 # strong enough to disable it in a generic way though, so we'll live with it
7969 # until another vendor ships GCC with it enabled in a different way, and deal
7973 { echo "$as_me:$LINENO: checking whether ${CC} accepts -fno-stack-protector" >&5
7974 echo $ECHO_N "checking whether ${CC} accepts -fno-stack-protector... $ECHO_C" >&6; }
7975 save_cflags
="$CFLAGS"
7976 CFLAGS
="$CFLAGS -fno-stack-protector"
7977 cat >conftest.
$ac_ext <<_ACEOF
7980 cat confdefs.h
>>conftest.
$ac_ext
7981 cat >>conftest.
$ac_ext <<_ACEOF
7982 /* end confdefs.h. */
7992 rm -f conftest.
$ac_objext
7993 if { (ac_try
="$ac_compile"
7995 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7996 *) ac_try_echo=$ac_try;;
7998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7999 (eval "$ac_compile") 2>conftest.er1
8001 grep -v '^ *+' conftest.er1 >conftest.err
8003 cat conftest.err >&5
8004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8005 (exit $ac_status); } && {
8006 test -z "$ac_c_werror_flag" ||
8007 test ! -s conftest.err
8008 } && test -s conftest.$ac_objext; then
8009 use_no_stack_protector="yes"
8011 echo "$as_me: failed program was:" >&5
8012 sed 's/^/| /' conftest.$ac_ext >&5
8014 use_no_stack_protector="no"
8017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8018 { echo "$as_me:$LINENO: result: $use_no_stack_protector" >&5
8019 echo "${ECHO_T}$use_no_stack_protector" >&6; }
8020 if test "x-$use_no_stack_protector" = "x-yes" ; then
8021 aros_host_cflags="$aros_host_cflags -fno-stack-protector"
8023 CFLAGS="$save_cflags"
8025 #-----------------------------------------------------------------------------
8027 # Disable pointer-signedness warnings if the compiler recognises the option
8028 # (this only works for the host compiler at the moment)
8030 { echo "$as_me:$LINENO: checking whether ${CC} accepts -Wno-pointer-sign" >&5
8031 echo $ECHO_N "checking whether ${CC} accepts -Wno-pointer-sign... $ECHO_C" >&6; }
8032 save_cflags="$CFLAGS"
8033 CFLAGS="$CFLAGS -Wno-pointer-sign"
8034 cat >conftest.$ac_ext <<_ACEOF
8037 cat confdefs.h >>conftest.$ac_ext
8038 cat >>conftest.$ac_ext <<_ACEOF
8039 /* end confdefs.h. */
8049 rm -f conftest.$ac_objext
8050 if { (ac_try="$ac_compile"
8052 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8053 *) ac_try_echo
=$ac_try;;
8055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8056 (eval "$ac_compile") 2>conftest.er1
8058 grep -v '^ *+' conftest.er1
>conftest.err
8060 cat conftest.err
>&5
8061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8062 (exit $ac_status); } && {
8063 test -z "$ac_c_werror_flag" ||
8064 test ! -s conftest.err
8065 } && test -s conftest.
$ac_objext; then
8066 use_no_sign_warning
="yes"
8068 echo "$as_me: failed program was:" >&5
8069 sed 's/^/| /' conftest.
$ac_ext >&5
8071 use_no_sign_warning
="no"
8074 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8075 { echo "$as_me:$LINENO: result: $use_no_sign_warning" >&5
8076 echo "${ECHO_T}$use_no_sign_warning" >&6; }
8077 if test "x-$use_no_sign_warning" = "x-yes" ; then
8078 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
8080 CFLAGS
="$save_cflags"
8082 #-----------------------------------------------------------------------------
8084 { echo "$as_me:$LINENO: checking for type of build" >&5
8085 echo $ECHO_N "checking for type of build... $ECHO_C" >&6; }
8086 # Check whether --enable-build_type was given.
8087 if test "${enable_build_type+set}" = set; then
8088 enableval
=$enable_build_type; build_type
=$enableval
8090 build_type
="personal"
8094 if test "$build_type" = "nightly"; then
8095 build_type_string
="NIGHTLY"
8096 elif test "$build_type" = "snapshot"; then
8097 build_type_string
="SNAPSHOT"
8098 elif test "$build_type" = "milestone"; then
8099 build_type_string
="MILESTONE"
8100 elif test "$build_type" = "release"; then
8101 build_type_string
="RELEASE"
8103 build_type_string
="PERSONAL"
8104 build_type
="personal"
8107 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
8109 { echo "$as_me:$LINENO: result: $build_type" >&5
8110 echo "${ECHO_T}$build_type" >&6; }
8112 #-----------------------------------------------------------------------------
8113 all_debug_types
="messages stack modules mungwall symbols"
8115 { echo "$as_me:$LINENO: checking which debug types to enable" >&5
8116 echo $ECHO_N "checking which debug types to enable... $ECHO_C" >&6; }
8117 # Check whether --enable-debug was given.
8118 if test "${enable_debug+set}" = set; then
8119 enableval
=$enable_debug; debug
="$enableval"
8125 if test "$debug" = "" -o "$debug" = "no"; then
8127 elif test "$debug" = "yes"; then
8131 if test "$debug" = "all" ; then
8132 debug
="messages stack modules symbols"
8133 for d
in $all_debug_types; do
8134 export aros_
${d}_debug
="1"
8137 for d
in $all_debug_types; do
8138 export aros_
${d}_debug
="0"
8142 if test "$debug" != "none"; then
8143 debug
=`echo $debug | sed s/,/\ /g`
8146 for d2
in $all_debug_types; do
8147 if test "$d2" = "$d"; then
8152 if test "$found" = "0"; then
8153 { { echo "$as_me:$LINENO: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&5
8154 echo "$as_me: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&2;}
8155 { (exit 1); exit 1; }; }
8157 export aros_
${d}_debug
="1"
8161 { echo "$as_me:$LINENO: result: $debug" >&5
8162 echo "${ECHO_T}$debug" >&6; }
8164 if test "$aros_messages_debug" = "1"; then
8165 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
8167 aros_messages_debug
=""
8169 if test "$aros_symbols_debug" = "1"; then
8170 aros_symbols_debug
="-g"
8172 aros_symbols_debug
=""
8175 # These are the flags to pass when compiling debugged programs
8176 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8177 aros_debug_aflags
=""
8178 aros_debug_ldflags
="$aros_symbols_debug"
8180 aros_crosstools
="no"
8182 #-----------------------------------------------------------------------------
8183 # Checking if we should build crosstools..
8184 { echo "$as_me:$LINENO: checking whether to build crosstools" >&5
8185 echo $ECHO_N "checking whether to build crosstools... $ECHO_C" >&6; }
8186 # Check whether --enable-crosstools was given.
8187 if test "${enable_crosstools+set}" = set; then
8188 enableval
=$enable_crosstools; crosstools
="$enableval"
8193 if test "$crosstools" != "" -a "$crosstools" != "no"; then
8194 { echo "$as_me:$LINENO: result: yes" >&5
8195 echo "${ECHO_T}yes" >&6; }
8196 aros_crosstools
="yes"
8198 { echo "$as_me:$LINENO: result: no" >&5
8199 echo "${ECHO_T}no" >&6; }
8202 #-----------------------------------------------------------------------------
8203 # Checking for distcc and ccache.
8205 # Always apply the transforms in this particular order. Basically you should
8206 # always run 'ccache distcc compiler' in that order for the best performance.
8208 { echo "$as_me:$LINENO: checking whether to enable distcc" >&5
8209 echo $ECHO_N "checking whether to enable distcc... $ECHO_C" >&6; }
8210 # Check whether --enable-distcc was given.
8211 if test "${enable_distcc+set}" = set; then
8212 enableval
=$enable_distcc; distcc
="$enableval"
8217 if test "$distcc" != "" -a "$distcc" != "no"; then
8218 # AC_CHECK_PROG will print out the result in this case
8219 # Extract the first word of "distcc", so it can be a program name with args.
8220 set dummy distcc
; ac_word
=$2
8221 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8223 if test "${ac_cv_path_DISTCC+set}" = set; then
8224 echo $ECHO_N "(cached) $ECHO_C" >&6
8228 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
8231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8235 test -z "$as_dir" && as_dir
=.
8236 for ac_exec_ext
in '' $ac_executable_extensions; do
8237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8238 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
8239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8246 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
8250 DISTCC
=$ac_cv_path_DISTCC
8251 if test -n "$DISTCC"; then
8252 { echo "$as_me:$LINENO: result: $DISTCC" >&5
8253 echo "${ECHO_T}$DISTCC" >&6; }
8255 { echo "$as_me:$LINENO: result: no" >&5
8256 echo "${ECHO_T}no" >&6; }
8261 { echo "$as_me:$LINENO: result: no" >&5
8262 echo "${ECHO_T}no" >&6; }
8265 { echo "$as_me:$LINENO: checking whether to enable ccache" >&5
8266 echo $ECHO_N "checking whether to enable ccache... $ECHO_C" >&6; }
8267 # Check whether --enable-ccache was given.
8268 if test "${enable_ccache+set}" = set; then
8269 enableval
=$enable_ccache; ccache
="$enableval"
8274 if test "$ccache" != "" -a "$ccache" != "no"; then
8275 # AC_CHECK_PROG will print out the result in this case
8276 # Extract the first word of "ccache", so it can be a program name with args.
8277 set dummy ccache
; ac_word
=$2
8278 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8280 if test "${ac_cv_prog_CCACHE+set}" = set; then
8281 echo $ECHO_N "(cached) $ECHO_C" >&6
8283 if test -n "$CCACHE"; then
8284 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
8286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8290 test -z "$as_dir" && as_dir
=.
8291 for ac_exec_ext
in '' $ac_executable_extensions; do
8292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8293 ac_cv_prog_CCACHE
="ccache"
8294 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8303 CCACHE
=$ac_cv_prog_CCACHE
8304 if test -n "$CCACHE"; then
8305 { echo "$as_me:$LINENO: result: $CCACHE" >&5
8306 echo "${ECHO_T}$CCACHE" >&6; }
8308 { echo "$as_me:$LINENO: result: no" >&5
8309 echo "${ECHO_T}no" >&6; }
8314 { echo "$as_me:$LINENO: result: no" >&5
8315 echo "${ECHO_T}no" >&6; }
8318 #-----------------------------------------------------------------------------
8319 { echo "$as_me:$LINENO: checking what optimization flags to use" >&5
8320 echo $ECHO_N "checking what optimization flags to use... $ECHO_C" >&6; }
8322 # Check whether --with-optimization was given.
8323 if test "${with_optimization+set}" = set; then
8324 withval
=$with_optimization; optimization
="$withval"
8326 optimization
="unknown"
8329 if test "$optimization" = "unknown"; then
8330 if test "$debug" != "none"; then
8336 aros_config_cflags
="$aros_config_cflags $optimization"
8337 { echo "$as_me:$LINENO: result: $optimization" >&5
8338 echo "${ECHO_T}$optimization" >&6; }
8340 #-----------------------------------------------------------------------------
8341 { echo "$as_me:$LINENO: checking what target variant to enable" >&5
8342 echo $ECHO_N "checking what target variant to enable... $ECHO_C" >&6; }
8343 # Check whether --enable-target_variant was given.
8344 if test "${enable_target_variant+set}" = set; then
8345 enableval
=$enable_target_variant; target_variant
=$enableval
8347 target_variant
="none"
8350 if test "$target_variant" = "none"; then
8351 aros_target_variant
=""
8352 aros_target_suffix
=""
8354 aros_target_variant
="$target_variant"
8355 aros_target_suffix
="-$target_variant"
8357 { echo "$as_me:$LINENO: result: $enableval" >&5
8358 echo "${ECHO_T}$enableval" >&6; }
8360 target_bootloader
="none"
8362 #-----------------------------------------------------------------------------
8363 # This is the target configuration switch.
8364 case "$target_os" in
8366 aros_target_arch
="linux"
8367 case "$target_cpu" in
8369 aros_target_cpu
="m68k"
8370 aros_object_format
="m68kelf"
8371 aros_flavour
="emulcompat"
8372 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
8373 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
8374 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
8375 gcc_target_cpu
="mc68000"
8378 aros_target_cpu
="i386"
8379 aros_object_format
="elf_i386"
8380 aros_flavour
="emulation"
8381 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
8382 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
8383 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
8384 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
8385 aros_config_ldflags
="-m32 -march=i486"
8386 aros_kernel_ldflags
="-melf_i386"
8387 aros_default_wbdepth
=8
8388 gcc_target_cpu
="i386"
8391 aros_target_cpu
="x86_64"
8392 aros_object_format
="elf_x86_64"
8393 aros_flavour
="emulation"
8394 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
8395 aros_config_cflags
="$aros_config_cflags -mno-red-zone"
8396 aros_default_wbdepth
=8
8397 gcc_target_cpu
="x86_64"
8400 aros_target_cpu
="ppc"
8401 aros_object_format
="elf32ppc"
8402 aros_flavour
="emulation"
8403 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8404 aros_default_wbdepth
=8
8405 gcc_target_cpu
="ppc"
8408 # Same as powerpc, but I need this for the nightly build to work again.
8409 # Actually, the nightly should be made working with powerpc target.
8410 # That just was too much work for the moment, another week or two.
8412 aros_target_cpu
="ppc"
8413 aros_object_format
="elf32ppc"
8414 aros_flavour
="emulation"
8415 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8416 aros_default_wbdepth
=8
8417 gcc_target_cpu
="ppc"
8420 aros_target_cpu
="arm"
8421 aros_object_format
="armelf_linux_eabi"
8422 aros_flavour
="emulation"
8423 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8424 gcc_target_cpu
="arm"
8425 aros_config_cflags
="$aros_config_cflags -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
8426 aros_config_aflags
="$aros_config_aflags -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
8429 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Linux -- $target_cpu\"" >&5
8430 echo "$as_me: error: \"Unknown CPU for Linux -- $target_cpu\"" >&2;}
8431 { (exit 1); exit 1; }; }
8437 aros_target_arch
="pc"
8438 aros_shared_default
="no"
8439 target_bootloader
="grub2"
8440 case "$target_cpu" in
8442 aros_target_cpu
="i386"
8445 if test "$aros_object_format" = "" ; then
8446 aros_object_format
="elf_i386"
8448 aros_flavour
="standalone"
8449 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8450 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
8451 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
8452 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
8453 aros_config_ldflags
="-m32 -march=i486"
8454 aros_kernel_ldflags
="-melf_i386"
8455 aros_default_wbwidth
=640
8456 aros_default_wbheight
=480
8457 gcc_target_cpu
="i386"
8460 aros_target_cpu
="x86_64"
8462 if test "$aros_object_format" = "" ; then
8463 aros_object_format
="elf_x86_64"
8465 aros_flavour
="standalone"
8466 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8467 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone"
8468 aros_kernel_ldflags
=""
8469 aros_default_wbwidth
=640
8470 aros_default_wbheight
=480
8471 gcc_target_cpu
="x86_64"
8474 { { echo "$as_me:$LINENO: error: \"Unknown native CPU -- $target_cpu\"" >&5
8475 echo "$as_me: error: \"Unknown native CPU -- $target_cpu\"" >&2;}
8476 { (exit 1); exit 1; }; }
8482 aros_target_arch
="prep"
8483 aros_shared_default
="no"
8484 aros_target_cpu
="ppc"
8485 aros_object_format
="elf32ppc"
8486 aros_flavour
="ppcnative"
8487 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8488 aros_kernel_ldflags
=""
8489 aros_default_wbwidth
=640
8490 aros_default_wbheight
=480
8491 gcc_target_cpu
="ppc"
8495 aros_target_arch
="freebsd"
8496 aros_target_cpu
="i386"
8497 aros_flavour
="emulation"
8498 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8499 gcc_target_cpu
="i386"
8501 aros_target_strip_flags
="-x"
8505 aros_target_arch
="darwin"
8506 aros_flavour
="emulation"
8507 case "$target_cpu" in
8509 aros_target_cpu
="i386"
8510 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8511 aros_kernel_cflags
="$aros_kernel_cflags -m32"
8512 aros_kernel_ldflags
="$aros_kernel_ldflags -m32"
8513 aros_default_wbdepth
=8
8514 gcc_target_cpu
="i386"
8515 aros_object_format
="elf_i386"
8516 aros_target_strip_flags
="-x"
8517 aros_target_cc
="i386-aros-gcc"
8518 aros_target_cxx
="i386-aros-g++"
8519 aros_target_ld
="i386-aros-ld"
8520 aros_target_as
="i386-aros-as"
8521 aros_target_ar
="i386-aros-ar"
8522 aros_target_ranlib
="i386-aros-ranlib"
8523 aros_target_nm
="i386-aros-nm"
8524 aros_target_strip
="i386-aros-strip"
8525 aros_target_objcopy
="i386-aros-objcopy"
8526 aros_target_objdump
="i386-aros-objdump"
8527 target_tool_prefix
="i686-apple-darwin10-"
8530 aros_target_cpu
="x86_64"
8531 aros_object_format
="elf_x86_64"
8532 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8533 aros_kernel_cflags
="$aros_kernel_cflags -m64"
8534 aros_kernel_ldflags
="$aros_kernel_ldflags -m64"
8535 aros_default_wbdepth
=8
8536 gcc_target_cpu
="x86_64"
8537 aros_target_cc
="x86_64-aros-gcc"
8538 aros_target_cxx
="x86_64-aros-g++"
8539 aros_target_ld
="x86_64-aros-ld"
8540 aros_target_as
="x86_64-aros-as"
8541 aros_target_ar
="x86_64-aros-ar"
8542 aros_target_ranlib
="x86_64-aros-ranlib"
8543 aros_target_nm
="x86_64-aros-nm"
8544 aros_target_strip
="x86_64-aros-strip"
8545 aros_target_objcopy
="x86_64-aros-objcopy"
8546 aros_target_objdump
="x86_64-aros-objdump"
8547 target_tool_prefix
="i686-apple-darwin10-"
8550 aros_target_cpu
="ppc"
8551 aros_object_format
="elf32_ppc"
8552 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8553 aros_default_wbdepth
=8
8554 gcc_target_cpu
="ppc"
8555 aros_target_cc
="ppc-aros-gcc"
8556 aros_target_cxx
="ppc-aros-g++"
8557 aros_target_ld
="ppc-aros-ld"
8558 aros_target_as
="ppc-aros-as"
8559 aros_target_ar
="ppc-aros-ar"
8560 aros_target_ranlib
="ppc-aros-ranlib"
8561 aros_target_nm
="ppc-aros-nm"
8562 aros_target_strip
="ppc-aros-strip"
8563 aros_target_objcopy
="ppc-aros-objcopy"
8564 aros_target_objdump
="ppc-aros-objdump"
8565 target_tool_prefix
="powerpc-apple-darwin10-"
8568 { { echo "$as_me:$LINENO: error: \"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" >&5
8569 echo "$as_me: error: \"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" >&2;}
8570 { (exit 1); exit 1; }; }
8576 # TODO: these should be specified with arguments: --with-xcode, --with-ios-version, --with-ios-sdk
8577 aros_xcode_path
="/Developer"
8578 aros_ios_version
="2.0"
8581 aros_target_arch
="ios"
8582 aros_flavour
="emulation"
8583 # This is here because it may depend on iOS or SDK version
8584 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
8585 case "$target_cpu" in
8587 aros_ios_platform
="iPhoneSimulator"
8588 aros_target_cpu
="i386"
8589 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8590 aros_kernel_cflags
="$aros_kernel_cflags -m32"
8591 aros_kernel_ldflags
="-m32"
8592 aros_default_wbdepth
=8
8593 gcc_target_cpu
="i386"
8594 aros_object_format
="elf_i386"
8595 aros_target_strip_flags
="-x"
8596 aros_target_cc
="i386-aros-gcc"
8597 aros_target_cxx
="i386-aros-g++"
8598 aros_target_ld
="i386-aros-ld"
8599 aros_target_as
="i386-aros-as"
8600 aros_target_ar
="i386-aros-ar"
8601 aros_target_ranlib
="i386-aros-ranlib"
8602 aros_target_nm
="i386-aros-nm"
8603 aros_target_strip
="i386-aros-strip"
8604 aros_target_objcopy
="i386-aros-objcopy"
8605 aros_target_objdump
="i386-aros-objdump"
8606 target_tool_prefix
="i686-apple-darwin10-"
8609 { { echo "$as_me:$LINENO: error: \"Unsupported target CPU for iOS hosted flavour -- $target_cpu\"" >&5
8610 echo "$as_me: error: \"Unsupported target CPU for iOS hosted flavour -- $target_cpu\"" >&2;}
8611 { (exit 1); exit 1; }; }
8617 aros_target_arch
="dragonfly"
8618 aros_flavour
="emulation"
8619 case "$target_cpu" in
8621 aros_target_cpu
="i386"
8622 aros_object_format
="elf_i386"
8623 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
8626 aros_target_cpu
="x86_64"
8627 aros_object_format
="elf_x86_64"
8628 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
8631 { { echo "$as_me:$LINENO: error: \"Unknown CPU for DragonFly -- $target_cpu\"" >&5
8632 echo "$as_me: error: \"Unknown CPU for DragonFly -- $target_cpu\"" >&2;}
8633 { (exit 1); exit 1; }; }
8639 aros_target_arch
="netbsd"
8640 case "$target_cpu" in
8642 aros_target_cpu
="m68k"
8643 aros_object_format
="m68kelf"
8644 aros_flavour
="emulcompat"
8645 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8646 gcc_target_cpu
="mc68000"
8649 aros_target_cpu
="i386"
8650 aros_object_format
="elf_i386"
8651 aros_flavour
="emulation"
8652 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8653 aros_default_wbdepth
=8
8654 gcc_target_cpu
="i386"
8657 { { echo "$as_me:$LINENO: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&5
8658 echo "$as_me: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&2;}
8659 { (exit 1); exit 1; }; }
8662 aros_target_genmap
="-Wl,-M -Xlinker >"
8663 aros_flavour
="emulation"
8664 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8668 aros_target_arch
="openbsd"
8669 case "$target_cpu" in
8671 aros_target_cpu
="i386"
8672 aros_object_format
="elf_i386"
8673 aros_flavour
="emulation"
8674 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8675 gcc_target_cpu
="i386"
8678 { { echo "$as_me:$LINENO: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&5
8679 echo "$as_me: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&2;}
8680 { (exit 1); exit 1; }; }
8683 aros_target_genmap
="-Wl,-M -Xlinker >"
8684 aros_target_nm_flags
="-u"
8685 aros_flavour
="emulation"
8689 aros_target_arch
="solaris"
8690 case "$target_cpu" in
8692 aros_target_cpu
="i386"
8693 aros_object_format
="elf_i386"
8694 aros_flavour
="emulation"
8695 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8696 aros_default_wbdepth
=8
8697 gcc_target_cpu
="i386"
8700 aros_target_cpu
="sparc"
8701 aros_object_format
="elf_sparc"
8702 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8703 gcc_target_cpu
="sparc"
8706 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&5
8707 echo "$as_me: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&2;}
8708 { (exit 1); exit 1; }; }
8711 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8712 aros_flavour
="emulation"
8716 aros_target_arch
="morphos"
8717 aros_shared_default
="no"
8718 aros_target_cpu
="ppc"
8719 aros_object_format
="elf_ppc"
8720 aros_flavour
="nativecompat"
8721 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8722 gcc_target_cpu
="ppc"
8726 aros_target_arch
="sam440"
8727 aros_shared_default
="no"
8728 aros_target_cpu
="ppc"
8729 aros_object_format
="elf32ppc"
8730 aros_flavour
="ppcnative"
8731 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8732 aros_kernel_ldflags
=""
8733 aros_default_wbwidth
=1024
8734 aros_default_wbheight
=768
8735 aros_default_wbdepth
=24
8736 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8737 gcc_target_cpu
="powerpc"
8741 aros_target_arch
="efika"
8742 aros_shared_default
="no"
8743 aros_target_cpu
="arm"
8744 aros_object_format
="armelf_linux_eabi"
8745 aros_flavour
="standalone"
8746 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8747 aros_kernel_ldflags
=""
8748 aros_default_wbwidth
=1024
8749 aros_default_wbheight
=600
8750 aros_arch_libs
="-laeabi"
8751 aros_config_cflags
="$aros_config_cflags -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
8752 aros_config_aflags
="$aros_config_aflags -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
8756 aros_target_arch
="chrp"
8757 aros_shared_default
="no"
8758 aros_target_cpu
="ppc"
8759 aros_object_format
="elf32ppc"
8760 aros_flavour
="ppcnative"
8761 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8762 aros_kernel_ldflags
=""
8763 aros_default_wbwidth
=640
8764 aros_default_wbheight
=480
8765 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
8766 gcc_target_cpu
="powerpc"
8767 case "$aros_target_variant" in
8769 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
8775 aros_target_arch
="amiga"
8776 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8777 aros_shared_default
="no"
8779 aros_config_cflags
="$aros_config_cflags -fomit-frame-pointer -fbuiltin -ffreestanding"
8781 case "$target_cpu" in
8783 aros_target_cpu
="m68k"
8784 aros_object_format
="m68kelf"
8785 aros_flavour
="nativecompat"
8786 gcc_target_cpu
="mc68000"
8790 aros_flavour
="native"
8791 gcc_target_cpu
="ppc"
8794 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Amiga $target_cpu\"" >&5
8795 echo "$as_me: error: \"Unknown CPU for Amiga $target_cpu\"" >&2;}
8796 { (exit 1); exit 1; }; }
8802 aros_target_arch
="mingw32"
8803 aros_shared_default
="no"
8804 aros_flavour
="emulation"
8805 aros_shared_cflags
=""
8808 case "$target_cpu" in
8810 aros_target_cpu
="i386"
8811 aros_object_format
="elf_i386"
8812 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8813 aros_default_wbdepth
=8
8814 gcc_target_cpu
="i386"
8815 aros_target_cc
="i386-aros-gcc"
8816 aros_target_cxx
="i386-aros-g++"
8817 aros_target_ld
="i386-aros-ld"
8818 aros_target_as
="i386-aros-as"
8819 aros_target_ar
="i386-aros-ar"
8820 aros_target_ranlib
="i386-aros-ranlib"
8821 aros_target_nm
="i386-aros-nm"
8822 aros_target_strip
="i386-aros-strip"
8823 aros_target_objcopy
="i386-aros-objcopy"
8824 aros_target_objdump
="i386-aros-objdump"
8825 target_tool_prefix
="i386-mingw32-"
8828 aros_target_cpu
="x86_64"
8829 aros_object_format
="elf_x86_64"
8830 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8831 aros_default_wbdepth
=8
8832 gcc_target_cpu
="x86_64"
8833 aros_target_cc
="x86_64-aros-gcc"
8834 aros_target_cxx
="x86_64-aros-g++"
8835 aros_target_ld
="x86_64-aros-ld"
8836 aros_target_as
="x86_64-aros-as"
8837 aros_target_ar
="x86_64-aros-ar"
8838 aros_target_ranlib
="x86_64-aros-ranlib"
8839 aros_target_nm
="x86_64-aros-nm"
8840 aros_target_strip
="x86_64-aros-strip"
8841 aros_target_objcopy
="x86_64-aros-objcopy"
8842 aros_target_objdump
="x86_64-aros-objdump"
8843 target_tool_prefix
="x86_64-w64-mingw32-"
8846 aros_target_cpu
="arm"
8847 aros_object_format
="armelf_linux_eabi"
8848 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8849 aros_default_wbdepth
=8
8850 gcc_target_cpu
="arm"
8851 aros_target_cc
="arm-elf-gcc"
8852 aros_target_ld
="arm-elf-ld"
8853 aros_target_as
="arm-elf-as"
8854 aros_target_ar
="arm-elf-ar"
8855 aros_target_ranlib
="arm-elf-ranlib"
8856 aros_target_nm
="arm-elf-nm"
8857 aros_target_strip
="arm-elf-strip"
8858 aros_target_objcopy
="arm-elf-objcopy"
8859 aros_target_objdump
="arm-elf-objdump"
8860 target_tool_prefix
="arm-mingw32ce-"
8861 aros_default_wbwidth
=160
8862 aros_default_wbheight
=160
8865 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Mingw32 -- $target_cpu\"" >&5
8866 echo "$as_me: error: \"Unknown CPU for Mingw32 -- $target_cpu\"" >&2;}
8867 { (exit 1); exit 1; }; }
8870 if test $host_os = "cygwin"; then
8871 aros_kernel_cflags
="-mno-cygwin"
8875 aros_target_arch
="pp"
8876 aros_shared_default
="no"
8877 case "$target_cpu" in
8879 aros_target_cpu
="m68k"
8880 aros_object_format
="m68kelf"
8881 aros_flavour
="palmnative"
8882 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8883 aros_default_wbwidth
=160
8884 aros_default_wbheight
=160
8885 aros_default_wbdepth
=1
8886 aros_target_ar_flags
="cru"
8887 aros_compiler_libs
="-lgcc1"
8888 aros_shared_default
=no
8889 aros_shared_cflags
="-fpic"
8890 aros_shared_aflags
=""
8891 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8892 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8893 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
8894 aros_debug_aflags
=""
8895 aros_debug_ldflags
="$aros_symbols_debug"
8896 aros_mungwall_debug
="0"
8897 aros_modules_debug
="0"
8898 gcc_target_cpu
="mc68000"
8899 ignore_undefined_symbols
="-ius"
8902 { { echo "$as_me:$LINENO: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&5
8903 echo "$as_me: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&2;}
8904 { (exit 1); exit 1; }; }
8910 aros_target_arch
="mac"
8911 aros_shared_default
="no"
8912 case "$target_cpu" in
8914 aros_target_cpu
="m68k"
8915 aros_object_format
="m68kelf"
8916 aros_flavour
="mac68knative"
8917 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8918 aros_default_wbwidth
=512
8919 aros_default_wbheight
=384
8920 aros_default_wbdepth
=8
8921 aros_target_ar_flags
="cru"
8922 aros_compiler_libs
="-lgcc1"
8923 aros_shared_default
=no
8924 aros_shared_cflags
="-fpic"
8925 aros_shared_aflags
=""
8926 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8927 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8928 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000"
8929 aros_debug_aflags
=""
8930 aros_debug_ldflags
="$aros_symbols_debug"
8931 aros_mungwall_debug
="0"
8932 aros_modules_debug
="0"
8933 gcc_target_cpu
="mc68000"
8934 ignore_undefined_symbols
="-ius"
8937 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&5
8938 echo "$as_me: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&2;}
8939 { (exit 1); exit 1; }; }
8945 { { echo "$as_me:$LINENO: error: Unsupported target architecture $target" >&5
8946 echo "$as_me: error: Unsupported target architecture $target" >&2;}
8947 { (exit 1); exit 1; }; }
8951 { echo "$as_me:$LINENO: checking Where to download sourcecode for external ports" >&5
8952 echo $ECHO_N "checking Where to download sourcecode for external ports... $ECHO_C" >&6; }
8954 # Check whether --with-portssources was given.
8955 if test "${with_portssources+set}" = set; then
8956 withval
=$with_portssources; with_portssrcdir
=$withval
8958 with_portssrcdir
="default"
8961 if test "$with_portssrcdir" = "default"; then
8962 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
8964 AROS_PORTSSRCDIR
="$with_portssrcdir"
8966 { echo "$as_me:$LINENO: result: $AROS_PORTSSRCDIR" >&5
8967 echo "${ECHO_T}$AROS_PORTSSRCDIR" >&6; }
8969 { echo "$as_me:$LINENO: checking which bootloader to use" >&5
8970 echo $ECHO_N "checking which bootloader to use... $ECHO_C" >&6; }
8972 # Check whether --with-bootloader was given.
8973 if test "${with_bootloader+set}" = set; then
8974 withval
=$with_bootloader; target_bootloader
=$withval
8976 target_bootloader
=$target_bootloader
8979 if test "$target_bootloader" = "none"; then
8980 aros_target_bootloader
=""
8982 aros_target_bootloader
="$target_bootloader"
8984 { echo "$as_me:$LINENO: result: $target_bootloader" >&5
8985 echo "${ECHO_T}$target_bootloader" >&6; }
8987 { echo "$as_me:$LINENO: checking which icon-set to use" >&5
8988 echo $ECHO_N "checking which icon-set to use... $ECHO_C" >&6; }
8990 # Check whether --with-iconset was given.
8991 if test "${with_iconset+set}" = set; then
8992 withval
=$with_iconset; target_iconset
=$withval
8994 target_iconset
="default"
8997 if test "$target_iconset" = "default"; then
8998 aros_target_iconset
="Gorilla"
8999 target_iconset
="default (Gorilla)"
9001 aros_target_iconset
="$target_iconset"
9003 { echo "$as_me:$LINENO: result: $target_iconset" >&5
9004 echo "${ECHO_T}$target_iconset" >&6; }
9006 { echo "$as_me:$LINENO: checking which GUI Theme to use" >&5
9007 echo $ECHO_N "checking which GUI Theme to use... $ECHO_C" >&6; }
9009 # Check whether --with-theme was given.
9010 if test "${with_theme+set}" = set; then
9011 withval
=$with_theme; target_guitheme
=$withval
9013 target_guitheme
="default"
9016 if test "$target_guitheme" = "default"; then
9017 aros_target_guitheme
="Ice"
9019 aros_target_guitheme
="$target_guitheme"
9021 { echo "$as_me:$LINENO: result: $aros_target_guitheme" >&5
9022 echo "${ECHO_T}$aros_target_guitheme" >&6; }
9024 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
9027 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
9030 if test "$aros_host_cpu" == "x86_64" ; then
9031 if test "$aros_target_cpu" == "i386" ; then
9032 if test "$aros_target_arch" != "mingw32"; then
9038 # Set prefix for target compiler etc. if we're cross-compiling
9039 # (should possibly be earlier but needs to be after AC_PROG_CC)
9040 if test "$cross_compiling" = "yes" ; then
9041 if test "$target_tool_prefix" = ""; then
9042 target_tool_prefix
=${target_cpu}-elf-
9044 CC
=${target_tool_prefix}gcc
9047 #-----------------------------------------------------------------------------
9049 # Disable pointer-signedness warnings if the compiler recognises the option
9051 { echo "$as_me:$LINENO: checking whether ${CC} accepts -Wno-pointer-sign" >&5
9052 echo $ECHO_N "checking whether ${CC} accepts -Wno-pointer-sign... $ECHO_C" >&6; }
9053 save_cflags
="$CFLAGS"
9054 CFLAGS
="$CFLAGS -Wno-pointer-sign"
9055 cat >conftest.
$ac_ext <<_ACEOF
9058 cat confdefs.h
>>conftest.
$ac_ext
9059 cat >>conftest.
$ac_ext <<_ACEOF
9060 /* end confdefs.h. */
9070 rm -f conftest.
$ac_objext
9071 if { (ac_try
="$ac_compile"
9073 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9074 *) ac_try_echo=$ac_try;;
9076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9077 (eval "$ac_compile") 2>conftest.er1
9079 grep -v '^ *+' conftest.er1 >conftest.err
9081 cat conftest.err >&5
9082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9083 (exit $ac_status); } && {
9084 test -z "$ac_c_werror_flag" ||
9085 test ! -s conftest.err
9086 } && test -s conftest.$ac_objext; then
9087 use_no_sign_warning="yes"
9089 echo "$as_me: failed program was:" >&5
9090 sed 's/^/| /' conftest.$ac_ext >&5
9092 use_no_sign_warning="no"
9095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9096 { echo "$as_me:$LINENO: result: $use_no_sign_warning" >&5
9097 echo "${ECHO_T}$use_no_sign_warning" >&6; }
9098 if test "x-$use_no_sign_warning" = "x-yes" ; then
9099 aros_config_cflags="$aros_config_cflags -Wno-pointer-sign"
9101 CFLAGS="$save_cflags"
9103 #-----------------------------------------------------------------------------
9105 # Find all the tools we need to compile. This could be cross-compiling
9106 # though! If that is the case we use the GNU form of the target and
9107 # simply add this to the front of the binary name. This is rather simple,
9108 # but it should work under most circumstances.
9110 # The default tools are to use the same as the host, but only if the
9111 # host and target CPU are the same. With GCC this is normally enough.
9115 aros_shared_ld="$aros_host_ld"
9117 aros_target_mkdep="$aros_host_mkdep"
9118 aros_target_incl_def="$aros_host_incl"
9120 aros_kernel_cc="$CC"
9122 # The default tools executables to be linked to.
9123 if test "$aros_target_cc" != ""; then
9124 # Extract the first word of "$aros_target_cc", so it can be a program name with args.
9125 set dummy $aros_target_cc; ac_word=$2
9126 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9127 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9128 if test "${ac_cv_path_aros_target_cc+set}" = set; then
9129 echo $ECHO_N "(cached) $ECHO_C" >&6
9131 case $aros_target_cc in
9133 ac_cv_path_aros_target_cc="$aros_target_cc" # Let the user override the test with a path.
9136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9140 test -z "$as_dir" && as_dir=.
9141 for ac_exec_ext in '' $ac_executable_extensions; do
9142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9143 ac_cv_path_aros_target_cc="$as_dir/$ac_word$ac_exec_ext"
9144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9154 aros_target_cc=$ac_cv_path_aros_target_cc
9155 if test -n "$aros_target_cc"; then
9156 { echo "$as_me:$LINENO: result: $aros_target_cc" >&5
9157 echo "${ECHO_T}$aros_target_cc" >&6; }
9159 { echo "$as_me:$LINENO: result: no" >&5
9160 echo "${ECHO_T}no" >&6; }
9164 if test "$aros_target_cc" = ""; then
9165 { { echo "$as_me:$LINENO: error: gcc is required to build AROS. Please install and run configure again." >&5
9166 echo "$as_me: error: gcc is required to build AROS. Please install and run configure again." >&2;}
9167 { (exit 1); exit 1; }; }
9170 if test "$aros_target_ld" != ""; then
9171 # Extract the first word of "$aros_target_ld", so it can be a program name with args.
9172 set dummy $aros_target_ld; ac_word=$2
9173 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9174 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9175 if test "${ac_cv_path_aros_target_ld+set}" = set; then
9176 echo $ECHO_N "(cached) $ECHO_C" >&6
9178 case $aros_target_ld in
9180 ac_cv_path_aros_target_ld="$aros_target_ld" # Let the user override the test with a path.
9183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9187 test -z "$as_dir" && as_dir=.
9188 for ac_exec_ext in '' $ac_executable_extensions; do
9189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9190 ac_cv_path_aros_target_ld="$as_dir/$ac_word$ac_exec_ext"
9191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9201 aros_target_ld=$ac_cv_path_aros_target_ld
9202 if test -n "$aros_target_ld"; then
9203 { echo "$as_me:$LINENO: result: $aros_target_ld" >&5
9204 echo "${ECHO_T}$aros_target_ld" >&6; }
9206 { echo "$as_me:$LINENO: result: no" >&5
9207 echo "${ECHO_T}no" >&6; }
9211 if test "$aros_target_ld" = ""; then
9212 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
9213 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
9214 { (exit 1); exit 1; }; }
9218 if test "$crosstools" != "yes"; then
9220 if test "$aros_target_as" = ""; then
9221 if test "$cross_compiling" = "yes" ; then
9222 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
9223 set dummy ${target_tool_prefix}as; 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_target_as_ln+set}" = set; then
9227 echo $ECHO_N "(cached) $ECHO_C" >&6
9229 case $aros_target_as_ln in
9231 ac_cv_path_aros_target_as_ln="$aros_target_as_ln" # 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_target_as_ln="$as_dir/$ac_word$ac_exec_ext"
9242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9252 aros_target_as_ln=$ac_cv_path_aros_target_as_ln
9253 if test -n "$aros_target_as_ln"; then
9254 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9255 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9257 { echo "$as_me:$LINENO: result: no" >&5
9258 echo "${ECHO_T}no" >&6; }
9263 if test "$GCC" = "yes"; then
9264 aros_gcc_as=`$CC -print-prog-name=as
`
9265 # Extract the first word of "`basename $aros_gcc_[as
]`", so it can be a program name with args.
9266 set dummy `basename $aros_gcc_as`; 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_as_ln+set}" = set; then
9270 echo $ECHO_N "(cached) $ECHO_C" >&6
9272 case $aros_target_as_ln in
9274 ac_cv_path_aros_target_as_ln="$aros_target_as_ln" # Let the user override the test with a path.
9277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9278 for as_dir in `dirname $aros_gcc_as`
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_as_ln="$as_dir/$ac_word$ac_exec_ext"
9285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9295 aros_target_as_ln=$ac_cv_path_aros_target_as_ln
9296 if test -n "$aros_target_as_ln"; then
9297 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9298 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9300 { echo "$as_me:$LINENO: result: no" >&5
9301 echo "${ECHO_T}no" >&6; }
9306 if test "$aros_target_as_ln" = ""; then
9307 # Extract the first word of "as", so it can be a program name with args.
9308 set dummy as; ac_word=$2
9309 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9311 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9312 echo $ECHO_N "(cached) $ECHO_C" >&6
9314 case $aros_target_as_ln in
9316 ac_cv_path_aros_target_as_ln="$aros_target_as_ln" # Let the user override the test with a path.
9319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9323 test -z "$as_dir" && as_dir=.
9324 for ac_exec_ext in '' $ac_executable_extensions; do
9325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9326 ac_cv_path_aros_target_as_ln="$as_dir/$ac_word$ac_exec_ext"
9327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9337 aros_target_as_ln=$ac_cv_path_aros_target_as_ln
9338 if test -n "$aros_target_as_ln"; then
9339 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9340 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9342 { echo "$as_me:$LINENO: result: no" >&5
9343 echo "${ECHO_T}no" >&6; }
9350 # Extract the first word of "$aros_target_as", so it can be a program name with args.
9351 set dummy $aros_target_as; ac_word=$2
9352 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9353 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9354 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9355 echo $ECHO_N "(cached) $ECHO_C" >&6
9357 case $aros_target_as_ln in
9359 ac_cv_path_aros_target_as_ln="$aros_target_as_ln" # Let the user override the test with a path.
9362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9366 test -z "$as_dir" && as_dir=.
9367 for ac_exec_ext in '' $ac_executable_extensions; do
9368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9369 ac_cv_path_aros_target_as_ln="$as_dir/$ac_word$ac_exec_ext"
9370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9380 aros_target_as_ln=$ac_cv_path_aros_target_as_ln
9381 if test -n "$aros_target_as_ln"; then
9382 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9383 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9385 { echo "$as_me:$LINENO: result: no" >&5
9386 echo "${ECHO_T}no" >&6; }
9392 if test "$aros_target_as_ln" = ""; then
9393 { { echo "$as_me:$LINENO: error: as is required to build AROS. Please install and run configure again." >&5
9394 echo "$as_me: error: as is required to build AROS. Please install and run configure again." >&2;}
9395 { (exit 1); exit 1; }; }
9398 if test "$aros_kernel_ld" = ""; then
9399 if test "$cross_compiling" = "yes" ; then
9400 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
9401 set dummy ${target_tool_prefix}ld; ac_word=$2
9402 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9404 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9405 echo $ECHO_N "(cached) $ECHO_C" >&6
9407 case $aros_kernel_ld in
9409 ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path.
9412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9416 test -z "$as_dir" && as_dir=.
9417 for ac_exec_ext in '' $ac_executable_extensions; do
9418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9419 ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext"
9420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9430 aros_kernel_ld=$ac_cv_path_aros_kernel_ld
9431 if test -n "$aros_kernel_ld"; then
9432 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9433 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9435 { echo "$as_me:$LINENO: result: no" >&5
9436 echo "${ECHO_T}no" >&6; }
9441 if test "$GCC" = "yes"; then
9442 aros_gcc_ld=`$CC -print-prog-name=ld
`
9443 # Extract the first word of "`basename $aros_gcc_[ld
]`", so it can be a program name with args.
9444 set dummy `basename $aros_gcc_ld`; ac_word=$2
9445 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9447 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9448 echo $ECHO_N "(cached) $ECHO_C" >&6
9450 case $aros_kernel_ld in
9452 ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path.
9455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9456 for as_dir in `dirname $aros_gcc_ld`
9459 test -z "$as_dir" && as_dir=.
9460 for ac_exec_ext in '' $ac_executable_extensions; do
9461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9462 ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext"
9463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9473 aros_kernel_ld=$ac_cv_path_aros_kernel_ld
9474 if test -n "$aros_kernel_ld"; then
9475 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9476 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9478 { echo "$as_me:$LINENO: result: no" >&5
9479 echo "${ECHO_T}no" >&6; }
9484 if test "$aros_kernel_ld" = ""; then
9485 # Extract the first word of "ld", so it can be a program name with args.
9486 set dummy ld; ac_word=$2
9487 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9489 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9490 echo $ECHO_N "(cached) $ECHO_C" >&6
9492 case $aros_kernel_ld in
9494 ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path.
9497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9501 test -z "$as_dir" && as_dir=.
9502 for ac_exec_ext in '' $ac_executable_extensions; do
9503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9504 ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext"
9505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9515 aros_kernel_ld=$ac_cv_path_aros_kernel_ld
9516 if test -n "$aros_kernel_ld"; then
9517 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9518 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9520 { echo "$as_me:$LINENO: result: no" >&5
9521 echo "${ECHO_T}no" >&6; }
9528 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
9529 set dummy $aros_kernel_ld; ac_word=$2
9530 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9532 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9533 echo $ECHO_N "(cached) $ECHO_C" >&6
9535 case $aros_kernel_ld in
9537 ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path.
9540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9544 test -z "$as_dir" && as_dir=.
9545 for ac_exec_ext in '' $ac_executable_extensions; do
9546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9547 ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext"
9548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9558 aros_kernel_ld=$ac_cv_path_aros_kernel_ld
9559 if test -n "$aros_kernel_ld"; then
9560 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9561 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9563 { echo "$as_me:$LINENO: result: no" >&5
9564 echo "${ECHO_T}no" >&6; }
9570 if test "$aros_kernel_ld" = ""; then
9571 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
9572 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
9573 { (exit 1); exit 1; }; }
9576 if test "$aros_target_ar" = ""; then
9577 if test "$cross_compiling" = "yes" ; then
9578 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
9579 set dummy ${target_tool_prefix}ar; ac_word=$2
9580 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9582 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9583 echo $ECHO_N "(cached) $ECHO_C" >&6
9585 case $aros_target_ar_ln in
9587 ac_cv_path_aros_target_ar_ln="$aros_target_ar_ln" # Let the user override the test with a path.
9590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9594 test -z "$as_dir" && as_dir=.
9595 for ac_exec_ext in '' $ac_executable_extensions; do
9596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9597 ac_cv_path_aros_target_ar_ln="$as_dir/$ac_word$ac_exec_ext"
9598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9608 aros_target_ar_ln=$ac_cv_path_aros_target_ar_ln
9609 if test -n "$aros_target_ar_ln"; then
9610 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9611 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9613 { echo "$as_me:$LINENO: result: no" >&5
9614 echo "${ECHO_T}no" >&6; }
9619 if test "$GCC" = "yes"; then
9620 aros_gcc_ar=`$CC -print-prog-name=ar`
9621 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9622 set dummy `basename $aros_gcc_ar`; ac_word=$2
9623 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9624 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9625 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9626 echo $ECHO_N "(cached) $ECHO_C" >&6
9628 case $aros_target_ar_ln in
9630 ac_cv_path_aros_target_ar_ln="$aros_target_ar_ln" # Let the user override the test with a path.
9633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9634 for as_dir in `dirname $aros_gcc_ar`
9637 test -z "$as_dir" && as_dir=.
9638 for ac_exec_ext in '' $ac_executable_extensions; do
9639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9640 ac_cv_path_aros_target_ar_ln="$as_dir/$ac_word$ac_exec_ext"
9641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9651 aros_target_ar_ln=$ac_cv_path_aros_target_ar_ln
9652 if test -n "$aros_target_ar_ln"; then
9653 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9654 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9656 { echo "$as_me:$LINENO: result: no" >&5
9657 echo "${ECHO_T}no" >&6; }
9662 if test "$aros_target_ar_ln" = ""; then
9663 # Extract the first word of "ar", so it can be a program name with args.
9664 set dummy ar; ac_word=$2
9665 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9667 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9668 echo $ECHO_N "(cached) $ECHO_C" >&6
9670 case $aros_target_ar_ln in
9672 ac_cv_path_aros_target_ar_ln="$aros_target_ar_ln" # Let the user override the test with a path.
9675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9679 test -z "$as_dir" && as_dir=.
9680 for ac_exec_ext in '' $ac_executable_extensions; do
9681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9682 ac_cv_path_aros_target_ar_ln="$as_dir/$ac_word$ac_exec_ext"
9683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9693 aros_target_ar_ln=$ac_cv_path_aros_target_ar_ln
9694 if test -n "$aros_target_ar_ln"; then
9695 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9696 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9698 { echo "$as_me:$LINENO: result: no" >&5
9699 echo "${ECHO_T}no" >&6; }
9706 # Extract the first word of "$aros_target_ar", so it can be a program name with args.
9707 set dummy $aros_target_ar; ac_word=$2
9708 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9710 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9711 echo $ECHO_N "(cached) $ECHO_C" >&6
9713 case $aros_target_ar_ln in
9715 ac_cv_path_aros_target_ar_ln="$aros_target_ar_ln" # Let the user override the test with a path.
9718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9722 test -z "$as_dir" && as_dir=.
9723 for ac_exec_ext in '' $ac_executable_extensions; do
9724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9725 ac_cv_path_aros_target_ar_ln="$as_dir/$ac_word$ac_exec_ext"
9726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9736 aros_target_ar_ln=$ac_cv_path_aros_target_ar_ln
9737 if test -n "$aros_target_ar_ln"; then
9738 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9739 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9741 { echo "$as_me:$LINENO: result: no" >&5
9742 echo "${ECHO_T}no" >&6; }
9748 if test "$aros_target_ar_ln" = ""; then
9749 { { echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
9750 echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
9751 { (exit 1); exit 1; }; }
9754 if test "$aros_target_nm" = ""; then
9755 if test "$cross_compiling" = "yes" ; then
9756 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
9757 set dummy ${target_tool_prefix}nm; ac_word=$2
9758 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9760 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
9761 echo $ECHO_N "(cached) $ECHO_C" >&6
9763 case $aros_target_nm_ln in
9765 ac_cv_path_aros_target_nm_ln="$aros_target_nm_ln" # Let the user override the test with a path.
9768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9772 test -z "$as_dir" && as_dir=.
9773 for ac_exec_ext in '' $ac_executable_extensions; do
9774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9775 ac_cv_path_aros_target_nm_ln="$as_dir/$ac_word$ac_exec_ext"
9776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9786 aros_target_nm_ln=$ac_cv_path_aros_target_nm_ln
9787 if test -n "$aros_target_nm_ln"; then
9788 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
9789 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
9791 { echo "$as_me:$LINENO: result: no" >&5
9792 echo "${ECHO_T}no" >&6; }
9797 if test "$GCC" = "yes"; then
9798 aros_gcc_nm=`$CC -print-prog-name=nm
`
9799 # Extract the first word of "`basename $aros_gcc_[nm
]`", so it can be a program name with args.
9800 set dummy `basename $aros_gcc_nm`; ac_word=$2
9801 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9803 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
9804 echo $ECHO_N "(cached) $ECHO_C" >&6
9806 case $aros_target_nm_ln in
9808 ac_cv_path_aros_target_nm_ln="$aros_target_nm_ln" # Let the user override the test with a path.
9811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9812 for as_dir in `dirname $aros_gcc_nm`
9815 test -z "$as_dir" && as_dir=.
9816 for ac_exec_ext in '' $ac_executable_extensions; do
9817 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9818 ac_cv_path_aros_target_nm_ln="$as_dir/$ac_word$ac_exec_ext"
9819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9829 aros_target_nm_ln=$ac_cv_path_aros_target_nm_ln
9830 if test -n "$aros_target_nm_ln"; then
9831 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
9832 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
9834 { echo "$as_me:$LINENO: result: no" >&5
9835 echo "${ECHO_T}no" >&6; }
9840 if test "$aros_target_nm_ln" = ""; then
9841 # Extract the first word of "nm", so it can be a program name with args.
9842 set dummy nm; ac_word=$2
9843 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9845 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
9846 echo $ECHO_N "(cached) $ECHO_C" >&6
9848 case $aros_target_nm_ln in
9850 ac_cv_path_aros_target_nm_ln="$aros_target_nm_ln" # Let the user override the test with a path.
9853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9857 test -z "$as_dir" && as_dir=.
9858 for ac_exec_ext in '' $ac_executable_extensions; do
9859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9860 ac_cv_path_aros_target_nm_ln="$as_dir/$ac_word$ac_exec_ext"
9861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9871 aros_target_nm_ln=$ac_cv_path_aros_target_nm_ln
9872 if test -n "$aros_target_nm_ln"; then
9873 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
9874 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
9876 { echo "$as_me:$LINENO: result: no" >&5
9877 echo "${ECHO_T}no" >&6; }
9884 # Extract the first word of "$aros_target_nm", so it can be a program name with args.
9885 set dummy $aros_target_nm; ac_word=$2
9886 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9888 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
9889 echo $ECHO_N "(cached) $ECHO_C" >&6
9891 case $aros_target_nm_ln in
9893 ac_cv_path_aros_target_nm_ln="$aros_target_nm_ln" # Let the user override the test with a path.
9896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9900 test -z "$as_dir" && as_dir=.
9901 for ac_exec_ext in '' $ac_executable_extensions; do
9902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9903 ac_cv_path_aros_target_nm_ln="$as_dir/$ac_word$ac_exec_ext"
9904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9914 aros_target_nm_ln=$ac_cv_path_aros_target_nm_ln
9915 if test -n "$aros_target_nm_ln"; then
9916 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
9917 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
9919 { echo "$as_me:$LINENO: result: no" >&5
9920 echo "${ECHO_T}no" >&6; }
9926 if test "$aros_target_nm_ln" = ""; then
9927 { { echo "$as_me:$LINENO: error: nm is required to build AROS. Please install and run configure again." >&5
9928 echo "$as_me: error: nm is required to build AROS. Please install and run configure again." >&2;}
9929 { (exit 1); exit 1; }; }
9932 if test "$aros_target_objcopy" = ""; then
9933 if test "$cross_compiling" = "yes" ; then
9934 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
9935 set dummy ${target_tool_prefix}objcopy; ac_word=$2
9936 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9938 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
9939 echo $ECHO_N "(cached) $ECHO_C" >&6
9941 case $aros_target_objcopy_ln in
9943 ac_cv_path_aros_target_objcopy_ln="$aros_target_objcopy_ln" # Let the user override the test with a path.
9946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9950 test -z "$as_dir" && as_dir=.
9951 for ac_exec_ext in '' $ac_executable_extensions; do
9952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9953 ac_cv_path_aros_target_objcopy_ln="$as_dir/$ac_word$ac_exec_ext"
9954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9964 aros_target_objcopy_ln=$ac_cv_path_aros_target_objcopy_ln
9965 if test -n "$aros_target_objcopy_ln"; then
9966 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
9967 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
9969 { echo "$as_me:$LINENO: result: no" >&5
9970 echo "${ECHO_T}no" >&6; }
9975 if test "$GCC" = "yes"; then
9976 aros_gcc_objcopy=`$CC -print-prog-name=objcopy
`
9977 # Extract the first word of "`basename $aros_gcc_[objcopy
]`", so it can be a program name with args.
9978 set dummy `basename $aros_gcc_objcopy`; ac_word=$2
9979 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9981 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
9982 echo $ECHO_N "(cached) $ECHO_C" >&6
9984 case $aros_target_objcopy_ln in
9986 ac_cv_path_aros_target_objcopy_ln="$aros_target_objcopy_ln" # Let the user override the test with a path.
9989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9990 for as_dir in `dirname $aros_gcc_objcopy`
9993 test -z "$as_dir" && as_dir=.
9994 for ac_exec_ext in '' $ac_executable_extensions; do
9995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9996 ac_cv_path_aros_target_objcopy_ln="$as_dir/$ac_word$ac_exec_ext"
9997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10007 aros_target_objcopy_ln=$ac_cv_path_aros_target_objcopy_ln
10008 if test -n "$aros_target_objcopy_ln"; then
10009 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10010 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
10012 { echo "$as_me:$LINENO: result: no" >&5
10013 echo "${ECHO_T}no" >&6; }
10018 if test "$aros_target_objcopy_ln" = ""; then
10019 # Extract the first word of "objcopy", so it can be a program name with args.
10020 set dummy objcopy; ac_word=$2
10021 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10023 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10024 echo $ECHO_N "(cached) $ECHO_C" >&6
10026 case $aros_target_objcopy_ln in
10028 ac_cv_path_aros_target_objcopy_ln="$aros_target_objcopy_ln" # Let the user override the test with a path.
10031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10032 for as_dir in $PATH
10035 test -z "$as_dir" && as_dir=.
10036 for ac_exec_ext in '' $ac_executable_extensions; do
10037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10038 ac_cv_path_aros_target_objcopy_ln="$as_dir/$ac_word$ac_exec_ext"
10039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10049 aros_target_objcopy_ln=$ac_cv_path_aros_target_objcopy_ln
10050 if test -n "$aros_target_objcopy_ln"; then
10051 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10052 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
10054 { echo "$as_me:$LINENO: result: no" >&5
10055 echo "${ECHO_T}no" >&6; }
10062 # Extract the first word of "$aros_target_objcopy", so it can be a program name with args.
10063 set dummy $aros_target_objcopy; ac_word=$2
10064 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10066 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10067 echo $ECHO_N "(cached) $ECHO_C" >&6
10069 case $aros_target_objcopy_ln in
10071 ac_cv_path_aros_target_objcopy_ln="$aros_target_objcopy_ln" # Let the user override the test with a path.
10074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10075 for as_dir in $PATH
10078 test -z "$as_dir" && as_dir=.
10079 for ac_exec_ext in '' $ac_executable_extensions; do
10080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10081 ac_cv_path_aros_target_objcopy_ln="$as_dir/$ac_word$ac_exec_ext"
10082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10092 aros_target_objcopy_ln=$ac_cv_path_aros_target_objcopy_ln
10093 if test -n "$aros_target_objcopy_ln"; then
10094 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10095 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
10097 { echo "$as_me:$LINENO: result: no" >&5
10098 echo "${ECHO_T}no" >&6; }
10104 if test "$aros_target_objcopy_ln" = ""; then
10105 { { echo "$as_me:$LINENO: error: objcopy is required to build AROS. Please install and run configure again." >&5
10106 echo "$as_me: error: objcopy is required to build AROS. Please install and run configure again." >&2;}
10107 { (exit 1); exit 1; }; }
10110 if test "$aros_target_objdump" = ""; then
10111 if test "$cross_compiling" = "yes" ; then
10112 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
10113 set dummy ${target_tool_prefix}objdump; ac_word=$2
10114 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10116 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10117 echo $ECHO_N "(cached) $ECHO_C" >&6
10119 case $aros_target_objdump_ln in
10121 ac_cv_path_aros_target_objdump_ln="$aros_target_objdump_ln" # Let the user override the test with a path.
10124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10125 for as_dir in $PATH
10128 test -z "$as_dir" && as_dir=.
10129 for ac_exec_ext in '' $ac_executable_extensions; do
10130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10131 ac_cv_path_aros_target_objdump_ln="$as_dir/$ac_word$ac_exec_ext"
10132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10142 aros_target_objdump_ln=$ac_cv_path_aros_target_objdump_ln
10143 if test -n "$aros_target_objdump_ln"; then
10144 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10145 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
10147 { echo "$as_me:$LINENO: result: no" >&5
10148 echo "${ECHO_T}no" >&6; }
10153 if test "$GCC" = "yes"; then
10154 aros_gcc_objdump=`$CC -print-prog-name=objdump
`
10155 # Extract the first word of "`basename $aros_gcc_[objdump
]`", so it can be a program name with args.
10156 set dummy `basename $aros_gcc_objdump`; ac_word=$2
10157 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10159 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10160 echo $ECHO_N "(cached) $ECHO_C" >&6
10162 case $aros_target_objdump_ln in
10164 ac_cv_path_aros_target_objdump_ln="$aros_target_objdump_ln" # Let the user override the test with a path.
10167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10168 for as_dir in `dirname $aros_gcc_objdump`
10171 test -z "$as_dir" && as_dir=.
10172 for ac_exec_ext in '' $ac_executable_extensions; do
10173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10174 ac_cv_path_aros_target_objdump_ln="$as_dir/$ac_word$ac_exec_ext"
10175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10185 aros_target_objdump_ln=$ac_cv_path_aros_target_objdump_ln
10186 if test -n "$aros_target_objdump_ln"; then
10187 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10188 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
10190 { echo "$as_me:$LINENO: result: no" >&5
10191 echo "${ECHO_T}no" >&6; }
10196 if test "$aros_target_objdump_ln" = ""; then
10197 # Extract the first word of "objdump", so it can be a program name with args.
10198 set dummy objdump; ac_word=$2
10199 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10201 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10202 echo $ECHO_N "(cached) $ECHO_C" >&6
10204 case $aros_target_objdump_ln in
10206 ac_cv_path_aros_target_objdump_ln="$aros_target_objdump_ln" # Let the user override the test with a path.
10209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10210 for as_dir in $PATH
10213 test -z "$as_dir" && as_dir=.
10214 for ac_exec_ext in '' $ac_executable_extensions; do
10215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10216 ac_cv_path_aros_target_objdump_ln="$as_dir/$ac_word$ac_exec_ext"
10217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10227 aros_target_objdump_ln=$ac_cv_path_aros_target_objdump_ln
10228 if test -n "$aros_target_objdump_ln"; then
10229 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10230 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
10232 { echo "$as_me:$LINENO: result: no" >&5
10233 echo "${ECHO_T}no" >&6; }
10240 # Extract the first word of "$aros_target_objdump", so it can be a program name with args.
10241 set dummy $aros_target_objdump; ac_word=$2
10242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10244 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10245 echo $ECHO_N "(cached) $ECHO_C" >&6
10247 case $aros_target_objdump_ln in
10249 ac_cv_path_aros_target_objdump_ln="$aros_target_objdump_ln" # Let the user override the test with a path.
10252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10253 for as_dir in $PATH
10256 test -z "$as_dir" && as_dir=.
10257 for ac_exec_ext in '' $ac_executable_extensions; do
10258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10259 ac_cv_path_aros_target_objdump_ln="$as_dir/$ac_word$ac_exec_ext"
10260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10270 aros_target_objdump_ln=$ac_cv_path_aros_target_objdump_ln
10271 if test -n "$aros_target_objdump_ln"; then
10272 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10273 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
10275 { echo "$as_me:$LINENO: result: no" >&5
10276 echo "${ECHO_T}no" >&6; }
10282 if test "$aros_target_objdump_ln" = ""; then
10283 { { echo "$as_me:$LINENO: error: objdump is required to build AROS. Please install and run configure again." >&5
10284 echo "$as_me: error: objdump is required to build AROS. Please install and run configure again." >&2;}
10285 { (exit 1); exit 1; }; }
10288 if test "$aros_target_ranlib" = ""; then
10289 if test "$cross_compiling" = "yes" ; then
10290 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
10291 set dummy ${target_tool_prefix}ranlib; ac_word=$2
10292 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10294 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10295 echo $ECHO_N "(cached) $ECHO_C" >&6
10297 case $aros_target_ranlib_ln in
10299 ac_cv_path_aros_target_ranlib_ln="$aros_target_ranlib_ln" # Let the user override the test with a path.
10302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10303 for as_dir in $PATH
10306 test -z "$as_dir" && as_dir=.
10307 for ac_exec_ext in '' $ac_executable_extensions; do
10308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10309 ac_cv_path_aros_target_ranlib_ln="$as_dir/$ac_word$ac_exec_ext"
10310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10320 aros_target_ranlib_ln=$ac_cv_path_aros_target_ranlib_ln
10321 if test -n "$aros_target_ranlib_ln"; then
10322 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10323 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10325 { echo "$as_me:$LINENO: result: no" >&5
10326 echo "${ECHO_T}no" >&6; }
10331 if test "$GCC" = "yes"; then
10332 aros_gcc_ranlib=`$CC -print-prog-name=ranlib
`
10333 # Extract the first word of "`basename $aros_gcc_[ranlib
]`", so it can be a program name with args.
10334 set dummy `basename $aros_gcc_ranlib`; ac_word=$2
10335 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10337 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10338 echo $ECHO_N "(cached) $ECHO_C" >&6
10340 case $aros_target_ranlib_ln in
10342 ac_cv_path_aros_target_ranlib_ln="$aros_target_ranlib_ln" # Let the user override the test with a path.
10345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10346 for as_dir in `dirname $aros_gcc_ranlib`
10349 test -z "$as_dir" && as_dir=.
10350 for ac_exec_ext in '' $ac_executable_extensions; do
10351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10352 ac_cv_path_aros_target_ranlib_ln="$as_dir/$ac_word$ac_exec_ext"
10353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10363 aros_target_ranlib_ln=$ac_cv_path_aros_target_ranlib_ln
10364 if test -n "$aros_target_ranlib_ln"; then
10365 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10366 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10368 { echo "$as_me:$LINENO: result: no" >&5
10369 echo "${ECHO_T}no" >&6; }
10374 if test "$aros_target_ranlib_ln" = ""; then
10375 # Extract the first word of "ranlib", so it can be a program name with args.
10376 set dummy ranlib; ac_word=$2
10377 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10379 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10380 echo $ECHO_N "(cached) $ECHO_C" >&6
10382 case $aros_target_ranlib_ln in
10384 ac_cv_path_aros_target_ranlib_ln="$aros_target_ranlib_ln" # Let the user override the test with a path.
10387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10388 for as_dir in $PATH
10391 test -z "$as_dir" && as_dir=.
10392 for ac_exec_ext in '' $ac_executable_extensions; do
10393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10394 ac_cv_path_aros_target_ranlib_ln="$as_dir/$ac_word$ac_exec_ext"
10395 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10405 aros_target_ranlib_ln=$ac_cv_path_aros_target_ranlib_ln
10406 if test -n "$aros_target_ranlib_ln"; then
10407 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10408 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10410 { echo "$as_me:$LINENO: result: no" >&5
10411 echo "${ECHO_T}no" >&6; }
10418 # Extract the first word of "$aros_target_ranlib", so it can be a program name with args.
10419 set dummy $aros_target_ranlib; ac_word=$2
10420 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10421 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10422 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10423 echo $ECHO_N "(cached) $ECHO_C" >&6
10425 case $aros_target_ranlib_ln in
10427 ac_cv_path_aros_target_ranlib_ln="$aros_target_ranlib_ln" # Let the user override the test with a path.
10430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10431 for as_dir in $PATH
10434 test -z "$as_dir" && as_dir=.
10435 for ac_exec_ext in '' $ac_executable_extensions; do
10436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10437 ac_cv_path_aros_target_ranlib_ln="$as_dir/$ac_word$ac_exec_ext"
10438 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10448 aros_target_ranlib_ln=$ac_cv_path_aros_target_ranlib_ln
10449 if test -n "$aros_target_ranlib_ln"; then
10450 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10451 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10453 { echo "$as_me:$LINENO: result: no" >&5
10454 echo "${ECHO_T}no" >&6; }
10460 if test "$aros_target_ranlib_ln" = ""; then
10461 { { echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
10462 echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
10463 { (exit 1); exit 1; }; }
10466 if test "$aros_target_strip" = ""; then
10467 if test "$cross_compiling" = "yes" ; then
10468 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
10469 set dummy ${target_tool_prefix}strip; ac_word=$2
10470 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10472 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10473 echo $ECHO_N "(cached) $ECHO_C" >&6
10475 case $aros_target_strip_ln in
10477 ac_cv_path_aros_target_strip_ln="$aros_target_strip_ln" # Let the user override the test with a path.
10480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10481 for as_dir in $PATH
10484 test -z "$as_dir" && as_dir=.
10485 for ac_exec_ext in '' $ac_executable_extensions; do
10486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10487 ac_cv_path_aros_target_strip_ln="$as_dir/$ac_word$ac_exec_ext"
10488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10498 aros_target_strip_ln=$ac_cv_path_aros_target_strip_ln
10499 if test -n "$aros_target_strip_ln"; then
10500 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10501 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10503 { echo "$as_me:$LINENO: result: no" >&5
10504 echo "${ECHO_T}no" >&6; }
10509 if test "$GCC" = "yes"; then
10510 aros_gcc_strip=`$CC -print-prog-name=strip
`
10511 # Extract the first word of "`basename $aros_gcc_[strip
]`", so it can be a program name with args.
10512 set dummy `basename $aros_gcc_strip`; ac_word=$2
10513 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10515 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10516 echo $ECHO_N "(cached) $ECHO_C" >&6
10518 case $aros_target_strip_ln in
10520 ac_cv_path_aros_target_strip_ln="$aros_target_strip_ln" # Let the user override the test with a path.
10523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10524 for as_dir in `dirname $aros_gcc_strip`
10527 test -z "$as_dir" && as_dir=.
10528 for ac_exec_ext in '' $ac_executable_extensions; do
10529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10530 ac_cv_path_aros_target_strip_ln="$as_dir/$ac_word$ac_exec_ext"
10531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10541 aros_target_strip_ln=$ac_cv_path_aros_target_strip_ln
10542 if test -n "$aros_target_strip_ln"; then
10543 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10544 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10546 { echo "$as_me:$LINENO: result: no" >&5
10547 echo "${ECHO_T}no" >&6; }
10552 if test "$aros_target_strip_ln" = ""; then
10553 # Extract the first word of "strip", so it can be a program name with args.
10554 set dummy strip; ac_word=$2
10555 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10557 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10558 echo $ECHO_N "(cached) $ECHO_C" >&6
10560 case $aros_target_strip_ln in
10562 ac_cv_path_aros_target_strip_ln="$aros_target_strip_ln" # Let the user override the test with a path.
10565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10566 for as_dir in $PATH
10569 test -z "$as_dir" && as_dir=.
10570 for ac_exec_ext in '' $ac_executable_extensions; do
10571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10572 ac_cv_path_aros_target_strip_ln="$as_dir/$ac_word$ac_exec_ext"
10573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10583 aros_target_strip_ln=$ac_cv_path_aros_target_strip_ln
10584 if test -n "$aros_target_strip_ln"; then
10585 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10586 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10588 { echo "$as_me:$LINENO: result: no" >&5
10589 echo "${ECHO_T}no" >&6; }
10596 # Extract the first word of "$aros_target_strip", so it can be a program name with args.
10597 set dummy $aros_target_strip; ac_word=$2
10598 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10600 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10601 echo $ECHO_N "(cached) $ECHO_C" >&6
10603 case $aros_target_strip_ln in
10605 ac_cv_path_aros_target_strip_ln="$aros_target_strip_ln" # Let the user override the test with a path.
10608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10609 for as_dir in $PATH
10612 test -z "$as_dir" && as_dir=.
10613 for ac_exec_ext in '' $ac_executable_extensions; do
10614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10615 ac_cv_path_aros_target_strip_ln="$as_dir/$ac_word$ac_exec_ext"
10616 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10626 aros_target_strip_ln=$ac_cv_path_aros_target_strip_ln
10627 if test -n "$aros_target_strip_ln"; then
10628 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10629 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10631 { echo "$as_me:$LINENO: result: no" >&5
10632 echo "${ECHO_T}no" >&6; }
10638 if test "$aros_target_strip_ln" = ""; then
10639 { { echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
10640 echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
10641 { (exit 1); exit 1; }; }
10643 # Temporarily disabled in order to let Windows-hosted port to build.
10644 # if test "$aros_target_cxx" != ""; then
10645 # AC_PATH_PROG(aros_target_cxx,$aros_target_cxx)
10646 # AROS_REQUIRED(c++,$aros_target_cxx)
10649 # Cancel preinstalled C++ compiler because it will be built as part of crosstools
10653 if test "$rescomp" != ""; then
10654 if test "$cross_compiling" = "yes" ; then
10655 rescomp=${target_tool_prefix}${rescomp}
10657 # Extract the first word of "$rescomp", so it can be a program name with args.
10658 set dummy $rescomp; ac_word=$2
10659 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10661 if test "${ac_cv_path_aros_kernel_rescomp+set}" = set; then
10662 echo $ECHO_N "(cached) $ECHO_C" >&6
10664 case $aros_kernel_rescomp in
10666 ac_cv_path_aros_kernel_rescomp="$aros_kernel_rescomp" # Let the user override the test with a path.
10669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10670 for as_dir in $PATH
10673 test -z "$as_dir" && as_dir=.
10674 for ac_exec_ext in '' $ac_executable_extensions; do
10675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10676 ac_cv_path_aros_kernel_rescomp="$as_dir/$ac_word$ac_exec_ext"
10677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10687 aros_kernel_rescomp=$ac_cv_path_aros_kernel_rescomp
10688 if test -n "$aros_kernel_rescomp"; then
10689 { echo "$as_me:$LINENO: result: $aros_kernel_rescomp" >&5
10690 echo "${ECHO_T}$aros_kernel_rescomp" >&6; }
10692 { echo "$as_me:$LINENO: result: no" >&5
10693 echo "${ECHO_T}no" >&6; }
10697 if test "$aros_kernel_rescomp" = ""; then
10698 { { echo "$as_me:$LINENO: error: $rescomp is required to build AROS. Please install and run configure again." >&5
10699 echo "$as_me: error: $rescomp is required to build AROS. Please install and run configure again." >&2;}
10700 { (exit 1); exit 1; }; }
10704 aros_hostcfg_dir="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
10705 aros_targetcfg_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
10706 aros_inc_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
10707 aros_gendir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
10708 aros_geninc_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
10709 aros_tools_dir="bin/${aros_host_arch}-${aros_host_cpu}/tools"
10710 aros_scripts_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
10712 # aros_cc_pre is a variable that is added to the front of the compiler name
10713 # in the generated aros-gcc shell script. We need this to enable the cache
10714 # to work across cleaned builds. Also, support DISTCC using the correct
10715 # environment variable.
10718 if test "x${DISTCC}" != "x" ; then
10719 if test "x${CCACHE}" != "x" ; then
10720 aros_cc_pre="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
10722 aros_cc_pre="${DISTCC} "
10725 if test "x${CCACHE}" != "x" ; then
10726 aros_cc_pre="${CCACHE} "
10730 prefix="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
10732 aros_target_nostdinc_cflags=-nostdinc
10734 aros_target_nostartup_ldflags=-nostartfiles
10736 aros_target_nix_ldflags=-nix
10738 aros_target_detach_ldflags=-detach
10740 aros_target_nostdlib_ldflags=-nostdlib
10744 if test "$aros_target_cc" = ""; then
10745 orig_target_cc=$aros_kernel_cc
10747 orig_target_cc=$aros_target_cc
10749 if test "$aros_target_ld" = ""; then
10750 orig_target_ld=$aros_kernel_ld
10752 orig_target_ld=$aros_target_ld
10754 if test "$GCC" = "yes"; then
10755 aros_target_cc_path=`$orig_target_cc -print-search-dirs |
grep "programs: =" | cut
-c 12-`
10757 aros_target_cc="${prefix}-gcc"
10758 aros_target_as="${prefix}-as"
10759 aros_target_ld="${prefix}-ld"
10760 aros_target_ar="${prefix}-ar $aros_target_ar_flags"
10761 aros_target_objcopy=${prefix}-objcopy
10762 aros_target_objdump=${prefix}-objdump
10763 aros_target_ranlib="${prefix}-ranlib $aros_target_ranlib_flags"
10764 aros_target_nm="${prefix}-nm $aros_target_nm_flags"
10765 aros_kernel_nm="${prefix}-nm"
10766 aros_target_strip=${prefix}-strip
10768 # Find the system include path. We can suggest that an alternative is
10769 # used if we don't get it correct. The default is to use /usr/include.
10770 # Which is set in the aros_target_incl_def variable.
10772 # Check whether --enable-includes was given.
10773 if test "${enable_includes+set}" = set; then
10774 enableval=$enable_includes; aros_target_incl=$enable_includes
10776 aros_target_incl=$aros_target_incl_def
10780 { echo "$as_me:$LINENO: checking for the target compiler's include path" >&5
10781 echo $ECHO_N "checking for the target compiler's include path... $ECHO_C" >&6; }
10782 if test "$aros_target_cc_includes" = "" ; then
10783 #try to guess where the directory is
10784 aros_target_cc_includes=`dirname \
`${orig_target_cc} -print-libgcc-file-name\``/include
10785 if ! test -d $aros_target_cc_includes; then
10786 #the directory doesn't exist, we need to do some more work
10787 aros_target_cc_includes=${PWD}/${aros_gendir}/cc_include
10789 #these are the headers we're looling for
10790 headers="limits.h mmintrin.h stdbool.h syslimits.h float.h \
10791 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
10795 for h in $headers; do
10796 #which other headers each of the above headers needs?
10797 deps=$(echo "#include <$h>" | \
10798 $aros_host_cc -E -M - 2>/dev/null | \
10799 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
10801 #copy all the needed headers to a directory beneath gendir
10804 dir=${aros_target_cc_includes}$(echo $(dirname $d) | \
10805 sed -n "s,^.*/include\(/.*\),\1,p")
10806 ! test -d $dir && mkdir -p $dir
10807 ! test -f $dir/$h && { cp $d $dir; chmod u+w $dir/$h; }
10812 { echo "$as_me:$LINENO: result: $aros_target_cc_includes" >&5
10813 echo "${ECHO_T}$aros_target_cc_includes" >&6; }
10816 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
10817 # On GCC >= 4.0 -iquote should be used
10821 save_cflags="$CFLAGS"
10823 { echo "$as_me:$LINENO: checking whether ${CC} accepts -iquote" >&5
10824 echo $ECHO_N "checking whether ${CC} accepts -iquote... $ECHO_C" >&6; }
10825 cat >conftest.$ac_ext <<_ACEOF
10828 cat confdefs.h >>conftest.$ac_ext
10829 cat >>conftest.$ac_ext <<_ACEOF
10830 /* end confdefs.h. */
10840 rm -f conftest.$ac_objext
10841 if { (ac_try="$ac_compile"
10842 case "(($ac_try" in
10843 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10844 *) ac_try_echo
=$ac_try;;
10846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10847 (eval "$ac_compile") 2>conftest.er1
10849 grep -v '^ *+' conftest.er1
>conftest.err
10851 cat conftest.err
>&5
10852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10853 (exit $ac_status); } && {
10854 test -z "$ac_c_werror_flag" ||
10855 test ! -s conftest.err
10856 } && test -s conftest.
$ac_objext; then
10859 echo "$as_me: failed program was:" >&5
10860 sed 's/^/| /' conftest.
$ac_ext >&5
10865 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10866 { echo "$as_me:$LINENO: result: $has_iquote" >&5
10867 echo "${ECHO_T}$has_iquote" >&6; }
10868 if test "x-$has_iquote" = "x-yes" ; then
10869 host_cflags_iquote
=-iquote
10870 host_cflags_iquote_end
=
10872 host_cflags_iquote
=-I
10873 host_cflags_iquote_end
=-I-
10875 kernel_cflags_iquote
=$host_cflags_iquote
10876 kernel_cflags_iquote_end
=$host_cflags_iquote_end
10877 if test "x-$cross_compiling" = "x-yes"; then
10878 CC
="$aros_kernel_cc"
10879 { echo "$as_me:$LINENO: checking whether ${CC} accepts -fno-stack-protector" >&5
10880 echo $ECHO_N "checking whether ${CC} accepts -fno-stack-protector... $ECHO_C" >&6; }
10881 cat >conftest.
$ac_ext <<_ACEOF
10884 cat confdefs.h
>>conftest.
$ac_ext
10885 cat >>conftest.
$ac_ext <<_ACEOF
10886 /* end confdefs.h. */
10896 rm -f conftest.
$ac_objext
10897 if { (ac_try
="$ac_compile"
10898 case "(($ac_try" in
10899 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10900 *) ac_try_echo=$ac_try;;
10902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10903 (eval "$ac_compile") 2>conftest.er1
10905 grep -v '^ *+' conftest.er1 >conftest.err
10907 cat conftest.err >&5
10908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10909 (exit $ac_status); } && {
10910 test -z "$ac_c_werror_flag" ||
10911 test ! -s conftest.err
10912 } && test -s conftest.$ac_objext; then
10913 use_no_stack_protector="yes"
10915 echo "$as_me: failed program was:" >&5
10916 sed 's/^/| /' conftest.$ac_ext >&5
10918 use_no_stack_protector="no"
10921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10922 { echo "$as_me:$LINENO: result: $use_no_stack_protector" >&5
10923 echo "${ECHO_T}$use_no_stack_protector" >&6; }
10924 { echo "$as_me:$LINENO: checking whether ${CC} accepts -iquote" >&5
10925 echo $ECHO_N "checking whether ${CC} accepts -iquote... $ECHO_C" >&6; }
10926 cat >conftest.$ac_ext <<_ACEOF
10929 cat confdefs.h >>conftest.$ac_ext
10930 cat >>conftest.$ac_ext <<_ACEOF
10931 /* end confdefs.h. */
10941 rm -f conftest.$ac_objext
10942 if { (ac_try="$ac_compile"
10943 case "(($ac_try" in
10944 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10945 *) ac_try_echo
=$ac_try;;
10947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10948 (eval "$ac_compile") 2>conftest.er1
10950 grep -v '^ *+' conftest.er1
>conftest.err
10952 cat conftest.err
>&5
10953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10954 (exit $ac_status); } && {
10955 test -z "$ac_c_werror_flag" ||
10956 test ! -s conftest.err
10957 } && test -s conftest.
$ac_objext; then
10960 echo "$as_me: failed program was:" >&5
10961 sed 's/^/| /' conftest.
$ac_ext >&5
10966 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10967 { echo "$as_me:$LINENO: result: $has_iquote" >&5
10968 echo "${ECHO_T}$has_iquote" >&6; }
10969 if test "x-$has_iquote" = "x-yes" ; then
10970 kernel_cflags_iquote
=-iquote
10971 kernel_cflags_iquote_end
=
10973 kernel_cflags_iquote
=-I
10974 kernel_cflags_iquote_end
=-I-
10977 aros_cflags_iquote
=$kernel_cflags_iquote
10978 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
10979 if test "$orig_target_cc" != "$aros_kernel_cc"; then
10980 CC
="$orig_target_cc"
10981 { echo "$as_me:$LINENO: checking whether ${CC} accepts -iquote" >&5
10982 echo $ECHO_N "checking whether ${CC} accepts -iquote... $ECHO_C" >&6; }
10983 cat >conftest.
$ac_ext <<_ACEOF
10986 cat confdefs.h
>>conftest.
$ac_ext
10987 cat >>conftest.
$ac_ext <<_ACEOF
10988 /* end confdefs.h. */
10998 rm -f conftest.
$ac_objext
10999 if { (ac_try
="$ac_compile"
11000 case "(($ac_try" in
11001 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11002 *) ac_try_echo=$ac_try;;
11004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11005 (eval "$ac_compile") 2>conftest.er1
11007 grep -v '^ *+' conftest.er1 >conftest.err
11009 cat conftest.err >&5
11010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11011 (exit $ac_status); } && {
11012 test -z "$ac_c_werror_flag" ||
11013 test ! -s conftest.err
11014 } && test -s conftest.$ac_objext; then
11017 echo "$as_me: failed program was:" >&5
11018 sed 's/^/| /' conftest.$ac_ext >&5
11023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11024 { echo "$as_me:$LINENO: result: $has_iquote" >&5
11025 echo "${ECHO_T}$has_iquote" >&6; }
11026 if test "x-$has_iquote" = "x-yes" ; then
11027 aros_cflags_iquote=-iquote
11028 aros_cflags_iquote_end=
11030 aros_cflags_iquote=-I
11031 aros_cflags_iquote_end=-I-
11034 if test "x-$use_no_stack_protector" = "x-yes" ; then
11035 aros_kernel_cflags="$aros_kernel_cflags -fno-stack-protector"
11038 #-----------------------------------------------------------------------------
11040 # Check if we can explicitly choose older version of symbol hashing
11042 CFLAGS="save_cflags -Wl,--hash-style=sysv"
11043 CC="$aros_kernel_cc"
11044 { echo "$as_me:$LINENO: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
11045 echo $ECHO_N "checking whether ${CC} accepts -Wl,--hash-style=sysv... $ECHO_C" >&6; }
11046 cat >conftest.$ac_ext <<_ACEOF
11049 cat confdefs.h >>conftest.$ac_ext
11050 cat >>conftest.$ac_ext <<_ACEOF
11051 /* end confdefs.h. */
11061 rm -f conftest.$ac_objext conftest$ac_exeext
11062 if { (ac_try="$ac_link"
11063 case "(($ac_try" in
11064 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11065 *) ac_try_echo
=$ac_try;;
11067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11068 (eval "$ac_link") 2>conftest.er1
11070 grep -v '^ *+' conftest.er1
>conftest.err
11072 cat conftest.err
>&5
11073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11074 (exit $ac_status); } && {
11075 test -z "$ac_c_werror_flag" ||
11076 test ! -s conftest.err
11077 } && test -s conftest
$ac_exeext &&
11078 $as_test_x conftest
$ac_exeext; then
11079 use_hash_style
="yes"
11081 echo "$as_me: failed program was:" >&5
11082 sed 's/^/| /' conftest.
$ac_ext >&5
11084 use_hash_style
="no"
11087 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11088 conftest
$ac_exeext conftest.
$ac_ext
11089 { echo "$as_me:$LINENO: result: $use_hash_style" >&5
11090 echo "${ECHO_T}$use_hash_style" >&6; }
11091 if test "x-$use_hash_style" = "x-yes" ; then
11092 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
11095 CFLAGS
="$save_cflags"
11105 { echo "$as_me:$LINENO: checking for default resolution of WBScreen" >&5
11106 echo $ECHO_N "checking for default resolution of WBScreen... $ECHO_C" >&6; }
11108 # Check whether --with-resolution was given.
11109 if test "${with_resolution+set}" = set; then
11110 withval
=$with_resolution; resolution
=$withval
11115 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
11116 if test "$resolution" = "yes" ; then
11119 if test "$resolution" = "no" ; then
11122 if test "$resolution" != "none" ; then
11123 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
11124 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
11125 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
11127 { echo "$as_me:$LINENO: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
11128 echo "${ECHO_T}$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
11129 aros_cv_default_wbwidth
=$aros_default_wbwidth
11130 aros_cv_default_wbheight
=$aros_default_wbheight
11131 aros_cv_default_wbdepth
=$aros_default_wbdepth
11133 { echo "$as_me:$LINENO: checking if serial debug is enabled" >&5
11134 echo $ECHO_N "checking if serial debug is enabled... $ECHO_C" >&6; }
11136 # Check whether --with-serial-debug was given.
11137 if test "${with_serial_debug+set}" = set; then
11138 withval
=$with_serial_debug; serial_debug
=$withval
11143 if test "$aros_serial_debug" = 0 ; then
11144 serial_debug_forced
=""
11145 if test "$serial_debug" = "yes" ; then
11148 if test "$serial_debug" = "no" ; then
11149 serial_debug
="none"
11152 serial_debug_forced
="(forced)"
11153 serial_debug
=$aros_serial_debug
11155 if test "$serial_debug" != "none" ; then
11156 aros_serial_debug
=$serial_debug
11157 { echo "$as_me:$LINENO: result: $serial_debug_forced on port $serial_debug" >&5
11158 echo "${ECHO_T}$serial_debug_forced on port $serial_debug" >&6; }
11160 { echo "$as_me:$LINENO: result: no" >&5
11161 echo "${ECHO_T}no" >&6; }
11164 { echo "$as_me:$LINENO: checking if palm debug hack is enabled" >&5
11165 echo $ECHO_N "checking if palm debug hack is enabled... $ECHO_C" >&6; }
11166 # Check whether --enable-palm_debug_hack was given.
11167 if test "${enable_palm_debug_hack+set}" = set; then
11168 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
11170 palm_debug_hack
="no"
11173 if test "$palm_debug_hack" = "yes" ; then
11174 aros_palm_debug_hack
="1"
11176 { echo "$as_me:$LINENO: result: $palm_debug_hack" >&5
11177 echo "${ECHO_T}$palm_debug_hack" >&6; }
11180 { echo "$as_me:$LINENO: checking if nesting supervisor support is enabled" >&5
11181 echo $ECHO_N "checking if nesting supervisor support is enabled... $ECHO_C" >&6; }
11182 # Check whether --enable-nesting_supervisor was given.
11183 if test "${enable_nesting_supervisor+set}" = set; then
11184 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
11186 nesting_supervisor
="no"
11189 if test "$nesting_supervisor" = "yes" ; then
11190 aros_nesting_supervisor
="1"
11192 { echo "$as_me:$LINENO: result: $nesting_supervisor" >&5
11193 echo "${ECHO_T}$nesting_supervisor" >&6; }
11196 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
11198 if test "x-$need_dlopen" != "x-no" ; then
11199 { echo "$as_me:$LINENO: checking for dlopen" >&5
11200 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
11201 if test "${ac_cv_func_dlopen+set}" = set; then
11202 echo $ECHO_N "(cached) $ECHO_C" >&6
11204 cat >conftest.
$ac_ext <<_ACEOF
11207 cat confdefs.h
>>conftest.
$ac_ext
11208 cat >>conftest.
$ac_ext <<_ACEOF
11209 /* end confdefs.h. */
11210 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11212 #define dlopen innocuous_dlopen
11214 /* System header to define __stub macros and hopefully few prototypes,
11215 which can conflict with char dlopen (); below.
11216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11217 <limits.h> exists even on freestanding compilers. */
11220 # include <limits.h>
11222 # include <assert.h>
11227 /* Override any GCC internal prototype to avoid an error.
11228 Use char because int might match the return type of a GCC
11229 builtin and then its argument prototype would still apply. */
11234 /* The GNU C library defines this for functions which it implements
11235 to always fail with ENOSYS. Some functions are actually named
11236 something starting with __ and the normal name is an alias. */
11237 #if defined __stub_dlopen || defined __stub___dlopen
11249 rm -f conftest.
$ac_objext conftest
$ac_exeext
11250 if { (ac_try
="$ac_link"
11251 case "(($ac_try" in
11252 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11253 *) ac_try_echo=$ac_try;;
11255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11256 (eval "$ac_link") 2>conftest.er1
11258 grep -v '^ *+' conftest.er1 >conftest.err
11260 cat conftest.err >&5
11261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11262 (exit $ac_status); } && {
11263 test -z "$ac_c_werror_flag" ||
11264 test ! -s conftest.err
11265 } && test -s conftest$ac_exeext &&
11266 $as_test_x conftest$ac_exeext; then
11267 ac_cv_func_dlopen=yes
11269 echo "$as_me: failed program was:" >&5
11270 sed 's/^/| /' conftest.$ac_ext >&5
11272 ac_cv_func_dlopen=no
11275 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11276 conftest$ac_exeext conftest.$ac_ext
11278 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11279 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
11280 if test $ac_cv_func_dlopen = yes; then
11286 if test "x-$have_dl" = "x-no" ; then
11287 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11288 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11289 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11290 echo $ECHO_N "(cached) $ECHO_C" >&6
11292 ac_check_lib_save_LIBS=$LIBS
11294 cat >conftest.$ac_ext <<_ACEOF
11297 cat confdefs.h >>conftest.$ac_ext
11298 cat >>conftest.$ac_ext <<_ACEOF
11299 /* end confdefs.h. */
11301 /* Override any GCC internal prototype to avoid an error.
11302 Use char because int might match the return type of a GCC
11303 builtin and then its argument prototype would still apply. */
11316 rm -f conftest.$ac_objext conftest$ac_exeext
11317 if { (ac_try="$ac_link"
11318 case "(($ac_try" in
11319 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11320 *) ac_try_echo
=$ac_try;;
11322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11323 (eval "$ac_link") 2>conftest.er1
11325 grep -v '^ *+' conftest.er1
>conftest.err
11327 cat conftest.err
>&5
11328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11329 (exit $ac_status); } && {
11330 test -z "$ac_c_werror_flag" ||
11331 test ! -s conftest.err
11332 } && test -s conftest
$ac_exeext &&
11333 $as_test_x conftest
$ac_exeext; then
11334 ac_cv_lib_dl_dlopen
=yes
11336 echo "$as_me: failed program was:" >&5
11337 sed 's/^/| /' conftest.
$ac_ext >&5
11339 ac_cv_lib_dl_dlopen
=no
11342 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11343 conftest
$ac_exeext conftest.
$ac_ext
11344 LIBS
=$ac_check_lib_save_LIBS
11346 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11347 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11348 if test $ac_cv_lib_dl_dlopen = yes; then
11350 aros_host_ldflags
="$aros_host_ldflags -ldl"
11356 if test "x-$have_dl" = "x-no" ; then
11357 { { echo "$as_me:$LINENO: error: dlopen() dynamic linker functions not available" >&5
11358 echo "$as_me: error: dlopen() dynamic linker functions not available" >&2;}
11359 { (exit 1); exit 1; }; }
11364 # Check whether --enable-x11_hidd was given.
11365 if test "${enable_x11_hidd+set}" = set; then
11366 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
11371 case "x-$x11_hidd" in
11372 x-yes|x-no|x-auto
) ;;
11373 *) x11_hidd
="auto" ;;
11378 if test "x-$x11_hidd" != "x-no" ; then
11380 { echo "$as_me:$LINENO: checking for X" >&5
11381 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
11384 # Check whether --with-x was given.
11385 if test "${with_x+set}" = set; then
11389 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11390 if test "x$with_x" = xno
; then
11391 # The user explicitly disabled X.
11394 case $x_includes,$x_libraries in #(
11395 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
11396 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
11397 { (exit 1); exit 1; }; };; #(
11398 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then
11399 echo $ECHO_N "(cached) $ECHO_C" >&6
11401 # One or both of the vars are not set, and there is no cached value.
11402 ac_x_includes
=no ac_x_libraries
=no
11403 rm -f -r conftest.dir
11404 if mkdir conftest.dir
; then
11406 cat >Imakefile
<<'_ACEOF'
11408 @echo incroot='${INCROOT}'
11410 @echo usrlibdir='${USRLIBDIR}'
11412 @echo libdir='${LIBDIR}'
11414 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
11415 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11416 for ac_var
in incroot usrlibdir libdir
; do
11417 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
11419 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11420 for ac_extension
in a so sl dylib la dll
; do
11421 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
11422 test -f "$ac_im_libdir/libX11.$ac_extension"; then
11423 ac_im_usrlibdir
=$ac_im_libdir; break
11426 # Screen out bogus values from the imake configuration. They are
11427 # bogus both because they are the default anyway, and because
11428 # using them would break gcc on systems where it needs fixed includes.
11429 case $ac_im_incroot in
11430 /usr
/include
) ac_x_includes
= ;;
11431 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
11433 case $ac_im_usrlibdir in
11434 /usr
/lib |
/lib
) ;;
11435 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
11439 rm -f -r conftest.dir
11442 # Standard set of common directories for X headers.
11443 # Check X11 before X11Rn because it is often a symlink to the current release.
11455 /usr/local/X11/include
11456 /usr/local/X11R6/include
11457 /usr/local/X11R5/include
11458 /usr/local/X11R4/include
11460 /usr/local/include/X11
11461 /usr/local/include/X11R6
11462 /usr/local/include/X11R5
11463 /usr/local/include/X11R4
11467 /usr/XFree86/include/X11
11471 /usr/unsupported/include
11472 /usr/athena/include
11473 /usr/local/x11r5/include
11474 /usr/lpp/Xamples/include
11476 /usr/openwin/include
11477 /usr/openwin/share/include'
11479 if test "$ac_x_includes" = no
; then
11480 # Guess where to find include files, by looking for Xlib.h.
11481 # First, try using that file with no special directory specified.
11482 cat >conftest.
$ac_ext <<_ACEOF
11485 cat confdefs.h
>>conftest.
$ac_ext
11486 cat >>conftest.
$ac_ext <<_ACEOF
11487 /* end confdefs.h. */
11488 #include <X11/Xlib.h>
11490 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11491 case "(($ac_try" in
11492 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11493 *) ac_try_echo=$ac_try;;
11495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11496 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11498 grep -v '^ *+' conftest.er1 >conftest.err
11500 cat conftest.err >&5
11501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11502 (exit $ac_status); } >/dev/null && {
11503 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11504 test ! -s conftest.err
11506 # We can compile using X headers with no special include directory.
11509 echo "$as_me: failed program was:" >&5
11510 sed 's/^/| /' conftest.$ac_ext >&5
11512 for ac_dir in $ac_x_header_dirs; do
11513 if test -r "$ac_dir/X11/Xlib.h"; then
11514 ac_x_includes=$ac_dir
11520 rm -f conftest.err conftest.$ac_ext
11521 fi # $ac_x_includes = no
11523 if test "$ac_x_libraries" = no; then
11524 # Check for the libraries.
11525 # See if we find them without any special options.
11526 # Don't add to $LIBS permanently.
11529 cat >conftest.$ac_ext <<_ACEOF
11532 cat confdefs.h >>conftest.$ac_ext
11533 cat >>conftest.$ac_ext <<_ACEOF
11534 /* end confdefs.h. */
11535 #include <X11/Xlib.h>
11544 rm -f conftest.$ac_objext conftest$ac_exeext
11545 if { (ac_try="$ac_link"
11546 case "(($ac_try" in
11547 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11548 *) ac_try_echo
=$ac_try;;
11550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11551 (eval "$ac_link") 2>conftest.er1
11553 grep -v '^ *+' conftest.er1
>conftest.err
11555 cat conftest.err
>&5
11556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11557 (exit $ac_status); } && {
11558 test -z "$ac_c_werror_flag" ||
11559 test ! -s conftest.err
11560 } && test -s conftest
$ac_exeext &&
11561 $as_test_x conftest
$ac_exeext; then
11563 # We can link X programs with no special library path.
11566 echo "$as_me: failed program was:" >&5
11567 sed 's/^/| /' conftest.
$ac_ext >&5
11570 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
11572 # Don't even attempt the hair of trying to link an X program!
11573 for ac_extension
in a so sl dylib la dll
; do
11574 if test -r "$ac_dir/libX11.$ac_extension"; then
11575 ac_x_libraries
=$ac_dir
11582 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11583 conftest
$ac_exeext conftest.
$ac_ext
11584 fi # $ac_x_libraries = no
11586 case $ac_x_includes,$ac_x_libraries in #(
11587 no
,* |
*,no |
*\'*)
11588 # Didn't find X, or a directory has "'" in its name.
11589 ac_cv_have_x
="have_x=no";; #(
11591 # Record where we found X for the cache.
11592 ac_cv_have_x
="have_x=yes\
11593 ac_x_includes='$ac_x_includes'\
11594 ac_x_libraries='$ac_x_libraries'"
11600 eval "$ac_cv_have_x"
11603 if test "$have_x" != yes; then
11604 { echo "$as_me:$LINENO: result: $have_x" >&5
11605 echo "${ECHO_T}$have_x" >&6; }
11608 # If each of the values was on the command line, it overrides each guess.
11609 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
11610 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
11611 # Update the cache value to reflect the command line values.
11612 ac_cv_have_x
="have_x=yes\
11613 ac_x_includes='$x_includes'\
11614 ac_x_libraries='$x_libraries'"
11615 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
11616 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
11621 for path
in $x_libraries
11623 x_cflags
="$x_cflags -L$path"
11626 for path
in $x_includes
11628 x_cflags
="$x_cflags -I$path"
11631 if test "x-$no_x" = "x-yes" ; then
11633 if test "x-$x11_hidd" != "x-auto" ; then
11634 { { echo "$as_me:$LINENO: error: X11 libs/headers not found, cannot build X11 hidd as requested" >&5
11635 echo "$as_me: error: X11 libs/headers not found, cannot build X11 hidd as requested" >&2;}
11636 { (exit 1); exit 1; }; }
11640 x11_hidd_target
=kernel-x11gfx-kobj
11643 # Check whether --enable-x11_shm was given.
11644 if test "${enable_x11_shm+set}" = set; then
11645 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
11647 x11_hidd_shm
="auto"
11650 case "x-$x11_hidd_shm" in
11651 x-yes|x-no|x-auto
) ;;
11652 *) x11_hidd_shm
="auto" ;;
11657 if test "x-$x11_hidd_shm" != "x-no" ; then
11660 for ac_header
in sys
/ipc.h
11662 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11663 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11664 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11665 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11666 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11667 echo $ECHO_N "(cached) $ECHO_C" >&6
11669 ac_res
=`eval echo '${'$as_ac_Header'}'`
11670 { echo "$as_me:$LINENO: result: $ac_res" >&5
11671 echo "${ECHO_T}$ac_res" >&6; }
11673 # Is the header compilable?
11674 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11675 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11676 cat >conftest.
$ac_ext <<_ACEOF
11679 cat confdefs.h
>>conftest.
$ac_ext
11680 cat >>conftest.
$ac_ext <<_ACEOF
11681 /* end confdefs.h. */
11682 $ac_includes_default
11683 #include <$ac_header>
11685 rm -f conftest.
$ac_objext
11686 if { (ac_try
="$ac_compile"
11687 case "(($ac_try" in
11688 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11689 *) ac_try_echo=$ac_try;;
11691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11692 (eval "$ac_compile") 2>conftest.er1
11694 grep -v '^ *+' conftest.er1 >conftest.err
11696 cat conftest.err >&5
11697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11698 (exit $ac_status); } && {
11699 test -z "$ac_c_werror_flag" ||
11700 test ! -s conftest.err
11701 } && test -s conftest.$ac_objext; then
11702 ac_header_compiler=yes
11704 echo "$as_me: failed program was:" >&5
11705 sed 's/^/| /' conftest.$ac_ext >&5
11707 ac_header_compiler=no
11710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11711 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11712 echo "${ECHO_T}$ac_header_compiler" >&6; }
11714 # Is the header present?
11715 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11716 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11717 cat >conftest.$ac_ext <<_ACEOF
11720 cat confdefs.h >>conftest.$ac_ext
11721 cat >>conftest.$ac_ext <<_ACEOF
11722 /* end confdefs.h. */
11723 #include <$ac_header>
11725 if { (ac_try="$ac_cpp conftest.$ac_ext"
11726 case "(($ac_try" in
11727 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11728 *) ac_try_echo
=$ac_try;;
11730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11731 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11733 grep -v '^ *+' conftest.er1
>conftest.err
11735 cat conftest.err
>&5
11736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11737 (exit $ac_status); } >/dev
/null
&& {
11738 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11739 test ! -s conftest.err
11741 ac_header_preproc
=yes
11743 echo "$as_me: failed program was:" >&5
11744 sed 's/^/| /' conftest.
$ac_ext >&5
11746 ac_header_preproc
=no
11749 rm -f conftest.err conftest.
$ac_ext
11750 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11751 echo "${ECHO_T}$ac_header_preproc" >&6; }
11753 # So? What about this header?
11754 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11756 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11757 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11758 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11759 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11760 ac_header_preproc
=yes
11763 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11764 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11765 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11766 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11767 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11768 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11769 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11770 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11771 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11772 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11773 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11774 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11778 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11779 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11780 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11781 echo $ECHO_N "(cached) $ECHO_C" >&6
11783 eval "$as_ac_Header=\$ac_header_preproc"
11785 ac_res
=`eval echo '${'$as_ac_Header'}'`
11786 { echo "$as_me:$LINENO: result: $ac_res" >&5
11787 echo "${ECHO_T}$ac_res" >&6; }
11790 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11791 cat >>confdefs.h
<<_ACEOF
11792 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11800 for ac_header
in sys
/shm.h
11802 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11803 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11804 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11805 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11806 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11807 echo $ECHO_N "(cached) $ECHO_C" >&6
11809 ac_res
=`eval echo '${'$as_ac_Header'}'`
11810 { echo "$as_me:$LINENO: result: $ac_res" >&5
11811 echo "${ECHO_T}$ac_res" >&6; }
11813 # Is the header compilable?
11814 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11815 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11816 cat >conftest.
$ac_ext <<_ACEOF
11819 cat confdefs.h
>>conftest.
$ac_ext
11820 cat >>conftest.
$ac_ext <<_ACEOF
11821 /* end confdefs.h. */
11822 $ac_includes_default
11823 #include <$ac_header>
11825 rm -f conftest.
$ac_objext
11826 if { (ac_try
="$ac_compile"
11827 case "(($ac_try" in
11828 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11829 *) ac_try_echo=$ac_try;;
11831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11832 (eval "$ac_compile") 2>conftest.er1
11834 grep -v '^ *+' conftest.er1 >conftest.err
11836 cat conftest.err >&5
11837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11838 (exit $ac_status); } && {
11839 test -z "$ac_c_werror_flag" ||
11840 test ! -s conftest.err
11841 } && test -s conftest.$ac_objext; then
11842 ac_header_compiler=yes
11844 echo "$as_me: failed program was:" >&5
11845 sed 's/^/| /' conftest.$ac_ext >&5
11847 ac_header_compiler=no
11850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11851 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11852 echo "${ECHO_T}$ac_header_compiler" >&6; }
11854 # Is the header present?
11855 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11856 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11857 cat >conftest.$ac_ext <<_ACEOF
11860 cat confdefs.h >>conftest.$ac_ext
11861 cat >>conftest.$ac_ext <<_ACEOF
11862 /* end confdefs.h. */
11863 #include <$ac_header>
11865 if { (ac_try="$ac_cpp conftest.$ac_ext"
11866 case "(($ac_try" in
11867 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11868 *) ac_try_echo
=$ac_try;;
11870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11871 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11873 grep -v '^ *+' conftest.er1
>conftest.err
11875 cat conftest.err
>&5
11876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11877 (exit $ac_status); } >/dev
/null
&& {
11878 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11879 test ! -s conftest.err
11881 ac_header_preproc
=yes
11883 echo "$as_me: failed program was:" >&5
11884 sed 's/^/| /' conftest.
$ac_ext >&5
11886 ac_header_preproc
=no
11889 rm -f conftest.err conftest.
$ac_ext
11890 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11891 echo "${ECHO_T}$ac_header_preproc" >&6; }
11893 # So? What about this header?
11894 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11896 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11897 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11898 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11899 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11900 ac_header_preproc
=yes
11903 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11904 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11905 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11906 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11907 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11908 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11909 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11910 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11911 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11912 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11913 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11914 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11918 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11919 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11920 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11921 echo $ECHO_N "(cached) $ECHO_C" >&6
11923 eval "$as_ac_Header=\$ac_header_preproc"
11925 ac_res
=`eval echo '${'$as_ac_Header'}'`
11926 { echo "$as_me:$LINENO: result: $ac_res" >&5
11927 echo "${ECHO_T}$ac_res" >&6; }
11930 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11931 cat >>confdefs.h
<<_ACEOF
11932 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11940 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
11942 save_cflags
="$CFLAGS"
11943 CFLAGS
="$CFLAGS $x_cflags"
11944 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
11945 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
11946 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
11947 echo $ECHO_N "(cached) $ECHO_C" >&6
11949 ac_check_lib_save_LIBS
=$LIBS
11950 LIBS
="-lXext $LIBS"
11951 cat >conftest.
$ac_ext <<_ACEOF
11954 cat confdefs.h
>>conftest.
$ac_ext
11955 cat >>conftest.
$ac_ext <<_ACEOF
11956 /* end confdefs.h. */
11958 /* Override any GCC internal prototype to avoid an error.
11959 Use char because int might match the return type of a GCC
11960 builtin and then its argument prototype would still apply. */
11964 char XShmQueryExtension ();
11968 return XShmQueryExtension ();
11973 rm -f conftest.
$ac_objext conftest
$ac_exeext
11974 if { (ac_try
="$ac_link"
11975 case "(($ac_try" in
11976 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11977 *) ac_try_echo=$ac_try;;
11979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11980 (eval "$ac_link") 2>conftest.er1
11982 grep -v '^ *+' conftest.er1 >conftest.err
11984 cat conftest.err >&5
11985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11986 (exit $ac_status); } && {
11987 test -z "$ac_c_werror_flag" ||
11988 test ! -s conftest.err
11989 } && test -s conftest$ac_exeext &&
11990 $as_test_x conftest$ac_exeext; then
11991 ac_cv_lib_Xext_XShmQueryExtension=yes
11993 echo "$as_me: failed program was:" >&5
11994 sed 's/^/| /' conftest.$ac_ext >&5
11996 ac_cv_lib_Xext_XShmQueryExtension=no
11999 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12000 conftest$ac_exeext conftest.$ac_ext
12001 LIBS=$ac_check_lib_save_LIBS
12003 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
12004 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
12005 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
12009 CFLAGS="$save_cflags"
12013 if test "x-$have_xshm" = "x-yes" ; then
12014 DO_XSHM_SUPPORT="1"
12015 elif test "x-$x11_hidd_shm" = "x-yes" ; then
12016 { { echo "$as_me:$LINENO: error: X11 has no support for shared memory, cannot enable it as requested" >&5
12017 echo "$as_me: error: X11 has no support for shared memory, cannot enable it as requested" >&2;}
12018 { (exit 1); exit 1; }; }
12020 DO_XSHM_SUPPORT="0"
12024 # Check whether --enable-x11_vidmode was given.
12025 if test "${enable_x11_vidmode+set}" = set; then
12026 enableval=$enable_x11_vidmode; x11_hidd_vidmode="$enableval"
12028 x11_hidd_vidmode="auto"
12031 case "x-$x11_hidd_vidmode" in
12032 x-yes|x-no|x-auto) ;;
12033 *) x11_hidd_vidmode="auto" ;;
12038 if test "x-$x11_hidd_vidmode" != "x-no" ; then
12040 save_cflags="$CFLAGS"
12041 CFLAGS="$CFLAGS $x_cflags"
12042 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
12043 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
12044 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
12045 echo $ECHO_N "(cached) $ECHO_C" >&6
12047 ac_check_lib_save_LIBS=$LIBS
12048 LIBS="-lXxf86vm $LIBS"
12049 cat >conftest.$ac_ext <<_ACEOF
12052 cat confdefs.h >>conftest.$ac_ext
12053 cat >>conftest.$ac_ext <<_ACEOF
12054 /* end confdefs.h. */
12056 /* Override any GCC internal prototype to avoid an error.
12057 Use char because int might match the return type of a GCC
12058 builtin and then its argument prototype would still apply. */
12062 char XF86VidModeQueryExtension ();
12066 return XF86VidModeQueryExtension ();
12071 rm -f conftest.$ac_objext conftest$ac_exeext
12072 if { (ac_try="$ac_link"
12073 case "(($ac_try" in
12074 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12075 *) ac_try_echo
=$ac_try;;
12077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12078 (eval "$ac_link") 2>conftest.er1
12080 grep -v '^ *+' conftest.er1
>conftest.err
12082 cat conftest.err
>&5
12083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12084 (exit $ac_status); } && {
12085 test -z "$ac_c_werror_flag" ||
12086 test ! -s conftest.err
12087 } && test -s conftest
$ac_exeext &&
12088 $as_test_x conftest
$ac_exeext; then
12089 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
12091 echo "$as_me: failed program was:" >&5
12092 sed 's/^/| /' conftest.
$ac_ext >&5
12094 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
12097 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12098 conftest
$ac_exeext conftest.
$ac_ext
12099 LIBS
=$ac_check_lib_save_LIBS
12101 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
12102 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
12103 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
12107 CFLAGS
="$save_cflags"
12110 if test "x-$have_vidmode" = "x-yes" ; then
12111 DO_VIDMODE_SUPPORT
="1"
12112 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
12113 { { echo "$as_me:$LINENO: error: X11 vidmode extension not available, cannot enable it as requested" >&5
12114 echo "$as_me: error: X11 vidmode extension not available, cannot enable it as requested" >&2;}
12115 { (exit 1); exit 1; }; }
12117 DO_VIDMODE_SUPPORT
="0"
12121 aros_host_x11_includes
=$x_includes
12122 aros_host_x11_libdirs
=$x_libraries
12126 # Check whether --enable-sdl_hidd was given.
12127 if test "${enable_sdl_hidd+set}" = set; then
12128 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
12133 case "x-$sdl_hidd" in
12134 x-yes|x-no|x-auto
) ;;
12135 *) sdl_hidd
="auto" ;;
12138 if test "x-$sdl_hidd" != "x-no" ; then
12141 # Check whether --with-sdl-prefix was given.
12142 if test "${with_sdl_prefix+set}" = set; then
12143 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
12149 # Check whether --with-sdl-exec-prefix was given.
12150 if test "${with_sdl_exec_prefix+set}" = set; then
12151 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
12156 # Check whether --enable-sdltest was given.
12157 if test "${enable_sdltest+set}" = set; then
12158 enableval
=$enable_sdltest;
12164 if test x
$sdl_exec_prefix != x
; then
12165 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
12166 if test x
${SDL_CONFIG+set} != xset
; then
12167 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
12170 if test x
$sdl_prefix != x
; then
12171 sdl_args
="$sdl_args --prefix=$sdl_prefix"
12172 if test x
${SDL_CONFIG+set} != xset
; then
12173 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
12177 if test "x$prefix" != xNONE
; then
12178 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
12180 # Extract the first word of "sdl-config", so it can be a program name with args.
12181 set dummy sdl-config
; ac_word
=$2
12182 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12184 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
12185 echo $ECHO_N "(cached) $ECHO_C" >&6
12187 case $SDL_CONFIG in
12189 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
12192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12193 for as_dir
in $PATH
12196 test -z "$as_dir" && as_dir
=.
12197 for ac_exec_ext
in '' $ac_executable_extensions; do
12198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12199 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12200 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12207 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
12211 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
12212 if test -n "$SDL_CONFIG"; then
12213 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
12214 echo "${ECHO_T}$SDL_CONFIG" >&6; }
12216 { echo "$as_me:$LINENO: result: no" >&5
12217 echo "${ECHO_T}no" >&6; }
12221 min_sdl_version
=1.2.10
12222 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
12223 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
12225 if test "$SDL_CONFIG" = "no" ; then
12228 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
12229 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
12231 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
12232 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12233 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
12234 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12235 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
12236 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12237 if test "x$enable_sdltest" = "xyes" ; then
12238 ac_save_CFLAGS
="$CFLAGS"
12239 ac_save_CXXFLAGS
="$CXXFLAGS"
12240 ac_save_LIBS
="$LIBS"
12241 CFLAGS
="$CFLAGS $SDL_CFLAGS"
12242 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
12243 LIBS
="$LIBS $SDL_LIBS"
12245 if test "$cross_compiling" = yes; then
12246 echo $ac_n "cross compiling; assumed OK... $ac_c"
12248 cat >conftest.
$ac_ext <<_ACEOF
12251 cat confdefs.h
>>conftest.
$ac_ext
12252 cat >>conftest.
$ac_ext <<_ACEOF
12253 /* end confdefs.h. */
12256 #include <stdlib.h>
12257 #include <string.h>
12261 my_strdup (char *str)
12267 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
12268 strcpy (new_str, str);
12276 int main (int argc, char *argv[])
12278 int major, minor, micro;
12281 /* This hangs on some systems (?)
12282 system ("touch conf.sdltest");
12284 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
12286 /* HP/UX 9 (%@#!) writes to sscanf strings */
12287 tmp_version = my_strdup("$min_sdl_version");
12288 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12289 printf("%s, bad version string\n", "$min_sdl_version");
12293 if (($sdl_major_version > major) ||
12294 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
12295 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
12301 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
12302 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
12303 printf("*** best to upgrade to the required version.\n");
12304 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
12305 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
12306 printf("*** config.cache before re-running configure\n");
12313 rm -f conftest
$ac_exeext
12314 if { (ac_try
="$ac_link"
12315 case "(($ac_try" in
12316 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12317 *) ac_try_echo=$ac_try;;
12319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12320 (eval "$ac_link") 2>&5
12322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12323 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12324 { (case "(($ac_try" in
12325 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12326 *) ac_try_echo
=$ac_try;;
12328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12329 (eval "$ac_try") 2>&5
12331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12332 (exit $ac_status); }; }; then
12335 echo "$as_me: program exited with status $ac_status" >&5
12336 echo "$as_me: failed program was:" >&5
12337 sed 's/^/| /' conftest.
$ac_ext >&5
12339 ( exit $ac_status )
12342 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12346 CFLAGS
="$ac_save_CFLAGS"
12347 CXXFLAGS
="$ac_save_CXXFLAGS"
12348 LIBS
="$ac_save_LIBS"
12351 if test "x$no_sdl" = x
; then
12352 { echo "$as_me:$LINENO: result: yes" >&5
12353 echo "${ECHO_T}yes" >&6; }
12356 { echo "$as_me:$LINENO: result: no" >&5
12357 echo "${ECHO_T}no" >&6; }
12358 if test "$SDL_CONFIG" = "no" ; then
12359 echo "*** The sdl-config script installed by SDL could not be found"
12360 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
12361 echo "*** your path, or set the SDL_CONFIG environment variable to the"
12362 echo "*** full path to sdl-config."
12364 if test -f conf.sdltest
; then
12367 echo "*** Could not run SDL test program, checking why..."
12368 CFLAGS
="$CFLAGS $SDL_CFLAGS"
12369 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
12370 LIBS
="$LIBS $SDL_LIBS"
12371 cat >conftest.
$ac_ext <<_ACEOF
12374 cat confdefs.h
>>conftest.
$ac_ext
12375 cat >>conftest.
$ac_ext <<_ACEOF
12376 /* end confdefs.h. */
12381 int main(int argc, char *argv[])
12384 #define main K_and_R_C_main
12394 rm -f conftest.
$ac_objext conftest
$ac_exeext
12395 if { (ac_try
="$ac_link"
12396 case "(($ac_try" in
12397 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12398 *) ac_try_echo=$ac_try;;
12400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12401 (eval "$ac_link") 2>conftest.er1
12403 grep -v '^ *+' conftest.er1 >conftest.err
12405 cat conftest.err >&5
12406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12407 (exit $ac_status); } && {
12408 test -z "$ac_c_werror_flag" ||
12409 test ! -s conftest.err
12410 } && test -s conftest$ac_exeext &&
12411 $as_test_x conftest$ac_exeext; then
12412 echo "*** The test program compiled, but did not run. This usually means"
12413 echo "*** that the run-time linker is not finding SDL or finding the wrong"
12414 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
12415 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12416 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12417 echo "*** is required on your system"
12419 echo "*** If you have an old version installed, it is best to remove it, although"
12420 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12422 echo "$as_me: failed program was:" >&5
12423 sed 's/^/| /' conftest.$ac_ext >&5
12425 echo "*** The test program failed to compile or link. See the file config.log for the"
12426 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
12427 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
12428 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
12431 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12432 conftest$ac_exeext conftest.$ac_ext
12433 CFLAGS="$ac_save_CFLAGS"
12434 CXXFLAGS="$ac_save_CXXFLAGS"
12435 LIBS="$ac_save_LIBS"
12447 if test "x-$have_sdl" != "x-yes" ; then
12449 if test "x-$sdl_hidd" != "x-auto" ; then
12450 { { echo "$as_me:$LINENO: error: SDL libs/headers not found, cannot build SDL hidd as requested" >&5
12451 echo "$as_me: error: SDL libs/headers not found, cannot build SDL hidd as requested" >&2;}
12452 { (exit 1); exit 1; }; }
12456 sdl_hidd_target=kernel-hidd-sdl
12457 aros_host_sdl_cflags=SDL_CFLAGS
12458 aros_host_sdl_libs=SDL_LIBS
12465 { echo "$as_me:$LINENO: checking if building of dbus.library is enabled" >&5
12466 echo $ECHO_N "checking if building of dbus.library is enabled... $ECHO_C" >&6; }
12467 # Check whether --enable-dbus was given.
12468 if test "${enable_dbus+set}" = set; then
12469 enableval=$enable_dbus; dbus="yes"
12474 if test "$dbus" = "yes" ; then
12476 DBUS_CFLAGS=`pkg-config
--cflags dbus-1
`
12477 DBUS_LIBFLAGS=`pkg-config
--libs dbus-1
`
12478 KERNEL_DBUS_KOBJ=kernel-dbus-kobj
12479 KERNEL_DBUS_INCLUDES=kernel-dbus-includes
12483 { echo "$as_me:$LINENO: result: $dbus" >&5
12484 echo "${ECHO_T}$dbus" >&6; }
12585 # Native version related
12588 # Palm native version related
12591 # Unix/Hosted version related
12594 # Apple iOS related
12616 # Collect-aros stuff: "-ius" to ignore undefined symbols
12619 # C compiler related
12622 case "$aros_flavour" in
12623 emulation) aros_flavour_uc="AROS_FLAVOUR_EMULATION"
12624 aros_flavour="emulation" ;;
12625 emulcompat) aros_flavour_uc="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
12626 aros_flavour="emulation" ;;
12627 standalone) aros_flavour_uc="AROS_FLAVOUR_STANDALONE"
12628 aros_flavour="standalone";;
12629 native) aros_flavour_uc="AROS_FLAVOUR_NATIVE"
12630 aros_flavour="native" ;;
12631 nativecompat) aros_flavour_uc="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
12632 aros_flavour="native" ;;
12633 linklib) aros_flavour_uc="AROS_FLAVOUR_LINKLIB"
12634 aros_flavour="linklib" ;;
12635 palmnative) aros_flavour_uc="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
12636 aros_flavour="palmnative" ;;
12637 mac68knative) aros_flavour_uc="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
12638 aros_flavour="mac68knative" ;;
12639 ppcnative) aros_flavour_uc="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
12640 aros_flavour="ppcnative" ;;
12643 if test ! -d ${aros_inc_dir} ; then
12644 ${MKDIR} ${aros_inc_dir}
12646 if test ! -d ${aros_geninc_dir} ; then
12647 ${MKDIR} ${aros_geninc_dir}
12649 if test ! -d ${aros_hostcfg_dir} ; then
12650 ${MKDIR} ${aros_hostcfg_dir}
12652 if test ! -d ${aros_targetcfg_dir} ; then
12653 ${MKDIR} ${aros_targetcfg_dir}
12655 if test ! -d ${aros_tools_dir} ; then
12656 ${MKDIR} ${aros_tools_dir}
12658 if test ! -d ${aros_scripts_dir} ; then
12659 ${MKDIR} ${aros_scripts_dir}
12662 ac_config_headers="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
12665 ac_config_commands="$ac_config_commands compiler_executable"
12667 ac_config_commands="$ac_config_commands genshared_executable"
12669 ac_config_commands="$ac_config_commands genmf_executable"
12672 ac_config_files="$ac_config_files Makefile 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/collect-aros/env.h"
12675 cat >confcache <<\_ACEOF
12676 # This file is a shell script that caches the results of configure
12677 # tests run on this system so they can be shared between configure
12678 # scripts and configure runs, see configure's option --config-cache.
12679 # It is not useful on other systems. If it contains results you don't
12680 # want to keep, you may remove or edit it.
12682 # config.status only pays attention to the cache file if you give it
12683 # the --recheck option to rerun configure.
12685 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
12686 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12687 # following values.
12691 # The following way of writing the cache mishandles newlines in values,
12692 # but we know of no workaround that is simple, portable, and efficient.
12693 # So, we kill variables containing newlines.
12694 # Ultrix sh set writes to stderr and can't be redirected directly,
12695 # and sets the high bit in the cache file unless we assign to the vars.
12697 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12698 eval ac_val
=\$
$ac_var
12702 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12703 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12706 _ | IFS | as_nl
) ;; #(
12707 *) $as_unset $ac_var ;;
12713 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12714 *${as_nl}ac_space
=\
*)
12715 # `set' does not quote correctly, so add quotes (double-quote
12716 # substitution turns \\\\ into \\, and sed turns \\ into \).
12719 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12722 # `set' quotes correctly as required by POSIX, so do not add quotes.
12723 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12732 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12734 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12736 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12737 if test -w "$cache_file"; then
12738 test "x$cache_file" != "x/dev/null" &&
12739 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12740 echo "$as_me: updating cache $cache_file" >&6;}
12741 cat confcache
>$cache_file
12743 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12744 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12749 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12750 # Let make expand exec_prefix.
12751 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12753 DEFS
=-DHAVE_CONFIG_H
12757 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12758 # 1. Remove the extension, and $U if already installed.
12759 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12760 ac_i
=`echo "$ac_i" | sed "$ac_script"`
12761 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12762 # will be set to the directory where LIBOBJS objects are built.
12763 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12764 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
12766 LIBOBJS
=$ac_libobjs
12768 LTLIBOBJS
=$ac_ltlibobjs
12772 : ${CONFIG_STATUS=./config.status}
12773 ac_clean_files_save
=$ac_clean_files
12774 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12775 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12776 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12777 cat >$CONFIG_STATUS <<_ACEOF
12779 # Generated by $as_me.
12780 # Run this file to recreate the current configuration.
12781 # Compiler output produced by configure, useful for debugging
12782 # configure, is in config.log if it exists.
12785 ac_cs_recheck=false
12787 SHELL=\${CONFIG_SHELL-$SHELL}
12790 cat >>$CONFIG_STATUS <<\_ACEOF
12791 ## --------------------- ##
12792 ## M4sh Initialization. ##
12793 ## --------------------- ##
12795 # Be more Bourne compatible
12796 DUALCASE
=1; export DUALCASE
# for MKS sh
12797 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
12800 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12801 # is contrary to our usage. Disable this feature.
12802 alias -g '${1+"$@"}'='"$@"'
12803 setopt NO_GLOB_SUBST
12805 case `(set -o) 2>/dev/null` in
12806 *posix
*) set -o posix
;;
12815 # Avoid depending upon Character Ranges.
12816 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12817 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12818 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12819 as_cr_digits
='0123456789'
12820 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12822 # The user is always right.
12823 if test "${PATH_SEPARATOR+set}" != set; then
12824 echo "#! /bin/sh" >conf$$.sh
12825 echo "exit 0" >>conf$$.sh
12827 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12835 # Support unset when possible.
12836 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
12844 # We need space, tab and new line, in precisely that order. Quoting is
12845 # there to prevent editors from complaining about space-tab.
12846 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12847 # splitting by setting IFS to empty value.)
12852 # Find who we are. Look in the path if we contain no directory separator.
12854 *[\\/]* ) as_myself
=$0 ;;
12855 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12856 for as_dir
in $PATH
12859 test -z "$as_dir" && as_dir
=.
12860 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
12866 # We did not find ourselves, most probably we were run as `sh COMMAND'
12867 # in which case we are not to be found in the path.
12868 if test "x$as_myself" = x
; then
12871 if test ! -f "$as_myself"; then
12872 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12873 { (exit 1); exit 1; }
12876 # Work around bugs in pre-3.0 UWIN ksh.
12877 for as_var
in ENV MAIL MAILPATH
12878 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
12886 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12887 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12888 LC_TELEPHONE LC_TIME
12890 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12891 eval $as_var=C
; export $as_var
12893 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
12897 # Required to use basename.
12898 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12899 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12905 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12906 as_basename
=basename
12912 # Name of the executable.
12913 as_me
=`$as_basename -- "$0" ||
12914 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12915 X"$0" : 'X\(//\)$' \| \
12916 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12918 sed '/^.*\/\([^/][^/]*\)\/*$/{
12937 as_lineno_1
=$LINENO
12938 as_lineno_2
=$LINENO
12939 test "x$as_lineno_1" != "x$as_lineno_2" &&
12940 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
12942 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12943 # uniformly replaced by the line number. The first 'sed' inserts a
12944 # line-number line after each line using $LINENO; the second 'sed'
12945 # does the real work. The second script uses 'N' to pair each
12946 # line-number line with the line containing $LINENO, and appends
12947 # trailing '-' during substitution so that $LINENO is not a special
12948 # case at line end.
12949 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12950 # scripts with optimization help from Paolo Bonzini. Blame Lee
12951 # E. McMahon (1931-1989) for sed's syntax. :-)
12963 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
12966 ' >$as_me.lineno
&&
12967 chmod +x
"$as_me.lineno" ||
12968 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
12969 { (exit 1); exit 1; }; }
12971 # Don't try to exec as it changes $[0], causing all sort of problems
12972 # (the dirname of $[0] is not the place where we might find the
12973 # original and so on. Autoconf is especially sensitive to this).
12974 .
"./$as_me.lineno"
12975 # Exit status is that of the last command.
12980 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12986 ECHO_C
= ECHO_N
= ECHO_T
=
12987 case `echo -n x` in
12989 case `echo 'x\c'` in
12990 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12997 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12998 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13004 rm -f conf$$ conf$$.exe conf$$.
file
13005 if test -d conf$$.dir
; then
13006 rm -f conf$$.dir
/conf$$.
file
13012 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13014 # ... but there are two gotchas:
13015 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13016 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13017 # In both cases, we have to default to `cp -p'.
13018 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13020 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13025 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13026 rmdir conf$$.dir
2>/dev
/null
13028 if mkdir
-p .
2>/dev
/null
; then
13031 test -d .
/-p && rmdir .
/-p
13035 if test -x / >/dev
/null
2>&1; then
13036 as_test_x
='test -x'
13038 if ls -dL / >/dev
/null
2>&1; then
13045 if test -d "$1"; then
13051 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13052 ???[sx]*):;;*)false;;esac;fi
13056 as_executable_p
=$as_test_x
13058 # Sed expression to map a string onto a valid CPP name.
13059 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13061 # Sed expression to map a string onto a valid variable name.
13062 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13067 # Save the log message, to keep $[0] and so on meaningful, and to
13068 # report actual input values of CONFIG_FILES etc. instead of their
13069 # values after options handling.
13071 This file was extended by $as_me, which was
13072 generated by GNU Autoconf 2.61. Invocation command line was
13074 CONFIG_FILES = $CONFIG_FILES
13075 CONFIG_HEADERS = $CONFIG_HEADERS
13076 CONFIG_LINKS = $CONFIG_LINKS
13077 CONFIG_COMMANDS = $CONFIG_COMMANDS
13080 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13085 cat >>$CONFIG_STATUS <<_ACEOF
13086 # Files that config.status was made for.
13087 config_files="$ac_config_files"
13088 config_headers="$ac_config_headers"
13089 config_commands="$ac_config_commands"
13093 cat >>$CONFIG_STATUS <<\_ACEOF
13095 \`$as_me' instantiates files from templates according to the
13096 current configuration.
13098 Usage: $0 [OPTIONS] [FILE]...
13100 -h, --help print this help, then exit
13101 -V, --version print version number and configuration settings, then exit
13102 -q, --quiet do not print progress messages
13103 -d, --debug don't remove temporary files
13104 --recheck update $as_me by reconfiguring in the same conditions
13105 --file=FILE[:TEMPLATE]
13106 instantiate the configuration file FILE
13107 --header=FILE[:TEMPLATE]
13108 instantiate the configuration header FILE
13110 Configuration files:
13113 Configuration headers:
13116 Configuration commands:
13119 Report bugs to <bug-autoconf@gnu.org>."
13122 cat >>$CONFIG_STATUS <<_ACEOF
13125 configured by $0, generated by GNU Autoconf 2.61,
13126 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13128 Copyright (C) 2006 Free Software Foundation, Inc.
13129 This config.status script is free software; the Free Software Foundation
13130 gives unlimited permission to copy, distribute and modify it."
13136 cat >>$CONFIG_STATUS <<\_ACEOF
13137 # If no file are specified by the user, then we need to provide default
13138 # value. By we need to know if files were specified by the user.
13144 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13145 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13156 # Handling of the options.
13157 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13159 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13160 echo "$ac_cs_version"; exit ;;
13161 --debug |
--debu |
--deb |
--de |
--d |
-d )
13163 --file |
--fil |
--fi |
--f )
13165 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
13166 ac_need_defaults
=false
;;
13167 --header |
--heade |
--head |
--hea )
13169 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
13170 ac_need_defaults
=false
;;
13172 # Conflict between --help and --header
13173 { echo "$as_me: error: ambiguous option: $1
13174 Try \`$0 --help' for more information." >&2
13175 { (exit 1); exit 1; }; };;
13176 --help |
--hel |
-h )
13177 echo "$ac_cs_usage"; exit ;;
13178 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13179 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13182 # This is an error.
13183 -*) { echo "$as_me: error: unrecognized option: $1
13184 Try \`$0 --help' for more information." >&2
13185 { (exit 1); exit 1; }; } ;;
13187 *) ac_config_targets
="$ac_config_targets $1"
13188 ac_need_defaults
=false
;;
13194 ac_configure_extra_args
=
13196 if $ac_cs_silent; then
13198 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13202 cat >>$CONFIG_STATUS <<_ACEOF
13203 if \$ac_cs_recheck; then
13204 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13205 CONFIG_SHELL=$SHELL
13206 export CONFIG_SHELL
13207 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13211 cat >>$CONFIG_STATUS <<\_ACEOF
13215 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13216 ## Running $as_me. ##
13222 cat >>$CONFIG_STATUS <<_ACEOF
13227 aros_host_exe_suffix=${aros_host_exe_suffix}
13228 aros_tools_dir=${aros_tools_dir}
13229 aros_target_cpu=${aros_target_cpu}
13230 aros_target_arch=${aros_target_arch}
13231 aros_target_suffix=${aros_target_suffix}
13232 aros_target_nm_ln=${aros_target_nm_ln}
13233 aros_target_as_ln=${aros_target_as_ln}
13234 aros_target_ar_ln=${aros_target_ar_ln}
13235 aros_target_ranlib_ln=${aros_target_ranlib_ln}
13236 aros_target_objdump_ln=${aros_target_objdump_ln}
13237 aros_target_objcopy_ln=${aros_target_objcopy_ln}
13238 aros_target_strip_ln=${aros_target_strip_ln}
13241 aros_scripts_dir=${aros_scripts_dir}
13243 aros_tools_dir=${aros_tools_dir}
13248 cat >>$CONFIG_STATUS <<\_ACEOF
13250 # Handling of arguments.
13251 for ac_config_target
in $ac_config_targets
13253 case $ac_config_target in
13254 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
13255 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
13256 "genshared_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genshared_executable" ;;
13257 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
13258 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13259 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
13260 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
13261 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
13262 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
13263 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
13264 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
13265 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
13266 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
13267 "${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" ;;
13268 "${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" ;;
13269 "${aros_scripts_dir}/genshared") CONFIG_FILES
="$CONFIG_FILES ${aros_scripts_dir}/genshared:compiler/c_lib/source/lib_source/genshared.in" ;;
13270 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
13271 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
13273 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13274 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13275 { (exit 1); exit 1; }; };;
13280 # If the user did not use the arguments to specify the items to instantiate,
13281 # then the envvar interface is used. Set only those that are not.
13282 # We use the long form for the default assignment because of an extremely
13283 # bizarre bug on SunOS 4.1.3.
13284 if $ac_need_defaults; then
13285 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13286 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13287 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13290 # Have a temporary directory for convenience. Make it in the build tree
13291 # simply because there is no reason against having it here, and in addition,
13292 # creating and moving files from /tmp can sometimes cause problems.
13293 # Hook for its removal unless debugging.
13294 # Note that there is a small window in which the directory will not be cleaned:
13295 # after its creation but before its name has been assigned to `$tmp'.
13299 trap 'exit_status=$?
13300 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13302 trap '{ (exit 1); exit 1; }' 1 2 13 15
13304 # Create a (secure) tmp directory for tmp files.
13307 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13308 test -n "$tmp" && test -d "$tmp"
13311 tmp
=.
/conf$$
-$RANDOM
13312 (umask 077 && mkdir
"$tmp")
13315 echo "$me: cannot create a temporary directory in ." >&2
13316 { (exit 1); exit 1; }
13320 # Set up the sed scripts for CONFIG_FILES section.
13323 # No need to generate the scripts if there are no CONFIG_FILES.
13324 # This happens for instance when ./config.status config.h
13325 if test -n "$CONFIG_FILES"; then
13332 for ac_last_try
in false false false false false
:; do
13333 cat >conf$
$subs.
sed <<_ACEOF
13334 SHELL!$SHELL$ac_delim
13335 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
13336 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
13337 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
13338 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
13339 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
13340 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
13341 exec_prefix!$exec_prefix$ac_delim
13342 prefix!$prefix$ac_delim
13343 program_transform_name!$program_transform_name$ac_delim
13344 bindir!$bindir$ac_delim
13345 sbindir!$sbindir$ac_delim
13346 libexecdir!$libexecdir$ac_delim
13347 datarootdir!$datarootdir$ac_delim
13348 datadir!$datadir$ac_delim
13349 sysconfdir!$sysconfdir$ac_delim
13350 sharedstatedir!$sharedstatedir$ac_delim
13351 localstatedir!$localstatedir$ac_delim
13352 includedir!$includedir$ac_delim
13353 oldincludedir!$oldincludedir$ac_delim
13354 docdir!$docdir$ac_delim
13355 infodir!$infodir$ac_delim
13356 htmldir!$htmldir$ac_delim
13357 dvidir!$dvidir$ac_delim
13358 pdfdir!$pdfdir$ac_delim
13359 psdir!$psdir$ac_delim
13360 libdir!$libdir$ac_delim
13361 localedir!$localedir$ac_delim
13362 mandir!$mandir$ac_delim
13363 DEFS!$DEFS$ac_delim
13364 ECHO_C!$ECHO_C$ac_delim
13365 ECHO_N!$ECHO_N$ac_delim
13366 ECHO_T!$ECHO_T$ac_delim
13367 LIBS!$LIBS$ac_delim
13368 build_alias!$build_alias$ac_delim
13369 host_alias!$host_alias$ac_delim
13370 target_alias!$target_alias$ac_delim
13371 build!$build$ac_delim
13372 build_cpu!$build_cpu$ac_delim
13373 build_vendor!$build_vendor$ac_delim
13374 build_os!$build_os$ac_delim
13375 host!$host$ac_delim
13376 host_cpu!$host_cpu$ac_delim
13377 host_vendor!$host_vendor$ac_delim
13378 host_os!$host_os$ac_delim
13380 CFLAGS!$CFLAGS$ac_delim
13381 LDFLAGS!$LDFLAGS$ac_delim
13382 CPPFLAGS!$CPPFLAGS$ac_delim
13383 ac_ct_CC!$ac_ct_CC$ac_delim
13384 EXEEXT!$EXEEXT$ac_delim
13385 OBJEXT!$OBJEXT$ac_delim
13388 MMAKE!$MMAKE$ac_delim
13389 aros_host_ld!$aros_host_ld$ac_delim
13390 aros_host_aclocal!$aros_host_aclocal$ac_delim
13391 aros_host_autoconf!$aros_host_autoconf$ac_delim
13392 aros_host_autoheader!$aros_host_autoheader$ac_delim
13393 aros_host_automake!$aros_host_automake$ac_delim
13394 aros_host_ar!$aros_host_ar$ac_delim
13395 aros_host_ranlib!$aros_host_ranlib$ac_delim
13396 aros_host_strip!$aros_host_strip$ac_delim
13400 ECHO!$ECHO$ac_delim
13401 MKDIR!$MKDIR$ac_delim
13402 TOUCH!$TOUCH$ac_delim
13403 SORT!$SORT$ac_delim
13404 UNIQ!$UNIQ$ac_delim
13407 BISON!$BISON$ac_delim
13408 FLEX!$FLEX$ac_delim
13409 PNGTOPNM!$PNGTOPNM$ac_delim
13410 PPMTOILBM!$PPMTOILBM$ac_delim
13412 CHMOD!$CHMOD$ac_delim
13413 PYTHON!$PYTHON$ac_delim
13414 PYTHON_VERSION!$PYTHON_VERSION$ac_delim
13415 PYTHON_PREFIX!$PYTHON_PREFIX$ac_delim
13416 PYTHON_EXEC_PREFIX!$PYTHON_EXEC_PREFIX$ac_delim
13417 PYTHON_PLATFORM!$PYTHON_PLATFORM$ac_delim
13418 pythondir!$pythondir$ac_delim
13419 pkgpythondir!$pkgpythondir$ac_delim
13420 pyexecdir!$pyexecdir$ac_delim
13421 pkgpyexecdir!$pkgpyexecdir$ac_delim
13424 TEST!$TEST$ac_delim
13426 GREP!$GREP$ac_delim
13427 EGREP!$EGREP$ac_delim
13428 LIBOBJS!$LIBOBJS$ac_delim
13429 DISTCC!$DISTCC$ac_delim
13430 CCACHE!$CCACHE$ac_delim
13433 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
13435 elif $ac_last_try; then
13436 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13437 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13438 { (exit 1); exit 1; }; }
13440 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
13444 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13445 if test -n "$ac_eof"; then
13446 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
13447 ac_eof
=`expr $ac_eof + 1`
13450 cat >>$CONFIG_STATUS <<_ACEOF
13451 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
13452 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13455 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13456 s/^/s,@/; s/!/@,|#_!!_#|/
13459 s/'"$ac_delim"'$/,g/; t
13461 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13462 ' >>$CONFIG_STATUS <conf$
$subs.
sed
13463 rm -f conf$
$subs.
sed
13464 cat >>$CONFIG_STATUS <<_ACEOF
13470 for ac_last_try
in false false false false false
:; do
13471 cat >conf$
$subs.
sed <<_ACEOF
13472 aros_target_cc!$aros_target_cc$ac_delim
13473 aros_target_ld!$aros_target_ld$ac_delim
13474 aros_target_as_ln!$aros_target_as_ln$ac_delim
13475 aros_kernel_ld!$aros_kernel_ld$ac_delim
13476 aros_target_ar_ln!$aros_target_ar_ln$ac_delim
13477 aros_target_nm_ln!$aros_target_nm_ln$ac_delim
13478 aros_target_objcopy_ln!$aros_target_objcopy_ln$ac_delim
13479 aros_target_objdump_ln!$aros_target_objdump_ln$ac_delim
13480 aros_target_ranlib_ln!$aros_target_ranlib_ln$ac_delim
13481 aros_target_strip_ln!$aros_target_strip_ln$ac_delim
13482 aros_kernel_rescomp!$aros_kernel_rescomp$ac_delim
13483 aros_target_nostdinc_cflags!$aros_target_nostdinc_cflags$ac_delim
13484 aros_target_nostartup_ldflags!$aros_target_nostartup_ldflags$ac_delim
13485 aros_target_nix_ldflags!$aros_target_nix_ldflags$ac_delim
13486 aros_target_detach_ldflags!$aros_target_detach_ldflags$ac_delim
13487 aros_target_nostdlib_ldflags!$aros_target_nostdlib_ldflags$ac_delim
13488 host_cflags_iquote!$host_cflags_iquote$ac_delim
13489 host_cflags_iquote_end!$host_cflags_iquote_end$ac_delim
13490 kernel_cflags_iquote!$kernel_cflags_iquote$ac_delim
13491 kernel_cflags_iquote_end!$kernel_cflags_iquote_end$ac_delim
13492 aros_cflags_iquote!$aros_cflags_iquote$ac_delim
13493 aros_cflags_iquote_end!$aros_cflags_iquote_end$ac_delim
13494 XMKMF!$XMKMF$ac_delim
13495 SDL_CONFIG!$SDL_CONFIG$ac_delim
13496 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
13497 SDL_LIBS!$SDL_LIBS$ac_delim
13498 aros_arch!$aros_arch$ac_delim
13499 aros_cpu!$aros_cpu$ac_delim
13500 aros_flavour!$aros_flavour$ac_delim
13501 aros_flavour_uc!$aros_flavour_uc$ac_delim
13502 AROS_BUILDDIR!$AROS_BUILDDIR$ac_delim
13503 AROS_BUILDDIR_UNIX!$AROS_BUILDDIR_UNIX$ac_delim
13504 SRCDIR!$SRCDIR$ac_delim
13505 AROS_PORTSSRCDIR!$AROS_PORTSSRCDIR$ac_delim
13506 aros_cc_pre!$aros_cc_pre$ac_delim
13507 aros_host_arch!$aros_host_arch$ac_delim
13508 aros_host_cpu!$aros_host_cpu$ac_delim
13509 aros_host_cc!$aros_host_cc$ac_delim
13510 aros_host_make!$aros_host_make$ac_delim
13511 aros_host_cflags!$aros_host_cflags$ac_delim
13512 aros_host_ldflags!$aros_host_ldflags$ac_delim
13513 aros_host_debug!$aros_host_debug$ac_delim
13514 aros_host_mkdep!$aros_host_mkdep$ac_delim
13515 aros_host_mkargs!$aros_host_mkargs$ac_delim
13516 aros_host_exe_suffix!$aros_host_exe_suffix$ac_delim
13517 aros_host_lib_suffix!$aros_host_lib_suffix$ac_delim
13518 aros_tools_dir!$aros_tools_dir$ac_delim
13519 aros_target_guitheme!$aros_target_guitheme$ac_delim
13520 aros_target_iconset!$aros_target_iconset$ac_delim
13521 aros_target_bootloader!$aros_target_bootloader$ac_delim
13522 aros_target_arch!$aros_target_arch$ac_delim
13523 aros_target_cpu!$aros_target_cpu$ac_delim
13524 aros_target_variant!$aros_target_variant$ac_delim
13525 aros_target_suffix!$aros_target_suffix$ac_delim
13526 aros_target_incl!$aros_target_incl$ac_delim
13527 aros_target_ar!$aros_target_ar$ac_delim
13528 aros_target_ranlib!$aros_target_ranlib$ac_delim
13529 aros_kernel_nm!$aros_kernel_nm$ac_delim
13530 orig_target_cc!$orig_target_cc$ac_delim
13531 aros_target_cxx!$aros_target_cxx$ac_delim
13532 aros_kernel_cc!$aros_kernel_cc$ac_delim
13533 aros_target_as!$aros_target_as$ac_delim
13534 orig_target_ld!$orig_target_ld$ac_delim
13535 aros_target_cc_includes!$aros_target_cc_includes$ac_delim
13536 aros_target_cc_path!$aros_target_cc_path$ac_delim
13537 aros_target_objdump!$aros_target_objdump$ac_delim
13538 aros_target_objcopy!$aros_target_objcopy$ac_delim
13539 aros_target_strip!$aros_target_strip$ac_delim
13540 aros_target_nm!$aros_target_nm$ac_delim
13541 aros_shared_default!$aros_shared_default$ac_delim
13542 aros_shared_ld!$aros_shared_ld$ac_delim
13543 aros_object_format!$aros_object_format$ac_delim
13544 aros_compiler_libs!$aros_compiler_libs$ac_delim
13545 aros_arch_libs!$aros_arch_libs$ac_delim
13546 aros_config_cflags!$aros_config_cflags$ac_delim
13547 aros_config_aflags!$aros_config_aflags$ac_delim
13548 aros_config_ldflags!$aros_config_ldflags$ac_delim
13549 aros_shared_cflags!$aros_shared_cflags$ac_delim
13550 aros_shared_aflags!$aros_shared_aflags$ac_delim
13551 aros_shared_ldflags!$aros_shared_ldflags$ac_delim
13552 aros_kernel_cflags!$aros_kernel_cflags$ac_delim
13553 aros_kernel_objcflags!$aros_kernel_objcflags$ac_delim
13554 aros_kernel_ldflags!$aros_kernel_ldflags$ac_delim
13555 aros_debug_cflags!$aros_debug_cflags$ac_delim
13556 aros_debug_aflags!$aros_debug_aflags$ac_delim
13557 aros_debug_ldflags!$aros_debug_ldflags$ac_delim
13558 aros_target_genmap!$aros_target_genmap$ac_delim
13559 aros_target_strip_flags!$aros_target_strip_flags$ac_delim
13560 x11_hidd_target!$x11_hidd_target$ac_delim
13561 sdl_hidd_target!$sdl_hidd_target$ac_delim
13562 aros_default_wbwidth!$aros_default_wbwidth$ac_delim
13563 aros_default_wbheight!$aros_default_wbheight$ac_delim
13564 aros_default_wbdepth!$aros_default_wbdepth$ac_delim
13565 DO_XSHM_SUPPORT!$DO_XSHM_SUPPORT$ac_delim
13566 DO_VIDMODE_SUPPORT!$DO_VIDMODE_SUPPORT$ac_delim
13567 aros_host_x11_includes!$aros_host_x11_includes$ac_delim
13568 aros_host_x11_libdirs!$aros_host_x11_libdirs$ac_delim
13571 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
13573 elif $ac_last_try; then
13574 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13575 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13576 { (exit 1); exit 1; }; }
13578 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
13582 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13583 if test -n "$ac_eof"; then
13584 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
13585 ac_eof
=`expr $ac_eof + 1`
13588 cat >>$CONFIG_STATUS <<_ACEOF
13589 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
13590 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13593 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13594 s/^/s,@/; s/!/@,|#_!!_#|/
13597 s/'"$ac_delim"'$/,g/; t
13599 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13600 ' >>$CONFIG_STATUS <conf$
$subs.
sed
13601 rm -f conf$
$subs.
sed
13602 cat >>$CONFIG_STATUS <<_ACEOF
13608 for ac_last_try
in false false false false false
:; do
13609 cat >conf$
$subs.
sed <<_ACEOF
13610 aros_host_sdl_cflags!$aros_host_sdl_cflags$ac_delim
13611 aros_host_sdl_libs!$aros_host_sdl_libs$ac_delim
13612 aros_serial_debug!$aros_serial_debug$ac_delim
13613 aros_palm_debug_hack!$aros_palm_debug_hack$ac_delim
13614 aros_nesting_supervisor!$aros_nesting_supervisor$ac_delim
13615 aros_xcode_path!$aros_xcode_path$ac_delim
13616 aros_ios_platform!$aros_ios_platform$ac_delim
13617 aros_ios_version!$aros_ios_version$ac_delim
13618 aros_ios_sdk!$aros_ios_sdk$ac_delim
13619 ENABLE_DBUS!$ENABLE_DBUS$ac_delim
13620 DBUS_CFLAGS!$DBUS_CFLAGS$ac_delim
13621 DBUS_LIBFLAGS!$DBUS_LIBFLAGS$ac_delim
13622 KERNEL_DBUS_KOBJ!$KERNEL_DBUS_KOBJ$ac_delim
13623 KERNEL_DBUS_INCLUDES!$KERNEL_DBUS_INCLUDES$ac_delim
13624 ENABLE_X11!$ENABLE_X11$ac_delim
13625 aros_debug!$aros_debug$ac_delim
13626 aros_mungwall_debug!$aros_mungwall_debug$ac_delim
13627 aros_stack_debug!$aros_stack_debug$ac_delim
13628 aros_modules_debug!$aros_modules_debug$ac_delim
13629 ignore_undefined_symbols!$ignore_undefined_symbols$ac_delim
13630 gcc_target_cpu!$gcc_target_cpu$ac_delim
13631 LTLIBOBJS!$LTLIBOBJS$ac_delim
13634 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 22; then
13636 elif $ac_last_try; then
13637 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13638 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13639 { (exit 1); exit 1; }; }
13641 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
13645 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13646 if test -n "$ac_eof"; then
13647 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
13648 ac_eof
=`expr $ac_eof + 1`
13651 cat >>$CONFIG_STATUS <<_ACEOF
13652 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
13653 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
13656 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13657 s/^/s,@/; s/!/@,|#_!!_#|/
13660 s/'"$ac_delim"'$/,g/; t
13662 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13663 ' >>$CONFIG_STATUS <conf$
$subs.
sed
13664 rm -f conf$
$subs.
sed
13665 cat >>$CONFIG_STATUS <<_ACEOF
13672 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13673 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13674 # trailing colons and then remove the whole line if VPATH becomes empty
13675 # (actually we leave an empty line to preserve line numbers).
13676 if test "x$srcdir" = x.
; then
13677 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
13678 s/:*\$(srcdir):*/:/
13679 s/:*\${srcdir}:*/:/
13681 s/^\([^=]*=[ ]*\):*/\1/
13687 cat >>$CONFIG_STATUS <<\_ACEOF
13688 fi # test -n "$CONFIG_FILES"
13691 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
13694 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13696 case $ac_mode$ac_tag in
13698 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
13699 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
13700 { (exit 1); exit 1; }; };;
13701 :[FH
]-) ac_tag
=-:-;;
13702 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13719 -) ac_f
="$tmp/stdin";;
13720 *) # Look for the file first in the build tree, then in the source tree
13721 # (if the path is not absolute). The absolute path cannot be DOS-style,
13722 # because $ac_f cannot contain `:'.
13726 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13728 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
13729 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
13730 { (exit 1); exit 1; }; };;
13732 ac_file_inputs
="$ac_file_inputs $ac_f"
13735 # Let's still pretend it is `configure' which instantiates (i.e., don't
13736 # use $as_me), people would be surprised to read:
13737 # /* config.h. Generated by config.status. */
13738 configure_input
="Generated from "`IFS=:
13739 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
13740 if test x
"$ac_file" != x-
; then
13741 configure_input
="$ac_file. $configure_input"
13742 { echo "$as_me:$LINENO: creating $ac_file" >&5
13743 echo "$as_me: creating $ac_file" >&6;}
13747 *:-:* |
*:-) cat >"$tmp/stdin";;
13752 ac_dir
=`$as_dirname -- "$ac_file" ||
13753 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13754 X"$ac_file" : 'X\(//\)[^/]' \| \
13755 X"$ac_file" : 'X\(//\)$' \| \
13756 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13758 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13762 /^X\(\/\/\)[^/].*/{
13777 -*) as_dir
=.
/$as_dir;;
13779 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
13783 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
13784 *) as_qdir
=$as_dir;;
13786 as_dirs
="'$as_qdir' $as_dirs"
13787 as_dir
=`$as_dirname -- "$as_dir" ||
13788 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13789 X"$as_dir" : 'X\(//\)[^/]' \| \
13790 X"$as_dir" : 'X\(//\)$' \| \
13791 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13793 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13797 /^X\(\/\/\)[^/].*/{
13810 test -d "$as_dir" && break
13812 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13813 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13814 echo "$as_me: error: cannot create directory $as_dir" >&2;}
13815 { (exit 1); exit 1; }; }; }
13819 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13821 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13822 # A ".." for each directory in $ac_dir_suffix.
13823 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
13824 case $ac_top_builddir_sub in
13825 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13826 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13829 ac_abs_top_builddir
=$ac_pwd
13830 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13831 # for backward compatibility:
13832 ac_top_builddir
=$ac_top_build_prefix
13835 .
) # We are building in place.
13837 ac_top_srcdir
=$ac_top_builddir_sub
13838 ac_abs_top_srcdir
=$ac_pwd ;;
13839 [\\/]* | ?
:[\\/]* ) # Absolute name.
13840 ac_srcdir
=$srcdir$ac_dir_suffix;
13841 ac_top_srcdir
=$srcdir
13842 ac_abs_top_srcdir
=$srcdir ;;
13843 *) # Relative name.
13844 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13845 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13846 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13848 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13859 cat >>$CONFIG_STATUS <<\_ACEOF
13860 # If the template does not know about datarootdir, expand it.
13861 # FIXME: This hack should be removed a few years after 2.60.
13862 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13864 case `sed -n '/datarootdir/ {
13873 ' $ac_file_inputs` in
13874 *datarootdir
*) ac_datarootdir_seen
=yes;;
13875 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13876 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13877 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13879 cat >>$CONFIG_STATUS <<_ACEOF
13880 ac_datarootdir_hack='
13881 s&@datadir@&$datadir&g
13882 s&@docdir@&$docdir&g
13883 s&@infodir@&$infodir&g
13884 s&@localedir@&$localedir&g
13885 s&@mandir@&$mandir&g
13886 s&\\\${datarootdir}&$datarootdir&g' ;;
13890 # Neutralize VPATH when `$srcdir' = `.'.
13891 # Shell code in configure.ac might set extrasub.
13892 # FIXME: do we really want to maintain this feature?
13893 cat >>$CONFIG_STATUS <<_ACEOF
13897 cat >>$CONFIG_STATUS <<\_ACEOF
13899 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13900 s
&@configure_input@
&$configure_input&;t t
13901 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13902 s
&@srcdir@
&$ac_srcdir&;t t
13903 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13904 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13905 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13906 s
&@builddir@
&$ac_builddir&;t t
13907 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13908 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13909 $ac_datarootdir_hack
13910 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" | sed -f "$tmp/subs-3.
sed" >$tmp/out
13912 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13913 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
13914 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
13915 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13916 which seems to be undefined. Please make sure it is defined." >&5
13917 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13918 which seems to be undefined. Please make sure it is defined." >&2;}
13922 -) cat "$tmp/out"; rm -f "$tmp/out";;
13923 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
13932 # Transform confdefs.h into a sed script `conftest.defines', that
13933 # substitutes the proper values into config.h.in to produce config.h.
13934 rm -f conftest.defines conftest.
tail
13935 # First, append a space to every undef/define line, to ease matching.
13936 echo 's/$/ /' >conftest.defines
13937 # Then, protect against being on the right side of a sed subst, or in
13938 # an unquoted here document, in config.status. If some macros were
13939 # called several times there might be several #defines for the same
13940 # symbol, which is useless. But do not sort them, since the last
13941 # AC_DEFINE must be honored.
13942 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
13943 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
13944 # NAME is the cpp macro being defined, VALUE is the value it is being given.
13945 # PARAMS is the parameter list in the macro definition--in most cases, it's
13946 # just an empty string.
13947 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
13948 ac_dB
='\\)[ (].*,\\1define\\2'
13956 s/^[ ]*#[ ]*define[ ][ ]*//
13961 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
13962 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
13963 ' >>conftest.defines
13965 # Remove the space that was appended to ease matching.
13966 # Then replace #undef with comments. This is necessary, for
13967 # example, in the case of _POSIX_SOURCE, which is predefined and required
13968 # on some systems where configure will not decide to define it.
13969 # (The regexp can be short, since the line contains either #define or #undef.)
13971 s,^[ #]*u.*,/* & */,' >>conftest.defines
13973 # Break up conftest.defines:
13974 ac_max_sed_lines
=50
13976 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
13977 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
13978 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
13980 ac_in
='$ac_file_inputs'
13981 ac_out
='"$tmp/out1"'
13982 ac_nxt
='"$tmp/out2"'
13986 # Write a here document:
13987 cat >>$CONFIG_STATUS <<_ACEOF
13988 # First, check the format of the line:
13989 cat >"\$tmp/defines.sed" <<\\CEOF
13990 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
13991 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
13995 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
13997 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
13998 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
13999 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
14000 grep . conftest.
tail >/dev
/null ||
break
14001 rm -f conftest.defines
14002 mv conftest.
tail conftest.defines
14004 rm -f conftest.defines conftest.
tail
14006 echo "ac_result=$ac_in" >>$CONFIG_STATUS
14007 cat >>$CONFIG_STATUS <<\_ACEOF
14008 if test x
"$ac_file" != x-
; then
14009 echo "/* $configure_input */" >"$tmp/config.h"
14010 cat "$ac_result" >>"$tmp/config.h"
14011 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
14012 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14013 echo "$as_me: $ac_file is unchanged" >&6;}
14016 mv "$tmp/config.h" $ac_file
14019 echo "/* $configure_input */"
14025 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
14026 echo "$as_me: executing $ac_file commands" >&6;}
14031 case $ac_file$ac_mode in
14032 "compiler_executable":C
)
14033 prefix
=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
14035 prefix
="${prefix}/${aros_target_cpu}-aros"
14036 prefix2
=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
14040 chmod a
+x
${prefix2}-gcc ${prefix2}-ld
14042 ln -sf ${prefix2}-gcc ${prefix}-gcc
14043 ln -sf ${prefix2}-ld ${prefix}-ld
14045 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix}-as
14046 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix}-nm
14047 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix}-ar
14048 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix}-ranlib
14049 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix}-objcopy
14050 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix}-objdump
14051 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix}-strip
14053 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix2}-as
14054 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix2}-nm
14055 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix2}-ar
14056 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix2}-ranlib
14057 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix2}-objcopy
14058 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix2}-objdump
14059 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix2}-strip
14061 "genshared_executable":C
) chmod a
+x
${aros_scripts_dir}/genshared
;;
14062 "genmf_executable":C
) chmod a
+x
${aros_tools_dir}/genmf.py
;;
14068 { (exit 0); exit 0; }
14070 chmod +x
$CONFIG_STATUS
14071 ac_clean_files
=$ac_clean_files_save
14074 # configure is writing to config.log, and then calls config.status.
14075 # config.status does its own redirection, appending to config.log.
14076 # Unfortunately, on DOS this fails, as config.log is still kept open
14077 # by configure, so config.status won't be able to write to it; its
14078 # output is simply discarded. So we exec the FD to /dev/null,
14079 # effectively closing config.log, so it can be properly (re)opened and
14080 # appended to by config.status. When coming back to configure, we
14081 # need to make the FD available again.
14082 if test "$no_create" != yes; then
14084 ac_config_status_args
=
14085 test "$silent" = yes &&
14086 ac_config_status_args
="$ac_config_status_args --quiet"
14088 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14090 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14091 # would make configure fail if this is the last instruction.
14092 $ac_cs_success ||
{ (exit 1); exit 1; }
14097 #XXX compatability...
14098 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
14100 if test -n "$aros_shared_cflags" ; then
14101 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
14102 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg