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
799 aros_target_strip_flags
803 aros_default_wbheight
807 aros_host_x11_includes
808 aros_host_x11_libdirs
813 aros_nesting_supervisor
824 ignore_undefined_symbols
828 ac_precious_vars
='build_alias
840 # Initialize some variables set by options.
842 ac_init_version
=false
843 # The variables have the same names as the options, with
844 # dashes changed to underlines.
852 program_transform_name
=s
,x
,x
,
860 # Installation directory options.
861 # These are left unexpanded so users can "make install exec_prefix=/foo"
862 # and all the variables that are supposed to be based on exec_prefix
863 # by default will actually change.
864 # Use braces instead of parens because sh, perl, etc. also accept them.
865 # (The list follows the same order as the GNU Coding Standards.)
866 bindir
='${exec_prefix}/bin'
867 sbindir
='${exec_prefix}/sbin'
868 libexecdir
='${exec_prefix}/libexec'
869 datarootdir
='${prefix}/share'
870 datadir
='${datarootdir}'
871 sysconfdir
='${prefix}/etc'
872 sharedstatedir
='${prefix}/com'
873 localstatedir
='${prefix}/var'
874 includedir
='${prefix}/include'
875 oldincludedir
='/usr/include'
876 docdir
='${datarootdir}/doc/${PACKAGE}'
877 infodir
='${datarootdir}/info'
882 libdir
='${exec_prefix}/lib'
883 localedir
='${datarootdir}/locale'
884 mandir
='${datarootdir}/man'
890 # If the previous option needs an argument, assign it.
891 if test -n "$ac_prev"; then
892 eval $ac_prev=\
$ac_option
898 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
902 # Accept the important Cygnus configure options, so we can diagnose typos.
904 case $ac_dashdash$ac_option in
908 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
910 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
913 -build |
--build |
--buil |
--bui |
--bu)
914 ac_prev
=build_alias
;;
915 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
916 build_alias
=$ac_optarg ;;
918 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
919 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
920 ac_prev
=cache_file
;;
921 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
922 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
923 cache_file
=$ac_optarg ;;
926 cache_file
=config.cache
;;
928 -datadir |
--datadir |
--datadi |
--datad)
930 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
931 datadir
=$ac_optarg ;;
933 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
934 |
--dataroo |
--dataro |
--datar)
935 ac_prev
=datarootdir
;;
936 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
937 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
938 datarootdir
=$ac_optarg ;;
940 -disable-* |
--disable-*)
941 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
942 # Reject names that are not valid shell variable names.
943 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
944 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
945 { (exit 1); exit 1; }; }
946 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
947 eval enable_
$ac_feature=no
;;
949 -docdir |
--docdir |
--docdi |
--doc |
--do)
951 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
954 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
956 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
959 -enable-* |
--enable-*)
960 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
961 # Reject names that are not valid shell variable names.
962 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
963 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
964 { (exit 1); exit 1; }; }
965 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
966 eval enable_
$ac_feature=\
$ac_optarg ;;
968 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
969 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
970 |
--exec |
--exe |
--ex)
971 ac_prev
=exec_prefix
;;
972 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
973 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
974 |
--exec=* |
--exe=* |
--ex=*)
975 exec_prefix
=$ac_optarg ;;
977 -gas |
--gas |
--ga |
--g)
978 # Obsolete; use --with-gas.
981 -help |
--help |
--hel |
--he |
-h)
983 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
984 ac_init_help
=recursive
;;
985 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
986 ac_init_help
=short
;;
988 -host |
--host |
--hos |
--ho)
989 ac_prev
=host_alias
;;
990 -host=* |
--host=* |
--hos=* |
--ho=*)
991 host_alias
=$ac_optarg ;;
993 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
995 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
997 htmldir
=$ac_optarg ;;
999 -includedir |
--includedir |
--includedi |
--included |
--include \
1000 |
--includ |
--inclu |
--incl |
--inc)
1001 ac_prev
=includedir
;;
1002 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1003 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1004 includedir
=$ac_optarg ;;
1006 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1008 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1009 infodir
=$ac_optarg ;;
1011 -libdir |
--libdir |
--libdi |
--libd)
1013 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1014 libdir
=$ac_optarg ;;
1016 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1017 |
--libexe |
--libex |
--libe)
1018 ac_prev
=libexecdir
;;
1019 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1020 |
--libexe=* |
--libex=* |
--libe=*)
1021 libexecdir
=$ac_optarg ;;
1023 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1024 ac_prev
=localedir
;;
1025 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1026 localedir
=$ac_optarg ;;
1028 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1029 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1030 ac_prev
=localstatedir
;;
1031 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1032 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1033 localstatedir
=$ac_optarg ;;
1035 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1037 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1038 mandir
=$ac_optarg ;;
1040 -nfp |
--nfp |
--nf)
1041 # Obsolete; use --without-fp.
1044 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1045 |
--no-cr |
--no-c |
-n)
1048 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1049 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1052 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1053 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1054 |
--oldin |
--oldi |
--old |
--ol |
--o)
1055 ac_prev
=oldincludedir
;;
1056 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1057 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1058 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1059 oldincludedir
=$ac_optarg ;;
1061 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1063 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1064 prefix
=$ac_optarg ;;
1066 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1067 |
--program-pre |
--program-pr |
--program-p)
1068 ac_prev
=program_prefix
;;
1069 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1070 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1071 program_prefix
=$ac_optarg ;;
1073 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1074 |
--program-suf |
--program-su |
--program-s)
1075 ac_prev
=program_suffix
;;
1076 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1077 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1078 program_suffix
=$ac_optarg ;;
1080 -program-transform-name |
--program-transform-name \
1081 |
--program-transform-nam |
--program-transform-na \
1082 |
--program-transform-n |
--program-transform- \
1083 |
--program-transform |
--program-transfor \
1084 |
--program-transfo |
--program-transf \
1085 |
--program-trans |
--program-tran \
1086 |
--progr-tra |
--program-tr |
--program-t)
1087 ac_prev
=program_transform_name
;;
1088 -program-transform-name=* |
--program-transform-name=* \
1089 |
--program-transform-nam=* |
--program-transform-na=* \
1090 |
--program-transform-n=* |
--program-transform-=* \
1091 |
--program-transform=* |
--program-transfor=* \
1092 |
--program-transfo=* |
--program-transf=* \
1093 |
--program-trans=* |
--program-tran=* \
1094 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1095 program_transform_name
=$ac_optarg ;;
1097 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1099 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1100 pdfdir
=$ac_optarg ;;
1102 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1104 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1107 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1108 |
-silent |
--silent |
--silen |
--sile |
--sil)
1111 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1113 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1115 sbindir
=$ac_optarg ;;
1117 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1118 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1119 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1121 ac_prev
=sharedstatedir
;;
1122 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1123 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1124 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1126 sharedstatedir
=$ac_optarg ;;
1128 -site |
--site |
--sit)
1130 -site=* |
--site=* |
--sit=*)
1133 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1135 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1136 srcdir
=$ac_optarg ;;
1138 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1139 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1140 ac_prev
=sysconfdir
;;
1141 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1142 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1143 sysconfdir
=$ac_optarg ;;
1145 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1146 ac_prev
=target_alias
;;
1147 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1148 target_alias
=$ac_optarg ;;
1150 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1153 -version |
--version |
--versio |
--versi |
--vers |
-V)
1154 ac_init_version
=: ;;
1157 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1158 # Reject names that are not valid shell variable names.
1159 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1160 { echo "$as_me: error: invalid package name: $ac_package" >&2
1161 { (exit 1); exit 1; }; }
1162 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1163 eval with_
$ac_package=\
$ac_optarg ;;
1165 -without-* |
--without-*)
1166 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1167 # Reject names that are not valid shell variable names.
1168 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1169 { echo "$as_me: error: invalid package name: $ac_package" >&2
1170 { (exit 1); exit 1; }; }
1171 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1172 eval with_
$ac_package=no
;;
1175 # Obsolete; use --with-x.
1178 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1179 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1180 ac_prev
=x_includes
;;
1181 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1182 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1183 x_includes
=$ac_optarg ;;
1185 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1186 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1187 ac_prev
=x_libraries
;;
1188 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1189 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1190 x_libraries
=$ac_optarg ;;
1192 -*) { echo "$as_me: error: unrecognized option: $ac_option
1193 Try \`$0 --help' for more information." >&2
1194 { (exit 1); exit 1; }; }
1198 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1199 # Reject names that are not valid shell variable names.
1200 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1201 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1202 { (exit 1); exit 1; }; }
1203 eval $ac_envvar=\
$ac_optarg
1204 export $ac_envvar ;;
1207 # FIXME: should be removed in autoconf 3.0.
1208 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1209 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1210 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1211 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1217 if test -n "$ac_prev"; then
1218 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1219 { echo "$as_me: error: missing argument to $ac_option" >&2
1220 { (exit 1); exit 1; }; }
1223 # Be sure to have absolute directory names.
1224 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1225 datadir sysconfdir sharedstatedir localstatedir includedir \
1226 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1227 libdir localedir mandir
1229 eval ac_val
=\$
$ac_var
1231 [\\/$
]* | ?
:[\\/]* ) continue;;
1232 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1234 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1235 { (exit 1); exit 1; }; }
1238 # There might be people who depend on the old broken behavior: `$host'
1239 # used to hold the argument of --host etc.
1240 # FIXME: To remove some day.
1243 target
=$target_alias
1245 # FIXME: To remove some day.
1246 if test "x$host_alias" != x
; then
1247 if test "x$build_alias" = x
; then
1248 cross_compiling
=maybe
1249 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1250 If a cross compiler is detected then cross compile mode will be used." >&2
1251 elif test "x$build_alias" != "x$host_alias"; then
1257 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1259 test "$silent" = yes && exec 6>/dev
/null
1262 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1263 ac_ls_di
=`ls -di .` &&
1264 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1265 { echo "$as_me: error: Working directory cannot be determined" >&2
1266 { (exit 1); exit 1; }; }
1267 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1268 { echo "$as_me: error: pwd does not report name of working directory" >&2
1269 { (exit 1); exit 1; }; }
1272 # Find the source files, if location was not specified.
1273 if test -z "$srcdir"; then
1274 ac_srcdir_defaulted
=yes
1275 # Try the directory containing this script, then the parent directory.
1276 ac_confdir
=`$as_dirname -- "$0" ||
1277 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1278 X"$0" : 'X\(//\)[^/]' \| \
1279 X"$0" : 'X\(//\)$' \| \
1280 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1282 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1300 if test ! -r "$srcdir/$ac_unique_file"; then
1304 ac_srcdir_defaulted
=no
1306 if test ! -r "$srcdir/$ac_unique_file"; then
1307 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1308 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1309 { (exit 1); exit 1; }; }
1311 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1313 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1314 { (exit 1); exit 1; }; }
1316 # When building in place, set srcdir=.
1317 if test "$ac_abs_confdir" = "$ac_pwd"; then
1320 # Remove unnecessary trailing slashes from srcdir.
1321 # Double slashes in file names in object file debugging info
1322 # mess up M-x gdb in Emacs.
1324 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1326 for ac_var
in $ac_precious_vars; do
1327 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1328 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1329 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1330 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1334 # Report the --help message.
1336 if test "$ac_init_help" = "long"; then
1337 # Omit some internal or obsolete options to make the list less imposing.
1338 # This message is too long to be a string in the A/UX 3.1 sh.
1340 \`configure' configures this package to adapt to many kinds of systems.
1342 Usage: $0 [OPTION]... [VAR=VALUE]...
1344 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1345 VAR=VALUE. See below for descriptions of some of the useful variables.
1347 Defaults for the options are specified in brackets.
1350 -h, --help display this help and exit
1351 --help=short display options specific to this package
1352 --help=recursive display the short help of all the included packages
1353 -V, --version display version information and exit
1354 -q, --quiet, --silent do not print \`checking...' messages
1355 --cache-file=FILE cache test results in FILE [disabled]
1356 -C, --config-cache alias for \`--cache-file=config.cache'
1357 -n, --no-create do not create output files
1358 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1360 Installation directories:
1361 --prefix=PREFIX install architecture-independent files in PREFIX
1362 [$ac_default_prefix]
1363 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1366 By default, \`make install' will install all the files in
1367 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1368 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1369 for instance \`--prefix=\$HOME'.
1371 For better control, use the options below.
1373 Fine tuning of the installation directories:
1374 --bindir=DIR user executables [EPREFIX/bin]
1375 --sbindir=DIR system admin executables [EPREFIX/sbin]
1376 --libexecdir=DIR program executables [EPREFIX/libexec]
1377 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1378 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1379 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1380 --libdir=DIR object code libraries [EPREFIX/lib]
1381 --includedir=DIR C header files [PREFIX/include]
1382 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1383 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1384 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1385 --infodir=DIR info documentation [DATAROOTDIR/info]
1386 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1387 --mandir=DIR man documentation [DATAROOTDIR/man]
1388 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1389 --htmldir=DIR html documentation [DOCDIR]
1390 --dvidir=DIR dvi documentation [DOCDIR]
1391 --pdfdir=DIR pdf documentation [DOCDIR]
1392 --psdir=DIR ps documentation [DOCDIR]
1398 --x-includes=DIR X include files are
in DIR
1399 --x-libraries=DIR X library files are
in DIR
1402 --build=BUILD configure
for building on BUILD
[guessed
]
1403 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1407 if test -n "$ac_init_help"; then
1412 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1413 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1414 --enable-build-type=TYPE
1415 Select the build
type. Available types are
:
1416 personal
, nightly
, snapshot
, milestone
, release. Do
1417 NOT use this option unless you know what you are
1418 doing
! (default
=personal
)
1419 --enable-debug=list Enable different types of debug. Commas or
1420 whitespaces can be used to separate the items
in the
1421 list. Available types of debug are
: all
, none
,
1422 messages
, stack
, mungwall
, modules
, symbols. If no
1423 list is provided
then "all" is assumed.
1425 --enable-crosstools Build cross-compiler toolchains
if necessary
1427 --enable-distcc Use distcc as a front end to the compiler
1429 --enable-ccache Use ccache as a front end to the compiler
1431 --enable-target-variant=NAME
1432 Enable a specific target variant
(default
=none
)
1433 --enable-includes=dir Alternative system include directory
1434 --enable-palm-debug-hack
1435 Enable palm debug output hack
in palm native
1437 --enable-nesting-supervisor
1438 Enable nesting supervisor support
in unix
1440 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1441 --enable-x11-shm use X11 shared memory
(default
=auto
)
1442 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1443 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1444 --disable-sdltest Do not try to compile and run a
test SDL program
1445 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1448 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1449 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1450 --with-optimization=FLAGS
1451 Use optimization flags FLAGS
(default
=-O2).
1452 --with-portssources=DIR Where to download sourcecode
for external ports
1453 --with-bootloader=NAME Use a specific bootloader
1454 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1455 --with-theme=NAME Use a specific GUI Theme
1456 --with-resolution=XRESxYRESxDEPTH
1457 Default resolution of the initial WorkbenchScreen
1458 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1459 --with-x use the X Window System
1460 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1461 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1463 Some influential environment variables
:
1464 CC C compiler
command
1465 CFLAGS C compiler flags
1466 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1467 nonstandard directory
<lib dir
>
1468 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1469 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1470 you have headers
in a nonstandard directory
<include dir
>
1472 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1474 Use these variables to override the choices made by
`configure' or to help
1475 it to find libraries and programs with nonstandard names/locations.
1481 if test "$ac_init_help" = "recursive"; then
1482 # If there are subdirs, report their specific --help.
1483 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1484 test -d "$ac_dir" || continue
1488 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1490 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1491 # A ".." for each directory in $ac_dir_suffix.
1492 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1493 case $ac_top_builddir_sub in
1494 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1495 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1498 ac_abs_top_builddir=$ac_pwd
1499 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1500 # for backward compatibility:
1501 ac_top_builddir=$ac_top_build_prefix
1504 .) # We are building in place.
1506 ac_top_srcdir=$ac_top_builddir_sub
1507 ac_abs_top_srcdir=$ac_pwd ;;
1508 [\\/]* | ?:[\\/]* ) # Absolute name.
1509 ac_srcdir=$srcdir$ac_dir_suffix;
1510 ac_top_srcdir=$srcdir
1511 ac_abs_top_srcdir=$srcdir ;;
1513 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1514 ac_top_srcdir=$ac_top_build_prefix$srcdir
1515 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1517 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1519 cd "$ac_dir" || { ac_status=$?; continue; }
1520 # Check for guested configure.
1521 if test -f "$ac_srcdir/configure.gnu"; then
1523 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1524 elif test -f "$ac_srcdir/configure"; then
1526 $SHELL "$ac_srcdir/configure" --help=recursive
1528 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1530 cd "$ac_pwd" || { ac_status=$?; break; }
1534 test -n "$ac_init_help" && exit $ac_status
1535 if $ac_init_version; then
1538 generated by GNU Autoconf 2.61
1540 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1541 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1542 This configure script is free software; the Free Software Foundation
1543 gives unlimited permission to copy, distribute and modify it.
1547 cat >config.log <<_ACEOF
1548 This file contains any messages produced by compilers while
1549 running configure, to aid debugging if configure makes a mistake.
1551 It was created by $as_me, which was
1552 generated by GNU Autoconf 2.61. Invocation command line was
1564 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1565 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1566 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1567 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1568 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1570 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1571 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1573 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1574 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1575 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1576 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1577 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1578 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1579 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1587 test -z "$as_dir" && as_dir=.
1588 echo "PATH: $as_dir"
1604 # Keep a trace of the command line.
1605 # Strip out --no-create and --no-recursion so they do not pile up.
1606 # Strip out --silent because we don't want to record it for future runs.
1607 # Also quote any args containing shell meta-characters.
1608 # Make two passes to allow for proper duplicate-argument suppression.
1612 ac_must_keep_next=false
1618 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1619 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1620 | -silent | --silent | --silen | --sile | --sil)
1623 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1626 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1628 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1629 if test $ac_must_keep_next = true; then
1630 ac_must_keep_next=false # Got value, back to normal.
1633 *=* | --config-cache | -C | -disable-* | --disable-* \
1634 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1635 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1636 | -with-* | --with-* | -without-* | --without-* | --x)
1637 case "$ac_configure_args0 " in
1638 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1641 -* ) ac_must_keep_next=true ;;
1644 ac_configure_args="$ac_configure_args '$ac_arg'"
1649 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1650 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1652 # When interrupted or exit'd, cleanup temporary files, and complete
1653 # config.log. We remove comments because anyway the quotes in there
1654 # would cause problems or look ugly.
1655 # WARNING: Use '\'' to represent an apostrophe within the trap.
1656 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1657 trap 'exit_status=$?
1658 # Save into config.log some information that might help in debugging.
1663 ## ---------------- ##
1664 ## Cache variables. ##
1665 ## ---------------- ##
1668 # The following way of writing the cache mishandles newlines in values,
1670 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1671 eval ac_val=\$$ac_var
1675 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1676 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1679 _ | IFS | as_nl) ;; #(
1680 *) $as_unset $ac_var ;;
1685 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1686 *${as_nl}ac_space=\ *)
1688 "s/'\''/'\''\\\\'\'''\''/g;
1689 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1692 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1700 ## ----------------- ##
1701 ## Output variables. ##
1702 ## ----------------- ##
1705 for ac_var in $ac_subst_vars
1707 eval ac_val=\$$ac_var
1709 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1711 echo "$ac_var='\''$ac_val'\''"
1715 if test -n "$ac_subst_files"; then
1717 ## ------------------- ##
1718 ## File substitutions. ##
1719 ## ------------------- ##
1722 for ac_var in $ac_subst_files
1724 eval ac_val=\$$ac_var
1726 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1728 echo "$ac_var='\''$ac_val'\''"
1733 if test -s confdefs.h; then
1743 test "$ac_signal" != 0 &&
1744 echo "$as_me: caught signal $ac_signal"
1745 echo "$as_me: exit $exit_status"
1747 rm -f core *.core core.conftest.* &&
1748 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1751 for ac_signal in 1 2 13 15; do
1752 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1756 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1757 rm -f -r conftest* confdefs.h
1759 # Predefined preprocessor variables.
1761 cat >>confdefs.h <<_ACEOF
1762 #define PACKAGE_NAME "$PACKAGE_NAME"
1766 cat >>confdefs.h <<_ACEOF
1767 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1771 cat >>confdefs.h <<_ACEOF
1772 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1776 cat >>confdefs.h <<_ACEOF
1777 #define PACKAGE_STRING "$PACKAGE_STRING"
1781 cat >>confdefs.h <<_ACEOF
1782 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1786 # Let the site file select an alternate cache file if it wants to.
1787 # Prefer explicitly selected file to automatically selected ones.
1788 if test -n "$CONFIG_SITE"; then
1789 set x "$CONFIG_SITE"
1790 elif test "x$prefix" != xNONE; then
1791 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1793 set x "$ac_default_prefix/share/config.site" \
1794 "$ac_default_prefix/etc/config.site"
1799 if test -r "$ac_site_file"; then
1800 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1801 echo "$as_me: loading site script $ac_site_file" >&6;}
1802 sed 's/^/| /' "$ac_site_file" >&5
1807 if test -r "$cache_file"; then
1808 # Some versions of bash will fail to source /dev/null (special
1809 # files actually), so we avoid doing that.
1810 if test -f "$cache_file"; then
1811 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1812 echo "$as_me: loading cache $cache_file" >&6;}
1814 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1815 *) . "./$cache_file";;
1819 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1820 echo "$as_me: creating cache $cache_file" >&6;}
1824 # Check that the precious variables saved in the cache have kept the same
1826 ac_cache_corrupted=false
1827 for ac_var in $ac_precious_vars; do
1828 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1829 eval ac_new_set=\$ac_env_${ac_var}_set
1830 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1831 eval ac_new_val=\$ac_env_${ac_var}_value
1832 case $ac_old_set,$ac_new_set in
1834 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1835 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1836 ac_cache_corrupted=: ;;
1838 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1839 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1840 ac_cache_corrupted=: ;;
1843 if test "x$ac_old_val" != "x$ac_new_val"; then
1844 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1845 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1846 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1847 echo "$as_me: former value
: $ac_old_val" >&2;}
1848 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1849 echo "$as_me: current value
: $ac_new_val" >&2;}
1850 ac_cache_corrupted=:
1853 # Pass precious variables to config.status.
1854 if test "$ac_new_set" = set; then
1856 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1857 *) ac_arg=$ac_var=$ac_new_val ;;
1859 case " $ac_configure_args " in
1860 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1861 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1865 if $ac_cache_corrupted; then
1866 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1867 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1868 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1869 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1870 { (exit 1); exit 1; }; }
1890 ac_cpp='$CPP $CPPFLAGS'
1891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1898 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
1899 if test -f "$ac_dir/install-sh"; then
1901 ac_install_sh="$ac_aux_dir/install-sh -c"
1903 elif test -f "$ac_dir/install.sh"; then
1905 ac_install_sh="$ac_aux_dir/install.sh -c"
1907 elif test -f "$ac_dir/shtool"; then
1909 ac_install_sh="$ac_aux_dir/shtool install -c"
1913 if test -z "$ac_aux_dir"; then
1914 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts/autoconf \"$srcdir\"/scripts/autoconf" >&5
1915 echo "$as_me: error: cannot find install-sh or install.sh in scripts/autoconf \"$srcdir\"/scripts/autoconf" >&2;}
1916 { (exit 1); exit 1; }; }
1919 # These three variables are undocumented and unsupported,
1920 # and are intended to be withdrawn in a future Autoconf release.
1921 # They can cause serious problems if a builder's source tree is in a directory
1922 # whose full name contains unusual characters.
1923 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1924 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1925 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1929 # Check what host we are running on.
1930 # If a target is not suggested, we use this one.
1931 # Note that what we call a target, Autoconf calls a host.
1932 # Make sure we can run config.sub.
1933 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1934 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1935 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1936 { (exit 1); exit 1; }; }
1938 { echo "$as_me:$LINENO: checking build system type" >&5
1939 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1940 if test "${ac_cv_build+set}" = set; then
1941 echo $ECHO_N "(cached) $ECHO_C" >&6
1943 ac_build_alias=$build_alias
1944 test "x$ac_build_alias" = x &&
1945 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1946 test "x$ac_build_alias" = x &&
1947 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1948 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1949 { (exit 1); exit 1; }; }
1950 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1951 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1952 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1953 { (exit 1); exit 1; }; }
1956 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1957 echo "${ECHO_T}$ac_cv_build" >&6; }
1958 case $ac_cv_build in
1960 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1961 echo "$as_me: error: invalid value of canonical build" >&2;}
1962 { (exit 1); exit 1; }; };;
1965 ac_save_IFS=$IFS; IFS='-'
1971 # Remember, the first character of IFS is used to create $*,
1972 # except with old shells:
1975 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
1978 { echo "$as_me:$LINENO: checking host system type" >&5
1979 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1980 if test "${ac_cv_host+set}" = set; then
1981 echo $ECHO_N "(cached) $ECHO_C" >&6
1983 if test "x$host_alias" = x; then
1984 ac_cv_host=$ac_cv_build
1986 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1987 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1988 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1989 { (exit 1); exit 1; }; }
1993 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1994 echo "${ECHO_T}$ac_cv_host" >&6; }
1997 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1998 echo "$as_me: error: invalid value of canonical host" >&2;}
1999 { (exit 1); exit 1; }; };;
2002 ac_save_IFS=$IFS; IFS='-'
2008 # Remember, the first character of IFS is used to create $*,
2009 # except with old shells:
2012 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2016 # The AROS target is slightly different to the normal GNU style
2017 # format. We don't have the middle part, and we reverse the order
2018 # of the $(CPU) and $(OS) bits.
2020 # Don't strip the version of the target yet, it might be
2021 # useful on some systems.
2023 { echo "$as_me:$LINENO: checking for AROS style target" >&5
2024 echo $ECHO_N "checking for AROS style target... $ECHO_C" >&6; }
2026 if test "$target" = "NONE" ; then
2027 target=$host_os-$host_cpu
2030 if test "$target" = "" ; then
2031 target=$host_os-$host_cpu
2037 { echo "$as_me:$LINENO: result: $target" >&5
2038 echo "${ECHO_T}$target" >&6; }
2040 if test "$host_os" = "mingw32" ; then
2044 #don't know where else to put this...
2045 { echo "$as_me:$LINENO: checking Building AROS in .. " >&5
2046 echo $ECHO_N "checking Building AROS in .. ... $ECHO_C" >&6; }
2047 AROS_BUILDDIR=`${PWDCMD-pwd}`
2048 AROS_BUILDDIR_UNIX=${PWD}
2049 { echo "$as_me:$LINENO: result: $AROS_BUILDDIR" >&5
2050 echo "${ECHO_T}$AROS_BUILDDIR" >&6; }
2052 { echo "$as_me:$LINENO: checking AROS Source in .. " >&5
2053 echo $ECHO_N "checking AROS Source in .. ... $ECHO_C" >&6; }
2054 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2056 { echo "$as_me:$LINENO: result: $SRCDIR" >&5
2057 echo "${ECHO_T}$SRCDIR" >&6; }
2059 # Parse the target field into something useful.
2061 target_os=`echo $target |
sed 's/^\([^-]*\)-\(.*\)$/\1/'`
2062 target_cpu=`echo $target |
sed 's/^\([^-]*\)-\(.*\)$/\2/'`
2065 aros_default_wbwidth=800
2066 aros_default_wbheight=600
2067 aros_default_wbdepth=4
2070 # The first step is to find the host binaries.
2071 # Check for a compiler.
2073 ac_cpp='$CPP $CPPFLAGS'
2074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2077 if test -n "$ac_tool_prefix"; then
2078 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2079 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2080 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2082 if test "${ac_cv_prog_CC+set}" = set; then
2083 echo $ECHO_N "(cached) $ECHO_C" >&6
2085 if test -n "$CC"; then
2086 ac_cv_prog_CC="$CC" # Let the user override the test.
2088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2092 test -z "$as_dir" && as_dir=.
2093 for ac_exec_ext in '' $ac_executable_extensions; do
2094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2095 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2106 if test -n "$CC"; then
2107 { echo "$as_me:$LINENO: result: $CC" >&5
2108 echo "${ECHO_T}$CC" >&6; }
2110 { echo "$as_me:$LINENO: result: no" >&5
2111 echo "${ECHO_T}no" >&6; }
2116 if test -z "$ac_cv_prog_CC"; then
2118 # Extract the first word of "gcc", so it can be a program name with args.
2119 set dummy gcc; ac_word=$2
2120 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2122 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2123 echo $ECHO_N "(cached) $ECHO_C" >&6
2125 if test -n "$ac_ct_CC"; then
2126 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2132 test -z "$as_dir" && as_dir=.
2133 for ac_exec_ext in '' $ac_executable_extensions; do
2134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2135 ac_cv_prog_ac_ct_CC="gcc"
2136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2145 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2146 if test -n "$ac_ct_CC"; then
2147 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2148 echo "${ECHO_T}$ac_ct_CC" >&6; }
2150 { echo "$as_me:$LINENO: result: no" >&5
2151 echo "${ECHO_T}no" >&6; }
2154 if test "x$ac_ct_CC" = x; then
2157 case $cross_compiling:$ac_tool_warned in
2159 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2160 whose name does not start with the host triplet. If you think this
2161 configuration is useful to you, please write to autoconf@gnu.org." >&5
2162 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2163 whose name does not start with the host triplet. If you think this
2164 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2165 ac_tool_warned=yes ;;
2173 if test -z "$CC"; then
2174 if test -n "$ac_tool_prefix"; then
2175 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2176 set dummy ${ac_tool_prefix}cc; ac_word=$2
2177 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2179 if test "${ac_cv_prog_CC+set}" = set; then
2180 echo $ECHO_N "(cached) $ECHO_C" >&6
2182 if test -n "$CC"; then
2183 ac_cv_prog_CC="$CC" # Let the user override the test.
2185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2189 test -z "$as_dir" && as_dir=.
2190 for ac_exec_ext in '' $ac_executable_extensions; do
2191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2192 ac_cv_prog_CC="${ac_tool_prefix}cc"
2193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2203 if test -n "$CC"; then
2204 { echo "$as_me:$LINENO: result: $CC" >&5
2205 echo "${ECHO_T}$CC" >&6; }
2207 { echo "$as_me:$LINENO: result: no" >&5
2208 echo "${ECHO_T}no" >&6; }
2214 if test -z "$CC"; then
2215 # Extract the first word of "cc", so it can be a program name with args.
2216 set dummy cc; ac_word=$2
2217 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2219 if test "${ac_cv_prog_CC+set}" = set; then
2220 echo $ECHO_N "(cached) $ECHO_C" >&6
2222 if test -n "$CC"; then
2223 ac_cv_prog_CC="$CC" # Let the user override the test.
2226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2230 test -z "$as_dir" && as_dir=.
2231 for ac_exec_ext in '' $ac_executable_extensions; do
2232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2233 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2234 ac_prog_rejected=yes
2238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2245 if test $ac_prog_rejected = yes; then
2246 # We found a bogon in the path, so make sure we never use it.
2247 set dummy $ac_cv_prog_CC
2249 if test $# != 0; then
2250 # We chose a different compiler from the bogus one.
2251 # However, it has the same basename, so the bogon will be chosen
2252 # first if we set CC to just the basename; use the full file name.
2254 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2260 if test -n "$CC"; then
2261 { echo "$as_me:$LINENO: result: $CC" >&5
2262 echo "${ECHO_T}$CC" >&6; }
2264 { echo "$as_me:$LINENO: result: no" >&5
2265 echo "${ECHO_T}no" >&6; }
2270 if test -z "$CC"; then
2271 if test -n "$ac_tool_prefix"; then
2272 for ac_prog in cl.exe
2274 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2275 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2276 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2278 if test "${ac_cv_prog_CC+set}" = set; then
2279 echo $ECHO_N "(cached) $ECHO_C" >&6
2281 if test -n "$CC"; then
2282 ac_cv_prog_CC="$CC" # Let the user override the test.
2284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2288 test -z "$as_dir" && as_dir=.
2289 for ac_exec_ext in '' $ac_executable_extensions; do
2290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2291 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2302 if test -n "$CC"; then
2303 { echo "$as_me:$LINENO: result: $CC" >&5
2304 echo "${ECHO_T}$CC" >&6; }
2306 { echo "$as_me:$LINENO: result: no" >&5
2307 echo "${ECHO_T}no" >&6; }
2311 test -n "$CC" && break
2314 if test -z "$CC"; then
2316 for ac_prog in cl.exe
2318 # Extract the first word of "$ac_prog", so it can be a program name with args.
2319 set dummy $ac_prog; ac_word=$2
2320 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2322 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2323 echo $ECHO_N "(cached) $ECHO_C" >&6
2325 if test -n "$ac_ct_CC"; then
2326 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2332 test -z "$as_dir" && as_dir=.
2333 for ac_exec_ext in '' $ac_executable_extensions; do
2334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2335 ac_cv_prog_ac_ct_CC="$ac_prog"
2336 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2345 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2346 if test -n "$ac_ct_CC"; then
2347 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2348 echo "${ECHO_T}$ac_ct_CC" >&6; }
2350 { echo "$as_me:$LINENO: result: no" >&5
2351 echo "${ECHO_T}no" >&6; }
2355 test -n "$ac_ct_CC" && break
2358 if test "x$ac_ct_CC" = x; then
2361 case $cross_compiling:$ac_tool_warned in
2363 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2364 whose name does not start with the host triplet. If you think this
2365 configuration is useful to you, please write to autoconf@gnu.org." >&5
2366 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2367 whose name does not start with the host triplet. If you think this
2368 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2369 ac_tool_warned=yes ;;
2378 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2379 See \`config.log
' for more details." >&5
2380 echo "$as_me: error: no acceptable C compiler found in \$PATH
2381 See \`config.log' for more details.
" >&2;}
2382 { (exit 1); exit 1; }; }
2384 # Provide some information about the compiler.
2385 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2386 ac_compiler=`set X $ac_compile; echo $2`
2387 { (ac_try="$ac_compiler --version >&5"
2389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2390 *) ac_try_echo=$ac_try;;
2392 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2393 (eval "$ac_compiler --version >&5") 2>&5
2395 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2396 (exit $ac_status); }
2397 { (ac_try="$ac_compiler -v >&5"
2399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2400 *) ac_try_echo=$ac_try;;
2402 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2403 (eval "$ac_compiler -v >&5") 2>&5
2405 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2406 (exit $ac_status); }
2407 { (ac_try="$ac_compiler -V >&5"
2409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2410 *) ac_try_echo=$ac_try;;
2412 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2413 (eval "$ac_compiler -V >&5") 2>&5
2415 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2416 (exit $ac_status); }
2418 cat >conftest.$ac_ext <<_ACEOF
2421 cat confdefs.h >>conftest.$ac_ext
2422 cat >>conftest.$ac_ext <<_ACEOF
2423 /* end confdefs.h. */
2433 ac_clean_files_save=$ac_clean_files
2434 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2435 # Try to create an executable without -o first, disregard a.out.
2436 # It will help us diagnose broken compilers, and finding out an intuition
2438 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2439 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2440 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2442 # List of possible output files, starting from the most likely.
2443 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2444 # only as a last resort. b.out is created by i960 compilers.
2445 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2447 # The IRIX 6 linker writes into existing files which may not be
2448 # executable, retaining their permissions. Remove them first so a
2449 # subsequent execution test works.
2451 for ac_file in $ac_files
2454 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2455 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2460 if { (ac_try="$ac_link_default"
2462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2463 *) ac_try_echo=$ac_try;;
2465 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2466 (eval "$ac_link_default") 2>&5
2468 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2469 (exit $ac_status); }; then
2470 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2471 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2472 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2473 # so that the user can short-circuit this test for compilers unknown to
2475 for ac_file in $ac_files ''
2477 test -f "$ac_file" || continue
2479 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2482 # We found the default executable, but exeext='' is most
2486 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2488 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2490 # We set ac_cv_exeext here because the later test for it is not
2491 # safe: cross compilers may not add the suffix if given an `-o'
2492 # argument, so we may need to know it at that point already.
2493 # Even if this section looks crufty: it has the advantage of
2500 test "$ac_cv_exeext" = no && ac_cv_exeext=
2506 { echo "$as_me:$LINENO: result
: $ac_file" >&5
2507 echo "${ECHO_T}$ac_file" >&6; }
2508 if test -z "$ac_file"; then
2509 echo "$as_me: failed program was
:" >&5
2510 sed 's/^/| /' conftest.$ac_ext >&5
2512 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2513 See \
`config.log' for more details." >&5
2514 echo "$as_me: error: C compiler cannot create executables
2515 See \`config.log
' for more details." >&2;}
2516 { (exit 77); exit 77; }; }
2519 ac_exeext=$ac_cv_exeext
2521 # Check that the compiler produces executables we can run. If not, either
2522 # the compiler is broken, or we cross compile.
2523 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2524 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2525 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2526 # If not cross compiling, check that we can run a simple program.
2527 if test "$cross_compiling" != yes; then
2528 if { ac_try='.
/$ac_file'
2529 { (case "(($ac_try" in
2530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2531 *) ac_try_echo=$ac_try;;
2533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2534 (eval "$ac_try") 2>&5
2536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2537 (exit $ac_status); }; }; then
2540 if test "$cross_compiling" = maybe; then
2543 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2544 If you meant to cross compile, use \`--host'.
2545 See \
`config.log' for more details." >&5
2546 echo "$as_me: error: cannot run C compiled programs.
2547 If you meant to cross compile, use \`--host'.
2548 See \`config.log' for more details.
" >&2;}
2549 { (exit 1); exit 1; }; }
2553 { echo "$as_me:$LINENO: result
: yes" >&5
2554 echo "${ECHO_T}yes" >&6; }
2556 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2557 ac_clean_files=$ac_clean_files_save
2558 # Check that the compiler produces executables we can run. If not, either
2559 # the compiler is broken, or we cross compile.
2560 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2561 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2562 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2563 echo "${ECHO_T}$cross_compiling" >&6; }
2565 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2566 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2567 if { (ac_try="$ac_link"
2569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2570 *) ac_try_echo=$ac_try;;
2572 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2573 (eval "$ac_link") 2>&5
2575 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2576 (exit $ac_status); }; then
2577 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2578 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2579 # work properly (i.e., refer to `conftest.exe'), while it won't with
2581 for ac_file in conftest.exe conftest conftest.*; do
2582 test -f "$ac_file" || continue
2584 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2585 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2591 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2592 See \
`config.log' for more details." >&5
2593 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2594 See \`config.log
' for more details." >&2;}
2595 { (exit 1); exit 1; }; }
2598 rm -f conftest$ac_cv_exeext
2599 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2600 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2602 rm -f conftest.$ac_ext
2603 EXEEXT=$ac_cv_exeext
2605 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2606 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2607 if test "${ac_cv_objext+set}" = set; then
2608 echo $ECHO_N "(cached) $ECHO_C" >&6
2610 cat >conftest.$ac_ext <<_ACEOF
2613 cat confdefs.h >>conftest.$ac_ext
2614 cat >>conftest.$ac_ext <<_ACEOF
2615 /* end confdefs.h. */
2625 rm -f conftest.o conftest.obj
2626 if { (ac_try="$ac_compile"
2628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2629 *) ac_try_echo=$ac_try;;
2631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2632 (eval "$ac_compile") 2>&5
2634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2635 (exit $ac_status); }; then
2636 for ac_file in conftest.o conftest.obj conftest.*; do
2637 test -f "$ac_file" || continue;
2639 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2640 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2645 echo "$as_me: failed program was:" >&5
2646 sed 's
/^
/|
/' conftest.$ac_ext >&5
2648 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2649 See \`config.log' for more details.
" >&5
2650 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2651 See \
`config.log' for more details." >&2;}
2652 { (exit 1); exit 1; }; }
2655 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2657 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2658 echo "${ECHO_T}$ac_cv_objext" >&6; }
2659 OBJEXT=$ac_cv_objext
2661 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2662 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2663 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2664 echo $ECHO_N "(cached) $ECHO_C" >&6
2666 cat >conftest.$ac_ext <<_ACEOF
2669 cat confdefs.h >>conftest.$ac_ext
2670 cat >>conftest.$ac_ext <<_ACEOF
2671 /* end confdefs.h. */
2684 rm -f conftest.$ac_objext
2685 if { (ac_try="$ac_compile"
2687 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2688 *) ac_try_echo
=$ac_try;;
2690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2691 (eval "$ac_compile") 2>conftest.er1
2693 grep -v '^ *+' conftest.er1
>conftest.err
2695 cat conftest.err
>&5
2696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2697 (exit $ac_status); } && {
2698 test -z "$ac_c_werror_flag" ||
2699 test ! -s conftest.err
2700 } && test -s conftest.
$ac_objext; then
2703 echo "$as_me: failed program was:" >&5
2704 sed 's/^/| /' conftest.
$ac_ext >&5
2709 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2710 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2713 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2714 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2715 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2716 ac_test_CFLAGS
=${CFLAGS+set}
2717 ac_save_CFLAGS
=$CFLAGS
2718 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2719 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2720 if test "${ac_cv_prog_cc_g+set}" = set; then
2721 echo $ECHO_N "(cached) $ECHO_C" >&6
2723 ac_save_c_werror_flag
=$ac_c_werror_flag
2724 ac_c_werror_flag
=yes
2727 cat >conftest.
$ac_ext <<_ACEOF
2730 cat confdefs.h
>>conftest.
$ac_ext
2731 cat >>conftest.
$ac_ext <<_ACEOF
2732 /* end confdefs.h. */
2742 rm -f conftest.
$ac_objext
2743 if { (ac_try
="$ac_compile"
2745 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2746 *) ac_try_echo=$ac_try;;
2748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2749 (eval "$ac_compile") 2>conftest.er1
2751 grep -v '^ *+' conftest.er1 >conftest.err
2753 cat conftest.err >&5
2754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2755 (exit $ac_status); } && {
2756 test -z "$ac_c_werror_flag" ||
2757 test ! -s conftest.err
2758 } && test -s conftest.$ac_objext; then
2761 echo "$as_me: failed program was:" >&5
2762 sed 's/^/| /' conftest.$ac_ext >&5
2765 cat >conftest.$ac_ext <<_ACEOF
2768 cat confdefs.h >>conftest.$ac_ext
2769 cat >>conftest.$ac_ext <<_ACEOF
2770 /* end confdefs.h. */
2780 rm -f conftest.$ac_objext
2781 if { (ac_try="$ac_compile"
2783 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2784 *) ac_try_echo
=$ac_try;;
2786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2787 (eval "$ac_compile") 2>conftest.er1
2789 grep -v '^ *+' conftest.er1
>conftest.err
2791 cat conftest.err
>&5
2792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2793 (exit $ac_status); } && {
2794 test -z "$ac_c_werror_flag" ||
2795 test ! -s conftest.err
2796 } && test -s conftest.
$ac_objext; then
2799 echo "$as_me: failed program was:" >&5
2800 sed 's/^/| /' conftest.
$ac_ext >&5
2802 ac_c_werror_flag
=$ac_save_c_werror_flag
2804 cat >conftest.
$ac_ext <<_ACEOF
2807 cat confdefs.h
>>conftest.
$ac_ext
2808 cat >>conftest.
$ac_ext <<_ACEOF
2809 /* end confdefs.h. */
2819 rm -f conftest.
$ac_objext
2820 if { (ac_try
="$ac_compile"
2822 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2823 *) ac_try_echo=$ac_try;;
2825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2826 (eval "$ac_compile") 2>conftest.er1
2828 grep -v '^ *+' conftest.er1 >conftest.err
2830 cat conftest.err >&5
2831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832 (exit $ac_status); } && {
2833 test -z "$ac_c_werror_flag" ||
2834 test ! -s conftest.err
2835 } && test -s conftest.$ac_objext; then
2838 echo "$as_me: failed program was:" >&5
2839 sed 's/^/| /' conftest.$ac_ext >&5
2844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2851 ac_c_werror_flag=$ac_save_c_werror_flag
2853 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2854 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2855 if test "$ac_test_CFLAGS" = set; then
2856 CFLAGS=$ac_save_CFLAGS
2857 elif test $ac_cv_prog_cc_g = yes; then
2858 if test "$GCC" = yes; then
2864 if test "$GCC" = yes; then
2870 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2871 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2872 if test "${ac_cv_prog_cc_c89+set}" = set; then
2873 echo $ECHO_N "(cached) $ECHO_C" >&6
2875 ac_cv_prog_cc_c89=no
2877 cat >conftest.$ac_ext <<_ACEOF
2880 cat confdefs.h >>conftest.$ac_ext
2881 cat >>conftest.$ac_ext <<_ACEOF
2882 /* end confdefs.h. */
2885 #include <sys/types.h>
2886 #include <sys/stat.h>
2887 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2888 struct buf { int x; };
2889 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2890 static char *e (p, i)
2896 static char *f (char * (*g) (char **, int), char **p, ...)
2901 s = g (p, va_arg (v,int));
2906 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2907 function prototypes and stuff, but not '\xHH' hex character constants.
2908 These don't provoke an error unfortunately, instead are silently treated
2909 as 'x'. The following induces an error, until -std is added to get
2910 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2911 array size at least. It's necessary to write '\x00'==0 to get something
2912 that's true only with -std. */
2913 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2915 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2916 inside strings and character constants. */
2918 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2920 int test (int i, double x);
2921 struct s1 {int (*f) (int a);};
2922 struct s2 {int (*f) (double a);};
2923 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2929 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2934 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2935 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2937 CC="$ac_save_CC $ac_arg"
2938 rm -f conftest.$ac_objext
2939 if { (ac_try="$ac_compile"
2941 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2942 *) ac_try_echo
=$ac_try;;
2944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2945 (eval "$ac_compile") 2>conftest.er1
2947 grep -v '^ *+' conftest.er1
>conftest.err
2949 cat conftest.err
>&5
2950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2951 (exit $ac_status); } && {
2952 test -z "$ac_c_werror_flag" ||
2953 test ! -s conftest.err
2954 } && test -s conftest.
$ac_objext; then
2955 ac_cv_prog_cc_c89
=$ac_arg
2957 echo "$as_me: failed program was:" >&5
2958 sed 's/^/| /' conftest.
$ac_ext >&5
2963 rm -f core conftest.err conftest.
$ac_objext
2964 test "x$ac_cv_prog_cc_c89" != "xno" && break
2966 rm -f conftest.
$ac_ext
2971 case "x$ac_cv_prog_cc_c89" in
2973 { echo "$as_me:$LINENO: result: none needed" >&5
2974 echo "${ECHO_T}none needed" >&6; } ;;
2976 { echo "$as_me:$LINENO: result: unsupported" >&5
2977 echo "${ECHO_T}unsupported" >&6; } ;;
2979 CC
="$CC $ac_cv_prog_cc_c89"
2980 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2981 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2986 ac_cpp
='$CPP $CPPFLAGS'
2987 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2988 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2989 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2991 case $ac_cv_prog_cc_stdc in
2992 no
) ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;;
2993 *) { echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
2994 echo $ECHO_N "checking for $CC option to accept ISO C99... $ECHO_C" >&6; }
2995 if test "${ac_cv_prog_cc_c99+set}" = set; then
2996 echo $ECHO_N "(cached) $ECHO_C" >&6
2998 ac_cv_prog_cc_c99
=no
3000 cat >conftest.
$ac_ext <<_ACEOF
3003 cat confdefs.h
>>conftest.
$ac_ext
3004 cat >>conftest.
$ac_ext <<_ACEOF
3005 /* end confdefs.h. */
3007 #include <stdbool.h>
3012 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3013 #define debug(...) fprintf (stderr, __VA_ARGS__)
3014 #define showlist(...) puts (#__VA_ARGS__)
3015 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3017 test_varargs_macros (void)
3022 debug ("X = %d\n", x);
3023 showlist (The first, second, and third items.);
3024 report (x>y, "x is %d but y is %d", x, y);
3027 // Check long long types.
3028 #define BIG64 18446744073709551615ull
3029 #define BIG32 4294967295ul
3030 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3032 your preprocessor is broken;
3036 your preprocessor is broken;
3038 static long long int bignum = -9223372036854775807LL;
3039 static unsigned long long int ubignum = BIG64;
3041 struct incomplete_array
3049 const wchar_t *name;
3053 typedef const char *ccp;
3056 test_restrict (ccp restrict text)
3058 // See if C++-style comments work.
3059 // Iterate through items via the restricted pointer.
3060 // Also check for declarations in for loops.
3061 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3066 // Check varargs and va_copy.
3068 test_varargs (const char *format, ...)
3071 va_start (args, format);
3073 va_copy (args_copy, args);
3084 str = va_arg (args_copy, const char *);
3087 number = va_arg (args_copy, int);
3090 fnumber = va_arg (args_copy, double);
3105 _Bool success = false;
3108 if (test_restrict ("String literal") == 0)
3110 char *restrict newvar = "Another string";
3113 test_varargs ("s, d' f .", "string", 65, 34.234);
3114 test_varargs_macros ();
3116 // Check flexible array members.
3117 struct incomplete_array *ia =
3118 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3120 for (int i = 0; i < ia->datasize; ++i)
3121 ia->data[i] = i * 1.234;
3123 // Check named initializers.
3124 struct named_init ni = {
3126 .name = L"Test wide string",
3127 .average = 543.34343,
3132 int dynamic_array[ni.number];
3133 dynamic_array[ni.number - 1] = 543;
3135 // work around unused variable warnings
3136 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3137 || dynamic_array[ni.number - 1] != 543);
3143 for ac_arg
in '' -std=gnu99
-c99 -qlanglvl=extc99
3145 CC
="$ac_save_CC $ac_arg"
3146 rm -f conftest.
$ac_objext
3147 if { (ac_try
="$ac_compile"
3149 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3150 *) ac_try_echo=$ac_try;;
3152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3153 (eval "$ac_compile") 2>conftest.er1
3155 grep -v '^ *+' conftest.er1 >conftest.err
3157 cat conftest.err >&5
3158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3159 (exit $ac_status); } && {
3160 test -z "$ac_c_werror_flag" ||
3161 test ! -s conftest.err
3162 } && test -s conftest.$ac_objext; then
3163 ac_cv_prog_cc_c99=$ac_arg
3165 echo "$as_me: failed program was:" >&5
3166 sed 's/^/| /' conftest.$ac_ext >&5
3171 rm -f core conftest.err conftest.$ac_objext
3172 test "x$ac_cv_prog_cc_c99" != "xno" && break
3174 rm -f conftest.$ac_ext
3179 case "x$ac_cv_prog_cc_c99" in
3181 { echo "$as_me:$LINENO: result: none needed" >&5
3182 echo "${ECHO_T}none needed" >&6; } ;;
3184 { echo "$as_me:$LINENO: result: unsupported" >&5
3185 echo "${ECHO_T}unsupported" >&6; } ;;
3187 CC="$CC $ac_cv_prog_cc_c99"
3188 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
3189 echo "${ECHO_T}$ac_cv_prog_cc_c99" >&6; } ;;
3191 if test "x$ac_cv_prog_cc_c99" != xno; then
3192 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3194 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3195 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3196 if test "${ac_cv_prog_cc_c89+set}" = set; then
3197 echo $ECHO_N "(cached) $ECHO_C" >&6
3199 ac_cv_prog_cc_c89=no
3201 cat >conftest.$ac_ext <<_ACEOF
3204 cat confdefs.h >>conftest.$ac_ext
3205 cat >>conftest.$ac_ext <<_ACEOF
3206 /* end confdefs.h. */
3209 #include <sys/types.h>
3210 #include <sys/stat.h>
3211 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3212 struct buf { int x; };
3213 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3214 static char *e (p, i)
3220 static char *f (char * (*g) (char **, int), char **p, ...)
3225 s = g (p, va_arg (v,int));
3230 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3231 function prototypes and stuff, but not '\xHH' hex character constants.
3232 These don't provoke an error unfortunately, instead are silently treated
3233 as 'x'. The following induces an error, until -std is added to get
3234 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3235 array size at least. It's necessary to write '\x00'==0 to get something
3236 that's true only with -std. */
3237 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3239 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3240 inside strings and character constants. */
3242 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3244 int test (int i, double x);
3245 struct s1 {int (*f) (int a);};
3246 struct s2 {int (*f) (double a);};
3247 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3253 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3258 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3259 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3261 CC="$ac_save_CC $ac_arg"
3262 rm -f conftest.$ac_objext
3263 if { (ac_try="$ac_compile"
3265 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3266 *) ac_try_echo
=$ac_try;;
3268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3269 (eval "$ac_compile") 2>conftest.er1
3271 grep -v '^ *+' conftest.er1
>conftest.err
3273 cat conftest.err
>&5
3274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3275 (exit $ac_status); } && {
3276 test -z "$ac_c_werror_flag" ||
3277 test ! -s conftest.err
3278 } && test -s conftest.
$ac_objext; then
3279 ac_cv_prog_cc_c89
=$ac_arg
3281 echo "$as_me: failed program was:" >&5
3282 sed 's/^/| /' conftest.
$ac_ext >&5
3287 rm -f core conftest.err conftest.
$ac_objext
3288 test "x$ac_cv_prog_cc_c89" != "xno" && break
3290 rm -f conftest.
$ac_ext
3295 case "x$ac_cv_prog_cc_c89" in
3297 { echo "$as_me:$LINENO: result: none needed" >&5
3298 echo "${ECHO_T}none needed" >&6; } ;;
3300 { echo "$as_me:$LINENO: result: unsupported" >&5
3301 echo "${ECHO_T}unsupported" >&6; } ;;
3303 CC
="$CC $ac_cv_prog_cc_c89"
3304 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3305 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3307 if test "x$ac_cv_prog_cc_c89" != xno
; then
3308 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
3310 ac_cv_prog_cc_stdc
=no
3318 { echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5
3319 echo $ECHO_N "checking for $CC option to accept ISO Standard C... $ECHO_C" >&6; }
3320 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3321 echo $ECHO_N "(cached) $ECHO_C" >&6
3324 case $ac_cv_prog_cc_stdc in
3325 no
) { echo "$as_me:$LINENO: result: unsupported" >&5
3326 echo "${ECHO_T}unsupported" >&6; } ;;
3327 '') { echo "$as_me:$LINENO: result: none needed" >&5
3328 echo "${ECHO_T}none needed" >&6; } ;;
3329 *) { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3330 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; } ;;
3335 ac_cpp
='$CPP $CPPFLAGS'
3336 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3337 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3338 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3339 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3340 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3341 # On Suns, sometimes $CPP names a directory.
3342 if test -n "$CPP" && test -d "$CPP"; then
3345 if test -z "$CPP"; then
3346 if test "${ac_cv_prog_CPP+set}" = set; then
3347 echo $ECHO_N "(cached) $ECHO_C" >&6
3349 # Double quotes because CPP needs to be expanded
3350 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3353 for ac_c_preproc_warn_flag
in '' yes
3355 # Use a header file that comes with gcc, so configuring glibc
3356 # with a fresh cross-compiler works.
3357 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3358 # <limits.h> exists even on freestanding compilers.
3359 # On the NeXT, cc -E runs the code through the compiler's parser,
3360 # not just through cpp. "Syntax error" is here to catch this case.
3361 cat >conftest.
$ac_ext <<_ACEOF
3364 cat confdefs.h
>>conftest.
$ac_ext
3365 cat >>conftest.
$ac_ext <<_ACEOF
3366 /* end confdefs.h. */
3368 # include <limits.h>
3370 # include <assert.h>
3374 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3376 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3377 *) ac_try_echo=$ac_try;;
3379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3380 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3382 grep -v '^ *+' conftest.er1 >conftest.err
3384 cat conftest.err >&5
3385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3386 (exit $ac_status); } >/dev/null && {
3387 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3388 test ! -s conftest.err
3392 echo "$as_me: failed program was:" >&5
3393 sed 's/^/| /' conftest.$ac_ext >&5
3395 # Broken: fails on valid input.
3399 rm -f conftest.err conftest.$ac_ext
3401 # OK, works on sane cases. Now check whether nonexistent headers
3402 # can be detected and how.
3403 cat >conftest.$ac_ext <<_ACEOF
3406 cat confdefs.h >>conftest.$ac_ext
3407 cat >>conftest.$ac_ext <<_ACEOF
3408 /* end confdefs.h. */
3409 #include <ac_nonexistent.h>
3411 if { (ac_try="$ac_cpp conftest.$ac_ext"
3413 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3414 *) ac_try_echo
=$ac_try;;
3416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3417 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3419 grep -v '^ *+' conftest.er1
>conftest.err
3421 cat conftest.err
>&5
3422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3423 (exit $ac_status); } >/dev
/null
&& {
3424 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3425 test ! -s conftest.err
3427 # Broken: success on invalid input.
3430 echo "$as_me: failed program was:" >&5
3431 sed 's/^/| /' conftest.
$ac_ext >&5
3433 # Passes both tests.
3438 rm -f conftest.err conftest.
$ac_ext
3441 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3442 rm -f conftest.err conftest.
$ac_ext
3443 if $ac_preproc_ok; then
3455 { echo "$as_me:$LINENO: result: $CPP" >&5
3456 echo "${ECHO_T}$CPP" >&6; }
3458 for ac_c_preproc_warn_flag
in '' yes
3460 # Use a header file that comes with gcc, so configuring glibc
3461 # with a fresh cross-compiler works.
3462 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3463 # <limits.h> exists even on freestanding compilers.
3464 # On the NeXT, cc -E runs the code through the compiler's parser,
3465 # not just through cpp. "Syntax error" is here to catch this case.
3466 cat >conftest.
$ac_ext <<_ACEOF
3469 cat confdefs.h
>>conftest.
$ac_ext
3470 cat >>conftest.
$ac_ext <<_ACEOF
3471 /* end confdefs.h. */
3473 # include <limits.h>
3475 # include <assert.h>
3479 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3481 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3482 *) ac_try_echo=$ac_try;;
3484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3485 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3487 grep -v '^ *+' conftest.er1 >conftest.err
3489 cat conftest.err >&5
3490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3491 (exit $ac_status); } >/dev/null && {
3492 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3493 test ! -s conftest.err
3497 echo "$as_me: failed program was:" >&5
3498 sed 's/^/| /' conftest.$ac_ext >&5
3500 # Broken: fails on valid input.
3504 rm -f conftest.err conftest.$ac_ext
3506 # OK, works on sane cases. Now check whether nonexistent headers
3507 # can be detected and how.
3508 cat >conftest.$ac_ext <<_ACEOF
3511 cat confdefs.h >>conftest.$ac_ext
3512 cat >>conftest.$ac_ext <<_ACEOF
3513 /* end confdefs.h. */
3514 #include <ac_nonexistent.h>
3516 if { (ac_try="$ac_cpp conftest.$ac_ext"
3518 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3519 *) ac_try_echo
=$ac_try;;
3521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3522 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3524 grep -v '^ *+' conftest.er1
>conftest.err
3526 cat conftest.err
>&5
3527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3528 (exit $ac_status); } >/dev
/null
&& {
3529 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3530 test ! -s conftest.err
3532 # Broken: success on invalid input.
3535 echo "$as_me: failed program was:" >&5
3536 sed 's/^/| /' conftest.
$ac_ext >&5
3538 # Passes both tests.
3543 rm -f conftest.err conftest.
$ac_ext
3546 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3547 rm -f conftest.err conftest.
$ac_ext
3548 if $ac_preproc_ok; then
3551 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3552 See \`config.log' for more details." >&5
3553 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3554 See \`config.log' for more details." >&2;}
3555 { (exit 1); exit 1; }; }
3559 ac_cpp
='$CPP $CPPFLAGS'
3560 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3561 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3562 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3565 # Check for a compatible awk
3566 for ac_prog
in gawk nawk
3568 # Extract the first word of "$ac_prog", so it can be a program name with args.
3569 set dummy
$ac_prog; ac_word
=$2
3570 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3572 if test "${ac_cv_prog_AWK+set}" = set; then
3573 echo $ECHO_N "(cached) $ECHO_C" >&6
3575 if test -n "$AWK"; then
3576 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3582 test -z "$as_dir" && as_dir
=.
3583 for ac_exec_ext
in '' $ac_executable_extensions; do
3584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3585 ac_cv_prog_AWK
="$ac_prog"
3586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3596 if test -n "$AWK"; then
3597 { echo "$as_me:$LINENO: result: $AWK" >&5
3598 echo "${ECHO_T}$AWK" >&6; }
3600 { echo "$as_me:$LINENO: result: no" >&5
3601 echo "${ECHO_T}no" >&6; }
3605 test -n "$AWK" && break
3608 if test "$AWK" = ""; then
3609 { { echo "$as_me:$LINENO: error: gawk is required to build AROS. Please install and run configure again." >&5
3610 echo "$as_me: error: gawk is required to build AROS. Please install and run configure again." >&2;}
3611 { (exit 1); exit 1; }; }
3613 # Extract the first word of "mmake", so it can be a program name with args.
3614 set dummy mmake
; ac_word
=$2
3615 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3617 if test "${ac_cv_prog_MMAKE+set}" = set; then
3618 echo $ECHO_N "(cached) $ECHO_C" >&6
3620 if test -n "$MMAKE"; then
3621 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
3623 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3627 test -z "$as_dir" && as_dir
=.
3628 for ac_exec_ext
in '' $ac_executable_extensions; do
3629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3630 ac_cv_prog_MMAKE
="mmake "
3631 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3640 MMAKE
=$ac_cv_prog_MMAKE
3641 if test -n "$MMAKE"; then
3642 { echo "$as_me:$LINENO: result: $MMAKE" >&5
3643 echo "${ECHO_T}$MMAKE" >&6; }
3645 { echo "$as_me:$LINENO: result: no" >&5
3646 echo "${ECHO_T}no" >&6; }
3651 # Perform some default variable assignments. Note all of these will be
3652 # Regenerated from the script, so there is no need to cache them.
3655 if test "$GCC" = "yes"; then
3656 aros_gcc_ld
=`$CC -print-prog-name=ld`
3657 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
3658 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
3659 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3661 if test "${ac_cv_path_aros_host_ld+set}" = set; then
3662 echo $ECHO_N "(cached) $ECHO_C" >&6
3664 case $aros_host_ld in
3666 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3670 for as_dir
in `dirname $aros_gcc_ld`
3673 test -z "$as_dir" && as_dir
=.
3674 for ac_exec_ext
in '' $ac_executable_extensions; do
3675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3676 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3687 aros_host_ld
=$ac_cv_path_aros_host_ld
3688 if test -n "$aros_host_ld"; then
3689 { echo "$as_me:$LINENO: result: $aros_host_ld" >&5
3690 echo "${ECHO_T}$aros_host_ld" >&6; }
3692 { echo "$as_me:$LINENO: result: no" >&5
3693 echo "${ECHO_T}no" >&6; }
3698 if test "$aros_host_ld" = ""; then
3699 # Extract the first word of "ld", so it can be a program name with args.
3700 set dummy ld
; ac_word
=$2
3701 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3703 if test "${ac_cv_path_aros_host_ld+set}" = set; then
3704 echo $ECHO_N "(cached) $ECHO_C" >&6
3706 case $aros_host_ld in
3708 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3715 test -z "$as_dir" && as_dir
=.
3716 for ac_exec_ext
in '' $ac_executable_extensions; do
3717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3718 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3729 aros_host_ld
=$ac_cv_path_aros_host_ld
3730 if test -n "$aros_host_ld"; then
3731 { echo "$as_me:$LINENO: result: $aros_host_ld" >&5
3732 echo "${ECHO_T}$aros_host_ld" >&6; }
3734 { echo "$as_me:$LINENO: result: no" >&5
3735 echo "${ECHO_T}no" >&6; }
3740 if test "$aros_host_ld" = ""; then
3741 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
3742 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
3743 { (exit 1); exit 1; }; }
3745 aros_host_make
="make"
3746 aros_host_cflags
=$CFLAGS
3747 aros_host_ldflags
=$LDFLAGS
3748 aros_host_debug
="-g -O0"
3749 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
3750 aros_host_mkargs
="--no-print-directory"
3751 aros_host_incl
="/usr/include"
3752 aros_host_exe_suffix
="$EXEEXT"
3753 aros_host_lib_suffix
=""
3755 for ac_prog
in aclocal aclocal19 aclocal-1.9
3757 # Extract the first word of "$ac_prog", so it can be a program name with args.
3758 set dummy
$ac_prog; ac_word
=$2
3759 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3761 if test "${ac_cv_prog_aros_host_aclocal+set}" = set; then
3762 echo $ECHO_N "(cached) $ECHO_C" >&6
3764 if test -n "$aros_host_aclocal"; then
3765 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
3767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3771 test -z "$as_dir" && as_dir
=.
3772 for ac_exec_ext
in '' $ac_executable_extensions; do
3773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3774 ac_cv_prog_aros_host_aclocal
="$ac_prog"
3775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3784 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
3785 if test -n "$aros_host_aclocal"; then
3786 { echo "$as_me:$LINENO: result: $aros_host_aclocal" >&5
3787 echo "${ECHO_T}$aros_host_aclocal" >&6; }
3789 { echo "$as_me:$LINENO: result: no" >&5
3790 echo "${ECHO_T}no" >&6; }
3794 test -n "$aros_host_aclocal" && break
3797 for ac_prog
in autoconf autoconf259 autoconf253
3799 # Extract the first word of "$ac_prog", so it can be a program name with args.
3800 set dummy
$ac_prog; ac_word
=$2
3801 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3803 if test "${ac_cv_prog_aros_host_autoconf+set}" = set; then
3804 echo $ECHO_N "(cached) $ECHO_C" >&6
3806 if test -n "$aros_host_autoconf"; then
3807 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
3809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3813 test -z "$as_dir" && as_dir
=.
3814 for ac_exec_ext
in '' $ac_executable_extensions; do
3815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3816 ac_cv_prog_aros_host_autoconf
="$ac_prog"
3817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3826 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
3827 if test -n "$aros_host_autoconf"; then
3828 { echo "$as_me:$LINENO: result: $aros_host_autoconf" >&5
3829 echo "${ECHO_T}$aros_host_autoconf" >&6; }
3831 { echo "$as_me:$LINENO: result: no" >&5
3832 echo "${ECHO_T}no" >&6; }
3836 test -n "$aros_host_autoconf" && break
3839 for ac_prog
in autoheader autoheader259 autoheader253
3841 # Extract the first word of "$ac_prog", so it can be a program name with args.
3842 set dummy
$ac_prog; ac_word
=$2
3843 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3845 if test "${ac_cv_prog_aros_host_autoheader+set}" = set; then
3846 echo $ECHO_N "(cached) $ECHO_C" >&6
3848 if test -n "$aros_host_autoheader"; then
3849 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
3851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3855 test -z "$as_dir" && as_dir
=.
3856 for ac_exec_ext
in '' $ac_executable_extensions; do
3857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3858 ac_cv_prog_aros_host_autoheader
="$ac_prog"
3859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3868 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
3869 if test -n "$aros_host_autoheader"; then
3870 { echo "$as_me:$LINENO: result: $aros_host_autoheader" >&5
3871 echo "${ECHO_T}$aros_host_autoheader" >&6; }
3873 { echo "$as_me:$LINENO: result: no" >&5
3874 echo "${ECHO_T}no" >&6; }
3878 test -n "$aros_host_autoheader" && break
3881 for ac_prog
in automake automake19 automake-1.9
3883 # Extract the first word of "$ac_prog", so it can be a program name with args.
3884 set dummy
$ac_prog; ac_word
=$2
3885 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3887 if test "${ac_cv_prog_aros_host_automake+set}" = set; then
3888 echo $ECHO_N "(cached) $ECHO_C" >&6
3890 if test -n "$aros_host_automake"; then
3891 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
3893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3897 test -z "$as_dir" && as_dir
=.
3898 for ac_exec_ext
in '' $ac_executable_extensions; do
3899 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3900 ac_cv_prog_aros_host_automake
="$ac_prog"
3901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3910 aros_host_automake
=$ac_cv_prog_aros_host_automake
3911 if test -n "$aros_host_automake"; then
3912 { echo "$as_me:$LINENO: result: $aros_host_automake" >&5
3913 echo "${ECHO_T}$aros_host_automake" >&6; }
3915 { echo "$as_me:$LINENO: result: no" >&5
3916 echo "${ECHO_T}no" >&6; }
3920 test -n "$aros_host_automake" && break
3924 if test "$aros_host_aclocal" = ""; then
3925 { { echo "$as_me:$LINENO: error: aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." >&5
3926 echo "$as_me: error: aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." >&2;}
3927 { (exit 1); exit 1; }; }
3929 if test "$aros_host_automake" = ""; then
3930 { { echo "$as_me:$LINENO: error: automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." >&5
3931 echo "$as_me: error: automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." >&2;}
3932 { (exit 1); exit 1; }; }
3935 case "$aros_host_cc" in
3937 aros_host_cc_pipe
="-pipe"
3940 aros_host_cc_pipe
=""
3943 aros_host_cc_pipe
=""
3947 aros_target_cc_includes
=""
3949 # This is the main host configuration section. It is where the host
3950 # can change the values of any variables it needs to change. We do
3951 # not look at anything that compiles to the target yet, we'll get
3956 aros_host_arch
="aros"
3957 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3960 aros_host_cpu
="i386"
3963 aros_host_cpu
="x86_64"
3969 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
3970 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
3971 aros_host_cpu
="$host_cpu"
3977 aros_host_arch
="linux"
3978 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3981 aros_host_cpu
="i386"
3984 aros_host_cpu
="x86_64"
3987 aros_host_cpu
="m68k"
3996 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
3997 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
3998 aros_host_cpu
="$host_cpu"
4004 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4005 aros_host_make
="gmake"
4006 aros_host_arch
="freebsd"
4007 aros_host_cpu
="i386"
4009 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4014 aros_object_format
="elf_i386"
4018 aros_object_format
="elf_i386_fbsd"
4025 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4026 aros_host_arch
="darwin"
4029 aros_host_cpu
="i386"
4032 aros_host_cpu
="x86_64"
4038 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4039 echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4040 aros_host_cpu
="$host_cpu"
4044 aros_host_ldflags
="$aros_host_ldflags -liconv"
4049 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4050 aros_host_make
="gmake"
4051 aros_host_arch
="dragonfly"
4054 aros_host_cpu
="i386"
4057 aros_host_cpu
="x86_64"
4060 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4061 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4062 aros_host_cpu
="$host_cpu"
4068 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4069 aros_host_make
="gmake"
4070 aros_host_arch
="netbsd"
4073 aros_host_cpu
="i386"
4076 aros_host_cpu
="m68k"
4079 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4080 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4081 aros_host_cpu
="$host_cpu"
4084 aros_host_lib_suffix
=".0.0"
4088 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4089 aros_host_make
="gmake"
4090 aros_host_arch
="openbsd"
4093 aros_host_cpu
="i386"
4096 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4097 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4098 aros_host_cpu
="$host_cpu"
4104 aros_host_arch
="solaris"
4105 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4108 aros_host_cpu
="i386"
4111 aros_host_cpu
="sparc"
4114 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4115 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4116 aros_host_cpu
="$host_cpu"
4122 aros_host_arch
="morphos"
4127 aros_host_arch
="amiga"
4132 TOUCH
="/gg/bin/touch"
4135 aros_host_cpu
="m68k"
4141 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4142 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4143 aros_host_cpu
="$host_cpu"
4149 aros_host_arch
="cygwin"
4150 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4153 aros_host_cpu
="i386"
4156 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4157 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4158 aros_host_cpu
="$host_cpu"
4164 aros_host_arch
="mingw32"
4165 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4168 aros_host_cpu
="i386"
4171 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4172 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4173 aros_host_cpu
="$host_cpu"
4178 { { echo "$as_me:$LINENO: error: Unsupported host architecture $host" >&5
4179 echo "$as_me: error: Unsupported host architecture $host" >&2;}
4180 { (exit 1); exit 1; }; }
4184 # Extract the first word of "ar", so it can be a program name with args.
4185 set dummy
ar; ac_word
=$2
4186 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4188 if test "${ac_cv_prog_aros_host_ar+set}" = set; then
4189 echo $ECHO_N "(cached) $ECHO_C" >&6
4191 if test -n "$aros_host_ar"; then
4192 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4198 test -z "$as_dir" && as_dir
=.
4199 for ac_exec_ext
in '' $ac_executable_extensions; do
4200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4201 ac_cv_prog_aros_host_ar
="ar cr"
4202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4211 aros_host_ar
=$ac_cv_prog_aros_host_ar
4212 if test -n "$aros_host_ar"; then
4213 { echo "$as_me:$LINENO: result: $aros_host_ar" >&5
4214 echo "${ECHO_T}$aros_host_ar" >&6; }
4216 { echo "$as_me:$LINENO: result: no" >&5
4217 echo "${ECHO_T}no" >&6; }
4221 if test "$aros_host_ar" = ""; then
4222 { { echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
4223 echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
4224 { (exit 1); exit 1; }; }
4226 # Extract the first word of "ranlib", so it can be a program name with args.
4227 set dummy ranlib
; ac_word
=$2
4228 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4230 if test "${ac_cv_prog_aros_host_ranlib+set}" = set; then
4231 echo $ECHO_N "(cached) $ECHO_C" >&6
4233 if test -n "$aros_host_ranlib"; then
4234 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4240 test -z "$as_dir" && as_dir
=.
4241 for ac_exec_ext
in '' $ac_executable_extensions; do
4242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4243 ac_cv_prog_aros_host_ranlib
="ranlib "
4244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4253 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4254 if test -n "$aros_host_ranlib"; then
4255 { echo "$as_me:$LINENO: result: $aros_host_ranlib" >&5
4256 echo "${ECHO_T}$aros_host_ranlib" >&6; }
4258 { echo "$as_me:$LINENO: result: no" >&5
4259 echo "${ECHO_T}no" >&6; }
4263 if test "$aros_host_ranlib" = ""; then
4264 { { echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
4265 echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
4266 { (exit 1); exit 1; }; }
4268 # Extract the first word of "strip", so it can be a program name with args.
4269 set dummy strip
; ac_word
=$2
4270 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4272 if test "${ac_cv_prog_aros_host_strip+set}" = set; then
4273 echo $ECHO_N "(cached) $ECHO_C" >&6
4275 if test -n "$aros_host_strip"; then
4276 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4282 test -z "$as_dir" && as_dir
=.
4283 for ac_exec_ext
in '' $ac_executable_extensions; do
4284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4285 ac_cv_prog_aros_host_strip
="strip "
4286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4295 aros_host_strip
=$ac_cv_prog_aros_host_strip
4296 if test -n "$aros_host_strip"; then
4297 { echo "$as_me:$LINENO: result: $aros_host_strip" >&5
4298 echo "${ECHO_T}$aros_host_strip" >&6; }
4300 { echo "$as_me:$LINENO: result: no" >&5
4301 echo "${ECHO_T}no" >&6; }
4305 if test "$aros_host_strip" = ""; then
4306 { { echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
4307 echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
4308 { (exit 1); exit 1; }; }
4311 # Extract the first word of "rm", so it can be a program name with args.
4312 set dummy
rm; ac_word
=$2
4313 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4315 if test "${ac_cv_prog_RM+set}" = set; then
4316 echo $ECHO_N "(cached) $ECHO_C" >&6
4318 if test -n "$RM"; then
4319 ac_cv_prog_RM
="$RM" # Let the user override the test.
4321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4325 test -z "$as_dir" && as_dir
=.
4326 for ac_exec_ext
in '' $ac_executable_extensions; do
4327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4328 ac_cv_prog_RM
="rm -rf"
4329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4339 if test -n "$RM"; then
4340 { echo "$as_me:$LINENO: result: $RM" >&5
4341 echo "${ECHO_T}$RM" >&6; }
4343 { echo "$as_me:$LINENO: result: no" >&5
4344 echo "${ECHO_T}no" >&6; }
4348 if test "$RM" = ""; then
4349 { { echo "$as_me:$LINENO: error: rm is required to build AROS. Please install and run configure again." >&5
4350 echo "$as_me: error: rm is required to build AROS. Please install and run configure again." >&2;}
4351 { (exit 1); exit 1; }; }
4353 # Extract the first word of "cp", so it can be a program name with args.
4354 set dummy
cp; ac_word
=$2
4355 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4356 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4357 if test "${ac_cv_prog_CP+set}" = set; then
4358 echo $ECHO_N "(cached) $ECHO_C" >&6
4360 if test -n "$CP"; then
4361 ac_cv_prog_CP
="$CP" # Let the user override the test.
4363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4367 test -z "$as_dir" && as_dir
=.
4368 for ac_exec_ext
in '' $ac_executable_extensions; do
4369 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4371 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4381 if test -n "$CP"; then
4382 { echo "$as_me:$LINENO: result: $CP" >&5
4383 echo "${ECHO_T}$CP" >&6; }
4385 { echo "$as_me:$LINENO: result: no" >&5
4386 echo "${ECHO_T}no" >&6; }
4390 if test "$CP" = ""; then
4391 { { echo "$as_me:$LINENO: error: cp is required to build AROS. Please install and run configure again." >&5
4392 echo "$as_me: error: cp is required to build AROS. Please install and run configure again." >&2;}
4393 { (exit 1); exit 1; }; }
4395 # Extract the first word of "mv", so it can be a program name with args.
4396 set dummy
mv; ac_word
=$2
4397 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4399 if test "${ac_cv_prog_MV+set}" = set; then
4400 echo $ECHO_N "(cached) $ECHO_C" >&6
4402 if test -n "$MV"; then
4403 ac_cv_prog_MV
="$MV" # Let the user override the test.
4405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4409 test -z "$as_dir" && as_dir
=.
4410 for ac_exec_ext
in '' $ac_executable_extensions; do
4411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4423 if test -n "$MV"; then
4424 { echo "$as_me:$LINENO: result: $MV" >&5
4425 echo "${ECHO_T}$MV" >&6; }
4427 { echo "$as_me:$LINENO: result: no" >&5
4428 echo "${ECHO_T}no" >&6; }
4432 if test "$MV" = ""; then
4433 { { echo "$as_me:$LINENO: error: mv is required to build AROS. Please install and run configure again." >&5
4434 echo "$as_me: error: mv is required to build AROS. Please install and run configure again." >&2;}
4435 { (exit 1); exit 1; }; }
4437 # Extract the first word of "echo", so it can be a program name with args.
4438 set dummy
echo; ac_word
=$2
4439 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4441 if test "${ac_cv_prog_ECHO+set}" = set; then
4442 echo $ECHO_N "(cached) $ECHO_C" >&6
4444 if test -n "$ECHO"; then
4445 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
4447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4451 test -z "$as_dir" && as_dir
=.
4452 for ac_exec_ext
in '' $ac_executable_extensions; do
4453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4454 ac_cv_prog_ECHO
="echo "
4455 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4464 ECHO
=$ac_cv_prog_ECHO
4465 if test -n "$ECHO"; then
4466 { echo "$as_me:$LINENO: result: $ECHO" >&5
4467 echo "${ECHO_T}$ECHO" >&6; }
4469 { echo "$as_me:$LINENO: result: no" >&5
4470 echo "${ECHO_T}no" >&6; }
4474 if test "$ECHO" = ""; then
4475 { { echo "$as_me:$LINENO: error: echo is required to build AROS. Please install and run configure again." >&5
4476 echo "$as_me: error: echo is required to build AROS. Please install and run configure again." >&2;}
4477 { (exit 1); exit 1; }; }
4479 # Extract the first word of "mkdir", so it can be a program name with args.
4480 set dummy mkdir
; ac_word
=$2
4481 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4483 if test "${ac_cv_prog_MKDIR+set}" = set; then
4484 echo $ECHO_N "(cached) $ECHO_C" >&6
4486 if test -n "$MKDIR"; then
4487 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
4489 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4493 test -z "$as_dir" && as_dir
=.
4494 for ac_exec_ext
in '' $ac_executable_extensions; do
4495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4496 ac_cv_prog_MKDIR
="mkdir -p"
4497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4506 MKDIR
=$ac_cv_prog_MKDIR
4507 if test -n "$MKDIR"; then
4508 { echo "$as_me:$LINENO: result: $MKDIR" >&5
4509 echo "${ECHO_T}$MKDIR" >&6; }
4511 { echo "$as_me:$LINENO: result: no" >&5
4512 echo "${ECHO_T}no" >&6; }
4516 if test "$MKDIR" = ""; then
4517 { { echo "$as_me:$LINENO: error: mkdir is required to build AROS. Please install and run configure again." >&5
4518 echo "$as_me: error: mkdir is required to build AROS. Please install and run configure again." >&2;}
4519 { (exit 1); exit 1; }; }
4521 # Extract the first word of "touch", so it can be a program name with args.
4522 set dummy
touch; ac_word
=$2
4523 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4525 if test "${ac_cv_prog_TOUCH+set}" = set; then
4526 echo $ECHO_N "(cached) $ECHO_C" >&6
4528 if test -n "$TOUCH"; then
4529 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
4531 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4535 test -z "$as_dir" && as_dir
=.
4536 for ac_exec_ext
in '' $ac_executable_extensions; do
4537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4538 ac_cv_prog_TOUCH
="touch "
4539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4548 TOUCH
=$ac_cv_prog_TOUCH
4549 if test -n "$TOUCH"; then
4550 { echo "$as_me:$LINENO: result: $TOUCH" >&5
4551 echo "${ECHO_T}$TOUCH" >&6; }
4553 { echo "$as_me:$LINENO: result: no" >&5
4554 echo "${ECHO_T}no" >&6; }
4558 if test "$TOUCH" = ""; then
4559 { { echo "$as_me:$LINENO: error: touch is required to build AROS. Please install and run configure again." >&5
4560 echo "$as_me: error: touch is required to build AROS. Please install and run configure again." >&2;}
4561 { (exit 1); exit 1; }; }
4563 # Extract the first word of "sort", so it can be a program name with args.
4564 set dummy
sort; ac_word
=$2
4565 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4567 if test "${ac_cv_prog_SORT+set}" = set; then
4568 echo $ECHO_N "(cached) $ECHO_C" >&6
4570 if test -n "$SORT"; then
4571 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
4573 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4577 test -z "$as_dir" && as_dir
=.
4578 for ac_exec_ext
in '' $ac_executable_extensions; do
4579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4580 ac_cv_prog_SORT
="sort "
4581 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4590 SORT
=$ac_cv_prog_SORT
4591 if test -n "$SORT"; then
4592 { echo "$as_me:$LINENO: result: $SORT" >&5
4593 echo "${ECHO_T}$SORT" >&6; }
4595 { echo "$as_me:$LINENO: result: no" >&5
4596 echo "${ECHO_T}no" >&6; }
4600 if test "$SORT" = ""; then
4601 { { echo "$as_me:$LINENO: error: sort is required to build AROS. Please install and run configure again." >&5
4602 echo "$as_me: error: sort is required to build AROS. Please install and run configure again." >&2;}
4603 { (exit 1); exit 1; }; }
4605 # Extract the first word of "uniq", so it can be a program name with args.
4606 set dummy
uniq; ac_word
=$2
4607 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4609 if test "${ac_cv_prog_UNIQ+set}" = set; then
4610 echo $ECHO_N "(cached) $ECHO_C" >&6
4612 if test -n "$UNIQ"; then
4613 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
4615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4619 test -z "$as_dir" && as_dir
=.
4620 for ac_exec_ext
in '' $ac_executable_extensions; do
4621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4622 ac_cv_prog_UNIQ
="uniq "
4623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4632 UNIQ
=$ac_cv_prog_UNIQ
4633 if test -n "$UNIQ"; then
4634 { echo "$as_me:$LINENO: result: $UNIQ" >&5
4635 echo "${ECHO_T}$UNIQ" >&6; }
4637 { echo "$as_me:$LINENO: result: no" >&5
4638 echo "${ECHO_T}no" >&6; }
4642 if test "$UNIQ" = ""; then
4643 { { echo "$as_me:$LINENO: error: uniq is required to build AROS. Please install and run configure again." >&5
4644 echo "$as_me: error: uniq is required to build AROS. Please install and run configure again." >&2;}
4645 { (exit 1); exit 1; }; }
4647 # Extract the first word of "true", so it can be a program name with args.
4648 set dummy true
; ac_word
=$2
4649 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4651 if test "${ac_cv_prog_NOP+set}" = set; then
4652 echo $ECHO_N "(cached) $ECHO_C" >&6
4654 if test -n "$NOP"; then
4655 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
4657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4661 test -z "$as_dir" && as_dir
=.
4662 for ac_exec_ext
in '' $ac_executable_extensions; do
4663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4664 ac_cv_prog_NOP
="true "
4665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4675 if test -n "$NOP"; then
4676 { echo "$as_me:$LINENO: result: $NOP" >&5
4677 echo "${ECHO_T}$NOP" >&6; }
4679 { echo "$as_me:$LINENO: result: no" >&5
4680 echo "${ECHO_T}no" >&6; }
4684 if test "$NOP" = ""; then
4685 { { echo "$as_me:$LINENO: error: true is required to build AROS. Please install and run configure again." >&5
4686 echo "$as_me: error: true is required to build AROS. Please install and run configure again." >&2;}
4687 { (exit 1); exit 1; }; }
4689 # Extract the first word of "cat", so it can be a program name with args.
4690 set dummy
cat; ac_word
=$2
4691 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4693 if test "${ac_cv_prog_CAT+set}" = set; then
4694 echo $ECHO_N "(cached) $ECHO_C" >&6
4696 if test -n "$CAT"; then
4697 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
4699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4703 test -z "$as_dir" && as_dir
=.
4704 for ac_exec_ext
in '' $ac_executable_extensions; do
4705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4706 ac_cv_prog_CAT
="cat "
4707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4717 if test -n "$CAT"; then
4718 { echo "$as_me:$LINENO: result: $CAT" >&5
4719 echo "${ECHO_T}$CAT" >&6; }
4721 { echo "$as_me:$LINENO: result: no" >&5
4722 echo "${ECHO_T}no" >&6; }
4726 if test "$CAT" = ""; then
4727 { { echo "$as_me:$LINENO: error: cat is required to build AROS. Please install and run configure again." >&5
4728 echo "$as_me: error: cat is required to build AROS. Please install and run configure again." >&2;}
4729 { (exit 1); exit 1; }; }
4731 # Extract the first word of "bison", so it can be a program name with args.
4732 set dummy bison
; ac_word
=$2
4733 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4735 if test "${ac_cv_prog_BISON+set}" = set; then
4736 echo $ECHO_N "(cached) $ECHO_C" >&6
4738 if test -n "$BISON"; then
4739 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4745 test -z "$as_dir" && as_dir
=.
4746 for ac_exec_ext
in '' $ac_executable_extensions; do
4747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4748 ac_cv_prog_BISON
="bison "
4749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4758 BISON
=$ac_cv_prog_BISON
4759 if test -n "$BISON"; then
4760 { echo "$as_me:$LINENO: result: $BISON" >&5
4761 echo "${ECHO_T}$BISON" >&6; }
4763 { echo "$as_me:$LINENO: result: no" >&5
4764 echo "${ECHO_T}no" >&6; }
4768 if test "$BISON" = ""; then
4769 { { echo "$as_me:$LINENO: error: bison is required to build AROS. Please install and run configure again." >&5
4770 echo "$as_me: error: bison is required to build AROS. Please install and run configure again." >&2;}
4771 { (exit 1); exit 1; }; }
4773 # Extract the first word of "flex", so it can be a program name with args.
4774 set dummy flex
; ac_word
=$2
4775 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4777 if test "${ac_cv_prog_FLEX+set}" = set; then
4778 echo $ECHO_N "(cached) $ECHO_C" >&6
4780 if test -n "$FLEX"; then
4781 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4787 test -z "$as_dir" && as_dir
=.
4788 for ac_exec_ext
in '' $ac_executable_extensions; do
4789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4790 ac_cv_prog_FLEX
="flex "
4791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4800 FLEX
=$ac_cv_prog_FLEX
4801 if test -n "$FLEX"; then
4802 { echo "$as_me:$LINENO: result: $FLEX" >&5
4803 echo "${ECHO_T}$FLEX" >&6; }
4805 { echo "$as_me:$LINENO: result: no" >&5
4806 echo "${ECHO_T}no" >&6; }
4810 if test "$FLEX" = ""; then
4811 { { echo "$as_me:$LINENO: error: flex is required to build AROS. Please install and run configure again." >&5
4812 echo "$as_me: error: flex is required to build AROS. Please install and run configure again." >&2;}
4813 { (exit 1); exit 1; }; }
4815 # Extract the first word of "pngtopnm", so it can be a program name with args.
4816 set dummy pngtopnm
; ac_word
=$2
4817 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4818 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4819 if test "${ac_cv_prog_PNGTOPNM+set}" = set; then
4820 echo $ECHO_N "(cached) $ECHO_C" >&6
4822 if test -n "$PNGTOPNM"; then
4823 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
4825 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4829 test -z "$as_dir" && as_dir
=.
4830 for ac_exec_ext
in '' $ac_executable_extensions; do
4831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4832 ac_cv_prog_PNGTOPNM
="pngtopnm "
4833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4842 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
4843 if test -n "$PNGTOPNM"; then
4844 { echo "$as_me:$LINENO: result: $PNGTOPNM" >&5
4845 echo "${ECHO_T}$PNGTOPNM" >&6; }
4847 { echo "$as_me:$LINENO: result: no" >&5
4848 echo "${ECHO_T}no" >&6; }
4852 if test "$PNGTOPNM" = ""; then
4853 { { echo "$as_me:$LINENO: error: pngtopnm is required to build AROS. Please install and run configure again." >&5
4854 echo "$as_me: error: pngtopnm is required to build AROS. Please install and run configure again." >&2;}
4855 { (exit 1); exit 1; }; }
4857 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
4858 set dummy ppmtoilbm
; ac_word
=$2
4859 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4861 if test "${ac_cv_prog_PPMTOILBM+set}" = set; then
4862 echo $ECHO_N "(cached) $ECHO_C" >&6
4864 if test -n "$PPMTOILBM"; then
4865 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
4867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4871 test -z "$as_dir" && as_dir
=.
4872 for ac_exec_ext
in '' $ac_executable_extensions; do
4873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4874 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
4875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4884 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
4885 if test -n "$PPMTOILBM"; then
4886 { echo "$as_me:$LINENO: result: $PPMTOILBM" >&5
4887 echo "${ECHO_T}$PPMTOILBM" >&6; }
4889 { echo "$as_me:$LINENO: result: no" >&5
4890 echo "${ECHO_T}no" >&6; }
4894 if test "$PPMTOILBM" = ""; then
4895 { { echo "$as_me:$LINENO: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&5
4896 echo "$as_me: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&2;}
4897 { (exit 1); exit 1; }; }
4899 # Extract the first word of "sed", so it can be a program name with args.
4900 set dummy
sed; ac_word
=$2
4901 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4903 if test "${ac_cv_prog_SED+set}" = set; then
4904 echo $ECHO_N "(cached) $ECHO_C" >&6
4906 if test -n "$SED"; then
4907 ac_cv_prog_SED
="$SED" # Let the user override the test.
4909 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4913 test -z "$as_dir" && as_dir
=.
4914 for ac_exec_ext
in '' $ac_executable_extensions; do
4915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4916 ac_cv_prog_SED
="sed "
4917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4927 if test -n "$SED"; then
4928 { echo "$as_me:$LINENO: result: $SED" >&5
4929 echo "${ECHO_T}$SED" >&6; }
4931 { echo "$as_me:$LINENO: result: no" >&5
4932 echo "${ECHO_T}no" >&6; }
4936 if test "$SED" = ""; then
4937 { { echo "$as_me:$LINENO: error: sed is required to build AROS. Please install and run configure again." >&5
4938 echo "$as_me: error: sed is required to build AROS. Please install and run configure again." >&2;}
4939 { (exit 1); exit 1; }; }
4941 # Extract the first word of "chmod", so it can be a program name with args.
4942 set dummy
chmod; ac_word
=$2
4943 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4945 if test "${ac_cv_prog_CHMOD+set}" = set; then
4946 echo $ECHO_N "(cached) $ECHO_C" >&6
4948 if test -n "$CHMOD"; then
4949 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
4951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4955 test -z "$as_dir" && as_dir
=.
4956 for ac_exec_ext
in '' $ac_executable_extensions; do
4957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4958 ac_cv_prog_CHMOD
="chmod "
4959 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4968 CHMOD
=$ac_cv_prog_CHMOD
4969 if test -n "$CHMOD"; then
4970 { echo "$as_me:$LINENO: result: $CHMOD" >&5
4971 echo "${ECHO_T}$CHMOD" >&6; }
4973 { echo "$as_me:$LINENO: result: no" >&5
4974 echo "${ECHO_T}no" >&6; }
4978 if test "$CHMOD" = ""; then
4979 { { echo "$as_me:$LINENO: error: chmod is required to build AROS. Please install and run configure again." >&5
4980 echo "$as_me: error: chmod is required to build AROS. Please install and run configure again." >&2;}
4981 { (exit 1); exit 1; }; }
4988 if test -n "$PYTHON"; then
4989 # If the user set $PYTHON, use it and don't search something else.
4990 { echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.5" >&5
4991 echo $ECHO_N "checking whether $PYTHON version >= 2.5... $ECHO_C" >&6; }
4992 prog
="import sys, string
4993 # split strings by '.' and convert to numeric. Append some zeros
4994 # because we need at least 4 digits for the hex conversion.
4995 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
4997 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
4998 sys.exit(sys.hexversion < minverhex)"
4999 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5000 ($PYTHON -c "$prog") >&5 2>&5
5002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5003 (exit $ac_status); }; then
5004 { echo "$as_me:$LINENO: result: yes" >&5
5005 echo "${ECHO_T}yes" >&6; }
5007 { { echo "$as_me:$LINENO: error: too old" >&5
5008 echo "$as_me: error: too old" >&2;}
5009 { (exit 1); exit 1; }; }
5012 am_display_PYTHON
=$PYTHON
5014 # Otherwise, try each interpreter until we find one that satisfies
5016 { echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.5" >&5
5017 echo $ECHO_N "checking for a Python interpreter with version >= 2.5... $ECHO_C" >&6; }
5018 if test "${am_cv_pathless_PYTHON+set}" = set; then
5019 echo $ECHO_N "(cached) $ECHO_C" >&6
5022 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
5023 test "$am_cv_pathless_PYTHON" = none
&& break
5024 prog
="import sys, string
5025 # split strings by '.' and convert to numeric. Append some zeros
5026 # because we need at least 4 digits for the hex conversion.
5027 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5029 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5030 sys.exit(sys.hexversion < minverhex)"
5031 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5032 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5035 (exit $ac_status); }; then
5041 { echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
5042 echo "${ECHO_T}$am_cv_pathless_PYTHON" >&6; }
5043 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5044 if test "$am_cv_pathless_PYTHON" = none
; then
5047 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5048 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5049 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5051 if test "${ac_cv_path_PYTHON+set}" = set; then
5052 echo $ECHO_N "(cached) $ECHO_C" >&6
5056 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5063 test -z "$as_dir" && as_dir
=.
5064 for ac_exec_ext
in '' $ac_executable_extensions; do
5065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5066 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5077 PYTHON
=$ac_cv_path_PYTHON
5078 if test -n "$PYTHON"; then
5079 { echo "$as_me:$LINENO: result: $PYTHON" >&5
5080 echo "${ECHO_T}$PYTHON" >&6; }
5082 { echo "$as_me:$LINENO: result: no" >&5
5083 echo "${ECHO_T}no" >&6; }
5088 am_display_PYTHON
=$am_cv_pathless_PYTHON
5092 if test "$PYTHON" = :; then
5093 { { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
5094 echo "$as_me: error: no suitable Python interpreter found" >&2;}
5095 { (exit 1); exit 1; }; }
5099 { echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
5100 echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; }
5101 if test "${am_cv_python_version+set}" = set; then
5102 echo $ECHO_N "(cached) $ECHO_C" >&6
5104 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
5106 { echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
5107 echo "${ECHO_T}$am_cv_python_version" >&6; }
5108 PYTHON_VERSION
=$am_cv_python_version
5112 PYTHON_PREFIX
='${prefix}'
5114 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5118 { echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
5119 echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; }
5120 if test "${am_cv_python_platform+set}" = set; then
5121 echo $ECHO_N "(cached) $ECHO_C" >&6
5123 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
5125 { echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
5126 echo "${ECHO_T}$am_cv_python_platform" >&6; }
5127 PYTHON_PLATFORM
=$am_cv_python_platform
5132 { echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
5133 echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6; }
5134 if test "${am_cv_python_pythondir+set}" = set; then
5135 echo $ECHO_N "(cached) $ECHO_C" >&6
5137 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5138 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5140 { echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
5141 echo "${ECHO_T}$am_cv_python_pythondir" >&6; }
5142 pythondir
=$am_cv_python_pythondir
5146 pkgpythondir
=\
${pythondir}/$PACKAGE
5149 { echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
5150 echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6; }
5151 if test "${am_cv_python_pyexecdir+set}" = set; then
5152 echo $ECHO_N "(cached) $ECHO_C" >&6
5154 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5155 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5157 { echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
5158 echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; }
5159 pyexecdir
=$am_cv_python_pyexecdir
5163 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5181 # Check for some includes for the X11 HIDD and the kernel
5184 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5185 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5186 if test "${ac_cv_path_GREP+set}" = set; then
5187 echo $ECHO_N "(cached) $ECHO_C" >&6
5189 # Extract the first word of "grep ggrep" to use in msg output
5190 if test -z "$GREP"; then
5191 set dummy
grep ggrep
; ac_prog_name
=$2
5192 if test "${ac_cv_path_GREP+set}" = set; then
5193 echo $ECHO_N "(cached) $ECHO_C" >&6
5195 ac_path_GREP_found
=false
5196 # Loop through the user's path and test for each of PROGNAME-LIST
5197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5198 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5201 test -z "$as_dir" && as_dir
=.
5202 for ac_prog
in grep ggrep
; do
5203 for ac_exec_ext
in '' $ac_executable_extensions; do
5204 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5205 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5206 # Check for GNU ac_path_GREP and select it if it is found.
5207 # Check for GNU $ac_path_GREP
5208 case `"$ac_path_GREP" --version 2>&1` in
5210 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5213 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5216 cat "conftest.in" "conftest.in" >"conftest.tmp"
5217 mv "conftest.tmp" "conftest.in"
5218 cp "conftest.in" "conftest.nl"
5219 echo 'GREP' >> "conftest.nl"
5220 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5221 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5222 ac_count
=`expr $ac_count + 1`
5223 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5224 # Best one so far, save it but keep looking for a better one
5225 ac_cv_path_GREP
="$ac_path_GREP"
5226 ac_path_GREP_max
=$ac_count
5228 # 10*(2^10) chars as input seems more than enough
5229 test $ac_count -gt 10 && break
5231 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5235 $ac_path_GREP_found && break 3
5245 GREP
="$ac_cv_path_GREP"
5246 if test -z "$GREP"; then
5247 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5248 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5249 { (exit 1); exit 1; }; }
5253 ac_cv_path_GREP
=$GREP
5258 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5259 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5260 GREP
="$ac_cv_path_GREP"
5263 { echo "$as_me:$LINENO: checking for egrep" >&5
5264 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5265 if test "${ac_cv_path_EGREP+set}" = set; then
5266 echo $ECHO_N "(cached) $ECHO_C" >&6
5268 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5269 then ac_cv_path_EGREP
="$GREP -E"
5271 # Extract the first word of "egrep" to use in msg output
5272 if test -z "$EGREP"; then
5273 set dummy
egrep; ac_prog_name
=$2
5274 if test "${ac_cv_path_EGREP+set}" = set; then
5275 echo $ECHO_N "(cached) $ECHO_C" >&6
5277 ac_path_EGREP_found
=false
5278 # Loop through the user's path and test for each of PROGNAME-LIST
5279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5280 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5283 test -z "$as_dir" && as_dir
=.
5284 for ac_prog
in egrep; do
5285 for ac_exec_ext
in '' $ac_executable_extensions; do
5286 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5287 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5288 # Check for GNU ac_path_EGREP and select it if it is found.
5289 # Check for GNU $ac_path_EGREP
5290 case `"$ac_path_EGREP" --version 2>&1` in
5292 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5295 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5298 cat "conftest.in" "conftest.in" >"conftest.tmp"
5299 mv "conftest.tmp" "conftest.in"
5300 cp "conftest.in" "conftest.nl"
5301 echo 'EGREP' >> "conftest.nl"
5302 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5303 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5304 ac_count
=`expr $ac_count + 1`
5305 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5306 # Best one so far, save it but keep looking for a better one
5307 ac_cv_path_EGREP
="$ac_path_EGREP"
5308 ac_path_EGREP_max
=$ac_count
5310 # 10*(2^10) chars as input seems more than enough
5311 test $ac_count -gt 10 && break
5313 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5317 $ac_path_EGREP_found && break 3
5327 EGREP
="$ac_cv_path_EGREP"
5328 if test -z "$EGREP"; then
5329 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5330 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5331 { (exit 1); exit 1; }; }
5335 ac_cv_path_EGREP
=$EGREP
5341 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5342 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5343 EGREP
="$ac_cv_path_EGREP"
5346 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5347 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5348 if test "${ac_cv_header_stdc+set}" = set; then
5349 echo $ECHO_N "(cached) $ECHO_C" >&6
5351 cat >conftest.
$ac_ext <<_ACEOF
5354 cat confdefs.h
>>conftest.
$ac_ext
5355 cat >>conftest.
$ac_ext <<_ACEOF
5356 /* end confdefs.h. */
5370 rm -f conftest.
$ac_objext
5371 if { (ac_try
="$ac_compile"
5373 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5374 *) ac_try_echo=$ac_try;;
5376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5377 (eval "$ac_compile") 2>conftest.er1
5379 grep -v '^ *+' conftest.er1 >conftest.err
5381 cat conftest.err >&5
5382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5383 (exit $ac_status); } && {
5384 test -z "$ac_c_werror_flag" ||
5385 test ! -s conftest.err
5386 } && test -s conftest.$ac_objext; then
5387 ac_cv_header_stdc=yes
5389 echo "$as_me: failed program was:" >&5
5390 sed 's/^/| /' conftest.$ac_ext >&5
5392 ac_cv_header_stdc=no
5395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5397 if test $ac_cv_header_stdc = yes; then
5398 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5399 cat >conftest.$ac_ext <<_ACEOF
5402 cat confdefs.h >>conftest.$ac_ext
5403 cat >>conftest.$ac_ext <<_ACEOF
5404 /* end confdefs.h. */
5408 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5409 $EGREP "memchr" >/dev/null 2>&1; then
5412 ac_cv_header_stdc=no
5418 if test $ac_cv_header_stdc = yes; then
5419 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5420 cat >conftest.$ac_ext <<_ACEOF
5423 cat confdefs.h >>conftest.$ac_ext
5424 cat >>conftest.$ac_ext <<_ACEOF
5425 /* end confdefs.h. */
5429 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5430 $EGREP "free" >/dev/null 2>&1; then
5433 ac_cv_header_stdc=no
5439 if test $ac_cv_header_stdc = yes; then
5440 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5441 if test "$cross_compiling" = yes; then
5444 cat >conftest.$ac_ext <<_ACEOF
5447 cat confdefs.h >>conftest.$ac_ext
5448 cat >>conftest.$ac_ext <<_ACEOF
5449 /* end confdefs.h. */
5452 #if ((' ' & 0x0FF) == 0x020)
5453 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5454 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5456 # define ISLOWER(c) \
5457 (('a' <= (c) && (c) <= 'i') \
5458 || ('j' <= (c) && (c) <= 'r') \
5459 || ('s' <= (c) && (c) <= 'z'))
5460 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5463 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5468 for (i = 0; i < 256; i++)
5469 if (XOR (islower (i), ISLOWER (i))
5470 || toupper (i) != TOUPPER (i))
5475 rm -f conftest$ac_exeext
5476 if { (ac_try="$ac_link"
5478 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5479 *) ac_try_echo
=$ac_try;;
5481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5482 (eval "$ac_link") 2>&5
5484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5485 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5486 { (case "(($ac_try" in
5487 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5488 *) ac_try_echo=$ac_try;;
5490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5491 (eval "$ac_try") 2>&5
5493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5494 (exit $ac_status); }; }; then
5497 echo "$as_me: program exited with status $ac_status" >&5
5498 echo "$as_me: failed program was:" >&5
5499 sed 's/^/| /' conftest.$ac_ext >&5
5502 ac_cv_header_stdc=no
5504 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5510 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5511 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5512 if test $ac_cv_header_stdc = yes; then
5514 cat >>confdefs.h <<\_ACEOF
5515 #define STDC_HEADERS 1
5520 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5530 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5531 inttypes.h stdint.h unistd.h
5533 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5534 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5535 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5536 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5537 echo $ECHO_N "(cached) $ECHO_C" >&6
5539 cat >conftest.$ac_ext <<_ACEOF
5542 cat confdefs.h >>conftest.$ac_ext
5543 cat >>conftest.$ac_ext <<_ACEOF
5544 /* end confdefs.h. */
5545 $ac_includes_default
5547 #include <$ac_header>
5549 rm -f conftest.$ac_objext
5550 if { (ac_try="$ac_compile"
5552 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5553 *) ac_try_echo
=$ac_try;;
5555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5556 (eval "$ac_compile") 2>conftest.er1
5558 grep -v '^ *+' conftest.er1
>conftest.err
5560 cat conftest.err
>&5
5561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5562 (exit $ac_status); } && {
5563 test -z "$ac_c_werror_flag" ||
5564 test ! -s conftest.err
5565 } && test -s conftest.
$ac_objext; then
5566 eval "$as_ac_Header=yes"
5568 echo "$as_me: failed program was:" >&5
5569 sed 's/^/| /' conftest.
$ac_ext >&5
5571 eval "$as_ac_Header=no"
5574 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5576 ac_res
=`eval echo '${'$as_ac_Header'}'`
5577 { echo "$as_me:$LINENO: result: $ac_res" >&5
5578 echo "${ECHO_T}$ac_res" >&6; }
5579 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5580 cat >>confdefs.h
<<_ACEOF
5581 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5598 for ac_header
in sys
/ipc.h sys
/shm.h \
5599 sys
/mmap.h sys
/mman.h sysexits.h \
5600 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
5603 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5604 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5605 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5606 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5607 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5608 echo $ECHO_N "(cached) $ECHO_C" >&6
5610 ac_res
=`eval echo '${'$as_ac_Header'}'`
5611 { echo "$as_me:$LINENO: result: $ac_res" >&5
5612 echo "${ECHO_T}$ac_res" >&6; }
5614 # Is the header compilable?
5615 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5616 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5617 cat >conftest.
$ac_ext <<_ACEOF
5620 cat confdefs.h
>>conftest.
$ac_ext
5621 cat >>conftest.
$ac_ext <<_ACEOF
5622 /* end confdefs.h. */
5623 $ac_includes_default
5624 #include <$ac_header>
5626 rm -f conftest.
$ac_objext
5627 if { (ac_try
="$ac_compile"
5629 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5630 *) ac_try_echo=$ac_try;;
5632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5633 (eval "$ac_compile") 2>conftest.er1
5635 grep -v '^ *+' conftest.er1 >conftest.err
5637 cat conftest.err >&5
5638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5639 (exit $ac_status); } && {
5640 test -z "$ac_c_werror_flag" ||
5641 test ! -s conftest.err
5642 } && test -s conftest.$ac_objext; then
5643 ac_header_compiler=yes
5645 echo "$as_me: failed program was:" >&5
5646 sed 's/^/| /' conftest.$ac_ext >&5
5648 ac_header_compiler=no
5651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5652 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5653 echo "${ECHO_T}$ac_header_compiler" >&6; }
5655 # Is the header present?
5656 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5657 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5658 cat >conftest.$ac_ext <<_ACEOF
5661 cat confdefs.h >>conftest.$ac_ext
5662 cat >>conftest.$ac_ext <<_ACEOF
5663 /* end confdefs.h. */
5664 #include <$ac_header>
5666 if { (ac_try="$ac_cpp conftest.$ac_ext"
5668 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5669 *) ac_try_echo
=$ac_try;;
5671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5672 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5674 grep -v '^ *+' conftest.er1
>conftest.err
5676 cat conftest.err
>&5
5677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5678 (exit $ac_status); } >/dev
/null
&& {
5679 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5680 test ! -s conftest.err
5682 ac_header_preproc
=yes
5684 echo "$as_me: failed program was:" >&5
5685 sed 's/^/| /' conftest.
$ac_ext >&5
5687 ac_header_preproc
=no
5690 rm -f conftest.err conftest.
$ac_ext
5691 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5692 echo "${ECHO_T}$ac_header_preproc" >&6; }
5694 # So? What about this header?
5695 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5697 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5698 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5699 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5700 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5701 ac_header_preproc
=yes
5704 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5705 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5706 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5707 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5708 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5709 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5710 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5711 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5712 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5713 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5714 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5715 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5719 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5720 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5721 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5722 echo $ECHO_N "(cached) $ECHO_C" >&6
5724 eval "$as_ac_Header=\$ac_header_preproc"
5726 ac_res
=`eval echo '${'$as_ac_Header'}'`
5727 { echo "$as_me:$LINENO: result: $ac_res" >&5
5728 echo "${ECHO_T}$ac_res" >&6; }
5731 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5732 cat >>confdefs.h
<<_ACEOF
5733 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5742 for ac_header
in sys
/mount.h
5744 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5745 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5746 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5747 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5748 echo $ECHO_N "(cached) $ECHO_C" >&6
5750 cat >conftest.
$ac_ext <<_ACEOF
5753 cat confdefs.h
>>conftest.
$ac_ext
5754 cat >>conftest.
$ac_ext <<_ACEOF
5755 /* end confdefs.h. */
5756 #include <sys/param.h>
5758 #include <$ac_header>
5760 rm -f conftest.
$ac_objext
5761 if { (ac_try
="$ac_compile"
5763 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5764 *) ac_try_echo=$ac_try;;
5766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5767 (eval "$ac_compile") 2>conftest.er1
5769 grep -v '^ *+' conftest.er1 >conftest.err
5771 cat conftest.err >&5
5772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5773 (exit $ac_status); } && {
5774 test -z "$ac_c_werror_flag" ||
5775 test ! -s conftest.err
5776 } && test -s conftest.$ac_objext; then
5777 eval "$as_ac_Header=yes"
5779 echo "$as_me: failed program was:" >&5
5780 sed 's/^/| /' conftest.$ac_ext >&5
5782 eval "$as_ac_Header=no"
5785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5787 ac_res=`eval echo '${'$as_ac_Header'}'`
5788 { echo "$as_me:$LINENO: result: $ac_res" >&5
5789 echo "${ECHO_T}$ac_res" >&6; }
5790 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5791 cat >>confdefs.h <<_ACEOF
5792 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5806 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
5807 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
5808 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
5809 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
5810 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5811 echo $ECHO_N "(cached) $ECHO_C" >&6
5813 cat >conftest.$ac_ext <<_ACEOF
5816 cat confdefs.h >>conftest.$ac_ext
5817 cat >>conftest.$ac_ext <<_ACEOF
5818 /* end confdefs.h. */
5819 #include <sys/types.h>
5831 rm -f conftest.$ac_objext
5832 if { (ac_try="$ac_compile"
5834 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5835 *) ac_try_echo
=$ac_try;;
5837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5838 (eval "$ac_compile") 2>conftest.er1
5840 grep -v '^ *+' conftest.er1
>conftest.err
5842 cat conftest.err
>&5
5843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5844 (exit $ac_status); } && {
5845 test -z "$ac_c_werror_flag" ||
5846 test ! -s conftest.err
5847 } && test -s conftest.
$ac_objext; then
5848 eval "$as_ac_Header=yes"
5850 echo "$as_me: failed program was:" >&5
5851 sed 's/^/| /' conftest.
$ac_ext >&5
5853 eval "$as_ac_Header=no"
5856 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5858 ac_res
=`eval echo '${'$as_ac_Header'}'`
5859 { echo "$as_me:$LINENO: result: $ac_res" >&5
5860 echo "${ECHO_T}$ac_res" >&6; }
5861 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5862 cat >>confdefs.h
<<_ACEOF
5863 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5866 ac_header_dirent
=$ac_hdr; break
5870 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5871 if test $ac_header_dirent = dirent.h
; then
5872 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
5873 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
5874 if test "${ac_cv_search_opendir+set}" = set; then
5875 echo $ECHO_N "(cached) $ECHO_C" >&6
5877 ac_func_search_save_LIBS
=$LIBS
5878 cat >conftest.
$ac_ext <<_ACEOF
5881 cat confdefs.h
>>conftest.
$ac_ext
5882 cat >>conftest.
$ac_ext <<_ACEOF
5883 /* end confdefs.h. */
5885 /* Override any GCC internal prototype to avoid an error.
5886 Use char because int might match the return type of a GCC
5887 builtin and then its argument prototype would still apply. */
5900 for ac_lib
in '' dir
; do
5901 if test -z "$ac_lib"; then
5902 ac_res
="none required"
5905 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5907 rm -f conftest.
$ac_objext conftest
$ac_exeext
5908 if { (ac_try
="$ac_link"
5910 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5911 *) ac_try_echo=$ac_try;;
5913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5914 (eval "$ac_link") 2>conftest.er1
5916 grep -v '^ *+' conftest.er1 >conftest.err
5918 cat conftest.err >&5
5919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5920 (exit $ac_status); } && {
5921 test -z "$ac_c_werror_flag" ||
5922 test ! -s conftest.err
5923 } && test -s conftest$ac_exeext &&
5924 $as_test_x conftest$ac_exeext; then
5925 ac_cv_search_opendir=$ac_res
5927 echo "$as_me: failed program was:" >&5
5928 sed 's/^/| /' conftest.$ac_ext >&5
5933 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5935 if test "${ac_cv_search_opendir+set}" = set; then
5939 if test "${ac_cv_search_opendir+set}" = set; then
5942 ac_cv_search_opendir=no
5945 LIBS=$ac_func_search_save_LIBS
5947 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5948 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
5949 ac_res=$ac_cv_search_opendir
5950 if test "$ac_res" != no; then
5951 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5956 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
5957 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
5958 if test "${ac_cv_search_opendir+set}" = set; then
5959 echo $ECHO_N "(cached) $ECHO_C" >&6
5961 ac_func_search_save_LIBS=$LIBS
5962 cat >conftest.$ac_ext <<_ACEOF
5965 cat confdefs.h >>conftest.$ac_ext
5966 cat >>conftest.$ac_ext <<_ACEOF
5967 /* end confdefs.h. */
5969 /* Override any GCC internal prototype to avoid an error.
5970 Use char because int might match the return type of a GCC
5971 builtin and then its argument prototype would still apply. */
5984 for ac_lib in '' x; do
5985 if test -z "$ac_lib"; then
5986 ac_res="none required"
5989 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5991 rm -f conftest.$ac_objext conftest$ac_exeext
5992 if { (ac_try="$ac_link"
5994 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5995 *) ac_try_echo
=$ac_try;;
5997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5998 (eval "$ac_link") 2>conftest.er1
6000 grep -v '^ *+' conftest.er1
>conftest.err
6002 cat conftest.err
>&5
6003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6004 (exit $ac_status); } && {
6005 test -z "$ac_c_werror_flag" ||
6006 test ! -s conftest.err
6007 } && test -s conftest
$ac_exeext &&
6008 $as_test_x conftest
$ac_exeext; then
6009 ac_cv_search_opendir
=$ac_res
6011 echo "$as_me: failed program was:" >&5
6012 sed 's/^/| /' conftest.
$ac_ext >&5
6017 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6019 if test "${ac_cv_search_opendir+set}" = set; then
6023 if test "${ac_cv_search_opendir+set}" = set; then
6026 ac_cv_search_opendir
=no
6029 LIBS
=$ac_func_search_save_LIBS
6031 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6032 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
6033 ac_res
=$ac_cv_search_opendir
6034 if test "$ac_res" != no
; then
6035 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6041 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
6042 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
6043 if test "${ac_cv_header_stat_broken+set}" = set; then
6044 echo $ECHO_N "(cached) $ECHO_C" >&6
6046 cat >conftest.
$ac_ext <<_ACEOF
6049 cat confdefs.h
>>conftest.
$ac_ext
6050 cat >>conftest.
$ac_ext <<_ACEOF
6051 /* end confdefs.h. */
6052 #include <sys/types.h>
6053 #include <sys/stat.h>
6055 #if defined S_ISBLK && defined S_IFDIR
6056 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6059 #if defined S_ISBLK && defined S_IFCHR
6060 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6063 #if defined S_ISLNK && defined S_IFREG
6064 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6067 #if defined S_ISSOCK && defined S_IFREG
6068 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6072 rm -f conftest.
$ac_objext
6073 if { (ac_try
="$ac_compile"
6075 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6076 *) ac_try_echo=$ac_try;;
6078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6079 (eval "$ac_compile") 2>conftest.er1
6081 grep -v '^ *+' conftest.er1 >conftest.err
6083 cat conftest.err >&5
6084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6085 (exit $ac_status); } && {
6086 test -z "$ac_c_werror_flag" ||
6087 test ! -s conftest.err
6088 } && test -s conftest.$ac_objext; then
6089 ac_cv_header_stat_broken=no
6091 echo "$as_me: failed program was:" >&5
6092 sed 's/^/| /' conftest.$ac_ext >&5
6094 ac_cv_header_stat_broken=yes
6097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6099 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
6100 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
6101 if test $ac_cv_header_stat_broken = yes; then
6103 cat >>confdefs.h <<\_ACEOF
6104 #define STAT_MACROS_BROKEN 1
6109 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6110 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6111 if test "${ac_cv_header_stdc+set}" = set; then
6112 echo $ECHO_N "(cached) $ECHO_C" >&6
6114 cat >conftest.$ac_ext <<_ACEOF
6117 cat confdefs.h >>conftest.$ac_ext
6118 cat >>conftest.$ac_ext <<_ACEOF
6119 /* end confdefs.h. */
6133 rm -f conftest.$ac_objext
6134 if { (ac_try="$ac_compile"
6136 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6137 *) ac_try_echo
=$ac_try;;
6139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6140 (eval "$ac_compile") 2>conftest.er1
6142 grep -v '^ *+' conftest.er1
>conftest.err
6144 cat conftest.err
>&5
6145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6146 (exit $ac_status); } && {
6147 test -z "$ac_c_werror_flag" ||
6148 test ! -s conftest.err
6149 } && test -s conftest.
$ac_objext; then
6150 ac_cv_header_stdc
=yes
6152 echo "$as_me: failed program was:" >&5
6153 sed 's/^/| /' conftest.
$ac_ext >&5
6155 ac_cv_header_stdc
=no
6158 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6160 if test $ac_cv_header_stdc = yes; then
6161 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6162 cat >conftest.
$ac_ext <<_ACEOF
6165 cat confdefs.h
>>conftest.
$ac_ext
6166 cat >>conftest.
$ac_ext <<_ACEOF
6167 /* end confdefs.h. */
6171 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6172 $EGREP "memchr" >/dev
/null
2>&1; then
6175 ac_cv_header_stdc
=no
6181 if test $ac_cv_header_stdc = yes; then
6182 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6183 cat >conftest.
$ac_ext <<_ACEOF
6186 cat confdefs.h
>>conftest.
$ac_ext
6187 cat >>conftest.
$ac_ext <<_ACEOF
6188 /* end confdefs.h. */
6192 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6193 $EGREP "free" >/dev
/null
2>&1; then
6196 ac_cv_header_stdc
=no
6202 if test $ac_cv_header_stdc = yes; then
6203 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6204 if test "$cross_compiling" = yes; then
6207 cat >conftest.
$ac_ext <<_ACEOF
6210 cat confdefs.h
>>conftest.
$ac_ext
6211 cat >>conftest.
$ac_ext <<_ACEOF
6212 /* end confdefs.h. */
6215 #if ((' ' & 0x0FF) == 0x020)
6216 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6217 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6219 # define ISLOWER(c) \
6220 (('a' <= (c) && (c) <= 'i') \
6221 || ('j' <= (c) && (c) <= 'r') \
6222 || ('s' <= (c) && (c) <= 'z'))
6223 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6226 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6231 for (i = 0; i < 256; i++)
6232 if (XOR (islower (i), ISLOWER (i))
6233 || toupper (i) != TOUPPER (i))
6238 rm -f conftest
$ac_exeext
6239 if { (ac_try
="$ac_link"
6241 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6242 *) ac_try_echo=$ac_try;;
6244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6245 (eval "$ac_link") 2>&5
6247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6248 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6249 { (case "(($ac_try" in
6250 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6251 *) ac_try_echo
=$ac_try;;
6253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6254 (eval "$ac_try") 2>&5
6256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6257 (exit $ac_status); }; }; then
6260 echo "$as_me: program exited with status $ac_status" >&5
6261 echo "$as_me: failed program was:" >&5
6262 sed 's/^/| /' conftest.
$ac_ext >&5
6265 ac_cv_header_stdc
=no
6267 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6273 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6274 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6275 if test $ac_cv_header_stdc = yes; then
6277 cat >>confdefs.h
<<\_ACEOF
6278 #define STDC_HEADERS 1
6283 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
6284 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
6285 if test "${ac_cv_header_sys_wait_h+set}" = set; then
6286 echo $ECHO_N "(cached) $ECHO_C" >&6
6288 cat >conftest.
$ac_ext <<_ACEOF
6291 cat confdefs.h
>>conftest.
$ac_ext
6292 cat >>conftest.
$ac_ext <<_ACEOF
6293 /* end confdefs.h. */
6294 #include <sys/types.h>
6295 #include <sys/wait.h>
6297 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6300 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6308 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6313 rm -f conftest.
$ac_objext
6314 if { (ac_try
="$ac_compile"
6316 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6317 *) ac_try_echo=$ac_try;;
6319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6320 (eval "$ac_compile") 2>conftest.er1
6322 grep -v '^ *+' conftest.er1 >conftest.err
6324 cat conftest.err >&5
6325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6326 (exit $ac_status); } && {
6327 test -z "$ac_c_werror_flag" ||
6328 test ! -s conftest.err
6329 } && test -s conftest.$ac_objext; then
6330 ac_cv_header_sys_wait_h=yes
6332 echo "$as_me: failed program was:" >&5
6333 sed 's/^/| /' conftest.$ac_ext >&5
6335 ac_cv_header_sys_wait_h=no
6338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6340 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
6341 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
6342 if test $ac_cv_header_sys_wait_h = yes; then
6344 cat >>confdefs.h <<\_ACEOF
6345 #define HAVE_SYS_WAIT_H 1
6350 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6351 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
6352 if test "${ac_cv_header_time+set}" = set; then
6353 echo $ECHO_N "(cached) $ECHO_C" >&6
6355 cat >conftest.$ac_ext <<_ACEOF
6358 cat confdefs.h >>conftest.$ac_ext
6359 cat >>conftest.$ac_ext <<_ACEOF
6360 /* end confdefs.h. */
6361 #include <sys/types.h>
6362 #include <sys/time.h>
6368 if ((struct tm *) 0)
6374 rm -f conftest.$ac_objext
6375 if { (ac_try="$ac_compile"
6377 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6378 *) ac_try_echo
=$ac_try;;
6380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6381 (eval "$ac_compile") 2>conftest.er1
6383 grep -v '^ *+' conftest.er1
>conftest.err
6385 cat conftest.err
>&5
6386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6387 (exit $ac_status); } && {
6388 test -z "$ac_c_werror_flag" ||
6389 test ! -s conftest.err
6390 } && test -s conftest.
$ac_objext; then
6391 ac_cv_header_time
=yes
6393 echo "$as_me: failed program was:" >&5
6394 sed 's/^/| /' conftest.
$ac_ext >&5
6396 ac_cv_header_time
=no
6399 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6401 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6402 echo "${ECHO_T}$ac_cv_header_time" >&6; }
6403 if test $ac_cv_header_time = yes; then
6405 cat >>confdefs.h
<<\_ACEOF
6406 #define TIME_WITH_SYS_TIME 1
6411 { echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6412 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6; }
6413 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6414 echo $ECHO_N "(cached) $ECHO_C" >&6
6416 cat >conftest.
$ac_ext <<_ACEOF
6419 cat confdefs.h
>>conftest.
$ac_ext
6420 cat >>conftest.
$ac_ext <<_ACEOF
6421 /* end confdefs.h. */
6422 $ac_includes_default
6426 static struct stat ac_aggr;
6427 if (ac_aggr.st_blksize)
6433 rm -f conftest.
$ac_objext
6434 if { (ac_try
="$ac_compile"
6436 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6437 *) ac_try_echo=$ac_try;;
6439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6440 (eval "$ac_compile") 2>conftest.er1
6442 grep -v '^ *+' conftest.er1 >conftest.err
6444 cat conftest.err >&5
6445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6446 (exit $ac_status); } && {
6447 test -z "$ac_c_werror_flag" ||
6448 test ! -s conftest.err
6449 } && test -s conftest.$ac_objext; then
6450 ac_cv_member_struct_stat_st_blksize=yes
6452 echo "$as_me: failed program was:" >&5
6453 sed 's/^/| /' conftest.$ac_ext >&5
6455 cat >conftest.$ac_ext <<_ACEOF
6458 cat confdefs.h >>conftest.$ac_ext
6459 cat >>conftest.$ac_ext <<_ACEOF
6460 /* end confdefs.h. */
6461 $ac_includes_default
6465 static struct stat ac_aggr;
6466 if (sizeof ac_aggr.st_blksize)
6472 rm -f conftest.$ac_objext
6473 if { (ac_try="$ac_compile"
6475 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6476 *) ac_try_echo
=$ac_try;;
6478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6479 (eval "$ac_compile") 2>conftest.er1
6481 grep -v '^ *+' conftest.er1
>conftest.err
6483 cat conftest.err
>&5
6484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6485 (exit $ac_status); } && {
6486 test -z "$ac_c_werror_flag" ||
6487 test ! -s conftest.err
6488 } && test -s conftest.
$ac_objext; then
6489 ac_cv_member_struct_stat_st_blksize
=yes
6491 echo "$as_me: failed program was:" >&5
6492 sed 's/^/| /' conftest.
$ac_ext >&5
6494 ac_cv_member_struct_stat_st_blksize
=no
6497 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6500 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6502 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
6503 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6; }
6504 if test $ac_cv_member_struct_stat_st_blksize = yes; then
6506 cat >>confdefs.h
<<_ACEOF
6507 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6511 cat >>confdefs.h
<<\_ACEOF
6512 #define HAVE_ST_BLKSIZE 1
6518 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
6519 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
6520 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
6521 echo $ECHO_N "(cached) $ECHO_C" >&6
6523 cat >conftest.
$ac_ext <<_ACEOF
6526 cat confdefs.h
>>conftest.
$ac_ext
6527 cat >>conftest.
$ac_ext <<_ACEOF
6528 /* end confdefs.h. */
6529 $ac_includes_default
6533 static struct stat ac_aggr;
6534 if (ac_aggr.st_blocks)
6540 rm -f conftest.
$ac_objext
6541 if { (ac_try
="$ac_compile"
6543 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6544 *) ac_try_echo=$ac_try;;
6546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6547 (eval "$ac_compile") 2>conftest.er1
6549 grep -v '^ *+' conftest.er1 >conftest.err
6551 cat conftest.err >&5
6552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6553 (exit $ac_status); } && {
6554 test -z "$ac_c_werror_flag" ||
6555 test ! -s conftest.err
6556 } && test -s conftest.$ac_objext; then
6557 ac_cv_member_struct_stat_st_blocks=yes
6559 echo "$as_me: failed program was:" >&5
6560 sed 's/^/| /' conftest.$ac_ext >&5
6562 cat >conftest.$ac_ext <<_ACEOF
6565 cat confdefs.h >>conftest.$ac_ext
6566 cat >>conftest.$ac_ext <<_ACEOF
6567 /* end confdefs.h. */
6568 $ac_includes_default
6572 static struct stat ac_aggr;
6573 if (sizeof ac_aggr.st_blocks)
6579 rm -f conftest.$ac_objext
6580 if { (ac_try="$ac_compile"
6582 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6583 *) ac_try_echo
=$ac_try;;
6585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6586 (eval "$ac_compile") 2>conftest.er1
6588 grep -v '^ *+' conftest.er1
>conftest.err
6590 cat conftest.err
>&5
6591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6592 (exit $ac_status); } && {
6593 test -z "$ac_c_werror_flag" ||
6594 test ! -s conftest.err
6595 } && test -s conftest.
$ac_objext; then
6596 ac_cv_member_struct_stat_st_blocks
=yes
6598 echo "$as_me: failed program was:" >&5
6599 sed 's/^/| /' conftest.
$ac_ext >&5
6601 ac_cv_member_struct_stat_st_blocks
=no
6604 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6607 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6609 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
6610 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
6611 if test $ac_cv_member_struct_stat_st_blocks = yes; then
6613 cat >>confdefs.h
<<_ACEOF
6614 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6618 cat >>confdefs.h
<<\_ACEOF
6619 #define HAVE_ST_BLOCKS 1
6623 case " $LIBOBJS " in
6624 *" fileblocks.$ac_objext "* ) ;;
6625 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6632 { echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6633 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6; }
6634 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6635 echo $ECHO_N "(cached) $ECHO_C" >&6
6637 cat >conftest.
$ac_ext <<_ACEOF
6640 cat confdefs.h
>>conftest.
$ac_ext
6641 cat >>conftest.
$ac_ext <<_ACEOF
6642 /* end confdefs.h. */
6643 $ac_includes_default
6647 static struct stat ac_aggr;
6648 if (ac_aggr.st_rdev)
6654 rm -f conftest.
$ac_objext
6655 if { (ac_try
="$ac_compile"
6657 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6658 *) ac_try_echo=$ac_try;;
6660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6661 (eval "$ac_compile") 2>conftest.er1
6663 grep -v '^ *+' conftest.er1 >conftest.err
6665 cat conftest.err >&5
6666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6667 (exit $ac_status); } && {
6668 test -z "$ac_c_werror_flag" ||
6669 test ! -s conftest.err
6670 } && test -s conftest.$ac_objext; then
6671 ac_cv_member_struct_stat_st_rdev=yes
6673 echo "$as_me: failed program was:" >&5
6674 sed 's/^/| /' conftest.$ac_ext >&5
6676 cat >conftest.$ac_ext <<_ACEOF
6679 cat confdefs.h >>conftest.$ac_ext
6680 cat >>conftest.$ac_ext <<_ACEOF
6681 /* end confdefs.h. */
6682 $ac_includes_default
6686 static struct stat ac_aggr;
6687 if (sizeof ac_aggr.st_rdev)
6693 rm -f conftest.$ac_objext
6694 if { (ac_try="$ac_compile"
6696 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6697 *) ac_try_echo
=$ac_try;;
6699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6700 (eval "$ac_compile") 2>conftest.er1
6702 grep -v '^ *+' conftest.er1
>conftest.err
6704 cat conftest.err
>&5
6705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6706 (exit $ac_status); } && {
6707 test -z "$ac_c_werror_flag" ||
6708 test ! -s conftest.err
6709 } && test -s conftest.
$ac_objext; then
6710 ac_cv_member_struct_stat_st_rdev
=yes
6712 echo "$as_me: failed program was:" >&5
6713 sed 's/^/| /' conftest.
$ac_ext >&5
6715 ac_cv_member_struct_stat_st_rdev
=no
6718 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6721 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6723 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
6724 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6; }
6725 if test $ac_cv_member_struct_stat_st_rdev = yes; then
6727 cat >>confdefs.h
<<_ACEOF
6728 #define HAVE_STRUCT_STAT_ST_RDEV 1
6732 cat >>confdefs.h
<<\_ACEOF
6733 #define HAVE_ST_RDEV 1
6739 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6740 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
6741 if test "${ac_cv_struct_tm+set}" = set; then
6742 echo $ECHO_N "(cached) $ECHO_C" >&6
6744 cat >conftest.
$ac_ext <<_ACEOF
6747 cat confdefs.h
>>conftest.
$ac_ext
6748 cat >>conftest.
$ac_ext <<_ACEOF
6749 /* end confdefs.h. */
6750 #include <sys/types.h>
6757 int *p = &tm.tm_sec;
6763 rm -f conftest.
$ac_objext
6764 if { (ac_try
="$ac_compile"
6766 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6767 *) ac_try_echo=$ac_try;;
6769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6770 (eval "$ac_compile") 2>conftest.er1
6772 grep -v '^ *+' conftest.er1 >conftest.err
6774 cat conftest.err >&5
6775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6776 (exit $ac_status); } && {
6777 test -z "$ac_c_werror_flag" ||
6778 test ! -s conftest.err
6779 } && test -s conftest.$ac_objext; then
6780 ac_cv_struct_tm=time.h
6782 echo "$as_me: failed program was:" >&5
6783 sed 's/^/| /' conftest.$ac_ext >&5
6785 ac_cv_struct_tm=sys/time.h
6788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6790 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6791 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
6792 if test $ac_cv_struct_tm = sys/time.h; then
6794 cat >>confdefs.h <<\_ACEOF
6795 #define TM_IN_SYS_TIME 1
6800 { echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
6801 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6; }
6802 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
6803 echo $ECHO_N "(cached) $ECHO_C" >&6
6805 cat >conftest.$ac_ext <<_ACEOF
6808 cat confdefs.h >>conftest.$ac_ext
6809 cat >>conftest.$ac_ext <<_ACEOF
6810 /* end confdefs.h. */
6811 #include <sys/types.h>
6812 #include <$ac_cv_struct_tm>
6818 static struct tm ac_aggr;
6819 if (ac_aggr.tm_zone)
6825 rm -f conftest.$ac_objext
6826 if { (ac_try="$ac_compile"
6828 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6829 *) ac_try_echo
=$ac_try;;
6831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6832 (eval "$ac_compile") 2>conftest.er1
6834 grep -v '^ *+' conftest.er1
>conftest.err
6836 cat conftest.err
>&5
6837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6838 (exit $ac_status); } && {
6839 test -z "$ac_c_werror_flag" ||
6840 test ! -s conftest.err
6841 } && test -s conftest.
$ac_objext; then
6842 ac_cv_member_struct_tm_tm_zone
=yes
6844 echo "$as_me: failed program was:" >&5
6845 sed 's/^/| /' conftest.
$ac_ext >&5
6847 cat >conftest.
$ac_ext <<_ACEOF
6850 cat confdefs.h
>>conftest.
$ac_ext
6851 cat >>conftest.
$ac_ext <<_ACEOF
6852 /* end confdefs.h. */
6853 #include <sys/types.h>
6854 #include <$ac_cv_struct_tm>
6860 static struct tm ac_aggr;
6861 if (sizeof ac_aggr.tm_zone)
6867 rm -f conftest.
$ac_objext
6868 if { (ac_try
="$ac_compile"
6870 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6871 *) ac_try_echo=$ac_try;;
6873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6874 (eval "$ac_compile") 2>conftest.er1
6876 grep -v '^ *+' conftest.er1 >conftest.err
6878 cat conftest.err >&5
6879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6880 (exit $ac_status); } && {
6881 test -z "$ac_c_werror_flag" ||
6882 test ! -s conftest.err
6883 } && test -s conftest.$ac_objext; then
6884 ac_cv_member_struct_tm_tm_zone=yes
6886 echo "$as_me: failed program was:" >&5
6887 sed 's/^/| /' conftest.$ac_ext >&5
6889 ac_cv_member_struct_tm_tm_zone=no
6892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6897 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
6898 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6; }
6899 if test $ac_cv_member_struct_tm_tm_zone = yes; then
6901 cat >>confdefs.h <<_ACEOF
6902 #define HAVE_STRUCT_TM_TM_ZONE 1
6908 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6910 cat >>confdefs.h <<\_ACEOF
6911 #define HAVE_TM_ZONE 1
6915 { echo "$as_me:$LINENO: checking whether tzname is declared" >&5
6916 echo $ECHO_N "checking whether tzname is declared... $ECHO_C" >&6; }
6917 if test "${ac_cv_have_decl_tzname+set}" = set; then
6918 echo $ECHO_N "(cached) $ECHO_C" >&6
6920 cat >conftest.$ac_ext <<_ACEOF
6923 cat confdefs.h >>conftest.$ac_ext
6924 cat >>conftest.$ac_ext <<_ACEOF
6925 /* end confdefs.h. */
6939 rm -f conftest.$ac_objext
6940 if { (ac_try="$ac_compile"
6942 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6943 *) ac_try_echo
=$ac_try;;
6945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6946 (eval "$ac_compile") 2>conftest.er1
6948 grep -v '^ *+' conftest.er1
>conftest.err
6950 cat conftest.err
>&5
6951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6952 (exit $ac_status); } && {
6953 test -z "$ac_c_werror_flag" ||
6954 test ! -s conftest.err
6955 } && test -s conftest.
$ac_objext; then
6956 ac_cv_have_decl_tzname
=yes
6958 echo "$as_me: failed program was:" >&5
6959 sed 's/^/| /' conftest.
$ac_ext >&5
6961 ac_cv_have_decl_tzname
=no
6964 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6966 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5
6967 echo "${ECHO_T}$ac_cv_have_decl_tzname" >&6; }
6968 if test $ac_cv_have_decl_tzname = yes; then
6970 cat >>confdefs.h
<<_ACEOF
6971 #define HAVE_DECL_TZNAME 1
6976 cat >>confdefs.h
<<_ACEOF
6977 #define HAVE_DECL_TZNAME 0
6984 { echo "$as_me:$LINENO: checking for tzname" >&5
6985 echo $ECHO_N "checking for tzname... $ECHO_C" >&6; }
6986 if test "${ac_cv_var_tzname+set}" = set; then
6987 echo $ECHO_N "(cached) $ECHO_C" >&6
6989 cat >conftest.
$ac_ext <<_ACEOF
6992 cat confdefs.h
>>conftest.
$ac_ext
6993 cat >>conftest.
$ac_ext <<_ACEOF
6994 /* end confdefs.h. */
6996 #if !HAVE_DECL_TZNAME
6997 extern char *tzname[];
7003 return tzname[0][0];
7008 rm -f conftest.
$ac_objext conftest
$ac_exeext
7009 if { (ac_try
="$ac_link"
7011 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7012 *) ac_try_echo=$ac_try;;
7014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7015 (eval "$ac_link") 2>conftest.er1
7017 grep -v '^ *+' conftest.er1 >conftest.err
7019 cat conftest.err >&5
7020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7021 (exit $ac_status); } && {
7022 test -z "$ac_c_werror_flag" ||
7023 test ! -s conftest.err
7024 } && test -s conftest$ac_exeext &&
7025 $as_test_x conftest$ac_exeext; then
7026 ac_cv_var_tzname=yes
7028 echo "$as_me: failed program was:" >&5
7029 sed 's/^/| /' conftest.$ac_ext >&5
7034 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7035 conftest$ac_exeext conftest.$ac_ext
7037 { echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
7038 echo "${ECHO_T}$ac_cv_var_tzname" >&6; }
7039 if test $ac_cv_var_tzname = yes; then
7041 cat >>confdefs.h <<\_ACEOF
7042 #define HAVE_TZNAME 1
7048 { echo "$as_me:$LINENO: checking for off_t" >&5
7049 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
7050 if test "${ac_cv_type_off_t+set}" = set; then
7051 echo $ECHO_N "(cached) $ECHO_C" >&6
7053 cat >conftest.$ac_ext <<_ACEOF
7056 cat confdefs.h >>conftest.$ac_ext
7057 cat >>conftest.$ac_ext <<_ACEOF
7058 /* end confdefs.h. */
7059 $ac_includes_default
7060 typedef off_t ac__type_new_;
7064 if ((ac__type_new_ *) 0)
7066 if (sizeof (ac__type_new_))
7072 rm -f conftest.$ac_objext
7073 if { (ac_try="$ac_compile"
7075 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7076 *) ac_try_echo
=$ac_try;;
7078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7079 (eval "$ac_compile") 2>conftest.er1
7081 grep -v '^ *+' conftest.er1
>conftest.err
7083 cat conftest.err
>&5
7084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7085 (exit $ac_status); } && {
7086 test -z "$ac_c_werror_flag" ||
7087 test ! -s conftest.err
7088 } && test -s conftest.
$ac_objext; then
7089 ac_cv_type_off_t
=yes
7091 echo "$as_me: failed program was:" >&5
7092 sed 's/^/| /' conftest.
$ac_ext >&5
7097 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7099 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
7100 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
7101 if test $ac_cv_type_off_t = yes; then
7105 cat >>confdefs.h
<<_ACEOF
7106 #define off_t long int
7111 { echo "$as_me:$LINENO: checking for pid_t" >&5
7112 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
7113 if test "${ac_cv_type_pid_t+set}" = set; then
7114 echo $ECHO_N "(cached) $ECHO_C" >&6
7116 cat >conftest.
$ac_ext <<_ACEOF
7119 cat confdefs.h
>>conftest.
$ac_ext
7120 cat >>conftest.
$ac_ext <<_ACEOF
7121 /* end confdefs.h. */
7122 $ac_includes_default
7123 typedef pid_t ac__type_new_;
7127 if ((ac__type_new_ *) 0)
7129 if (sizeof (ac__type_new_))
7135 rm -f conftest.
$ac_objext
7136 if { (ac_try
="$ac_compile"
7138 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7139 *) ac_try_echo=$ac_try;;
7141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7142 (eval "$ac_compile") 2>conftest.er1
7144 grep -v '^ *+' conftest.er1 >conftest.err
7146 cat conftest.err >&5
7147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7148 (exit $ac_status); } && {
7149 test -z "$ac_c_werror_flag" ||
7150 test ! -s conftest.err
7151 } && test -s conftest.$ac_objext; then
7152 ac_cv_type_pid_t=yes
7154 echo "$as_me: failed program was:" >&5
7155 sed 's/^/| /' conftest.$ac_ext >&5
7160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7162 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
7163 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
7164 if test $ac_cv_type_pid_t = yes; then
7168 cat >>confdefs.h <<_ACEOF
7174 { echo "$as_me:$LINENO: checking for size_t" >&5
7175 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
7176 if test "${ac_cv_type_size_t+set}" = set; then
7177 echo $ECHO_N "(cached) $ECHO_C" >&6
7179 cat >conftest.$ac_ext <<_ACEOF
7182 cat confdefs.h >>conftest.$ac_ext
7183 cat >>conftest.$ac_ext <<_ACEOF
7184 /* end confdefs.h. */
7185 $ac_includes_default
7186 typedef size_t ac__type_new_;
7190 if ((ac__type_new_ *) 0)
7192 if (sizeof (ac__type_new_))
7198 rm -f conftest.$ac_objext
7199 if { (ac_try="$ac_compile"
7201 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7202 *) ac_try_echo
=$ac_try;;
7204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7205 (eval "$ac_compile") 2>conftest.er1
7207 grep -v '^ *+' conftest.er1
>conftest.err
7209 cat conftest.err
>&5
7210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7211 (exit $ac_status); } && {
7212 test -z "$ac_c_werror_flag" ||
7213 test ! -s conftest.err
7214 } && test -s conftest.
$ac_objext; then
7215 ac_cv_type_size_t
=yes
7217 echo "$as_me: failed program was:" >&5
7218 sed 's/^/| /' conftest.
$ac_ext >&5
7220 ac_cv_type_size_t
=no
7223 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7225 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
7226 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
7227 if test $ac_cv_type_size_t = yes; then
7231 cat >>confdefs.h
<<_ACEOF
7232 #define size_t unsigned int
7237 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
7238 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
7239 if test "${ac_cv_type_uid_t+set}" = set; then
7240 echo $ECHO_N "(cached) $ECHO_C" >&6
7242 cat >conftest.
$ac_ext <<_ACEOF
7245 cat confdefs.h
>>conftest.
$ac_ext
7246 cat >>conftest.
$ac_ext <<_ACEOF
7247 /* end confdefs.h. */
7248 #include <sys/types.h>
7251 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7252 $EGREP "uid_t" >/dev
/null
2>&1; then
7253 ac_cv_type_uid_t
=yes
7260 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
7261 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
7262 if test $ac_cv_type_uid_t = no
; then
7264 cat >>confdefs.h
<<\_ACEOF
7269 cat >>confdefs.h
<<\_ACEOF
7276 { echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
7277 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6; }
7278 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
7279 echo $ECHO_N "(cached) $ECHO_C" >&6
7281 cat >conftest.
$ac_ext <<_ACEOF
7284 cat confdefs.h
>>conftest.
$ac_ext
7285 cat >>conftest.
$ac_ext <<_ACEOF
7286 /* end confdefs.h. */
7287 $ac_includes_default
7291 static struct tm ac_aggr;
7292 if (ac_aggr.tm_gmtoff)
7298 rm -f conftest.
$ac_objext
7299 if { (ac_try
="$ac_compile"
7301 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7302 *) ac_try_echo=$ac_try;;
7304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7305 (eval "$ac_compile") 2>conftest.er1
7307 grep -v '^ *+' conftest.er1 >conftest.err
7309 cat conftest.err >&5
7310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7311 (exit $ac_status); } && {
7312 test -z "$ac_c_werror_flag" ||
7313 test ! -s conftest.err
7314 } && test -s conftest.$ac_objext; then
7315 ac_cv_member_struct_tm_tm_gmtoff=yes
7317 echo "$as_me: failed program was:" >&5
7318 sed 's/^/| /' conftest.$ac_ext >&5
7320 cat >conftest.$ac_ext <<_ACEOF
7323 cat confdefs.h >>conftest.$ac_ext
7324 cat >>conftest.$ac_ext <<_ACEOF
7325 /* end confdefs.h. */
7326 $ac_includes_default
7330 static struct tm ac_aggr;
7331 if (sizeof ac_aggr.tm_gmtoff)
7337 rm -f conftest.$ac_objext
7338 if { (ac_try="$ac_compile"
7340 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7341 *) ac_try_echo
=$ac_try;;
7343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7344 (eval "$ac_compile") 2>conftest.er1
7346 grep -v '^ *+' conftest.er1
>conftest.err
7348 cat conftest.err
>&5
7349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7350 (exit $ac_status); } && {
7351 test -z "$ac_c_werror_flag" ||
7352 test ! -s conftest.err
7353 } && test -s conftest.
$ac_objext; then
7354 ac_cv_member_struct_tm_tm_gmtoff
=yes
7356 echo "$as_me: failed program was:" >&5
7357 sed 's/^/| /' conftest.
$ac_ext >&5
7359 ac_cv_member_struct_tm_tm_gmtoff
=no
7362 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7365 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7367 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
7368 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6; }
7369 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
7371 cat >>confdefs.h
<<_ACEOF
7372 #define HAVE_STRUCT_TM_TM_GMTOFF 1
7379 # Look for some functions
7394 for ac_func
in getpagesize kqueue statfs statvfs \
7395 clone kse_create rfork_thread thr_create sa_register \
7396 getcontext makecontext setcontext sigaltstack swapcontext
7398 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7399 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7401 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7402 echo $ECHO_N "(cached) $ECHO_C" >&6
7404 cat >conftest.
$ac_ext <<_ACEOF
7407 cat confdefs.h
>>conftest.
$ac_ext
7408 cat >>conftest.
$ac_ext <<_ACEOF
7409 /* end confdefs.h. */
7410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7412 #define $ac_func innocuous_$ac_func
7414 /* System header to define __stub macros and hopefully few prototypes,
7415 which can conflict with char $ac_func (); below.
7416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7417 <limits.h> exists even on freestanding compilers. */
7420 # include <limits.h>
7422 # include <assert.h>
7427 /* Override any GCC internal prototype to avoid an error.
7428 Use char because int might match the return type of a GCC
7429 builtin and then its argument prototype would still apply. */
7434 /* The GNU C library defines this for functions which it implements
7435 to always fail with ENOSYS. Some functions are actually named
7436 something starting with __ and the normal name is an alias. */
7437 #if defined __stub_$ac_func || defined __stub___$ac_func
7449 rm -f conftest.
$ac_objext conftest
$ac_exeext
7450 if { (ac_try
="$ac_link"
7452 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7453 *) ac_try_echo=$ac_try;;
7455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7456 (eval "$ac_link") 2>conftest.er1
7458 grep -v '^ *+' conftest.er1 >conftest.err
7460 cat conftest.err >&5
7461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7462 (exit $ac_status); } && {
7463 test -z "$ac_c_werror_flag" ||
7464 test ! -s conftest.err
7465 } && test -s conftest$ac_exeext &&
7466 $as_test_x conftest$ac_exeext; then
7467 eval "$as_ac_var=yes"
7469 echo "$as_me: failed program was:" >&5
7470 sed 's/^/| /' conftest.$ac_ext >&5
7472 eval "$as_ac_var=no"
7475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7476 conftest$ac_exeext conftest.$ac_ext
7478 ac_res=`eval echo '${'$as_ac_var'}'`
7479 { echo "$as_me:$LINENO: result: $ac_res" >&5
7480 echo "${ECHO_T}$ac_res" >&6; }
7481 if test `eval echo '${'$as_ac_var'}'` = yes; then
7482 cat >>confdefs.h <<_ACEOF
7483 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7492 for ac_header in stdlib.h unistd.h
7494 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7495 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7496 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7498 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7499 echo $ECHO_N "(cached) $ECHO_C" >&6
7501 ac_res=`eval echo '${'$as_ac_Header'}'`
7502 { echo "$as_me:$LINENO: result: $ac_res" >&5
7503 echo "${ECHO_T}$ac_res" >&6; }
7505 # Is the header compilable?
7506 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7507 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7508 cat >conftest.$ac_ext <<_ACEOF
7511 cat confdefs.h >>conftest.$ac_ext
7512 cat >>conftest.$ac_ext <<_ACEOF
7513 /* end confdefs.h. */
7514 $ac_includes_default
7515 #include <$ac_header>
7517 rm -f conftest.$ac_objext
7518 if { (ac_try="$ac_compile"
7520 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7521 *) ac_try_echo
=$ac_try;;
7523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7524 (eval "$ac_compile") 2>conftest.er1
7526 grep -v '^ *+' conftest.er1
>conftest.err
7528 cat conftest.err
>&5
7529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7530 (exit $ac_status); } && {
7531 test -z "$ac_c_werror_flag" ||
7532 test ! -s conftest.err
7533 } && test -s conftest.
$ac_objext; then
7534 ac_header_compiler
=yes
7536 echo "$as_me: failed program was:" >&5
7537 sed 's/^/| /' conftest.
$ac_ext >&5
7539 ac_header_compiler
=no
7542 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7543 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7544 echo "${ECHO_T}$ac_header_compiler" >&6; }
7546 # Is the header present?
7547 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7548 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7549 cat >conftest.
$ac_ext <<_ACEOF
7552 cat confdefs.h
>>conftest.
$ac_ext
7553 cat >>conftest.
$ac_ext <<_ACEOF
7554 /* end confdefs.h. */
7555 #include <$ac_header>
7557 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7559 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7560 *) ac_try_echo=$ac_try;;
7562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7563 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7565 grep -v '^ *+' conftest.er1 >conftest.err
7567 cat conftest.err >&5
7568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7569 (exit $ac_status); } >/dev/null && {
7570 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7571 test ! -s conftest.err
7573 ac_header_preproc=yes
7575 echo "$as_me: failed program was:" >&5
7576 sed 's/^/| /' conftest.$ac_ext >&5
7578 ac_header_preproc=no
7581 rm -f conftest.err conftest.$ac_ext
7582 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7583 echo "${ECHO_T}$ac_header_preproc" >&6; }
7585 # So? What about this header?
7586 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7588 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7589 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7590 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7591 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7592 ac_header_preproc=yes
7595 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7596 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7597 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7598 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7599 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7600 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7601 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7602 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7603 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7604 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7605 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7606 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7610 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7611 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7612 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7613 echo $ECHO_N "(cached) $ECHO_C" >&6
7615 eval "$as_ac_Header=\$ac_header_preproc"
7617 ac_res=`eval echo '${'$as_ac_Header'}'`
7618 { echo "$as_me:$LINENO: result: $ac_res" >&5
7619 echo "${ECHO_T}$ac_res" >&6; }
7622 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7623 cat >>confdefs.h <<_ACEOF
7624 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7632 for ac_func in getpagesize
7634 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
7635 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7637 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7638 echo $ECHO_N "(cached) $ECHO_C" >&6
7640 cat >conftest.$ac_ext <<_ACEOF
7643 cat confdefs.h >>conftest.$ac_ext
7644 cat >>conftest.$ac_ext <<_ACEOF
7645 /* end confdefs.h. */
7646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7648 #define $ac_func innocuous_$ac_func
7650 /* System header to define __stub macros and hopefully few prototypes,
7651 which can conflict with char $ac_func (); below.
7652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7653 <limits.h> exists even on freestanding compilers. */
7656 # include <limits.h>
7658 # include <assert.h>
7663 /* Override any GCC internal prototype to avoid an error.
7664 Use char because int might match the return type of a GCC
7665 builtin and then its argument prototype would still apply. */
7670 /* The GNU C library defines this for functions which it implements
7671 to always fail with ENOSYS. Some functions are actually named
7672 something starting with __ and the normal name is an alias. */
7673 #if defined __stub_$ac_func || defined __stub___$ac_func
7685 rm -f conftest.$ac_objext conftest$ac_exeext
7686 if { (ac_try="$ac_link"
7688 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7689 *) ac_try_echo
=$ac_try;;
7691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7692 (eval "$ac_link") 2>conftest.er1
7694 grep -v '^ *+' conftest.er1
>conftest.err
7696 cat conftest.err
>&5
7697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7698 (exit $ac_status); } && {
7699 test -z "$ac_c_werror_flag" ||
7700 test ! -s conftest.err
7701 } && test -s conftest
$ac_exeext &&
7702 $as_test_x conftest
$ac_exeext; then
7703 eval "$as_ac_var=yes"
7705 echo "$as_me: failed program was:" >&5
7706 sed 's/^/| /' conftest.
$ac_ext >&5
7708 eval "$as_ac_var=no"
7711 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7712 conftest
$ac_exeext conftest.
$ac_ext
7714 ac_res
=`eval echo '${'$as_ac_var'}'`
7715 { echo "$as_me:$LINENO: result: $ac_res" >&5
7716 echo "${ECHO_T}$ac_res" >&6; }
7717 if test `eval echo '${'$as_ac_var'}'` = yes; then
7718 cat >>confdefs.h
<<_ACEOF
7719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7725 { echo "$as_me:$LINENO: checking for working mmap" >&5
7726 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
7727 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
7728 echo $ECHO_N "(cached) $ECHO_C" >&6
7730 if test "$cross_compiling" = yes; then
7731 ac_cv_func_mmap_fixed_mapped
=no
7733 cat >conftest.
$ac_ext <<_ACEOF
7736 cat confdefs.h
>>conftest.
$ac_ext
7737 cat >>conftest.
$ac_ext <<_ACEOF
7738 /* end confdefs.h. */
7739 $ac_includes_default
7740 /* malloc might have been renamed as rpl_malloc. */
7743 /* Thanks to Mike Haertel and Jim Avera for this test.
7744 Here is a matrix of mmap possibilities:
7745 mmap private not fixed
7746 mmap private fixed at somewhere currently unmapped
7747 mmap private fixed at somewhere already mapped
7748 mmap shared not fixed
7749 mmap shared fixed at somewhere currently unmapped
7750 mmap shared fixed at somewhere already mapped
7751 For private mappings, we should verify that changes cannot be read()
7752 back from the file, nor mmap's back from the file at a different
7753 address. (There have been systems where private was not correctly
7754 implemented like the infamous i386 svr4.0, and systems where the
7755 VM page cache was not coherent with the file system buffer cache
7756 like early versions of FreeBSD and possibly contemporary NetBSD.)
7757 For shared mappings, we should conversely verify that changes get
7758 propagated back to all the places they're supposed to be.
7760 Grep wants private fixed already mapped.
7761 The main things grep needs to know about mmap are:
7762 * does it exist and is it safe to write into the mmap'd area
7763 * how to use it (BSD variants) */
7766 #include <sys/mman.h>
7768 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7772 /* This mess was copied from the GNU getpagesize.h. */
7773 #ifndef HAVE_GETPAGESIZE
7774 /* Assume that all systems that can run configure have sys/param.h. */
7775 # ifndef HAVE_SYS_PARAM_H
7776 # define HAVE_SYS_PARAM_H 1
7779 # ifdef _SC_PAGESIZE
7780 # define getpagesize() sysconf(_SC_PAGESIZE)
7781 # else /* no _SC_PAGESIZE */
7782 # ifdef HAVE_SYS_PARAM_H
7783 # include <sys/param.h>
7784 # ifdef EXEC_PAGESIZE
7785 # define getpagesize() EXEC_PAGESIZE
7786 # else /* no EXEC_PAGESIZE */
7788 # define getpagesize() NBPG * CLSIZE
7791 # endif /* no CLSIZE */
7792 # else /* no NBPG */
7794 # define getpagesize() NBPC
7795 # else /* no NBPC */
7797 # define getpagesize() PAGESIZE
7798 # endif /* PAGESIZE */
7799 # endif /* no NBPC */
7800 # endif /* no NBPG */
7801 # endif /* no EXEC_PAGESIZE */
7802 # else /* no HAVE_SYS_PARAM_H */
7803 # define getpagesize() 8192 /* punt totally */
7804 # endif /* no HAVE_SYS_PARAM_H */
7805 # endif /* no _SC_PAGESIZE */
7807 #endif /* no HAVE_GETPAGESIZE */
7812 char *data, *data2, *data3;
7816 pagesize = getpagesize ();
7818 /* First, make a file with some known garbage in it. */
7819 data = (char *) malloc (pagesize);
7822 for (i = 0; i < pagesize; ++i)
7823 *(data + i) = rand ();
7825 fd = creat ("conftest.mmap", 0600);
7828 if (write (fd, data, pagesize) != pagesize)
7832 /* Next, try to mmap the file at a fixed address which already has
7833 something else allocated at it. If we can, also make sure that
7834 we see the same garbage. */
7835 fd = open ("conftest.mmap", O_RDWR);
7838 data2 = (char *) malloc (2 * pagesize);
7841 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
7842 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7843 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7845 for (i = 0; i < pagesize; ++i)
7846 if (*(data + i) != *(data2 + i))
7849 /* Finally, make sure that changes to the mapped area do not
7850 percolate back to the file as seen by read(). (This is a bug on
7851 some variants of i386 svr4.0.) */
7852 for (i = 0; i < pagesize; ++i)
7853 *(data2 + i) = *(data2 + i) + 1;
7854 data3 = (char *) malloc (pagesize);
7857 if (read (fd, data3, pagesize) != pagesize)
7859 for (i = 0; i < pagesize; ++i)
7860 if (*(data + i) != *(data3 + i))
7866 rm -f conftest
$ac_exeext
7867 if { (ac_try
="$ac_link"
7869 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7870 *) ac_try_echo=$ac_try;;
7872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7873 (eval "$ac_link") 2>&5
7875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7876 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7877 { (case "(($ac_try" in
7878 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7879 *) ac_try_echo
=$ac_try;;
7881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7882 (eval "$ac_try") 2>&5
7884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7885 (exit $ac_status); }; }; then
7886 ac_cv_func_mmap_fixed_mapped
=yes
7888 echo "$as_me: program exited with status $ac_status" >&5
7889 echo "$as_me: failed program was:" >&5
7890 sed 's/^/| /' conftest.
$ac_ext >&5
7893 ac_cv_func_mmap_fixed_mapped
=no
7895 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7900 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
7901 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
7902 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7904 cat >>confdefs.h
<<\_ACEOF
7914 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7915 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7916 aros_config_ldflags
=""
7918 aros_shared_default
=yes
7920 aros_shared_cflags
="-fPIC"
7921 aros_shared_aflags
=""
7922 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7923 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7925 aros_target_ar_flags
="cr"
7926 aros_target_nm_flags
="-C -ul"
7927 aros_target_strip_flags
="--strip-unneeded -R.comment"
7932 aros_target_genmap
="-Wl,-Map -Xlinker"
7934 # Native flavour stuff
7935 aros_serial_debug
="0"
7937 # Palm native flavour stuff
7938 aros_palm_debug_hack
="0"
7940 # Unix flavour stuff
7941 aros_nesting_supervisor
="0"
7943 # Collect-aros stuff: "-ius" to ignore undefined symbols
7944 ignore_undefined_symbols
=""
7946 #-----------------------------------------------------------------------------
7949 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7950 # it switched on by default, and we use the host compiler, so it compiles AROS
7951 # code with this enabled resulting in link failures as we don't have support
7954 # We use two methods to disable it. For the host compiler (used to compile
7955 # some hosted modules), we test to see if the compiler supports stack
7956 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7957 # work on all platforms.
7959 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
7960 # (this is done unconditionally, as it should have no effect on compilers
7961 # without the stack protection feature). This may be specific to the way that
7962 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
7963 # strong enough to disable it in a generic way though, so we'll live with it
7964 # until another vendor ships GCC with it enabled in a different way, and deal
7968 { echo "$as_me:$LINENO: checking whether ${CC} accepts -fno-stack-protector" >&5
7969 echo $ECHO_N "checking whether ${CC} accepts -fno-stack-protector... $ECHO_C" >&6; }
7970 save_cflags
="$CFLAGS"
7971 CFLAGS
="$CFLAGS -fno-stack-protector"
7972 cat >conftest.
$ac_ext <<_ACEOF
7975 cat confdefs.h
>>conftest.
$ac_ext
7976 cat >>conftest.
$ac_ext <<_ACEOF
7977 /* end confdefs.h. */
7987 rm -f conftest.
$ac_objext
7988 if { (ac_try
="$ac_compile"
7990 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7991 *) ac_try_echo=$ac_try;;
7993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7994 (eval "$ac_compile") 2>conftest.er1
7996 grep -v '^ *+' conftest.er1 >conftest.err
7998 cat conftest.err >&5
7999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8000 (exit $ac_status); } && {
8001 test -z "$ac_c_werror_flag" ||
8002 test ! -s conftest.err
8003 } && test -s conftest.$ac_objext; then
8004 use_no_stack_protector="yes"
8006 echo "$as_me: failed program was:" >&5
8007 sed 's/^/| /' conftest.$ac_ext >&5
8009 use_no_stack_protector="no"
8012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8013 { echo "$as_me:$LINENO: result: $use_no_stack_protector" >&5
8014 echo "${ECHO_T}$use_no_stack_protector" >&6; }
8015 if test "x-$use_no_stack_protector" = "x-yes" ; then
8016 aros_host_cflags="$aros_host_cflags -fno-stack-protector"
8018 CFLAGS="$save_cflags"
8020 #-----------------------------------------------------------------------------
8022 # Disable pointer-signedness warnings if the compiler recognises the option
8023 # (this only works for the host compiler at the moment)
8025 { echo "$as_me:$LINENO: checking whether ${CC} accepts -Wno-pointer-sign" >&5
8026 echo $ECHO_N "checking whether ${CC} accepts -Wno-pointer-sign... $ECHO_C" >&6; }
8027 save_cflags="$CFLAGS"
8028 CFLAGS="$CFLAGS -Wno-pointer-sign"
8029 cat >conftest.$ac_ext <<_ACEOF
8032 cat confdefs.h >>conftest.$ac_ext
8033 cat >>conftest.$ac_ext <<_ACEOF
8034 /* end confdefs.h. */
8044 rm -f conftest.$ac_objext
8045 if { (ac_try="$ac_compile"
8047 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8048 *) ac_try_echo
=$ac_try;;
8050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8051 (eval "$ac_compile") 2>conftest.er1
8053 grep -v '^ *+' conftest.er1
>conftest.err
8055 cat conftest.err
>&5
8056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8057 (exit $ac_status); } && {
8058 test -z "$ac_c_werror_flag" ||
8059 test ! -s conftest.err
8060 } && test -s conftest.
$ac_objext; then
8061 use_no_sign_warning
="yes"
8063 echo "$as_me: failed program was:" >&5
8064 sed 's/^/| /' conftest.
$ac_ext >&5
8066 use_no_sign_warning
="no"
8069 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8070 { echo "$as_me:$LINENO: result: $use_no_sign_warning" >&5
8071 echo "${ECHO_T}$use_no_sign_warning" >&6; }
8072 if test "x-$use_no_sign_warning" = "x-yes" ; then
8073 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
8075 CFLAGS
="$save_cflags"
8077 #-----------------------------------------------------------------------------
8079 { echo "$as_me:$LINENO: checking for type of build" >&5
8080 echo $ECHO_N "checking for type of build... $ECHO_C" >&6; }
8081 # Check whether --enable-build_type was given.
8082 if test "${enable_build_type+set}" = set; then
8083 enableval
=$enable_build_type; build_type
=$enableval
8085 build_type
="personal"
8089 if test "$build_type" = "nightly"; then
8090 build_type_string
="NIGHTLY"
8091 elif test "$build_type" = "snapshot"; then
8092 build_type_string
="SNAPSHOT"
8093 elif test "$build_type" = "milestone"; then
8094 build_type_string
="MILESTONE"
8095 elif test "$build_type" = "release"; then
8096 build_type_string
="RELEASE"
8098 build_type_string
="PERSONAL"
8099 build_type
="personal"
8102 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
8104 { echo "$as_me:$LINENO: result: $build_type" >&5
8105 echo "${ECHO_T}$build_type" >&6; }
8107 #-----------------------------------------------------------------------------
8108 all_debug_types
="messages stack modules mungwall symbols"
8110 { echo "$as_me:$LINENO: checking which debug types to enable" >&5
8111 echo $ECHO_N "checking which debug types to enable... $ECHO_C" >&6; }
8112 # Check whether --enable-debug was given.
8113 if test "${enable_debug+set}" = set; then
8114 enableval
=$enable_debug; debug
="$enableval"
8120 if test "$debug" = "" -o "$debug" = "no"; then
8122 elif test "$debug" = "yes"; then
8126 if test "$debug" = "all" ; then
8127 debug
="messages stack modules symbols"
8128 for d
in $all_debug_types; do
8129 export aros_
${d}_debug
="1"
8132 for d
in $all_debug_types; do
8133 export aros_
${d}_debug
="0"
8137 if test "$debug" != "none"; then
8138 debug
=`echo $debug | sed s/,/\ /g`
8141 for d2
in $all_debug_types; do
8142 if test "$d2" = "$d"; then
8147 if test "$found" = "0"; then
8148 { { echo "$as_me:$LINENO: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&5
8149 echo "$as_me: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&2;}
8150 { (exit 1); exit 1; }; }
8152 export aros_
${d}_debug
="1"
8156 { echo "$as_me:$LINENO: result: $debug" >&5
8157 echo "${ECHO_T}$debug" >&6; }
8159 if test "$aros_messages_debug" = "1"; then
8160 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
8162 aros_messages_debug
=""
8164 if test "$aros_symbols_debug" = "1"; then
8165 aros_symbols_debug
="-g"
8167 aros_symbols_debug
=""
8170 # These are the flags to pass when compiling debugged programs
8171 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8172 aros_debug_aflags
=""
8173 aros_debug_ldflags
="$aros_symbols_debug"
8175 aros_crosstools
="no"
8177 #-----------------------------------------------------------------------------
8178 # Checking if we should build crosstools..
8179 { echo "$as_me:$LINENO: checking whether to build crosstools" >&5
8180 echo $ECHO_N "checking whether to build crosstools... $ECHO_C" >&6; }
8181 # Check whether --enable-crosstools was given.
8182 if test "${enable_crosstools+set}" = set; then
8183 enableval
=$enable_crosstools; crosstools
="$enableval"
8188 if test "$crosstools" != "" -a "$crosstools" != "no"; then
8189 { echo "$as_me:$LINENO: result: yes" >&5
8190 echo "${ECHO_T}yes" >&6; }
8191 aros_crosstools
="yes"
8193 { echo "$as_me:$LINENO: result: no" >&5
8194 echo "${ECHO_T}no" >&6; }
8197 #-----------------------------------------------------------------------------
8198 # Checking for distcc and ccache.
8200 # Always apply the transforms in this particular order. Basically you should
8201 # always run 'ccache distcc compiler' in that order for the best performance.
8203 { echo "$as_me:$LINENO: checking whether to enable distcc" >&5
8204 echo $ECHO_N "checking whether to enable distcc... $ECHO_C" >&6; }
8205 # Check whether --enable-distcc was given.
8206 if test "${enable_distcc+set}" = set; then
8207 enableval
=$enable_distcc; distcc
="$enableval"
8212 if test "$distcc" != "" -a "$distcc" != "no"; then
8213 # AC_CHECK_PROG will print out the result in this case
8214 # Extract the first word of "distcc", so it can be a program name with args.
8215 set dummy distcc
; ac_word
=$2
8216 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8217 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8218 if test "${ac_cv_path_DISTCC+set}" = set; then
8219 echo $ECHO_N "(cached) $ECHO_C" >&6
8223 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
8226 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8230 test -z "$as_dir" && as_dir
=.
8231 for ac_exec_ext
in '' $ac_executable_extensions; do
8232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8233 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
8234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8241 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
8245 DISTCC
=$ac_cv_path_DISTCC
8246 if test -n "$DISTCC"; then
8247 { echo "$as_me:$LINENO: result: $DISTCC" >&5
8248 echo "${ECHO_T}$DISTCC" >&6; }
8250 { echo "$as_me:$LINENO: result: no" >&5
8251 echo "${ECHO_T}no" >&6; }
8256 { echo "$as_me:$LINENO: result: no" >&5
8257 echo "${ECHO_T}no" >&6; }
8260 { echo "$as_me:$LINENO: checking whether to enable ccache" >&5
8261 echo $ECHO_N "checking whether to enable ccache... $ECHO_C" >&6; }
8262 # Check whether --enable-ccache was given.
8263 if test "${enable_ccache+set}" = set; then
8264 enableval
=$enable_ccache; ccache
="$enableval"
8269 if test "$ccache" != "" -a "$ccache" != "no"; then
8270 # AC_CHECK_PROG will print out the result in this case
8271 # Extract the first word of "ccache", so it can be a program name with args.
8272 set dummy ccache
; ac_word
=$2
8273 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8275 if test "${ac_cv_prog_CCACHE+set}" = set; then
8276 echo $ECHO_N "(cached) $ECHO_C" >&6
8278 if test -n "$CCACHE"; then
8279 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
8281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8285 test -z "$as_dir" && as_dir
=.
8286 for ac_exec_ext
in '' $ac_executable_extensions; do
8287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8288 ac_cv_prog_CCACHE
="ccache"
8289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8298 CCACHE
=$ac_cv_prog_CCACHE
8299 if test -n "$CCACHE"; then
8300 { echo "$as_me:$LINENO: result: $CCACHE" >&5
8301 echo "${ECHO_T}$CCACHE" >&6; }
8303 { echo "$as_me:$LINENO: result: no" >&5
8304 echo "${ECHO_T}no" >&6; }
8309 { echo "$as_me:$LINENO: result: no" >&5
8310 echo "${ECHO_T}no" >&6; }
8313 #-----------------------------------------------------------------------------
8314 { echo "$as_me:$LINENO: checking what optimization flags to use" >&5
8315 echo $ECHO_N "checking what optimization flags to use... $ECHO_C" >&6; }
8317 # Check whether --with-optimization was given.
8318 if test "${with_optimization+set}" = set; then
8319 withval
=$with_optimization; optimization
="$withval"
8321 optimization
="unknown"
8324 if test "$optimization" = "unknown"; then
8325 if test "$debug" != "none"; then
8331 aros_config_cflags
="$aros_config_cflags $optimization"
8332 { echo "$as_me:$LINENO: result: $optimization" >&5
8333 echo "${ECHO_T}$optimization" >&6; }
8335 #-----------------------------------------------------------------------------
8336 { echo "$as_me:$LINENO: checking what target variant to enable" >&5
8337 echo $ECHO_N "checking what target variant to enable... $ECHO_C" >&6; }
8338 # Check whether --enable-target_variant was given.
8339 if test "${enable_target_variant+set}" = set; then
8340 enableval
=$enable_target_variant; target_variant
=$enableval
8342 target_variant
="none"
8345 if test "$target_variant" = "none"; then
8346 aros_target_variant
=""
8347 aros_target_suffix
=""
8349 aros_target_variant
="$target_variant"
8350 aros_target_suffix
="-$target_variant"
8352 { echo "$as_me:$LINENO: result: $enableval" >&5
8353 echo "${ECHO_T}$enableval" >&6; }
8355 target_bootloader
="none"
8357 #-----------------------------------------------------------------------------
8358 # This is the target configuration switch.
8359 case "$target_os" in
8361 aros_target_arch
="linux"
8362 case "$target_cpu" in
8364 aros_target_cpu
="m68k"
8365 aros_object_format
="m68kelf"
8366 aros_flavour
="emulcompat"
8367 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
8368 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
8369 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
8370 gcc_target_cpu
="mc68000"
8373 aros_target_cpu
="i386"
8374 aros_object_format
="elf_i386"
8375 aros_flavour
="emulation"
8376 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
8377 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
8378 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
8379 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
8380 aros_config_ldflags
="-m32 -march=i486"
8381 aros_kernel_ldflags
="-melf_i386"
8382 aros_default_wbdepth
=8
8383 gcc_target_cpu
="i386"
8386 aros_target_cpu
="x86_64"
8387 aros_object_format
="elf_x86_64"
8388 aros_flavour
="emulation"
8389 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
8390 aros_config_cflags
="$aros_config_cflags -mno-red-zone"
8391 aros_default_wbdepth
=8
8392 gcc_target_cpu
="x86_64"
8395 aros_target_cpu
="ppc"
8396 aros_object_format
="elf32ppc"
8397 aros_flavour
="emulation"
8398 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8399 aros_default_wbdepth
=8
8400 gcc_target_cpu
="ppc"
8403 # Same as powerpc, but I need this for the nightly build to work again.
8404 # Actually, the nightly should be made working with powerpc target.
8405 # That just was too much work for the moment, another week or two.
8407 aros_target_cpu
="ppc"
8408 aros_object_format
="elf32ppc"
8409 aros_flavour
="emulation"
8410 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8411 aros_default_wbdepth
=8
8412 gcc_target_cpu
="ppc"
8415 aros_target_cpu
="arm"
8416 aros_object_format
="armelf_linux_eabi"
8417 aros_flavour
="emulation"
8418 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8419 gcc_target_cpu
="arm"
8420 aros_config_cflags
="$aros_config_cflags -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
8421 aros_config_aflags
="$aros_config_aflags -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
8424 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Linux -- $target_cpu\"" >&5
8425 echo "$as_me: error: \"Unknown CPU for Linux -- $target_cpu\"" >&2;}
8426 { (exit 1); exit 1; }; }
8432 aros_target_arch
="pc"
8433 aros_shared_default
="no"
8434 target_bootloader
="grub2"
8435 case "$target_cpu" in
8437 aros_target_cpu
="i386"
8440 if test "$aros_object_format" = "" ; then
8441 aros_object_format
="elf_i386"
8443 aros_flavour
="standalone"
8444 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8445 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
8446 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
8447 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
8448 aros_config_ldflags
="-m32 -march=i486"
8449 aros_kernel_ldflags
="-melf_i386"
8450 aros_default_wbwidth
=640
8451 aros_default_wbheight
=480
8452 gcc_target_cpu
="i386"
8455 aros_target_cpu
="x86_64"
8457 if test "$aros_object_format" = "" ; then
8458 aros_object_format
="elf_x86_64"
8460 aros_flavour
="standalone"
8461 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8462 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone"
8463 aros_kernel_ldflags
=""
8464 aros_default_wbwidth
=640
8465 aros_default_wbheight
=480
8466 gcc_target_cpu
="x86_64"
8469 { { echo "$as_me:$LINENO: error: \"Unknown native CPU -- $target_cpu\"" >&5
8470 echo "$as_me: error: \"Unknown native CPU -- $target_cpu\"" >&2;}
8471 { (exit 1); exit 1; }; }
8477 aros_target_arch
="prep"
8478 aros_shared_default
="no"
8479 aros_target_cpu
="ppc"
8480 aros_object_format
="elf32ppc"
8481 aros_flavour
="ppcnative"
8482 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8483 aros_kernel_ldflags
=""
8484 aros_default_wbwidth
=640
8485 aros_default_wbheight
=480
8486 gcc_target_cpu
="ppc"
8490 aros_target_arch
="freebsd"
8491 aros_target_cpu
="i386"
8492 aros_flavour
="emulation"
8493 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8494 gcc_target_cpu
="i386"
8496 aros_target_strip_flags
="-x"
8500 aros_target_arch
="darwin"
8501 aros_flavour
="emulation"
8502 case "$target_cpu" in
8504 aros_target_cpu
="i386"
8505 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8506 aros_kernel_cflags
="$aros_kernel_cflags -m32"
8507 aros_kernel_ldflags
="$aros_kernel_ldflags -m32"
8508 aros_default_wbdepth
=8
8509 gcc_target_cpu
="i386"
8510 aros_object_format
="elf_i386"
8511 aros_target_strip_flags
="-x"
8512 aros_target_cc
="i386-aros-gcc"
8513 aros_target_cxx
="i386-aros-g++"
8514 aros_target_ld
="i386-aros-ld"
8515 aros_target_as
="i386-aros-as"
8516 aros_target_ar
="i386-aros-ar"
8517 aros_target_ranlib
="i386-aros-ranlib"
8518 aros_target_nm
="i386-aros-nm"
8519 aros_target_strip
="i386-aros-strip"
8520 aros_target_objcopy
="i386-aros-objcopy"
8521 aros_target_objdump
="i386-aros-objdump"
8522 target_tool_prefix
="i686-apple-darwin10-"
8525 aros_target_cpu
="x86_64"
8526 aros_object_format
="elf_x86_64"
8527 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8528 aros_kernel_cflags
="$aros_kernel_cflags -m64"
8529 aros_kernel_ldflags
="$aros_kernel_ldflags -m64"
8530 aros_default_wbdepth
=8
8531 gcc_target_cpu
="x86_64"
8532 aros_target_cc
="x86_64-aros-gcc"
8533 aros_target_cxx
="x86_64-aros-g++"
8534 aros_target_ld
="x86_64-aros-ld"
8535 aros_target_as
="x86_64-aros-as"
8536 aros_target_ar
="x86_64-aros-ar"
8537 aros_target_ranlib
="x86_64-aros-ranlib"
8538 aros_target_nm
="x86_64-aros-nm"
8539 aros_target_strip
="x86_64-aros-strip"
8540 aros_target_objcopy
="x86_64-aros-objcopy"
8541 aros_target_objdump
="x86_64-aros-objdump"
8542 target_tool_prefix
="i686-apple-darwin10-"
8545 aros_target_cpu
="ppc"
8546 aros_object_format
="elf32_ppc"
8547 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8548 aros_default_wbdepth
=8
8549 gcc_target_cpu
="ppc"
8550 aros_target_cc
="ppc-aros-gcc"
8551 aros_target_cxx
="ppc-aros-g++"
8552 aros_target_ld
="ppc-aros-ld"
8553 aros_target_as
="ppc-aros-as"
8554 aros_target_ar
="ppc-aros-ar"
8555 aros_target_ranlib
="ppc-aros-ranlib"
8556 aros_target_nm
="ppc-aros-nm"
8557 aros_target_strip
="ppc-aros-strip"
8558 aros_target_objcopy
="ppc-aros-objcopy"
8559 aros_target_objdump
="ppc-aros-objdump"
8560 target_tool_prefix
="powerpc-apple-darwin10-"
8563 { { echo "$as_me:$LINENO: error: \"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" >&5
8564 echo "$as_me: error: \"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" >&2;}
8565 { (exit 1); exit 1; }; }
8571 aros_target_arch
="dragonfly"
8572 aros_flavour
="emulation"
8573 case "$target_cpu" in
8575 aros_target_cpu
="i386"
8576 aros_object_format
="elf_i386"
8577 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
8580 aros_target_cpu
="x86_64"
8581 aros_object_format
="elf_x86_64"
8582 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
8585 { { echo "$as_me:$LINENO: error: \"Unknown CPU for DragonFly -- $target_cpu\"" >&5
8586 echo "$as_me: error: \"Unknown CPU for DragonFly -- $target_cpu\"" >&2;}
8587 { (exit 1); exit 1; }; }
8593 aros_target_arch
="netbsd"
8594 case "$target_cpu" in
8596 aros_target_cpu
="m68k"
8597 aros_object_format
="m68kelf"
8598 aros_flavour
="emulcompat"
8599 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8600 gcc_target_cpu
="mc68000"
8603 aros_target_cpu
="i386"
8604 aros_object_format
="elf_i386"
8605 aros_flavour
="emulation"
8606 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8607 aros_default_wbdepth
=8
8608 gcc_target_cpu
="i386"
8611 { { echo "$as_me:$LINENO: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&5
8612 echo "$as_me: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&2;}
8613 { (exit 1); exit 1; }; }
8616 aros_target_genmap
="-Wl,-M -Xlinker >"
8617 aros_flavour
="emulation"
8618 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8622 aros_target_arch
="openbsd"
8623 case "$target_cpu" in
8625 aros_target_cpu
="i386"
8626 aros_object_format
="elf_i386"
8627 aros_flavour
="emulation"
8628 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8629 gcc_target_cpu
="i386"
8632 { { echo "$as_me:$LINENO: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&5
8633 echo "$as_me: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&2;}
8634 { (exit 1); exit 1; }; }
8637 aros_target_genmap
="-Wl,-M -Xlinker >"
8638 aros_target_nm_flags
="-u"
8639 aros_flavour
="emulation"
8643 aros_target_arch
="solaris"
8644 case "$target_cpu" in
8646 aros_target_cpu
="i386"
8647 aros_object_format
="elf_i386"
8648 aros_flavour
="emulation"
8649 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8650 aros_default_wbdepth
=8
8651 gcc_target_cpu
="i386"
8654 aros_target_cpu
="sparc"
8655 aros_object_format
="elf_sparc"
8656 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8657 gcc_target_cpu
="sparc"
8660 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&5
8661 echo "$as_me: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&2;}
8662 { (exit 1); exit 1; }; }
8665 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8666 aros_flavour
="emulation"
8670 aros_target_arch
="morphos"
8671 aros_shared_default
="no"
8672 aros_target_cpu
="ppc"
8673 aros_object_format
="elf_ppc"
8674 aros_flavour
="nativecompat"
8675 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8676 gcc_target_cpu
="ppc"
8680 aros_target_arch
="sam440"
8681 aros_shared_default
="no"
8682 aros_target_cpu
="ppc"
8683 aros_object_format
="elf32ppc"
8684 aros_flavour
="ppcnative"
8685 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8686 aros_kernel_ldflags
=""
8687 aros_default_wbwidth
=1024
8688 aros_default_wbheight
=768
8689 aros_default_wbdepth
=24
8690 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8691 gcc_target_cpu
="powerpc"
8695 aros_target_arch
="efika"
8696 aros_shared_default
="no"
8697 aros_target_cpu
="arm"
8698 aros_object_format
="armelf_linux_eabi"
8699 aros_flavour
="standalone"
8700 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8701 aros_kernel_ldflags
=""
8702 aros_default_wbwidth
=1024
8703 aros_default_wbheight
=600
8704 aros_arch_libs
="-laeabi"
8705 aros_config_cflags
="$aros_config_cflags -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
8706 aros_config_aflags
="$aros_config_aflags -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
8710 aros_target_arch
="chrp"
8711 aros_shared_default
="no"
8712 aros_target_cpu
="ppc"
8713 aros_object_format
="elf32ppc"
8714 aros_flavour
="ppcnative"
8715 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8716 aros_kernel_ldflags
=""
8717 aros_default_wbwidth
=640
8718 aros_default_wbheight
=480
8719 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
8720 gcc_target_cpu
="powerpc"
8721 case "$aros_target_variant" in
8723 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
8729 aros_target_arch
="amiga"
8730 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8731 aros_shared_default
="no"
8733 aros_config_cflags
="$aros_config_cflags -fomit-frame-pointer -fbuiltin -ffreestanding"
8735 case "$target_cpu" in
8737 aros_target_cpu
="m68k"
8738 aros_object_format
="m68kelf"
8739 aros_flavour
="nativecompat"
8740 gcc_target_cpu
="mc68000"
8744 aros_flavour
="native"
8745 gcc_target_cpu
="ppc"
8748 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Amiga $target_cpu\"" >&5
8749 echo "$as_me: error: \"Unknown CPU for Amiga $target_cpu\"" >&2;}
8750 { (exit 1); exit 1; }; }
8756 aros_target_arch
="mingw32"
8757 aros_shared_default
="no"
8758 aros_flavour
="emulation"
8759 aros_shared_cflags
=""
8762 case "$target_cpu" in
8764 aros_target_cpu
="i386"
8765 aros_object_format
="elf_i386"
8766 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8767 aros_default_wbdepth
=8
8768 gcc_target_cpu
="i386"
8769 aros_target_cc
="i386-aros-gcc"
8770 aros_target_cxx
="i386-aros-g++"
8771 aros_target_ld
="i386-aros-ld"
8772 aros_target_as
="i386-aros-as"
8773 aros_target_ar
="i386-aros-ar"
8774 aros_target_ranlib
="i386-aros-ranlib"
8775 aros_target_nm
="i386-aros-nm"
8776 aros_target_strip
="i386-aros-strip"
8777 aros_target_objcopy
="i386-aros-objcopy"
8778 aros_target_objdump
="i386-aros-objdump"
8779 target_tool_prefix
="i386-mingw32-"
8782 aros_target_cpu
="x86_64"
8783 aros_object_format
="elf_x86_64"
8784 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8785 aros_default_wbdepth
=8
8786 gcc_target_cpu
="x86_64"
8787 aros_target_cc
="x86_64-aros-gcc"
8788 aros_target_cxx
="x86_64-aros-g++"
8789 aros_target_ld
="x86_64-aros-ld"
8790 aros_target_as
="x86_64-aros-as"
8791 aros_target_ar
="x86_64-aros-ar"
8792 aros_target_ranlib
="x86_64-aros-ranlib"
8793 aros_target_nm
="x86_64-aros-nm"
8794 aros_target_strip
="x86_64-aros-strip"
8795 aros_target_objcopy
="x86_64-aros-objcopy"
8796 aros_target_objdump
="x86_64-aros-objdump"
8797 target_tool_prefix
="x86_64-w64-mingw32-"
8800 aros_target_cpu
="arm"
8801 aros_object_format
="armelf_linux_eabi"
8802 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8803 aros_default_wbdepth
=8
8804 gcc_target_cpu
="arm"
8805 aros_target_cc
="arm-elf-gcc"
8806 aros_target_ld
="arm-elf-ld"
8807 aros_target_as
="arm-elf-as"
8808 aros_target_ar
="arm-elf-ar"
8809 aros_target_ranlib
="arm-elf-ranlib"
8810 aros_target_nm
="arm-elf-nm"
8811 aros_target_strip
="arm-elf-strip"
8812 aros_target_objcopy
="arm-elf-objcopy"
8813 aros_target_objdump
="arm-elf-objdump"
8814 target_tool_prefix
="arm-mingw32ce-"
8815 aros_default_wbwidth
=160
8816 aros_default_wbheight
=160
8819 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Mingw32 -- $target_cpu\"" >&5
8820 echo "$as_me: error: \"Unknown CPU for Mingw32 -- $target_cpu\"" >&2;}
8821 { (exit 1); exit 1; }; }
8824 if test $host_os = "cygwin"; then
8825 aros_kernel_cflags
="-mno-cygwin"
8829 aros_target_arch
="pp"
8830 aros_shared_default
="no"
8831 case "$target_cpu" in
8833 aros_target_cpu
="m68k"
8834 aros_object_format
="m68kelf"
8835 aros_flavour
="palmnative"
8836 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8837 aros_default_wbwidth
=160
8838 aros_default_wbheight
=160
8839 aros_default_wbdepth
=1
8840 aros_target_ar_flags
="cru"
8841 aros_compiler_libs
="-lgcc1"
8842 aros_shared_default
=no
8843 aros_shared_cflags
="-fpic"
8844 aros_shared_aflags
=""
8845 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8846 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8847 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
8848 aros_debug_aflags
=""
8849 aros_debug_ldflags
="$aros_symbols_debug"
8850 aros_mungwall_debug
="0"
8851 aros_modules_debug
="0"
8852 gcc_target_cpu
="mc68000"
8853 ignore_undefined_symbols
="-ius"
8856 { { echo "$as_me:$LINENO: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&5
8857 echo "$as_me: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&2;}
8858 { (exit 1); exit 1; }; }
8864 aros_target_arch
="mac"
8865 aros_shared_default
="no"
8866 case "$target_cpu" in
8868 aros_target_cpu
="m68k"
8869 aros_object_format
="m68kelf"
8870 aros_flavour
="mac68knative"
8871 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8872 aros_default_wbwidth
=512
8873 aros_default_wbheight
=384
8874 aros_default_wbdepth
=8
8875 aros_target_ar_flags
="cru"
8876 aros_compiler_libs
="-lgcc1"
8877 aros_shared_default
=no
8878 aros_shared_cflags
="-fpic"
8879 aros_shared_aflags
=""
8880 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8881 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8882 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000"
8883 aros_debug_aflags
=""
8884 aros_debug_ldflags
="$aros_symbols_debug"
8885 aros_mungwall_debug
="0"
8886 aros_modules_debug
="0"
8887 gcc_target_cpu
="mc68000"
8888 ignore_undefined_symbols
="-ius"
8891 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&5
8892 echo "$as_me: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&2;}
8893 { (exit 1); exit 1; }; }
8899 { { echo "$as_me:$LINENO: error: Unsupported target architecture $target" >&5
8900 echo "$as_me: error: Unsupported target architecture $target" >&2;}
8901 { (exit 1); exit 1; }; }
8905 { echo "$as_me:$LINENO: checking Where to download sourcecode for external ports" >&5
8906 echo $ECHO_N "checking Where to download sourcecode for external ports... $ECHO_C" >&6; }
8908 # Check whether --with-portssources was given.
8909 if test "${with_portssources+set}" = set; then
8910 withval
=$with_portssources; with_portssrcdir
=$withval
8912 with_portssrcdir
="default"
8915 if test "$with_portssrcdir" = "default"; then
8916 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
8918 AROS_PORTSSRCDIR
="$with_portssrcdir"
8920 { echo "$as_me:$LINENO: result: $AROS_PORTSSRCDIR" >&5
8921 echo "${ECHO_T}$AROS_PORTSSRCDIR" >&6; }
8923 { echo "$as_me:$LINENO: checking which bootloader to use" >&5
8924 echo $ECHO_N "checking which bootloader to use... $ECHO_C" >&6; }
8926 # Check whether --with-bootloader was given.
8927 if test "${with_bootloader+set}" = set; then
8928 withval
=$with_bootloader; target_bootloader
=$withval
8930 target_bootloader
=$target_bootloader
8933 if test "$target_bootloader" = "none"; then
8934 aros_target_bootloader
=""
8936 aros_target_bootloader
="$target_bootloader"
8938 { echo "$as_me:$LINENO: result: $target_bootloader" >&5
8939 echo "${ECHO_T}$target_bootloader" >&6; }
8941 { echo "$as_me:$LINENO: checking which icon-set to use" >&5
8942 echo $ECHO_N "checking which icon-set to use... $ECHO_C" >&6; }
8944 # Check whether --with-iconset was given.
8945 if test "${with_iconset+set}" = set; then
8946 withval
=$with_iconset; target_iconset
=$withval
8948 target_iconset
="default"
8951 if test "$target_iconset" = "default"; then
8952 aros_target_iconset
="Gorilla"
8953 target_iconset
="default (Gorilla)"
8955 aros_target_iconset
="$target_iconset"
8957 { echo "$as_me:$LINENO: result: $target_iconset" >&5
8958 echo "${ECHO_T}$target_iconset" >&6; }
8960 { echo "$as_me:$LINENO: checking which GUI Theme to use" >&5
8961 echo $ECHO_N "checking which GUI Theme to use... $ECHO_C" >&6; }
8963 # Check whether --with-theme was given.
8964 if test "${with_theme+set}" = set; then
8965 withval
=$with_theme; target_guitheme
=$withval
8967 target_guitheme
="default"
8970 if test "$target_guitheme" = "default"; then
8971 aros_target_guitheme
="Ice"
8973 aros_target_guitheme
="$target_guitheme"
8975 { echo "$as_me:$LINENO: result: $aros_target_guitheme" >&5
8976 echo "${ECHO_T}$aros_target_guitheme" >&6; }
8978 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
8981 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
8984 if test "$aros_host_cpu" == "x86_64" ; then
8985 if test "$aros_target_cpu" == "i386" ; then
8986 if test "$aros_target_arch" != "mingw32"; then
8992 # Set prefix for target compiler etc. if we're cross-compiling
8993 # (should possibly be earlier but needs to be after AC_PROG_CC)
8994 if test "$cross_compiling" = "yes" ; then
8995 if test "$target_tool_prefix" = ""; then
8996 target_tool_prefix
=${target_cpu}-elf-
8998 CC
=${target_tool_prefix}gcc
9001 #-----------------------------------------------------------------------------
9003 # Disable pointer-signedness warnings if the compiler recognises the option
9005 { echo "$as_me:$LINENO: checking whether ${CC} accepts -Wno-pointer-sign" >&5
9006 echo $ECHO_N "checking whether ${CC} accepts -Wno-pointer-sign... $ECHO_C" >&6; }
9007 save_cflags
="$CFLAGS"
9008 CFLAGS
="$CFLAGS -Wno-pointer-sign"
9009 cat >conftest.
$ac_ext <<_ACEOF
9012 cat confdefs.h
>>conftest.
$ac_ext
9013 cat >>conftest.
$ac_ext <<_ACEOF
9014 /* end confdefs.h. */
9024 rm -f conftest.
$ac_objext
9025 if { (ac_try
="$ac_compile"
9027 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9028 *) ac_try_echo=$ac_try;;
9030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9031 (eval "$ac_compile") 2>conftest.er1
9033 grep -v '^ *+' conftest.er1 >conftest.err
9035 cat conftest.err >&5
9036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9037 (exit $ac_status); } && {
9038 test -z "$ac_c_werror_flag" ||
9039 test ! -s conftest.err
9040 } && test -s conftest.$ac_objext; then
9041 use_no_sign_warning="yes"
9043 echo "$as_me: failed program was:" >&5
9044 sed 's/^/| /' conftest.$ac_ext >&5
9046 use_no_sign_warning="no"
9049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9050 { echo "$as_me:$LINENO: result: $use_no_sign_warning" >&5
9051 echo "${ECHO_T}$use_no_sign_warning" >&6; }
9052 if test "x-$use_no_sign_warning" = "x-yes" ; then
9053 aros_config_cflags="$aros_config_cflags -Wno-pointer-sign"
9055 CFLAGS="$save_cflags"
9057 #-----------------------------------------------------------------------------
9059 # Find all the tools we need to compile. This could be cross-compiling
9060 # though! If that is the case we use the GNU form of the target and
9061 # simply add this to the front of the binary name. This is rather simple,
9062 # but it should work under most circumstances.
9064 # The default tools are to use the same as the host, but only if the
9065 # host and target CPU are the same. With GCC this is normally enough.
9069 aros_shared_ld="$aros_host_ld"
9071 aros_target_mkdep="$aros_host_mkdep"
9072 aros_target_incl_def="$aros_host_incl"
9074 aros_kernel_cc="$CC"
9076 # The default tools executables to be linked to.
9077 if test "$aros_target_cc" != ""; then
9078 # Extract the first word of "$aros_target_cc", so it can be a program name with args.
9079 set dummy $aros_target_cc; ac_word=$2
9080 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9082 if test "${ac_cv_path_aros_target_cc+set}" = set; then
9083 echo $ECHO_N "(cached) $ECHO_C" >&6
9085 case $aros_target_cc in
9087 ac_cv_path_aros_target_cc="$aros_target_cc" # Let the user override the test with a path.
9090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9094 test -z "$as_dir" && as_dir=.
9095 for ac_exec_ext in '' $ac_executable_extensions; do
9096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9097 ac_cv_path_aros_target_cc="$as_dir/$ac_word$ac_exec_ext"
9098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9108 aros_target_cc=$ac_cv_path_aros_target_cc
9109 if test -n "$aros_target_cc"; then
9110 { echo "$as_me:$LINENO: result: $aros_target_cc" >&5
9111 echo "${ECHO_T}$aros_target_cc" >&6; }
9113 { echo "$as_me:$LINENO: result: no" >&5
9114 echo "${ECHO_T}no" >&6; }
9118 if test "$aros_target_cc" = ""; then
9119 { { echo "$as_me:$LINENO: error: gcc is required to build AROS. Please install and run configure again." >&5
9120 echo "$as_me: error: gcc is required to build AROS. Please install and run configure again." >&2;}
9121 { (exit 1); exit 1; }; }
9124 if test "$aros_target_ld" != ""; then
9125 # Extract the first word of "$aros_target_ld", so it can be a program name with args.
9126 set dummy $aros_target_ld; ac_word=$2
9127 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9129 if test "${ac_cv_path_aros_target_ld+set}" = set; then
9130 echo $ECHO_N "(cached) $ECHO_C" >&6
9132 case $aros_target_ld in
9134 ac_cv_path_aros_target_ld="$aros_target_ld" # Let the user override the test with a path.
9137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9141 test -z "$as_dir" && as_dir=.
9142 for ac_exec_ext in '' $ac_executable_extensions; do
9143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9144 ac_cv_path_aros_target_ld="$as_dir/$ac_word$ac_exec_ext"
9145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9155 aros_target_ld=$ac_cv_path_aros_target_ld
9156 if test -n "$aros_target_ld"; then
9157 { echo "$as_me:$LINENO: result: $aros_target_ld" >&5
9158 echo "${ECHO_T}$aros_target_ld" >&6; }
9160 { echo "$as_me:$LINENO: result: no" >&5
9161 echo "${ECHO_T}no" >&6; }
9165 if test "$aros_target_ld" = ""; then
9166 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
9167 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
9168 { (exit 1); exit 1; }; }
9172 if test "$crosstools" != "yes"; then
9174 if test "$aros_target_as" = ""; then
9175 if test "$cross_compiling" = "yes" ; then
9176 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
9177 set dummy ${target_tool_prefix}as; ac_word=$2
9178 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9179 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9180 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9181 echo $ECHO_N "(cached) $ECHO_C" >&6
9183 case $aros_target_as_ln in
9185 ac_cv_path_aros_target_as_ln="$aros_target_as_ln" # Let the user override the test with a path.
9188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9192 test -z "$as_dir" && as_dir=.
9193 for ac_exec_ext in '' $ac_executable_extensions; do
9194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9195 ac_cv_path_aros_target_as_ln="$as_dir/$ac_word$ac_exec_ext"
9196 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9206 aros_target_as_ln=$ac_cv_path_aros_target_as_ln
9207 if test -n "$aros_target_as_ln"; then
9208 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9209 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9211 { echo "$as_me:$LINENO: result: no" >&5
9212 echo "${ECHO_T}no" >&6; }
9217 if test "$GCC" = "yes"; then
9218 aros_gcc_as=`$CC -print-prog-name=as
`
9219 # Extract the first word of "`basename $aros_gcc_[as
]`", so it can be a program name with args.
9220 set dummy `basename $aros_gcc_as`; ac_word=$2
9221 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9223 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9224 echo $ECHO_N "(cached) $ECHO_C" >&6
9226 case $aros_target_as_ln in
9228 ac_cv_path_aros_target_as_ln="$aros_target_as_ln" # Let the user override the test with a path.
9231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9232 for as_dir in `dirname $aros_gcc_as`
9235 test -z "$as_dir" && as_dir=.
9236 for ac_exec_ext in '' $ac_executable_extensions; do
9237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9238 ac_cv_path_aros_target_as_ln="$as_dir/$ac_word$ac_exec_ext"
9239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9249 aros_target_as_ln=$ac_cv_path_aros_target_as_ln
9250 if test -n "$aros_target_as_ln"; then
9251 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9252 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9254 { echo "$as_me:$LINENO: result: no" >&5
9255 echo "${ECHO_T}no" >&6; }
9260 if test "$aros_target_as_ln" = ""; then
9261 # Extract the first word of "as", so it can be a program name with args.
9262 set dummy as; ac_word=$2
9263 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9265 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9266 echo $ECHO_N "(cached) $ECHO_C" >&6
9268 case $aros_target_as_ln in
9270 ac_cv_path_aros_target_as_ln="$aros_target_as_ln" # Let the user override the test with a path.
9273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9277 test -z "$as_dir" && as_dir=.
9278 for ac_exec_ext in '' $ac_executable_extensions; do
9279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9280 ac_cv_path_aros_target_as_ln="$as_dir/$ac_word$ac_exec_ext"
9281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9291 aros_target_as_ln=$ac_cv_path_aros_target_as_ln
9292 if test -n "$aros_target_as_ln"; then
9293 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9294 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9296 { echo "$as_me:$LINENO: result: no" >&5
9297 echo "${ECHO_T}no" >&6; }
9304 # Extract the first word of "$aros_target_as", so it can be a program name with args.
9305 set dummy $aros_target_as; ac_word=$2
9306 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9308 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9309 echo $ECHO_N "(cached) $ECHO_C" >&6
9311 case $aros_target_as_ln in
9313 ac_cv_path_aros_target_as_ln="$aros_target_as_ln" # Let the user override the test with a path.
9316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9320 test -z "$as_dir" && as_dir=.
9321 for ac_exec_ext in '' $ac_executable_extensions; do
9322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9323 ac_cv_path_aros_target_as_ln="$as_dir/$ac_word$ac_exec_ext"
9324 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9334 aros_target_as_ln=$ac_cv_path_aros_target_as_ln
9335 if test -n "$aros_target_as_ln"; then
9336 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9337 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9339 { echo "$as_me:$LINENO: result: no" >&5
9340 echo "${ECHO_T}no" >&6; }
9346 if test "$aros_target_as_ln" = ""; then
9347 { { echo "$as_me:$LINENO: error: as is required to build AROS. Please install and run configure again." >&5
9348 echo "$as_me: error: as is required to build AROS. Please install and run configure again." >&2;}
9349 { (exit 1); exit 1; }; }
9352 if test "$aros_kernel_ld" = ""; then
9353 if test "$cross_compiling" = "yes" ; then
9354 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
9355 set dummy ${target_tool_prefix}ld; ac_word=$2
9356 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9358 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9359 echo $ECHO_N "(cached) $ECHO_C" >&6
9361 case $aros_kernel_ld in
9363 ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path.
9366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9370 test -z "$as_dir" && as_dir=.
9371 for ac_exec_ext in '' $ac_executable_extensions; do
9372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9373 ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext"
9374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9384 aros_kernel_ld=$ac_cv_path_aros_kernel_ld
9385 if test -n "$aros_kernel_ld"; then
9386 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9387 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9389 { echo "$as_me:$LINENO: result: no" >&5
9390 echo "${ECHO_T}no" >&6; }
9395 if test "$GCC" = "yes"; then
9396 aros_gcc_ld=`$CC -print-prog-name=ld
`
9397 # Extract the first word of "`basename $aros_gcc_[ld
]`", so it can be a program name with args.
9398 set dummy `basename $aros_gcc_ld`; ac_word=$2
9399 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9400 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9401 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9402 echo $ECHO_N "(cached) $ECHO_C" >&6
9404 case $aros_kernel_ld in
9406 ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path.
9409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9410 for as_dir in `dirname $aros_gcc_ld`
9413 test -z "$as_dir" && as_dir=.
9414 for ac_exec_ext in '' $ac_executable_extensions; do
9415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9416 ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext"
9417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9427 aros_kernel_ld=$ac_cv_path_aros_kernel_ld
9428 if test -n "$aros_kernel_ld"; then
9429 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9430 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9432 { echo "$as_me:$LINENO: result: no" >&5
9433 echo "${ECHO_T}no" >&6; }
9438 if test "$aros_kernel_ld" = ""; then
9439 # Extract the first word of "ld", so it can be a program name with args.
9440 set dummy ld; ac_word=$2
9441 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9442 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9443 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9444 echo $ECHO_N "(cached) $ECHO_C" >&6
9446 case $aros_kernel_ld in
9448 ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path.
9451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9455 test -z "$as_dir" && as_dir=.
9456 for ac_exec_ext in '' $ac_executable_extensions; do
9457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9458 ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext"
9459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9469 aros_kernel_ld=$ac_cv_path_aros_kernel_ld
9470 if test -n "$aros_kernel_ld"; then
9471 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9472 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9474 { echo "$as_me:$LINENO: result: no" >&5
9475 echo "${ECHO_T}no" >&6; }
9482 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
9483 set dummy $aros_kernel_ld; ac_word=$2
9484 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9486 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9487 echo $ECHO_N "(cached) $ECHO_C" >&6
9489 case $aros_kernel_ld in
9491 ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path.
9494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9498 test -z "$as_dir" && as_dir=.
9499 for ac_exec_ext in '' $ac_executable_extensions; do
9500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9501 ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext"
9502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9512 aros_kernel_ld=$ac_cv_path_aros_kernel_ld
9513 if test -n "$aros_kernel_ld"; then
9514 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9515 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9517 { echo "$as_me:$LINENO: result: no" >&5
9518 echo "${ECHO_T}no" >&6; }
9524 if test "$aros_kernel_ld" = ""; then
9525 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
9526 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
9527 { (exit 1); exit 1; }; }
9530 if test "$aros_target_ar" = ""; then
9531 if test "$cross_compiling" = "yes" ; then
9532 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
9533 set dummy ${target_tool_prefix}ar; ac_word=$2
9534 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9536 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9537 echo $ECHO_N "(cached) $ECHO_C" >&6
9539 case $aros_target_ar_ln in
9541 ac_cv_path_aros_target_ar_ln="$aros_target_ar_ln" # Let the user override the test with a path.
9544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9548 test -z "$as_dir" && as_dir=.
9549 for ac_exec_ext in '' $ac_executable_extensions; do
9550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9551 ac_cv_path_aros_target_ar_ln="$as_dir/$ac_word$ac_exec_ext"
9552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9562 aros_target_ar_ln=$ac_cv_path_aros_target_ar_ln
9563 if test -n "$aros_target_ar_ln"; then
9564 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9565 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9567 { echo "$as_me:$LINENO: result: no" >&5
9568 echo "${ECHO_T}no" >&6; }
9573 if test "$GCC" = "yes"; then
9574 aros_gcc_ar=`$CC -print-prog-name=ar`
9575 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9576 set dummy `basename $aros_gcc_ar`; ac_word=$2
9577 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9579 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9580 echo $ECHO_N "(cached) $ECHO_C" >&6
9582 case $aros_target_ar_ln in
9584 ac_cv_path_aros_target_ar_ln="$aros_target_ar_ln" # Let the user override the test with a path.
9587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9588 for as_dir in `dirname $aros_gcc_ar`
9591 test -z "$as_dir" && as_dir=.
9592 for ac_exec_ext in '' $ac_executable_extensions; do
9593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9594 ac_cv_path_aros_target_ar_ln="$as_dir/$ac_word$ac_exec_ext"
9595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9605 aros_target_ar_ln=$ac_cv_path_aros_target_ar_ln
9606 if test -n "$aros_target_ar_ln"; then
9607 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9608 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9610 { echo "$as_me:$LINENO: result: no" >&5
9611 echo "${ECHO_T}no" >&6; }
9616 if test "$aros_target_ar_ln" = ""; then
9617 # Extract the first word of "ar", so it can be a program name with args.
9618 set dummy ar; ac_word=$2
9619 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9621 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9622 echo $ECHO_N "(cached) $ECHO_C" >&6
9624 case $aros_target_ar_ln in
9626 ac_cv_path_aros_target_ar_ln="$aros_target_ar_ln" # Let the user override the test with a path.
9629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9633 test -z "$as_dir" && as_dir=.
9634 for ac_exec_ext in '' $ac_executable_extensions; do
9635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9636 ac_cv_path_aros_target_ar_ln="$as_dir/$ac_word$ac_exec_ext"
9637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9647 aros_target_ar_ln=$ac_cv_path_aros_target_ar_ln
9648 if test -n "$aros_target_ar_ln"; then
9649 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9650 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9652 { echo "$as_me:$LINENO: result: no" >&5
9653 echo "${ECHO_T}no" >&6; }
9660 # Extract the first word of "$aros_target_ar", so it can be a program name with args.
9661 set dummy $aros_target_ar; ac_word=$2
9662 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9664 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9665 echo $ECHO_N "(cached) $ECHO_C" >&6
9667 case $aros_target_ar_ln in
9669 ac_cv_path_aros_target_ar_ln="$aros_target_ar_ln" # Let the user override the test with a path.
9672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9676 test -z "$as_dir" && as_dir=.
9677 for ac_exec_ext in '' $ac_executable_extensions; do
9678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9679 ac_cv_path_aros_target_ar_ln="$as_dir/$ac_word$ac_exec_ext"
9680 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9690 aros_target_ar_ln=$ac_cv_path_aros_target_ar_ln
9691 if test -n "$aros_target_ar_ln"; then
9692 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9693 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9695 { echo "$as_me:$LINENO: result: no" >&5
9696 echo "${ECHO_T}no" >&6; }
9702 if test "$aros_target_ar_ln" = ""; then
9703 { { echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
9704 echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
9705 { (exit 1); exit 1; }; }
9708 if test "$aros_target_nm" = ""; then
9709 if test "$cross_compiling" = "yes" ; then
9710 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
9711 set dummy ${target_tool_prefix}nm; ac_word=$2
9712 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9714 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
9715 echo $ECHO_N "(cached) $ECHO_C" >&6
9717 case $aros_target_nm_ln in
9719 ac_cv_path_aros_target_nm_ln="$aros_target_nm_ln" # Let the user override the test with a path.
9722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9726 test -z "$as_dir" && as_dir=.
9727 for ac_exec_ext in '' $ac_executable_extensions; do
9728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9729 ac_cv_path_aros_target_nm_ln="$as_dir/$ac_word$ac_exec_ext"
9730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9740 aros_target_nm_ln=$ac_cv_path_aros_target_nm_ln
9741 if test -n "$aros_target_nm_ln"; then
9742 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
9743 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
9745 { echo "$as_me:$LINENO: result: no" >&5
9746 echo "${ECHO_T}no" >&6; }
9751 if test "$GCC" = "yes"; then
9752 aros_gcc_nm=`$CC -print-prog-name=nm
`
9753 # Extract the first word of "`basename $aros_gcc_[nm
]`", so it can be a program name with args.
9754 set dummy `basename $aros_gcc_nm`; ac_word=$2
9755 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9757 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
9758 echo $ECHO_N "(cached) $ECHO_C" >&6
9760 case $aros_target_nm_ln in
9762 ac_cv_path_aros_target_nm_ln="$aros_target_nm_ln" # Let the user override the test with a path.
9765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9766 for as_dir in `dirname $aros_gcc_nm`
9769 test -z "$as_dir" && as_dir=.
9770 for ac_exec_ext in '' $ac_executable_extensions; do
9771 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9772 ac_cv_path_aros_target_nm_ln="$as_dir/$ac_word$ac_exec_ext"
9773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9783 aros_target_nm_ln=$ac_cv_path_aros_target_nm_ln
9784 if test -n "$aros_target_nm_ln"; then
9785 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
9786 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
9788 { echo "$as_me:$LINENO: result: no" >&5
9789 echo "${ECHO_T}no" >&6; }
9794 if test "$aros_target_nm_ln" = ""; then
9795 # Extract the first word of "nm", so it can be a program name with args.
9796 set dummy nm; ac_word=$2
9797 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9799 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
9800 echo $ECHO_N "(cached) $ECHO_C" >&6
9802 case $aros_target_nm_ln in
9804 ac_cv_path_aros_target_nm_ln="$aros_target_nm_ln" # Let the user override the test with a path.
9807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9811 test -z "$as_dir" && as_dir=.
9812 for ac_exec_ext in '' $ac_executable_extensions; do
9813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9814 ac_cv_path_aros_target_nm_ln="$as_dir/$ac_word$ac_exec_ext"
9815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9825 aros_target_nm_ln=$ac_cv_path_aros_target_nm_ln
9826 if test -n "$aros_target_nm_ln"; then
9827 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
9828 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
9830 { echo "$as_me:$LINENO: result: no" >&5
9831 echo "${ECHO_T}no" >&6; }
9838 # Extract the first word of "$aros_target_nm", so it can be a program name with args.
9839 set dummy $aros_target_nm; ac_word=$2
9840 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9842 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
9843 echo $ECHO_N "(cached) $ECHO_C" >&6
9845 case $aros_target_nm_ln in
9847 ac_cv_path_aros_target_nm_ln="$aros_target_nm_ln" # Let the user override the test with a path.
9850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9854 test -z "$as_dir" && as_dir=.
9855 for ac_exec_ext in '' $ac_executable_extensions; do
9856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9857 ac_cv_path_aros_target_nm_ln="$as_dir/$ac_word$ac_exec_ext"
9858 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9868 aros_target_nm_ln=$ac_cv_path_aros_target_nm_ln
9869 if test -n "$aros_target_nm_ln"; then
9870 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
9871 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
9873 { echo "$as_me:$LINENO: result: no" >&5
9874 echo "${ECHO_T}no" >&6; }
9880 if test "$aros_target_nm_ln" = ""; then
9881 { { echo "$as_me:$LINENO: error: nm is required to build AROS. Please install and run configure again." >&5
9882 echo "$as_me: error: nm is required to build AROS. Please install and run configure again." >&2;}
9883 { (exit 1); exit 1; }; }
9886 if test "$aros_target_objcopy" = ""; then
9887 if test "$cross_compiling" = "yes" ; then
9888 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
9889 set dummy ${target_tool_prefix}objcopy; ac_word=$2
9890 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9892 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
9893 echo $ECHO_N "(cached) $ECHO_C" >&6
9895 case $aros_target_objcopy_ln in
9897 ac_cv_path_aros_target_objcopy_ln="$aros_target_objcopy_ln" # Let the user override the test with a path.
9900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9904 test -z "$as_dir" && as_dir=.
9905 for ac_exec_ext in '' $ac_executable_extensions; do
9906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9907 ac_cv_path_aros_target_objcopy_ln="$as_dir/$ac_word$ac_exec_ext"
9908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9918 aros_target_objcopy_ln=$ac_cv_path_aros_target_objcopy_ln
9919 if test -n "$aros_target_objcopy_ln"; then
9920 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
9921 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
9923 { echo "$as_me:$LINENO: result: no" >&5
9924 echo "${ECHO_T}no" >&6; }
9929 if test "$GCC" = "yes"; then
9930 aros_gcc_objcopy=`$CC -print-prog-name=objcopy
`
9931 # Extract the first word of "`basename $aros_gcc_[objcopy
]`", so it can be a program name with args.
9932 set dummy `basename $aros_gcc_objcopy`; ac_word=$2
9933 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9934 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9935 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
9936 echo $ECHO_N "(cached) $ECHO_C" >&6
9938 case $aros_target_objcopy_ln in
9940 ac_cv_path_aros_target_objcopy_ln="$aros_target_objcopy_ln" # Let the user override the test with a path.
9943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9944 for as_dir in `dirname $aros_gcc_objcopy`
9947 test -z "$as_dir" && as_dir=.
9948 for ac_exec_ext in '' $ac_executable_extensions; do
9949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9950 ac_cv_path_aros_target_objcopy_ln="$as_dir/$ac_word$ac_exec_ext"
9951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9961 aros_target_objcopy_ln=$ac_cv_path_aros_target_objcopy_ln
9962 if test -n "$aros_target_objcopy_ln"; then
9963 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
9964 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
9966 { echo "$as_me:$LINENO: result: no" >&5
9967 echo "${ECHO_T}no" >&6; }
9972 if test "$aros_target_objcopy_ln" = ""; then
9973 # Extract the first word of "objcopy", so it can be a program name with args.
9974 set dummy objcopy; ac_word=$2
9975 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9977 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
9978 echo $ECHO_N "(cached) $ECHO_C" >&6
9980 case $aros_target_objcopy_ln in
9982 ac_cv_path_aros_target_objcopy_ln="$aros_target_objcopy_ln" # Let the user override the test with a path.
9985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9989 test -z "$as_dir" && as_dir=.
9990 for ac_exec_ext in '' $ac_executable_extensions; do
9991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9992 ac_cv_path_aros_target_objcopy_ln="$as_dir/$ac_word$ac_exec_ext"
9993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10003 aros_target_objcopy_ln=$ac_cv_path_aros_target_objcopy_ln
10004 if test -n "$aros_target_objcopy_ln"; then
10005 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10006 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
10008 { echo "$as_me:$LINENO: result: no" >&5
10009 echo "${ECHO_T}no" >&6; }
10016 # Extract the first word of "$aros_target_objcopy", so it can be a program name with args.
10017 set dummy $aros_target_objcopy; ac_word=$2
10018 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10020 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10021 echo $ECHO_N "(cached) $ECHO_C" >&6
10023 case $aros_target_objcopy_ln in
10025 ac_cv_path_aros_target_objcopy_ln="$aros_target_objcopy_ln" # Let the user override the test with a path.
10028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10029 for as_dir in $PATH
10032 test -z "$as_dir" && as_dir=.
10033 for ac_exec_ext in '' $ac_executable_extensions; do
10034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10035 ac_cv_path_aros_target_objcopy_ln="$as_dir/$ac_word$ac_exec_ext"
10036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10046 aros_target_objcopy_ln=$ac_cv_path_aros_target_objcopy_ln
10047 if test -n "$aros_target_objcopy_ln"; then
10048 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10049 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
10051 { echo "$as_me:$LINENO: result: no" >&5
10052 echo "${ECHO_T}no" >&6; }
10058 if test "$aros_target_objcopy_ln" = ""; then
10059 { { echo "$as_me:$LINENO: error: objcopy is required to build AROS. Please install and run configure again." >&5
10060 echo "$as_me: error: objcopy is required to build AROS. Please install and run configure again." >&2;}
10061 { (exit 1); exit 1; }; }
10064 if test "$aros_target_objdump" = ""; then
10065 if test "$cross_compiling" = "yes" ; then
10066 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
10067 set dummy ${target_tool_prefix}objdump; ac_word=$2
10068 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10070 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10071 echo $ECHO_N "(cached) $ECHO_C" >&6
10073 case $aros_target_objdump_ln in
10075 ac_cv_path_aros_target_objdump_ln="$aros_target_objdump_ln" # Let the user override the test with a path.
10078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10079 for as_dir in $PATH
10082 test -z "$as_dir" && as_dir=.
10083 for ac_exec_ext in '' $ac_executable_extensions; do
10084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10085 ac_cv_path_aros_target_objdump_ln="$as_dir/$ac_word$ac_exec_ext"
10086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10096 aros_target_objdump_ln=$ac_cv_path_aros_target_objdump_ln
10097 if test -n "$aros_target_objdump_ln"; then
10098 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10099 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
10101 { echo "$as_me:$LINENO: result: no" >&5
10102 echo "${ECHO_T}no" >&6; }
10107 if test "$GCC" = "yes"; then
10108 aros_gcc_objdump=`$CC -print-prog-name=objdump
`
10109 # Extract the first word of "`basename $aros_gcc_[objdump
]`", so it can be a program name with args.
10110 set dummy `basename $aros_gcc_objdump`; ac_word=$2
10111 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10113 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10114 echo $ECHO_N "(cached) $ECHO_C" >&6
10116 case $aros_target_objdump_ln in
10118 ac_cv_path_aros_target_objdump_ln="$aros_target_objdump_ln" # Let the user override the test with a path.
10121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10122 for as_dir in `dirname $aros_gcc_objdump`
10125 test -z "$as_dir" && as_dir=.
10126 for ac_exec_ext in '' $ac_executable_extensions; do
10127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10128 ac_cv_path_aros_target_objdump_ln="$as_dir/$ac_word$ac_exec_ext"
10129 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10139 aros_target_objdump_ln=$ac_cv_path_aros_target_objdump_ln
10140 if test -n "$aros_target_objdump_ln"; then
10141 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10142 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
10144 { echo "$as_me:$LINENO: result: no" >&5
10145 echo "${ECHO_T}no" >&6; }
10150 if test "$aros_target_objdump_ln" = ""; then
10151 # Extract the first word of "objdump", so it can be a program name with args.
10152 set dummy objdump; ac_word=$2
10153 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10155 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10156 echo $ECHO_N "(cached) $ECHO_C" >&6
10158 case $aros_target_objdump_ln in
10160 ac_cv_path_aros_target_objdump_ln="$aros_target_objdump_ln" # Let the user override the test with a path.
10163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10164 for as_dir in $PATH
10167 test -z "$as_dir" && as_dir=.
10168 for ac_exec_ext in '' $ac_executable_extensions; do
10169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10170 ac_cv_path_aros_target_objdump_ln="$as_dir/$ac_word$ac_exec_ext"
10171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10181 aros_target_objdump_ln=$ac_cv_path_aros_target_objdump_ln
10182 if test -n "$aros_target_objdump_ln"; then
10183 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10184 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
10186 { echo "$as_me:$LINENO: result: no" >&5
10187 echo "${ECHO_T}no" >&6; }
10194 # Extract the first word of "$aros_target_objdump", so it can be a program name with args.
10195 set dummy $aros_target_objdump; ac_word=$2
10196 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10198 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10199 echo $ECHO_N "(cached) $ECHO_C" >&6
10201 case $aros_target_objdump_ln in
10203 ac_cv_path_aros_target_objdump_ln="$aros_target_objdump_ln" # Let the user override the test with a path.
10206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10207 for as_dir in $PATH
10210 test -z "$as_dir" && as_dir=.
10211 for ac_exec_ext in '' $ac_executable_extensions; do
10212 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10213 ac_cv_path_aros_target_objdump_ln="$as_dir/$ac_word$ac_exec_ext"
10214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10224 aros_target_objdump_ln=$ac_cv_path_aros_target_objdump_ln
10225 if test -n "$aros_target_objdump_ln"; then
10226 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10227 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
10229 { echo "$as_me:$LINENO: result: no" >&5
10230 echo "${ECHO_T}no" >&6; }
10236 if test "$aros_target_objdump_ln" = ""; then
10237 { { echo "$as_me:$LINENO: error: objdump is required to build AROS. Please install and run configure again." >&5
10238 echo "$as_me: error: objdump is required to build AROS. Please install and run configure again." >&2;}
10239 { (exit 1); exit 1; }; }
10242 if test "$aros_target_ranlib" = ""; then
10243 if test "$cross_compiling" = "yes" ; then
10244 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
10245 set dummy ${target_tool_prefix}ranlib; ac_word=$2
10246 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10248 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10249 echo $ECHO_N "(cached) $ECHO_C" >&6
10251 case $aros_target_ranlib_ln in
10253 ac_cv_path_aros_target_ranlib_ln="$aros_target_ranlib_ln" # Let the user override the test with a path.
10256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10257 for as_dir in $PATH
10260 test -z "$as_dir" && as_dir=.
10261 for ac_exec_ext in '' $ac_executable_extensions; do
10262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10263 ac_cv_path_aros_target_ranlib_ln="$as_dir/$ac_word$ac_exec_ext"
10264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10274 aros_target_ranlib_ln=$ac_cv_path_aros_target_ranlib_ln
10275 if test -n "$aros_target_ranlib_ln"; then
10276 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10277 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10279 { echo "$as_me:$LINENO: result: no" >&5
10280 echo "${ECHO_T}no" >&6; }
10285 if test "$GCC" = "yes"; then
10286 aros_gcc_ranlib=`$CC -print-prog-name=ranlib
`
10287 # Extract the first word of "`basename $aros_gcc_[ranlib
]`", so it can be a program name with args.
10288 set dummy `basename $aros_gcc_ranlib`; ac_word=$2
10289 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10291 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10292 echo $ECHO_N "(cached) $ECHO_C" >&6
10294 case $aros_target_ranlib_ln in
10296 ac_cv_path_aros_target_ranlib_ln="$aros_target_ranlib_ln" # Let the user override the test with a path.
10299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10300 for as_dir in `dirname $aros_gcc_ranlib`
10303 test -z "$as_dir" && as_dir=.
10304 for ac_exec_ext in '' $ac_executable_extensions; do
10305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10306 ac_cv_path_aros_target_ranlib_ln="$as_dir/$ac_word$ac_exec_ext"
10307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10317 aros_target_ranlib_ln=$ac_cv_path_aros_target_ranlib_ln
10318 if test -n "$aros_target_ranlib_ln"; then
10319 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10320 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10322 { echo "$as_me:$LINENO: result: no" >&5
10323 echo "${ECHO_T}no" >&6; }
10328 if test "$aros_target_ranlib_ln" = ""; then
10329 # Extract the first word of "ranlib", so it can be a program name with args.
10330 set dummy ranlib; ac_word=$2
10331 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10333 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10334 echo $ECHO_N "(cached) $ECHO_C" >&6
10336 case $aros_target_ranlib_ln in
10338 ac_cv_path_aros_target_ranlib_ln="$aros_target_ranlib_ln" # Let the user override the test with a path.
10341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10342 for as_dir in $PATH
10345 test -z "$as_dir" && as_dir=.
10346 for ac_exec_ext in '' $ac_executable_extensions; do
10347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10348 ac_cv_path_aros_target_ranlib_ln="$as_dir/$ac_word$ac_exec_ext"
10349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10359 aros_target_ranlib_ln=$ac_cv_path_aros_target_ranlib_ln
10360 if test -n "$aros_target_ranlib_ln"; then
10361 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10362 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10364 { echo "$as_me:$LINENO: result: no" >&5
10365 echo "${ECHO_T}no" >&6; }
10372 # Extract the first word of "$aros_target_ranlib", so it can be a program name with args.
10373 set dummy $aros_target_ranlib; ac_word=$2
10374 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10376 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10377 echo $ECHO_N "(cached) $ECHO_C" >&6
10379 case $aros_target_ranlib_ln in
10381 ac_cv_path_aros_target_ranlib_ln="$aros_target_ranlib_ln" # Let the user override the test with a path.
10384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10385 for as_dir in $PATH
10388 test -z "$as_dir" && as_dir=.
10389 for ac_exec_ext in '' $ac_executable_extensions; do
10390 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10391 ac_cv_path_aros_target_ranlib_ln="$as_dir/$ac_word$ac_exec_ext"
10392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10402 aros_target_ranlib_ln=$ac_cv_path_aros_target_ranlib_ln
10403 if test -n "$aros_target_ranlib_ln"; then
10404 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10405 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10407 { echo "$as_me:$LINENO: result: no" >&5
10408 echo "${ECHO_T}no" >&6; }
10414 if test "$aros_target_ranlib_ln" = ""; then
10415 { { echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
10416 echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
10417 { (exit 1); exit 1; }; }
10420 if test "$aros_target_strip" = ""; then
10421 if test "$cross_compiling" = "yes" ; then
10422 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
10423 set dummy ${target_tool_prefix}strip; ac_word=$2
10424 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10426 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10427 echo $ECHO_N "(cached) $ECHO_C" >&6
10429 case $aros_target_strip_ln in
10431 ac_cv_path_aros_target_strip_ln="$aros_target_strip_ln" # Let the user override the test with a path.
10434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10435 for as_dir in $PATH
10438 test -z "$as_dir" && as_dir=.
10439 for ac_exec_ext in '' $ac_executable_extensions; do
10440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10441 ac_cv_path_aros_target_strip_ln="$as_dir/$ac_word$ac_exec_ext"
10442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10452 aros_target_strip_ln=$ac_cv_path_aros_target_strip_ln
10453 if test -n "$aros_target_strip_ln"; then
10454 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10455 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10457 { echo "$as_me:$LINENO: result: no" >&5
10458 echo "${ECHO_T}no" >&6; }
10463 if test "$GCC" = "yes"; then
10464 aros_gcc_strip=`$CC -print-prog-name=strip
`
10465 # Extract the first word of "`basename $aros_gcc_[strip
]`", so it can be a program name with args.
10466 set dummy `basename $aros_gcc_strip`; ac_word=$2
10467 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10469 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10470 echo $ECHO_N "(cached) $ECHO_C" >&6
10472 case $aros_target_strip_ln in
10474 ac_cv_path_aros_target_strip_ln="$aros_target_strip_ln" # Let the user override the test with a path.
10477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10478 for as_dir in `dirname $aros_gcc_strip`
10481 test -z "$as_dir" && as_dir=.
10482 for ac_exec_ext in '' $ac_executable_extensions; do
10483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10484 ac_cv_path_aros_target_strip_ln="$as_dir/$ac_word$ac_exec_ext"
10485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10495 aros_target_strip_ln=$ac_cv_path_aros_target_strip_ln
10496 if test -n "$aros_target_strip_ln"; then
10497 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10498 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10500 { echo "$as_me:$LINENO: result: no" >&5
10501 echo "${ECHO_T}no" >&6; }
10506 if test "$aros_target_strip_ln" = ""; then
10507 # Extract the first word of "strip", so it can be a program name with args.
10508 set dummy strip; ac_word=$2
10509 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10511 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10512 echo $ECHO_N "(cached) $ECHO_C" >&6
10514 case $aros_target_strip_ln in
10516 ac_cv_path_aros_target_strip_ln="$aros_target_strip_ln" # Let the user override the test with a path.
10519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10520 for as_dir in $PATH
10523 test -z "$as_dir" && as_dir=.
10524 for ac_exec_ext in '' $ac_executable_extensions; do
10525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10526 ac_cv_path_aros_target_strip_ln="$as_dir/$ac_word$ac_exec_ext"
10527 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10537 aros_target_strip_ln=$ac_cv_path_aros_target_strip_ln
10538 if test -n "$aros_target_strip_ln"; then
10539 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10540 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10542 { echo "$as_me:$LINENO: result: no" >&5
10543 echo "${ECHO_T}no" >&6; }
10550 # Extract the first word of "$aros_target_strip", so it can be a program name with args.
10551 set dummy $aros_target_strip; ac_word=$2
10552 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10554 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10555 echo $ECHO_N "(cached) $ECHO_C" >&6
10557 case $aros_target_strip_ln in
10559 ac_cv_path_aros_target_strip_ln="$aros_target_strip_ln" # Let the user override the test with a path.
10562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10563 for as_dir in $PATH
10566 test -z "$as_dir" && as_dir=.
10567 for ac_exec_ext in '' $ac_executable_extensions; do
10568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10569 ac_cv_path_aros_target_strip_ln="$as_dir/$ac_word$ac_exec_ext"
10570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10580 aros_target_strip_ln=$ac_cv_path_aros_target_strip_ln
10581 if test -n "$aros_target_strip_ln"; then
10582 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10583 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10585 { echo "$as_me:$LINENO: result: no" >&5
10586 echo "${ECHO_T}no" >&6; }
10592 if test "$aros_target_strip_ln" = ""; then
10593 { { echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
10594 echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
10595 { (exit 1); exit 1; }; }
10597 # Temporarily disabled in order to let Windows-hosted port to build.
10598 # if test "$aros_target_cxx" != ""; then
10599 # AC_PATH_PROG(aros_target_cxx,$aros_target_cxx)
10600 # AROS_REQUIRED(c++,$aros_target_cxx)
10603 # Cancel preinstalled C++ compiler because it will be built as part of crosstools
10607 if test "$rescomp" != ""; then
10608 if test "$cross_compiling" = "yes" ; then
10609 rescomp=${target_tool_prefix}${rescomp}
10611 # Extract the first word of "$rescomp", so it can be a program name with args.
10612 set dummy $rescomp; ac_word=$2
10613 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10615 if test "${ac_cv_path_aros_kernel_rescomp+set}" = set; then
10616 echo $ECHO_N "(cached) $ECHO_C" >&6
10618 case $aros_kernel_rescomp in
10620 ac_cv_path_aros_kernel_rescomp="$aros_kernel_rescomp" # Let the user override the test with a path.
10623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10624 for as_dir in $PATH
10627 test -z "$as_dir" && as_dir=.
10628 for ac_exec_ext in '' $ac_executable_extensions; do
10629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10630 ac_cv_path_aros_kernel_rescomp="$as_dir/$ac_word$ac_exec_ext"
10631 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10641 aros_kernel_rescomp=$ac_cv_path_aros_kernel_rescomp
10642 if test -n "$aros_kernel_rescomp"; then
10643 { echo "$as_me:$LINENO: result: $aros_kernel_rescomp" >&5
10644 echo "${ECHO_T}$aros_kernel_rescomp" >&6; }
10646 { echo "$as_me:$LINENO: result: no" >&5
10647 echo "${ECHO_T}no" >&6; }
10651 if test "$aros_kernel_rescomp" = ""; then
10652 { { echo "$as_me:$LINENO: error: $rescomp is required to build AROS. Please install and run configure again." >&5
10653 echo "$as_me: error: $rescomp is required to build AROS. Please install and run configure again." >&2;}
10654 { (exit 1); exit 1; }; }
10658 aros_hostcfg_dir="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
10659 aros_targetcfg_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
10660 aros_inc_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
10661 aros_gendir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
10662 aros_geninc_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
10663 aros_tools_dir="bin/${aros_host_arch}-${aros_host_cpu}/tools"
10664 aros_scripts_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
10666 # aros_cc_pre is a variable that is added to the front of the compiler name
10667 # in the generated aros-gcc shell script. We need this to enable the cache
10668 # to work across cleaned builds. Also, support DISTCC using the correct
10669 # environment variable.
10672 if test "x${DISTCC}" != "x" ; then
10673 if test "x${CCACHE}" != "x" ; then
10674 aros_cc_pre="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
10676 aros_cc_pre="${DISTCC} "
10679 if test "x${CCACHE}" != "x" ; then
10680 aros_cc_pre="${CCACHE} "
10684 prefix="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
10686 aros_target_nostdinc_cflags=-nostdinc
10688 aros_target_nostartup_ldflags=-nostartfiles
10690 aros_target_nix_ldflags=-nix
10692 aros_target_detach_ldflags=-detach
10694 aros_target_nostdlib_ldflags=-nostdlib
10698 if test "$aros_target_cc" = ""; then
10699 orig_target_cc=$aros_kernel_cc
10701 orig_target_cc=$aros_target_cc
10703 if test "$aros_target_ld" = ""; then
10704 orig_target_ld=$aros_kernel_ld
10706 orig_target_ld=$aros_target_ld
10708 if test "$GCC" = "yes"; then
10709 aros_target_cc_path=`$orig_target_cc -print-search-dirs |
grep "programs: =" | cut
-c 12-`
10711 aros_target_cc="${prefix}-gcc"
10712 aros_target_as="${prefix}-as"
10713 aros_target_ld="${prefix}-ld"
10714 aros_target_ar="${prefix}-ar $aros_target_ar_flags"
10715 aros_target_objcopy=${prefix}-objcopy
10716 aros_target_objdump=${prefix}-objdump
10717 aros_target_ranlib="${prefix}-ranlib $aros_target_ranlib_flags"
10718 aros_target_nm="${prefix}-nm $aros_target_nm_flags"
10719 aros_kernel_nm="${prefix}-nm"
10720 aros_target_strip=${prefix}-strip
10722 # Find the system include path. We can suggest that an alternative is
10723 # used if we don't get it correct. The default is to use /usr/include.
10724 # Which is set in the aros_target_incl_def variable.
10726 # Check whether --enable-includes was given.
10727 if test "${enable_includes+set}" = set; then
10728 enableval=$enable_includes; aros_target_incl=$enable_includes
10730 aros_target_incl=$aros_target_incl_def
10734 { echo "$as_me:$LINENO: checking for the target compiler's include path" >&5
10735 echo $ECHO_N "checking for the target compiler's include path... $ECHO_C" >&6; }
10736 if test "$aros_target_cc_includes" = "" ; then
10737 #try to guess where the directory is
10738 aros_target_cc_includes=`dirname \
`${orig_target_cc} -print-libgcc-file-name\``/include
10739 if ! test -d $aros_target_cc_includes; then
10740 #the directory doesn't exist, we need to do some more work
10741 aros_target_cc_includes=${PWD}/${aros_gendir}/cc_include
10743 #these are the headers we're looling for
10744 headers="limits.h mmintrin.h stdbool.h syslimits.h float.h \
10745 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
10749 for h in $headers; do
10750 #which other headers each of the above headers needs?
10751 deps=$(echo "#include <$h>" | \
10752 $aros_host_cc -E -M - 2>/dev/null | \
10753 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
10755 #copy all the needed headers to a directory beneath gendir
10758 dir=${aros_target_cc_includes}$(echo $(dirname $d) | \
10759 sed -n "s,^.*/include\(/.*\),\1,p")
10760 ! test -d $dir && mkdir -p $dir
10761 ! test -f $dir/$h && { cp $d $dir; chmod u+w $dir/$h; }
10766 { echo "$as_me:$LINENO: result: $aros_target_cc_includes" >&5
10767 echo "${ECHO_T}$aros_target_cc_includes" >&6; }
10770 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
10771 # On GCC >= 4.0 -iquote should be used
10775 save_cflags="$CFLAGS"
10777 { echo "$as_me:$LINENO: checking whether ${CC} accepts -iquote" >&5
10778 echo $ECHO_N "checking whether ${CC} accepts -iquote... $ECHO_C" >&6; }
10779 cat >conftest.$ac_ext <<_ACEOF
10782 cat confdefs.h >>conftest.$ac_ext
10783 cat >>conftest.$ac_ext <<_ACEOF
10784 /* end confdefs.h. */
10794 rm -f conftest.$ac_objext
10795 if { (ac_try="$ac_compile"
10796 case "(($ac_try" in
10797 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10798 *) ac_try_echo
=$ac_try;;
10800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10801 (eval "$ac_compile") 2>conftest.er1
10803 grep -v '^ *+' conftest.er1
>conftest.err
10805 cat conftest.err
>&5
10806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10807 (exit $ac_status); } && {
10808 test -z "$ac_c_werror_flag" ||
10809 test ! -s conftest.err
10810 } && test -s conftest.
$ac_objext; then
10813 echo "$as_me: failed program was:" >&5
10814 sed 's/^/| /' conftest.
$ac_ext >&5
10819 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10820 { echo "$as_me:$LINENO: result: $has_iquote" >&5
10821 echo "${ECHO_T}$has_iquote" >&6; }
10822 if test "x-$has_iquote" = "x-yes" ; then
10823 host_cflags_iquote
=-iquote
10824 host_cflags_iquote_end
=
10826 host_cflags_iquote
=-I
10827 host_cflags_iquote_end
=-I-
10829 kernel_cflags_iquote
=$host_cflags_iquote
10830 kernel_cflags_iquote_end
=$host_cflags_iquote_end
10831 if test "x-$cross_compiling" = "x-yes"; then
10832 CC
="$aros_kernel_cc"
10833 { echo "$as_me:$LINENO: checking whether ${CC} accepts -fno-stack-protector" >&5
10834 echo $ECHO_N "checking whether ${CC} accepts -fno-stack-protector... $ECHO_C" >&6; }
10835 cat >conftest.
$ac_ext <<_ACEOF
10838 cat confdefs.h
>>conftest.
$ac_ext
10839 cat >>conftest.
$ac_ext <<_ACEOF
10840 /* end confdefs.h. */
10850 rm -f conftest.
$ac_objext
10851 if { (ac_try
="$ac_compile"
10852 case "(($ac_try" in
10853 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10854 *) ac_try_echo=$ac_try;;
10856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10857 (eval "$ac_compile") 2>conftest.er1
10859 grep -v '^ *+' conftest.er1 >conftest.err
10861 cat conftest.err >&5
10862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10863 (exit $ac_status); } && {
10864 test -z "$ac_c_werror_flag" ||
10865 test ! -s conftest.err
10866 } && test -s conftest.$ac_objext; then
10867 use_no_stack_protector="yes"
10869 echo "$as_me: failed program was:" >&5
10870 sed 's/^/| /' conftest.$ac_ext >&5
10872 use_no_stack_protector="no"
10875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10876 { echo "$as_me:$LINENO: result: $use_no_stack_protector" >&5
10877 echo "${ECHO_T}$use_no_stack_protector" >&6; }
10878 { echo "$as_me:$LINENO: checking whether ${CC} accepts -iquote" >&5
10879 echo $ECHO_N "checking whether ${CC} accepts -iquote... $ECHO_C" >&6; }
10880 cat >conftest.$ac_ext <<_ACEOF
10883 cat confdefs.h >>conftest.$ac_ext
10884 cat >>conftest.$ac_ext <<_ACEOF
10885 /* end confdefs.h. */
10895 rm -f conftest.$ac_objext
10896 if { (ac_try="$ac_compile"
10897 case "(($ac_try" in
10898 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10899 *) ac_try_echo
=$ac_try;;
10901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10902 (eval "$ac_compile") 2>conftest.er1
10904 grep -v '^ *+' conftest.er1
>conftest.err
10906 cat conftest.err
>&5
10907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10908 (exit $ac_status); } && {
10909 test -z "$ac_c_werror_flag" ||
10910 test ! -s conftest.err
10911 } && test -s conftest.
$ac_objext; then
10914 echo "$as_me: failed program was:" >&5
10915 sed 's/^/| /' conftest.
$ac_ext >&5
10920 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10921 { echo "$as_me:$LINENO: result: $has_iquote" >&5
10922 echo "${ECHO_T}$has_iquote" >&6; }
10923 if test "x-$has_iquote" = "x-yes" ; then
10924 kernel_cflags_iquote
=-iquote
10925 kernel_cflags_iquote_end
=
10927 kernel_cflags_iquote
=-I
10928 kernel_cflags_iquote_end
=-I-
10931 aros_cflags_iquote
=$kernel_cflags_iquote
10932 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
10933 if test "$orig_target_cc" != "$aros_kernel_cc"; then
10934 CC
="$orig_target_cc"
10935 { echo "$as_me:$LINENO: checking whether ${CC} accepts -iquote" >&5
10936 echo $ECHO_N "checking whether ${CC} accepts -iquote... $ECHO_C" >&6; }
10937 cat >conftest.
$ac_ext <<_ACEOF
10940 cat confdefs.h
>>conftest.
$ac_ext
10941 cat >>conftest.
$ac_ext <<_ACEOF
10942 /* end confdefs.h. */
10952 rm -f conftest.
$ac_objext
10953 if { (ac_try
="$ac_compile"
10954 case "(($ac_try" in
10955 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10956 *) ac_try_echo=$ac_try;;
10958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10959 (eval "$ac_compile") 2>conftest.er1
10961 grep -v '^ *+' conftest.er1 >conftest.err
10963 cat conftest.err >&5
10964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10965 (exit $ac_status); } && {
10966 test -z "$ac_c_werror_flag" ||
10967 test ! -s conftest.err
10968 } && test -s conftest.$ac_objext; then
10971 echo "$as_me: failed program was:" >&5
10972 sed 's/^/| /' conftest.$ac_ext >&5
10977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10978 { echo "$as_me:$LINENO: result: $has_iquote" >&5
10979 echo "${ECHO_T}$has_iquote" >&6; }
10980 if test "x-$has_iquote" = "x-yes" ; then
10981 aros_cflags_iquote=-iquote
10982 aros_cflags_iquote_end=
10984 aros_cflags_iquote=-I
10985 aros_cflags_iquote_end=-I-
10988 if test "x-$use_no_stack_protector" = "x-yes" ; then
10989 aros_kernel_cflags="$aros_kernel_cflags -fno-stack-protector"
10992 #-----------------------------------------------------------------------------
10994 # Check if we can explicitly choose older version of symbol hashing
10996 CFLAGS="save_cflags -Wl,--hash-style=sysv"
10997 CC="$aros_kernel_cc"
10998 { echo "$as_me:$LINENO: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
10999 echo $ECHO_N "checking whether ${CC} accepts -Wl,--hash-style=sysv... $ECHO_C" >&6; }
11000 cat >conftest.$ac_ext <<_ACEOF
11003 cat confdefs.h >>conftest.$ac_ext
11004 cat >>conftest.$ac_ext <<_ACEOF
11005 /* end confdefs.h. */
11015 rm -f conftest.$ac_objext conftest$ac_exeext
11016 if { (ac_try="$ac_link"
11017 case "(($ac_try" in
11018 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11019 *) ac_try_echo
=$ac_try;;
11021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11022 (eval "$ac_link") 2>conftest.er1
11024 grep -v '^ *+' conftest.er1
>conftest.err
11026 cat conftest.err
>&5
11027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11028 (exit $ac_status); } && {
11029 test -z "$ac_c_werror_flag" ||
11030 test ! -s conftest.err
11031 } && test -s conftest
$ac_exeext &&
11032 $as_test_x conftest
$ac_exeext; then
11033 use_hash_style
="yes"
11035 echo "$as_me: failed program was:" >&5
11036 sed 's/^/| /' conftest.
$ac_ext >&5
11038 use_hash_style
="no"
11041 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11042 conftest
$ac_exeext conftest.
$ac_ext
11043 { echo "$as_me:$LINENO: result: $use_hash_style" >&5
11044 echo "${ECHO_T}$use_hash_style" >&6; }
11045 if test "x-$use_hash_style" = "x-yes" ; then
11046 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
11049 CFLAGS
="$save_cflags"
11059 { echo "$as_me:$LINENO: checking for default resolution of WBScreen" >&5
11060 echo $ECHO_N "checking for default resolution of WBScreen... $ECHO_C" >&6; }
11062 # Check whether --with-resolution was given.
11063 if test "${with_resolution+set}" = set; then
11064 withval
=$with_resolution; resolution
=$withval
11069 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
11070 if test "$resolution" = "yes" ; then
11073 if test "$resolution" = "no" ; then
11076 if test "$resolution" != "none" ; then
11077 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
11078 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
11079 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
11081 { echo "$as_me:$LINENO: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
11082 echo "${ECHO_T}$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
11083 aros_cv_default_wbwidth
=$aros_default_wbwidth
11084 aros_cv_default_wbheight
=$aros_default_wbheight
11085 aros_cv_default_wbdepth
=$aros_default_wbdepth
11087 { echo "$as_me:$LINENO: checking if serial debug is enabled" >&5
11088 echo $ECHO_N "checking if serial debug is enabled... $ECHO_C" >&6; }
11090 # Check whether --with-serial-debug was given.
11091 if test "${with_serial_debug+set}" = set; then
11092 withval
=$with_serial_debug; serial_debug
=$withval
11097 if test "$aros_serial_debug" = 0 ; then
11098 serial_debug_forced
=""
11099 if test "$serial_debug" = "yes" ; then
11102 if test "$serial_debug" = "no" ; then
11103 serial_debug
="none"
11106 serial_debug_forced
="(forced)"
11107 serial_debug
=$aros_serial_debug
11109 if test "$serial_debug" != "none" ; then
11110 aros_serial_debug
=$serial_debug
11111 { echo "$as_me:$LINENO: result: $serial_debug_forced on port $serial_debug" >&5
11112 echo "${ECHO_T}$serial_debug_forced on port $serial_debug" >&6; }
11114 { echo "$as_me:$LINENO: result: no" >&5
11115 echo "${ECHO_T}no" >&6; }
11118 { echo "$as_me:$LINENO: checking if palm debug hack is enabled" >&5
11119 echo $ECHO_N "checking if palm debug hack is enabled... $ECHO_C" >&6; }
11120 # Check whether --enable-palm_debug_hack was given.
11121 if test "${enable_palm_debug_hack+set}" = set; then
11122 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
11124 palm_debug_hack
="no"
11127 if test "$palm_debug_hack" = "yes" ; then
11128 aros_palm_debug_hack
="1"
11130 { echo "$as_me:$LINENO: result: $palm_debug_hack" >&5
11131 echo "${ECHO_T}$palm_debug_hack" >&6; }
11134 { echo "$as_me:$LINENO: checking if nesting supervisor support is enabled" >&5
11135 echo $ECHO_N "checking if nesting supervisor support is enabled... $ECHO_C" >&6; }
11136 # Check whether --enable-nesting_supervisor was given.
11137 if test "${enable_nesting_supervisor+set}" = set; then
11138 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
11140 nesting_supervisor
="no"
11143 if test "$nesting_supervisor" = "yes" ; then
11144 aros_nesting_supervisor
="1"
11146 { echo "$as_me:$LINENO: result: $nesting_supervisor" >&5
11147 echo "${ECHO_T}$nesting_supervisor" >&6; }
11150 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
11152 if test "x-$need_dlopen" != "x-no" ; then
11153 { echo "$as_me:$LINENO: checking for dlopen" >&5
11154 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
11155 if test "${ac_cv_func_dlopen+set}" = set; then
11156 echo $ECHO_N "(cached) $ECHO_C" >&6
11158 cat >conftest.
$ac_ext <<_ACEOF
11161 cat confdefs.h
>>conftest.
$ac_ext
11162 cat >>conftest.
$ac_ext <<_ACEOF
11163 /* end confdefs.h. */
11164 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11166 #define dlopen innocuous_dlopen
11168 /* System header to define __stub macros and hopefully few prototypes,
11169 which can conflict with char dlopen (); below.
11170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11171 <limits.h> exists even on freestanding compilers. */
11174 # include <limits.h>
11176 # include <assert.h>
11181 /* Override any GCC internal prototype to avoid an error.
11182 Use char because int might match the return type of a GCC
11183 builtin and then its argument prototype would still apply. */
11188 /* The GNU C library defines this for functions which it implements
11189 to always fail with ENOSYS. Some functions are actually named
11190 something starting with __ and the normal name is an alias. */
11191 #if defined __stub_dlopen || defined __stub___dlopen
11203 rm -f conftest.
$ac_objext conftest
$ac_exeext
11204 if { (ac_try
="$ac_link"
11205 case "(($ac_try" in
11206 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11207 *) ac_try_echo=$ac_try;;
11209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11210 (eval "$ac_link") 2>conftest.er1
11212 grep -v '^ *+' conftest.er1 >conftest.err
11214 cat conftest.err >&5
11215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11216 (exit $ac_status); } && {
11217 test -z "$ac_c_werror_flag" ||
11218 test ! -s conftest.err
11219 } && test -s conftest$ac_exeext &&
11220 $as_test_x conftest$ac_exeext; then
11221 ac_cv_func_dlopen=yes
11223 echo "$as_me: failed program was:" >&5
11224 sed 's/^/| /' conftest.$ac_ext >&5
11226 ac_cv_func_dlopen=no
11229 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11230 conftest$ac_exeext conftest.$ac_ext
11232 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11233 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
11234 if test $ac_cv_func_dlopen = yes; then
11240 if test "x-$have_dl" = "x-no" ; then
11241 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11242 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11243 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11244 echo $ECHO_N "(cached) $ECHO_C" >&6
11246 ac_check_lib_save_LIBS=$LIBS
11248 cat >conftest.$ac_ext <<_ACEOF
11251 cat confdefs.h >>conftest.$ac_ext
11252 cat >>conftest.$ac_ext <<_ACEOF
11253 /* end confdefs.h. */
11255 /* Override any GCC internal prototype to avoid an error.
11256 Use char because int might match the return type of a GCC
11257 builtin and then its argument prototype would still apply. */
11270 rm -f conftest.$ac_objext conftest$ac_exeext
11271 if { (ac_try="$ac_link"
11272 case "(($ac_try" in
11273 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11274 *) ac_try_echo
=$ac_try;;
11276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11277 (eval "$ac_link") 2>conftest.er1
11279 grep -v '^ *+' conftest.er1
>conftest.err
11281 cat conftest.err
>&5
11282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11283 (exit $ac_status); } && {
11284 test -z "$ac_c_werror_flag" ||
11285 test ! -s conftest.err
11286 } && test -s conftest
$ac_exeext &&
11287 $as_test_x conftest
$ac_exeext; then
11288 ac_cv_lib_dl_dlopen
=yes
11290 echo "$as_me: failed program was:" >&5
11291 sed 's/^/| /' conftest.
$ac_ext >&5
11293 ac_cv_lib_dl_dlopen
=no
11296 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11297 conftest
$ac_exeext conftest.
$ac_ext
11298 LIBS
=$ac_check_lib_save_LIBS
11300 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11301 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11302 if test $ac_cv_lib_dl_dlopen = yes; then
11304 aros_host_ldflags
="$aros_host_ldflags -ldl"
11310 if test "x-$have_dl" = "x-no" ; then
11311 { { echo "$as_me:$LINENO: error: dlopen() dynamic linker functions not available" >&5
11312 echo "$as_me: error: dlopen() dynamic linker functions not available" >&2;}
11313 { (exit 1); exit 1; }; }
11318 # Check whether --enable-x11_hidd was given.
11319 if test "${enable_x11_hidd+set}" = set; then
11320 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
11325 case "x-$x11_hidd" in
11326 x-yes|x-no|x-auto
) ;;
11327 *) x11_hidd
="auto" ;;
11332 if test "x-$x11_hidd" != "x-no" ; then
11334 { echo "$as_me:$LINENO: checking for X" >&5
11335 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
11338 # Check whether --with-x was given.
11339 if test "${with_x+set}" = set; then
11343 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11344 if test "x$with_x" = xno
; then
11345 # The user explicitly disabled X.
11348 case $x_includes,$x_libraries in #(
11349 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
11350 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
11351 { (exit 1); exit 1; }; };; #(
11352 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then
11353 echo $ECHO_N "(cached) $ECHO_C" >&6
11355 # One or both of the vars are not set, and there is no cached value.
11356 ac_x_includes
=no ac_x_libraries
=no
11357 rm -f -r conftest.dir
11358 if mkdir conftest.dir
; then
11360 cat >Imakefile
<<'_ACEOF'
11362 @echo incroot='${INCROOT}'
11364 @echo usrlibdir='${USRLIBDIR}'
11366 @echo libdir='${LIBDIR}'
11368 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
11369 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11370 for ac_var
in incroot usrlibdir libdir
; do
11371 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
11373 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11374 for ac_extension
in a so sl dylib la dll
; do
11375 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
11376 test -f "$ac_im_libdir/libX11.$ac_extension"; then
11377 ac_im_usrlibdir
=$ac_im_libdir; break
11380 # Screen out bogus values from the imake configuration. They are
11381 # bogus both because they are the default anyway, and because
11382 # using them would break gcc on systems where it needs fixed includes.
11383 case $ac_im_incroot in
11384 /usr
/include
) ac_x_includes
= ;;
11385 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
11387 case $ac_im_usrlibdir in
11388 /usr
/lib |
/lib
) ;;
11389 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
11393 rm -f -r conftest.dir
11396 # Standard set of common directories for X headers.
11397 # Check X11 before X11Rn because it is often a symlink to the current release.
11409 /usr/local/X11/include
11410 /usr/local/X11R6/include
11411 /usr/local/X11R5/include
11412 /usr/local/X11R4/include
11414 /usr/local/include/X11
11415 /usr/local/include/X11R6
11416 /usr/local/include/X11R5
11417 /usr/local/include/X11R4
11421 /usr/XFree86/include/X11
11425 /usr/unsupported/include
11426 /usr/athena/include
11427 /usr/local/x11r5/include
11428 /usr/lpp/Xamples/include
11430 /usr/openwin/include
11431 /usr/openwin/share/include'
11433 if test "$ac_x_includes" = no
; then
11434 # Guess where to find include files, by looking for Xlib.h.
11435 # First, try using that file with no special directory specified.
11436 cat >conftest.
$ac_ext <<_ACEOF
11439 cat confdefs.h
>>conftest.
$ac_ext
11440 cat >>conftest.
$ac_ext <<_ACEOF
11441 /* end confdefs.h. */
11442 #include <X11/Xlib.h>
11444 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11445 case "(($ac_try" in
11446 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11447 *) ac_try_echo=$ac_try;;
11449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11450 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11452 grep -v '^ *+' conftest.er1 >conftest.err
11454 cat conftest.err >&5
11455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11456 (exit $ac_status); } >/dev/null && {
11457 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11458 test ! -s conftest.err
11460 # We can compile using X headers with no special include directory.
11463 echo "$as_me: failed program was:" >&5
11464 sed 's/^/| /' conftest.$ac_ext >&5
11466 for ac_dir in $ac_x_header_dirs; do
11467 if test -r "$ac_dir/X11/Xlib.h"; then
11468 ac_x_includes=$ac_dir
11474 rm -f conftest.err conftest.$ac_ext
11475 fi # $ac_x_includes = no
11477 if test "$ac_x_libraries" = no; then
11478 # Check for the libraries.
11479 # See if we find them without any special options.
11480 # Don't add to $LIBS permanently.
11483 cat >conftest.$ac_ext <<_ACEOF
11486 cat confdefs.h >>conftest.$ac_ext
11487 cat >>conftest.$ac_ext <<_ACEOF
11488 /* end confdefs.h. */
11489 #include <X11/Xlib.h>
11498 rm -f conftest.$ac_objext conftest$ac_exeext
11499 if { (ac_try="$ac_link"
11500 case "(($ac_try" in
11501 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11502 *) ac_try_echo
=$ac_try;;
11504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11505 (eval "$ac_link") 2>conftest.er1
11507 grep -v '^ *+' conftest.er1
>conftest.err
11509 cat conftest.err
>&5
11510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11511 (exit $ac_status); } && {
11512 test -z "$ac_c_werror_flag" ||
11513 test ! -s conftest.err
11514 } && test -s conftest
$ac_exeext &&
11515 $as_test_x conftest
$ac_exeext; then
11517 # We can link X programs with no special library path.
11520 echo "$as_me: failed program was:" >&5
11521 sed 's/^/| /' conftest.
$ac_ext >&5
11524 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
11526 # Don't even attempt the hair of trying to link an X program!
11527 for ac_extension
in a so sl dylib la dll
; do
11528 if test -r "$ac_dir/libX11.$ac_extension"; then
11529 ac_x_libraries
=$ac_dir
11536 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11537 conftest
$ac_exeext conftest.
$ac_ext
11538 fi # $ac_x_libraries = no
11540 case $ac_x_includes,$ac_x_libraries in #(
11541 no
,* |
*,no |
*\'*)
11542 # Didn't find X, or a directory has "'" in its name.
11543 ac_cv_have_x
="have_x=no";; #(
11545 # Record where we found X for the cache.
11546 ac_cv_have_x
="have_x=yes\
11547 ac_x_includes='$ac_x_includes'\
11548 ac_x_libraries='$ac_x_libraries'"
11554 eval "$ac_cv_have_x"
11557 if test "$have_x" != yes; then
11558 { echo "$as_me:$LINENO: result: $have_x" >&5
11559 echo "${ECHO_T}$have_x" >&6; }
11562 # If each of the values was on the command line, it overrides each guess.
11563 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
11564 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
11565 # Update the cache value to reflect the command line values.
11566 ac_cv_have_x
="have_x=yes\
11567 ac_x_includes='$x_includes'\
11568 ac_x_libraries='$x_libraries'"
11569 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
11570 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
11575 for path
in $x_libraries
11577 x_cflags
="$x_cflags -L$path"
11580 for path
in $x_includes
11582 x_cflags
="$x_cflags -I$path"
11585 if test "x-$no_x" = "x-yes" ; then
11587 if test "x-$x11_hidd" != "x-auto" ; then
11588 { { echo "$as_me:$LINENO: error: X11 libs/headers not found, cannot build X11 hidd as requested" >&5
11589 echo "$as_me: error: X11 libs/headers not found, cannot build X11 hidd as requested" >&2;}
11590 { (exit 1); exit 1; }; }
11594 x11_hidd_target
=kernel-x11gfx-kobj
11597 # Check whether --enable-x11_shm was given.
11598 if test "${enable_x11_shm+set}" = set; then
11599 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
11601 x11_hidd_shm
="auto"
11604 case "x-$x11_hidd_shm" in
11605 x-yes|x-no|x-auto
) ;;
11606 *) x11_hidd_shm
="auto" ;;
11611 if test "x-$x11_hidd_shm" != "x-no" ; then
11614 for ac_header
in sys
/ipc.h
11616 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11617 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11618 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11619 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11620 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11621 echo $ECHO_N "(cached) $ECHO_C" >&6
11623 ac_res
=`eval echo '${'$as_ac_Header'}'`
11624 { echo "$as_me:$LINENO: result: $ac_res" >&5
11625 echo "${ECHO_T}$ac_res" >&6; }
11627 # Is the header compilable?
11628 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11629 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11630 cat >conftest.
$ac_ext <<_ACEOF
11633 cat confdefs.h
>>conftest.
$ac_ext
11634 cat >>conftest.
$ac_ext <<_ACEOF
11635 /* end confdefs.h. */
11636 $ac_includes_default
11637 #include <$ac_header>
11639 rm -f conftest.
$ac_objext
11640 if { (ac_try
="$ac_compile"
11641 case "(($ac_try" in
11642 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11643 *) ac_try_echo=$ac_try;;
11645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11646 (eval "$ac_compile") 2>conftest.er1
11648 grep -v '^ *+' conftest.er1 >conftest.err
11650 cat conftest.err >&5
11651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11652 (exit $ac_status); } && {
11653 test -z "$ac_c_werror_flag" ||
11654 test ! -s conftest.err
11655 } && test -s conftest.$ac_objext; then
11656 ac_header_compiler=yes
11658 echo "$as_me: failed program was:" >&5
11659 sed 's/^/| /' conftest.$ac_ext >&5
11661 ac_header_compiler=no
11664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11665 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11666 echo "${ECHO_T}$ac_header_compiler" >&6; }
11668 # Is the header present?
11669 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11670 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11671 cat >conftest.$ac_ext <<_ACEOF
11674 cat confdefs.h >>conftest.$ac_ext
11675 cat >>conftest.$ac_ext <<_ACEOF
11676 /* end confdefs.h. */
11677 #include <$ac_header>
11679 if { (ac_try="$ac_cpp conftest.$ac_ext"
11680 case "(($ac_try" in
11681 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11682 *) ac_try_echo
=$ac_try;;
11684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11685 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11687 grep -v '^ *+' conftest.er1
>conftest.err
11689 cat conftest.err
>&5
11690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11691 (exit $ac_status); } >/dev
/null
&& {
11692 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11693 test ! -s conftest.err
11695 ac_header_preproc
=yes
11697 echo "$as_me: failed program was:" >&5
11698 sed 's/^/| /' conftest.
$ac_ext >&5
11700 ac_header_preproc
=no
11703 rm -f conftest.err conftest.
$ac_ext
11704 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11705 echo "${ECHO_T}$ac_header_preproc" >&6; }
11707 # So? What about this header?
11708 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11710 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11711 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11712 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11713 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11714 ac_header_preproc
=yes
11717 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11718 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11719 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11720 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11721 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11722 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11723 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11724 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11725 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11726 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11727 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11728 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11732 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11734 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11735 echo $ECHO_N "(cached) $ECHO_C" >&6
11737 eval "$as_ac_Header=\$ac_header_preproc"
11739 ac_res
=`eval echo '${'$as_ac_Header'}'`
11740 { echo "$as_me:$LINENO: result: $ac_res" >&5
11741 echo "${ECHO_T}$ac_res" >&6; }
11744 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11745 cat >>confdefs.h
<<_ACEOF
11746 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11754 for ac_header
in sys
/shm.h
11756 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11757 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11758 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11759 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11760 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11761 echo $ECHO_N "(cached) $ECHO_C" >&6
11763 ac_res
=`eval echo '${'$as_ac_Header'}'`
11764 { echo "$as_me:$LINENO: result: $ac_res" >&5
11765 echo "${ECHO_T}$ac_res" >&6; }
11767 # Is the header compilable?
11768 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11769 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11770 cat >conftest.
$ac_ext <<_ACEOF
11773 cat confdefs.h
>>conftest.
$ac_ext
11774 cat >>conftest.
$ac_ext <<_ACEOF
11775 /* end confdefs.h. */
11776 $ac_includes_default
11777 #include <$ac_header>
11779 rm -f conftest.
$ac_objext
11780 if { (ac_try
="$ac_compile"
11781 case "(($ac_try" in
11782 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11783 *) ac_try_echo=$ac_try;;
11785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11786 (eval "$ac_compile") 2>conftest.er1
11788 grep -v '^ *+' conftest.er1 >conftest.err
11790 cat conftest.err >&5
11791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11792 (exit $ac_status); } && {
11793 test -z "$ac_c_werror_flag" ||
11794 test ! -s conftest.err
11795 } && test -s conftest.$ac_objext; then
11796 ac_header_compiler=yes
11798 echo "$as_me: failed program was:" >&5
11799 sed 's/^/| /' conftest.$ac_ext >&5
11801 ac_header_compiler=no
11804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11805 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11806 echo "${ECHO_T}$ac_header_compiler" >&6; }
11808 # Is the header present?
11809 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11810 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11811 cat >conftest.$ac_ext <<_ACEOF
11814 cat confdefs.h >>conftest.$ac_ext
11815 cat >>conftest.$ac_ext <<_ACEOF
11816 /* end confdefs.h. */
11817 #include <$ac_header>
11819 if { (ac_try="$ac_cpp conftest.$ac_ext"
11820 case "(($ac_try" in
11821 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11822 *) ac_try_echo
=$ac_try;;
11824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11825 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11827 grep -v '^ *+' conftest.er1
>conftest.err
11829 cat conftest.err
>&5
11830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11831 (exit $ac_status); } >/dev
/null
&& {
11832 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11833 test ! -s conftest.err
11835 ac_header_preproc
=yes
11837 echo "$as_me: failed program was:" >&5
11838 sed 's/^/| /' conftest.
$ac_ext >&5
11840 ac_header_preproc
=no
11843 rm -f conftest.err conftest.
$ac_ext
11844 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11845 echo "${ECHO_T}$ac_header_preproc" >&6; }
11847 # So? What about this header?
11848 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11850 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11851 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11852 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11853 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11854 ac_header_preproc
=yes
11857 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11858 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11859 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11860 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11861 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11862 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11863 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11864 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11865 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11866 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11867 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11868 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11872 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11873 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11874 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11875 echo $ECHO_N "(cached) $ECHO_C" >&6
11877 eval "$as_ac_Header=\$ac_header_preproc"
11879 ac_res
=`eval echo '${'$as_ac_Header'}'`
11880 { echo "$as_me:$LINENO: result: $ac_res" >&5
11881 echo "${ECHO_T}$ac_res" >&6; }
11884 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11885 cat >>confdefs.h
<<_ACEOF
11886 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11894 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
11896 save_cflags
="$CFLAGS"
11897 CFLAGS
="$CFLAGS $x_cflags"
11898 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
11899 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
11900 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
11901 echo $ECHO_N "(cached) $ECHO_C" >&6
11903 ac_check_lib_save_LIBS
=$LIBS
11904 LIBS
="-lXext $LIBS"
11905 cat >conftest.
$ac_ext <<_ACEOF
11908 cat confdefs.h
>>conftest.
$ac_ext
11909 cat >>conftest.
$ac_ext <<_ACEOF
11910 /* end confdefs.h. */
11912 /* Override any GCC internal prototype to avoid an error.
11913 Use char because int might match the return type of a GCC
11914 builtin and then its argument prototype would still apply. */
11918 char XShmQueryExtension ();
11922 return XShmQueryExtension ();
11927 rm -f conftest.
$ac_objext conftest
$ac_exeext
11928 if { (ac_try
="$ac_link"
11929 case "(($ac_try" in
11930 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11931 *) ac_try_echo=$ac_try;;
11933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11934 (eval "$ac_link") 2>conftest.er1
11936 grep -v '^ *+' conftest.er1 >conftest.err
11938 cat conftest.err >&5
11939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11940 (exit $ac_status); } && {
11941 test -z "$ac_c_werror_flag" ||
11942 test ! -s conftest.err
11943 } && test -s conftest$ac_exeext &&
11944 $as_test_x conftest$ac_exeext; then
11945 ac_cv_lib_Xext_XShmQueryExtension=yes
11947 echo "$as_me: failed program was:" >&5
11948 sed 's/^/| /' conftest.$ac_ext >&5
11950 ac_cv_lib_Xext_XShmQueryExtension=no
11953 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11954 conftest$ac_exeext conftest.$ac_ext
11955 LIBS=$ac_check_lib_save_LIBS
11957 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11958 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11959 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
11963 CFLAGS="$save_cflags"
11967 if test "x-$have_xshm" = "x-yes" ; then
11968 DO_XSHM_SUPPORT="1"
11969 elif test "x-$x11_hidd_shm" = "x-yes" ; then
11970 { { echo "$as_me:$LINENO: error: X11 has no support for shared memory, cannot enable it as requested" >&5
11971 echo "$as_me: error: X11 has no support for shared memory, cannot enable it as requested" >&2;}
11972 { (exit 1); exit 1; }; }
11974 DO_XSHM_SUPPORT="0"
11978 # Check whether --enable-x11_vidmode was given.
11979 if test "${enable_x11_vidmode+set}" = set; then
11980 enableval=$enable_x11_vidmode; x11_hidd_vidmode="$enableval"
11982 x11_hidd_vidmode="auto"
11985 case "x-$x11_hidd_vidmode" in
11986 x-yes|x-no|x-auto) ;;
11987 *) x11_hidd_vidmode="auto" ;;
11992 if test "x-$x11_hidd_vidmode" != "x-no" ; then
11994 save_cflags="$CFLAGS"
11995 CFLAGS="$CFLAGS $x_cflags"
11996 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
11997 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
11998 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
11999 echo $ECHO_N "(cached) $ECHO_C" >&6
12001 ac_check_lib_save_LIBS=$LIBS
12002 LIBS="-lXxf86vm $LIBS"
12003 cat >conftest.$ac_ext <<_ACEOF
12006 cat confdefs.h >>conftest.$ac_ext
12007 cat >>conftest.$ac_ext <<_ACEOF
12008 /* end confdefs.h. */
12010 /* Override any GCC internal prototype to avoid an error.
12011 Use char because int might match the return type of a GCC
12012 builtin and then its argument prototype would still apply. */
12016 char XF86VidModeQueryExtension ();
12020 return XF86VidModeQueryExtension ();
12025 rm -f conftest.$ac_objext conftest$ac_exeext
12026 if { (ac_try="$ac_link"
12027 case "(($ac_try" in
12028 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12029 *) ac_try_echo
=$ac_try;;
12031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12032 (eval "$ac_link") 2>conftest.er1
12034 grep -v '^ *+' conftest.er1
>conftest.err
12036 cat conftest.err
>&5
12037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12038 (exit $ac_status); } && {
12039 test -z "$ac_c_werror_flag" ||
12040 test ! -s conftest.err
12041 } && test -s conftest
$ac_exeext &&
12042 $as_test_x conftest
$ac_exeext; then
12043 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
12045 echo "$as_me: failed program was:" >&5
12046 sed 's/^/| /' conftest.
$ac_ext >&5
12048 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
12051 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12052 conftest
$ac_exeext conftest.
$ac_ext
12053 LIBS
=$ac_check_lib_save_LIBS
12055 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
12056 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
12057 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
12061 CFLAGS
="$save_cflags"
12064 if test "x-$have_vidmode" = "x-yes" ; then
12065 DO_VIDMODE_SUPPORT
="1"
12066 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
12067 { { echo "$as_me:$LINENO: error: X11 vidmode extension not available, cannot enable it as requested" >&5
12068 echo "$as_me: error: X11 vidmode extension not available, cannot enable it as requested" >&2;}
12069 { (exit 1); exit 1; }; }
12071 DO_VIDMODE_SUPPORT
="0"
12075 aros_host_x11_includes
=$x_includes
12076 aros_host_x11_libdirs
=$x_libraries
12080 # Check whether --enable-sdl_hidd was given.
12081 if test "${enable_sdl_hidd+set}" = set; then
12082 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
12087 case "x-$sdl_hidd" in
12088 x-yes|x-no|x-auto
) ;;
12089 *) sdl_hidd
="auto" ;;
12092 if test "x-$sdl_hidd" != "x-no" ; then
12095 # Check whether --with-sdl-prefix was given.
12096 if test "${with_sdl_prefix+set}" = set; then
12097 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
12103 # Check whether --with-sdl-exec-prefix was given.
12104 if test "${with_sdl_exec_prefix+set}" = set; then
12105 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
12110 # Check whether --enable-sdltest was given.
12111 if test "${enable_sdltest+set}" = set; then
12112 enableval
=$enable_sdltest;
12118 if test x
$sdl_exec_prefix != x
; then
12119 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
12120 if test x
${SDL_CONFIG+set} != xset
; then
12121 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
12124 if test x
$sdl_prefix != x
; then
12125 sdl_args
="$sdl_args --prefix=$sdl_prefix"
12126 if test x
${SDL_CONFIG+set} != xset
; then
12127 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
12131 if test "x$prefix" != xNONE
; then
12132 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
12134 # Extract the first word of "sdl-config", so it can be a program name with args.
12135 set dummy sdl-config
; ac_word
=$2
12136 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12138 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
12139 echo $ECHO_N "(cached) $ECHO_C" >&6
12141 case $SDL_CONFIG in
12143 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
12146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12147 for as_dir
in $PATH
12150 test -z "$as_dir" && as_dir
=.
12151 for ac_exec_ext
in '' $ac_executable_extensions; do
12152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12153 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12161 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
12165 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
12166 if test -n "$SDL_CONFIG"; then
12167 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
12168 echo "${ECHO_T}$SDL_CONFIG" >&6; }
12170 { echo "$as_me:$LINENO: result: no" >&5
12171 echo "${ECHO_T}no" >&6; }
12175 min_sdl_version
=1.2.10
12176 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
12177 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
12179 if test "$SDL_CONFIG" = "no" ; then
12182 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
12183 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
12185 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
12186 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12187 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
12188 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12189 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
12190 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12191 if test "x$enable_sdltest" = "xyes" ; then
12192 ac_save_CFLAGS
="$CFLAGS"
12193 ac_save_CXXFLAGS
="$CXXFLAGS"
12194 ac_save_LIBS
="$LIBS"
12195 CFLAGS
="$CFLAGS $SDL_CFLAGS"
12196 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
12197 LIBS
="$LIBS $SDL_LIBS"
12199 if test "$cross_compiling" = yes; then
12200 echo $ac_n "cross compiling; assumed OK... $ac_c"
12202 cat >conftest.
$ac_ext <<_ACEOF
12205 cat confdefs.h
>>conftest.
$ac_ext
12206 cat >>conftest.
$ac_ext <<_ACEOF
12207 /* end confdefs.h. */
12210 #include <stdlib.h>
12211 #include <string.h>
12215 my_strdup (char *str)
12221 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
12222 strcpy (new_str, str);
12230 int main (int argc, char *argv[])
12232 int major, minor, micro;
12235 /* This hangs on some systems (?)
12236 system ("touch conf.sdltest");
12238 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
12240 /* HP/UX 9 (%@#!) writes to sscanf strings */
12241 tmp_version = my_strdup("$min_sdl_version");
12242 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12243 printf("%s, bad version string\n", "$min_sdl_version");
12247 if (($sdl_major_version > major) ||
12248 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
12249 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
12255 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
12256 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
12257 printf("*** best to upgrade to the required version.\n");
12258 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
12259 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
12260 printf("*** config.cache before re-running configure\n");
12267 rm -f conftest
$ac_exeext
12268 if { (ac_try
="$ac_link"
12269 case "(($ac_try" in
12270 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12271 *) ac_try_echo=$ac_try;;
12273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12274 (eval "$ac_link") 2>&5
12276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12277 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12278 { (case "(($ac_try" in
12279 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12280 *) ac_try_echo
=$ac_try;;
12282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12283 (eval "$ac_try") 2>&5
12285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12286 (exit $ac_status); }; }; then
12289 echo "$as_me: program exited with status $ac_status" >&5
12290 echo "$as_me: failed program was:" >&5
12291 sed 's/^/| /' conftest.
$ac_ext >&5
12293 ( exit $ac_status )
12296 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12300 CFLAGS
="$ac_save_CFLAGS"
12301 CXXFLAGS
="$ac_save_CXXFLAGS"
12302 LIBS
="$ac_save_LIBS"
12305 if test "x$no_sdl" = x
; then
12306 { echo "$as_me:$LINENO: result: yes" >&5
12307 echo "${ECHO_T}yes" >&6; }
12310 { echo "$as_me:$LINENO: result: no" >&5
12311 echo "${ECHO_T}no" >&6; }
12312 if test "$SDL_CONFIG" = "no" ; then
12313 echo "*** The sdl-config script installed by SDL could not be found"
12314 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
12315 echo "*** your path, or set the SDL_CONFIG environment variable to the"
12316 echo "*** full path to sdl-config."
12318 if test -f conf.sdltest
; then
12321 echo "*** Could not run SDL test program, checking why..."
12322 CFLAGS
="$CFLAGS $SDL_CFLAGS"
12323 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
12324 LIBS
="$LIBS $SDL_LIBS"
12325 cat >conftest.
$ac_ext <<_ACEOF
12328 cat confdefs.h
>>conftest.
$ac_ext
12329 cat >>conftest.
$ac_ext <<_ACEOF
12330 /* end confdefs.h. */
12335 int main(int argc, char *argv[])
12338 #define main K_and_R_C_main
12348 rm -f conftest.
$ac_objext conftest
$ac_exeext
12349 if { (ac_try
="$ac_link"
12350 case "(($ac_try" in
12351 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12352 *) ac_try_echo=$ac_try;;
12354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12355 (eval "$ac_link") 2>conftest.er1
12357 grep -v '^ *+' conftest.er1 >conftest.err
12359 cat conftest.err >&5
12360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12361 (exit $ac_status); } && {
12362 test -z "$ac_c_werror_flag" ||
12363 test ! -s conftest.err
12364 } && test -s conftest$ac_exeext &&
12365 $as_test_x conftest$ac_exeext; then
12366 echo "*** The test program compiled, but did not run. This usually means"
12367 echo "*** that the run-time linker is not finding SDL or finding the wrong"
12368 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
12369 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12370 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12371 echo "*** is required on your system"
12373 echo "*** If you have an old version installed, it is best to remove it, although"
12374 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12376 echo "$as_me: failed program was:" >&5
12377 sed 's/^/| /' conftest.$ac_ext >&5
12379 echo "*** The test program failed to compile or link. See the file config.log for the"
12380 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
12381 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
12382 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
12385 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12386 conftest$ac_exeext conftest.$ac_ext
12387 CFLAGS="$ac_save_CFLAGS"
12388 CXXFLAGS="$ac_save_CXXFLAGS"
12389 LIBS="$ac_save_LIBS"
12401 if test "x-$have_sdl" != "x-yes" ; then
12403 if test "x-$sdl_hidd" != "x-auto" ; then
12404 { { echo "$as_me:$LINENO: error: SDL libs/headers not found, cannot build SDL hidd as requested" >&5
12405 echo "$as_me: error: SDL libs/headers not found, cannot build SDL hidd as requested" >&2;}
12406 { (exit 1); exit 1; }; }
12410 sdl_hidd_target=kernel-hidd-sdl
12411 aros_host_sdl_cflags=SDL_CFLAGS
12412 aros_host_sdl_libs=SDL_LIBS
12419 { echo "$as_me:$LINENO: checking if building of dbus.library is enabled" >&5
12420 echo $ECHO_N "checking if building of dbus.library is enabled... $ECHO_C" >&6; }
12421 # Check whether --enable-dbus was given.
12422 if test "${enable_dbus+set}" = set; then
12423 enableval=$enable_dbus; dbus="yes"
12428 if test "$dbus" = "yes" ; then
12430 DBUS_CFLAGS=`pkg-config
--cflags dbus-1
`
12431 DBUS_LIBFLAGS=`pkg-config
--libs dbus-1
`
12432 KERNEL_DBUS_KOBJ=kernel-dbus-kobj
12433 KERNEL_DBUS_INCLUDES=kernel-dbus-includes
12437 { echo "$as_me:$LINENO: result: $dbus" >&5
12438 echo "${ECHO_T}$dbus" >&6; }
12538 # Native version related
12541 # Palm native version related
12544 # Unix/Hosted version related
12563 # Collect-aros stuff: "-ius" to ignore undefined symbols
12566 # C compiler related
12569 case "$aros_flavour" in
12570 emulation) aros_flavour_uc="AROS_FLAVOUR_EMULATION"
12571 aros_flavour="emulation" ;;
12572 emulcompat) aros_flavour_uc="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
12573 aros_flavour="emulation" ;;
12574 standalone) aros_flavour_uc="AROS_FLAVOUR_STANDALONE"
12575 aros_flavour="standalone";;
12576 native) aros_flavour_uc="AROS_FLAVOUR_NATIVE"
12577 aros_flavour="native" ;;
12578 nativecompat) aros_flavour_uc="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
12579 aros_flavour="native" ;;
12580 linklib) aros_flavour_uc="AROS_FLAVOUR_LINKLIB"
12581 aros_flavour="linklib" ;;
12582 palmnative) aros_flavour_uc="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
12583 aros_flavour="palmnative" ;;
12584 mac68knative) aros_flavour_uc="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
12585 aros_flavour="mac68knative" ;;
12586 ppcnative) aros_flavour_uc="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
12587 aros_flavour="ppcnative" ;;
12590 if test ! -d ${aros_inc_dir} ; then
12591 ${MKDIR} ${aros_inc_dir}
12593 if test ! -d ${aros_geninc_dir} ; then
12594 ${MKDIR} ${aros_geninc_dir}
12596 if test ! -d ${aros_hostcfg_dir} ; then
12597 ${MKDIR} ${aros_hostcfg_dir}
12599 if test ! -d ${aros_targetcfg_dir} ; then
12600 ${MKDIR} ${aros_targetcfg_dir}
12602 if test ! -d ${aros_tools_dir} ; then
12603 ${MKDIR} ${aros_tools_dir}
12605 if test ! -d ${aros_scripts_dir} ; then
12606 ${MKDIR} ${aros_scripts_dir}
12609 ac_config_headers="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
12612 ac_config_commands="$ac_config_commands compiler_executable"
12614 ac_config_commands="$ac_config_commands genshared_executable"
12616 ac_config_commands="$ac_config_commands genmf_executable"
12619 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"
12622 cat >confcache <<\_ACEOF
12623 # This file is a shell script that caches the results of configure
12624 # tests run on this system so they can be shared between configure
12625 # scripts and configure runs, see configure's option --config-cache.
12626 # It is not useful on other systems. If it contains results you don't
12627 # want to keep, you may remove or edit it.
12629 # config.status only pays attention to the cache file if you give it
12630 # the --recheck option to rerun configure.
12632 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
12633 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12634 # following values.
12638 # The following way of writing the cache mishandles newlines in values,
12639 # but we know of no workaround that is simple, portable, and efficient.
12640 # So, we kill variables containing newlines.
12641 # Ultrix sh set writes to stderr and can't be redirected directly,
12642 # and sets the high bit in the cache file unless we assign to the vars.
12644 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12645 eval ac_val
=\$
$ac_var
12649 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12650 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12653 _ | IFS | as_nl
) ;; #(
12654 *) $as_unset $ac_var ;;
12660 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12661 *${as_nl}ac_space
=\
*)
12662 # `set' does not quote correctly, so add quotes (double-quote
12663 # substitution turns \\\\ into \\, and sed turns \\ into \).
12666 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12669 # `set' quotes correctly as required by POSIX, so do not add quotes.
12670 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12679 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12681 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12683 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12684 if test -w "$cache_file"; then
12685 test "x$cache_file" != "x/dev/null" &&
12686 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12687 echo "$as_me: updating cache $cache_file" >&6;}
12688 cat confcache
>$cache_file
12690 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12691 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12696 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12697 # Let make expand exec_prefix.
12698 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12700 DEFS
=-DHAVE_CONFIG_H
12704 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12705 # 1. Remove the extension, and $U if already installed.
12706 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12707 ac_i
=`echo "$ac_i" | sed "$ac_script"`
12708 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12709 # will be set to the directory where LIBOBJS objects are built.
12710 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12711 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
12713 LIBOBJS
=$ac_libobjs
12715 LTLIBOBJS
=$ac_ltlibobjs
12719 : ${CONFIG_STATUS=./config.status}
12720 ac_clean_files_save
=$ac_clean_files
12721 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12722 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12723 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12724 cat >$CONFIG_STATUS <<_ACEOF
12726 # Generated by $as_me.
12727 # Run this file to recreate the current configuration.
12728 # Compiler output produced by configure, useful for debugging
12729 # configure, is in config.log if it exists.
12732 ac_cs_recheck=false
12734 SHELL=\${CONFIG_SHELL-$SHELL}
12737 cat >>$CONFIG_STATUS <<\_ACEOF
12738 ## --------------------- ##
12739 ## M4sh Initialization. ##
12740 ## --------------------- ##
12742 # Be more Bourne compatible
12743 DUALCASE
=1; export DUALCASE
# for MKS sh
12744 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
12747 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12748 # is contrary to our usage. Disable this feature.
12749 alias -g '${1+"$@"}'='"$@"'
12750 setopt NO_GLOB_SUBST
12752 case `(set -o) 2>/dev/null` in
12753 *posix
*) set -o posix
;;
12762 # Avoid depending upon Character Ranges.
12763 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12764 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12765 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12766 as_cr_digits
='0123456789'
12767 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12769 # The user is always right.
12770 if test "${PATH_SEPARATOR+set}" != set; then
12771 echo "#! /bin/sh" >conf$$.sh
12772 echo "exit 0" >>conf$$.sh
12774 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12782 # Support unset when possible.
12783 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
12791 # We need space, tab and new line, in precisely that order. Quoting is
12792 # there to prevent editors from complaining about space-tab.
12793 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12794 # splitting by setting IFS to empty value.)
12799 # Find who we are. Look in the path if we contain no directory separator.
12801 *[\\/]* ) as_myself
=$0 ;;
12802 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12803 for as_dir
in $PATH
12806 test -z "$as_dir" && as_dir
=.
12807 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
12813 # We did not find ourselves, most probably we were run as `sh COMMAND'
12814 # in which case we are not to be found in the path.
12815 if test "x$as_myself" = x
; then
12818 if test ! -f "$as_myself"; then
12819 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12820 { (exit 1); exit 1; }
12823 # Work around bugs in pre-3.0 UWIN ksh.
12824 for as_var
in ENV MAIL MAILPATH
12825 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
12833 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12834 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12835 LC_TELEPHONE LC_TIME
12837 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12838 eval $as_var=C
; export $as_var
12840 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
12844 # Required to use basename.
12845 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12846 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12852 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12853 as_basename
=basename
12859 # Name of the executable.
12860 as_me
=`$as_basename -- "$0" ||
12861 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12862 X"$0" : 'X\(//\)$' \| \
12863 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12865 sed '/^.*\/\([^/][^/]*\)\/*$/{
12884 as_lineno_1
=$LINENO
12885 as_lineno_2
=$LINENO
12886 test "x$as_lineno_1" != "x$as_lineno_2" &&
12887 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
12889 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12890 # uniformly replaced by the line number. The first 'sed' inserts a
12891 # line-number line after each line using $LINENO; the second 'sed'
12892 # does the real work. The second script uses 'N' to pair each
12893 # line-number line with the line containing $LINENO, and appends
12894 # trailing '-' during substitution so that $LINENO is not a special
12895 # case at line end.
12896 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12897 # scripts with optimization help from Paolo Bonzini. Blame Lee
12898 # E. McMahon (1931-1989) for sed's syntax. :-)
12910 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
12913 ' >$as_me.lineno
&&
12914 chmod +x
"$as_me.lineno" ||
12915 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
12916 { (exit 1); exit 1; }; }
12918 # Don't try to exec as it changes $[0], causing all sort of problems
12919 # (the dirname of $[0] is not the place where we might find the
12920 # original and so on. Autoconf is especially sensitive to this).
12921 .
"./$as_me.lineno"
12922 # Exit status is that of the last command.
12927 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12933 ECHO_C
= ECHO_N
= ECHO_T
=
12934 case `echo -n x` in
12936 case `echo 'x\c'` in
12937 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12944 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12945 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12951 rm -f conf$$ conf$$.exe conf$$.
file
12952 if test -d conf$$.dir
; then
12953 rm -f conf$$.dir
/conf$$.
file
12959 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12961 # ... but there are two gotchas:
12962 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12963 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12964 # In both cases, we have to default to `cp -p'.
12965 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12967 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12972 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12973 rmdir conf$$.dir
2>/dev
/null
12975 if mkdir
-p .
2>/dev
/null
; then
12978 test -d .
/-p && rmdir .
/-p
12982 if test -x / >/dev
/null
2>&1; then
12983 as_test_x
='test -x'
12985 if ls -dL / >/dev
/null
2>&1; then
12992 if test -d "$1"; then
12998 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
12999 ???[sx]*):;;*)false;;esac;fi
13003 as_executable_p
=$as_test_x
13005 # Sed expression to map a string onto a valid CPP name.
13006 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13008 # Sed expression to map a string onto a valid variable name.
13009 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13014 # Save the log message, to keep $[0] and so on meaningful, and to
13015 # report actual input values of CONFIG_FILES etc. instead of their
13016 # values after options handling.
13018 This file was extended by $as_me, which was
13019 generated by GNU Autoconf 2.61. Invocation command line was
13021 CONFIG_FILES = $CONFIG_FILES
13022 CONFIG_HEADERS = $CONFIG_HEADERS
13023 CONFIG_LINKS = $CONFIG_LINKS
13024 CONFIG_COMMANDS = $CONFIG_COMMANDS
13027 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13032 cat >>$CONFIG_STATUS <<_ACEOF
13033 # Files that config.status was made for.
13034 config_files="$ac_config_files"
13035 config_headers="$ac_config_headers"
13036 config_commands="$ac_config_commands"
13040 cat >>$CONFIG_STATUS <<\_ACEOF
13042 \`$as_me' instantiates files from templates according to the
13043 current configuration.
13045 Usage: $0 [OPTIONS] [FILE]...
13047 -h, --help print this help, then exit
13048 -V, --version print version number and configuration settings, then exit
13049 -q, --quiet do not print progress messages
13050 -d, --debug don't remove temporary files
13051 --recheck update $as_me by reconfiguring in the same conditions
13052 --file=FILE[:TEMPLATE]
13053 instantiate the configuration file FILE
13054 --header=FILE[:TEMPLATE]
13055 instantiate the configuration header FILE
13057 Configuration files:
13060 Configuration headers:
13063 Configuration commands:
13066 Report bugs to <bug-autoconf@gnu.org>."
13069 cat >>$CONFIG_STATUS <<_ACEOF
13072 configured by $0, generated by GNU Autoconf 2.61,
13073 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13075 Copyright (C) 2006 Free Software Foundation, Inc.
13076 This config.status script is free software; the Free Software Foundation
13077 gives unlimited permission to copy, distribute and modify it."
13083 cat >>$CONFIG_STATUS <<\_ACEOF
13084 # If no file are specified by the user, then we need to provide default
13085 # value. By we need to know if files were specified by the user.
13091 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13092 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13103 # Handling of the options.
13104 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13106 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13107 echo "$ac_cs_version"; exit ;;
13108 --debug |
--debu |
--deb |
--de |
--d |
-d )
13110 --file |
--fil |
--fi |
--f )
13112 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
13113 ac_need_defaults
=false
;;
13114 --header |
--heade |
--head |
--hea )
13116 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
13117 ac_need_defaults
=false
;;
13119 # Conflict between --help and --header
13120 { echo "$as_me: error: ambiguous option: $1
13121 Try \`$0 --help' for more information." >&2
13122 { (exit 1); exit 1; }; };;
13123 --help |
--hel |
-h )
13124 echo "$ac_cs_usage"; exit ;;
13125 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13126 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13129 # This is an error.
13130 -*) { echo "$as_me: error: unrecognized option: $1
13131 Try \`$0 --help' for more information." >&2
13132 { (exit 1); exit 1; }; } ;;
13134 *) ac_config_targets
="$ac_config_targets $1"
13135 ac_need_defaults
=false
;;
13141 ac_configure_extra_args
=
13143 if $ac_cs_silent; then
13145 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13149 cat >>$CONFIG_STATUS <<_ACEOF
13150 if \$ac_cs_recheck; then
13151 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13152 CONFIG_SHELL=$SHELL
13153 export CONFIG_SHELL
13154 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13158 cat >>$CONFIG_STATUS <<\_ACEOF
13162 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13163 ## Running $as_me. ##
13169 cat >>$CONFIG_STATUS <<_ACEOF
13174 aros_host_exe_suffix=${aros_host_exe_suffix}
13175 aros_tools_dir=${aros_tools_dir}
13176 aros_target_cpu=${aros_target_cpu}
13177 aros_target_arch=${aros_target_arch}
13178 aros_target_suffix=${aros_target_suffix}
13179 aros_target_nm_ln=${aros_target_nm_ln}
13180 aros_target_as_ln=${aros_target_as_ln}
13181 aros_target_ar_ln=${aros_target_ar_ln}
13182 aros_target_ranlib_ln=${aros_target_ranlib_ln}
13183 aros_target_objdump_ln=${aros_target_objdump_ln}
13184 aros_target_objcopy_ln=${aros_target_objcopy_ln}
13185 aros_target_strip_ln=${aros_target_strip_ln}
13188 aros_scripts_dir=${aros_scripts_dir}
13190 aros_tools_dir=${aros_tools_dir}
13195 cat >>$CONFIG_STATUS <<\_ACEOF
13197 # Handling of arguments.
13198 for ac_config_target
in $ac_config_targets
13200 case $ac_config_target in
13201 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
13202 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
13203 "genshared_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genshared_executable" ;;
13204 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
13205 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13206 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
13207 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
13208 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
13209 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
13210 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
13211 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
13212 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
13213 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
13214 "${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" ;;
13215 "${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" ;;
13216 "${aros_scripts_dir}/genshared") CONFIG_FILES
="$CONFIG_FILES ${aros_scripts_dir}/genshared:compiler/c_lib/source/lib_source/genshared.in" ;;
13217 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
13218 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
13220 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13221 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13222 { (exit 1); exit 1; }; };;
13227 # If the user did not use the arguments to specify the items to instantiate,
13228 # then the envvar interface is used. Set only those that are not.
13229 # We use the long form for the default assignment because of an extremely
13230 # bizarre bug on SunOS 4.1.3.
13231 if $ac_need_defaults; then
13232 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13233 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13234 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13237 # Have a temporary directory for convenience. Make it in the build tree
13238 # simply because there is no reason against having it here, and in addition,
13239 # creating and moving files from /tmp can sometimes cause problems.
13240 # Hook for its removal unless debugging.
13241 # Note that there is a small window in which the directory will not be cleaned:
13242 # after its creation but before its name has been assigned to `$tmp'.
13246 trap 'exit_status=$?
13247 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13249 trap '{ (exit 1); exit 1; }' 1 2 13 15
13251 # Create a (secure) tmp directory for tmp files.
13254 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13255 test -n "$tmp" && test -d "$tmp"
13258 tmp
=.
/conf$$
-$RANDOM
13259 (umask 077 && mkdir
"$tmp")
13262 echo "$me: cannot create a temporary directory in ." >&2
13263 { (exit 1); exit 1; }
13267 # Set up the sed scripts for CONFIG_FILES section.
13270 # No need to generate the scripts if there are no CONFIG_FILES.
13271 # This happens for instance when ./config.status config.h
13272 if test -n "$CONFIG_FILES"; then
13279 for ac_last_try
in false false false false false
:; do
13280 cat >conf$
$subs.
sed <<_ACEOF
13281 SHELL!$SHELL$ac_delim
13282 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
13283 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
13284 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
13285 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
13286 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
13287 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
13288 exec_prefix!$exec_prefix$ac_delim
13289 prefix!$prefix$ac_delim
13290 program_transform_name!$program_transform_name$ac_delim
13291 bindir!$bindir$ac_delim
13292 sbindir!$sbindir$ac_delim
13293 libexecdir!$libexecdir$ac_delim
13294 datarootdir!$datarootdir$ac_delim
13295 datadir!$datadir$ac_delim
13296 sysconfdir!$sysconfdir$ac_delim
13297 sharedstatedir!$sharedstatedir$ac_delim
13298 localstatedir!$localstatedir$ac_delim
13299 includedir!$includedir$ac_delim
13300 oldincludedir!$oldincludedir$ac_delim
13301 docdir!$docdir$ac_delim
13302 infodir!$infodir$ac_delim
13303 htmldir!$htmldir$ac_delim
13304 dvidir!$dvidir$ac_delim
13305 pdfdir!$pdfdir$ac_delim
13306 psdir!$psdir$ac_delim
13307 libdir!$libdir$ac_delim
13308 localedir!$localedir$ac_delim
13309 mandir!$mandir$ac_delim
13310 DEFS!$DEFS$ac_delim
13311 ECHO_C!$ECHO_C$ac_delim
13312 ECHO_N!$ECHO_N$ac_delim
13313 ECHO_T!$ECHO_T$ac_delim
13314 LIBS!$LIBS$ac_delim
13315 build_alias!$build_alias$ac_delim
13316 host_alias!$host_alias$ac_delim
13317 target_alias!$target_alias$ac_delim
13318 build!$build$ac_delim
13319 build_cpu!$build_cpu$ac_delim
13320 build_vendor!$build_vendor$ac_delim
13321 build_os!$build_os$ac_delim
13322 host!$host$ac_delim
13323 host_cpu!$host_cpu$ac_delim
13324 host_vendor!$host_vendor$ac_delim
13325 host_os!$host_os$ac_delim
13327 CFLAGS!$CFLAGS$ac_delim
13328 LDFLAGS!$LDFLAGS$ac_delim
13329 CPPFLAGS!$CPPFLAGS$ac_delim
13330 ac_ct_CC!$ac_ct_CC$ac_delim
13331 EXEEXT!$EXEEXT$ac_delim
13332 OBJEXT!$OBJEXT$ac_delim
13335 MMAKE!$MMAKE$ac_delim
13336 aros_host_ld!$aros_host_ld$ac_delim
13337 aros_host_aclocal!$aros_host_aclocal$ac_delim
13338 aros_host_autoconf!$aros_host_autoconf$ac_delim
13339 aros_host_autoheader!$aros_host_autoheader$ac_delim
13340 aros_host_automake!$aros_host_automake$ac_delim
13341 aros_host_ar!$aros_host_ar$ac_delim
13342 aros_host_ranlib!$aros_host_ranlib$ac_delim
13343 aros_host_strip!$aros_host_strip$ac_delim
13347 ECHO!$ECHO$ac_delim
13348 MKDIR!$MKDIR$ac_delim
13349 TOUCH!$TOUCH$ac_delim
13350 SORT!$SORT$ac_delim
13351 UNIQ!$UNIQ$ac_delim
13354 BISON!$BISON$ac_delim
13355 FLEX!$FLEX$ac_delim
13356 PNGTOPNM!$PNGTOPNM$ac_delim
13357 PPMTOILBM!$PPMTOILBM$ac_delim
13359 CHMOD!$CHMOD$ac_delim
13360 PYTHON!$PYTHON$ac_delim
13361 PYTHON_VERSION!$PYTHON_VERSION$ac_delim
13362 PYTHON_PREFIX!$PYTHON_PREFIX$ac_delim
13363 PYTHON_EXEC_PREFIX!$PYTHON_EXEC_PREFIX$ac_delim
13364 PYTHON_PLATFORM!$PYTHON_PLATFORM$ac_delim
13365 pythondir!$pythondir$ac_delim
13366 pkgpythondir!$pkgpythondir$ac_delim
13367 pyexecdir!$pyexecdir$ac_delim
13368 pkgpyexecdir!$pkgpyexecdir$ac_delim
13371 TEST!$TEST$ac_delim
13373 GREP!$GREP$ac_delim
13374 EGREP!$EGREP$ac_delim
13375 LIBOBJS!$LIBOBJS$ac_delim
13376 DISTCC!$DISTCC$ac_delim
13377 CCACHE!$CCACHE$ac_delim
13380 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
13382 elif $ac_last_try; then
13383 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13384 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13385 { (exit 1); exit 1; }; }
13387 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
13391 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13392 if test -n "$ac_eof"; then
13393 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
13394 ac_eof
=`expr $ac_eof + 1`
13397 cat >>$CONFIG_STATUS <<_ACEOF
13398 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
13399 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13402 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13403 s/^/s,@/; s/!/@,|#_!!_#|/
13406 s/'"$ac_delim"'$/,g/; t
13408 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13409 ' >>$CONFIG_STATUS <conf$
$subs.
sed
13410 rm -f conf$
$subs.
sed
13411 cat >>$CONFIG_STATUS <<_ACEOF
13417 for ac_last_try
in false false false false false
:; do
13418 cat >conf$
$subs.
sed <<_ACEOF
13419 aros_target_cc!$aros_target_cc$ac_delim
13420 aros_target_ld!$aros_target_ld$ac_delim
13421 aros_target_as_ln!$aros_target_as_ln$ac_delim
13422 aros_kernel_ld!$aros_kernel_ld$ac_delim
13423 aros_target_ar_ln!$aros_target_ar_ln$ac_delim
13424 aros_target_nm_ln!$aros_target_nm_ln$ac_delim
13425 aros_target_objcopy_ln!$aros_target_objcopy_ln$ac_delim
13426 aros_target_objdump_ln!$aros_target_objdump_ln$ac_delim
13427 aros_target_ranlib_ln!$aros_target_ranlib_ln$ac_delim
13428 aros_target_strip_ln!$aros_target_strip_ln$ac_delim
13429 aros_kernel_rescomp!$aros_kernel_rescomp$ac_delim
13430 aros_target_nostdinc_cflags!$aros_target_nostdinc_cflags$ac_delim
13431 aros_target_nostartup_ldflags!$aros_target_nostartup_ldflags$ac_delim
13432 aros_target_nix_ldflags!$aros_target_nix_ldflags$ac_delim
13433 aros_target_detach_ldflags!$aros_target_detach_ldflags$ac_delim
13434 aros_target_nostdlib_ldflags!$aros_target_nostdlib_ldflags$ac_delim
13435 host_cflags_iquote!$host_cflags_iquote$ac_delim
13436 host_cflags_iquote_end!$host_cflags_iquote_end$ac_delim
13437 kernel_cflags_iquote!$kernel_cflags_iquote$ac_delim
13438 kernel_cflags_iquote_end!$kernel_cflags_iquote_end$ac_delim
13439 aros_cflags_iquote!$aros_cflags_iquote$ac_delim
13440 aros_cflags_iquote_end!$aros_cflags_iquote_end$ac_delim
13441 XMKMF!$XMKMF$ac_delim
13442 SDL_CONFIG!$SDL_CONFIG$ac_delim
13443 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
13444 SDL_LIBS!$SDL_LIBS$ac_delim
13445 aros_arch!$aros_arch$ac_delim
13446 aros_cpu!$aros_cpu$ac_delim
13447 aros_flavour!$aros_flavour$ac_delim
13448 aros_flavour_uc!$aros_flavour_uc$ac_delim
13449 AROS_BUILDDIR!$AROS_BUILDDIR$ac_delim
13450 AROS_BUILDDIR_UNIX!$AROS_BUILDDIR_UNIX$ac_delim
13451 SRCDIR!$SRCDIR$ac_delim
13452 AROS_PORTSSRCDIR!$AROS_PORTSSRCDIR$ac_delim
13453 aros_cc_pre!$aros_cc_pre$ac_delim
13454 aros_host_arch!$aros_host_arch$ac_delim
13455 aros_host_cpu!$aros_host_cpu$ac_delim
13456 aros_host_cc!$aros_host_cc$ac_delim
13457 aros_host_make!$aros_host_make$ac_delim
13458 aros_host_cflags!$aros_host_cflags$ac_delim
13459 aros_host_ldflags!$aros_host_ldflags$ac_delim
13460 aros_host_debug!$aros_host_debug$ac_delim
13461 aros_host_mkdep!$aros_host_mkdep$ac_delim
13462 aros_host_mkargs!$aros_host_mkargs$ac_delim
13463 aros_host_exe_suffix!$aros_host_exe_suffix$ac_delim
13464 aros_host_lib_suffix!$aros_host_lib_suffix$ac_delim
13465 aros_tools_dir!$aros_tools_dir$ac_delim
13466 aros_target_guitheme!$aros_target_guitheme$ac_delim
13467 aros_target_iconset!$aros_target_iconset$ac_delim
13468 aros_target_bootloader!$aros_target_bootloader$ac_delim
13469 aros_target_arch!$aros_target_arch$ac_delim
13470 aros_target_cpu!$aros_target_cpu$ac_delim
13471 aros_target_variant!$aros_target_variant$ac_delim
13472 aros_target_suffix!$aros_target_suffix$ac_delim
13473 aros_target_incl!$aros_target_incl$ac_delim
13474 aros_target_ar!$aros_target_ar$ac_delim
13475 aros_target_ranlib!$aros_target_ranlib$ac_delim
13476 aros_kernel_nm!$aros_kernel_nm$ac_delim
13477 orig_target_cc!$orig_target_cc$ac_delim
13478 aros_target_cxx!$aros_target_cxx$ac_delim
13479 aros_kernel_cc!$aros_kernel_cc$ac_delim
13480 aros_target_as!$aros_target_as$ac_delim
13481 orig_target_ld!$orig_target_ld$ac_delim
13482 aros_target_cc_includes!$aros_target_cc_includes$ac_delim
13483 aros_target_cc_path!$aros_target_cc_path$ac_delim
13484 aros_target_objdump!$aros_target_objdump$ac_delim
13485 aros_target_objcopy!$aros_target_objcopy$ac_delim
13486 aros_target_strip!$aros_target_strip$ac_delim
13487 aros_target_nm!$aros_target_nm$ac_delim
13488 aros_shared_default!$aros_shared_default$ac_delim
13489 aros_shared_ld!$aros_shared_ld$ac_delim
13490 aros_object_format!$aros_object_format$ac_delim
13491 aros_compiler_libs!$aros_compiler_libs$ac_delim
13492 aros_arch_libs!$aros_arch_libs$ac_delim
13493 aros_config_cflags!$aros_config_cflags$ac_delim
13494 aros_config_aflags!$aros_config_aflags$ac_delim
13495 aros_config_ldflags!$aros_config_ldflags$ac_delim
13496 aros_shared_cflags!$aros_shared_cflags$ac_delim
13497 aros_shared_aflags!$aros_shared_aflags$ac_delim
13498 aros_shared_ldflags!$aros_shared_ldflags$ac_delim
13499 aros_kernel_cflags!$aros_kernel_cflags$ac_delim
13500 aros_kernel_ldflags!$aros_kernel_ldflags$ac_delim
13501 aros_debug_cflags!$aros_debug_cflags$ac_delim
13502 aros_debug_aflags!$aros_debug_aflags$ac_delim
13503 aros_debug_ldflags!$aros_debug_ldflags$ac_delim
13504 aros_target_genmap!$aros_target_genmap$ac_delim
13505 aros_target_strip_flags!$aros_target_strip_flags$ac_delim
13506 x11_hidd_target!$x11_hidd_target$ac_delim
13507 sdl_hidd_target!$sdl_hidd_target$ac_delim
13508 aros_default_wbwidth!$aros_default_wbwidth$ac_delim
13509 aros_default_wbheight!$aros_default_wbheight$ac_delim
13510 aros_default_wbdepth!$aros_default_wbdepth$ac_delim
13511 DO_XSHM_SUPPORT!$DO_XSHM_SUPPORT$ac_delim
13512 DO_VIDMODE_SUPPORT!$DO_VIDMODE_SUPPORT$ac_delim
13513 aros_host_x11_includes!$aros_host_x11_includes$ac_delim
13514 aros_host_x11_libdirs!$aros_host_x11_libdirs$ac_delim
13515 aros_host_sdl_cflags!$aros_host_sdl_cflags$ac_delim
13518 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
13520 elif $ac_last_try; then
13521 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13522 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13523 { (exit 1); exit 1; }; }
13525 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
13529 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13530 if test -n "$ac_eof"; then
13531 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
13532 ac_eof
=`expr $ac_eof + 1`
13535 cat >>$CONFIG_STATUS <<_ACEOF
13536 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
13537 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13540 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13541 s/^/s,@/; s/!/@,|#_!!_#|/
13544 s/'"$ac_delim"'$/,g/; t
13546 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13547 ' >>$CONFIG_STATUS <conf$
$subs.
sed
13548 rm -f conf$
$subs.
sed
13549 cat >>$CONFIG_STATUS <<_ACEOF
13555 for ac_last_try
in false false false false false
:; do
13556 cat >conf$
$subs.
sed <<_ACEOF
13557 aros_host_sdl_libs!$aros_host_sdl_libs$ac_delim
13558 aros_serial_debug!$aros_serial_debug$ac_delim
13559 aros_palm_debug_hack!$aros_palm_debug_hack$ac_delim
13560 aros_nesting_supervisor!$aros_nesting_supervisor$ac_delim
13561 ENABLE_DBUS!$ENABLE_DBUS$ac_delim
13562 DBUS_CFLAGS!$DBUS_CFLAGS$ac_delim
13563 DBUS_LIBFLAGS!$DBUS_LIBFLAGS$ac_delim
13564 KERNEL_DBUS_KOBJ!$KERNEL_DBUS_KOBJ$ac_delim
13565 KERNEL_DBUS_INCLUDES!$KERNEL_DBUS_INCLUDES$ac_delim
13566 ENABLE_X11!$ENABLE_X11$ac_delim
13567 aros_debug!$aros_debug$ac_delim
13568 aros_mungwall_debug!$aros_mungwall_debug$ac_delim
13569 aros_stack_debug!$aros_stack_debug$ac_delim
13570 aros_modules_debug!$aros_modules_debug$ac_delim
13571 ignore_undefined_symbols!$ignore_undefined_symbols$ac_delim
13572 gcc_target_cpu!$gcc_target_cpu$ac_delim
13573 LTLIBOBJS!$LTLIBOBJS$ac_delim
13576 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 17; then
13578 elif $ac_last_try; then
13579 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13580 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13581 { (exit 1); exit 1; }; }
13583 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
13587 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13588 if test -n "$ac_eof"; then
13589 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
13590 ac_eof
=`expr $ac_eof + 1`
13593 cat >>$CONFIG_STATUS <<_ACEOF
13594 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
13595 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
13598 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13599 s/^/s,@/; s/!/@,|#_!!_#|/
13602 s/'"$ac_delim"'$/,g/; t
13604 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13605 ' >>$CONFIG_STATUS <conf$
$subs.
sed
13606 rm -f conf$
$subs.
sed
13607 cat >>$CONFIG_STATUS <<_ACEOF
13614 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13615 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13616 # trailing colons and then remove the whole line if VPATH becomes empty
13617 # (actually we leave an empty line to preserve line numbers).
13618 if test "x$srcdir" = x.
; then
13619 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
13620 s/:*\$(srcdir):*/:/
13621 s/:*\${srcdir}:*/:/
13623 s/^\([^=]*=[ ]*\):*/\1/
13629 cat >>$CONFIG_STATUS <<\_ACEOF
13630 fi # test -n "$CONFIG_FILES"
13633 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
13636 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13638 case $ac_mode$ac_tag in
13640 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
13641 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
13642 { (exit 1); exit 1; }; };;
13643 :[FH
]-) ac_tag
=-:-;;
13644 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13661 -) ac_f
="$tmp/stdin";;
13662 *) # Look for the file first in the build tree, then in the source tree
13663 # (if the path is not absolute). The absolute path cannot be DOS-style,
13664 # because $ac_f cannot contain `:'.
13668 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13670 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
13671 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
13672 { (exit 1); exit 1; }; };;
13674 ac_file_inputs
="$ac_file_inputs $ac_f"
13677 # Let's still pretend it is `configure' which instantiates (i.e., don't
13678 # use $as_me), people would be surprised to read:
13679 # /* config.h. Generated by config.status. */
13680 configure_input
="Generated from "`IFS=:
13681 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
13682 if test x
"$ac_file" != x-
; then
13683 configure_input
="$ac_file. $configure_input"
13684 { echo "$as_me:$LINENO: creating $ac_file" >&5
13685 echo "$as_me: creating $ac_file" >&6;}
13689 *:-:* |
*:-) cat >"$tmp/stdin";;
13694 ac_dir
=`$as_dirname -- "$ac_file" ||
13695 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13696 X"$ac_file" : 'X\(//\)[^/]' \| \
13697 X"$ac_file" : 'X\(//\)$' \| \
13698 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13700 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13704 /^X\(\/\/\)[^/].*/{
13719 -*) as_dir
=.
/$as_dir;;
13721 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
13725 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
13726 *) as_qdir
=$as_dir;;
13728 as_dirs
="'$as_qdir' $as_dirs"
13729 as_dir
=`$as_dirname -- "$as_dir" ||
13730 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13731 X"$as_dir" : 'X\(//\)[^/]' \| \
13732 X"$as_dir" : 'X\(//\)$' \| \
13733 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13735 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13739 /^X\(\/\/\)[^/].*/{
13752 test -d "$as_dir" && break
13754 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13755 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13756 echo "$as_me: error: cannot create directory $as_dir" >&2;}
13757 { (exit 1); exit 1; }; }; }
13761 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13763 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13764 # A ".." for each directory in $ac_dir_suffix.
13765 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
13766 case $ac_top_builddir_sub in
13767 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13768 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13771 ac_abs_top_builddir
=$ac_pwd
13772 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13773 # for backward compatibility:
13774 ac_top_builddir
=$ac_top_build_prefix
13777 .
) # We are building in place.
13779 ac_top_srcdir
=$ac_top_builddir_sub
13780 ac_abs_top_srcdir
=$ac_pwd ;;
13781 [\\/]* | ?
:[\\/]* ) # Absolute name.
13782 ac_srcdir
=$srcdir$ac_dir_suffix;
13783 ac_top_srcdir
=$srcdir
13784 ac_abs_top_srcdir
=$srcdir ;;
13785 *) # Relative name.
13786 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13787 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13788 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13790 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13801 cat >>$CONFIG_STATUS <<\_ACEOF
13802 # If the template does not know about datarootdir, expand it.
13803 # FIXME: This hack should be removed a few years after 2.60.
13804 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13806 case `sed -n '/datarootdir/ {
13815 ' $ac_file_inputs` in
13816 *datarootdir
*) ac_datarootdir_seen
=yes;;
13817 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13818 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13819 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13821 cat >>$CONFIG_STATUS <<_ACEOF
13822 ac_datarootdir_hack='
13823 s&@datadir@&$datadir&g
13824 s&@docdir@&$docdir&g
13825 s&@infodir@&$infodir&g
13826 s&@localedir@&$localedir&g
13827 s&@mandir@&$mandir&g
13828 s&\\\${datarootdir}&$datarootdir&g' ;;
13832 # Neutralize VPATH when `$srcdir' = `.'.
13833 # Shell code in configure.ac might set extrasub.
13834 # FIXME: do we really want to maintain this feature?
13835 cat >>$CONFIG_STATUS <<_ACEOF
13839 cat >>$CONFIG_STATUS <<\_ACEOF
13841 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13842 s
&@configure_input@
&$configure_input&;t t
13843 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13844 s
&@srcdir@
&$ac_srcdir&;t t
13845 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13846 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13847 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13848 s
&@builddir@
&$ac_builddir&;t t
13849 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13850 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13851 $ac_datarootdir_hack
13852 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" | sed -f "$tmp/subs-3.
sed" >$tmp/out
13854 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13855 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
13856 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
13857 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13858 which seems to be undefined. Please make sure it is defined." >&5
13859 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13860 which seems to be undefined. Please make sure it is defined." >&2;}
13864 -) cat "$tmp/out"; rm -f "$tmp/out";;
13865 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
13874 # Transform confdefs.h into a sed script `conftest.defines', that
13875 # substitutes the proper values into config.h.in to produce config.h.
13876 rm -f conftest.defines conftest.
tail
13877 # First, append a space to every undef/define line, to ease matching.
13878 echo 's/$/ /' >conftest.defines
13879 # Then, protect against being on the right side of a sed subst, or in
13880 # an unquoted here document, in config.status. If some macros were
13881 # called several times there might be several #defines for the same
13882 # symbol, which is useless. But do not sort them, since the last
13883 # AC_DEFINE must be honored.
13884 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
13885 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
13886 # NAME is the cpp macro being defined, VALUE is the value it is being given.
13887 # PARAMS is the parameter list in the macro definition--in most cases, it's
13888 # just an empty string.
13889 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
13890 ac_dB
='\\)[ (].*,\\1define\\2'
13898 s/^[ ]*#[ ]*define[ ][ ]*//
13903 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
13904 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
13905 ' >>conftest.defines
13907 # Remove the space that was appended to ease matching.
13908 # Then replace #undef with comments. This is necessary, for
13909 # example, in the case of _POSIX_SOURCE, which is predefined and required
13910 # on some systems where configure will not decide to define it.
13911 # (The regexp can be short, since the line contains either #define or #undef.)
13913 s,^[ #]*u.*,/* & */,' >>conftest.defines
13915 # Break up conftest.defines:
13916 ac_max_sed_lines
=50
13918 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
13919 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
13920 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
13922 ac_in
='$ac_file_inputs'
13923 ac_out
='"$tmp/out1"'
13924 ac_nxt
='"$tmp/out2"'
13928 # Write a here document:
13929 cat >>$CONFIG_STATUS <<_ACEOF
13930 # First, check the format of the line:
13931 cat >"\$tmp/defines.sed" <<\\CEOF
13932 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
13933 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
13937 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
13939 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
13940 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
13941 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
13942 grep . conftest.
tail >/dev
/null ||
break
13943 rm -f conftest.defines
13944 mv conftest.
tail conftest.defines
13946 rm -f conftest.defines conftest.
tail
13948 echo "ac_result=$ac_in" >>$CONFIG_STATUS
13949 cat >>$CONFIG_STATUS <<\_ACEOF
13950 if test x
"$ac_file" != x-
; then
13951 echo "/* $configure_input */" >"$tmp/config.h"
13952 cat "$ac_result" >>"$tmp/config.h"
13953 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
13954 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13955 echo "$as_me: $ac_file is unchanged" >&6;}
13958 mv "$tmp/config.h" $ac_file
13961 echo "/* $configure_input */"
13967 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
13968 echo "$as_me: executing $ac_file commands" >&6;}
13973 case $ac_file$ac_mode in
13974 "compiler_executable":C
)
13975 prefix
=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
13977 prefix
="${prefix}/${aros_target_cpu}-aros"
13978 prefix2
=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
13982 chmod a
+x
${prefix2}-gcc ${prefix2}-ld
13984 ln -sf ${prefix2}-gcc ${prefix}-gcc
13985 ln -sf ${prefix2}-ld ${prefix}-ld
13987 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix}-as
13988 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix}-nm
13989 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix}-ar
13990 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix}-ranlib
13991 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix}-objcopy
13992 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix}-objdump
13993 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix}-strip
13995 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix2}-as
13996 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix2}-nm
13997 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix2}-ar
13998 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix2}-ranlib
13999 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix2}-objcopy
14000 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix2}-objdump
14001 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix2}-strip
14003 "genshared_executable":C
) chmod a
+x
${aros_scripts_dir}/genshared
;;
14004 "genmf_executable":C
) chmod a
+x
${aros_tools_dir}/genmf.py
;;
14010 { (exit 0); exit 0; }
14012 chmod +x
$CONFIG_STATUS
14013 ac_clean_files
=$ac_clean_files_save
14016 # configure is writing to config.log, and then calls config.status.
14017 # config.status does its own redirection, appending to config.log.
14018 # Unfortunately, on DOS this fails, as config.log is still kept open
14019 # by configure, so config.status won't be able to write to it; its
14020 # output is simply discarded. So we exec the FD to /dev/null,
14021 # effectively closing config.log, so it can be properly (re)opened and
14022 # appended to by config.status. When coming back to configure, we
14023 # need to make the FD available again.
14024 if test "$no_create" != yes; then
14026 ac_config_status_args
=
14027 test "$silent" = yes &&
14028 ac_config_status_args
="$ac_config_status_args --quiet"
14030 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14032 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14033 # would make configure fail if this is the last instruction.
14034 $ac_cs_success ||
{ (exit 1); exit 1; }
14039 #XXX compatability...
14040 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
14042 if test -n "$aros_shared_cflags" ; then
14043 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
14044 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg