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
725 aros_target_nostdinc_cflags
726 aros_target_nostartup_ldflags
727 aros_target_nix_ldflags
728 aros_target_detach_ldflags
729 aros_target_nostdlib_ldflags
731 host_cflags_iquote_end
733 kernel_cflags_iquote_end
735 aros_cflags_iquote_end
763 aros_target_bootloader
777 aros_target_cc_includes
796 aros_kernel_objcflags
803 aros_target_strip_flags
809 aros_default_wbheight
813 aros_host_x11_includes
814 aros_host_x11_libdirs
819 aros_nesting_supervisor
833 ignore_undefined_symbols
837 ac_precious_vars
='build_alias
849 # Initialize some variables set by options.
851 ac_init_version
=false
852 # The variables have the same names as the options, with
853 # dashes changed to underlines.
861 program_transform_name
=s
,x
,x
,
869 # Installation directory options.
870 # These are left unexpanded so users can "make install exec_prefix=/foo"
871 # and all the variables that are supposed to be based on exec_prefix
872 # by default will actually change.
873 # Use braces instead of parens because sh, perl, etc. also accept them.
874 # (The list follows the same order as the GNU Coding Standards.)
875 bindir
='${exec_prefix}/bin'
876 sbindir
='${exec_prefix}/sbin'
877 libexecdir
='${exec_prefix}/libexec'
878 datarootdir
='${prefix}/share'
879 datadir
='${datarootdir}'
880 sysconfdir
='${prefix}/etc'
881 sharedstatedir
='${prefix}/com'
882 localstatedir
='${prefix}/var'
883 includedir
='${prefix}/include'
884 oldincludedir
='/usr/include'
885 docdir
='${datarootdir}/doc/${PACKAGE}'
886 infodir
='${datarootdir}/info'
891 libdir
='${exec_prefix}/lib'
892 localedir
='${datarootdir}/locale'
893 mandir
='${datarootdir}/man'
899 # If the previous option needs an argument, assign it.
900 if test -n "$ac_prev"; then
901 eval $ac_prev=\
$ac_option
907 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
911 # Accept the important Cygnus configure options, so we can diagnose typos.
913 case $ac_dashdash$ac_option in
917 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
919 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
922 -build |
--build |
--buil |
--bui |
--bu)
923 ac_prev
=build_alias
;;
924 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
925 build_alias
=$ac_optarg ;;
927 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
928 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
929 ac_prev
=cache_file
;;
930 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
931 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
932 cache_file
=$ac_optarg ;;
935 cache_file
=config.cache
;;
937 -datadir |
--datadir |
--datadi |
--datad)
939 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
940 datadir
=$ac_optarg ;;
942 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
943 |
--dataroo |
--dataro |
--datar)
944 ac_prev
=datarootdir
;;
945 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
946 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
947 datarootdir
=$ac_optarg ;;
949 -disable-* |
--disable-*)
950 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
951 # Reject names that are not valid shell variable names.
952 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
953 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
954 { (exit 1); exit 1; }; }
955 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
956 eval enable_
$ac_feature=no
;;
958 -docdir |
--docdir |
--docdi |
--doc |
--do)
960 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
963 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
965 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
968 -enable-* |
--enable-*)
969 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
970 # Reject names that are not valid shell variable names.
971 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
972 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
973 { (exit 1); exit 1; }; }
974 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
975 eval enable_
$ac_feature=\
$ac_optarg ;;
977 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
978 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
979 |
--exec |
--exe |
--ex)
980 ac_prev
=exec_prefix
;;
981 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
982 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
983 |
--exec=* |
--exe=* |
--ex=*)
984 exec_prefix
=$ac_optarg ;;
986 -gas |
--gas |
--ga |
--g)
987 # Obsolete; use --with-gas.
990 -help |
--help |
--hel |
--he |
-h)
992 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
993 ac_init_help
=recursive
;;
994 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
995 ac_init_help
=short
;;
997 -host |
--host |
--hos |
--ho)
998 ac_prev
=host_alias
;;
999 -host=* |
--host=* |
--hos=* |
--ho=*)
1000 host_alias
=$ac_optarg ;;
1002 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1004 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1006 htmldir
=$ac_optarg ;;
1008 -includedir |
--includedir |
--includedi |
--included |
--include \
1009 |
--includ |
--inclu |
--incl |
--inc)
1010 ac_prev
=includedir
;;
1011 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1012 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1013 includedir
=$ac_optarg ;;
1015 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1017 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1018 infodir
=$ac_optarg ;;
1020 -libdir |
--libdir |
--libdi |
--libd)
1022 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1023 libdir
=$ac_optarg ;;
1025 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1026 |
--libexe |
--libex |
--libe)
1027 ac_prev
=libexecdir
;;
1028 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1029 |
--libexe=* |
--libex=* |
--libe=*)
1030 libexecdir
=$ac_optarg ;;
1032 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1033 ac_prev
=localedir
;;
1034 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1035 localedir
=$ac_optarg ;;
1037 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1038 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1039 ac_prev
=localstatedir
;;
1040 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1041 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1042 localstatedir
=$ac_optarg ;;
1044 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1046 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1047 mandir
=$ac_optarg ;;
1049 -nfp |
--nfp |
--nf)
1050 # Obsolete; use --without-fp.
1053 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1054 |
--no-cr |
--no-c |
-n)
1057 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1058 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1061 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1062 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1063 |
--oldin |
--oldi |
--old |
--ol |
--o)
1064 ac_prev
=oldincludedir
;;
1065 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1066 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1067 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1068 oldincludedir
=$ac_optarg ;;
1070 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1072 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1073 prefix
=$ac_optarg ;;
1075 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1076 |
--program-pre |
--program-pr |
--program-p)
1077 ac_prev
=program_prefix
;;
1078 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1079 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1080 program_prefix
=$ac_optarg ;;
1082 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1083 |
--program-suf |
--program-su |
--program-s)
1084 ac_prev
=program_suffix
;;
1085 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1086 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1087 program_suffix
=$ac_optarg ;;
1089 -program-transform-name |
--program-transform-name \
1090 |
--program-transform-nam |
--program-transform-na \
1091 |
--program-transform-n |
--program-transform- \
1092 |
--program-transform |
--program-transfor \
1093 |
--program-transfo |
--program-transf \
1094 |
--program-trans |
--program-tran \
1095 |
--progr-tra |
--program-tr |
--program-t)
1096 ac_prev
=program_transform_name
;;
1097 -program-transform-name=* |
--program-transform-name=* \
1098 |
--program-transform-nam=* |
--program-transform-na=* \
1099 |
--program-transform-n=* |
--program-transform-=* \
1100 |
--program-transform=* |
--program-transfor=* \
1101 |
--program-transfo=* |
--program-transf=* \
1102 |
--program-trans=* |
--program-tran=* \
1103 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1104 program_transform_name
=$ac_optarg ;;
1106 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1108 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1109 pdfdir
=$ac_optarg ;;
1111 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1113 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1116 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1117 |
-silent |
--silent |
--silen |
--sile |
--sil)
1120 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1122 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1124 sbindir
=$ac_optarg ;;
1126 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1127 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1128 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1130 ac_prev
=sharedstatedir
;;
1131 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1132 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1133 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1135 sharedstatedir
=$ac_optarg ;;
1137 -site |
--site |
--sit)
1139 -site=* |
--site=* |
--sit=*)
1142 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1144 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1145 srcdir
=$ac_optarg ;;
1147 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1148 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1149 ac_prev
=sysconfdir
;;
1150 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1151 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1152 sysconfdir
=$ac_optarg ;;
1154 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1155 ac_prev
=target_alias
;;
1156 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1157 target_alias
=$ac_optarg ;;
1159 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1162 -version |
--version |
--versio |
--versi |
--vers |
-V)
1163 ac_init_version
=: ;;
1166 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
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=\
$ac_optarg ;;
1174 -without-* |
--without-*)
1175 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1176 # Reject names that are not valid shell variable names.
1177 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1178 { echo "$as_me: error: invalid package name: $ac_package" >&2
1179 { (exit 1); exit 1; }; }
1180 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1181 eval with_
$ac_package=no
;;
1184 # Obsolete; use --with-x.
1187 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1188 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1189 ac_prev
=x_includes
;;
1190 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1191 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1192 x_includes
=$ac_optarg ;;
1194 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1195 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1196 ac_prev
=x_libraries
;;
1197 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1198 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1199 x_libraries
=$ac_optarg ;;
1201 -*) { echo "$as_me: error: unrecognized option: $ac_option
1202 Try \`$0 --help' for more information." >&2
1203 { (exit 1); exit 1; }; }
1207 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1208 # Reject names that are not valid shell variable names.
1209 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1210 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1211 { (exit 1); exit 1; }; }
1212 eval $ac_envvar=\
$ac_optarg
1213 export $ac_envvar ;;
1216 # FIXME: should be removed in autoconf 3.0.
1217 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1218 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1219 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1220 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1226 if test -n "$ac_prev"; then
1227 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1228 { echo "$as_me: error: missing argument to $ac_option" >&2
1229 { (exit 1); exit 1; }; }
1232 # Be sure to have absolute directory names.
1233 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1234 datadir sysconfdir sharedstatedir localstatedir includedir \
1235 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1236 libdir localedir mandir
1238 eval ac_val
=\$
$ac_var
1240 [\\/$
]* | ?
:[\\/]* ) continue;;
1241 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1243 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1244 { (exit 1); exit 1; }; }
1247 # There might be people who depend on the old broken behavior: `$host'
1248 # used to hold the argument of --host etc.
1249 # FIXME: To remove some day.
1252 target
=$target_alias
1254 # FIXME: To remove some day.
1255 if test "x$host_alias" != x
; then
1256 if test "x$build_alias" = x
; then
1257 cross_compiling
=maybe
1258 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1259 If a cross compiler is detected then cross compile mode will be used." >&2
1260 elif test "x$build_alias" != "x$host_alias"; then
1266 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1268 test "$silent" = yes && exec 6>/dev
/null
1271 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1272 ac_ls_di
=`ls -di .` &&
1273 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1274 { echo "$as_me: error: Working directory cannot be determined" >&2
1275 { (exit 1); exit 1; }; }
1276 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1277 { echo "$as_me: error: pwd does not report name of working directory" >&2
1278 { (exit 1); exit 1; }; }
1281 # Find the source files, if location was not specified.
1282 if test -z "$srcdir"; then
1283 ac_srcdir_defaulted
=yes
1284 # Try the directory containing this script, then the parent directory.
1285 ac_confdir
=`$as_dirname -- "$0" ||
1286 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1287 X"$0" : 'X\(//\)[^/]' \| \
1288 X"$0" : 'X\(//\)$' \| \
1289 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1291 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1309 if test ! -r "$srcdir/$ac_unique_file"; then
1313 ac_srcdir_defaulted
=no
1315 if test ! -r "$srcdir/$ac_unique_file"; then
1316 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1317 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1318 { (exit 1); exit 1; }; }
1320 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1322 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1323 { (exit 1); exit 1; }; }
1325 # When building in place, set srcdir=.
1326 if test "$ac_abs_confdir" = "$ac_pwd"; then
1329 # Remove unnecessary trailing slashes from srcdir.
1330 # Double slashes in file names in object file debugging info
1331 # mess up M-x gdb in Emacs.
1333 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1335 for ac_var
in $ac_precious_vars; do
1336 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1337 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1338 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1339 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1343 # Report the --help message.
1345 if test "$ac_init_help" = "long"; then
1346 # Omit some internal or obsolete options to make the list less imposing.
1347 # This message is too long to be a string in the A/UX 3.1 sh.
1349 \`configure' configures this package to adapt to many kinds of systems.
1351 Usage: $0 [OPTION]... [VAR=VALUE]...
1353 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1354 VAR=VALUE. See below for descriptions of some of the useful variables.
1356 Defaults for the options are specified in brackets.
1359 -h, --help display this help and exit
1360 --help=short display options specific to this package
1361 --help=recursive display the short help of all the included packages
1362 -V, --version display version information and exit
1363 -q, --quiet, --silent do not print \`checking...' messages
1364 --cache-file=FILE cache test results in FILE [disabled]
1365 -C, --config-cache alias for \`--cache-file=config.cache'
1366 -n, --no-create do not create output files
1367 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1369 Installation directories:
1370 --prefix=PREFIX install architecture-independent files in PREFIX
1371 [$ac_default_prefix]
1372 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1375 By default, \`make install' will install all the files in
1376 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1377 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1378 for instance \`--prefix=\$HOME'.
1380 For better control, use the options below.
1382 Fine tuning of the installation directories:
1383 --bindir=DIR user executables [EPREFIX/bin]
1384 --sbindir=DIR system admin executables [EPREFIX/sbin]
1385 --libexecdir=DIR program executables [EPREFIX/libexec]
1386 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1387 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1388 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1389 --libdir=DIR object code libraries [EPREFIX/lib]
1390 --includedir=DIR C header files [PREFIX/include]
1391 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1392 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1393 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1394 --infodir=DIR info documentation [DATAROOTDIR/info]
1395 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1396 --mandir=DIR man documentation [DATAROOTDIR/man]
1397 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1398 --htmldir=DIR html documentation [DOCDIR]
1399 --dvidir=DIR dvi documentation [DOCDIR]
1400 --pdfdir=DIR pdf documentation [DOCDIR]
1401 --psdir=DIR ps documentation [DOCDIR]
1407 --x-includes=DIR X include files are
in DIR
1408 --x-libraries=DIR X library files are
in DIR
1411 --build=BUILD configure
for building on BUILD
[guessed
]
1412 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1416 if test -n "$ac_init_help"; then
1421 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1422 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1423 --enable-build-type=TYPE
1424 Select the build
type. Available types are
:
1425 personal
, nightly
, snapshot
, milestone
, release. Do
1426 NOT use this option unless you know what you are
1427 doing
! (default
=personal
)
1428 --enable-debug=list Enable different types of debug. Commas or
1429 whitespaces can be used to separate the items
in the
1430 list. Available types of debug are
: all
, none
,
1431 messages
, stack
, mungwall
, modules
, symbols. If no
1432 list is provided
then "all" is assumed.
1434 --enable-crosstools Build cross-compiler toolchains
if necessary
1436 --enable-distcc Use distcc as a front end to the compiler
1438 --enable-ccache Use ccache as a front end to the compiler
1440 --enable-target-variant=NAME
1441 Enable a specific target variant
(default
=none
)
1442 --enable-includes=dir Alternative system include directory
1443 --enable-palm-debug-hack
1444 Enable palm debug output hack
in palm native
1446 --enable-nesting-supervisor
1447 Enable nesting supervisor support
in unix
1449 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1450 --enable-x11-shm use X11 shared memory
(default
=auto
)
1451 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1452 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1453 --disable-sdltest Do not try to compile and run a
test SDL program
1454 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1457 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1458 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1459 --with-gcc-version=VERSION
1460 Use gcc-VERSION
for building AROS
1461 --with-optimization=FLAGS
1462 Use optimization flags FLAGS
(default
=-O2).
1463 --with-paranoia=FLAGS CC flags to
enable paranoia
1464 --with-xcode=PATH Specify XCode path
for iOS targets
1465 (default
=/Developer
).
1466 --with-ios-version=VERSION
1467 Specify minimum supported iOS version
(default
=2.0).
1468 --with-ios-sdk=VERSION Use iOS SDK version VERSION
(default
=4.1).
1469 --with-portssources=DIR Where to download sourcecode
for external ports
1470 --with-bootloader=NAME Use a specific bootloader
1471 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1472 --with-theme=NAME Use a specific GUI Theme
1473 --with-resolution=XRESxYRESxDEPTH
1474 Default resolution of the initial WorkbenchScreen
1475 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1476 --with-x use the X Window System
1477 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1478 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1480 Some influential environment variables
:
1481 CC C compiler
command
1482 CFLAGS C compiler flags
1483 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1484 nonstandard directory
<lib dir
>
1485 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1486 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1487 you have headers
in a nonstandard directory
<include dir
>
1489 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1491 Use these variables to override the choices made by
`configure' or to help
1492 it to find libraries and programs with nonstandard names/locations.
1498 if test "$ac_init_help" = "recursive"; then
1499 # If there are subdirs, report their specific --help.
1500 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1501 test -d "$ac_dir" || continue
1505 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1507 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1508 # A ".." for each directory in $ac_dir_suffix.
1509 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1510 case $ac_top_builddir_sub in
1511 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1512 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1515 ac_abs_top_builddir=$ac_pwd
1516 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1517 # for backward compatibility:
1518 ac_top_builddir=$ac_top_build_prefix
1521 .) # We are building in place.
1523 ac_top_srcdir=$ac_top_builddir_sub
1524 ac_abs_top_srcdir=$ac_pwd ;;
1525 [\\/]* | ?:[\\/]* ) # Absolute name.
1526 ac_srcdir=$srcdir$ac_dir_suffix;
1527 ac_top_srcdir=$srcdir
1528 ac_abs_top_srcdir=$srcdir ;;
1530 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1531 ac_top_srcdir=$ac_top_build_prefix$srcdir
1532 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1534 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1536 cd "$ac_dir" || { ac_status=$?; continue; }
1537 # Check for guested configure.
1538 if test -f "$ac_srcdir/configure.gnu"; then
1540 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1541 elif test -f "$ac_srcdir/configure"; then
1543 $SHELL "$ac_srcdir/configure" --help=recursive
1545 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1547 cd "$ac_pwd" || { ac_status=$?; break; }
1551 test -n "$ac_init_help" && exit $ac_status
1552 if $ac_init_version; then
1555 generated by GNU Autoconf 2.61
1557 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1558 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1559 This configure script is free software; the Free Software Foundation
1560 gives unlimited permission to copy, distribute and modify it.
1564 cat >config.log <<_ACEOF
1565 This file contains any messages produced by compilers while
1566 running configure, to aid debugging if configure makes a mistake.
1568 It was created by $as_me, which was
1569 generated by GNU Autoconf 2.61. Invocation command line was
1581 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1582 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1583 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1584 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1585 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1587 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1588 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1590 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1591 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1592 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1593 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1594 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1595 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1596 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1604 test -z "$as_dir" && as_dir=.
1605 echo "PATH: $as_dir"
1621 # Keep a trace of the command line.
1622 # Strip out --no-create and --no-recursion so they do not pile up.
1623 # Strip out --silent because we don't want to record it for future runs.
1624 # Also quote any args containing shell meta-characters.
1625 # Make two passes to allow for proper duplicate-argument suppression.
1629 ac_must_keep_next=false
1635 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1636 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1637 | -silent | --silent | --silen | --sile | --sil)
1640 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1643 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1645 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1646 if test $ac_must_keep_next = true; then
1647 ac_must_keep_next=false # Got value, back to normal.
1650 *=* | --config-cache | -C | -disable-* | --disable-* \
1651 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1652 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1653 | -with-* | --with-* | -without-* | --without-* | --x)
1654 case "$ac_configure_args0 " in
1655 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1658 -* ) ac_must_keep_next=true ;;
1661 ac_configure_args="$ac_configure_args '$ac_arg'"
1666 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1667 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1669 # When interrupted or exit'd, cleanup temporary files, and complete
1670 # config.log. We remove comments because anyway the quotes in there
1671 # would cause problems or look ugly.
1672 # WARNING: Use '\'' to represent an apostrophe within the trap.
1673 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1674 trap 'exit_status=$?
1675 # Save into config.log some information that might help in debugging.
1680 ## ---------------- ##
1681 ## Cache variables. ##
1682 ## ---------------- ##
1685 # The following way of writing the cache mishandles newlines in values,
1687 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1688 eval ac_val=\$$ac_var
1692 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1693 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1696 _ | IFS | as_nl) ;; #(
1697 *) $as_unset $ac_var ;;
1702 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1703 *${as_nl}ac_space=\ *)
1705 "s/'\''/'\''\\\\'\'''\''/g;
1706 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1709 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1717 ## ----------------- ##
1718 ## Output variables. ##
1719 ## ----------------- ##
1722 for ac_var in $ac_subst_vars
1724 eval ac_val=\$$ac_var
1726 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1728 echo "$ac_var='\''$ac_val'\''"
1732 if test -n "$ac_subst_files"; then
1734 ## ------------------- ##
1735 ## File substitutions. ##
1736 ## ------------------- ##
1739 for ac_var in $ac_subst_files
1741 eval ac_val=\$$ac_var
1743 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1745 echo "$ac_var='\''$ac_val'\''"
1750 if test -s confdefs.h; then
1760 test "$ac_signal" != 0 &&
1761 echo "$as_me: caught signal $ac_signal"
1762 echo "$as_me: exit $exit_status"
1764 rm -f core *.core core.conftest.* &&
1765 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1768 for ac_signal in 1 2 13 15; do
1769 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1773 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1774 rm -f -r conftest* confdefs.h
1776 # Predefined preprocessor variables.
1778 cat >>confdefs.h <<_ACEOF
1779 #define PACKAGE_NAME "$PACKAGE_NAME"
1783 cat >>confdefs.h <<_ACEOF
1784 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1788 cat >>confdefs.h <<_ACEOF
1789 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1793 cat >>confdefs.h <<_ACEOF
1794 #define PACKAGE_STRING "$PACKAGE_STRING"
1798 cat >>confdefs.h <<_ACEOF
1799 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1803 # Let the site file select an alternate cache file if it wants to.
1804 # Prefer explicitly selected file to automatically selected ones.
1805 if test -n "$CONFIG_SITE"; then
1806 set x "$CONFIG_SITE"
1807 elif test "x$prefix" != xNONE; then
1808 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1810 set x "$ac_default_prefix/share/config.site" \
1811 "$ac_default_prefix/etc/config.site"
1816 if test -r "$ac_site_file"; then
1817 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1818 echo "$as_me: loading site script $ac_site_file" >&6;}
1819 sed 's/^/| /' "$ac_site_file" >&5
1824 if test -r "$cache_file"; then
1825 # Some versions of bash will fail to source /dev/null (special
1826 # files actually), so we avoid doing that.
1827 if test -f "$cache_file"; then
1828 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1829 echo "$as_me: loading cache $cache_file" >&6;}
1831 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1832 *) . "./$cache_file";;
1836 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1837 echo "$as_me: creating cache $cache_file" >&6;}
1841 # Check that the precious variables saved in the cache have kept the same
1843 ac_cache_corrupted=false
1844 for ac_var in $ac_precious_vars; do
1845 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1846 eval ac_new_set=\$ac_env_${ac_var}_set
1847 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1848 eval ac_new_val=\$ac_env_${ac_var}_value
1849 case $ac_old_set,$ac_new_set in
1851 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1852 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1853 ac_cache_corrupted=: ;;
1855 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1856 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1857 ac_cache_corrupted=: ;;
1860 if test "x$ac_old_val" != "x$ac_new_val"; then
1861 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1862 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1863 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1864 echo "$as_me: former value
: $ac_old_val" >&2;}
1865 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1866 echo "$as_me: current value
: $ac_new_val" >&2;}
1867 ac_cache_corrupted=:
1870 # Pass precious variables to config.status.
1871 if test "$ac_new_set" = set; then
1873 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1874 *) ac_arg=$ac_var=$ac_new_val ;;
1876 case " $ac_configure_args " in
1877 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1878 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1882 if $ac_cache_corrupted; then
1883 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1884 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1885 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1886 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1887 { (exit 1); exit 1; }; }
1907 ac_cpp='$CPP $CPPFLAGS'
1908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1915 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
1916 if test -f "$ac_dir/install-sh"; then
1918 ac_install_sh="$ac_aux_dir/install-sh -c"
1920 elif test -f "$ac_dir/install.sh"; then
1922 ac_install_sh="$ac_aux_dir/install.sh -c"
1924 elif test -f "$ac_dir/shtool"; then
1926 ac_install_sh="$ac_aux_dir/shtool install -c"
1930 if test -z "$ac_aux_dir"; then
1931 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts/autoconf \"$srcdir\"/scripts/autoconf" >&5
1932 echo "$as_me: error: cannot find install-sh or install.sh in scripts/autoconf \"$srcdir\"/scripts/autoconf" >&2;}
1933 { (exit 1); exit 1; }; }
1936 # These three variables are undocumented and unsupported,
1937 # and are intended to be withdrawn in a future Autoconf release.
1938 # They can cause serious problems if a builder's source tree is in a directory
1939 # whose full name contains unusual characters.
1940 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1941 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1942 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1946 # Check what host we are running on.
1947 # If a target is not suggested, we use this one.
1948 # Note that what we call a target, Autoconf calls a host.
1949 # Make sure we can run config.sub.
1950 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1951 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1952 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1953 { (exit 1); exit 1; }; }
1955 { echo "$as_me:$LINENO: checking build system type" >&5
1956 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1957 if test "${ac_cv_build+set}" = set; then
1958 echo $ECHO_N "(cached) $ECHO_C" >&6
1960 ac_build_alias=$build_alias
1961 test "x$ac_build_alias" = x &&
1962 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1963 test "x$ac_build_alias" = x &&
1964 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1965 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1966 { (exit 1); exit 1; }; }
1967 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1968 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1969 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1970 { (exit 1); exit 1; }; }
1973 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1974 echo "${ECHO_T}$ac_cv_build" >&6; }
1975 case $ac_cv_build in
1977 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1978 echo "$as_me: error: invalid value of canonical build" >&2;}
1979 { (exit 1); exit 1; }; };;
1982 ac_save_IFS=$IFS; IFS='-'
1988 # Remember, the first character of IFS is used to create $*,
1989 # except with old shells:
1992 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
1995 { echo "$as_me:$LINENO: checking host system type" >&5
1996 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1997 if test "${ac_cv_host+set}" = set; then
1998 echo $ECHO_N "(cached) $ECHO_C" >&6
2000 if test "x$host_alias" = x; then
2001 ac_cv_host=$ac_cv_build
2003 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2004 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2005 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2006 { (exit 1); exit 1; }; }
2010 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2011 echo "${ECHO_T}$ac_cv_host" >&6; }
2014 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2015 echo "$as_me: error: invalid value of canonical host" >&2;}
2016 { (exit 1); exit 1; }; };;
2019 ac_save_IFS=$IFS; IFS='-'
2025 # Remember, the first character of IFS is used to create $*,
2026 # except with old shells:
2029 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2033 # The AROS target is slightly different to the normal GNU style
2034 # format. We don't have the middle part, and we reverse the order
2035 # of the $(CPU) and $(OS) bits.
2037 # Don't strip the version of the target yet, it might be
2038 # useful on some systems.
2040 { echo "$as_me:$LINENO: checking for AROS style target" >&5
2041 echo $ECHO_N "checking for AROS style target... $ECHO_C" >&6; }
2043 if test "$target" = "NONE" ; then
2044 target=$host_os-$host_cpu
2047 if test "$target" = "" ; then
2048 target=$host_os-$host_cpu
2054 { echo "$as_me:$LINENO: result: $target" >&5
2055 echo "${ECHO_T}$target" >&6; }
2057 if test "$host_os" = "mingw32" ; then
2061 #don't know where else to put this...
2062 { echo "$as_me:$LINENO: checking Building AROS in .. " >&5
2063 echo $ECHO_N "checking Building AROS in .. ... $ECHO_C" >&6; }
2064 AROS_BUILDDIR=`${PWDCMD-pwd}`
2065 AROS_BUILDDIR_UNIX=${PWD}
2066 { echo "$as_me:$LINENO: result: $AROS_BUILDDIR" >&5
2067 echo "${ECHO_T}$AROS_BUILDDIR" >&6; }
2069 { echo "$as_me:$LINENO: checking AROS Source in .. " >&5
2070 echo $ECHO_N "checking AROS Source in .. ... $ECHO_C" >&6; }
2071 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2073 { echo "$as_me:$LINENO: result: $SRCDIR" >&5
2074 echo "${ECHO_T}$SRCDIR" >&6; }
2076 # Parse the target field into something useful.
2078 target_os=`echo $target |
sed 's/^\([^-]*\)-\(.*\)$/\1/'`
2079 target_cpu=`echo $target |
sed 's/^\([^-]*\)-\(.*\)$/\2/'`
2082 aros_default_wbwidth=800
2083 aros_default_wbheight=600
2084 aros_default_wbdepth=4
2087 # The first step is to find the host binaries.
2088 # Check for a compiler.
2090 ac_cpp='$CPP $CPPFLAGS'
2091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2094 if test -n "$ac_tool_prefix"; then
2095 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2096 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2097 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2098 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2099 if test "${ac_cv_prog_CC+set}" = set; then
2100 echo $ECHO_N "(cached) $ECHO_C" >&6
2102 if test -n "$CC"; then
2103 ac_cv_prog_CC="$CC" # Let the user override the test.
2105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2109 test -z "$as_dir" && as_dir=.
2110 for ac_exec_ext in '' $ac_executable_extensions; do
2111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2112 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2123 if test -n "$CC"; then
2124 { echo "$as_me:$LINENO: result: $CC" >&5
2125 echo "${ECHO_T}$CC" >&6; }
2127 { echo "$as_me:$LINENO: result: no" >&5
2128 echo "${ECHO_T}no" >&6; }
2133 if test -z "$ac_cv_prog_CC"; then
2135 # Extract the first word of "gcc", so it can be a program name with args.
2136 set dummy gcc; ac_word=$2
2137 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2139 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2140 echo $ECHO_N "(cached) $ECHO_C" >&6
2142 if test -n "$ac_ct_CC"; then
2143 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2149 test -z "$as_dir" && as_dir=.
2150 for ac_exec_ext in '' $ac_executable_extensions; do
2151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2152 ac_cv_prog_ac_ct_CC="gcc"
2153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2162 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2163 if test -n "$ac_ct_CC"; then
2164 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2165 echo "${ECHO_T}$ac_ct_CC" >&6; }
2167 { echo "$as_me:$LINENO: result: no" >&5
2168 echo "${ECHO_T}no" >&6; }
2171 if test "x$ac_ct_CC" = x; then
2174 case $cross_compiling:$ac_tool_warned in
2176 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2177 whose name does not start with the host triplet. If you think this
2178 configuration is useful to you, please write to autoconf@gnu.org." >&5
2179 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2180 whose name does not start with the host triplet. If you think this
2181 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2182 ac_tool_warned=yes ;;
2190 if test -z "$CC"; then
2191 if test -n "$ac_tool_prefix"; then
2192 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2193 set dummy ${ac_tool_prefix}cc; ac_word=$2
2194 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2196 if test "${ac_cv_prog_CC+set}" = set; then
2197 echo $ECHO_N "(cached) $ECHO_C" >&6
2199 if test -n "$CC"; then
2200 ac_cv_prog_CC="$CC" # Let the user override the test.
2202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2206 test -z "$as_dir" && as_dir=.
2207 for ac_exec_ext in '' $ac_executable_extensions; do
2208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2209 ac_cv_prog_CC="${ac_tool_prefix}cc"
2210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2220 if test -n "$CC"; then
2221 { echo "$as_me:$LINENO: result: $CC" >&5
2222 echo "${ECHO_T}$CC" >&6; }
2224 { echo "$as_me:$LINENO: result: no" >&5
2225 echo "${ECHO_T}no" >&6; }
2231 if test -z "$CC"; then
2232 # Extract the first word of "cc", so it can be a program name with args.
2233 set dummy cc; ac_word=$2
2234 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2236 if test "${ac_cv_prog_CC+set}" = set; then
2237 echo $ECHO_N "(cached) $ECHO_C" >&6
2239 if test -n "$CC"; then
2240 ac_cv_prog_CC="$CC" # Let the user override the test.
2243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2247 test -z "$as_dir" && as_dir=.
2248 for ac_exec_ext in '' $ac_executable_extensions; do
2249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2250 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2251 ac_prog_rejected=yes
2255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2262 if test $ac_prog_rejected = yes; then
2263 # We found a bogon in the path, so make sure we never use it.
2264 set dummy $ac_cv_prog_CC
2266 if test $# != 0; then
2267 # We chose a different compiler from the bogus one.
2268 # However, it has the same basename, so the bogon will be chosen
2269 # first if we set CC to just the basename; use the full file name.
2271 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2277 if test -n "$CC"; then
2278 { echo "$as_me:$LINENO: result: $CC" >&5
2279 echo "${ECHO_T}$CC" >&6; }
2281 { echo "$as_me:$LINENO: result: no" >&5
2282 echo "${ECHO_T}no" >&6; }
2287 if test -z "$CC"; then
2288 if test -n "$ac_tool_prefix"; then
2289 for ac_prog in cl.exe
2291 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2292 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2293 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2295 if test "${ac_cv_prog_CC+set}" = set; then
2296 echo $ECHO_N "(cached) $ECHO_C" >&6
2298 if test -n "$CC"; then
2299 ac_cv_prog_CC="$CC" # Let the user override the test.
2301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2305 test -z "$as_dir" && as_dir=.
2306 for ac_exec_ext in '' $ac_executable_extensions; do
2307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2308 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2319 if test -n "$CC"; then
2320 { echo "$as_me:$LINENO: result: $CC" >&5
2321 echo "${ECHO_T}$CC" >&6; }
2323 { echo "$as_me:$LINENO: result: no" >&5
2324 echo "${ECHO_T}no" >&6; }
2328 test -n "$CC" && break
2331 if test -z "$CC"; then
2333 for ac_prog in cl.exe
2335 # Extract the first word of "$ac_prog", so it can be a program name with args.
2336 set dummy $ac_prog; ac_word=$2
2337 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2339 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2340 echo $ECHO_N "(cached) $ECHO_C" >&6
2342 if test -n "$ac_ct_CC"; then
2343 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2349 test -z "$as_dir" && as_dir=.
2350 for ac_exec_ext in '' $ac_executable_extensions; do
2351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2352 ac_cv_prog_ac_ct_CC="$ac_prog"
2353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2362 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2363 if test -n "$ac_ct_CC"; then
2364 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2365 echo "${ECHO_T}$ac_ct_CC" >&6; }
2367 { echo "$as_me:$LINENO: result: no" >&5
2368 echo "${ECHO_T}no" >&6; }
2372 test -n "$ac_ct_CC" && break
2375 if test "x$ac_ct_CC" = x; then
2378 case $cross_compiling:$ac_tool_warned in
2380 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2381 whose name does not start with the host triplet. If you think this
2382 configuration is useful to you, please write to autoconf@gnu.org." >&5
2383 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2384 whose name does not start with the host triplet. If you think this
2385 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2386 ac_tool_warned=yes ;;
2395 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2396 See \`config.log
' for more details." >&5
2397 echo "$as_me: error: no acceptable C compiler found in \$PATH
2398 See \`config.log' for more details.
" >&2;}
2399 { (exit 1); exit 1; }; }
2401 # Provide some information about the compiler.
2402 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2403 ac_compiler=`set X $ac_compile; echo $2`
2404 { (ac_try="$ac_compiler --version >&5"
2406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2407 *) ac_try_echo=$ac_try;;
2409 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2410 (eval "$ac_compiler --version >&5") 2>&5
2412 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2413 (exit $ac_status); }
2414 { (ac_try="$ac_compiler -v >&5"
2416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2417 *) ac_try_echo=$ac_try;;
2419 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2420 (eval "$ac_compiler -v >&5") 2>&5
2422 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2423 (exit $ac_status); }
2424 { (ac_try="$ac_compiler -V >&5"
2426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2427 *) ac_try_echo=$ac_try;;
2429 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2430 (eval "$ac_compiler -V >&5") 2>&5
2432 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2433 (exit $ac_status); }
2435 cat >conftest.$ac_ext <<_ACEOF
2438 cat confdefs.h >>conftest.$ac_ext
2439 cat >>conftest.$ac_ext <<_ACEOF
2440 /* end confdefs.h. */
2450 ac_clean_files_save=$ac_clean_files
2451 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2452 # Try to create an executable without -o first, disregard a.out.
2453 # It will help us diagnose broken compilers, and finding out an intuition
2455 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2456 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2457 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2459 # List of possible output files, starting from the most likely.
2460 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2461 # only as a last resort. b.out is created by i960 compilers.
2462 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2464 # The IRIX 6 linker writes into existing files which may not be
2465 # executable, retaining their permissions. Remove them first so a
2466 # subsequent execution test works.
2468 for ac_file in $ac_files
2471 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2472 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2477 if { (ac_try="$ac_link_default"
2479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2480 *) ac_try_echo=$ac_try;;
2482 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2483 (eval "$ac_link_default") 2>&5
2485 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2486 (exit $ac_status); }; then
2487 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2488 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2489 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2490 # so that the user can short-circuit this test for compilers unknown to
2492 for ac_file in $ac_files ''
2494 test -f "$ac_file" || continue
2496 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2499 # We found the default executable, but exeext='' is most
2503 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2505 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2507 # We set ac_cv_exeext here because the later test for it is not
2508 # safe: cross compilers may not add the suffix if given an `-o'
2509 # argument, so we may need to know it at that point already.
2510 # Even if this section looks crufty: it has the advantage of
2517 test "$ac_cv_exeext" = no && ac_cv_exeext=
2523 { echo "$as_me:$LINENO: result
: $ac_file" >&5
2524 echo "${ECHO_T}$ac_file" >&6; }
2525 if test -z "$ac_file"; then
2526 echo "$as_me: failed program was
:" >&5
2527 sed 's/^/| /' conftest.$ac_ext >&5
2529 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2530 See \
`config.log' for more details." >&5
2531 echo "$as_me: error: C compiler cannot create executables
2532 See \`config.log
' for more details." >&2;}
2533 { (exit 77); exit 77; }; }
2536 ac_exeext=$ac_cv_exeext
2538 # Check that the compiler produces executables we can run. If not, either
2539 # the compiler is broken, or we cross compile.
2540 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2541 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2542 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2543 # If not cross compiling, check that we can run a simple program.
2544 if test "$cross_compiling" != yes; then
2545 if { ac_try='.
/$ac_file'
2546 { (case "(($ac_try" in
2547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2548 *) ac_try_echo=$ac_try;;
2550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2551 (eval "$ac_try") 2>&5
2553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2554 (exit $ac_status); }; }; then
2557 if test "$cross_compiling" = maybe; then
2560 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2561 If you meant to cross compile, use \`--host'.
2562 See \
`config.log' for more details." >&5
2563 echo "$as_me: error: cannot run C compiled programs.
2564 If you meant to cross compile, use \`--host'.
2565 See \`config.log' for more details.
" >&2;}
2566 { (exit 1); exit 1; }; }
2570 { echo "$as_me:$LINENO: result
: yes" >&5
2571 echo "${ECHO_T}yes" >&6; }
2573 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2574 ac_clean_files=$ac_clean_files_save
2575 # Check that the compiler produces executables we can run. If not, either
2576 # the compiler is broken, or we cross compile.
2577 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2578 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2579 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2580 echo "${ECHO_T}$cross_compiling" >&6; }
2582 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2583 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2584 if { (ac_try="$ac_link"
2586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2587 *) ac_try_echo=$ac_try;;
2589 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2590 (eval "$ac_link") 2>&5
2592 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2593 (exit $ac_status); }; then
2594 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2595 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2596 # work properly (i.e., refer to `conftest.exe'), while it won't with
2598 for ac_file in conftest.exe conftest conftest.*; do
2599 test -f "$ac_file" || continue
2601 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2602 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2608 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2609 See \
`config.log' for more details." >&5
2610 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2611 See \`config.log
' for more details." >&2;}
2612 { (exit 1); exit 1; }; }
2615 rm -f conftest$ac_cv_exeext
2616 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2617 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2619 rm -f conftest.$ac_ext
2620 EXEEXT=$ac_cv_exeext
2622 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2623 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2624 if test "${ac_cv_objext+set}" = set; then
2625 echo $ECHO_N "(cached) $ECHO_C" >&6
2627 cat >conftest.$ac_ext <<_ACEOF
2630 cat confdefs.h >>conftest.$ac_ext
2631 cat >>conftest.$ac_ext <<_ACEOF
2632 /* end confdefs.h. */
2642 rm -f conftest.o conftest.obj
2643 if { (ac_try="$ac_compile"
2645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2646 *) ac_try_echo=$ac_try;;
2648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2649 (eval "$ac_compile") 2>&5
2651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2652 (exit $ac_status); }; then
2653 for ac_file in conftest.o conftest.obj conftest.*; do
2654 test -f "$ac_file" || continue;
2656 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2657 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2662 echo "$as_me: failed program was:" >&5
2663 sed 's
/^
/|
/' conftest.$ac_ext >&5
2665 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2666 See \`config.log' for more details.
" >&5
2667 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2668 See \
`config.log' for more details." >&2;}
2669 { (exit 1); exit 1; }; }
2672 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2674 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2675 echo "${ECHO_T}$ac_cv_objext" >&6; }
2676 OBJEXT=$ac_cv_objext
2678 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2679 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2680 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2681 echo $ECHO_N "(cached) $ECHO_C" >&6
2683 cat >conftest.$ac_ext <<_ACEOF
2686 cat confdefs.h >>conftest.$ac_ext
2687 cat >>conftest.$ac_ext <<_ACEOF
2688 /* end confdefs.h. */
2701 rm -f conftest.$ac_objext
2702 if { (ac_try="$ac_compile"
2704 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2705 *) ac_try_echo
=$ac_try;;
2707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2708 (eval "$ac_compile") 2>conftest.er1
2710 grep -v '^ *+' conftest.er1
>conftest.err
2712 cat conftest.err
>&5
2713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2714 (exit $ac_status); } && {
2715 test -z "$ac_c_werror_flag" ||
2716 test ! -s conftest.err
2717 } && test -s conftest.
$ac_objext; then
2720 echo "$as_me: failed program was:" >&5
2721 sed 's/^/| /' conftest.
$ac_ext >&5
2726 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2727 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2730 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2731 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2732 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2733 ac_test_CFLAGS
=${CFLAGS+set}
2734 ac_save_CFLAGS
=$CFLAGS
2735 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2736 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2737 if test "${ac_cv_prog_cc_g+set}" = set; then
2738 echo $ECHO_N "(cached) $ECHO_C" >&6
2740 ac_save_c_werror_flag
=$ac_c_werror_flag
2741 ac_c_werror_flag
=yes
2744 cat >conftest.
$ac_ext <<_ACEOF
2747 cat confdefs.h
>>conftest.
$ac_ext
2748 cat >>conftest.
$ac_ext <<_ACEOF
2749 /* end confdefs.h. */
2759 rm -f conftest.
$ac_objext
2760 if { (ac_try
="$ac_compile"
2762 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2763 *) ac_try_echo=$ac_try;;
2765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2766 (eval "$ac_compile") 2>conftest.er1
2768 grep -v '^ *+' conftest.er1 >conftest.err
2770 cat conftest.err >&5
2771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2772 (exit $ac_status); } && {
2773 test -z "$ac_c_werror_flag" ||
2774 test ! -s conftest.err
2775 } && test -s conftest.$ac_objext; then
2778 echo "$as_me: failed program was:" >&5
2779 sed 's/^/| /' conftest.$ac_ext >&5
2782 cat >conftest.$ac_ext <<_ACEOF
2785 cat confdefs.h >>conftest.$ac_ext
2786 cat >>conftest.$ac_ext <<_ACEOF
2787 /* end confdefs.h. */
2797 rm -f conftest.$ac_objext
2798 if { (ac_try="$ac_compile"
2800 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2801 *) ac_try_echo
=$ac_try;;
2803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2804 (eval "$ac_compile") 2>conftest.er1
2806 grep -v '^ *+' conftest.er1
>conftest.err
2808 cat conftest.err
>&5
2809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810 (exit $ac_status); } && {
2811 test -z "$ac_c_werror_flag" ||
2812 test ! -s conftest.err
2813 } && test -s conftest.
$ac_objext; then
2816 echo "$as_me: failed program was:" >&5
2817 sed 's/^/| /' conftest.
$ac_ext >&5
2819 ac_c_werror_flag
=$ac_save_c_werror_flag
2821 cat >conftest.
$ac_ext <<_ACEOF
2824 cat confdefs.h
>>conftest.
$ac_ext
2825 cat >>conftest.
$ac_ext <<_ACEOF
2826 /* end confdefs.h. */
2836 rm -f conftest.
$ac_objext
2837 if { (ac_try
="$ac_compile"
2839 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2840 *) ac_try_echo=$ac_try;;
2842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2843 (eval "$ac_compile") 2>conftest.er1
2845 grep -v '^ *+' conftest.er1 >conftest.err
2847 cat conftest.err >&5
2848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2849 (exit $ac_status); } && {
2850 test -z "$ac_c_werror_flag" ||
2851 test ! -s conftest.err
2852 } && test -s conftest.$ac_objext; then
2855 echo "$as_me: failed program was:" >&5
2856 sed 's/^/| /' conftest.$ac_ext >&5
2861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2868 ac_c_werror_flag=$ac_save_c_werror_flag
2870 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2871 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2872 if test "$ac_test_CFLAGS" = set; then
2873 CFLAGS=$ac_save_CFLAGS
2874 elif test $ac_cv_prog_cc_g = yes; then
2875 if test "$GCC" = yes; then
2881 if test "$GCC" = yes; then
2887 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2888 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2889 if test "${ac_cv_prog_cc_c89+set}" = set; then
2890 echo $ECHO_N "(cached) $ECHO_C" >&6
2892 ac_cv_prog_cc_c89=no
2894 cat >conftest.$ac_ext <<_ACEOF
2897 cat confdefs.h >>conftest.$ac_ext
2898 cat >>conftest.$ac_ext <<_ACEOF
2899 /* end confdefs.h. */
2902 #include <sys/types.h>
2903 #include <sys/stat.h>
2904 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2905 struct buf { int x; };
2906 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2907 static char *e (p, i)
2913 static char *f (char * (*g) (char **, int), char **p, ...)
2918 s = g (p, va_arg (v,int));
2923 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2924 function prototypes and stuff, but not '\xHH' hex character constants.
2925 These don't provoke an error unfortunately, instead are silently treated
2926 as 'x'. The following induces an error, until -std is added to get
2927 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2928 array size at least. It's necessary to write '\x00'==0 to get something
2929 that's true only with -std. */
2930 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2932 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2933 inside strings and character constants. */
2935 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2937 int test (int i, double x);
2938 struct s1 {int (*f) (int a);};
2939 struct s2 {int (*f) (double a);};
2940 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2946 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2951 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2952 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2954 CC="$ac_save_CC $ac_arg"
2955 rm -f conftest.$ac_objext
2956 if { (ac_try="$ac_compile"
2958 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2959 *) ac_try_echo
=$ac_try;;
2961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2962 (eval "$ac_compile") 2>conftest.er1
2964 grep -v '^ *+' conftest.er1
>conftest.err
2966 cat conftest.err
>&5
2967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2968 (exit $ac_status); } && {
2969 test -z "$ac_c_werror_flag" ||
2970 test ! -s conftest.err
2971 } && test -s conftest.
$ac_objext; then
2972 ac_cv_prog_cc_c89
=$ac_arg
2974 echo "$as_me: failed program was:" >&5
2975 sed 's/^/| /' conftest.
$ac_ext >&5
2980 rm -f core conftest.err conftest.
$ac_objext
2981 test "x$ac_cv_prog_cc_c89" != "xno" && break
2983 rm -f conftest.
$ac_ext
2988 case "x$ac_cv_prog_cc_c89" in
2990 { echo "$as_me:$LINENO: result: none needed" >&5
2991 echo "${ECHO_T}none needed" >&6; } ;;
2993 { echo "$as_me:$LINENO: result: unsupported" >&5
2994 echo "${ECHO_T}unsupported" >&6; } ;;
2996 CC
="$CC $ac_cv_prog_cc_c89"
2997 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2998 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3003 ac_cpp
='$CPP $CPPFLAGS'
3004 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3005 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3006 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3008 case $ac_cv_prog_cc_stdc in
3009 no
) ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;;
3010 *) { echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
3011 echo $ECHO_N "checking for $CC option to accept ISO C99... $ECHO_C" >&6; }
3012 if test "${ac_cv_prog_cc_c99+set}" = set; then
3013 echo $ECHO_N "(cached) $ECHO_C" >&6
3015 ac_cv_prog_cc_c99
=no
3017 cat >conftest.
$ac_ext <<_ACEOF
3020 cat confdefs.h
>>conftest.
$ac_ext
3021 cat >>conftest.
$ac_ext <<_ACEOF
3022 /* end confdefs.h. */
3024 #include <stdbool.h>
3029 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3030 #define debug(...) fprintf (stderr, __VA_ARGS__)
3031 #define showlist(...) puts (#__VA_ARGS__)
3032 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3034 test_varargs_macros (void)
3039 debug ("X = %d\n", x);
3040 showlist (The first, second, and third items.);
3041 report (x>y, "x is %d but y is %d", x, y);
3044 // Check long long types.
3045 #define BIG64 18446744073709551615ull
3046 #define BIG32 4294967295ul
3047 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3049 your preprocessor is broken;
3053 your preprocessor is broken;
3055 static long long int bignum = -9223372036854775807LL;
3056 static unsigned long long int ubignum = BIG64;
3058 struct incomplete_array
3066 const wchar_t *name;
3070 typedef const char *ccp;
3073 test_restrict (ccp restrict text)
3075 // See if C++-style comments work.
3076 // Iterate through items via the restricted pointer.
3077 // Also check for declarations in for loops.
3078 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3083 // Check varargs and va_copy.
3085 test_varargs (const char *format, ...)
3088 va_start (args, format);
3090 va_copy (args_copy, args);
3101 str = va_arg (args_copy, const char *);
3104 number = va_arg (args_copy, int);
3107 fnumber = va_arg (args_copy, double);
3122 _Bool success = false;
3125 if (test_restrict ("String literal") == 0)
3127 char *restrict newvar = "Another string";
3130 test_varargs ("s, d' f .", "string", 65, 34.234);
3131 test_varargs_macros ();
3133 // Check flexible array members.
3134 struct incomplete_array *ia =
3135 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3137 for (int i = 0; i < ia->datasize; ++i)
3138 ia->data[i] = i * 1.234;
3140 // Check named initializers.
3141 struct named_init ni = {
3143 .name = L"Test wide string",
3144 .average = 543.34343,
3149 int dynamic_array[ni.number];
3150 dynamic_array[ni.number - 1] = 543;
3152 // work around unused variable warnings
3153 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3154 || dynamic_array[ni.number - 1] != 543);
3160 for ac_arg
in '' -std=gnu99
-c99 -qlanglvl=extc99
3162 CC
="$ac_save_CC $ac_arg"
3163 rm -f conftest.
$ac_objext
3164 if { (ac_try
="$ac_compile"
3166 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3167 *) ac_try_echo=$ac_try;;
3169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3170 (eval "$ac_compile") 2>conftest.er1
3172 grep -v '^ *+' conftest.er1 >conftest.err
3174 cat conftest.err >&5
3175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3176 (exit $ac_status); } && {
3177 test -z "$ac_c_werror_flag" ||
3178 test ! -s conftest.err
3179 } && test -s conftest.$ac_objext; then
3180 ac_cv_prog_cc_c99=$ac_arg
3182 echo "$as_me: failed program was:" >&5
3183 sed 's/^/| /' conftest.$ac_ext >&5
3188 rm -f core conftest.err conftest.$ac_objext
3189 test "x$ac_cv_prog_cc_c99" != "xno" && break
3191 rm -f conftest.$ac_ext
3196 case "x$ac_cv_prog_cc_c99" in
3198 { echo "$as_me:$LINENO: result: none needed" >&5
3199 echo "${ECHO_T}none needed" >&6; } ;;
3201 { echo "$as_me:$LINENO: result: unsupported" >&5
3202 echo "${ECHO_T}unsupported" >&6; } ;;
3204 CC="$CC $ac_cv_prog_cc_c99"
3205 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
3206 echo "${ECHO_T}$ac_cv_prog_cc_c99" >&6; } ;;
3208 if test "x$ac_cv_prog_cc_c99" != xno; then
3209 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3211 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3212 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3213 if test "${ac_cv_prog_cc_c89+set}" = set; then
3214 echo $ECHO_N "(cached) $ECHO_C" >&6
3216 ac_cv_prog_cc_c89=no
3218 cat >conftest.$ac_ext <<_ACEOF
3221 cat confdefs.h >>conftest.$ac_ext
3222 cat >>conftest.$ac_ext <<_ACEOF
3223 /* end confdefs.h. */
3226 #include <sys/types.h>
3227 #include <sys/stat.h>
3228 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3229 struct buf { int x; };
3230 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3231 static char *e (p, i)
3237 static char *f (char * (*g) (char **, int), char **p, ...)
3242 s = g (p, va_arg (v,int));
3247 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3248 function prototypes and stuff, but not '\xHH' hex character constants.
3249 These don't provoke an error unfortunately, instead are silently treated
3250 as 'x'. The following induces an error, until -std is added to get
3251 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3252 array size at least. It's necessary to write '\x00'==0 to get something
3253 that's true only with -std. */
3254 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3256 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3257 inside strings and character constants. */
3259 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3261 int test (int i, double x);
3262 struct s1 {int (*f) (int a);};
3263 struct s2 {int (*f) (double a);};
3264 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3270 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3275 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3276 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3278 CC="$ac_save_CC $ac_arg"
3279 rm -f conftest.$ac_objext
3280 if { (ac_try="$ac_compile"
3282 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3283 *) ac_try_echo
=$ac_try;;
3285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3286 (eval "$ac_compile") 2>conftest.er1
3288 grep -v '^ *+' conftest.er1
>conftest.err
3290 cat conftest.err
>&5
3291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3292 (exit $ac_status); } && {
3293 test -z "$ac_c_werror_flag" ||
3294 test ! -s conftest.err
3295 } && test -s conftest.
$ac_objext; then
3296 ac_cv_prog_cc_c89
=$ac_arg
3298 echo "$as_me: failed program was:" >&5
3299 sed 's/^/| /' conftest.
$ac_ext >&5
3304 rm -f core conftest.err conftest.
$ac_objext
3305 test "x$ac_cv_prog_cc_c89" != "xno" && break
3307 rm -f conftest.
$ac_ext
3312 case "x$ac_cv_prog_cc_c89" in
3314 { echo "$as_me:$LINENO: result: none needed" >&5
3315 echo "${ECHO_T}none needed" >&6; } ;;
3317 { echo "$as_me:$LINENO: result: unsupported" >&5
3318 echo "${ECHO_T}unsupported" >&6; } ;;
3320 CC
="$CC $ac_cv_prog_cc_c89"
3321 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3322 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3324 if test "x$ac_cv_prog_cc_c89" != xno
; then
3325 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
3327 ac_cv_prog_cc_stdc
=no
3335 { echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5
3336 echo $ECHO_N "checking for $CC option to accept ISO Standard C... $ECHO_C" >&6; }
3337 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3338 echo $ECHO_N "(cached) $ECHO_C" >&6
3341 case $ac_cv_prog_cc_stdc in
3342 no
) { echo "$as_me:$LINENO: result: unsupported" >&5
3343 echo "${ECHO_T}unsupported" >&6; } ;;
3344 '') { echo "$as_me:$LINENO: result: none needed" >&5
3345 echo "${ECHO_T}none needed" >&6; } ;;
3346 *) { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3347 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; } ;;
3352 ac_cpp
='$CPP $CPPFLAGS'
3353 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3354 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3355 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3356 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3357 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3358 # On Suns, sometimes $CPP names a directory.
3359 if test -n "$CPP" && test -d "$CPP"; then
3362 if test -z "$CPP"; then
3363 if test "${ac_cv_prog_CPP+set}" = set; then
3364 echo $ECHO_N "(cached) $ECHO_C" >&6
3366 # Double quotes because CPP needs to be expanded
3367 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3370 for ac_c_preproc_warn_flag
in '' yes
3372 # Use a header file that comes with gcc, so configuring glibc
3373 # with a fresh cross-compiler works.
3374 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3375 # <limits.h> exists even on freestanding compilers.
3376 # On the NeXT, cc -E runs the code through the compiler's parser,
3377 # not just through cpp. "Syntax error" is here to catch this case.
3378 cat >conftest.
$ac_ext <<_ACEOF
3381 cat confdefs.h
>>conftest.
$ac_ext
3382 cat >>conftest.
$ac_ext <<_ACEOF
3383 /* end confdefs.h. */
3385 # include <limits.h>
3387 # include <assert.h>
3391 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3393 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3394 *) ac_try_echo=$ac_try;;
3396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3397 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3399 grep -v '^ *+' conftest.er1 >conftest.err
3401 cat conftest.err >&5
3402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3403 (exit $ac_status); } >/dev/null && {
3404 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3405 test ! -s conftest.err
3409 echo "$as_me: failed program was:" >&5
3410 sed 's/^/| /' conftest.$ac_ext >&5
3412 # Broken: fails on valid input.
3416 rm -f conftest.err conftest.$ac_ext
3418 # OK, works on sane cases. Now check whether nonexistent headers
3419 # can be detected and how.
3420 cat >conftest.$ac_ext <<_ACEOF
3423 cat confdefs.h >>conftest.$ac_ext
3424 cat >>conftest.$ac_ext <<_ACEOF
3425 /* end confdefs.h. */
3426 #include <ac_nonexistent.h>
3428 if { (ac_try="$ac_cpp conftest.$ac_ext"
3430 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3431 *) ac_try_echo
=$ac_try;;
3433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3434 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3436 grep -v '^ *+' conftest.er1
>conftest.err
3438 cat conftest.err
>&5
3439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3440 (exit $ac_status); } >/dev
/null
&& {
3441 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3442 test ! -s conftest.err
3444 # Broken: success on invalid input.
3447 echo "$as_me: failed program was:" >&5
3448 sed 's/^/| /' conftest.
$ac_ext >&5
3450 # Passes both tests.
3455 rm -f conftest.err conftest.
$ac_ext
3458 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3459 rm -f conftest.err conftest.
$ac_ext
3460 if $ac_preproc_ok; then
3472 { echo "$as_me:$LINENO: result: $CPP" >&5
3473 echo "${ECHO_T}$CPP" >&6; }
3475 for ac_c_preproc_warn_flag
in '' yes
3477 # Use a header file that comes with gcc, so configuring glibc
3478 # with a fresh cross-compiler works.
3479 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3480 # <limits.h> exists even on freestanding compilers.
3481 # On the NeXT, cc -E runs the code through the compiler's parser,
3482 # not just through cpp. "Syntax error" is here to catch this case.
3483 cat >conftest.
$ac_ext <<_ACEOF
3486 cat confdefs.h
>>conftest.
$ac_ext
3487 cat >>conftest.
$ac_ext <<_ACEOF
3488 /* end confdefs.h. */
3490 # include <limits.h>
3492 # include <assert.h>
3496 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3498 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3499 *) ac_try_echo=$ac_try;;
3501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3502 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3504 grep -v '^ *+' conftest.er1 >conftest.err
3506 cat conftest.err >&5
3507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3508 (exit $ac_status); } >/dev/null && {
3509 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3510 test ! -s conftest.err
3514 echo "$as_me: failed program was:" >&5
3515 sed 's/^/| /' conftest.$ac_ext >&5
3517 # Broken: fails on valid input.
3521 rm -f conftest.err conftest.$ac_ext
3523 # OK, works on sane cases. Now check whether nonexistent headers
3524 # can be detected and how.
3525 cat >conftest.$ac_ext <<_ACEOF
3528 cat confdefs.h >>conftest.$ac_ext
3529 cat >>conftest.$ac_ext <<_ACEOF
3530 /* end confdefs.h. */
3531 #include <ac_nonexistent.h>
3533 if { (ac_try="$ac_cpp conftest.$ac_ext"
3535 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3536 *) ac_try_echo
=$ac_try;;
3538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3539 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3541 grep -v '^ *+' conftest.er1
>conftest.err
3543 cat conftest.err
>&5
3544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3545 (exit $ac_status); } >/dev
/null
&& {
3546 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3547 test ! -s conftest.err
3549 # Broken: success on invalid input.
3552 echo "$as_me: failed program was:" >&5
3553 sed 's/^/| /' conftest.
$ac_ext >&5
3555 # Passes both tests.
3560 rm -f conftest.err conftest.
$ac_ext
3563 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3564 rm -f conftest.err conftest.
$ac_ext
3565 if $ac_preproc_ok; then
3568 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3569 See \`config.log' for more details." >&5
3570 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3571 See \`config.log' for more details." >&2;}
3572 { (exit 1); exit 1; }; }
3576 ac_cpp
='$CPP $CPPFLAGS'
3577 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3578 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3579 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3582 # Check for a compatible awk
3583 for ac_prog
in gawk nawk
3585 # Extract the first word of "$ac_prog", so it can be a program name with args.
3586 set dummy
$ac_prog; ac_word
=$2
3587 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3589 if test "${ac_cv_prog_AWK+set}" = set; then
3590 echo $ECHO_N "(cached) $ECHO_C" >&6
3592 if test -n "$AWK"; then
3593 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3599 test -z "$as_dir" && as_dir
=.
3600 for ac_exec_ext
in '' $ac_executable_extensions; do
3601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3602 ac_cv_prog_AWK
="$ac_prog"
3603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3613 if test -n "$AWK"; then
3614 { echo "$as_me:$LINENO: result: $AWK" >&5
3615 echo "${ECHO_T}$AWK" >&6; }
3617 { echo "$as_me:$LINENO: result: no" >&5
3618 echo "${ECHO_T}no" >&6; }
3622 test -n "$AWK" && break
3625 if test "$AWK" = ""; then
3626 { { echo "$as_me:$LINENO: error: gawk is required to build AROS. Please install and run configure again." >&5
3627 echo "$as_me: error: gawk is required to build AROS. Please install and run configure again." >&2;}
3628 { (exit 1); exit 1; }; }
3630 # Extract the first word of "mmake", so it can be a program name with args.
3631 set dummy mmake
; ac_word
=$2
3632 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3634 if test "${ac_cv_prog_MMAKE+set}" = set; then
3635 echo $ECHO_N "(cached) $ECHO_C" >&6
3637 if test -n "$MMAKE"; then
3638 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
3640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3644 test -z "$as_dir" && as_dir
=.
3645 for ac_exec_ext
in '' $ac_executable_extensions; do
3646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3647 ac_cv_prog_MMAKE
="mmake "
3648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3657 MMAKE
=$ac_cv_prog_MMAKE
3658 if test -n "$MMAKE"; then
3659 { echo "$as_me:$LINENO: result: $MMAKE" >&5
3660 echo "${ECHO_T}$MMAKE" >&6; }
3662 { echo "$as_me:$LINENO: result: no" >&5
3663 echo "${ECHO_T}no" >&6; }
3668 # Perform some default variable assignments. Note all of these will be
3669 # Regenerated from the script, so there is no need to cache them.
3672 if test "$GCC" = "yes"; then
3673 aros_gcc_ld
=`$CC -print-prog-name=ld`
3674 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
3675 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
3676 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3678 if test "${ac_cv_path_aros_host_ld+set}" = set; then
3679 echo $ECHO_N "(cached) $ECHO_C" >&6
3681 case $aros_host_ld in
3683 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3687 for as_dir
in `dirname $aros_gcc_ld`
3690 test -z "$as_dir" && as_dir
=.
3691 for ac_exec_ext
in '' $ac_executable_extensions; do
3692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3693 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3704 aros_host_ld
=$ac_cv_path_aros_host_ld
3705 if test -n "$aros_host_ld"; then
3706 { echo "$as_me:$LINENO: result: $aros_host_ld" >&5
3707 echo "${ECHO_T}$aros_host_ld" >&6; }
3709 { echo "$as_me:$LINENO: result: no" >&5
3710 echo "${ECHO_T}no" >&6; }
3715 if test "$aros_host_ld" = ""; then
3716 # Extract the first word of "ld", so it can be a program name with args.
3717 set dummy ld
; ac_word
=$2
3718 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3720 if test "${ac_cv_path_aros_host_ld+set}" = set; then
3721 echo $ECHO_N "(cached) $ECHO_C" >&6
3723 case $aros_host_ld in
3725 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3732 test -z "$as_dir" && as_dir
=.
3733 for ac_exec_ext
in '' $ac_executable_extensions; do
3734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3735 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3736 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3746 aros_host_ld
=$ac_cv_path_aros_host_ld
3747 if test -n "$aros_host_ld"; then
3748 { echo "$as_me:$LINENO: result: $aros_host_ld" >&5
3749 echo "${ECHO_T}$aros_host_ld" >&6; }
3751 { echo "$as_me:$LINENO: result: no" >&5
3752 echo "${ECHO_T}no" >&6; }
3757 if test "$aros_host_ld" = ""; then
3758 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
3759 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
3760 { (exit 1); exit 1; }; }
3762 aros_host_make
="make"
3763 aros_host_cflags
=$CFLAGS
3764 aros_host_ldflags
=$LDFLAGS
3765 aros_host_debug
="-g -O0"
3766 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
3767 aros_host_mkargs
="--no-print-directory"
3768 aros_host_incl
="/usr/include"
3769 aros_host_exe_suffix
="$EXEEXT"
3770 aros_host_lib_suffix
=""
3772 for ac_prog
in aclocal aclocal19 aclocal-1.9
3774 # Extract the first word of "$ac_prog", so it can be a program name with args.
3775 set dummy
$ac_prog; ac_word
=$2
3776 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3778 if test "${ac_cv_prog_aros_host_aclocal+set}" = set; then
3779 echo $ECHO_N "(cached) $ECHO_C" >&6
3781 if test -n "$aros_host_aclocal"; then
3782 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
3784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3788 test -z "$as_dir" && as_dir
=.
3789 for ac_exec_ext
in '' $ac_executable_extensions; do
3790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3791 ac_cv_prog_aros_host_aclocal
="$ac_prog"
3792 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3801 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
3802 if test -n "$aros_host_aclocal"; then
3803 { echo "$as_me:$LINENO: result: $aros_host_aclocal" >&5
3804 echo "${ECHO_T}$aros_host_aclocal" >&6; }
3806 { echo "$as_me:$LINENO: result: no" >&5
3807 echo "${ECHO_T}no" >&6; }
3811 test -n "$aros_host_aclocal" && break
3814 for ac_prog
in autoconf autoconf259 autoconf253
3816 # Extract the first word of "$ac_prog", so it can be a program name with args.
3817 set dummy
$ac_prog; ac_word
=$2
3818 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3820 if test "${ac_cv_prog_aros_host_autoconf+set}" = set; then
3821 echo $ECHO_N "(cached) $ECHO_C" >&6
3823 if test -n "$aros_host_autoconf"; then
3824 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
3826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3830 test -z "$as_dir" && as_dir
=.
3831 for ac_exec_ext
in '' $ac_executable_extensions; do
3832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3833 ac_cv_prog_aros_host_autoconf
="$ac_prog"
3834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3843 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
3844 if test -n "$aros_host_autoconf"; then
3845 { echo "$as_me:$LINENO: result: $aros_host_autoconf" >&5
3846 echo "${ECHO_T}$aros_host_autoconf" >&6; }
3848 { echo "$as_me:$LINENO: result: no" >&5
3849 echo "${ECHO_T}no" >&6; }
3853 test -n "$aros_host_autoconf" && break
3856 for ac_prog
in autoheader autoheader259 autoheader253
3858 # Extract the first word of "$ac_prog", so it can be a program name with args.
3859 set dummy
$ac_prog; ac_word
=$2
3860 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3862 if test "${ac_cv_prog_aros_host_autoheader+set}" = set; then
3863 echo $ECHO_N "(cached) $ECHO_C" >&6
3865 if test -n "$aros_host_autoheader"; then
3866 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
3868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3872 test -z "$as_dir" && as_dir
=.
3873 for ac_exec_ext
in '' $ac_executable_extensions; do
3874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3875 ac_cv_prog_aros_host_autoheader
="$ac_prog"
3876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3885 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
3886 if test -n "$aros_host_autoheader"; then
3887 { echo "$as_me:$LINENO: result: $aros_host_autoheader" >&5
3888 echo "${ECHO_T}$aros_host_autoheader" >&6; }
3890 { echo "$as_me:$LINENO: result: no" >&5
3891 echo "${ECHO_T}no" >&6; }
3895 test -n "$aros_host_autoheader" && break
3898 for ac_prog
in automake automake19 automake-1.9
3900 # Extract the first word of "$ac_prog", so it can be a program name with args.
3901 set dummy
$ac_prog; ac_word
=$2
3902 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3904 if test "${ac_cv_prog_aros_host_automake+set}" = set; then
3905 echo $ECHO_N "(cached) $ECHO_C" >&6
3907 if test -n "$aros_host_automake"; then
3908 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
3910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3914 test -z "$as_dir" && as_dir
=.
3915 for ac_exec_ext
in '' $ac_executable_extensions; do
3916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3917 ac_cv_prog_aros_host_automake
="$ac_prog"
3918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3927 aros_host_automake
=$ac_cv_prog_aros_host_automake
3928 if test -n "$aros_host_automake"; then
3929 { echo "$as_me:$LINENO: result: $aros_host_automake" >&5
3930 echo "${ECHO_T}$aros_host_automake" >&6; }
3932 { echo "$as_me:$LINENO: result: no" >&5
3933 echo "${ECHO_T}no" >&6; }
3937 test -n "$aros_host_automake" && break
3941 if test "$aros_host_aclocal" = ""; then
3942 { { echo "$as_me:$LINENO: error: aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." >&5
3943 echo "$as_me: error: aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." >&2;}
3944 { (exit 1); exit 1; }; }
3946 if test "$aros_host_automake" = ""; then
3947 { { echo "$as_me:$LINENO: error: automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." >&5
3948 echo "$as_me: error: automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." >&2;}
3949 { (exit 1); exit 1; }; }
3952 case "$aros_host_cc" in
3954 aros_host_cc_pipe
="-pipe"
3957 aros_host_cc_pipe
=""
3960 aros_host_cc_pipe
=""
3964 aros_kernel_cc_includes
=""
3965 aros_target_cc_includes
=""
3967 # This is the main host configuration section. It is where the host
3968 # can change the values of any variables it needs to change. We do
3969 # not look at anything that compiles to the target yet, we'll get
3974 aros_host_arch
="aros"
3975 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3978 aros_host_cpu
="i386"
3981 aros_host_cpu
="x86_64"
3987 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
3988 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
3989 aros_host_cpu
="$host_cpu"
3995 aros_host_arch
="linux"
3996 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3999 aros_host_cpu
="i386"
4002 aros_host_cpu
="x86_64"
4005 aros_host_cpu
="m68k"
4014 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4015 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4016 aros_host_cpu
="$host_cpu"
4022 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4023 aros_host_make
="gmake"
4024 aros_host_arch
="freebsd"
4025 aros_host_cpu
="i386"
4027 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4031 aros_object_format
="elf_i386"
4035 aros_object_format
="elf_i386_fbsd"
4042 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4043 aros_host_arch
="darwin"
4046 aros_host_cpu
="i386"
4049 aros_host_cpu
="x86_64"
4055 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4056 echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4057 aros_host_cpu
="$host_cpu"
4061 aros_host_ldflags
="$aros_host_ldflags -liconv"
4066 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4067 aros_host_make
="gmake"
4068 aros_host_arch
="dragonfly"
4071 aros_host_cpu
="i386"
4074 aros_host_cpu
="x86_64"
4077 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4078 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4079 aros_host_cpu
="$host_cpu"
4085 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4086 aros_host_make
="gmake"
4087 aros_host_arch
="netbsd"
4090 aros_host_cpu
="i386"
4093 aros_host_cpu
="m68k"
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"
4101 aros_host_lib_suffix
=".0.0"
4105 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4106 aros_host_make
="gmake"
4107 aros_host_arch
="openbsd"
4110 aros_host_cpu
="i386"
4113 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4114 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4115 aros_host_cpu
="$host_cpu"
4121 aros_host_arch
="solaris"
4122 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4125 aros_host_cpu
="i386"
4128 aros_host_cpu
="sparc"
4131 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4132 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4133 aros_host_cpu
="$host_cpu"
4139 aros_host_arch
="morphos"
4144 aros_host_arch
="amiga"
4149 TOUCH
="/gg/bin/touch"
4152 aros_host_cpu
="m68k"
4158 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4159 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4160 aros_host_cpu
="$host_cpu"
4166 aros_host_arch
="cygwin"
4167 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4170 aros_host_cpu
="i386"
4173 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4174 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4175 aros_host_cpu
="$host_cpu"
4181 aros_host_arch
="mingw32"
4182 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4185 aros_host_cpu
="i386"
4188 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4189 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4190 aros_host_cpu
="$host_cpu"
4195 { { echo "$as_me:$LINENO: error: Unsupported host architecture $host" >&5
4196 echo "$as_me: error: Unsupported host architecture $host" >&2;}
4197 { (exit 1); exit 1; }; }
4201 # Extract the first word of "ar", so it can be a program name with args.
4202 set dummy
ar; ac_word
=$2
4203 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4204 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4205 if test "${ac_cv_prog_aros_host_ar+set}" = set; then
4206 echo $ECHO_N "(cached) $ECHO_C" >&6
4208 if test -n "$aros_host_ar"; then
4209 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4211 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4215 test -z "$as_dir" && as_dir
=.
4216 for ac_exec_ext
in '' $ac_executable_extensions; do
4217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4218 ac_cv_prog_aros_host_ar
="ar cr"
4219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4228 aros_host_ar
=$ac_cv_prog_aros_host_ar
4229 if test -n "$aros_host_ar"; then
4230 { echo "$as_me:$LINENO: result: $aros_host_ar" >&5
4231 echo "${ECHO_T}$aros_host_ar" >&6; }
4233 { echo "$as_me:$LINENO: result: no" >&5
4234 echo "${ECHO_T}no" >&6; }
4238 if test "$aros_host_ar" = ""; then
4239 { { echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
4240 echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
4241 { (exit 1); exit 1; }; }
4243 # Extract the first word of "ranlib", so it can be a program name with args.
4244 set dummy ranlib
; ac_word
=$2
4245 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4247 if test "${ac_cv_prog_aros_host_ranlib+set}" = set; then
4248 echo $ECHO_N "(cached) $ECHO_C" >&6
4250 if test -n "$aros_host_ranlib"; then
4251 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4257 test -z "$as_dir" && as_dir
=.
4258 for ac_exec_ext
in '' $ac_executable_extensions; do
4259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4260 ac_cv_prog_aros_host_ranlib
="ranlib "
4261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4270 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4271 if test -n "$aros_host_ranlib"; then
4272 { echo "$as_me:$LINENO: result: $aros_host_ranlib" >&5
4273 echo "${ECHO_T}$aros_host_ranlib" >&6; }
4275 { echo "$as_me:$LINENO: result: no" >&5
4276 echo "${ECHO_T}no" >&6; }
4280 if test "$aros_host_ranlib" = ""; then
4281 { { echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
4282 echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
4283 { (exit 1); exit 1; }; }
4285 # Extract the first word of "strip", so it can be a program name with args.
4286 set dummy strip
; ac_word
=$2
4287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4289 if test "${ac_cv_prog_aros_host_strip+set}" = set; then
4290 echo $ECHO_N "(cached) $ECHO_C" >&6
4292 if test -n "$aros_host_strip"; then
4293 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4299 test -z "$as_dir" && as_dir
=.
4300 for ac_exec_ext
in '' $ac_executable_extensions; do
4301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4302 ac_cv_prog_aros_host_strip
="strip "
4303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4312 aros_host_strip
=$ac_cv_prog_aros_host_strip
4313 if test -n "$aros_host_strip"; then
4314 { echo "$as_me:$LINENO: result: $aros_host_strip" >&5
4315 echo "${ECHO_T}$aros_host_strip" >&6; }
4317 { echo "$as_me:$LINENO: result: no" >&5
4318 echo "${ECHO_T}no" >&6; }
4322 if test "$aros_host_strip" = ""; then
4323 { { echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
4324 echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
4325 { (exit 1); exit 1; }; }
4328 # Extract the first word of "rm", so it can be a program name with args.
4329 set dummy
rm; ac_word
=$2
4330 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4331 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4332 if test "${ac_cv_prog_RM+set}" = set; then
4333 echo $ECHO_N "(cached) $ECHO_C" >&6
4335 if test -n "$RM"; then
4336 ac_cv_prog_RM
="$RM" # Let the user override the test.
4338 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4342 test -z "$as_dir" && as_dir
=.
4343 for ac_exec_ext
in '' $ac_executable_extensions; do
4344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4345 ac_cv_prog_RM
="rm -rf"
4346 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4356 if test -n "$RM"; then
4357 { echo "$as_me:$LINENO: result: $RM" >&5
4358 echo "${ECHO_T}$RM" >&6; }
4360 { echo "$as_me:$LINENO: result: no" >&5
4361 echo "${ECHO_T}no" >&6; }
4365 if test "$RM" = ""; then
4366 { { echo "$as_me:$LINENO: error: rm is required to build AROS. Please install and run configure again." >&5
4367 echo "$as_me: error: rm is required to build AROS. Please install and run configure again." >&2;}
4368 { (exit 1); exit 1; }; }
4370 # Extract the first word of "cp", so it can be a program name with args.
4371 set dummy
cp; ac_word
=$2
4372 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4373 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4374 if test "${ac_cv_prog_CP+set}" = set; then
4375 echo $ECHO_N "(cached) $ECHO_C" >&6
4377 if test -n "$CP"; then
4378 ac_cv_prog_CP
="$CP" # Let the user override the test.
4380 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4384 test -z "$as_dir" && as_dir
=.
4385 for ac_exec_ext
in '' $ac_executable_extensions; do
4386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4388 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4398 if test -n "$CP"; then
4399 { echo "$as_me:$LINENO: result: $CP" >&5
4400 echo "${ECHO_T}$CP" >&6; }
4402 { echo "$as_me:$LINENO: result: no" >&5
4403 echo "${ECHO_T}no" >&6; }
4407 if test "$CP" = ""; then
4408 { { echo "$as_me:$LINENO: error: cp is required to build AROS. Please install and run configure again." >&5
4409 echo "$as_me: error: cp is required to build AROS. Please install and run configure again." >&2;}
4410 { (exit 1); exit 1; }; }
4412 # Extract the first word of "mv", so it can be a program name with args.
4413 set dummy
mv; ac_word
=$2
4414 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4416 if test "${ac_cv_prog_MV+set}" = set; then
4417 echo $ECHO_N "(cached) $ECHO_C" >&6
4419 if test -n "$MV"; then
4420 ac_cv_prog_MV
="$MV" # Let the user override the test.
4422 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4426 test -z "$as_dir" && as_dir
=.
4427 for ac_exec_ext
in '' $ac_executable_extensions; do
4428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4430 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4440 if test -n "$MV"; then
4441 { echo "$as_me:$LINENO: result: $MV" >&5
4442 echo "${ECHO_T}$MV" >&6; }
4444 { echo "$as_me:$LINENO: result: no" >&5
4445 echo "${ECHO_T}no" >&6; }
4449 if test "$MV" = ""; then
4450 { { echo "$as_me:$LINENO: error: mv is required to build AROS. Please install and run configure again." >&5
4451 echo "$as_me: error: mv is required to build AROS. Please install and run configure again." >&2;}
4452 { (exit 1); exit 1; }; }
4454 # Extract the first word of "echo", so it can be a program name with args.
4455 set dummy
echo; ac_word
=$2
4456 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4458 if test "${ac_cv_prog_ECHO+set}" = set; then
4459 echo $ECHO_N "(cached) $ECHO_C" >&6
4461 if test -n "$ECHO"; then
4462 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
4464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4468 test -z "$as_dir" && as_dir
=.
4469 for ac_exec_ext
in '' $ac_executable_extensions; do
4470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4471 ac_cv_prog_ECHO
="echo "
4472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4481 ECHO
=$ac_cv_prog_ECHO
4482 if test -n "$ECHO"; then
4483 { echo "$as_me:$LINENO: result: $ECHO" >&5
4484 echo "${ECHO_T}$ECHO" >&6; }
4486 { echo "$as_me:$LINENO: result: no" >&5
4487 echo "${ECHO_T}no" >&6; }
4491 if test "$ECHO" = ""; then
4492 { { echo "$as_me:$LINENO: error: echo is required to build AROS. Please install and run configure again." >&5
4493 echo "$as_me: error: echo is required to build AROS. Please install and run configure again." >&2;}
4494 { (exit 1); exit 1; }; }
4496 # Extract the first word of "mkdir", so it can be a program name with args.
4497 set dummy mkdir
; ac_word
=$2
4498 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4500 if test "${ac_cv_prog_MKDIR+set}" = set; then
4501 echo $ECHO_N "(cached) $ECHO_C" >&6
4503 if test -n "$MKDIR"; then
4504 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
4506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4510 test -z "$as_dir" && as_dir
=.
4511 for ac_exec_ext
in '' $ac_executable_extensions; do
4512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4513 ac_cv_prog_MKDIR
="mkdir -p"
4514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4523 MKDIR
=$ac_cv_prog_MKDIR
4524 if test -n "$MKDIR"; then
4525 { echo "$as_me:$LINENO: result: $MKDIR" >&5
4526 echo "${ECHO_T}$MKDIR" >&6; }
4528 { echo "$as_me:$LINENO: result: no" >&5
4529 echo "${ECHO_T}no" >&6; }
4533 if test "$MKDIR" = ""; then
4534 { { echo "$as_me:$LINENO: error: mkdir is required to build AROS. Please install and run configure again." >&5
4535 echo "$as_me: error: mkdir is required to build AROS. Please install and run configure again." >&2;}
4536 { (exit 1); exit 1; }; }
4538 # Extract the first word of "touch", so it can be a program name with args.
4539 set dummy
touch; ac_word
=$2
4540 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4541 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4542 if test "${ac_cv_prog_TOUCH+set}" = set; then
4543 echo $ECHO_N "(cached) $ECHO_C" >&6
4545 if test -n "$TOUCH"; then
4546 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
4548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4552 test -z "$as_dir" && as_dir
=.
4553 for ac_exec_ext
in '' $ac_executable_extensions; do
4554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4555 ac_cv_prog_TOUCH
="touch "
4556 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4565 TOUCH
=$ac_cv_prog_TOUCH
4566 if test -n "$TOUCH"; then
4567 { echo "$as_me:$LINENO: result: $TOUCH" >&5
4568 echo "${ECHO_T}$TOUCH" >&6; }
4570 { echo "$as_me:$LINENO: result: no" >&5
4571 echo "${ECHO_T}no" >&6; }
4575 if test "$TOUCH" = ""; then
4576 { { echo "$as_me:$LINENO: error: touch is required to build AROS. Please install and run configure again." >&5
4577 echo "$as_me: error: touch is required to build AROS. Please install and run configure again." >&2;}
4578 { (exit 1); exit 1; }; }
4580 # Extract the first word of "sort", so it can be a program name with args.
4581 set dummy
sort; ac_word
=$2
4582 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4584 if test "${ac_cv_prog_SORT+set}" = set; then
4585 echo $ECHO_N "(cached) $ECHO_C" >&6
4587 if test -n "$SORT"; then
4588 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
4590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4594 test -z "$as_dir" && as_dir
=.
4595 for ac_exec_ext
in '' $ac_executable_extensions; do
4596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4597 ac_cv_prog_SORT
="sort "
4598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4607 SORT
=$ac_cv_prog_SORT
4608 if test -n "$SORT"; then
4609 { echo "$as_me:$LINENO: result: $SORT" >&5
4610 echo "${ECHO_T}$SORT" >&6; }
4612 { echo "$as_me:$LINENO: result: no" >&5
4613 echo "${ECHO_T}no" >&6; }
4617 if test "$SORT" = ""; then
4618 { { echo "$as_me:$LINENO: error: sort is required to build AROS. Please install and run configure again." >&5
4619 echo "$as_me: error: sort is required to build AROS. Please install and run configure again." >&2;}
4620 { (exit 1); exit 1; }; }
4622 # Extract the first word of "uniq", so it can be a program name with args.
4623 set dummy
uniq; ac_word
=$2
4624 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4626 if test "${ac_cv_prog_UNIQ+set}" = set; then
4627 echo $ECHO_N "(cached) $ECHO_C" >&6
4629 if test -n "$UNIQ"; then
4630 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
4632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4636 test -z "$as_dir" && as_dir
=.
4637 for ac_exec_ext
in '' $ac_executable_extensions; do
4638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4639 ac_cv_prog_UNIQ
="uniq "
4640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4649 UNIQ
=$ac_cv_prog_UNIQ
4650 if test -n "$UNIQ"; then
4651 { echo "$as_me:$LINENO: result: $UNIQ" >&5
4652 echo "${ECHO_T}$UNIQ" >&6; }
4654 { echo "$as_me:$LINENO: result: no" >&5
4655 echo "${ECHO_T}no" >&6; }
4659 if test "$UNIQ" = ""; then
4660 { { echo "$as_me:$LINENO: error: uniq is required to build AROS. Please install and run configure again." >&5
4661 echo "$as_me: error: uniq is required to build AROS. Please install and run configure again." >&2;}
4662 { (exit 1); exit 1; }; }
4664 # Extract the first word of "true", so it can be a program name with args.
4665 set dummy true
; ac_word
=$2
4666 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4668 if test "${ac_cv_prog_NOP+set}" = set; then
4669 echo $ECHO_N "(cached) $ECHO_C" >&6
4671 if test -n "$NOP"; then
4672 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
4674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4678 test -z "$as_dir" && as_dir
=.
4679 for ac_exec_ext
in '' $ac_executable_extensions; do
4680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4681 ac_cv_prog_NOP
="true "
4682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4692 if test -n "$NOP"; then
4693 { echo "$as_me:$LINENO: result: $NOP" >&5
4694 echo "${ECHO_T}$NOP" >&6; }
4696 { echo "$as_me:$LINENO: result: no" >&5
4697 echo "${ECHO_T}no" >&6; }
4701 if test "$NOP" = ""; then
4702 { { echo "$as_me:$LINENO: error: true is required to build AROS. Please install and run configure again." >&5
4703 echo "$as_me: error: true is required to build AROS. Please install and run configure again." >&2;}
4704 { (exit 1); exit 1; }; }
4706 # Extract the first word of "cat", so it can be a program name with args.
4707 set dummy
cat; ac_word
=$2
4708 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4710 if test "${ac_cv_prog_CAT+set}" = set; then
4711 echo $ECHO_N "(cached) $ECHO_C" >&6
4713 if test -n "$CAT"; then
4714 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
4716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4720 test -z "$as_dir" && as_dir
=.
4721 for ac_exec_ext
in '' $ac_executable_extensions; do
4722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4723 ac_cv_prog_CAT
="cat "
4724 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4734 if test -n "$CAT"; then
4735 { echo "$as_me:$LINENO: result: $CAT" >&5
4736 echo "${ECHO_T}$CAT" >&6; }
4738 { echo "$as_me:$LINENO: result: no" >&5
4739 echo "${ECHO_T}no" >&6; }
4743 if test "$CAT" = ""; then
4744 { { echo "$as_me:$LINENO: error: cat is required to build AROS. Please install and run configure again." >&5
4745 echo "$as_me: error: cat is required to build AROS. Please install and run configure again." >&2;}
4746 { (exit 1); exit 1; }; }
4748 # Extract the first word of "bison", so it can be a program name with args.
4749 set dummy bison
; ac_word
=$2
4750 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4752 if test "${ac_cv_prog_BISON+set}" = set; then
4753 echo $ECHO_N "(cached) $ECHO_C" >&6
4755 if test -n "$BISON"; then
4756 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4762 test -z "$as_dir" && as_dir
=.
4763 for ac_exec_ext
in '' $ac_executable_extensions; do
4764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4765 ac_cv_prog_BISON
="bison "
4766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4775 BISON
=$ac_cv_prog_BISON
4776 if test -n "$BISON"; then
4777 { echo "$as_me:$LINENO: result: $BISON" >&5
4778 echo "${ECHO_T}$BISON" >&6; }
4780 { echo "$as_me:$LINENO: result: no" >&5
4781 echo "${ECHO_T}no" >&6; }
4785 if test "$BISON" = ""; then
4786 { { echo "$as_me:$LINENO: error: bison is required to build AROS. Please install and run configure again." >&5
4787 echo "$as_me: error: bison is required to build AROS. Please install and run configure again." >&2;}
4788 { (exit 1); exit 1; }; }
4790 # Extract the first word of "flex", so it can be a program name with args.
4791 set dummy flex
; ac_word
=$2
4792 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4794 if test "${ac_cv_prog_FLEX+set}" = set; then
4795 echo $ECHO_N "(cached) $ECHO_C" >&6
4797 if test -n "$FLEX"; then
4798 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4804 test -z "$as_dir" && as_dir
=.
4805 for ac_exec_ext
in '' $ac_executable_extensions; do
4806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4807 ac_cv_prog_FLEX
="flex "
4808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4817 FLEX
=$ac_cv_prog_FLEX
4818 if test -n "$FLEX"; then
4819 { echo "$as_me:$LINENO: result: $FLEX" >&5
4820 echo "${ECHO_T}$FLEX" >&6; }
4822 { echo "$as_me:$LINENO: result: no" >&5
4823 echo "${ECHO_T}no" >&6; }
4827 if test "$FLEX" = ""; then
4828 { { echo "$as_me:$LINENO: error: flex is required to build AROS. Please install and run configure again." >&5
4829 echo "$as_me: error: flex is required to build AROS. Please install and run configure again." >&2;}
4830 { (exit 1); exit 1; }; }
4832 # Extract the first word of "pngtopnm", so it can be a program name with args.
4833 set dummy pngtopnm
; ac_word
=$2
4834 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4836 if test "${ac_cv_prog_PNGTOPNM+set}" = set; then
4837 echo $ECHO_N "(cached) $ECHO_C" >&6
4839 if test -n "$PNGTOPNM"; then
4840 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
4842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4846 test -z "$as_dir" && as_dir
=.
4847 for ac_exec_ext
in '' $ac_executable_extensions; do
4848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4849 ac_cv_prog_PNGTOPNM
="pngtopnm "
4850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4859 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
4860 if test -n "$PNGTOPNM"; then
4861 { echo "$as_me:$LINENO: result: $PNGTOPNM" >&5
4862 echo "${ECHO_T}$PNGTOPNM" >&6; }
4864 { echo "$as_me:$LINENO: result: no" >&5
4865 echo "${ECHO_T}no" >&6; }
4869 if test "$PNGTOPNM" = ""; then
4870 { { echo "$as_me:$LINENO: error: pngtopnm is required to build AROS. Please install and run configure again." >&5
4871 echo "$as_me: error: pngtopnm is required to build AROS. Please install and run configure again." >&2;}
4872 { (exit 1); exit 1; }; }
4874 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
4875 set dummy ppmtoilbm
; ac_word
=$2
4876 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4878 if test "${ac_cv_prog_PPMTOILBM+set}" = set; then
4879 echo $ECHO_N "(cached) $ECHO_C" >&6
4881 if test -n "$PPMTOILBM"; then
4882 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
4884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4888 test -z "$as_dir" && as_dir
=.
4889 for ac_exec_ext
in '' $ac_executable_extensions; do
4890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4891 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
4892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4901 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
4902 if test -n "$PPMTOILBM"; then
4903 { echo "$as_me:$LINENO: result: $PPMTOILBM" >&5
4904 echo "${ECHO_T}$PPMTOILBM" >&6; }
4906 { echo "$as_me:$LINENO: result: no" >&5
4907 echo "${ECHO_T}no" >&6; }
4911 if test "$PPMTOILBM" = ""; then
4912 { { echo "$as_me:$LINENO: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&5
4913 echo "$as_me: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&2;}
4914 { (exit 1); exit 1; }; }
4916 # Extract the first word of "sed", so it can be a program name with args.
4917 set dummy
sed; ac_word
=$2
4918 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4920 if test "${ac_cv_prog_SED+set}" = set; then
4921 echo $ECHO_N "(cached) $ECHO_C" >&6
4923 if test -n "$SED"; then
4924 ac_cv_prog_SED
="$SED" # Let the user override the test.
4926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4930 test -z "$as_dir" && as_dir
=.
4931 for ac_exec_ext
in '' $ac_executable_extensions; do
4932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4933 ac_cv_prog_SED
="sed "
4934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4944 if test -n "$SED"; then
4945 { echo "$as_me:$LINENO: result: $SED" >&5
4946 echo "${ECHO_T}$SED" >&6; }
4948 { echo "$as_me:$LINENO: result: no" >&5
4949 echo "${ECHO_T}no" >&6; }
4953 if test "$SED" = ""; then
4954 { { echo "$as_me:$LINENO: error: sed is required to build AROS. Please install and run configure again." >&5
4955 echo "$as_me: error: sed is required to build AROS. Please install and run configure again." >&2;}
4956 { (exit 1); exit 1; }; }
4958 # Extract the first word of "chmod", so it can be a program name with args.
4959 set dummy
chmod; ac_word
=$2
4960 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4961 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4962 if test "${ac_cv_prog_CHMOD+set}" = set; then
4963 echo $ECHO_N "(cached) $ECHO_C" >&6
4965 if test -n "$CHMOD"; then
4966 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
4968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4972 test -z "$as_dir" && as_dir
=.
4973 for ac_exec_ext
in '' $ac_executable_extensions; do
4974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4975 ac_cv_prog_CHMOD
="chmod "
4976 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4985 CHMOD
=$ac_cv_prog_CHMOD
4986 if test -n "$CHMOD"; then
4987 { echo "$as_me:$LINENO: result: $CHMOD" >&5
4988 echo "${ECHO_T}$CHMOD" >&6; }
4990 { echo "$as_me:$LINENO: result: no" >&5
4991 echo "${ECHO_T}no" >&6; }
4995 if test "$CHMOD" = ""; then
4996 { { echo "$as_me:$LINENO: error: chmod is required to build AROS. Please install and run configure again." >&5
4997 echo "$as_me: error: chmod is required to build AROS. Please install and run configure again." >&2;}
4998 { (exit 1); exit 1; }; }
5005 if test -n "$PYTHON"; then
5006 # If the user set $PYTHON, use it and don't search something else.
5007 { echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.5" >&5
5008 echo $ECHO_N "checking whether $PYTHON version >= 2.5... $ECHO_C" >&6; }
5009 prog
="import sys, string
5010 # split strings by '.' and convert to numeric. Append some zeros
5011 # because we need at least 4 digits for the hex conversion.
5012 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5014 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5015 sys.exit(sys.hexversion < minverhex)"
5016 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5017 ($PYTHON -c "$prog") >&5 2>&5
5019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5020 (exit $ac_status); }; then
5021 { echo "$as_me:$LINENO: result: yes" >&5
5022 echo "${ECHO_T}yes" >&6; }
5024 { { echo "$as_me:$LINENO: error: too old" >&5
5025 echo "$as_me: error: too old" >&2;}
5026 { (exit 1); exit 1; }; }
5029 am_display_PYTHON
=$PYTHON
5031 # Otherwise, try each interpreter until we find one that satisfies
5033 { echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.5" >&5
5034 echo $ECHO_N "checking for a Python interpreter with version >= 2.5... $ECHO_C" >&6; }
5035 if test "${am_cv_pathless_PYTHON+set}" = set; then
5036 echo $ECHO_N "(cached) $ECHO_C" >&6
5039 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
5040 test "$am_cv_pathless_PYTHON" = none
&& break
5041 prog
="import sys, string
5042 # split strings by '.' and convert to numeric. Append some zeros
5043 # because we need at least 4 digits for the hex conversion.
5044 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5046 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5047 sys.exit(sys.hexversion < minverhex)"
5048 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5049 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5052 (exit $ac_status); }; then
5058 { echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
5059 echo "${ECHO_T}$am_cv_pathless_PYTHON" >&6; }
5060 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5061 if test "$am_cv_pathless_PYTHON" = none
; then
5064 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5065 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5066 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5068 if test "${ac_cv_path_PYTHON+set}" = set; then
5069 echo $ECHO_N "(cached) $ECHO_C" >&6
5073 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5080 test -z "$as_dir" && as_dir
=.
5081 for ac_exec_ext
in '' $ac_executable_extensions; do
5082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5083 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5094 PYTHON
=$ac_cv_path_PYTHON
5095 if test -n "$PYTHON"; then
5096 { echo "$as_me:$LINENO: result: $PYTHON" >&5
5097 echo "${ECHO_T}$PYTHON" >&6; }
5099 { echo "$as_me:$LINENO: result: no" >&5
5100 echo "${ECHO_T}no" >&6; }
5105 am_display_PYTHON
=$am_cv_pathless_PYTHON
5109 if test "$PYTHON" = :; then
5110 { { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
5111 echo "$as_me: error: no suitable Python interpreter found" >&2;}
5112 { (exit 1); exit 1; }; }
5116 { echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
5117 echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; }
5118 if test "${am_cv_python_version+set}" = set; then
5119 echo $ECHO_N "(cached) $ECHO_C" >&6
5121 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
5123 { echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
5124 echo "${ECHO_T}$am_cv_python_version" >&6; }
5125 PYTHON_VERSION
=$am_cv_python_version
5129 PYTHON_PREFIX
='${prefix}'
5131 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5135 { echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
5136 echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; }
5137 if test "${am_cv_python_platform+set}" = set; then
5138 echo $ECHO_N "(cached) $ECHO_C" >&6
5140 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
5142 { echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
5143 echo "${ECHO_T}$am_cv_python_platform" >&6; }
5144 PYTHON_PLATFORM
=$am_cv_python_platform
5149 { echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
5150 echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6; }
5151 if test "${am_cv_python_pythondir+set}" = set; then
5152 echo $ECHO_N "(cached) $ECHO_C" >&6
5154 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5155 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5157 { echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
5158 echo "${ECHO_T}$am_cv_python_pythondir" >&6; }
5159 pythondir
=$am_cv_python_pythondir
5163 pkgpythondir
=\
${pythondir}/$PACKAGE
5166 { echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
5167 echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6; }
5168 if test "${am_cv_python_pyexecdir+set}" = set; then
5169 echo $ECHO_N "(cached) $ECHO_C" >&6
5171 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5172 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5174 { echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
5175 echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; }
5176 pyexecdir
=$am_cv_python_pyexecdir
5180 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5198 # Check for some includes for the X11 HIDD and the kernel
5201 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5202 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5203 if test "${ac_cv_path_GREP+set}" = set; then
5204 echo $ECHO_N "(cached) $ECHO_C" >&6
5206 # Extract the first word of "grep ggrep" to use in msg output
5207 if test -z "$GREP"; then
5208 set dummy
grep ggrep
; ac_prog_name
=$2
5209 if test "${ac_cv_path_GREP+set}" = set; then
5210 echo $ECHO_N "(cached) $ECHO_C" >&6
5212 ac_path_GREP_found
=false
5213 # Loop through the user's path and test for each of PROGNAME-LIST
5214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5215 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5218 test -z "$as_dir" && as_dir
=.
5219 for ac_prog
in grep ggrep
; do
5220 for ac_exec_ext
in '' $ac_executable_extensions; do
5221 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5222 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5223 # Check for GNU ac_path_GREP and select it if it is found.
5224 # Check for GNU $ac_path_GREP
5225 case `"$ac_path_GREP" --version 2>&1` in
5227 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5230 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5233 cat "conftest.in" "conftest.in" >"conftest.tmp"
5234 mv "conftest.tmp" "conftest.in"
5235 cp "conftest.in" "conftest.nl"
5236 echo 'GREP' >> "conftest.nl"
5237 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5238 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5239 ac_count
=`expr $ac_count + 1`
5240 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5241 # Best one so far, save it but keep looking for a better one
5242 ac_cv_path_GREP
="$ac_path_GREP"
5243 ac_path_GREP_max
=$ac_count
5245 # 10*(2^10) chars as input seems more than enough
5246 test $ac_count -gt 10 && break
5248 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5252 $ac_path_GREP_found && break 3
5262 GREP
="$ac_cv_path_GREP"
5263 if test -z "$GREP"; then
5264 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5265 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5266 { (exit 1); exit 1; }; }
5270 ac_cv_path_GREP
=$GREP
5275 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5276 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5277 GREP
="$ac_cv_path_GREP"
5280 { echo "$as_me:$LINENO: checking for egrep" >&5
5281 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5282 if test "${ac_cv_path_EGREP+set}" = set; then
5283 echo $ECHO_N "(cached) $ECHO_C" >&6
5285 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5286 then ac_cv_path_EGREP
="$GREP -E"
5288 # Extract the first word of "egrep" to use in msg output
5289 if test -z "$EGREP"; then
5290 set dummy
egrep; ac_prog_name
=$2
5291 if test "${ac_cv_path_EGREP+set}" = set; then
5292 echo $ECHO_N "(cached) $ECHO_C" >&6
5294 ac_path_EGREP_found
=false
5295 # Loop through the user's path and test for each of PROGNAME-LIST
5296 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5297 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5300 test -z "$as_dir" && as_dir
=.
5301 for ac_prog
in egrep; do
5302 for ac_exec_ext
in '' $ac_executable_extensions; do
5303 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5304 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5305 # Check for GNU ac_path_EGREP and select it if it is found.
5306 # Check for GNU $ac_path_EGREP
5307 case `"$ac_path_EGREP" --version 2>&1` in
5309 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5312 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5315 cat "conftest.in" "conftest.in" >"conftest.tmp"
5316 mv "conftest.tmp" "conftest.in"
5317 cp "conftest.in" "conftest.nl"
5318 echo 'EGREP' >> "conftest.nl"
5319 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5320 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5321 ac_count
=`expr $ac_count + 1`
5322 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5323 # Best one so far, save it but keep looking for a better one
5324 ac_cv_path_EGREP
="$ac_path_EGREP"
5325 ac_path_EGREP_max
=$ac_count
5327 # 10*(2^10) chars as input seems more than enough
5328 test $ac_count -gt 10 && break
5330 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5334 $ac_path_EGREP_found && break 3
5344 EGREP
="$ac_cv_path_EGREP"
5345 if test -z "$EGREP"; then
5346 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5347 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5348 { (exit 1); exit 1; }; }
5352 ac_cv_path_EGREP
=$EGREP
5358 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5359 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5360 EGREP
="$ac_cv_path_EGREP"
5363 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5364 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5365 if test "${ac_cv_header_stdc+set}" = set; then
5366 echo $ECHO_N "(cached) $ECHO_C" >&6
5368 cat >conftest.
$ac_ext <<_ACEOF
5371 cat confdefs.h
>>conftest.
$ac_ext
5372 cat >>conftest.
$ac_ext <<_ACEOF
5373 /* end confdefs.h. */
5387 rm -f conftest.
$ac_objext
5388 if { (ac_try
="$ac_compile"
5390 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5391 *) ac_try_echo=$ac_try;;
5393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5394 (eval "$ac_compile") 2>conftest.er1
5396 grep -v '^ *+' conftest.er1 >conftest.err
5398 cat conftest.err >&5
5399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5400 (exit $ac_status); } && {
5401 test -z "$ac_c_werror_flag" ||
5402 test ! -s conftest.err
5403 } && test -s conftest.$ac_objext; then
5404 ac_cv_header_stdc=yes
5406 echo "$as_me: failed program was:" >&5
5407 sed 's/^/| /' conftest.$ac_ext >&5
5409 ac_cv_header_stdc=no
5412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5414 if test $ac_cv_header_stdc = yes; then
5415 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5416 cat >conftest.$ac_ext <<_ACEOF
5419 cat confdefs.h >>conftest.$ac_ext
5420 cat >>conftest.$ac_ext <<_ACEOF
5421 /* end confdefs.h. */
5425 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5426 $EGREP "memchr" >/dev/null 2>&1; then
5429 ac_cv_header_stdc=no
5435 if test $ac_cv_header_stdc = yes; then
5436 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5437 cat >conftest.$ac_ext <<_ACEOF
5440 cat confdefs.h >>conftest.$ac_ext
5441 cat >>conftest.$ac_ext <<_ACEOF
5442 /* end confdefs.h. */
5446 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5447 $EGREP "free" >/dev/null 2>&1; then
5450 ac_cv_header_stdc=no
5456 if test $ac_cv_header_stdc = yes; then
5457 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5458 if test "$cross_compiling" = yes; then
5461 cat >conftest.$ac_ext <<_ACEOF
5464 cat confdefs.h >>conftest.$ac_ext
5465 cat >>conftest.$ac_ext <<_ACEOF
5466 /* end confdefs.h. */
5469 #if ((' ' & 0x0FF) == 0x020)
5470 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5471 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5473 # define ISLOWER(c) \
5474 (('a' <= (c) && (c) <= 'i') \
5475 || ('j' <= (c) && (c) <= 'r') \
5476 || ('s' <= (c) && (c) <= 'z'))
5477 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5480 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5485 for (i = 0; i < 256; i++)
5486 if (XOR (islower (i), ISLOWER (i))
5487 || toupper (i) != TOUPPER (i))
5492 rm -f conftest$ac_exeext
5493 if { (ac_try="$ac_link"
5495 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5496 *) ac_try_echo
=$ac_try;;
5498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5499 (eval "$ac_link") 2>&5
5501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5502 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5503 { (case "(($ac_try" in
5504 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5505 *) ac_try_echo=$ac_try;;
5507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5508 (eval "$ac_try") 2>&5
5510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5511 (exit $ac_status); }; }; then
5514 echo "$as_me: program exited with status $ac_status" >&5
5515 echo "$as_me: failed program was:" >&5
5516 sed 's/^/| /' conftest.$ac_ext >&5
5519 ac_cv_header_stdc=no
5521 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5527 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5528 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5529 if test $ac_cv_header_stdc = yes; then
5531 cat >>confdefs.h <<\_ACEOF
5532 #define STDC_HEADERS 1
5537 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5547 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5548 inttypes.h stdint.h unistd.h
5550 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5551 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5552 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5553 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5554 echo $ECHO_N "(cached) $ECHO_C" >&6
5556 cat >conftest.$ac_ext <<_ACEOF
5559 cat confdefs.h >>conftest.$ac_ext
5560 cat >>conftest.$ac_ext <<_ACEOF
5561 /* end confdefs.h. */
5562 $ac_includes_default
5564 #include <$ac_header>
5566 rm -f conftest.$ac_objext
5567 if { (ac_try="$ac_compile"
5569 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5570 *) ac_try_echo
=$ac_try;;
5572 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5573 (eval "$ac_compile") 2>conftest.er1
5575 grep -v '^ *+' conftest.er1
>conftest.err
5577 cat conftest.err
>&5
5578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5579 (exit $ac_status); } && {
5580 test -z "$ac_c_werror_flag" ||
5581 test ! -s conftest.err
5582 } && test -s conftest.
$ac_objext; then
5583 eval "$as_ac_Header=yes"
5585 echo "$as_me: failed program was:" >&5
5586 sed 's/^/| /' conftest.
$ac_ext >&5
5588 eval "$as_ac_Header=no"
5591 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5593 ac_res
=`eval echo '${'$as_ac_Header'}'`
5594 { echo "$as_me:$LINENO: result: $ac_res" >&5
5595 echo "${ECHO_T}$ac_res" >&6; }
5596 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5597 cat >>confdefs.h
<<_ACEOF
5598 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5615 for ac_header
in sys
/ipc.h sys
/shm.h \
5616 sys
/mmap.h sys
/mman.h sysexits.h \
5617 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
5620 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5621 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5622 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5623 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5624 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5625 echo $ECHO_N "(cached) $ECHO_C" >&6
5627 ac_res
=`eval echo '${'$as_ac_Header'}'`
5628 { echo "$as_me:$LINENO: result: $ac_res" >&5
5629 echo "${ECHO_T}$ac_res" >&6; }
5631 # Is the header compilable?
5632 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5633 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5634 cat >conftest.
$ac_ext <<_ACEOF
5637 cat confdefs.h
>>conftest.
$ac_ext
5638 cat >>conftest.
$ac_ext <<_ACEOF
5639 /* end confdefs.h. */
5640 $ac_includes_default
5641 #include <$ac_header>
5643 rm -f conftest.
$ac_objext
5644 if { (ac_try
="$ac_compile"
5646 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5647 *) ac_try_echo=$ac_try;;
5649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5650 (eval "$ac_compile") 2>conftest.er1
5652 grep -v '^ *+' conftest.er1 >conftest.err
5654 cat conftest.err >&5
5655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5656 (exit $ac_status); } && {
5657 test -z "$ac_c_werror_flag" ||
5658 test ! -s conftest.err
5659 } && test -s conftest.$ac_objext; then
5660 ac_header_compiler=yes
5662 echo "$as_me: failed program was:" >&5
5663 sed 's/^/| /' conftest.$ac_ext >&5
5665 ac_header_compiler=no
5668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5669 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5670 echo "${ECHO_T}$ac_header_compiler" >&6; }
5672 # Is the header present?
5673 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5674 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5675 cat >conftest.$ac_ext <<_ACEOF
5678 cat confdefs.h >>conftest.$ac_ext
5679 cat >>conftest.$ac_ext <<_ACEOF
5680 /* end confdefs.h. */
5681 #include <$ac_header>
5683 if { (ac_try="$ac_cpp conftest.$ac_ext"
5685 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5686 *) ac_try_echo
=$ac_try;;
5688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5689 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5691 grep -v '^ *+' conftest.er1
>conftest.err
5693 cat conftest.err
>&5
5694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5695 (exit $ac_status); } >/dev
/null
&& {
5696 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5697 test ! -s conftest.err
5699 ac_header_preproc
=yes
5701 echo "$as_me: failed program was:" >&5
5702 sed 's/^/| /' conftest.
$ac_ext >&5
5704 ac_header_preproc
=no
5707 rm -f conftest.err conftest.
$ac_ext
5708 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5709 echo "${ECHO_T}$ac_header_preproc" >&6; }
5711 # So? What about this header?
5712 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5714 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5715 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5716 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5717 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5718 ac_header_preproc
=yes
5721 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5722 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5723 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5724 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5725 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5726 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5727 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5728 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5729 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5730 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5731 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5732 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5736 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5737 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5738 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5739 echo $ECHO_N "(cached) $ECHO_C" >&6
5741 eval "$as_ac_Header=\$ac_header_preproc"
5743 ac_res
=`eval echo '${'$as_ac_Header'}'`
5744 { echo "$as_me:$LINENO: result: $ac_res" >&5
5745 echo "${ECHO_T}$ac_res" >&6; }
5748 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5749 cat >>confdefs.h
<<_ACEOF
5750 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5759 for ac_header
in sys
/mount.h
5761 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5762 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5763 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5764 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5765 echo $ECHO_N "(cached) $ECHO_C" >&6
5767 cat >conftest.
$ac_ext <<_ACEOF
5770 cat confdefs.h
>>conftest.
$ac_ext
5771 cat >>conftest.
$ac_ext <<_ACEOF
5772 /* end confdefs.h. */
5773 #include <sys/param.h>
5775 #include <$ac_header>
5777 rm -f conftest.
$ac_objext
5778 if { (ac_try
="$ac_compile"
5780 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5781 *) ac_try_echo=$ac_try;;
5783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5784 (eval "$ac_compile") 2>conftest.er1
5786 grep -v '^ *+' conftest.er1 >conftest.err
5788 cat conftest.err >&5
5789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5790 (exit $ac_status); } && {
5791 test -z "$ac_c_werror_flag" ||
5792 test ! -s conftest.err
5793 } && test -s conftest.$ac_objext; then
5794 eval "$as_ac_Header=yes"
5796 echo "$as_me: failed program was:" >&5
5797 sed 's/^/| /' conftest.$ac_ext >&5
5799 eval "$as_ac_Header=no"
5802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5804 ac_res=`eval echo '${'$as_ac_Header'}'`
5805 { echo "$as_me:$LINENO: result: $ac_res" >&5
5806 echo "${ECHO_T}$ac_res" >&6; }
5807 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5808 cat >>confdefs.h <<_ACEOF
5809 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5823 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
5824 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
5825 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
5826 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
5827 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5828 echo $ECHO_N "(cached) $ECHO_C" >&6
5830 cat >conftest.$ac_ext <<_ACEOF
5833 cat confdefs.h >>conftest.$ac_ext
5834 cat >>conftest.$ac_ext <<_ACEOF
5835 /* end confdefs.h. */
5836 #include <sys/types.h>
5848 rm -f conftest.$ac_objext
5849 if { (ac_try="$ac_compile"
5851 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5852 *) ac_try_echo
=$ac_try;;
5854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5855 (eval "$ac_compile") 2>conftest.er1
5857 grep -v '^ *+' conftest.er1
>conftest.err
5859 cat conftest.err
>&5
5860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5861 (exit $ac_status); } && {
5862 test -z "$ac_c_werror_flag" ||
5863 test ! -s conftest.err
5864 } && test -s conftest.
$ac_objext; then
5865 eval "$as_ac_Header=yes"
5867 echo "$as_me: failed program was:" >&5
5868 sed 's/^/| /' conftest.
$ac_ext >&5
5870 eval "$as_ac_Header=no"
5873 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5875 ac_res
=`eval echo '${'$as_ac_Header'}'`
5876 { echo "$as_me:$LINENO: result: $ac_res" >&5
5877 echo "${ECHO_T}$ac_res" >&6; }
5878 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5879 cat >>confdefs.h
<<_ACEOF
5880 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5883 ac_header_dirent
=$ac_hdr; break
5887 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5888 if test $ac_header_dirent = dirent.h
; then
5889 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
5890 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
5891 if test "${ac_cv_search_opendir+set}" = set; then
5892 echo $ECHO_N "(cached) $ECHO_C" >&6
5894 ac_func_search_save_LIBS
=$LIBS
5895 cat >conftest.
$ac_ext <<_ACEOF
5898 cat confdefs.h
>>conftest.
$ac_ext
5899 cat >>conftest.
$ac_ext <<_ACEOF
5900 /* end confdefs.h. */
5902 /* Override any GCC internal prototype to avoid an error.
5903 Use char because int might match the return type of a GCC
5904 builtin and then its argument prototype would still apply. */
5917 for ac_lib
in '' dir
; do
5918 if test -z "$ac_lib"; then
5919 ac_res
="none required"
5922 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5924 rm -f conftest.
$ac_objext conftest
$ac_exeext
5925 if { (ac_try
="$ac_link"
5927 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5928 *) ac_try_echo=$ac_try;;
5930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5931 (eval "$ac_link") 2>conftest.er1
5933 grep -v '^ *+' conftest.er1 >conftest.err
5935 cat conftest.err >&5
5936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5937 (exit $ac_status); } && {
5938 test -z "$ac_c_werror_flag" ||
5939 test ! -s conftest.err
5940 } && test -s conftest$ac_exeext &&
5941 $as_test_x conftest$ac_exeext; then
5942 ac_cv_search_opendir=$ac_res
5944 echo "$as_me: failed program was:" >&5
5945 sed 's/^/| /' conftest.$ac_ext >&5
5950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5952 if test "${ac_cv_search_opendir+set}" = set; then
5956 if test "${ac_cv_search_opendir+set}" = set; then
5959 ac_cv_search_opendir=no
5962 LIBS=$ac_func_search_save_LIBS
5964 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5965 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
5966 ac_res=$ac_cv_search_opendir
5967 if test "$ac_res" != no; then
5968 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5973 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
5974 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
5975 if test "${ac_cv_search_opendir+set}" = set; then
5976 echo $ECHO_N "(cached) $ECHO_C" >&6
5978 ac_func_search_save_LIBS=$LIBS
5979 cat >conftest.$ac_ext <<_ACEOF
5982 cat confdefs.h >>conftest.$ac_ext
5983 cat >>conftest.$ac_ext <<_ACEOF
5984 /* end confdefs.h. */
5986 /* Override any GCC internal prototype to avoid an error.
5987 Use char because int might match the return type of a GCC
5988 builtin and then its argument prototype would still apply. */
6001 for ac_lib in '' x; do
6002 if test -z "$ac_lib"; then
6003 ac_res="none required"
6006 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6008 rm -f conftest.$ac_objext conftest$ac_exeext
6009 if { (ac_try="$ac_link"
6011 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6012 *) ac_try_echo
=$ac_try;;
6014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6015 (eval "$ac_link") 2>conftest.er1
6017 grep -v '^ *+' conftest.er1
>conftest.err
6019 cat conftest.err
>&5
6020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6021 (exit $ac_status); } && {
6022 test -z "$ac_c_werror_flag" ||
6023 test ! -s conftest.err
6024 } && test -s conftest
$ac_exeext &&
6025 $as_test_x conftest
$ac_exeext; then
6026 ac_cv_search_opendir
=$ac_res
6028 echo "$as_me: failed program was:" >&5
6029 sed 's/^/| /' conftest.
$ac_ext >&5
6034 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6036 if test "${ac_cv_search_opendir+set}" = set; then
6040 if test "${ac_cv_search_opendir+set}" = set; then
6043 ac_cv_search_opendir
=no
6046 LIBS
=$ac_func_search_save_LIBS
6048 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6049 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
6050 ac_res
=$ac_cv_search_opendir
6051 if test "$ac_res" != no
; then
6052 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6058 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
6059 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
6060 if test "${ac_cv_header_stat_broken+set}" = set; then
6061 echo $ECHO_N "(cached) $ECHO_C" >&6
6063 cat >conftest.
$ac_ext <<_ACEOF
6066 cat confdefs.h
>>conftest.
$ac_ext
6067 cat >>conftest.
$ac_ext <<_ACEOF
6068 /* end confdefs.h. */
6069 #include <sys/types.h>
6070 #include <sys/stat.h>
6072 #if defined S_ISBLK && defined S_IFDIR
6073 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6076 #if defined S_ISBLK && defined S_IFCHR
6077 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6080 #if defined S_ISLNK && defined S_IFREG
6081 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6084 #if defined S_ISSOCK && defined S_IFREG
6085 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6089 rm -f conftest.
$ac_objext
6090 if { (ac_try
="$ac_compile"
6092 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6093 *) ac_try_echo=$ac_try;;
6095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6096 (eval "$ac_compile") 2>conftest.er1
6098 grep -v '^ *+' conftest.er1 >conftest.err
6100 cat conftest.err >&5
6101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6102 (exit $ac_status); } && {
6103 test -z "$ac_c_werror_flag" ||
6104 test ! -s conftest.err
6105 } && test -s conftest.$ac_objext; then
6106 ac_cv_header_stat_broken=no
6108 echo "$as_me: failed program was:" >&5
6109 sed 's/^/| /' conftest.$ac_ext >&5
6111 ac_cv_header_stat_broken=yes
6114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6116 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
6117 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
6118 if test $ac_cv_header_stat_broken = yes; then
6120 cat >>confdefs.h <<\_ACEOF
6121 #define STAT_MACROS_BROKEN 1
6126 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6127 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6128 if test "${ac_cv_header_stdc+set}" = set; then
6129 echo $ECHO_N "(cached) $ECHO_C" >&6
6131 cat >conftest.$ac_ext <<_ACEOF
6134 cat confdefs.h >>conftest.$ac_ext
6135 cat >>conftest.$ac_ext <<_ACEOF
6136 /* end confdefs.h. */
6150 rm -f conftest.$ac_objext
6151 if { (ac_try="$ac_compile"
6153 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6154 *) ac_try_echo
=$ac_try;;
6156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6157 (eval "$ac_compile") 2>conftest.er1
6159 grep -v '^ *+' conftest.er1
>conftest.err
6161 cat conftest.err
>&5
6162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6163 (exit $ac_status); } && {
6164 test -z "$ac_c_werror_flag" ||
6165 test ! -s conftest.err
6166 } && test -s conftest.
$ac_objext; then
6167 ac_cv_header_stdc
=yes
6169 echo "$as_me: failed program was:" >&5
6170 sed 's/^/| /' conftest.
$ac_ext >&5
6172 ac_cv_header_stdc
=no
6175 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6177 if test $ac_cv_header_stdc = yes; then
6178 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6179 cat >conftest.
$ac_ext <<_ACEOF
6182 cat confdefs.h
>>conftest.
$ac_ext
6183 cat >>conftest.
$ac_ext <<_ACEOF
6184 /* end confdefs.h. */
6188 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6189 $EGREP "memchr" >/dev
/null
2>&1; then
6192 ac_cv_header_stdc
=no
6198 if test $ac_cv_header_stdc = yes; then
6199 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6200 cat >conftest.
$ac_ext <<_ACEOF
6203 cat confdefs.h
>>conftest.
$ac_ext
6204 cat >>conftest.
$ac_ext <<_ACEOF
6205 /* end confdefs.h. */
6209 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6210 $EGREP "free" >/dev
/null
2>&1; then
6213 ac_cv_header_stdc
=no
6219 if test $ac_cv_header_stdc = yes; then
6220 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6221 if test "$cross_compiling" = yes; then
6224 cat >conftest.
$ac_ext <<_ACEOF
6227 cat confdefs.h
>>conftest.
$ac_ext
6228 cat >>conftest.
$ac_ext <<_ACEOF
6229 /* end confdefs.h. */
6232 #if ((' ' & 0x0FF) == 0x020)
6233 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6234 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6236 # define ISLOWER(c) \
6237 (('a' <= (c) && (c) <= 'i') \
6238 || ('j' <= (c) && (c) <= 'r') \
6239 || ('s' <= (c) && (c) <= 'z'))
6240 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6243 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6248 for (i = 0; i < 256; i++)
6249 if (XOR (islower (i), ISLOWER (i))
6250 || toupper (i) != TOUPPER (i))
6255 rm -f conftest
$ac_exeext
6256 if { (ac_try
="$ac_link"
6258 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6259 *) ac_try_echo=$ac_try;;
6261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6262 (eval "$ac_link") 2>&5
6264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6265 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6266 { (case "(($ac_try" in
6267 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6268 *) ac_try_echo
=$ac_try;;
6270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6271 (eval "$ac_try") 2>&5
6273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6274 (exit $ac_status); }; }; then
6277 echo "$as_me: program exited with status $ac_status" >&5
6278 echo "$as_me: failed program was:" >&5
6279 sed 's/^/| /' conftest.
$ac_ext >&5
6282 ac_cv_header_stdc
=no
6284 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6290 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6291 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6292 if test $ac_cv_header_stdc = yes; then
6294 cat >>confdefs.h
<<\_ACEOF
6295 #define STDC_HEADERS 1
6300 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
6301 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
6302 if test "${ac_cv_header_sys_wait_h+set}" = set; then
6303 echo $ECHO_N "(cached) $ECHO_C" >&6
6305 cat >conftest.
$ac_ext <<_ACEOF
6308 cat confdefs.h
>>conftest.
$ac_ext
6309 cat >>conftest.
$ac_ext <<_ACEOF
6310 /* end confdefs.h. */
6311 #include <sys/types.h>
6312 #include <sys/wait.h>
6314 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6317 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6325 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6330 rm -f conftest.
$ac_objext
6331 if { (ac_try
="$ac_compile"
6333 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6334 *) ac_try_echo=$ac_try;;
6336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6337 (eval "$ac_compile") 2>conftest.er1
6339 grep -v '^ *+' conftest.er1 >conftest.err
6341 cat conftest.err >&5
6342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6343 (exit $ac_status); } && {
6344 test -z "$ac_c_werror_flag" ||
6345 test ! -s conftest.err
6346 } && test -s conftest.$ac_objext; then
6347 ac_cv_header_sys_wait_h=yes
6349 echo "$as_me: failed program was:" >&5
6350 sed 's/^/| /' conftest.$ac_ext >&5
6352 ac_cv_header_sys_wait_h=no
6355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6357 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
6358 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
6359 if test $ac_cv_header_sys_wait_h = yes; then
6361 cat >>confdefs.h <<\_ACEOF
6362 #define HAVE_SYS_WAIT_H 1
6367 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6368 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
6369 if test "${ac_cv_header_time+set}" = set; then
6370 echo $ECHO_N "(cached) $ECHO_C" >&6
6372 cat >conftest.$ac_ext <<_ACEOF
6375 cat confdefs.h >>conftest.$ac_ext
6376 cat >>conftest.$ac_ext <<_ACEOF
6377 /* end confdefs.h. */
6378 #include <sys/types.h>
6379 #include <sys/time.h>
6385 if ((struct tm *) 0)
6391 rm -f conftest.$ac_objext
6392 if { (ac_try="$ac_compile"
6394 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6395 *) ac_try_echo
=$ac_try;;
6397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6398 (eval "$ac_compile") 2>conftest.er1
6400 grep -v '^ *+' conftest.er1
>conftest.err
6402 cat conftest.err
>&5
6403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6404 (exit $ac_status); } && {
6405 test -z "$ac_c_werror_flag" ||
6406 test ! -s conftest.err
6407 } && test -s conftest.
$ac_objext; then
6408 ac_cv_header_time
=yes
6410 echo "$as_me: failed program was:" >&5
6411 sed 's/^/| /' conftest.
$ac_ext >&5
6413 ac_cv_header_time
=no
6416 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6418 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6419 echo "${ECHO_T}$ac_cv_header_time" >&6; }
6420 if test $ac_cv_header_time = yes; then
6422 cat >>confdefs.h
<<\_ACEOF
6423 #define TIME_WITH_SYS_TIME 1
6428 { echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6429 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6; }
6430 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6431 echo $ECHO_N "(cached) $ECHO_C" >&6
6433 cat >conftest.
$ac_ext <<_ACEOF
6436 cat confdefs.h
>>conftest.
$ac_ext
6437 cat >>conftest.
$ac_ext <<_ACEOF
6438 /* end confdefs.h. */
6439 $ac_includes_default
6443 static struct stat ac_aggr;
6444 if (ac_aggr.st_blksize)
6450 rm -f conftest.
$ac_objext
6451 if { (ac_try
="$ac_compile"
6453 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6454 *) ac_try_echo=$ac_try;;
6456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6457 (eval "$ac_compile") 2>conftest.er1
6459 grep -v '^ *+' conftest.er1 >conftest.err
6461 cat conftest.err >&5
6462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6463 (exit $ac_status); } && {
6464 test -z "$ac_c_werror_flag" ||
6465 test ! -s conftest.err
6466 } && test -s conftest.$ac_objext; then
6467 ac_cv_member_struct_stat_st_blksize=yes
6469 echo "$as_me: failed program was:" >&5
6470 sed 's/^/| /' conftest.$ac_ext >&5
6472 cat >conftest.$ac_ext <<_ACEOF
6475 cat confdefs.h >>conftest.$ac_ext
6476 cat >>conftest.$ac_ext <<_ACEOF
6477 /* end confdefs.h. */
6478 $ac_includes_default
6482 static struct stat ac_aggr;
6483 if (sizeof ac_aggr.st_blksize)
6489 rm -f conftest.$ac_objext
6490 if { (ac_try="$ac_compile"
6492 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6493 *) ac_try_echo
=$ac_try;;
6495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6496 (eval "$ac_compile") 2>conftest.er1
6498 grep -v '^ *+' conftest.er1
>conftest.err
6500 cat conftest.err
>&5
6501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6502 (exit $ac_status); } && {
6503 test -z "$ac_c_werror_flag" ||
6504 test ! -s conftest.err
6505 } && test -s conftest.
$ac_objext; then
6506 ac_cv_member_struct_stat_st_blksize
=yes
6508 echo "$as_me: failed program was:" >&5
6509 sed 's/^/| /' conftest.
$ac_ext >&5
6511 ac_cv_member_struct_stat_st_blksize
=no
6514 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6517 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6519 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
6520 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6; }
6521 if test $ac_cv_member_struct_stat_st_blksize = yes; then
6523 cat >>confdefs.h
<<_ACEOF
6524 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6528 cat >>confdefs.h
<<\_ACEOF
6529 #define HAVE_ST_BLKSIZE 1
6535 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
6536 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
6537 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
6538 echo $ECHO_N "(cached) $ECHO_C" >&6
6540 cat >conftest.
$ac_ext <<_ACEOF
6543 cat confdefs.h
>>conftest.
$ac_ext
6544 cat >>conftest.
$ac_ext <<_ACEOF
6545 /* end confdefs.h. */
6546 $ac_includes_default
6550 static struct stat ac_aggr;
6551 if (ac_aggr.st_blocks)
6557 rm -f conftest.
$ac_objext
6558 if { (ac_try
="$ac_compile"
6560 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6561 *) ac_try_echo=$ac_try;;
6563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6564 (eval "$ac_compile") 2>conftest.er1
6566 grep -v '^ *+' conftest.er1 >conftest.err
6568 cat conftest.err >&5
6569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6570 (exit $ac_status); } && {
6571 test -z "$ac_c_werror_flag" ||
6572 test ! -s conftest.err
6573 } && test -s conftest.$ac_objext; then
6574 ac_cv_member_struct_stat_st_blocks=yes
6576 echo "$as_me: failed program was:" >&5
6577 sed 's/^/| /' conftest.$ac_ext >&5
6579 cat >conftest.$ac_ext <<_ACEOF
6582 cat confdefs.h >>conftest.$ac_ext
6583 cat >>conftest.$ac_ext <<_ACEOF
6584 /* end confdefs.h. */
6585 $ac_includes_default
6589 static struct stat ac_aggr;
6590 if (sizeof ac_aggr.st_blocks)
6596 rm -f conftest.$ac_objext
6597 if { (ac_try="$ac_compile"
6599 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6600 *) ac_try_echo
=$ac_try;;
6602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6603 (eval "$ac_compile") 2>conftest.er1
6605 grep -v '^ *+' conftest.er1
>conftest.err
6607 cat conftest.err
>&5
6608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6609 (exit $ac_status); } && {
6610 test -z "$ac_c_werror_flag" ||
6611 test ! -s conftest.err
6612 } && test -s conftest.
$ac_objext; then
6613 ac_cv_member_struct_stat_st_blocks
=yes
6615 echo "$as_me: failed program was:" >&5
6616 sed 's/^/| /' conftest.
$ac_ext >&5
6618 ac_cv_member_struct_stat_st_blocks
=no
6621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6624 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6626 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
6627 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
6628 if test $ac_cv_member_struct_stat_st_blocks = yes; then
6630 cat >>confdefs.h
<<_ACEOF
6631 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6635 cat >>confdefs.h
<<\_ACEOF
6636 #define HAVE_ST_BLOCKS 1
6640 case " $LIBOBJS " in
6641 *" fileblocks.$ac_objext "* ) ;;
6642 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6649 { echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6650 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6; }
6651 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6652 echo $ECHO_N "(cached) $ECHO_C" >&6
6654 cat >conftest.
$ac_ext <<_ACEOF
6657 cat confdefs.h
>>conftest.
$ac_ext
6658 cat >>conftest.
$ac_ext <<_ACEOF
6659 /* end confdefs.h. */
6660 $ac_includes_default
6664 static struct stat ac_aggr;
6665 if (ac_aggr.st_rdev)
6671 rm -f conftest.
$ac_objext
6672 if { (ac_try
="$ac_compile"
6674 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6675 *) ac_try_echo=$ac_try;;
6677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6678 (eval "$ac_compile") 2>conftest.er1
6680 grep -v '^ *+' conftest.er1 >conftest.err
6682 cat conftest.err >&5
6683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6684 (exit $ac_status); } && {
6685 test -z "$ac_c_werror_flag" ||
6686 test ! -s conftest.err
6687 } && test -s conftest.$ac_objext; then
6688 ac_cv_member_struct_stat_st_rdev=yes
6690 echo "$as_me: failed program was:" >&5
6691 sed 's/^/| /' conftest.$ac_ext >&5
6693 cat >conftest.$ac_ext <<_ACEOF
6696 cat confdefs.h >>conftest.$ac_ext
6697 cat >>conftest.$ac_ext <<_ACEOF
6698 /* end confdefs.h. */
6699 $ac_includes_default
6703 static struct stat ac_aggr;
6704 if (sizeof ac_aggr.st_rdev)
6710 rm -f conftest.$ac_objext
6711 if { (ac_try="$ac_compile"
6713 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6714 *) ac_try_echo
=$ac_try;;
6716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6717 (eval "$ac_compile") 2>conftest.er1
6719 grep -v '^ *+' conftest.er1
>conftest.err
6721 cat conftest.err
>&5
6722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6723 (exit $ac_status); } && {
6724 test -z "$ac_c_werror_flag" ||
6725 test ! -s conftest.err
6726 } && test -s conftest.
$ac_objext; then
6727 ac_cv_member_struct_stat_st_rdev
=yes
6729 echo "$as_me: failed program was:" >&5
6730 sed 's/^/| /' conftest.
$ac_ext >&5
6732 ac_cv_member_struct_stat_st_rdev
=no
6735 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6738 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6740 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
6741 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6; }
6742 if test $ac_cv_member_struct_stat_st_rdev = yes; then
6744 cat >>confdefs.h
<<_ACEOF
6745 #define HAVE_STRUCT_STAT_ST_RDEV 1
6749 cat >>confdefs.h
<<\_ACEOF
6750 #define HAVE_ST_RDEV 1
6756 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6757 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
6758 if test "${ac_cv_struct_tm+set}" = set; then
6759 echo $ECHO_N "(cached) $ECHO_C" >&6
6761 cat >conftest.
$ac_ext <<_ACEOF
6764 cat confdefs.h
>>conftest.
$ac_ext
6765 cat >>conftest.
$ac_ext <<_ACEOF
6766 /* end confdefs.h. */
6767 #include <sys/types.h>
6774 int *p = &tm.tm_sec;
6780 rm -f conftest.
$ac_objext
6781 if { (ac_try
="$ac_compile"
6783 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6784 *) ac_try_echo=$ac_try;;
6786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6787 (eval "$ac_compile") 2>conftest.er1
6789 grep -v '^ *+' conftest.er1 >conftest.err
6791 cat conftest.err >&5
6792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6793 (exit $ac_status); } && {
6794 test -z "$ac_c_werror_flag" ||
6795 test ! -s conftest.err
6796 } && test -s conftest.$ac_objext; then
6797 ac_cv_struct_tm=time.h
6799 echo "$as_me: failed program was:" >&5
6800 sed 's/^/| /' conftest.$ac_ext >&5
6802 ac_cv_struct_tm=sys/time.h
6805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6807 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6808 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
6809 if test $ac_cv_struct_tm = sys/time.h; then
6811 cat >>confdefs.h <<\_ACEOF
6812 #define TM_IN_SYS_TIME 1
6817 { echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
6818 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6; }
6819 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
6820 echo $ECHO_N "(cached) $ECHO_C" >&6
6822 cat >conftest.$ac_ext <<_ACEOF
6825 cat confdefs.h >>conftest.$ac_ext
6826 cat >>conftest.$ac_ext <<_ACEOF
6827 /* end confdefs.h. */
6828 #include <sys/types.h>
6829 #include <$ac_cv_struct_tm>
6835 static struct tm ac_aggr;
6836 if (ac_aggr.tm_zone)
6842 rm -f conftest.$ac_objext
6843 if { (ac_try="$ac_compile"
6845 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6846 *) ac_try_echo
=$ac_try;;
6848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6849 (eval "$ac_compile") 2>conftest.er1
6851 grep -v '^ *+' conftest.er1
>conftest.err
6853 cat conftest.err
>&5
6854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6855 (exit $ac_status); } && {
6856 test -z "$ac_c_werror_flag" ||
6857 test ! -s conftest.err
6858 } && test -s conftest.
$ac_objext; then
6859 ac_cv_member_struct_tm_tm_zone
=yes
6861 echo "$as_me: failed program was:" >&5
6862 sed 's/^/| /' conftest.
$ac_ext >&5
6864 cat >conftest.
$ac_ext <<_ACEOF
6867 cat confdefs.h
>>conftest.
$ac_ext
6868 cat >>conftest.
$ac_ext <<_ACEOF
6869 /* end confdefs.h. */
6870 #include <sys/types.h>
6871 #include <$ac_cv_struct_tm>
6877 static struct tm ac_aggr;
6878 if (sizeof ac_aggr.tm_zone)
6884 rm -f conftest.
$ac_objext
6885 if { (ac_try
="$ac_compile"
6887 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6888 *) ac_try_echo=$ac_try;;
6890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6891 (eval "$ac_compile") 2>conftest.er1
6893 grep -v '^ *+' conftest.er1 >conftest.err
6895 cat conftest.err >&5
6896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6897 (exit $ac_status); } && {
6898 test -z "$ac_c_werror_flag" ||
6899 test ! -s conftest.err
6900 } && test -s conftest.$ac_objext; then
6901 ac_cv_member_struct_tm_tm_zone=yes
6903 echo "$as_me: failed program was:" >&5
6904 sed 's/^/| /' conftest.$ac_ext >&5
6906 ac_cv_member_struct_tm_tm_zone=no
6909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6914 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
6915 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6; }
6916 if test $ac_cv_member_struct_tm_tm_zone = yes; then
6918 cat >>confdefs.h <<_ACEOF
6919 #define HAVE_STRUCT_TM_TM_ZONE 1
6925 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6927 cat >>confdefs.h <<\_ACEOF
6928 #define HAVE_TM_ZONE 1
6932 { echo "$as_me:$LINENO: checking whether tzname is declared" >&5
6933 echo $ECHO_N "checking whether tzname is declared... $ECHO_C" >&6; }
6934 if test "${ac_cv_have_decl_tzname+set}" = set; then
6935 echo $ECHO_N "(cached) $ECHO_C" >&6
6937 cat >conftest.$ac_ext <<_ACEOF
6940 cat confdefs.h >>conftest.$ac_ext
6941 cat >>conftest.$ac_ext <<_ACEOF
6942 /* end confdefs.h. */
6956 rm -f conftest.$ac_objext
6957 if { (ac_try="$ac_compile"
6959 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6960 *) ac_try_echo
=$ac_try;;
6962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6963 (eval "$ac_compile") 2>conftest.er1
6965 grep -v '^ *+' conftest.er1
>conftest.err
6967 cat conftest.err
>&5
6968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6969 (exit $ac_status); } && {
6970 test -z "$ac_c_werror_flag" ||
6971 test ! -s conftest.err
6972 } && test -s conftest.
$ac_objext; then
6973 ac_cv_have_decl_tzname
=yes
6975 echo "$as_me: failed program was:" >&5
6976 sed 's/^/| /' conftest.
$ac_ext >&5
6978 ac_cv_have_decl_tzname
=no
6981 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6983 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5
6984 echo "${ECHO_T}$ac_cv_have_decl_tzname" >&6; }
6985 if test $ac_cv_have_decl_tzname = yes; then
6987 cat >>confdefs.h
<<_ACEOF
6988 #define HAVE_DECL_TZNAME 1
6993 cat >>confdefs.h
<<_ACEOF
6994 #define HAVE_DECL_TZNAME 0
7001 { echo "$as_me:$LINENO: checking for tzname" >&5
7002 echo $ECHO_N "checking for tzname... $ECHO_C" >&6; }
7003 if test "${ac_cv_var_tzname+set}" = set; then
7004 echo $ECHO_N "(cached) $ECHO_C" >&6
7006 cat >conftest.
$ac_ext <<_ACEOF
7009 cat confdefs.h
>>conftest.
$ac_ext
7010 cat >>conftest.
$ac_ext <<_ACEOF
7011 /* end confdefs.h. */
7013 #if !HAVE_DECL_TZNAME
7014 extern char *tzname[];
7020 return tzname[0][0];
7025 rm -f conftest.
$ac_objext conftest
$ac_exeext
7026 if { (ac_try
="$ac_link"
7028 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7029 *) ac_try_echo=$ac_try;;
7031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7032 (eval "$ac_link") 2>conftest.er1
7034 grep -v '^ *+' conftest.er1 >conftest.err
7036 cat conftest.err >&5
7037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7038 (exit $ac_status); } && {
7039 test -z "$ac_c_werror_flag" ||
7040 test ! -s conftest.err
7041 } && test -s conftest$ac_exeext &&
7042 $as_test_x conftest$ac_exeext; then
7043 ac_cv_var_tzname=yes
7045 echo "$as_me: failed program was:" >&5
7046 sed 's/^/| /' conftest.$ac_ext >&5
7051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7052 conftest$ac_exeext conftest.$ac_ext
7054 { echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
7055 echo "${ECHO_T}$ac_cv_var_tzname" >&6; }
7056 if test $ac_cv_var_tzname = yes; then
7058 cat >>confdefs.h <<\_ACEOF
7059 #define HAVE_TZNAME 1
7065 { echo "$as_me:$LINENO: checking for off_t" >&5
7066 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
7067 if test "${ac_cv_type_off_t+set}" = set; then
7068 echo $ECHO_N "(cached) $ECHO_C" >&6
7070 cat >conftest.$ac_ext <<_ACEOF
7073 cat confdefs.h >>conftest.$ac_ext
7074 cat >>conftest.$ac_ext <<_ACEOF
7075 /* end confdefs.h. */
7076 $ac_includes_default
7077 typedef off_t ac__type_new_;
7081 if ((ac__type_new_ *) 0)
7083 if (sizeof (ac__type_new_))
7089 rm -f conftest.$ac_objext
7090 if { (ac_try="$ac_compile"
7092 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7093 *) ac_try_echo
=$ac_try;;
7095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7096 (eval "$ac_compile") 2>conftest.er1
7098 grep -v '^ *+' conftest.er1
>conftest.err
7100 cat conftest.err
>&5
7101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7102 (exit $ac_status); } && {
7103 test -z "$ac_c_werror_flag" ||
7104 test ! -s conftest.err
7105 } && test -s conftest.
$ac_objext; then
7106 ac_cv_type_off_t
=yes
7108 echo "$as_me: failed program was:" >&5
7109 sed 's/^/| /' conftest.
$ac_ext >&5
7114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7116 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
7117 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
7118 if test $ac_cv_type_off_t = yes; then
7122 cat >>confdefs.h
<<_ACEOF
7123 #define off_t long int
7128 { echo "$as_me:$LINENO: checking for pid_t" >&5
7129 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
7130 if test "${ac_cv_type_pid_t+set}" = set; then
7131 echo $ECHO_N "(cached) $ECHO_C" >&6
7133 cat >conftest.
$ac_ext <<_ACEOF
7136 cat confdefs.h
>>conftest.
$ac_ext
7137 cat >>conftest.
$ac_ext <<_ACEOF
7138 /* end confdefs.h. */
7139 $ac_includes_default
7140 typedef pid_t ac__type_new_;
7144 if ((ac__type_new_ *) 0)
7146 if (sizeof (ac__type_new_))
7152 rm -f conftest.
$ac_objext
7153 if { (ac_try
="$ac_compile"
7155 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7156 *) ac_try_echo=$ac_try;;
7158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7159 (eval "$ac_compile") 2>conftest.er1
7161 grep -v '^ *+' conftest.er1 >conftest.err
7163 cat conftest.err >&5
7164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7165 (exit $ac_status); } && {
7166 test -z "$ac_c_werror_flag" ||
7167 test ! -s conftest.err
7168 } && test -s conftest.$ac_objext; then
7169 ac_cv_type_pid_t=yes
7171 echo "$as_me: failed program was:" >&5
7172 sed 's/^/| /' conftest.$ac_ext >&5
7177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7179 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
7180 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
7181 if test $ac_cv_type_pid_t = yes; then
7185 cat >>confdefs.h <<_ACEOF
7191 { echo "$as_me:$LINENO: checking for size_t" >&5
7192 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
7193 if test "${ac_cv_type_size_t+set}" = set; then
7194 echo $ECHO_N "(cached) $ECHO_C" >&6
7196 cat >conftest.$ac_ext <<_ACEOF
7199 cat confdefs.h >>conftest.$ac_ext
7200 cat >>conftest.$ac_ext <<_ACEOF
7201 /* end confdefs.h. */
7202 $ac_includes_default
7203 typedef size_t ac__type_new_;
7207 if ((ac__type_new_ *) 0)
7209 if (sizeof (ac__type_new_))
7215 rm -f conftest.$ac_objext
7216 if { (ac_try="$ac_compile"
7218 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7219 *) ac_try_echo
=$ac_try;;
7221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7222 (eval "$ac_compile") 2>conftest.er1
7224 grep -v '^ *+' conftest.er1
>conftest.err
7226 cat conftest.err
>&5
7227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7228 (exit $ac_status); } && {
7229 test -z "$ac_c_werror_flag" ||
7230 test ! -s conftest.err
7231 } && test -s conftest.
$ac_objext; then
7232 ac_cv_type_size_t
=yes
7234 echo "$as_me: failed program was:" >&5
7235 sed 's/^/| /' conftest.
$ac_ext >&5
7237 ac_cv_type_size_t
=no
7240 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7242 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
7243 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
7244 if test $ac_cv_type_size_t = yes; then
7248 cat >>confdefs.h
<<_ACEOF
7249 #define size_t unsigned int
7254 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
7255 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
7256 if test "${ac_cv_type_uid_t+set}" = set; then
7257 echo $ECHO_N "(cached) $ECHO_C" >&6
7259 cat >conftest.
$ac_ext <<_ACEOF
7262 cat confdefs.h
>>conftest.
$ac_ext
7263 cat >>conftest.
$ac_ext <<_ACEOF
7264 /* end confdefs.h. */
7265 #include <sys/types.h>
7268 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7269 $EGREP "uid_t" >/dev
/null
2>&1; then
7270 ac_cv_type_uid_t
=yes
7277 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
7278 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
7279 if test $ac_cv_type_uid_t = no
; then
7281 cat >>confdefs.h
<<\_ACEOF
7286 cat >>confdefs.h
<<\_ACEOF
7293 { echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
7294 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6; }
7295 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
7296 echo $ECHO_N "(cached) $ECHO_C" >&6
7298 cat >conftest.
$ac_ext <<_ACEOF
7301 cat confdefs.h
>>conftest.
$ac_ext
7302 cat >>conftest.
$ac_ext <<_ACEOF
7303 /* end confdefs.h. */
7304 $ac_includes_default
7308 static struct tm ac_aggr;
7309 if (ac_aggr.tm_gmtoff)
7315 rm -f conftest.
$ac_objext
7316 if { (ac_try
="$ac_compile"
7318 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7319 *) ac_try_echo=$ac_try;;
7321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7322 (eval "$ac_compile") 2>conftest.er1
7324 grep -v '^ *+' conftest.er1 >conftest.err
7326 cat conftest.err >&5
7327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7328 (exit $ac_status); } && {
7329 test -z "$ac_c_werror_flag" ||
7330 test ! -s conftest.err
7331 } && test -s conftest.$ac_objext; then
7332 ac_cv_member_struct_tm_tm_gmtoff=yes
7334 echo "$as_me: failed program was:" >&5
7335 sed 's/^/| /' conftest.$ac_ext >&5
7337 cat >conftest.$ac_ext <<_ACEOF
7340 cat confdefs.h >>conftest.$ac_ext
7341 cat >>conftest.$ac_ext <<_ACEOF
7342 /* end confdefs.h. */
7343 $ac_includes_default
7347 static struct tm ac_aggr;
7348 if (sizeof ac_aggr.tm_gmtoff)
7354 rm -f conftest.$ac_objext
7355 if { (ac_try="$ac_compile"
7357 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7358 *) ac_try_echo
=$ac_try;;
7360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7361 (eval "$ac_compile") 2>conftest.er1
7363 grep -v '^ *+' conftest.er1
>conftest.err
7365 cat conftest.err
>&5
7366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7367 (exit $ac_status); } && {
7368 test -z "$ac_c_werror_flag" ||
7369 test ! -s conftest.err
7370 } && test -s conftest.
$ac_objext; then
7371 ac_cv_member_struct_tm_tm_gmtoff
=yes
7373 echo "$as_me: failed program was:" >&5
7374 sed 's/^/| /' conftest.
$ac_ext >&5
7376 ac_cv_member_struct_tm_tm_gmtoff
=no
7379 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7382 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7384 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
7385 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6; }
7386 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
7388 cat >>confdefs.h
<<_ACEOF
7389 #define HAVE_STRUCT_TM_TM_GMTOFF 1
7396 # Look for some functions
7411 for ac_func
in getpagesize kqueue statfs statvfs \
7412 clone kse_create rfork_thread thr_create sa_register \
7413 getcontext makecontext setcontext sigaltstack swapcontext
7415 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7416 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7418 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7419 echo $ECHO_N "(cached) $ECHO_C" >&6
7421 cat >conftest.
$ac_ext <<_ACEOF
7424 cat confdefs.h
>>conftest.
$ac_ext
7425 cat >>conftest.
$ac_ext <<_ACEOF
7426 /* end confdefs.h. */
7427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7429 #define $ac_func innocuous_$ac_func
7431 /* System header to define __stub macros and hopefully few prototypes,
7432 which can conflict with char $ac_func (); below.
7433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7434 <limits.h> exists even on freestanding compilers. */
7437 # include <limits.h>
7439 # include <assert.h>
7444 /* Override any GCC internal prototype to avoid an error.
7445 Use char because int might match the return type of a GCC
7446 builtin and then its argument prototype would still apply. */
7451 /* The GNU C library defines this for functions which it implements
7452 to always fail with ENOSYS. Some functions are actually named
7453 something starting with __ and the normal name is an alias. */
7454 #if defined __stub_$ac_func || defined __stub___$ac_func
7466 rm -f conftest.
$ac_objext conftest
$ac_exeext
7467 if { (ac_try
="$ac_link"
7469 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7470 *) ac_try_echo=$ac_try;;
7472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7473 (eval "$ac_link") 2>conftest.er1
7475 grep -v '^ *+' conftest.er1 >conftest.err
7477 cat conftest.err >&5
7478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7479 (exit $ac_status); } && {
7480 test -z "$ac_c_werror_flag" ||
7481 test ! -s conftest.err
7482 } && test -s conftest$ac_exeext &&
7483 $as_test_x conftest$ac_exeext; then
7484 eval "$as_ac_var=yes"
7486 echo "$as_me: failed program was:" >&5
7487 sed 's/^/| /' conftest.$ac_ext >&5
7489 eval "$as_ac_var=no"
7492 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7493 conftest$ac_exeext conftest.$ac_ext
7495 ac_res=`eval echo '${'$as_ac_var'}'`
7496 { echo "$as_me:$LINENO: result: $ac_res" >&5
7497 echo "${ECHO_T}$ac_res" >&6; }
7498 if test `eval echo '${'$as_ac_var'}'` = yes; then
7499 cat >>confdefs.h <<_ACEOF
7500 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7509 for ac_header in stdlib.h unistd.h
7511 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7512 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7513 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7514 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7515 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7516 echo $ECHO_N "(cached) $ECHO_C" >&6
7518 ac_res=`eval echo '${'$as_ac_Header'}'`
7519 { echo "$as_me:$LINENO: result: $ac_res" >&5
7520 echo "${ECHO_T}$ac_res" >&6; }
7522 # Is the header compilable?
7523 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7524 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7525 cat >conftest.$ac_ext <<_ACEOF
7528 cat confdefs.h >>conftest.$ac_ext
7529 cat >>conftest.$ac_ext <<_ACEOF
7530 /* end confdefs.h. */
7531 $ac_includes_default
7532 #include <$ac_header>
7534 rm -f conftest.$ac_objext
7535 if { (ac_try="$ac_compile"
7537 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7538 *) ac_try_echo
=$ac_try;;
7540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7541 (eval "$ac_compile") 2>conftest.er1
7543 grep -v '^ *+' conftest.er1
>conftest.err
7545 cat conftest.err
>&5
7546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7547 (exit $ac_status); } && {
7548 test -z "$ac_c_werror_flag" ||
7549 test ! -s conftest.err
7550 } && test -s conftest.
$ac_objext; then
7551 ac_header_compiler
=yes
7553 echo "$as_me: failed program was:" >&5
7554 sed 's/^/| /' conftest.
$ac_ext >&5
7556 ac_header_compiler
=no
7559 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7560 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7561 echo "${ECHO_T}$ac_header_compiler" >&6; }
7563 # Is the header present?
7564 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7565 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7566 cat >conftest.
$ac_ext <<_ACEOF
7569 cat confdefs.h
>>conftest.
$ac_ext
7570 cat >>conftest.
$ac_ext <<_ACEOF
7571 /* end confdefs.h. */
7572 #include <$ac_header>
7574 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7576 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7577 *) ac_try_echo=$ac_try;;
7579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7580 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7582 grep -v '^ *+' conftest.er1 >conftest.err
7584 cat conftest.err >&5
7585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7586 (exit $ac_status); } >/dev/null && {
7587 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7588 test ! -s conftest.err
7590 ac_header_preproc=yes
7592 echo "$as_me: failed program was:" >&5
7593 sed 's/^/| /' conftest.$ac_ext >&5
7595 ac_header_preproc=no
7598 rm -f conftest.err conftest.$ac_ext
7599 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7600 echo "${ECHO_T}$ac_header_preproc" >&6; }
7602 # So? What about this header?
7603 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7605 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7606 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7607 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7608 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7609 ac_header_preproc=yes
7612 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7613 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7614 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7615 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7616 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7617 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7618 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7619 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7620 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7621 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7622 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7623 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7627 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7628 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7629 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7630 echo $ECHO_N "(cached) $ECHO_C" >&6
7632 eval "$as_ac_Header=\$ac_header_preproc"
7634 ac_res=`eval echo '${'$as_ac_Header'}'`
7635 { echo "$as_me:$LINENO: result: $ac_res" >&5
7636 echo "${ECHO_T}$ac_res" >&6; }
7639 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7640 cat >>confdefs.h <<_ACEOF
7641 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7649 for ac_func in getpagesize
7651 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
7652 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7654 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7655 echo $ECHO_N "(cached) $ECHO_C" >&6
7657 cat >conftest.$ac_ext <<_ACEOF
7660 cat confdefs.h >>conftest.$ac_ext
7661 cat >>conftest.$ac_ext <<_ACEOF
7662 /* end confdefs.h. */
7663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7665 #define $ac_func innocuous_$ac_func
7667 /* System header to define __stub macros and hopefully few prototypes,
7668 which can conflict with char $ac_func (); below.
7669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7670 <limits.h> exists even on freestanding compilers. */
7673 # include <limits.h>
7675 # include <assert.h>
7680 /* Override any GCC internal prototype to avoid an error.
7681 Use char because int might match the return type of a GCC
7682 builtin and then its argument prototype would still apply. */
7687 /* The GNU C library defines this for functions which it implements
7688 to always fail with ENOSYS. Some functions are actually named
7689 something starting with __ and the normal name is an alias. */
7690 #if defined __stub_$ac_func || defined __stub___$ac_func
7702 rm -f conftest.$ac_objext conftest$ac_exeext
7703 if { (ac_try="$ac_link"
7705 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7706 *) ac_try_echo
=$ac_try;;
7708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7709 (eval "$ac_link") 2>conftest.er1
7711 grep -v '^ *+' conftest.er1
>conftest.err
7713 cat conftest.err
>&5
7714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7715 (exit $ac_status); } && {
7716 test -z "$ac_c_werror_flag" ||
7717 test ! -s conftest.err
7718 } && test -s conftest
$ac_exeext &&
7719 $as_test_x conftest
$ac_exeext; then
7720 eval "$as_ac_var=yes"
7722 echo "$as_me: failed program was:" >&5
7723 sed 's/^/| /' conftest.
$ac_ext >&5
7725 eval "$as_ac_var=no"
7728 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7729 conftest
$ac_exeext conftest.
$ac_ext
7731 ac_res
=`eval echo '${'$as_ac_var'}'`
7732 { echo "$as_me:$LINENO: result: $ac_res" >&5
7733 echo "${ECHO_T}$ac_res" >&6; }
7734 if test `eval echo '${'$as_ac_var'}'` = yes; then
7735 cat >>confdefs.h
<<_ACEOF
7736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7742 { echo "$as_me:$LINENO: checking for working mmap" >&5
7743 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
7744 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
7745 echo $ECHO_N "(cached) $ECHO_C" >&6
7747 if test "$cross_compiling" = yes; then
7748 ac_cv_func_mmap_fixed_mapped
=no
7750 cat >conftest.
$ac_ext <<_ACEOF
7753 cat confdefs.h
>>conftest.
$ac_ext
7754 cat >>conftest.
$ac_ext <<_ACEOF
7755 /* end confdefs.h. */
7756 $ac_includes_default
7757 /* malloc might have been renamed as rpl_malloc. */
7760 /* Thanks to Mike Haertel and Jim Avera for this test.
7761 Here is a matrix of mmap possibilities:
7762 mmap private not fixed
7763 mmap private fixed at somewhere currently unmapped
7764 mmap private fixed at somewhere already mapped
7765 mmap shared not fixed
7766 mmap shared fixed at somewhere currently unmapped
7767 mmap shared fixed at somewhere already mapped
7768 For private mappings, we should verify that changes cannot be read()
7769 back from the file, nor mmap's back from the file at a different
7770 address. (There have been systems where private was not correctly
7771 implemented like the infamous i386 svr4.0, and systems where the
7772 VM page cache was not coherent with the file system buffer cache
7773 like early versions of FreeBSD and possibly contemporary NetBSD.)
7774 For shared mappings, we should conversely verify that changes get
7775 propagated back to all the places they're supposed to be.
7777 Grep wants private fixed already mapped.
7778 The main things grep needs to know about mmap are:
7779 * does it exist and is it safe to write into the mmap'd area
7780 * how to use it (BSD variants) */
7783 #include <sys/mman.h>
7785 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7789 /* This mess was copied from the GNU getpagesize.h. */
7790 #ifndef HAVE_GETPAGESIZE
7791 /* Assume that all systems that can run configure have sys/param.h. */
7792 # ifndef HAVE_SYS_PARAM_H
7793 # define HAVE_SYS_PARAM_H 1
7796 # ifdef _SC_PAGESIZE
7797 # define getpagesize() sysconf(_SC_PAGESIZE)
7798 # else /* no _SC_PAGESIZE */
7799 # ifdef HAVE_SYS_PARAM_H
7800 # include <sys/param.h>
7801 # ifdef EXEC_PAGESIZE
7802 # define getpagesize() EXEC_PAGESIZE
7803 # else /* no EXEC_PAGESIZE */
7805 # define getpagesize() NBPG * CLSIZE
7808 # endif /* no CLSIZE */
7809 # else /* no NBPG */
7811 # define getpagesize() NBPC
7812 # else /* no NBPC */
7814 # define getpagesize() PAGESIZE
7815 # endif /* PAGESIZE */
7816 # endif /* no NBPC */
7817 # endif /* no NBPG */
7818 # endif /* no EXEC_PAGESIZE */
7819 # else /* no HAVE_SYS_PARAM_H */
7820 # define getpagesize() 8192 /* punt totally */
7821 # endif /* no HAVE_SYS_PARAM_H */
7822 # endif /* no _SC_PAGESIZE */
7824 #endif /* no HAVE_GETPAGESIZE */
7829 char *data, *data2, *data3;
7833 pagesize = getpagesize ();
7835 /* First, make a file with some known garbage in it. */
7836 data = (char *) malloc (pagesize);
7839 for (i = 0; i < pagesize; ++i)
7840 *(data + i) = rand ();
7842 fd = creat ("conftest.mmap", 0600);
7845 if (write (fd, data, pagesize) != pagesize)
7849 /* Next, try to mmap the file at a fixed address which already has
7850 something else allocated at it. If we can, also make sure that
7851 we see the same garbage. */
7852 fd = open ("conftest.mmap", O_RDWR);
7855 data2 = (char *) malloc (2 * pagesize);
7858 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
7859 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7860 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7862 for (i = 0; i < pagesize; ++i)
7863 if (*(data + i) != *(data2 + i))
7866 /* Finally, make sure that changes to the mapped area do not
7867 percolate back to the file as seen by read(). (This is a bug on
7868 some variants of i386 svr4.0.) */
7869 for (i = 0; i < pagesize; ++i)
7870 *(data2 + i) = *(data2 + i) + 1;
7871 data3 = (char *) malloc (pagesize);
7874 if (read (fd, data3, pagesize) != pagesize)
7876 for (i = 0; i < pagesize; ++i)
7877 if (*(data + i) != *(data3 + i))
7883 rm -f conftest
$ac_exeext
7884 if { (ac_try
="$ac_link"
7886 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7887 *) ac_try_echo=$ac_try;;
7889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7890 (eval "$ac_link") 2>&5
7892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7893 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7894 { (case "(($ac_try" in
7895 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7896 *) ac_try_echo
=$ac_try;;
7898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7899 (eval "$ac_try") 2>&5
7901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7902 (exit $ac_status); }; }; then
7903 ac_cv_func_mmap_fixed_mapped
=yes
7905 echo "$as_me: program exited with status $ac_status" >&5
7906 echo "$as_me: failed program was:" >&5
7907 sed 's/^/| /' conftest.
$ac_ext >&5
7910 ac_cv_func_mmap_fixed_mapped
=no
7912 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7917 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
7918 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
7919 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7921 cat >>confdefs.h
<<\_ACEOF
7931 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7932 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7933 aros_config_ldflags
=""
7935 aros_shared_default
=yes
7937 aros_shared_cflags
="-fPIC"
7938 aros_shared_aflags
=""
7939 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7940 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7942 aros_target_ar_flags
="cr"
7943 aros_target_nm_flags
="-C -ul"
7944 aros_target_strip_flags
="--strip-unneeded -R.comment"
7949 aros_target_genmap
="-Wl,-Map -Xlinker"
7951 # Native flavour stuff
7952 aros_serial_debug
="0"
7954 # Palm native flavour stuff
7955 aros_palm_debug_hack
="0"
7957 # Unix flavour stuff
7958 aros_nesting_supervisor
="0"
7960 # Collect-aros stuff: "-ius" to ignore undefined symbols
7961 ignore_undefined_symbols
=""
7963 #-----------------------------------------------------------------------------
7966 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7967 # it switched on by default, and we use the host compiler, so it compiles AROS
7968 # code with this enabled resulting in link failures as we don't have support
7971 # We use two methods to disable it. For the host compiler (used to compile
7972 # some hosted modules), we test to see if the compiler supports stack
7973 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7974 # work on all platforms.
7976 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
7977 # (this is done unconditionally, as it should have no effect on compilers
7978 # without the stack protection feature). This may be specific to the way that
7979 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
7980 # strong enough to disable it in a generic way though, so we'll live with it
7981 # until another vendor ships GCC with it enabled in a different way, and deal
7985 { echo "$as_me:$LINENO: checking whether ${CC} accepts -fno-stack-protector" >&5
7986 echo $ECHO_N "checking whether ${CC} accepts -fno-stack-protector... $ECHO_C" >&6; }
7987 save_cflags
="$CFLAGS"
7988 CFLAGS
="$CFLAGS -fno-stack-protector"
7989 cat >conftest.
$ac_ext <<_ACEOF
7992 cat confdefs.h
>>conftest.
$ac_ext
7993 cat >>conftest.
$ac_ext <<_ACEOF
7994 /* end confdefs.h. */
8004 rm -f conftest.
$ac_objext
8005 if { (ac_try
="$ac_compile"
8007 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8008 *) ac_try_echo=$ac_try;;
8010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8011 (eval "$ac_compile") 2>conftest.er1
8013 grep -v '^ *+' conftest.er1 >conftest.err
8015 cat conftest.err >&5
8016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8017 (exit $ac_status); } && {
8018 test -z "$ac_c_werror_flag" ||
8019 test ! -s conftest.err
8020 } && test -s conftest.$ac_objext; then
8021 use_no_stack_protector="yes"
8023 echo "$as_me: failed program was:" >&5
8024 sed 's/^/| /' conftest.$ac_ext >&5
8026 use_no_stack_protector="no"
8029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8030 { echo "$as_me:$LINENO: result: $use_no_stack_protector" >&5
8031 echo "${ECHO_T}$use_no_stack_protector" >&6; }
8032 if test "x-$use_no_stack_protector" = "x-yes" ; then
8033 aros_host_cflags="$aros_host_cflags -fno-stack-protector"
8035 CFLAGS="$save_cflags"
8037 #-----------------------------------------------------------------------------
8039 # Disable pointer-signedness warnings if the compiler recognises the option
8040 # (this only works for the host compiler at the moment)
8042 { echo "$as_me:$LINENO: checking whether ${CC} accepts -Wno-pointer-sign" >&5
8043 echo $ECHO_N "checking whether ${CC} accepts -Wno-pointer-sign... $ECHO_C" >&6; }
8044 save_cflags="$CFLAGS"
8045 CFLAGS="$CFLAGS -Wno-pointer-sign"
8046 cat >conftest.$ac_ext <<_ACEOF
8049 cat confdefs.h >>conftest.$ac_ext
8050 cat >>conftest.$ac_ext <<_ACEOF
8051 /* end confdefs.h. */
8061 rm -f conftest.$ac_objext
8062 if { (ac_try="$ac_compile"
8064 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8065 *) ac_try_echo
=$ac_try;;
8067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8068 (eval "$ac_compile") 2>conftest.er1
8070 grep -v '^ *+' conftest.er1
>conftest.err
8072 cat conftest.err
>&5
8073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8074 (exit $ac_status); } && {
8075 test -z "$ac_c_werror_flag" ||
8076 test ! -s conftest.err
8077 } && test -s conftest.
$ac_objext; then
8078 use_no_sign_warning
="yes"
8080 echo "$as_me: failed program was:" >&5
8081 sed 's/^/| /' conftest.
$ac_ext >&5
8083 use_no_sign_warning
="no"
8086 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8087 { echo "$as_me:$LINENO: result: $use_no_sign_warning" >&5
8088 echo "${ECHO_T}$use_no_sign_warning" >&6; }
8089 if test "x-$use_no_sign_warning" = "x-yes" ; then
8090 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
8092 CFLAGS
="$save_cflags"
8094 #-----------------------------------------------------------------------------
8096 { echo "$as_me:$LINENO: checking for type of build" >&5
8097 echo $ECHO_N "checking for type of build... $ECHO_C" >&6; }
8098 # Check whether --enable-build_type was given.
8099 if test "${enable_build_type+set}" = set; then
8100 enableval
=$enable_build_type; build_type
=$enableval
8102 build_type
="personal"
8106 if test "$build_type" = "nightly"; then
8107 build_type_string
="NIGHTLY"
8108 elif test "$build_type" = "snapshot"; then
8109 build_type_string
="SNAPSHOT"
8110 elif test "$build_type" = "milestone"; then
8111 build_type_string
="MILESTONE"
8112 elif test "$build_type" = "release"; then
8113 build_type_string
="RELEASE"
8115 build_type_string
="PERSONAL"
8116 build_type
="personal"
8119 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
8121 { echo "$as_me:$LINENO: result: $build_type" >&5
8122 echo "${ECHO_T}$build_type" >&6; }
8124 #-----------------------------------------------------------------------------
8125 all_debug_types
="messages stack modules mungwall symbols"
8127 { echo "$as_me:$LINENO: checking which debug types to enable" >&5
8128 echo $ECHO_N "checking which debug types to enable... $ECHO_C" >&6; }
8129 # Check whether --enable-debug was given.
8130 if test "${enable_debug+set}" = set; then
8131 enableval
=$enable_debug; debug
="$enableval"
8137 if test "$debug" = "" -o "$debug" = "no"; then
8139 elif test "$debug" = "yes"; then
8143 if test "$debug" = "all" ; then
8144 debug
="messages stack modules symbols"
8145 for d
in $all_debug_types; do
8146 export aros_
${d}_debug
="1"
8149 for d
in $all_debug_types; do
8150 export aros_
${d}_debug
="0"
8154 if test "$debug" != "none"; then
8155 debug
=`echo $debug | sed s/,/\ /g`
8158 for d2
in $all_debug_types; do
8159 if test "$d2" = "$d"; then
8164 if test "$found" = "0"; then
8165 { { echo "$as_me:$LINENO: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&5
8166 echo "$as_me: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&2;}
8167 { (exit 1); exit 1; }; }
8169 export aros_
${d}_debug
="1"
8173 { echo "$as_me:$LINENO: result: $debug" >&5
8174 echo "${ECHO_T}$debug" >&6; }
8176 if test "$aros_messages_debug" = "1"; then
8177 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
8179 aros_messages_debug
=""
8181 if test "$aros_symbols_debug" = "1"; then
8182 aros_symbols_debug
="-g"
8184 aros_symbols_debug
=""
8187 # These are the flags to pass when compiling debugged programs
8188 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8189 aros_debug_aflags
=""
8190 aros_debug_ldflags
="$aros_symbols_debug"
8192 aros_crosstools
="no"
8194 #-----------------------------------------------------------------------------
8195 # Checking if we should build crosstools..
8196 { echo "$as_me:$LINENO: checking whether to build crosstools" >&5
8197 echo $ECHO_N "checking whether to build crosstools... $ECHO_C" >&6; }
8198 # Check whether --enable-crosstools was given.
8199 if test "${enable_crosstools+set}" = set; then
8200 enableval
=$enable_crosstools; crosstools
="$enableval"
8205 if test "$crosstools" != "" -a "$crosstools" != "no"; then
8206 { echo "$as_me:$LINENO: result: yes" >&5
8207 echo "${ECHO_T}yes" >&6; }
8208 aros_crosstools
="yes"
8210 { echo "$as_me:$LINENO: result: no" >&5
8211 echo "${ECHO_T}no" >&6; }
8214 #-----------------------------------------------------------------------------
8215 # Checking for distcc and ccache.
8217 # Always apply the transforms in this particular order. Basically you should
8218 # always run 'ccache distcc compiler' in that order for the best performance.
8220 { echo "$as_me:$LINENO: checking whether to enable distcc" >&5
8221 echo $ECHO_N "checking whether to enable distcc... $ECHO_C" >&6; }
8222 # Check whether --enable-distcc was given.
8223 if test "${enable_distcc+set}" = set; then
8224 enableval
=$enable_distcc; distcc
="$enableval"
8229 if test "$distcc" != "" -a "$distcc" != "no"; then
8230 # AC_CHECK_PROG will print out the result in this case
8231 # Extract the first word of "distcc", so it can be a program name with args.
8232 set dummy distcc
; ac_word
=$2
8233 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8235 if test "${ac_cv_path_DISTCC+set}" = set; then
8236 echo $ECHO_N "(cached) $ECHO_C" >&6
8240 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
8243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8247 test -z "$as_dir" && as_dir
=.
8248 for ac_exec_ext
in '' $ac_executable_extensions; do
8249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8250 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
8251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8258 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
8262 DISTCC
=$ac_cv_path_DISTCC
8263 if test -n "$DISTCC"; then
8264 { echo "$as_me:$LINENO: result: $DISTCC" >&5
8265 echo "${ECHO_T}$DISTCC" >&6; }
8267 { echo "$as_me:$LINENO: result: no" >&5
8268 echo "${ECHO_T}no" >&6; }
8273 { echo "$as_me:$LINENO: result: no" >&5
8274 echo "${ECHO_T}no" >&6; }
8277 { echo "$as_me:$LINENO: checking whether to enable ccache" >&5
8278 echo $ECHO_N "checking whether to enable ccache... $ECHO_C" >&6; }
8279 # Check whether --enable-ccache was given.
8280 if test "${enable_ccache+set}" = set; then
8281 enableval
=$enable_ccache; ccache
="$enableval"
8286 if test "$ccache" != "" -a "$ccache" != "no"; then
8287 # AC_CHECK_PROG will print out the result in this case
8288 # Extract the first word of "ccache", so it can be a program name with args.
8289 set dummy ccache
; ac_word
=$2
8290 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8292 if test "${ac_cv_prog_CCACHE+set}" = set; then
8293 echo $ECHO_N "(cached) $ECHO_C" >&6
8295 if test -n "$CCACHE"; then
8296 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
8298 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8302 test -z "$as_dir" && as_dir
=.
8303 for ac_exec_ext
in '' $ac_executable_extensions; do
8304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8305 ac_cv_prog_CCACHE
="ccache"
8306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8315 CCACHE
=$ac_cv_prog_CCACHE
8316 if test -n "$CCACHE"; then
8317 { echo "$as_me:$LINENO: result: $CCACHE" >&5
8318 echo "${ECHO_T}$CCACHE" >&6; }
8320 { echo "$as_me:$LINENO: result: no" >&5
8321 echo "${ECHO_T}no" >&6; }
8326 { echo "$as_me:$LINENO: result: no" >&5
8327 echo "${ECHO_T}no" >&6; }
8330 #-----------------------------------------------------------------------------
8331 { echo "$as_me:$LINENO: checking what specific gcc version to use" >&5
8332 echo $ECHO_N "checking what specific gcc version to use... $ECHO_C" >&6; }
8334 # Check whether --with-gcc-version was given.
8335 if test "${with_gcc_version+set}" = set; then
8336 withval
=$with_gcc_version; target_tool_version
="$withval"
8338 target_tool_version
="default"
8341 { echo "$as_me:$LINENO: result: $target_tool_version" >&5
8342 echo "${ECHO_T}$target_tool_version" >&6; }
8344 #-----------------------------------------------------------------------------
8345 { echo "$as_me:$LINENO: checking what optimization flags to use" >&5
8346 echo $ECHO_N "checking what optimization flags to use... $ECHO_C" >&6; }
8348 # Check whether --with-optimization was given.
8349 if test "${with_optimization+set}" = set; then
8350 withval
=$with_optimization; optimization
="$withval"
8352 optimization
="unknown"
8355 if test "$optimization" = "unknown"; then
8356 if test "$debug" != "none"; then
8362 aros_config_cflags
="$aros_config_cflags $optimization"
8363 { echo "$as_me:$LINENO: result: $optimization" >&5
8364 echo "${ECHO_T}$optimization" >&6; }
8366 #-----------------------------------------------------------------------------
8367 { echo "$as_me:$LINENO: checking what paranoia flags to use" >&5
8368 echo $ECHO_N "checking what paranoia flags to use... $ECHO_C" >&6; }
8370 # Check whether --with-paranoia was given.
8371 if test "${with_paranoia+set}" = set; then
8372 withval
=$with_paranoia; paranoia_flags
="$withval"
8374 paranoia_flags
="default"
8377 if test "$paranoia_flags" = "default"; then
8379 else if test "$paranoia_flags" = "yes"; then
8380 paranoia_flags
="-Wall -Werror"
8382 { echo "$as_me:$LINENO: result: $paranoia_flags" >&5
8383 echo "${ECHO_T}$paranoia_flags" >&6; }
8384 aros_paranoia_cflags
="$paranoia_flags"
8386 #-----------------------------------------------------------------------------
8387 if test "$target_os" = "ios"; then
8389 { echo "$as_me:$LINENO: checking XCode path" >&5
8390 echo $ECHO_N "checking XCode path... $ECHO_C" >&6; }
8392 # Check whether --with-xcode-path was given.
8393 if test "${with_xcode_path+set}" = set; then
8394 withval
=$with_xcode_path; aros_xcode_path
="$withval"
8396 aros_xcode_path
="/Developer"
8399 { echo "$as_me:$LINENO: result: $aros_xcode_path" >&5
8400 echo "${ECHO_T}$aros_xcode_path" >&6; }
8402 { echo "$as_me:$LINENO: checking for minimum supported iOS version" >&5
8403 echo $ECHO_N "checking for minimum supported iOS version... $ECHO_C" >&6; }
8405 # Check whether --with-ios-version was given.
8406 if test "${with_ios_version+set}" = set; then
8407 withval
=$with_ios_version; aros_ios_version
="$withval"
8409 aros_ios_version
="2.0"
8412 { echo "$as_me:$LINENO: result: $aros_ios_version" >&5
8413 echo "${ECHO_T}$aros_ios_version" >&6; }
8415 { echo "$as_me:$LINENO: checking what iOS SDK version to use" >&5
8416 echo $ECHO_N "checking what iOS SDK version to use... $ECHO_C" >&6; }
8418 # Check whether --with-ios-sdk was given.
8419 if test "${with_ios_sdk+set}" = set; then
8420 withval
=$with_ios_sdk; aros_ios_sdk
="$withval"
8425 { echo "$as_me:$LINENO: result: $aros_ios_sdk" >&5
8426 echo "${ECHO_T}$aros_ios_sdk" >&6; }
8430 #-----------------------------------------------------------------------------
8431 { echo "$as_me:$LINENO: checking what target variant to enable" >&5
8432 echo $ECHO_N "checking what target variant to enable... $ECHO_C" >&6; }
8433 # Check whether --enable-target_variant was given.
8434 if test "${enable_target_variant+set}" = set; then
8435 enableval
=$enable_target_variant; target_variant
=$enableval
8440 if test "$target_variant" = ""; then
8441 aros_target_variant
=""
8442 aros_target_suffix
=""
8445 aros_target_variant
="$target_variant"
8446 aros_target_suffix
="-$target_variant"
8448 { echo "$as_me:$LINENO: result: $enableval" >&5
8449 echo "${ECHO_T}$enableval" >&6; }
8451 target_bootloader
="none"
8453 #-----------------------------------------------------------------------------
8454 # This is the target configuration switch.
8455 case "$target_os" in
8457 aros_target_arch
="linux"
8458 aros_target_family
="unix"
8459 case "$target_cpu" in
8461 aros_target_cpu
="m68k"
8462 aros_object_format
="m68kelf"
8463 aros_flavour
="emulcompat"
8464 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
8465 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
8466 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
8467 gcc_target_cpu
="mc68000"
8470 aros_target_cpu
="i386"
8471 aros_object_format
="elf_i386"
8472 aros_flavour
="emulation"
8473 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
8474 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
8475 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
8476 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
8477 aros_config_ldflags
="-m32 -march=i486"
8478 aros_kernel_ldflags
="-melf_i386"
8479 aros_default_wbdepth
=8
8480 gcc_target_cpu
="i386"
8483 aros_target_cpu
="x86_64"
8484 aros_object_format
="elf_x86_64"
8485 aros_flavour
="emulation"
8486 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
8487 aros_config_cflags
="$aros_config_cflags -mno-red-zone"
8488 aros_default_wbdepth
=8
8489 gcc_target_cpu
="x86_64"
8492 aros_target_cpu
="ppc"
8493 aros_object_format
="elf32ppc"
8494 aros_flavour
="emulation"
8495 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8496 aros_default_wbdepth
=8
8497 gcc_target_cpu
="ppc"
8500 # Same as powerpc, but I need this for the nightly build to work again.
8501 # Actually, the nightly should be made working with powerpc target.
8502 # That just was too much work for the moment, another week or two.
8504 aros_target_cpu
="ppc"
8505 aros_object_format
="elf32ppc"
8506 aros_flavour
="emulation"
8507 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8508 aros_default_wbdepth
=8
8509 gcc_target_cpu
="ppc"
8512 aros_target_cpu
="arm"
8513 aros_object_format
="armelf_linux_eabi"
8514 aros_flavour
="emulation"
8515 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8516 gcc_target_cpu
="arm"
8517 aros_config_cflags
="$aros_config_cflags -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
8518 aros_config_aflags
="$aros_config_aflags -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
8521 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Linux -- $target_cpu\"" >&5
8522 echo "$as_me: error: \"Unknown CPU for Linux -- $target_cpu\"" >&2;}
8523 { (exit 1); exit 1; }; }
8529 aros_target_arch
="pc"
8530 aros_shared_default
="no"
8531 target_bootloader
="grub2"
8532 case "$target_cpu" in
8534 aros_target_cpu
="i386"
8537 if test "$aros_object_format" = "" ; then
8538 aros_object_format
="elf_i386"
8540 aros_flavour
="standalone"
8541 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8542 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
8543 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
8544 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
8545 aros_config_ldflags
="-m32 -march=i486"
8546 aros_kernel_ldflags
="-melf_i386"
8547 aros_default_wbwidth
=640
8548 aros_default_wbheight
=480
8549 gcc_target_cpu
="i386"
8552 aros_target_cpu
="x86_64"
8554 if test "$aros_object_format" = "" ; then
8555 aros_object_format
="elf_x86_64"
8557 aros_flavour
="standalone"
8558 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8559 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone"
8560 aros_kernel_ldflags
=""
8561 aros_default_wbwidth
=640
8562 aros_default_wbheight
=480
8563 gcc_target_cpu
="x86_64"
8566 { { echo "$as_me:$LINENO: error: \"Unknown native CPU -- $target_cpu\"" >&5
8567 echo "$as_me: error: \"Unknown native CPU -- $target_cpu\"" >&2;}
8568 { (exit 1); exit 1; }; }
8574 aros_target_arch
="prep"
8575 aros_shared_default
="no"
8576 aros_target_cpu
="ppc"
8577 aros_object_format
="elf32ppc"
8578 aros_flavour
="ppcnative"
8579 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8580 aros_kernel_ldflags
=""
8581 aros_default_wbwidth
=640
8582 aros_default_wbheight
=480
8583 gcc_target_cpu
="ppc"
8587 aros_target_arch
="freebsd"
8588 aros_target_family
="unix"
8589 aros_target_cpu
="i386"
8590 aros_flavour
="emulation"
8591 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8592 gcc_target_cpu
="i386"
8594 aros_target_strip_flags
="-x"
8598 aros_target_arch
="darwin"
8599 aros_target_family
="unix"
8600 aros_flavour
="emulation"
8601 case "$target_cpu" in
8603 aros_target_cpu
="i386"
8604 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8605 aros_kernel_cflags
="$aros_kernel_cflags -m32"
8606 aros_kernel_ldflags
="$aros_kernel_ldflags -m32"
8607 aros_default_wbdepth
=8
8608 gcc_target_cpu
="i386"
8609 aros_object_format
="elf_i386"
8610 aros_target_strip_flags
="-x"
8611 aros_target_cc
="i386-aros-gcc"
8612 aros_target_cxx
="i386-aros-g++"
8613 aros_target_ld
="i386-aros-ld"
8614 aros_target_as
="i386-aros-as"
8615 aros_target_ar
="i386-aros-ar"
8616 aros_target_ranlib
="i386-aros-ranlib"
8617 aros_target_nm
="i386-aros-nm"
8618 aros_target_strip
="i386-aros-strip"
8619 aros_target_objcopy
="i386-aros-objcopy"
8620 aros_target_objdump
="i386-aros-objdump"
8621 target_tool_prefix
="i686-apple-darwin10-"
8624 aros_target_cpu
="x86_64"
8625 aros_object_format
="elf_x86_64"
8626 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8627 aros_kernel_cflags
="$aros_kernel_cflags -m64"
8628 aros_kernel_ldflags
="$aros_kernel_ldflags -m64"
8629 aros_default_wbdepth
=8
8630 gcc_target_cpu
="x86_64"
8631 aros_target_cc
="x86_64-aros-gcc"
8632 aros_target_cxx
="x86_64-aros-g++"
8633 aros_target_ld
="x86_64-aros-ld"
8634 aros_target_as
="x86_64-aros-as"
8635 aros_target_ar
="x86_64-aros-ar"
8636 aros_target_ranlib
="x86_64-aros-ranlib"
8637 aros_target_nm
="x86_64-aros-nm"
8638 aros_target_strip
="x86_64-aros-strip"
8639 aros_target_objcopy
="x86_64-aros-objcopy"
8640 aros_target_objdump
="x86_64-aros-objdump"
8641 target_tool_prefix
="i686-apple-darwin10-"
8644 aros_target_cpu
="ppc"
8645 aros_object_format
="elf32_ppc"
8646 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8647 aros_default_wbdepth
=8
8648 gcc_target_cpu
="ppc"
8649 aros_target_cc
="ppc-aros-gcc"
8650 aros_target_cxx
="ppc-aros-g++"
8651 aros_target_ld
="ppc-aros-ld"
8652 aros_target_as
="ppc-aros-as"
8653 aros_target_ar
="ppc-aros-ar"
8654 aros_target_ranlib
="ppc-aros-ranlib"
8655 aros_target_nm
="ppc-aros-nm"
8656 aros_target_strip
="ppc-aros-strip"
8657 aros_target_objcopy
="ppc-aros-objcopy"
8658 aros_target_objdump
="ppc-aros-objdump"
8659 target_tool_prefix
="powerpc-apple-darwin10-"
8662 { { echo "$as_me:$LINENO: error: \"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" >&5
8663 echo "$as_me: error: \"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" >&2;}
8664 { (exit 1); exit 1; }; }
8670 aros_target_arch
="ios"
8671 aros_target_family
="unix"
8672 aros_flavour
="emulation"
8673 # This is here because it may depend on iOS or SDK version
8674 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
8675 case "$target_cpu" in
8677 aros_ios_platform
="iPhoneSimulator"
8678 aros_target_cpu
="i386"
8679 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8680 aros_default_wbdepth
=8
8681 gcc_target_cpu
="i386"
8682 aros_object_format
="elf_i386"
8683 aros_target_strip_flags
="-x"
8684 aros_target_cc
="i386-aros-gcc"
8685 aros_target_cxx
="i386-aros-g++"
8686 aros_target_ld
="i386-aros-ld"
8687 aros_target_as
="i386-aros-as"
8688 aros_target_ar
="i386-aros-ar"
8689 aros_target_ranlib
="i386-aros-ranlib"
8690 aros_target_nm
="i386-aros-nm"
8691 aros_target_strip
="i386-aros-strip"
8692 aros_target_objcopy
="i386-aros-objcopy"
8693 aros_target_objdump
="i386-aros-objdump"
8694 target_tool_prefix
="i686-apple-darwin10-"
8695 target_tool_flags
="-m32"
8698 aros_ios_platform
="iPhoneOS"
8699 aros_target_cpu
="arm"
8700 aros_object_format
="armelf_linux_eabi"
8701 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8702 aros_config_cflags
="$aros_config_cflags -march=armv6 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
8703 aros_config_aflags
="$aros_config_aflags -march=armv6 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
8704 aros_arch_libs
="-laeabi"
8705 aros_default_wbdepth
=8
8706 gcc_target_cpu
="arm"
8707 aros_kernel_ld
="ld -arch armv6"
8708 aros_target_cc
="arm-aros-gcc"
8709 aros_target_cxx
="arm-aros-g++"
8710 aros_target_ld
="arm-aros-ld"
8711 aros_target_as
="arm-aros-as"
8712 aros_target_ar
="arm-aros-ar"
8713 aros_target_ranlib
="arm-aros-ranlib"
8714 aros_target_nm
="arm-aros-nm"
8715 aros_target_strip
="arm-aros-strip"
8716 aros_target_objcopy
="arm-aros-objcopy"
8717 aros_target_objdump
="arm-aros-objdump"
8718 target_tool_prefix
="arm-apple-darwin10-"
8719 aros_default_wbwidth
=320
8720 aros_default_wbheight
=480
8721 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
8724 { { echo "$as_me:$LINENO: error: \"Unsupported target CPU for iOS hosted flavour -- $target_cpu\"" >&5
8725 echo "$as_me: error: \"Unsupported target CPU for iOS hosted flavour -- $target_cpu\"" >&2;}
8726 { (exit 1); exit 1; }; }
8729 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_ios_sdk.sdk"
8730 target_tool_flags
="$target_tool_flags --sysroot $aros_ios_sdk"
8734 aros_target_arch
="dragonfly"
8735 aros_target_family
="unix"
8736 aros_flavour
="emulation"
8737 case "$target_cpu" in
8739 aros_target_cpu
="i386"
8740 aros_object_format
="elf_i386"
8741 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
8744 aros_target_cpu
="x86_64"
8745 aros_object_format
="elf_x86_64"
8746 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
8749 { { echo "$as_me:$LINENO: error: \"Unknown CPU for DragonFly -- $target_cpu\"" >&5
8750 echo "$as_me: error: \"Unknown CPU for DragonFly -- $target_cpu\"" >&2;}
8751 { (exit 1); exit 1; }; }
8757 aros_target_arch
="netbsd"
8758 aros_target_family
="unix"
8759 case "$target_cpu" in
8761 aros_target_cpu
="m68k"
8762 aros_object_format
="m68kelf"
8763 aros_flavour
="emulcompat"
8764 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8765 gcc_target_cpu
="mc68000"
8768 aros_target_cpu
="i386"
8769 aros_object_format
="elf_i386"
8770 aros_flavour
="emulation"
8771 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8772 aros_default_wbdepth
=8
8773 gcc_target_cpu
="i386"
8776 { { echo "$as_me:$LINENO: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&5
8777 echo "$as_me: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&2;}
8778 { (exit 1); exit 1; }; }
8781 aros_target_genmap
="-Wl,-M -Xlinker >"
8782 aros_flavour
="emulation"
8783 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8787 aros_target_arch
="openbsd"
8788 aros_target_family
="unix"
8789 case "$target_cpu" in
8791 aros_target_cpu
="i386"
8792 aros_object_format
="elf_i386"
8793 aros_flavour
="emulation"
8794 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8795 gcc_target_cpu
="i386"
8798 { { echo "$as_me:$LINENO: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&5
8799 echo "$as_me: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&2;}
8800 { (exit 1); exit 1; }; }
8803 aros_target_genmap
="-Wl,-M -Xlinker >"
8804 aros_target_nm_flags
="-u"
8805 aros_flavour
="emulation"
8809 aros_target_arch
="solaris"
8810 aros_target_family
="unix"
8811 case "$target_cpu" in
8813 aros_target_cpu
="i386"
8814 aros_object_format
="elf_i386"
8815 aros_flavour
="emulation"
8816 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8817 aros_default_wbdepth
=8
8818 gcc_target_cpu
="i386"
8821 aros_target_cpu
="sparc"
8822 aros_object_format
="elf_sparc"
8823 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8824 gcc_target_cpu
="sparc"
8827 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&5
8828 echo "$as_me: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&2;}
8829 { (exit 1); exit 1; }; }
8832 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8833 aros_flavour
="emulation"
8837 aros_target_arch
="morphos"
8838 aros_shared_default
="no"
8839 aros_target_cpu
="ppc"
8840 aros_object_format
="elf_ppc"
8841 aros_flavour
="nativecompat"
8842 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8843 gcc_target_cpu
="ppc"
8847 aros_target_arch
="sam440"
8848 aros_shared_default
="no"
8849 aros_target_cpu
="ppc"
8850 aros_object_format
="elf32ppc"
8851 aros_flavour
="ppcnative"
8852 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8853 aros_kernel_ldflags
=""
8854 aros_default_wbwidth
=1024
8855 aros_default_wbheight
=768
8856 aros_default_wbdepth
=24
8857 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8858 gcc_target_cpu
="powerpc"
8862 aros_target_arch
="efika"
8863 aros_shared_default
="no"
8864 aros_target_cpu
="arm"
8865 aros_object_format
="armelf_linux_eabi"
8866 aros_flavour
="standalone"
8867 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8868 aros_kernel_ldflags
=""
8869 aros_default_wbwidth
=1024
8870 aros_default_wbheight
=600
8871 aros_arch_libs
="-laeabi"
8872 aros_config_cflags
="$aros_config_cflags -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions -fno-strict-aliasing"
8873 aros_config_aflags
="$aros_config_aflags -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions -fno-strict-aliasing"
8877 aros_target_arch
="chrp"
8878 aros_shared_default
="no"
8879 aros_target_cpu
="ppc"
8880 aros_object_format
="elf32ppc"
8881 aros_flavour
="ppcnative"
8882 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8883 aros_kernel_ldflags
=""
8884 aros_default_wbwidth
=640
8885 aros_default_wbheight
=480
8886 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
8887 gcc_target_cpu
="powerpc"
8888 case "$aros_target_variant" in
8890 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
8896 aros_target_arch
="amiga"
8897 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8898 aros_shared_default
="no"
8900 case "$target_cpu" in
8902 aros_target_cpu
="m68k"
8903 aros_object_format
="m68kelf"
8904 aros_flavour
="standalone"
8905 gcc_target_cpu
="mc68000"
8906 aros_config_cflags
="$aros_config_cflags -g3 -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -${gcc_target_cpu} -fbuiltin"
8907 aros_config_aflags
="$aros_config_aflags -g3 -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -${gcc_target_cpu}"
8908 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -${gcc_target_cpu}"
8909 target_tool_prefix
="m68k-elf-"
8910 aros_target_nostdlib_ldflags
="" # We always need -lgcc
8911 aros_target_strip_flags
="-R.comment"
8914 aros_target_cpu
="m68k"
8915 aros_object_format
="m68kelf"
8916 aros_flavour
="standcompat"
8917 gcc_target_cpu
="mc68000"
8918 aros_config_cflags
="$aros_config_cflags -g3 -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -${gcc_target_cpu} -fbuiltin"
8919 aros_config_aflags
="$aros_config_aflags -g3 -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -${gcc_target_cpu}"
8920 aros_paranoia_cflags
="$aros_paranoia_cflags -Wno-volatile-register-var"
8921 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -${gcc_target_cpu}"
8922 target_tool_prefix
="m68k-elf-"
8923 aros_target_nostdlib_ldflags
="" # We always need -lgcc
8924 aros_target_strip_flags
="-R.comment"
8928 aros_flavour
="native"
8929 gcc_target_cpu
="ppc"
8932 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Amiga $target_cpu\"" >&5
8933 echo "$as_me: error: \"Unknown CPU for Amiga $target_cpu\"" >&2;}
8934 { (exit 1); exit 1; }; }
8940 aros_target_arch
="mingw32"
8941 aros_shared_default
="no"
8942 aros_flavour
="emulation"
8943 aros_shared_cflags
=""
8946 case "$target_cpu" in
8948 aros_target_cpu
="i386"
8949 aros_object_format
="elf_i386"
8950 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8951 aros_default_wbdepth
=8
8952 gcc_target_cpu
="i386"
8953 aros_target_cc
="i386-aros-gcc"
8954 aros_target_cxx
="i386-aros-g++"
8955 aros_target_ld
="i386-aros-ld"
8956 aros_target_as
="i386-aros-as"
8957 aros_target_ar
="i386-aros-ar"
8958 aros_target_ranlib
="i386-aros-ranlib"
8959 aros_target_nm
="i386-aros-nm"
8960 aros_target_strip
="i386-aros-strip"
8961 aros_target_objcopy
="i386-aros-objcopy"
8962 aros_target_objdump
="i386-aros-objdump"
8963 target_tool_prefix
="i386-mingw32-"
8966 aros_target_cpu
="x86_64"
8967 aros_object_format
="elf_x86_64"
8968 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8969 aros_default_wbdepth
=8
8970 gcc_target_cpu
="x86_64"
8971 aros_target_cc
="x86_64-aros-gcc"
8972 aros_target_cxx
="x86_64-aros-g++"
8973 aros_target_ld
="x86_64-aros-ld"
8974 aros_target_as
="x86_64-aros-as"
8975 aros_target_ar
="x86_64-aros-ar"
8976 aros_target_ranlib
="x86_64-aros-ranlib"
8977 aros_target_nm
="x86_64-aros-nm"
8978 aros_target_strip
="x86_64-aros-strip"
8979 aros_target_objcopy
="x86_64-aros-objcopy"
8980 aros_target_objdump
="x86_64-aros-objdump"
8981 target_tool_prefix
="x86_64-w64-mingw32-"
8984 aros_target_cpu
="arm"
8985 aros_object_format
="armelf_linux_eabi"
8986 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8987 aros_arch_libs
="-laeabi"
8988 aros_default_wbdepth
=8
8989 gcc_target_cpu
="arm"
8990 aros_target_cc
="arm-aros-gcc"
8991 aros_target_cxx
="arm-aros-g++"
8992 aros_target_ld
="arm-aros-ld"
8993 aros_target_as
="arm-aros-as"
8994 aros_target_ar
="arm-aros-ar"
8995 aros_target_ranlib
="arm-aros-ranlib"
8996 aros_target_nm
="arm-aros-nm"
8997 aros_target_strip
="arm-aros-strip"
8998 aros_target_objcopy
="arm-aros-objcopy"
8999 aros_target_objdump
="arm-aros-objdump"
9000 target_tool_prefix
="arm-mingw32ce-"
9001 aros_default_wbwidth
=160
9002 aros_default_wbheight
=160
9005 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Mingw32 -- $target_cpu\"" >&5
9006 echo "$as_me: error: \"Unknown CPU for Mingw32 -- $target_cpu\"" >&2;}
9007 { (exit 1); exit 1; }; }
9010 if test $host_os = "cygwin"; then
9011 aros_kernel_cflags
="-mno-cygwin"
9015 aros_target_arch
="pp"
9016 aros_shared_default
="no"
9017 case "$target_cpu" in
9019 aros_target_cpu
="m68k"
9020 aros_object_format
="m68kelf"
9021 aros_flavour
="palmnative"
9022 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
9023 aros_default_wbwidth
=160
9024 aros_default_wbheight
=160
9025 aros_default_wbdepth
=1
9026 aros_target_ar_flags
="cru"
9027 aros_compiler_libs
="-lgcc1"
9028 aros_shared_default
=no
9029 aros_shared_cflags
="-fpic"
9030 aros_shared_aflags
=""
9031 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
9032 aros_kernel_ldflags
="-Wl,-rpath,./lib"
9033 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
9034 aros_debug_aflags
=""
9035 aros_debug_ldflags
="$aros_symbols_debug"
9036 aros_mungwall_debug
="0"
9037 aros_modules_debug
="0"
9038 gcc_target_cpu
="mc68000"
9039 ignore_undefined_symbols
="-ius"
9042 { { echo "$as_me:$LINENO: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&5
9043 echo "$as_me: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&2;}
9044 { (exit 1); exit 1; }; }
9050 aros_target_arch
="mac"
9051 aros_shared_default
="no"
9052 case "$target_cpu" in
9054 aros_target_cpu
="m68k"
9055 aros_object_format
="m68kelf"
9056 aros_flavour
="mac68knative"
9057 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
9058 aros_default_wbwidth
=512
9059 aros_default_wbheight
=384
9060 aros_default_wbdepth
=8
9061 aros_target_ar_flags
="cru"
9062 aros_compiler_libs
="-lgcc1"
9063 aros_shared_default
=no
9064 aros_shared_cflags
="-fpic"
9065 aros_shared_aflags
=""
9066 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
9067 aros_kernel_ldflags
="-Wl,-rpath,./lib"
9068 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000"
9069 aros_debug_aflags
=""
9070 aros_debug_ldflags
="$aros_symbols_debug"
9071 aros_mungwall_debug
="0"
9072 aros_modules_debug
="0"
9073 gcc_target_cpu
="mc68000"
9074 ignore_undefined_symbols
="-ius"
9077 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&5
9078 echo "$as_me: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&2;}
9079 { (exit 1); exit 1; }; }
9085 { { echo "$as_me:$LINENO: error: Unsupported target architecture $target" >&5
9086 echo "$as_me: error: Unsupported target architecture $target" >&2;}
9087 { (exit 1); exit 1; }; }
9091 # FIXME: for cross-compiling this should point to another location
9092 if test "$aros_flavour" = "emulation"; then
9093 aros_kernel_includes
="-isystem /usr/include"
9095 if test "$aros_flavour" = "emulcompat"; then
9096 aros_kernel_includes
="-isystem /usr/include"
9099 { echo "$as_me:$LINENO: checking Where to download sourcecode for external ports" >&5
9100 echo $ECHO_N "checking Where to download sourcecode for external ports... $ECHO_C" >&6; }
9102 # Check whether --with-portssources was given.
9103 if test "${with_portssources+set}" = set; then
9104 withval
=$with_portssources; with_portssrcdir
=$withval
9106 with_portssrcdir
="default"
9109 if test "$with_portssrcdir" = "default"; then
9110 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
9112 AROS_PORTSSRCDIR
="$with_portssrcdir"
9114 { echo "$as_me:$LINENO: result: $AROS_PORTSSRCDIR" >&5
9115 echo "${ECHO_T}$AROS_PORTSSRCDIR" >&6; }
9117 { echo "$as_me:$LINENO: checking which bootloader to use" >&5
9118 echo $ECHO_N "checking which bootloader to use... $ECHO_C" >&6; }
9120 # Check whether --with-bootloader was given.
9121 if test "${with_bootloader+set}" = set; then
9122 withval
=$with_bootloader; target_bootloader
=$withval
9124 target_bootloader
=$target_bootloader
9127 if test "$target_bootloader" = "none"; then
9128 aros_target_bootloader
=""
9130 aros_target_bootloader
="$target_bootloader"
9132 { echo "$as_me:$LINENO: result: $target_bootloader" >&5
9133 echo "${ECHO_T}$target_bootloader" >&6; }
9135 { echo "$as_me:$LINENO: checking which icon-set to use" >&5
9136 echo $ECHO_N "checking which icon-set to use... $ECHO_C" >&6; }
9138 # Check whether --with-iconset was given.
9139 if test "${with_iconset+set}" = set; then
9140 withval
=$with_iconset; target_iconset
=$withval
9142 target_iconset
="default"
9145 if test "$target_iconset" = "default"; then
9146 aros_target_iconset
="Gorilla"
9147 target_iconset
="default (Gorilla)"
9149 aros_target_iconset
="$target_iconset"
9151 { echo "$as_me:$LINENO: result: $target_iconset" >&5
9152 echo "${ECHO_T}$target_iconset" >&6; }
9154 { echo "$as_me:$LINENO: checking which GUI Theme to use" >&5
9155 echo $ECHO_N "checking which GUI Theme to use... $ECHO_C" >&6; }
9157 # Check whether --with-theme was given.
9158 if test "${with_theme+set}" = set; then
9159 withval
=$with_theme; target_guitheme
=$withval
9161 target_guitheme
="default"
9164 if test "$target_guitheme" = "default"; then
9165 aros_target_guitheme
="Ice"
9167 aros_target_guitheme
="$target_guitheme"
9169 { echo "$as_me:$LINENO: result: $aros_target_guitheme" >&5
9170 echo "${ECHO_T}$aros_target_guitheme" >&6; }
9172 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
9175 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
9178 if test "$aros_host_cpu" == "x86_64" ; then
9179 if test "$aros_target_cpu" == "i386" ; then
9180 if test "$aros_target_arch" != "mingw32"; then
9186 # Set prefix for target compiler etc. if we're cross-compiling
9187 # (should possibly be earlier but needs to be after AC_PROG_CC)
9188 if test "$cross_compiling" = "yes" ; then
9189 if test "$target_tool_prefix" = ""; then
9190 target_tool_prefix
=${target_cpu}-elf-
9192 CC
=${target_tool_prefix}gcc
9193 if test "$target_tool_version" != "default"; then
9194 CC
="$CC-$target_tool_version"
9196 # Extract the first word of "$CC", so it can be a program name with args.
9197 set dummy
$CC; ac_word
=$2
9198 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9200 if test "${ac_cv_path_CC+set}" = set; then
9201 echo $ECHO_N "(cached) $ECHO_C" >&6
9205 ac_cv_path_CC
="$CC" # Let the user override the test with a path.
9208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9212 test -z "$as_dir" && as_dir
=.
9213 for ac_exec_ext
in '' $ac_executable_extensions; do
9214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9215 ac_cv_path_CC
="$as_dir/$ac_word$ac_exec_ext"
9216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9227 if test -n "$CC"; then
9228 { echo "$as_me:$LINENO: result: $CC" >&5
9229 echo "${ECHO_T}$CC" >&6; }
9231 { echo "$as_me:$LINENO: result: no" >&5
9232 echo "${ECHO_T}no" >&6; }
9236 if test "$CC" = ""; then
9237 { { echo "$as_me:$LINENO: error: gcc is required to build AROS. Please install and run configure again." >&5
9238 echo "$as_me: error: gcc is required to build AROS. Please install and run configure again." >&2;}
9239 { (exit 1); exit 1; }; }
9242 CC
="$CC $target_tool_flags"
9244 #-----------------------------------------------------------------------------
9246 # Disable pointer-signedness warnings if the compiler recognises the option
9248 { echo "$as_me:$LINENO: checking whether ${CC} accepts -Wno-pointer-sign" >&5
9249 echo $ECHO_N "checking whether ${CC} accepts -Wno-pointer-sign... $ECHO_C" >&6; }
9250 save_cflags
="$CFLAGS"
9251 CFLAGS
="$CFLAGS -Wno-pointer-sign"
9252 cat >conftest.
$ac_ext <<_ACEOF
9255 cat confdefs.h
>>conftest.
$ac_ext
9256 cat >>conftest.
$ac_ext <<_ACEOF
9257 /* end confdefs.h. */
9267 rm -f conftest.
$ac_objext
9268 if { (ac_try
="$ac_compile"
9270 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9271 *) ac_try_echo=$ac_try;;
9273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9274 (eval "$ac_compile") 2>conftest.er1
9276 grep -v '^ *+' conftest.er1 >conftest.err
9278 cat conftest.err >&5
9279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9280 (exit $ac_status); } && {
9281 test -z "$ac_c_werror_flag" ||
9282 test ! -s conftest.err
9283 } && test -s conftest.$ac_objext; then
9284 use_no_sign_warning="yes"
9286 echo "$as_me: failed program was:" >&5
9287 sed 's/^/| /' conftest.$ac_ext >&5
9289 use_no_sign_warning="no"
9292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9293 { echo "$as_me:$LINENO: result: $use_no_sign_warning" >&5
9294 echo "${ECHO_T}$use_no_sign_warning" >&6; }
9295 if test "x-$use_no_sign_warning" = "x-yes" ; then
9296 aros_config_cflags="$aros_config_cflags -Wno-pointer-sign"
9298 CFLAGS="$save_cflags"
9300 #-----------------------------------------------------------------------------
9302 # Find all the tools we need to compile. This could be cross-compiling
9303 # though! If that is the case we use the GNU form of the target and
9304 # simply add this to the front of the binary name. This is rather simple,
9305 # but it should work under most circumstances.
9307 # The default tools are to use the same as the host, but only if the
9308 # host and target CPU are the same. With GCC this is normally enough.
9312 aros_shared_ld="$aros_host_ld"
9314 aros_target_mkdep="$aros_host_mkdep"
9315 aros_target_incl_def="$aros_host_incl"
9317 aros_kernel_cc="$CC"
9319 # The default tools executables to be linked to.
9320 if test "$aros_target_cc" != ""; then
9321 # Extract the first word of "$aros_target_cc", so it can be a program name with args.
9322 set dummy $aros_target_cc; ac_word=$2
9323 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9325 if test "${ac_cv_path_aros_target_cc+set}" = set; then
9326 echo $ECHO_N "(cached) $ECHO_C" >&6
9328 case $aros_target_cc in
9330 ac_cv_path_aros_target_cc="$aros_target_cc" # Let the user override the test with a path.
9333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9337 test -z "$as_dir" && as_dir=.
9338 for ac_exec_ext in '' $ac_executable_extensions; do
9339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9340 ac_cv_path_aros_target_cc="$as_dir/$ac_word$ac_exec_ext"
9341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9351 aros_target_cc=$ac_cv_path_aros_target_cc
9352 if test -n "$aros_target_cc"; then
9353 { echo "$as_me:$LINENO: result: $aros_target_cc" >&5
9354 echo "${ECHO_T}$aros_target_cc" >&6; }
9356 { echo "$as_me:$LINENO: result: no" >&5
9357 echo "${ECHO_T}no" >&6; }
9361 if test "$aros_target_cc" = ""; then
9362 { { echo "$as_me:$LINENO: error: gcc is required to build AROS. Please install and run configure again." >&5
9363 echo "$as_me: error: gcc is required to build AROS. Please install and run configure again." >&2;}
9364 { (exit 1); exit 1; }; }
9367 if test "$aros_target_ld" != ""; then
9368 # Extract the first word of "$aros_target_ld", so it can be a program name with args.
9369 set dummy $aros_target_ld; ac_word=$2
9370 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9372 if test "${ac_cv_path_aros_target_ld+set}" = set; then
9373 echo $ECHO_N "(cached) $ECHO_C" >&6
9375 case $aros_target_ld in
9377 ac_cv_path_aros_target_ld="$aros_target_ld" # Let the user override the test with a path.
9380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9384 test -z "$as_dir" && as_dir=.
9385 for ac_exec_ext in '' $ac_executable_extensions; do
9386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9387 ac_cv_path_aros_target_ld="$as_dir/$ac_word$ac_exec_ext"
9388 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9398 aros_target_ld=$ac_cv_path_aros_target_ld
9399 if test -n "$aros_target_ld"; then
9400 { echo "$as_me:$LINENO: result: $aros_target_ld" >&5
9401 echo "${ECHO_T}$aros_target_ld" >&6; }
9403 { echo "$as_me:$LINENO: result: no" >&5
9404 echo "${ECHO_T}no" >&6; }
9408 if test "$aros_target_ld" = ""; then
9409 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
9410 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
9411 { (exit 1); exit 1; }; }
9415 if test "$crosstools" != "yes"; then
9417 if test "$aros_target_as" = ""; then
9418 if test "$cross_compiling" = "yes" ; then
9419 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
9420 set dummy ${target_tool_prefix}as; ac_word=$2
9421 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9422 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9423 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9424 echo $ECHO_N "(cached) $ECHO_C" >&6
9426 case $aros_target_as_ln in
9428 ac_cv_path_aros_target_as_ln="$aros_target_as_ln" # Let the user override the test with a path.
9431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9435 test -z "$as_dir" && as_dir=.
9436 for ac_exec_ext in '' $ac_executable_extensions; do
9437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9438 ac_cv_path_aros_target_as_ln="$as_dir/$ac_word$ac_exec_ext"
9439 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9449 aros_target_as_ln=$ac_cv_path_aros_target_as_ln
9450 if test -n "$aros_target_as_ln"; then
9451 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9452 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9454 { echo "$as_me:$LINENO: result: no" >&5
9455 echo "${ECHO_T}no" >&6; }
9460 if test "$GCC" = "yes"; then
9461 aros_gcc_as=`$CC -print-prog-name=as
`
9462 # Extract the first word of "`basename $aros_gcc_[as
]`", so it can be a program name with args.
9463 set dummy `basename $aros_gcc_as`; ac_word=$2
9464 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9465 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9466 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9467 echo $ECHO_N "(cached) $ECHO_C" >&6
9469 case $aros_target_as_ln in
9471 ac_cv_path_aros_target_as_ln="$aros_target_as_ln" # Let the user override the test with a path.
9474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9475 for as_dir in `dirname $aros_gcc_as`
9478 test -z "$as_dir" && as_dir=.
9479 for ac_exec_ext in '' $ac_executable_extensions; do
9480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9481 ac_cv_path_aros_target_as_ln="$as_dir/$ac_word$ac_exec_ext"
9482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9492 aros_target_as_ln=$ac_cv_path_aros_target_as_ln
9493 if test -n "$aros_target_as_ln"; then
9494 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9495 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9497 { echo "$as_me:$LINENO: result: no" >&5
9498 echo "${ECHO_T}no" >&6; }
9503 if test "$aros_target_as_ln" = ""; then
9504 # Extract the first word of "as", so it can be a program name with args.
9505 set dummy as; ac_word=$2
9506 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9508 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9509 echo $ECHO_N "(cached) $ECHO_C" >&6
9511 case $aros_target_as_ln in
9513 ac_cv_path_aros_target_as_ln="$aros_target_as_ln" # Let the user override the test with a path.
9516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9520 test -z "$as_dir" && as_dir=.
9521 for ac_exec_ext in '' $ac_executable_extensions; do
9522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9523 ac_cv_path_aros_target_as_ln="$as_dir/$ac_word$ac_exec_ext"
9524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9534 aros_target_as_ln=$ac_cv_path_aros_target_as_ln
9535 if test -n "$aros_target_as_ln"; then
9536 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9537 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9539 { echo "$as_me:$LINENO: result: no" >&5
9540 echo "${ECHO_T}no" >&6; }
9547 # Extract the first word of "$aros_target_as", so it can be a program name with args.
9548 set dummy $aros_target_as; ac_word=$2
9549 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9551 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9552 echo $ECHO_N "(cached) $ECHO_C" >&6
9554 case $aros_target_as_ln in
9556 ac_cv_path_aros_target_as_ln="$aros_target_as_ln" # Let the user override the test with a path.
9559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9563 test -z "$as_dir" && as_dir=.
9564 for ac_exec_ext in '' $ac_executable_extensions; do
9565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9566 ac_cv_path_aros_target_as_ln="$as_dir/$ac_word$ac_exec_ext"
9567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9577 aros_target_as_ln=$ac_cv_path_aros_target_as_ln
9578 if test -n "$aros_target_as_ln"; then
9579 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9580 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9582 { echo "$as_me:$LINENO: result: no" >&5
9583 echo "${ECHO_T}no" >&6; }
9589 if test "$aros_target_as_ln" = ""; then
9590 { { echo "$as_me:$LINENO: error: as is required to build AROS. Please install and run configure again." >&5
9591 echo "$as_me: error: as is required to build AROS. Please install and run configure again." >&2;}
9592 { (exit 1); exit 1; }; }
9595 if test "$aros_kernel_ld" = ""; then
9596 if test "$cross_compiling" = "yes" ; then
9597 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
9598 set dummy ${target_tool_prefix}ld; ac_word=$2
9599 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9601 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9602 echo $ECHO_N "(cached) $ECHO_C" >&6
9604 case $aros_kernel_ld in
9606 ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path.
9609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9613 test -z "$as_dir" && as_dir=.
9614 for ac_exec_ext in '' $ac_executable_extensions; do
9615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9616 ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext"
9617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9627 aros_kernel_ld=$ac_cv_path_aros_kernel_ld
9628 if test -n "$aros_kernel_ld"; then
9629 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9630 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9632 { echo "$as_me:$LINENO: result: no" >&5
9633 echo "${ECHO_T}no" >&6; }
9638 if test "$GCC" = "yes"; then
9639 aros_gcc_ld=`$CC -print-prog-name=ld
`
9640 # Extract the first word of "`basename $aros_gcc_[ld
]`", so it can be a program name with args.
9641 set dummy `basename $aros_gcc_ld`; ac_word=$2
9642 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9644 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9645 echo $ECHO_N "(cached) $ECHO_C" >&6
9647 case $aros_kernel_ld in
9649 ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path.
9652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9653 for as_dir in `dirname $aros_gcc_ld`
9656 test -z "$as_dir" && as_dir=.
9657 for ac_exec_ext in '' $ac_executable_extensions; do
9658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9659 ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext"
9660 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9670 aros_kernel_ld=$ac_cv_path_aros_kernel_ld
9671 if test -n "$aros_kernel_ld"; then
9672 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9673 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9675 { echo "$as_me:$LINENO: result: no" >&5
9676 echo "${ECHO_T}no" >&6; }
9681 if test "$aros_kernel_ld" = ""; then
9682 # Extract the first word of "ld", so it can be a program name with args.
9683 set dummy ld; ac_word=$2
9684 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9686 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9687 echo $ECHO_N "(cached) $ECHO_C" >&6
9689 case $aros_kernel_ld in
9691 ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path.
9694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9698 test -z "$as_dir" && as_dir=.
9699 for ac_exec_ext in '' $ac_executable_extensions; do
9700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9701 ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext"
9702 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9712 aros_kernel_ld=$ac_cv_path_aros_kernel_ld
9713 if test -n "$aros_kernel_ld"; then
9714 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9715 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9717 { echo "$as_me:$LINENO: result: no" >&5
9718 echo "${ECHO_T}no" >&6; }
9725 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
9726 set dummy $aros_kernel_ld; ac_word=$2
9727 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9729 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9730 echo $ECHO_N "(cached) $ECHO_C" >&6
9732 case $aros_kernel_ld in
9734 ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path.
9737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9741 test -z "$as_dir" && as_dir=.
9742 for ac_exec_ext in '' $ac_executable_extensions; do
9743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9744 ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext"
9745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9755 aros_kernel_ld=$ac_cv_path_aros_kernel_ld
9756 if test -n "$aros_kernel_ld"; then
9757 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9758 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9760 { echo "$as_me:$LINENO: result: no" >&5
9761 echo "${ECHO_T}no" >&6; }
9767 if test "$aros_kernel_ld" = ""; then
9768 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
9769 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
9770 { (exit 1); exit 1; }; }
9773 if test "$aros_target_ar" = ""; then
9774 if test "$cross_compiling" = "yes" ; then
9775 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
9776 set dummy ${target_tool_prefix}ar; ac_word=$2
9777 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9779 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9780 echo $ECHO_N "(cached) $ECHO_C" >&6
9782 case $aros_target_ar_ln in
9784 ac_cv_path_aros_target_ar_ln="$aros_target_ar_ln" # Let the user override the test with a path.
9787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9791 test -z "$as_dir" && as_dir=.
9792 for ac_exec_ext in '' $ac_executable_extensions; do
9793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9794 ac_cv_path_aros_target_ar_ln="$as_dir/$ac_word$ac_exec_ext"
9795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9805 aros_target_ar_ln=$ac_cv_path_aros_target_ar_ln
9806 if test -n "$aros_target_ar_ln"; then
9807 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9808 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9810 { echo "$as_me:$LINENO: result: no" >&5
9811 echo "${ECHO_T}no" >&6; }
9816 if test "$GCC" = "yes"; then
9817 aros_gcc_ar=`$CC -print-prog-name=ar`
9818 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9819 set dummy `basename $aros_gcc_ar`; ac_word=$2
9820 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9822 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9823 echo $ECHO_N "(cached) $ECHO_C" >&6
9825 case $aros_target_ar_ln in
9827 ac_cv_path_aros_target_ar_ln="$aros_target_ar_ln" # Let the user override the test with a path.
9830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9831 for as_dir in `dirname $aros_gcc_ar`
9834 test -z "$as_dir" && as_dir=.
9835 for ac_exec_ext in '' $ac_executable_extensions; do
9836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9837 ac_cv_path_aros_target_ar_ln="$as_dir/$ac_word$ac_exec_ext"
9838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9848 aros_target_ar_ln=$ac_cv_path_aros_target_ar_ln
9849 if test -n "$aros_target_ar_ln"; then
9850 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9851 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9853 { echo "$as_me:$LINENO: result: no" >&5
9854 echo "${ECHO_T}no" >&6; }
9859 if test "$aros_target_ar_ln" = ""; then
9860 # Extract the first word of "ar", so it can be a program name with args.
9861 set dummy ar; ac_word=$2
9862 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9864 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9865 echo $ECHO_N "(cached) $ECHO_C" >&6
9867 case $aros_target_ar_ln in
9869 ac_cv_path_aros_target_ar_ln="$aros_target_ar_ln" # Let the user override the test with a path.
9872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9876 test -z "$as_dir" && as_dir=.
9877 for ac_exec_ext in '' $ac_executable_extensions; do
9878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9879 ac_cv_path_aros_target_ar_ln="$as_dir/$ac_word$ac_exec_ext"
9880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9890 aros_target_ar_ln=$ac_cv_path_aros_target_ar_ln
9891 if test -n "$aros_target_ar_ln"; then
9892 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9893 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9895 { echo "$as_me:$LINENO: result: no" >&5
9896 echo "${ECHO_T}no" >&6; }
9903 # Extract the first word of "$aros_target_ar", so it can be a program name with args.
9904 set dummy $aros_target_ar; ac_word=$2
9905 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9907 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9908 echo $ECHO_N "(cached) $ECHO_C" >&6
9910 case $aros_target_ar_ln in
9912 ac_cv_path_aros_target_ar_ln="$aros_target_ar_ln" # Let the user override the test with a path.
9915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9919 test -z "$as_dir" && as_dir=.
9920 for ac_exec_ext in '' $ac_executable_extensions; do
9921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9922 ac_cv_path_aros_target_ar_ln="$as_dir/$ac_word$ac_exec_ext"
9923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9933 aros_target_ar_ln=$ac_cv_path_aros_target_ar_ln
9934 if test -n "$aros_target_ar_ln"; then
9935 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9936 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9938 { echo "$as_me:$LINENO: result: no" >&5
9939 echo "${ECHO_T}no" >&6; }
9945 if test "$aros_target_ar_ln" = ""; then
9946 { { echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
9947 echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
9948 { (exit 1); exit 1; }; }
9951 if test "$aros_target_nm" = ""; then
9952 if test "$cross_compiling" = "yes" ; then
9953 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
9954 set dummy ${target_tool_prefix}nm; ac_word=$2
9955 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9957 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
9958 echo $ECHO_N "(cached) $ECHO_C" >&6
9960 case $aros_target_nm_ln in
9962 ac_cv_path_aros_target_nm_ln="$aros_target_nm_ln" # Let the user override the test with a path.
9965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9969 test -z "$as_dir" && as_dir=.
9970 for ac_exec_ext in '' $ac_executable_extensions; do
9971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9972 ac_cv_path_aros_target_nm_ln="$as_dir/$ac_word$ac_exec_ext"
9973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9983 aros_target_nm_ln=$ac_cv_path_aros_target_nm_ln
9984 if test -n "$aros_target_nm_ln"; then
9985 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
9986 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
9988 { echo "$as_me:$LINENO: result: no" >&5
9989 echo "${ECHO_T}no" >&6; }
9994 if test "$GCC" = "yes"; then
9995 aros_gcc_nm=`$CC -print-prog-name=nm
`
9996 # Extract the first word of "`basename $aros_gcc_[nm
]`", so it can be a program name with args.
9997 set dummy `basename $aros_gcc_nm`; ac_word=$2
9998 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10000 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
10001 echo $ECHO_N "(cached) $ECHO_C" >&6
10003 case $aros_target_nm_ln in
10005 ac_cv_path_aros_target_nm_ln="$aros_target_nm_ln" # Let the user override the test with a path.
10008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10009 for as_dir in `dirname $aros_gcc_nm`
10012 test -z "$as_dir" && as_dir=.
10013 for ac_exec_ext in '' $ac_executable_extensions; do
10014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10015 ac_cv_path_aros_target_nm_ln="$as_dir/$ac_word$ac_exec_ext"
10016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10026 aros_target_nm_ln=$ac_cv_path_aros_target_nm_ln
10027 if test -n "$aros_target_nm_ln"; then
10028 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10029 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
10031 { echo "$as_me:$LINENO: result: no" >&5
10032 echo "${ECHO_T}no" >&6; }
10037 if test "$aros_target_nm_ln" = ""; then
10038 # Extract the first word of "nm", so it can be a program name with args.
10039 set dummy nm; ac_word=$2
10040 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10042 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
10043 echo $ECHO_N "(cached) $ECHO_C" >&6
10045 case $aros_target_nm_ln in
10047 ac_cv_path_aros_target_nm_ln="$aros_target_nm_ln" # Let the user override the test with a path.
10050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10051 for as_dir in $PATH
10054 test -z "$as_dir" && as_dir=.
10055 for ac_exec_ext in '' $ac_executable_extensions; do
10056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10057 ac_cv_path_aros_target_nm_ln="$as_dir/$ac_word$ac_exec_ext"
10058 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10068 aros_target_nm_ln=$ac_cv_path_aros_target_nm_ln
10069 if test -n "$aros_target_nm_ln"; then
10070 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10071 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
10073 { echo "$as_me:$LINENO: result: no" >&5
10074 echo "${ECHO_T}no" >&6; }
10081 # Extract the first word of "$aros_target_nm", so it can be a program name with args.
10082 set dummy $aros_target_nm; ac_word=$2
10083 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10084 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10085 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
10086 echo $ECHO_N "(cached) $ECHO_C" >&6
10088 case $aros_target_nm_ln in
10090 ac_cv_path_aros_target_nm_ln="$aros_target_nm_ln" # Let the user override the test with a path.
10093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10094 for as_dir in $PATH
10097 test -z "$as_dir" && as_dir=.
10098 for ac_exec_ext in '' $ac_executable_extensions; do
10099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10100 ac_cv_path_aros_target_nm_ln="$as_dir/$ac_word$ac_exec_ext"
10101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10111 aros_target_nm_ln=$ac_cv_path_aros_target_nm_ln
10112 if test -n "$aros_target_nm_ln"; then
10113 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10114 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
10116 { echo "$as_me:$LINENO: result: no" >&5
10117 echo "${ECHO_T}no" >&6; }
10123 if test "$aros_target_nm_ln" = ""; then
10124 { { echo "$as_me:$LINENO: error: nm is required to build AROS. Please install and run configure again." >&5
10125 echo "$as_me: error: nm is required to build AROS. Please install and run configure again." >&2;}
10126 { (exit 1); exit 1; }; }
10129 if test "$aros_target_objcopy" = ""; then
10130 if test "$cross_compiling" = "yes" ; then
10131 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
10132 set dummy ${target_tool_prefix}objcopy; ac_word=$2
10133 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10135 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10136 echo $ECHO_N "(cached) $ECHO_C" >&6
10138 case $aros_target_objcopy_ln in
10140 ac_cv_path_aros_target_objcopy_ln="$aros_target_objcopy_ln" # Let the user override the test with a path.
10143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10144 for as_dir in $PATH
10147 test -z "$as_dir" && as_dir=.
10148 for ac_exec_ext in '' $ac_executable_extensions; do
10149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10150 ac_cv_path_aros_target_objcopy_ln="$as_dir/$ac_word$ac_exec_ext"
10151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10161 aros_target_objcopy_ln=$ac_cv_path_aros_target_objcopy_ln
10162 if test -n "$aros_target_objcopy_ln"; then
10163 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10164 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
10166 { echo "$as_me:$LINENO: result: no" >&5
10167 echo "${ECHO_T}no" >&6; }
10172 if test "$GCC" = "yes"; then
10173 aros_gcc_objcopy=`$CC -print-prog-name=objcopy
`
10174 # Extract the first word of "`basename $aros_gcc_[objcopy
]`", so it can be a program name with args.
10175 set dummy `basename $aros_gcc_objcopy`; ac_word=$2
10176 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10178 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10179 echo $ECHO_N "(cached) $ECHO_C" >&6
10181 case $aros_target_objcopy_ln in
10183 ac_cv_path_aros_target_objcopy_ln="$aros_target_objcopy_ln" # Let the user override the test with a path.
10186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10187 for as_dir in `dirname $aros_gcc_objcopy`
10190 test -z "$as_dir" && as_dir=.
10191 for ac_exec_ext in '' $ac_executable_extensions; do
10192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10193 ac_cv_path_aros_target_objcopy_ln="$as_dir/$ac_word$ac_exec_ext"
10194 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10204 aros_target_objcopy_ln=$ac_cv_path_aros_target_objcopy_ln
10205 if test -n "$aros_target_objcopy_ln"; then
10206 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10207 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
10209 { echo "$as_me:$LINENO: result: no" >&5
10210 echo "${ECHO_T}no" >&6; }
10215 if test "$aros_target_objcopy_ln" = ""; then
10216 # Extract the first word of "objcopy", so it can be a program name with args.
10217 set dummy objcopy; ac_word=$2
10218 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10220 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10221 echo $ECHO_N "(cached) $ECHO_C" >&6
10223 case $aros_target_objcopy_ln in
10225 ac_cv_path_aros_target_objcopy_ln="$aros_target_objcopy_ln" # Let the user override the test with a path.
10228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10229 for as_dir in $PATH
10232 test -z "$as_dir" && as_dir=.
10233 for ac_exec_ext in '' $ac_executable_extensions; do
10234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10235 ac_cv_path_aros_target_objcopy_ln="$as_dir/$ac_word$ac_exec_ext"
10236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10246 aros_target_objcopy_ln=$ac_cv_path_aros_target_objcopy_ln
10247 if test -n "$aros_target_objcopy_ln"; then
10248 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10249 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
10251 { echo "$as_me:$LINENO: result: no" >&5
10252 echo "${ECHO_T}no" >&6; }
10259 # Extract the first word of "$aros_target_objcopy", so it can be a program name with args.
10260 set dummy $aros_target_objcopy; ac_word=$2
10261 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10263 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10264 echo $ECHO_N "(cached) $ECHO_C" >&6
10266 case $aros_target_objcopy_ln in
10268 ac_cv_path_aros_target_objcopy_ln="$aros_target_objcopy_ln" # Let the user override the test with a path.
10271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10272 for as_dir in $PATH
10275 test -z "$as_dir" && as_dir=.
10276 for ac_exec_ext in '' $ac_executable_extensions; do
10277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10278 ac_cv_path_aros_target_objcopy_ln="$as_dir/$ac_word$ac_exec_ext"
10279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10289 aros_target_objcopy_ln=$ac_cv_path_aros_target_objcopy_ln
10290 if test -n "$aros_target_objcopy_ln"; then
10291 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10292 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
10294 { echo "$as_me:$LINENO: result: no" >&5
10295 echo "${ECHO_T}no" >&6; }
10301 if test "$aros_target_objcopy_ln" = ""; then
10302 { { echo "$as_me:$LINENO: error: objcopy is required to build AROS. Please install and run configure again." >&5
10303 echo "$as_me: error: objcopy is required to build AROS. Please install and run configure again." >&2;}
10304 { (exit 1); exit 1; }; }
10307 if test "$aros_target_objdump" = ""; then
10308 if test "$cross_compiling" = "yes" ; then
10309 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
10310 set dummy ${target_tool_prefix}objdump; ac_word=$2
10311 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10313 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10314 echo $ECHO_N "(cached) $ECHO_C" >&6
10316 case $aros_target_objdump_ln in
10318 ac_cv_path_aros_target_objdump_ln="$aros_target_objdump_ln" # Let the user override the test with a path.
10321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10322 for as_dir in $PATH
10325 test -z "$as_dir" && as_dir=.
10326 for ac_exec_ext in '' $ac_executable_extensions; do
10327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10328 ac_cv_path_aros_target_objdump_ln="$as_dir/$ac_word$ac_exec_ext"
10329 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10339 aros_target_objdump_ln=$ac_cv_path_aros_target_objdump_ln
10340 if test -n "$aros_target_objdump_ln"; then
10341 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10342 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
10344 { echo "$as_me:$LINENO: result: no" >&5
10345 echo "${ECHO_T}no" >&6; }
10350 if test "$GCC" = "yes"; then
10351 aros_gcc_objdump=`$CC -print-prog-name=objdump
`
10352 # Extract the first word of "`basename $aros_gcc_[objdump
]`", so it can be a program name with args.
10353 set dummy `basename $aros_gcc_objdump`; ac_word=$2
10354 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10356 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10357 echo $ECHO_N "(cached) $ECHO_C" >&6
10359 case $aros_target_objdump_ln in
10361 ac_cv_path_aros_target_objdump_ln="$aros_target_objdump_ln" # Let the user override the test with a path.
10364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10365 for as_dir in `dirname $aros_gcc_objdump`
10368 test -z "$as_dir" && as_dir=.
10369 for ac_exec_ext in '' $ac_executable_extensions; do
10370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10371 ac_cv_path_aros_target_objdump_ln="$as_dir/$ac_word$ac_exec_ext"
10372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10382 aros_target_objdump_ln=$ac_cv_path_aros_target_objdump_ln
10383 if test -n "$aros_target_objdump_ln"; then
10384 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10385 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
10387 { echo "$as_me:$LINENO: result: no" >&5
10388 echo "${ECHO_T}no" >&6; }
10393 if test "$aros_target_objdump_ln" = ""; then
10394 # Extract the first word of "objdump", so it can be a program name with args.
10395 set dummy objdump; ac_word=$2
10396 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10398 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10399 echo $ECHO_N "(cached) $ECHO_C" >&6
10401 case $aros_target_objdump_ln in
10403 ac_cv_path_aros_target_objdump_ln="$aros_target_objdump_ln" # Let the user override the test with a path.
10406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10407 for as_dir in $PATH
10410 test -z "$as_dir" && as_dir=.
10411 for ac_exec_ext in '' $ac_executable_extensions; do
10412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10413 ac_cv_path_aros_target_objdump_ln="$as_dir/$ac_word$ac_exec_ext"
10414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10424 aros_target_objdump_ln=$ac_cv_path_aros_target_objdump_ln
10425 if test -n "$aros_target_objdump_ln"; then
10426 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10427 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
10429 { echo "$as_me:$LINENO: result: no" >&5
10430 echo "${ECHO_T}no" >&6; }
10437 # Extract the first word of "$aros_target_objdump", so it can be a program name with args.
10438 set dummy $aros_target_objdump; ac_word=$2
10439 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10441 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10442 echo $ECHO_N "(cached) $ECHO_C" >&6
10444 case $aros_target_objdump_ln in
10446 ac_cv_path_aros_target_objdump_ln="$aros_target_objdump_ln" # Let the user override the test with a path.
10449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10450 for as_dir in $PATH
10453 test -z "$as_dir" && as_dir=.
10454 for ac_exec_ext in '' $ac_executable_extensions; do
10455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10456 ac_cv_path_aros_target_objdump_ln="$as_dir/$ac_word$ac_exec_ext"
10457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10467 aros_target_objdump_ln=$ac_cv_path_aros_target_objdump_ln
10468 if test -n "$aros_target_objdump_ln"; then
10469 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10470 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
10472 { echo "$as_me:$LINENO: result: no" >&5
10473 echo "${ECHO_T}no" >&6; }
10479 if test "$aros_target_objdump_ln" = ""; then
10480 { { echo "$as_me:$LINENO: error: objdump is required to build AROS. Please install and run configure again." >&5
10481 echo "$as_me: error: objdump is required to build AROS. Please install and run configure again." >&2;}
10482 { (exit 1); exit 1; }; }
10485 if test "$aros_target_ranlib" = ""; then
10486 if test "$cross_compiling" = "yes" ; then
10487 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
10488 set dummy ${target_tool_prefix}ranlib; ac_word=$2
10489 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10491 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10492 echo $ECHO_N "(cached) $ECHO_C" >&6
10494 case $aros_target_ranlib_ln in
10496 ac_cv_path_aros_target_ranlib_ln="$aros_target_ranlib_ln" # Let the user override the test with a path.
10499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10500 for as_dir in $PATH
10503 test -z "$as_dir" && as_dir=.
10504 for ac_exec_ext in '' $ac_executable_extensions; do
10505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10506 ac_cv_path_aros_target_ranlib_ln="$as_dir/$ac_word$ac_exec_ext"
10507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10517 aros_target_ranlib_ln=$ac_cv_path_aros_target_ranlib_ln
10518 if test -n "$aros_target_ranlib_ln"; then
10519 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10520 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10522 { echo "$as_me:$LINENO: result: no" >&5
10523 echo "${ECHO_T}no" >&6; }
10528 if test "$GCC" = "yes"; then
10529 aros_gcc_ranlib=`$CC -print-prog-name=ranlib
`
10530 # Extract the first word of "`basename $aros_gcc_[ranlib
]`", so it can be a program name with args.
10531 set dummy `basename $aros_gcc_ranlib`; ac_word=$2
10532 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10534 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10535 echo $ECHO_N "(cached) $ECHO_C" >&6
10537 case $aros_target_ranlib_ln in
10539 ac_cv_path_aros_target_ranlib_ln="$aros_target_ranlib_ln" # Let the user override the test with a path.
10542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10543 for as_dir in `dirname $aros_gcc_ranlib`
10546 test -z "$as_dir" && as_dir=.
10547 for ac_exec_ext in '' $ac_executable_extensions; do
10548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10549 ac_cv_path_aros_target_ranlib_ln="$as_dir/$ac_word$ac_exec_ext"
10550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10560 aros_target_ranlib_ln=$ac_cv_path_aros_target_ranlib_ln
10561 if test -n "$aros_target_ranlib_ln"; then
10562 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10563 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10565 { echo "$as_me:$LINENO: result: no" >&5
10566 echo "${ECHO_T}no" >&6; }
10571 if test "$aros_target_ranlib_ln" = ""; then
10572 # Extract the first word of "ranlib", so it can be a program name with args.
10573 set dummy ranlib; ac_word=$2
10574 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10576 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10577 echo $ECHO_N "(cached) $ECHO_C" >&6
10579 case $aros_target_ranlib_ln in
10581 ac_cv_path_aros_target_ranlib_ln="$aros_target_ranlib_ln" # Let the user override the test with a path.
10584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10585 for as_dir in $PATH
10588 test -z "$as_dir" && as_dir=.
10589 for ac_exec_ext in '' $ac_executable_extensions; do
10590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10591 ac_cv_path_aros_target_ranlib_ln="$as_dir/$ac_word$ac_exec_ext"
10592 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10602 aros_target_ranlib_ln=$ac_cv_path_aros_target_ranlib_ln
10603 if test -n "$aros_target_ranlib_ln"; then
10604 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10605 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10607 { echo "$as_me:$LINENO: result: no" >&5
10608 echo "${ECHO_T}no" >&6; }
10615 # Extract the first word of "$aros_target_ranlib", so it can be a program name with args.
10616 set dummy $aros_target_ranlib; ac_word=$2
10617 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10619 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10620 echo $ECHO_N "(cached) $ECHO_C" >&6
10622 case $aros_target_ranlib_ln in
10624 ac_cv_path_aros_target_ranlib_ln="$aros_target_ranlib_ln" # Let the user override the test with a path.
10627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10628 for as_dir in $PATH
10631 test -z "$as_dir" && as_dir=.
10632 for ac_exec_ext in '' $ac_executable_extensions; do
10633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10634 ac_cv_path_aros_target_ranlib_ln="$as_dir/$ac_word$ac_exec_ext"
10635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10645 aros_target_ranlib_ln=$ac_cv_path_aros_target_ranlib_ln
10646 if test -n "$aros_target_ranlib_ln"; then
10647 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10648 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10650 { echo "$as_me:$LINENO: result: no" >&5
10651 echo "${ECHO_T}no" >&6; }
10657 if test "$aros_target_ranlib_ln" = ""; then
10658 { { echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
10659 echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
10660 { (exit 1); exit 1; }; }
10663 if test "$aros_target_strip" = ""; then
10664 if test "$cross_compiling" = "yes" ; then
10665 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
10666 set dummy ${target_tool_prefix}strip; ac_word=$2
10667 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10669 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10670 echo $ECHO_N "(cached) $ECHO_C" >&6
10672 case $aros_target_strip_ln in
10674 ac_cv_path_aros_target_strip_ln="$aros_target_strip_ln" # Let the user override the test with a path.
10677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10678 for as_dir in $PATH
10681 test -z "$as_dir" && as_dir=.
10682 for ac_exec_ext in '' $ac_executable_extensions; do
10683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10684 ac_cv_path_aros_target_strip_ln="$as_dir/$ac_word$ac_exec_ext"
10685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10695 aros_target_strip_ln=$ac_cv_path_aros_target_strip_ln
10696 if test -n "$aros_target_strip_ln"; then
10697 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10698 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10700 { echo "$as_me:$LINENO: result: no" >&5
10701 echo "${ECHO_T}no" >&6; }
10706 if test "$GCC" = "yes"; then
10707 aros_gcc_strip=`$CC -print-prog-name=strip
`
10708 # Extract the first word of "`basename $aros_gcc_[strip
]`", so it can be a program name with args.
10709 set dummy `basename $aros_gcc_strip`; ac_word=$2
10710 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10712 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10713 echo $ECHO_N "(cached) $ECHO_C" >&6
10715 case $aros_target_strip_ln in
10717 ac_cv_path_aros_target_strip_ln="$aros_target_strip_ln" # Let the user override the test with a path.
10720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10721 for as_dir in `dirname $aros_gcc_strip`
10724 test -z "$as_dir" && as_dir=.
10725 for ac_exec_ext in '' $ac_executable_extensions; do
10726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10727 ac_cv_path_aros_target_strip_ln="$as_dir/$ac_word$ac_exec_ext"
10728 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10738 aros_target_strip_ln=$ac_cv_path_aros_target_strip_ln
10739 if test -n "$aros_target_strip_ln"; then
10740 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10741 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10743 { echo "$as_me:$LINENO: result: no" >&5
10744 echo "${ECHO_T}no" >&6; }
10749 if test "$aros_target_strip_ln" = ""; then
10750 # Extract the first word of "strip", so it can be a program name with args.
10751 set dummy strip; ac_word=$2
10752 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10754 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10755 echo $ECHO_N "(cached) $ECHO_C" >&6
10757 case $aros_target_strip_ln in
10759 ac_cv_path_aros_target_strip_ln="$aros_target_strip_ln" # Let the user override the test with a path.
10762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10763 for as_dir in $PATH
10766 test -z "$as_dir" && as_dir=.
10767 for ac_exec_ext in '' $ac_executable_extensions; do
10768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10769 ac_cv_path_aros_target_strip_ln="$as_dir/$ac_word$ac_exec_ext"
10770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10780 aros_target_strip_ln=$ac_cv_path_aros_target_strip_ln
10781 if test -n "$aros_target_strip_ln"; then
10782 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10783 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10785 { echo "$as_me:$LINENO: result: no" >&5
10786 echo "${ECHO_T}no" >&6; }
10793 # Extract the first word of "$aros_target_strip", so it can be a program name with args.
10794 set dummy $aros_target_strip; ac_word=$2
10795 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10797 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10798 echo $ECHO_N "(cached) $ECHO_C" >&6
10800 case $aros_target_strip_ln in
10802 ac_cv_path_aros_target_strip_ln="$aros_target_strip_ln" # Let the user override the test with a path.
10805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10806 for as_dir in $PATH
10809 test -z "$as_dir" && as_dir=.
10810 for ac_exec_ext in '' $ac_executable_extensions; do
10811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10812 ac_cv_path_aros_target_strip_ln="$as_dir/$ac_word$ac_exec_ext"
10813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10823 aros_target_strip_ln=$ac_cv_path_aros_target_strip_ln
10824 if test -n "$aros_target_strip_ln"; then
10825 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10826 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10828 { echo "$as_me:$LINENO: result: no" >&5
10829 echo "${ECHO_T}no" >&6; }
10835 if test "$aros_target_strip_ln" = ""; then
10836 { { echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
10837 echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
10838 { (exit 1); exit 1; }; }
10840 if test "$aros_target_cxx" != ""; then
10841 # Extract the first word of "$aros_target_cxx", so it can be a program name with args.
10842 set dummy $aros_target_cxx; ac_word=$2
10843 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10845 if test "${ac_cv_path_aros_target_cxx+set}" = set; then
10846 echo $ECHO_N "(cached) $ECHO_C" >&6
10848 case $aros_target_cxx in
10850 ac_cv_path_aros_target_cxx="$aros_target_cxx" # Let the user override the test with a path.
10853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10854 for as_dir in $PATH
10857 test -z "$as_dir" && as_dir=.
10858 for ac_exec_ext in '' $ac_executable_extensions; do
10859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10860 ac_cv_path_aros_target_cxx="$as_dir/$ac_word$ac_exec_ext"
10861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10871 aros_target_cxx=$ac_cv_path_aros_target_cxx
10872 if test -n "$aros_target_cxx"; then
10873 { echo "$as_me:$LINENO: result: $aros_target_cxx" >&5
10874 echo "${ECHO_T}$aros_target_cxx" >&6; }
10876 { echo "$as_me:$LINENO: result: no" >&5
10877 echo "${ECHO_T}no" >&6; }
10881 # Temporarily disabled in order to let Mingw32-hosted nightly build to work
10882 # AROS_REQUIRED(c++,$aros_target_cxx)
10885 # Cancel preinstalled C++ compiler because it will be built as part of crosstools
10889 # Build crosstools if we have no C++ - temporary thing
10890 if test "$aros_target_cxx" = ""; then
10891 crosstools_target=tools-crosstools
10894 if test "$rescomp" != ""; then
10895 if test "$cross_compiling" = "yes" ; then
10896 rescomp=${target_tool_prefix}${rescomp}
10898 # Extract the first word of "$rescomp", so it can be a program name with args.
10899 set dummy $rescomp; ac_word=$2
10900 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10902 if test "${ac_cv_path_aros_kernel_rescomp+set}" = set; then
10903 echo $ECHO_N "(cached) $ECHO_C" >&6
10905 case $aros_kernel_rescomp in
10907 ac_cv_path_aros_kernel_rescomp="$aros_kernel_rescomp" # Let the user override the test with a path.
10910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10911 for as_dir in $PATH
10914 test -z "$as_dir" && as_dir=.
10915 for ac_exec_ext in '' $ac_executable_extensions; do
10916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10917 ac_cv_path_aros_kernel_rescomp="$as_dir/$ac_word$ac_exec_ext"
10918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10928 aros_kernel_rescomp=$ac_cv_path_aros_kernel_rescomp
10929 if test -n "$aros_kernel_rescomp"; then
10930 { echo "$as_me:$LINENO: result: $aros_kernel_rescomp" >&5
10931 echo "${ECHO_T}$aros_kernel_rescomp" >&6; }
10933 { echo "$as_me:$LINENO: result: no" >&5
10934 echo "${ECHO_T}no" >&6; }
10938 if test "$aros_kernel_rescomp" = ""; then
10939 { { echo "$as_me:$LINENO: error: $rescomp is required to build AROS. Please install and run configure again." >&5
10940 echo "$as_me: error: $rescomp is required to build AROS. Please install and run configure again." >&2;}
10941 { (exit 1); exit 1; }; }
10945 aros_hostcfg_dir="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
10946 aros_targetcfg_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
10947 aros_inc_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
10948 aros_gendir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
10949 aros_geninc_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
10950 aros_tools_dir="bin/${aros_host_arch}-${aros_host_cpu}/tools"
10951 aros_scripts_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
10953 # aros_cc_pre is a variable that is added to the front of the compiler name
10954 # in the generated aros-gcc shell script. We need this to enable the cache
10955 # to work across cleaned builds. Also, support DISTCC using the correct
10956 # environment variable.
10959 if test "x${DISTCC}" != "x" ; then
10960 if test "x${CCACHE}" != "x" ; then
10961 aros_cc_pre="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
10963 aros_cc_pre="${DISTCC} "
10966 if test "x${CCACHE}" != "x" ; then
10967 aros_cc_pre="${CCACHE} "
10971 prefix="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
10973 aros_target_nostdinc_cflags=-nostdinc
10975 aros_target_nostartup_ldflags=-nostartfiles
10977 aros_target_nix_ldflags=-nix
10979 aros_target_detach_ldflags=-detach
10981 aros_target_nostdlib_ldflags=-nostdlib
10985 if test "$aros_target_cc" = ""; then
10986 orig_target_cc=$aros_kernel_cc
10988 orig_target_cc=$aros_target_cc
10990 if test "$aros_target_ld" = ""; then
10991 orig_target_ld=$aros_kernel_ld
10993 orig_target_ld=$aros_target_ld
10995 if test "$GCC" = "yes"; then
10996 aros_target_cc_path=`$orig_target_cc -print-search-dirs |
grep "programs: =" | cut
-c 12-`
10998 aros_target_cc="${prefix}-gcc"
10999 aros_target_as="${prefix}-as"
11000 aros_target_ld="${prefix}-ld"
11001 aros_target_ar="${prefix}-ar $aros_target_ar_flags"
11002 aros_target_objcopy=${prefix}-objcopy
11003 aros_target_objdump=${prefix}-objdump
11004 aros_target_ranlib="${prefix}-ranlib $aros_target_ranlib_flags"
11005 aros_target_nm="${prefix}-nm $aros_target_nm_flags"
11006 aros_kernel_nm="${prefix}-nm"
11007 aros_target_strip=${prefix}-strip
11009 # Find the system include path. We can suggest that an alternative is
11010 # used if we don't get it correct. The default is to use /usr/include.
11011 # Which is set in the aros_target_incl_def variable.
11013 # Check whether --enable-includes was given.
11014 if test "${enable_includes+set}" = set; then
11015 enableval=$enable_includes; aros_target_incl=$enable_includes
11017 aros_target_incl=$aros_target_incl_def
11021 if test "$aros_kernel_includes" != "" ; then
11022 { echo "$as_me:$LINENO: checking for the kernel compiler's include path" >&5
11023 echo $ECHO_N "checking for the kernel compiler's include path... $ECHO_C" >&6; }
11024 if test "$aros_kernel_cc_includes" = "" ; then
11025 #try to guess where the directory is
11026 aros_kernel_cc_includes=`dirname \
`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\``/include
11027 if ! test -d $aros_kernel_cc_includes; then
11028 #the directory doesn't exist, we need to do some more work
11029 aros_kernel_cc_includes=${PWD}/${aros_gendir}/cc_include
11031 #these are the headers we're looling for
11032 headers="limits.h mmintrin.h stdbool.h syslimits.h float.h \
11033 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
11037 for h in $headers; do
11038 #which other headers each of the above headers needs?
11039 deps=$(echo "#include <$h>" | \
11040 $aros_kernel_cc -E -M - 2>/dev/null | \
11041 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
11043 #copy all the needed headers to a directory beneath gendir
11046 dir=${aros_kernel_cc_includes}$(echo $(dirname $d) | \
11047 sed -n "s,^.*/include\(/.*\),\1,p")
11048 ! test -d $dir && mkdir -p $dir
11049 ! test -f $dir/$h && { cp $d $dir; chmod u+w $dir/$h; }
11054 { echo "$as_me:$LINENO: result: $aros_kernel_cc_includes" >&5
11055 echo "${ECHO_T}$aros_kernel_cc_includes" >&6; }
11056 aros_kernel_includes="$aros_kernel_includes -isystem $aros_kernel_cc_includes"
11059 { echo "$as_me:$LINENO: checking for the target compiler's include path" >&5
11060 echo $ECHO_N "checking for the target compiler's include path... $ECHO_C" >&6; }
11061 if test "$aros_target_cc_includes" = "" ; then
11062 #try to guess where the directory is
11063 aros_target_cc_includes=`dirname \
`${orig_target_cc} -print-libgcc-file-name\``/include
11064 if ! test -d $aros_target_cc_includes; then
11065 #the directory doesn't exist, we need to do some more work
11066 aros_target_cc_includes=${PWD}/${aros_gendir}/cc_include
11068 #these are the headers we're looling for
11069 headers="limits.h mmintrin.h stdbool.h syslimits.h float.h \
11070 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
11074 for h in $headers; do
11075 #which other headers each of the above headers needs?
11076 deps=$(echo "#include <$h>" | \
11077 $orig_target_cc -E -M - 2>/dev/null | \
11078 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
11080 #copy all the needed headers to a directory beneath gendir
11083 dir=${aros_target_cc_includes}$(echo $(dirname $d) | \
11084 sed -n "s,^.*/include\(/.*\),\1,p")
11085 ! test -d $dir && mkdir -p $dir
11086 ! test -f $dir/$h && { cp $d $dir; chmod u+w $dir/$h; }
11091 { echo "$as_me:$LINENO: result: $aros_target_cc_includes" >&5
11092 echo "${ECHO_T}$aros_target_cc_includes" >&6; }
11095 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
11096 # On GCC >= 4.0 -iquote should be used
11100 save_cflags="$CFLAGS"
11102 { echo "$as_me:$LINENO: checking whether ${CC} accepts -iquote" >&5
11103 echo $ECHO_N "checking whether ${CC} accepts -iquote... $ECHO_C" >&6; }
11104 cat >conftest.$ac_ext <<_ACEOF
11107 cat confdefs.h >>conftest.$ac_ext
11108 cat >>conftest.$ac_ext <<_ACEOF
11109 /* end confdefs.h. */
11119 rm -f conftest.$ac_objext
11120 if { (ac_try="$ac_compile"
11121 case "(($ac_try" in
11122 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11123 *) ac_try_echo
=$ac_try;;
11125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11126 (eval "$ac_compile") 2>conftest.er1
11128 grep -v '^ *+' conftest.er1
>conftest.err
11130 cat conftest.err
>&5
11131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11132 (exit $ac_status); } && {
11133 test -z "$ac_c_werror_flag" ||
11134 test ! -s conftest.err
11135 } && test -s conftest.
$ac_objext; then
11138 echo "$as_me: failed program was:" >&5
11139 sed 's/^/| /' conftest.
$ac_ext >&5
11144 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11145 { echo "$as_me:$LINENO: result: $has_iquote" >&5
11146 echo "${ECHO_T}$has_iquote" >&6; }
11147 if test "x-$has_iquote" = "x-yes" ; then
11148 host_cflags_iquote
=-iquote
11149 host_cflags_iquote_end
=
11151 host_cflags_iquote
=-I
11152 host_cflags_iquote_end
=-I-
11154 kernel_cflags_iquote
=$host_cflags_iquote
11155 kernel_cflags_iquote_end
=$host_cflags_iquote_end
11156 if test "x-$cross_compiling" = "x-yes"; then
11157 CC
="$aros_kernel_cc"
11158 { echo "$as_me:$LINENO: checking whether ${CC} accepts -fno-stack-protector" >&5
11159 echo $ECHO_N "checking whether ${CC} accepts -fno-stack-protector... $ECHO_C" >&6; }
11160 cat >conftest.
$ac_ext <<_ACEOF
11163 cat confdefs.h
>>conftest.
$ac_ext
11164 cat >>conftest.
$ac_ext <<_ACEOF
11165 /* end confdefs.h. */
11175 rm -f conftest.
$ac_objext
11176 if { (ac_try
="$ac_compile"
11177 case "(($ac_try" in
11178 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11179 *) ac_try_echo=$ac_try;;
11181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11182 (eval "$ac_compile") 2>conftest.er1
11184 grep -v '^ *+' conftest.er1 >conftest.err
11186 cat conftest.err >&5
11187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11188 (exit $ac_status); } && {
11189 test -z "$ac_c_werror_flag" ||
11190 test ! -s conftest.err
11191 } && test -s conftest.$ac_objext; then
11192 use_no_stack_protector="yes"
11194 echo "$as_me: failed program was:" >&5
11195 sed 's/^/| /' conftest.$ac_ext >&5
11197 use_no_stack_protector="no"
11200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11201 { echo "$as_me:$LINENO: result: $use_no_stack_protector" >&5
11202 echo "${ECHO_T}$use_no_stack_protector" >&6; }
11203 { echo "$as_me:$LINENO: checking whether ${CC} accepts -iquote" >&5
11204 echo $ECHO_N "checking whether ${CC} accepts -iquote... $ECHO_C" >&6; }
11205 cat >conftest.$ac_ext <<_ACEOF
11208 cat confdefs.h >>conftest.$ac_ext
11209 cat >>conftest.$ac_ext <<_ACEOF
11210 /* end confdefs.h. */
11220 rm -f conftest.$ac_objext
11221 if { (ac_try="$ac_compile"
11222 case "(($ac_try" in
11223 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11224 *) ac_try_echo
=$ac_try;;
11226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11227 (eval "$ac_compile") 2>conftest.er1
11229 grep -v '^ *+' conftest.er1
>conftest.err
11231 cat conftest.err
>&5
11232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11233 (exit $ac_status); } && {
11234 test -z "$ac_c_werror_flag" ||
11235 test ! -s conftest.err
11236 } && test -s conftest.
$ac_objext; then
11239 echo "$as_me: failed program was:" >&5
11240 sed 's/^/| /' conftest.
$ac_ext >&5
11245 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11246 { echo "$as_me:$LINENO: result: $has_iquote" >&5
11247 echo "${ECHO_T}$has_iquote" >&6; }
11248 if test "x-$has_iquote" = "x-yes" ; then
11249 kernel_cflags_iquote
=-iquote
11250 kernel_cflags_iquote_end
=
11252 kernel_cflags_iquote
=-I
11253 kernel_cflags_iquote_end
=-I-
11256 aros_cflags_iquote
=$kernel_cflags_iquote
11257 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
11258 if test "$orig_target_cc" != "$aros_kernel_cc"; then
11259 CC
="$orig_target_cc"
11260 { echo "$as_me:$LINENO: checking whether ${CC} accepts -iquote" >&5
11261 echo $ECHO_N "checking whether ${CC} accepts -iquote... $ECHO_C" >&6; }
11262 cat >conftest.
$ac_ext <<_ACEOF
11265 cat confdefs.h
>>conftest.
$ac_ext
11266 cat >>conftest.
$ac_ext <<_ACEOF
11267 /* end confdefs.h. */
11277 rm -f conftest.
$ac_objext
11278 if { (ac_try
="$ac_compile"
11279 case "(($ac_try" in
11280 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11281 *) ac_try_echo=$ac_try;;
11283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11284 (eval "$ac_compile") 2>conftest.er1
11286 grep -v '^ *+' conftest.er1 >conftest.err
11288 cat conftest.err >&5
11289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11290 (exit $ac_status); } && {
11291 test -z "$ac_c_werror_flag" ||
11292 test ! -s conftest.err
11293 } && test -s conftest.$ac_objext; then
11296 echo "$as_me: failed program was:" >&5
11297 sed 's/^/| /' conftest.$ac_ext >&5
11302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11303 { echo "$as_me:$LINENO: result: $has_iquote" >&5
11304 echo "${ECHO_T}$has_iquote" >&6; }
11305 if test "x-$has_iquote" = "x-yes" ; then
11306 aros_cflags_iquote=-iquote
11307 aros_cflags_iquote_end=
11309 aros_cflags_iquote=-I
11310 aros_cflags_iquote_end=-I-
11313 if test "x-$use_no_stack_protector" = "x-yes" ; then
11314 aros_kernel_cflags="$aros_kernel_cflags -fno-stack-protector"
11317 #-----------------------------------------------------------------------------
11319 # Check if we can explicitly choose older version of symbol hashing
11321 CFLAGS="save_cflags -Wl,--hash-style=sysv"
11322 CC="$aros_kernel_cc"
11323 { echo "$as_me:$LINENO: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
11324 echo $ECHO_N "checking whether ${CC} accepts -Wl,--hash-style=sysv... $ECHO_C" >&6; }
11325 cat >conftest.$ac_ext <<_ACEOF
11328 cat confdefs.h >>conftest.$ac_ext
11329 cat >>conftest.$ac_ext <<_ACEOF
11330 /* end confdefs.h. */
11340 rm -f conftest.$ac_objext conftest$ac_exeext
11341 if { (ac_try="$ac_link"
11342 case "(($ac_try" in
11343 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11344 *) ac_try_echo
=$ac_try;;
11346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11347 (eval "$ac_link") 2>conftest.er1
11349 grep -v '^ *+' conftest.er1
>conftest.err
11351 cat conftest.err
>&5
11352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11353 (exit $ac_status); } && {
11354 test -z "$ac_c_werror_flag" ||
11355 test ! -s conftest.err
11356 } && test -s conftest
$ac_exeext &&
11357 $as_test_x conftest
$ac_exeext; then
11358 use_hash_style
="yes"
11360 echo "$as_me: failed program was:" >&5
11361 sed 's/^/| /' conftest.
$ac_ext >&5
11363 use_hash_style
="no"
11366 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11367 conftest
$ac_exeext conftest.
$ac_ext
11368 { echo "$as_me:$LINENO: result: $use_hash_style" >&5
11369 echo "${ECHO_T}$use_hash_style" >&6; }
11370 if test "x-$use_hash_style" = "x-yes" ; then
11371 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
11374 CFLAGS
="$save_cflags"
11384 { echo "$as_me:$LINENO: checking for default resolution of WBScreen" >&5
11385 echo $ECHO_N "checking for default resolution of WBScreen... $ECHO_C" >&6; }
11387 # Check whether --with-resolution was given.
11388 if test "${with_resolution+set}" = set; then
11389 withval
=$with_resolution; resolution
=$withval
11394 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
11395 if test "$resolution" = "yes" ; then
11398 if test "$resolution" = "no" ; then
11401 if test "$resolution" != "none" ; then
11402 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
11403 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
11404 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
11406 { echo "$as_me:$LINENO: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
11407 echo "${ECHO_T}$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
11408 aros_cv_default_wbwidth
=$aros_default_wbwidth
11409 aros_cv_default_wbheight
=$aros_default_wbheight
11410 aros_cv_default_wbdepth
=$aros_default_wbdepth
11412 { echo "$as_me:$LINENO: checking if serial debug is enabled" >&5
11413 echo $ECHO_N "checking if serial debug is enabled... $ECHO_C" >&6; }
11415 # Check whether --with-serial-debug was given.
11416 if test "${with_serial_debug+set}" = set; then
11417 withval
=$with_serial_debug; serial_debug
=$withval
11422 if test "$aros_serial_debug" = 0 ; then
11423 serial_debug_forced
=""
11424 if test "$serial_debug" = "yes" ; then
11427 if test "$serial_debug" = "no" ; then
11428 serial_debug
="none"
11431 serial_debug_forced
="(forced)"
11432 serial_debug
=$aros_serial_debug
11434 if test "$serial_debug" != "none" ; then
11435 aros_serial_debug
=$serial_debug
11436 { echo "$as_me:$LINENO: result: $serial_debug_forced on port $serial_debug" >&5
11437 echo "${ECHO_T}$serial_debug_forced on port $serial_debug" >&6; }
11439 { echo "$as_me:$LINENO: result: no" >&5
11440 echo "${ECHO_T}no" >&6; }
11443 { echo "$as_me:$LINENO: checking if palm debug hack is enabled" >&5
11444 echo $ECHO_N "checking if palm debug hack is enabled... $ECHO_C" >&6; }
11445 # Check whether --enable-palm_debug_hack was given.
11446 if test "${enable_palm_debug_hack+set}" = set; then
11447 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
11449 palm_debug_hack
="no"
11452 if test "$palm_debug_hack" = "yes" ; then
11453 aros_palm_debug_hack
="1"
11455 { echo "$as_me:$LINENO: result: $palm_debug_hack" >&5
11456 echo "${ECHO_T}$palm_debug_hack" >&6; }
11459 { echo "$as_me:$LINENO: checking if nesting supervisor support is enabled" >&5
11460 echo $ECHO_N "checking if nesting supervisor support is enabled... $ECHO_C" >&6; }
11461 # Check whether --enable-nesting_supervisor was given.
11462 if test "${enable_nesting_supervisor+set}" = set; then
11463 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
11465 nesting_supervisor
="no"
11468 if test "$nesting_supervisor" = "yes" ; then
11469 aros_nesting_supervisor
="1"
11471 { echo "$as_me:$LINENO: result: $nesting_supervisor" >&5
11472 echo "${ECHO_T}$nesting_supervisor" >&6; }
11475 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
11477 if test "x-$need_dlopen" != "x-no" ; then
11478 { echo "$as_me:$LINENO: checking for dlopen" >&5
11479 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
11480 if test "${ac_cv_func_dlopen+set}" = set; then
11481 echo $ECHO_N "(cached) $ECHO_C" >&6
11483 cat >conftest.
$ac_ext <<_ACEOF
11486 cat confdefs.h
>>conftest.
$ac_ext
11487 cat >>conftest.
$ac_ext <<_ACEOF
11488 /* end confdefs.h. */
11489 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11491 #define dlopen innocuous_dlopen
11493 /* System header to define __stub macros and hopefully few prototypes,
11494 which can conflict with char dlopen (); below.
11495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11496 <limits.h> exists even on freestanding compilers. */
11499 # include <limits.h>
11501 # include <assert.h>
11506 /* Override any GCC internal prototype to avoid an error.
11507 Use char because int might match the return type of a GCC
11508 builtin and then its argument prototype would still apply. */
11513 /* The GNU C library defines this for functions which it implements
11514 to always fail with ENOSYS. Some functions are actually named
11515 something starting with __ and the normal name is an alias. */
11516 #if defined __stub_dlopen || defined __stub___dlopen
11528 rm -f conftest.
$ac_objext conftest
$ac_exeext
11529 if { (ac_try
="$ac_link"
11530 case "(($ac_try" in
11531 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11532 *) ac_try_echo=$ac_try;;
11534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11535 (eval "$ac_link") 2>conftest.er1
11537 grep -v '^ *+' conftest.er1 >conftest.err
11539 cat conftest.err >&5
11540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11541 (exit $ac_status); } && {
11542 test -z "$ac_c_werror_flag" ||
11543 test ! -s conftest.err
11544 } && test -s conftest$ac_exeext &&
11545 $as_test_x conftest$ac_exeext; then
11546 ac_cv_func_dlopen=yes
11548 echo "$as_me: failed program was:" >&5
11549 sed 's/^/| /' conftest.$ac_ext >&5
11551 ac_cv_func_dlopen=no
11554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11555 conftest$ac_exeext conftest.$ac_ext
11557 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11558 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
11559 if test $ac_cv_func_dlopen = yes; then
11565 if test "x-$have_dl" = "x-no" ; then
11566 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11567 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11568 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11569 echo $ECHO_N "(cached) $ECHO_C" >&6
11571 ac_check_lib_save_LIBS=$LIBS
11573 cat >conftest.$ac_ext <<_ACEOF
11576 cat confdefs.h >>conftest.$ac_ext
11577 cat >>conftest.$ac_ext <<_ACEOF
11578 /* end confdefs.h. */
11580 /* Override any GCC internal prototype to avoid an error.
11581 Use char because int might match the return type of a GCC
11582 builtin and then its argument prototype would still apply. */
11595 rm -f conftest.$ac_objext conftest$ac_exeext
11596 if { (ac_try="$ac_link"
11597 case "(($ac_try" in
11598 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11599 *) ac_try_echo
=$ac_try;;
11601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11602 (eval "$ac_link") 2>conftest.er1
11604 grep -v '^ *+' conftest.er1
>conftest.err
11606 cat conftest.err
>&5
11607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11608 (exit $ac_status); } && {
11609 test -z "$ac_c_werror_flag" ||
11610 test ! -s conftest.err
11611 } && test -s conftest
$ac_exeext &&
11612 $as_test_x conftest
$ac_exeext; then
11613 ac_cv_lib_dl_dlopen
=yes
11615 echo "$as_me: failed program was:" >&5
11616 sed 's/^/| /' conftest.
$ac_ext >&5
11618 ac_cv_lib_dl_dlopen
=no
11621 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11622 conftest
$ac_exeext conftest.
$ac_ext
11623 LIBS
=$ac_check_lib_save_LIBS
11625 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11626 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11627 if test $ac_cv_lib_dl_dlopen = yes; then
11629 aros_host_ldflags
="$aros_host_ldflags -ldl"
11635 if test "x-$have_dl" = "x-no" ; then
11636 { { echo "$as_me:$LINENO: error: dlopen() dynamic linker functions not available" >&5
11637 echo "$as_me: error: dlopen() dynamic linker functions not available" >&2;}
11638 { (exit 1); exit 1; }; }
11643 # Check whether --enable-x11_hidd was given.
11644 if test "${enable_x11_hidd+set}" = set; then
11645 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
11650 case "x-$x11_hidd" in
11651 x-yes|x-no|x-auto
) ;;
11652 *) x11_hidd
="auto" ;;
11657 if test "x-$x11_hidd" != "x-no" ; then
11659 { echo "$as_me:$LINENO: checking for X" >&5
11660 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
11663 # Check whether --with-x was given.
11664 if test "${with_x+set}" = set; then
11668 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11669 if test "x$with_x" = xno
; then
11670 # The user explicitly disabled X.
11673 case $x_includes,$x_libraries in #(
11674 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
11675 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
11676 { (exit 1); exit 1; }; };; #(
11677 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then
11678 echo $ECHO_N "(cached) $ECHO_C" >&6
11680 # One or both of the vars are not set, and there is no cached value.
11681 ac_x_includes
=no ac_x_libraries
=no
11682 rm -f -r conftest.dir
11683 if mkdir conftest.dir
; then
11685 cat >Imakefile
<<'_ACEOF'
11687 @echo incroot='${INCROOT}'
11689 @echo usrlibdir='${USRLIBDIR}'
11691 @echo libdir='${LIBDIR}'
11693 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
11694 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11695 for ac_var
in incroot usrlibdir libdir
; do
11696 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
11698 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11699 for ac_extension
in a so sl dylib la dll
; do
11700 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
11701 test -f "$ac_im_libdir/libX11.$ac_extension"; then
11702 ac_im_usrlibdir
=$ac_im_libdir; break
11705 # Screen out bogus values from the imake configuration. They are
11706 # bogus both because they are the default anyway, and because
11707 # using them would break gcc on systems where it needs fixed includes.
11708 case $ac_im_incroot in
11709 /usr
/include
) ac_x_includes
= ;;
11710 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
11712 case $ac_im_usrlibdir in
11713 /usr
/lib |
/lib
) ;;
11714 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
11718 rm -f -r conftest.dir
11721 # Standard set of common directories for X headers.
11722 # Check X11 before X11Rn because it is often a symlink to the current release.
11734 /usr/local/X11/include
11735 /usr/local/X11R6/include
11736 /usr/local/X11R5/include
11737 /usr/local/X11R4/include
11739 /usr/local/include/X11
11740 /usr/local/include/X11R6
11741 /usr/local/include/X11R5
11742 /usr/local/include/X11R4
11746 /usr/XFree86/include/X11
11750 /usr/unsupported/include
11751 /usr/athena/include
11752 /usr/local/x11r5/include
11753 /usr/lpp/Xamples/include
11755 /usr/openwin/include
11756 /usr/openwin/share/include'
11758 if test "$ac_x_includes" = no
; then
11759 # Guess where to find include files, by looking for Xlib.h.
11760 # First, try using that file with no special directory specified.
11761 cat >conftest.
$ac_ext <<_ACEOF
11764 cat confdefs.h
>>conftest.
$ac_ext
11765 cat >>conftest.
$ac_ext <<_ACEOF
11766 /* end confdefs.h. */
11767 #include <X11/Xlib.h>
11769 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11770 case "(($ac_try" in
11771 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11772 *) ac_try_echo=$ac_try;;
11774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11775 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11777 grep -v '^ *+' conftest.er1 >conftest.err
11779 cat conftest.err >&5
11780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11781 (exit $ac_status); } >/dev/null && {
11782 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11783 test ! -s conftest.err
11785 # We can compile using X headers with no special include directory.
11788 echo "$as_me: failed program was:" >&5
11789 sed 's/^/| /' conftest.$ac_ext >&5
11791 for ac_dir in $ac_x_header_dirs; do
11792 if test -r "$ac_dir/X11/Xlib.h"; then
11793 ac_x_includes=$ac_dir
11799 rm -f conftest.err conftest.$ac_ext
11800 fi # $ac_x_includes = no
11802 if test "$ac_x_libraries" = no; then
11803 # Check for the libraries.
11804 # See if we find them without any special options.
11805 # Don't add to $LIBS permanently.
11808 cat >conftest.$ac_ext <<_ACEOF
11811 cat confdefs.h >>conftest.$ac_ext
11812 cat >>conftest.$ac_ext <<_ACEOF
11813 /* end confdefs.h. */
11814 #include <X11/Xlib.h>
11823 rm -f conftest.$ac_objext conftest$ac_exeext
11824 if { (ac_try="$ac_link"
11825 case "(($ac_try" in
11826 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11827 *) ac_try_echo
=$ac_try;;
11829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11830 (eval "$ac_link") 2>conftest.er1
11832 grep -v '^ *+' conftest.er1
>conftest.err
11834 cat conftest.err
>&5
11835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11836 (exit $ac_status); } && {
11837 test -z "$ac_c_werror_flag" ||
11838 test ! -s conftest.err
11839 } && test -s conftest
$ac_exeext &&
11840 $as_test_x conftest
$ac_exeext; then
11842 # We can link X programs with no special library path.
11845 echo "$as_me: failed program was:" >&5
11846 sed 's/^/| /' conftest.
$ac_ext >&5
11849 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
11851 # Don't even attempt the hair of trying to link an X program!
11852 for ac_extension
in a so sl dylib la dll
; do
11853 if test -r "$ac_dir/libX11.$ac_extension"; then
11854 ac_x_libraries
=$ac_dir
11861 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11862 conftest
$ac_exeext conftest.
$ac_ext
11863 fi # $ac_x_libraries = no
11865 case $ac_x_includes,$ac_x_libraries in #(
11866 no
,* |
*,no |
*\'*)
11867 # Didn't find X, or a directory has "'" in its name.
11868 ac_cv_have_x
="have_x=no";; #(
11870 # Record where we found X for the cache.
11871 ac_cv_have_x
="have_x=yes\
11872 ac_x_includes='$ac_x_includes'\
11873 ac_x_libraries='$ac_x_libraries'"
11879 eval "$ac_cv_have_x"
11882 if test "$have_x" != yes; then
11883 { echo "$as_me:$LINENO: result: $have_x" >&5
11884 echo "${ECHO_T}$have_x" >&6; }
11887 # If each of the values was on the command line, it overrides each guess.
11888 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
11889 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
11890 # Update the cache value to reflect the command line values.
11891 ac_cv_have_x
="have_x=yes\
11892 ac_x_includes='$x_includes'\
11893 ac_x_libraries='$x_libraries'"
11894 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
11895 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
11900 for path
in $x_libraries
11902 x_cflags
="$x_cflags -L$path"
11905 for path
in $x_includes
11907 x_cflags
="$x_cflags -I$path"
11910 if test "x-$no_x" = "x-yes" ; then
11912 if test "x-$x11_hidd" != "x-auto" ; then
11913 { { echo "$as_me:$LINENO: error: X11 libs/headers not found, cannot build X11 hidd as requested" >&5
11914 echo "$as_me: error: X11 libs/headers not found, cannot build X11 hidd as requested" >&2;}
11915 { (exit 1); exit 1; }; }
11919 x11_hidd_target
=kernel-x11gfx-kobj
11922 # Check whether --enable-x11_shm was given.
11923 if test "${enable_x11_shm+set}" = set; then
11924 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
11926 x11_hidd_shm
="auto"
11929 case "x-$x11_hidd_shm" in
11930 x-yes|x-no|x-auto
) ;;
11931 *) x11_hidd_shm
="auto" ;;
11936 if test "x-$x11_hidd_shm" != "x-no" ; then
11939 for ac_header
in sys
/ipc.h
11941 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11942 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11943 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11944 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11945 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11946 echo $ECHO_N "(cached) $ECHO_C" >&6
11948 ac_res
=`eval echo '${'$as_ac_Header'}'`
11949 { echo "$as_me:$LINENO: result: $ac_res" >&5
11950 echo "${ECHO_T}$ac_res" >&6; }
11952 # Is the header compilable?
11953 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11954 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11955 cat >conftest.
$ac_ext <<_ACEOF
11958 cat confdefs.h
>>conftest.
$ac_ext
11959 cat >>conftest.
$ac_ext <<_ACEOF
11960 /* end confdefs.h. */
11961 $ac_includes_default
11962 #include <$ac_header>
11964 rm -f conftest.
$ac_objext
11965 if { (ac_try
="$ac_compile"
11966 case "(($ac_try" in
11967 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11968 *) ac_try_echo=$ac_try;;
11970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11971 (eval "$ac_compile") 2>conftest.er1
11973 grep -v '^ *+' conftest.er1 >conftest.err
11975 cat conftest.err >&5
11976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11977 (exit $ac_status); } && {
11978 test -z "$ac_c_werror_flag" ||
11979 test ! -s conftest.err
11980 } && test -s conftest.$ac_objext; then
11981 ac_header_compiler=yes
11983 echo "$as_me: failed program was:" >&5
11984 sed 's/^/| /' conftest.$ac_ext >&5
11986 ac_header_compiler=no
11989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11990 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11991 echo "${ECHO_T}$ac_header_compiler" >&6; }
11993 # Is the header present?
11994 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11995 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11996 cat >conftest.$ac_ext <<_ACEOF
11999 cat confdefs.h >>conftest.$ac_ext
12000 cat >>conftest.$ac_ext <<_ACEOF
12001 /* end confdefs.h. */
12002 #include <$ac_header>
12004 if { (ac_try="$ac_cpp conftest.$ac_ext"
12005 case "(($ac_try" in
12006 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12007 *) ac_try_echo
=$ac_try;;
12009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12010 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12012 grep -v '^ *+' conftest.er1
>conftest.err
12014 cat conftest.err
>&5
12015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12016 (exit $ac_status); } >/dev
/null
&& {
12017 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12018 test ! -s conftest.err
12020 ac_header_preproc
=yes
12022 echo "$as_me: failed program was:" >&5
12023 sed 's/^/| /' conftest.
$ac_ext >&5
12025 ac_header_preproc
=no
12028 rm -f conftest.err conftest.
$ac_ext
12029 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12030 echo "${ECHO_T}$ac_header_preproc" >&6; }
12032 # So? What about this header?
12033 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12035 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12036 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12037 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12038 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12039 ac_header_preproc
=yes
12042 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12043 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12044 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12045 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12046 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12047 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12048 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12049 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12050 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12051 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12052 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12053 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12057 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12058 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12059 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12060 echo $ECHO_N "(cached) $ECHO_C" >&6
12062 eval "$as_ac_Header=\$ac_header_preproc"
12064 ac_res
=`eval echo '${'$as_ac_Header'}'`
12065 { echo "$as_me:$LINENO: result: $ac_res" >&5
12066 echo "${ECHO_T}$ac_res" >&6; }
12069 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12070 cat >>confdefs.h
<<_ACEOF
12071 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12079 for ac_header
in sys
/shm.h
12081 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12082 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12083 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12084 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12085 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12086 echo $ECHO_N "(cached) $ECHO_C" >&6
12088 ac_res
=`eval echo '${'$as_ac_Header'}'`
12089 { echo "$as_me:$LINENO: result: $ac_res" >&5
12090 echo "${ECHO_T}$ac_res" >&6; }
12092 # Is the header compilable?
12093 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12094 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12095 cat >conftest.
$ac_ext <<_ACEOF
12098 cat confdefs.h
>>conftest.
$ac_ext
12099 cat >>conftest.
$ac_ext <<_ACEOF
12100 /* end confdefs.h. */
12101 $ac_includes_default
12102 #include <$ac_header>
12104 rm -f conftest.
$ac_objext
12105 if { (ac_try
="$ac_compile"
12106 case "(($ac_try" in
12107 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12108 *) ac_try_echo=$ac_try;;
12110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12111 (eval "$ac_compile") 2>conftest.er1
12113 grep -v '^ *+' conftest.er1 >conftest.err
12115 cat conftest.err >&5
12116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12117 (exit $ac_status); } && {
12118 test -z "$ac_c_werror_flag" ||
12119 test ! -s conftest.err
12120 } && test -s conftest.$ac_objext; then
12121 ac_header_compiler=yes
12123 echo "$as_me: failed program was:" >&5
12124 sed 's/^/| /' conftest.$ac_ext >&5
12126 ac_header_compiler=no
12129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12130 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12131 echo "${ECHO_T}$ac_header_compiler" >&6; }
12133 # Is the header present?
12134 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12135 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12136 cat >conftest.$ac_ext <<_ACEOF
12139 cat confdefs.h >>conftest.$ac_ext
12140 cat >>conftest.$ac_ext <<_ACEOF
12141 /* end confdefs.h. */
12142 #include <$ac_header>
12144 if { (ac_try="$ac_cpp conftest.$ac_ext"
12145 case "(($ac_try" in
12146 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12147 *) ac_try_echo
=$ac_try;;
12149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12150 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12152 grep -v '^ *+' conftest.er1
>conftest.err
12154 cat conftest.err
>&5
12155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12156 (exit $ac_status); } >/dev
/null
&& {
12157 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12158 test ! -s conftest.err
12160 ac_header_preproc
=yes
12162 echo "$as_me: failed program was:" >&5
12163 sed 's/^/| /' conftest.
$ac_ext >&5
12165 ac_header_preproc
=no
12168 rm -f conftest.err conftest.
$ac_ext
12169 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12170 echo "${ECHO_T}$ac_header_preproc" >&6; }
12172 # So? What about this header?
12173 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12175 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12176 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12177 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12178 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12179 ac_header_preproc
=yes
12182 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12183 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12184 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12185 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12186 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12187 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12188 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12189 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12190 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12191 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12192 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12193 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12197 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12198 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12199 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12200 echo $ECHO_N "(cached) $ECHO_C" >&6
12202 eval "$as_ac_Header=\$ac_header_preproc"
12204 ac_res
=`eval echo '${'$as_ac_Header'}'`
12205 { echo "$as_me:$LINENO: result: $ac_res" >&5
12206 echo "${ECHO_T}$ac_res" >&6; }
12209 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12210 cat >>confdefs.h
<<_ACEOF
12211 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12219 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
12221 save_cflags
="$CFLAGS"
12222 CFLAGS
="$CFLAGS $x_cflags"
12223 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
12224 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
12225 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
12226 echo $ECHO_N "(cached) $ECHO_C" >&6
12228 ac_check_lib_save_LIBS
=$LIBS
12229 LIBS
="-lXext $LIBS"
12230 cat >conftest.
$ac_ext <<_ACEOF
12233 cat confdefs.h
>>conftest.
$ac_ext
12234 cat >>conftest.
$ac_ext <<_ACEOF
12235 /* end confdefs.h. */
12237 /* Override any GCC internal prototype to avoid an error.
12238 Use char because int might match the return type of a GCC
12239 builtin and then its argument prototype would still apply. */
12243 char XShmQueryExtension ();
12247 return XShmQueryExtension ();
12252 rm -f conftest.
$ac_objext conftest
$ac_exeext
12253 if { (ac_try
="$ac_link"
12254 case "(($ac_try" in
12255 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12256 *) ac_try_echo=$ac_try;;
12258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12259 (eval "$ac_link") 2>conftest.er1
12261 grep -v '^ *+' conftest.er1 >conftest.err
12263 cat conftest.err >&5
12264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12265 (exit $ac_status); } && {
12266 test -z "$ac_c_werror_flag" ||
12267 test ! -s conftest.err
12268 } && test -s conftest$ac_exeext &&
12269 $as_test_x conftest$ac_exeext; then
12270 ac_cv_lib_Xext_XShmQueryExtension=yes
12272 echo "$as_me: failed program was:" >&5
12273 sed 's/^/| /' conftest.$ac_ext >&5
12275 ac_cv_lib_Xext_XShmQueryExtension=no
12278 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12279 conftest$ac_exeext conftest.$ac_ext
12280 LIBS=$ac_check_lib_save_LIBS
12282 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
12283 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
12284 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
12288 CFLAGS="$save_cflags"
12292 if test "x-$have_xshm" = "x-yes" ; then
12293 DO_XSHM_SUPPORT="1"
12294 elif test "x-$x11_hidd_shm" = "x-yes" ; then
12295 { { echo "$as_me:$LINENO: error: X11 has no support for shared memory, cannot enable it as requested" >&5
12296 echo "$as_me: error: X11 has no support for shared memory, cannot enable it as requested" >&2;}
12297 { (exit 1); exit 1; }; }
12299 DO_XSHM_SUPPORT="0"
12303 # Check whether --enable-x11_vidmode was given.
12304 if test "${enable_x11_vidmode+set}" = set; then
12305 enableval=$enable_x11_vidmode; x11_hidd_vidmode="$enableval"
12307 x11_hidd_vidmode="auto"
12310 case "x-$x11_hidd_vidmode" in
12311 x-yes|x-no|x-auto) ;;
12312 *) x11_hidd_vidmode="auto" ;;
12317 if test "x-$x11_hidd_vidmode" != "x-no" ; then
12319 save_cflags="$CFLAGS"
12320 CFLAGS="$CFLAGS $x_cflags"
12321 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
12322 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
12323 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
12324 echo $ECHO_N "(cached) $ECHO_C" >&6
12326 ac_check_lib_save_LIBS=$LIBS
12327 LIBS="-lXxf86vm $LIBS"
12328 cat >conftest.$ac_ext <<_ACEOF
12331 cat confdefs.h >>conftest.$ac_ext
12332 cat >>conftest.$ac_ext <<_ACEOF
12333 /* end confdefs.h. */
12335 /* Override any GCC internal prototype to avoid an error.
12336 Use char because int might match the return type of a GCC
12337 builtin and then its argument prototype would still apply. */
12341 char XF86VidModeQueryExtension ();
12345 return XF86VidModeQueryExtension ();
12350 rm -f conftest.$ac_objext conftest$ac_exeext
12351 if { (ac_try="$ac_link"
12352 case "(($ac_try" in
12353 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12354 *) ac_try_echo
=$ac_try;;
12356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12357 (eval "$ac_link") 2>conftest.er1
12359 grep -v '^ *+' conftest.er1
>conftest.err
12361 cat conftest.err
>&5
12362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12363 (exit $ac_status); } && {
12364 test -z "$ac_c_werror_flag" ||
12365 test ! -s conftest.err
12366 } && test -s conftest
$ac_exeext &&
12367 $as_test_x conftest
$ac_exeext; then
12368 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
12370 echo "$as_me: failed program was:" >&5
12371 sed 's/^/| /' conftest.
$ac_ext >&5
12373 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
12376 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12377 conftest
$ac_exeext conftest.
$ac_ext
12378 LIBS
=$ac_check_lib_save_LIBS
12380 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
12381 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
12382 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
12386 CFLAGS
="$save_cflags"
12389 if test "x-$have_vidmode" = "x-yes" ; then
12390 DO_VIDMODE_SUPPORT
="1"
12391 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
12392 { { echo "$as_me:$LINENO: error: X11 vidmode extension not available, cannot enable it as requested" >&5
12393 echo "$as_me: error: X11 vidmode extension not available, cannot enable it as requested" >&2;}
12394 { (exit 1); exit 1; }; }
12396 DO_VIDMODE_SUPPORT
="0"
12400 aros_host_x11_includes
=$x_includes
12401 aros_host_x11_libdirs
=$x_libraries
12405 # Check whether --enable-sdl_hidd was given.
12406 if test "${enable_sdl_hidd+set}" = set; then
12407 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
12412 case "x-$sdl_hidd" in
12413 x-yes|x-no|x-auto
) ;;
12414 *) sdl_hidd
="auto" ;;
12417 if test "x-$sdl_hidd" != "x-no" ; then
12420 # Check whether --with-sdl-prefix was given.
12421 if test "${with_sdl_prefix+set}" = set; then
12422 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
12428 # Check whether --with-sdl-exec-prefix was given.
12429 if test "${with_sdl_exec_prefix+set}" = set; then
12430 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
12435 # Check whether --enable-sdltest was given.
12436 if test "${enable_sdltest+set}" = set; then
12437 enableval
=$enable_sdltest;
12443 if test x
$sdl_exec_prefix != x
; then
12444 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
12445 if test x
${SDL_CONFIG+set} != xset
; then
12446 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
12449 if test x
$sdl_prefix != x
; then
12450 sdl_args
="$sdl_args --prefix=$sdl_prefix"
12451 if test x
${SDL_CONFIG+set} != xset
; then
12452 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
12456 if test "x$prefix" != xNONE
; then
12457 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
12459 # Extract the first word of "sdl-config", so it can be a program name with args.
12460 set dummy sdl-config
; ac_word
=$2
12461 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12462 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12463 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
12464 echo $ECHO_N "(cached) $ECHO_C" >&6
12466 case $SDL_CONFIG in
12468 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
12471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12472 for as_dir
in $PATH
12475 test -z "$as_dir" && as_dir
=.
12476 for ac_exec_ext
in '' $ac_executable_extensions; do
12477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12478 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12486 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
12490 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
12491 if test -n "$SDL_CONFIG"; then
12492 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
12493 echo "${ECHO_T}$SDL_CONFIG" >&6; }
12495 { echo "$as_me:$LINENO: result: no" >&5
12496 echo "${ECHO_T}no" >&6; }
12500 min_sdl_version
=1.2.10
12501 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
12502 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
12504 if test "$SDL_CONFIG" = "no" ; then
12507 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
12508 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
12510 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
12511 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12512 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
12513 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12514 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
12515 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12516 if test "x$enable_sdltest" = "xyes" ; then
12517 ac_save_CFLAGS
="$CFLAGS"
12518 ac_save_CXXFLAGS
="$CXXFLAGS"
12519 ac_save_LIBS
="$LIBS"
12520 CFLAGS
="$CFLAGS $SDL_CFLAGS"
12521 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
12522 LIBS
="$LIBS $SDL_LIBS"
12524 if test "$cross_compiling" = yes; then
12525 echo $ac_n "cross compiling; assumed OK... $ac_c"
12527 cat >conftest.
$ac_ext <<_ACEOF
12530 cat confdefs.h
>>conftest.
$ac_ext
12531 cat >>conftest.
$ac_ext <<_ACEOF
12532 /* end confdefs.h. */
12535 #include <stdlib.h>
12536 #include <string.h>
12540 my_strdup (char *str)
12546 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
12547 strcpy (new_str, str);
12555 int main (int argc, char *argv[])
12557 int major, minor, micro;
12560 /* This hangs on some systems (?)
12561 system ("touch conf.sdltest");
12563 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
12565 /* HP/UX 9 (%@#!) writes to sscanf strings */
12566 tmp_version = my_strdup("$min_sdl_version");
12567 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12568 printf("%s, bad version string\n", "$min_sdl_version");
12572 if (($sdl_major_version > major) ||
12573 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
12574 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
12580 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
12581 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
12582 printf("*** best to upgrade to the required version.\n");
12583 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
12584 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
12585 printf("*** config.cache before re-running configure\n");
12592 rm -f conftest
$ac_exeext
12593 if { (ac_try
="$ac_link"
12594 case "(($ac_try" in
12595 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12596 *) ac_try_echo=$ac_try;;
12598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12599 (eval "$ac_link") 2>&5
12601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12602 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12603 { (case "(($ac_try" in
12604 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12605 *) ac_try_echo
=$ac_try;;
12607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12608 (eval "$ac_try") 2>&5
12610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12611 (exit $ac_status); }; }; then
12614 echo "$as_me: program exited with status $ac_status" >&5
12615 echo "$as_me: failed program was:" >&5
12616 sed 's/^/| /' conftest.
$ac_ext >&5
12618 ( exit $ac_status )
12621 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12625 CFLAGS
="$ac_save_CFLAGS"
12626 CXXFLAGS
="$ac_save_CXXFLAGS"
12627 LIBS
="$ac_save_LIBS"
12630 if test "x$no_sdl" = x
; then
12631 { echo "$as_me:$LINENO: result: yes" >&5
12632 echo "${ECHO_T}yes" >&6; }
12635 { echo "$as_me:$LINENO: result: no" >&5
12636 echo "${ECHO_T}no" >&6; }
12637 if test "$SDL_CONFIG" = "no" ; then
12638 echo "*** The sdl-config script installed by SDL could not be found"
12639 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
12640 echo "*** your path, or set the SDL_CONFIG environment variable to the"
12641 echo "*** full path to sdl-config."
12643 if test -f conf.sdltest
; then
12646 echo "*** Could not run SDL test program, checking why..."
12647 CFLAGS
="$CFLAGS $SDL_CFLAGS"
12648 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
12649 LIBS
="$LIBS $SDL_LIBS"
12650 cat >conftest.
$ac_ext <<_ACEOF
12653 cat confdefs.h
>>conftest.
$ac_ext
12654 cat >>conftest.
$ac_ext <<_ACEOF
12655 /* end confdefs.h. */
12660 int main(int argc, char *argv[])
12663 #define main K_and_R_C_main
12673 rm -f conftest.
$ac_objext conftest
$ac_exeext
12674 if { (ac_try
="$ac_link"
12675 case "(($ac_try" in
12676 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12677 *) ac_try_echo=$ac_try;;
12679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12680 (eval "$ac_link") 2>conftest.er1
12682 grep -v '^ *+' conftest.er1 >conftest.err
12684 cat conftest.err >&5
12685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12686 (exit $ac_status); } && {
12687 test -z "$ac_c_werror_flag" ||
12688 test ! -s conftest.err
12689 } && test -s conftest$ac_exeext &&
12690 $as_test_x conftest$ac_exeext; then
12691 echo "*** The test program compiled, but did not run. This usually means"
12692 echo "*** that the run-time linker is not finding SDL or finding the wrong"
12693 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
12694 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12695 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12696 echo "*** is required on your system"
12698 echo "*** If you have an old version installed, it is best to remove it, although"
12699 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12701 echo "$as_me: failed program was:" >&5
12702 sed 's/^/| /' conftest.$ac_ext >&5
12704 echo "*** The test program failed to compile or link. See the file config.log for the"
12705 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
12706 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
12707 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
12710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12711 conftest$ac_exeext conftest.$ac_ext
12712 CFLAGS="$ac_save_CFLAGS"
12713 CXXFLAGS="$ac_save_CXXFLAGS"
12714 LIBS="$ac_save_LIBS"
12726 if test "x-$have_sdl" != "x-yes" ; then
12728 if test "x-$sdl_hidd" != "x-auto" ; then
12729 { { echo "$as_me:$LINENO: error: SDL libs/headers not found, cannot build SDL hidd as requested" >&5
12730 echo "$as_me: error: SDL libs/headers not found, cannot build SDL hidd as requested" >&2;}
12731 { (exit 1); exit 1; }; }
12735 sdl_hidd_target=kernel-hidd-sdl
12736 aros_host_sdl_cflags=SDL_CFLAGS
12737 aros_host_sdl_libs=SDL_LIBS
12741 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
12742 { echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5
12743 echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6; }
12744 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
12745 echo $ECHO_N "(cached) $ECHO_C" >&6
12747 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5
12748 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; }
12750 # Is the header compilable?
12751 { echo "$as_me:$LINENO: checking sys/soundcard.h usability" >&5
12752 echo $ECHO_N "checking sys/soundcard.h usability... $ECHO_C" >&6; }
12753 cat >conftest.$ac_ext <<_ACEOF
12756 cat confdefs.h >>conftest.$ac_ext
12757 cat >>conftest.$ac_ext <<_ACEOF
12758 /* end confdefs.h. */
12759 $ac_includes_default
12760 #include <sys/soundcard.h>
12762 rm -f conftest.$ac_objext
12763 if { (ac_try="$ac_compile"
12764 case "(($ac_try" in
12765 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12766 *) ac_try_echo
=$ac_try;;
12768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12769 (eval "$ac_compile") 2>conftest.er1
12771 grep -v '^ *+' conftest.er1
>conftest.err
12773 cat conftest.err
>&5
12774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12775 (exit $ac_status); } && {
12776 test -z "$ac_c_werror_flag" ||
12777 test ! -s conftest.err
12778 } && test -s conftest.
$ac_objext; then
12779 ac_header_compiler
=yes
12781 echo "$as_me: failed program was:" >&5
12782 sed 's/^/| /' conftest.
$ac_ext >&5
12784 ac_header_compiler
=no
12787 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12788 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12789 echo "${ECHO_T}$ac_header_compiler" >&6; }
12791 # Is the header present?
12792 { echo "$as_me:$LINENO: checking sys/soundcard.h presence" >&5
12793 echo $ECHO_N "checking sys/soundcard.h presence... $ECHO_C" >&6; }
12794 cat >conftest.
$ac_ext <<_ACEOF
12797 cat confdefs.h
>>conftest.
$ac_ext
12798 cat >>conftest.
$ac_ext <<_ACEOF
12799 /* end confdefs.h. */
12800 #include <sys/soundcard.h>
12802 if { (ac_try
="$ac_cpp conftest.$ac_ext"
12803 case "(($ac_try" in
12804 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12805 *) ac_try_echo=$ac_try;;
12807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12808 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12810 grep -v '^ *+' conftest.er1 >conftest.err
12812 cat conftest.err >&5
12813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12814 (exit $ac_status); } >/dev/null && {
12815 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12816 test ! -s conftest.err
12818 ac_header_preproc=yes
12820 echo "$as_me: failed program was:" >&5
12821 sed 's/^/| /' conftest.$ac_ext >&5
12823 ac_header_preproc=no
12826 rm -f conftest.err conftest.$ac_ext
12827 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12828 echo "${ECHO_T}$ac_header_preproc" >&6; }
12830 # So? What about this header?
12831 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12833 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&5
12834 echo "$as_me: WARNING: sys/soundcard.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12835 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&5
12836 echo "$as_me: WARNING: sys/soundcard.h: proceeding with the compiler's result" >&2;}
12837 ac_header_preproc=yes
12840 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: present but cannot be compiled" >&5
12841 echo "$as_me: WARNING: sys/soundcard.h: present but cannot be compiled" >&2;}
12842 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: check for missing prerequisite headers?" >&5
12843 echo "$as_me: WARNING: sys/soundcard.h: check for missing prerequisite headers?" >&2;}
12844 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: see the Autoconf documentation" >&5
12845 echo "$as_me: WARNING: sys/soundcard.h: see the Autoconf documentation" >&2;}
12846 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: section \"Present But Cannot Be Compiled\"" >&5
12847 echo "$as_me: WARNING: sys/soundcard.h: section \"Present But Cannot Be Compiled\"" >&2;}
12848 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&5
12849 echo "$as_me: WARNING: sys/soundcard.h: proceeding with the preprocessor's result" >&2;}
12850 { echo "$as_me:$LINENO: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&5
12851 echo "$as_me: WARNING: sys/soundcard.h: in the future, the compiler will take precedence" >&2;}
12855 { echo "$as_me:$LINENO: checking for sys/soundcard.h" >&5
12856 echo $ECHO_N "checking for sys/soundcard.h... $ECHO_C" >&6; }
12857 if test "${ac_cv_header_sys_soundcard_h+set}" = set; then
12858 echo $ECHO_N "(cached) $ECHO_C" >&6
12860 ac_cv_header_sys_soundcard_h=$ac_header_preproc
12862 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard_h" >&5
12863 echo "${ECHO_T}$ac_cv_header_sys_soundcard_h" >&6; }
12868 if test "x-$ac_cv_header_sys_soundcard_h" = "x-yes" ; then
12869 oss_library_target=workbench-libs-oss-unix
12874 { echo "$as_me:$LINENO: checking if building of dbus.library is enabled" >&5
12875 echo $ECHO_N "checking if building of dbus.library is enabled... $ECHO_C" >&6; }
12876 # Check whether --enable-dbus was given.
12877 if test "${enable_dbus+set}" = set; then
12878 enableval=$enable_dbus; dbus="yes"
12883 if test "$dbus" = "yes" ; then
12885 DBUS_CFLAGS=`pkg-config
--cflags dbus-1
`
12886 DBUS_LIBFLAGS=`pkg-config
--libs dbus-1
`
12887 KERNEL_DBUS_KOBJ=kernel-dbus-kobj
12888 KERNEL_DBUS_INCLUDES=kernel-dbus-includes
12892 { echo "$as_me:$LINENO: result: $dbus" >&5
12893 echo "${ECHO_T}$dbus" >&6; }
13000 # Native version related
13003 # Palm native version related
13006 # Unix/Hosted version related
13009 # Apple iOS related
13030 # Collect-aros stuff: "-ius" to ignore undefined symbols
13033 # C compiler related
13036 case "$aros_flavour" in
13037 emulation) aros_flavour_uc="AROS_FLAVOUR_EMULATION"
13038 aros_flavour="emulation" ;;
13039 emulcompat) aros_flavour_uc="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
13040 aros_flavour="emulation" ;;
13041 standalone) aros_flavour_uc="AROS_FLAVOUR_STANDALONE"
13042 aros_flavour="standalone";;
13043 standcompat) aros_flavour_uc="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
13044 aros_flavour="standalone";;
13045 native) aros_flavour_uc="AROS_FLAVOUR_NATIVE"
13046 aros_flavour="native" ;;
13047 nativecompat) aros_flavour_uc="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
13048 aros_flavour="native" ;;
13049 linklib) aros_flavour_uc="AROS_FLAVOUR_LINKLIB"
13050 aros_flavour="linklib" ;;
13051 palmnative) aros_flavour_uc="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
13052 aros_flavour="palmnative" ;;
13053 mac68knative) aros_flavour_uc="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
13054 aros_flavour="mac68knative" ;;
13055 ppcnative) aros_flavour_uc="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
13056 aros_flavour="ppcnative" ;;
13059 if test ! -d ${aros_inc_dir} ; then
13060 ${MKDIR} ${aros_inc_dir}
13062 if test ! -d ${aros_geninc_dir} ; then
13063 ${MKDIR} ${aros_geninc_dir}
13065 if test ! -d ${aros_hostcfg_dir} ; then
13066 ${MKDIR} ${aros_hostcfg_dir}
13068 if test ! -d ${aros_targetcfg_dir} ; then
13069 ${MKDIR} ${aros_targetcfg_dir}
13071 if test ! -d ${aros_tools_dir} ; then
13072 ${MKDIR} ${aros_tools_dir}
13074 if test ! -d ${aros_scripts_dir} ; then
13075 ${MKDIR} ${aros_scripts_dir}
13078 ac_config_headers="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
13081 ac_config_commands="$ac_config_commands compiler_executable"
13083 ac_config_commands="$ac_config_commands genshared_executable"
13085 ac_config_commands="$ac_config_commands genmf_executable"
13088 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"
13091 cat >confcache <<\_ACEOF
13092 # This file is a shell script that caches the results of configure
13093 # tests run on this system so they can be shared between configure
13094 # scripts and configure runs, see configure's option --config-cache.
13095 # It is not useful on other systems. If it contains results you don't
13096 # want to keep, you may remove or edit it.
13098 # config.status only pays attention to the cache file if you give it
13099 # the --recheck option to rerun configure.
13101 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
13102 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13103 # following values.
13107 # The following way of writing the cache mishandles newlines in values,
13108 # but we know of no workaround that is simple, portable, and efficient.
13109 # So, we kill variables containing newlines.
13110 # Ultrix sh set writes to stderr and can't be redirected directly,
13111 # and sets the high bit in the cache file unless we assign to the vars.
13113 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13114 eval ac_val
=\$
$ac_var
13118 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13119 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13122 _ | IFS | as_nl
) ;; #(
13123 *) $as_unset $ac_var ;;
13129 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13130 *${as_nl}ac_space
=\
*)
13131 # `set' does not quote correctly, so add quotes (double-quote
13132 # substitution turns \\\\ into \\, and sed turns \\ into \).
13135 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13138 # `set' quotes correctly as required by POSIX, so do not add quotes.
13139 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13148 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13150 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13152 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13153 if test -w "$cache_file"; then
13154 test "x$cache_file" != "x/dev/null" &&
13155 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
13156 echo "$as_me: updating cache $cache_file" >&6;}
13157 cat confcache
>$cache_file
13159 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13160 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13165 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13166 # Let make expand exec_prefix.
13167 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13169 DEFS
=-DHAVE_CONFIG_H
13173 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13174 # 1. Remove the extension, and $U if already installed.
13175 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13176 ac_i
=`echo "$ac_i" | sed "$ac_script"`
13177 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13178 # will be set to the directory where LIBOBJS objects are built.
13179 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13180 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
13182 LIBOBJS
=$ac_libobjs
13184 LTLIBOBJS
=$ac_ltlibobjs
13188 : ${CONFIG_STATUS=./config.status}
13189 ac_clean_files_save
=$ac_clean_files
13190 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13191 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13192 echo "$as_me: creating $CONFIG_STATUS" >&6;}
13193 cat >$CONFIG_STATUS <<_ACEOF
13195 # Generated by $as_me.
13196 # Run this file to recreate the current configuration.
13197 # Compiler output produced by configure, useful for debugging
13198 # configure, is in config.log if it exists.
13201 ac_cs_recheck=false
13203 SHELL=\${CONFIG_SHELL-$SHELL}
13206 cat >>$CONFIG_STATUS <<\_ACEOF
13207 ## --------------------- ##
13208 ## M4sh Initialization. ##
13209 ## --------------------- ##
13211 # Be more Bourne compatible
13212 DUALCASE
=1; export DUALCASE
# for MKS sh
13213 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
13216 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
13217 # is contrary to our usage. Disable this feature.
13218 alias -g '${1+"$@"}'='"$@"'
13219 setopt NO_GLOB_SUBST
13221 case `(set -o) 2>/dev/null` in
13222 *posix
*) set -o posix
;;
13231 # Avoid depending upon Character Ranges.
13232 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13233 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13234 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13235 as_cr_digits
='0123456789'
13236 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13238 # The user is always right.
13239 if test "${PATH_SEPARATOR+set}" != set; then
13240 echo "#! /bin/sh" >conf$$.sh
13241 echo "exit 0" >>conf$$.sh
13243 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
13251 # Support unset when possible.
13252 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
13260 # We need space, tab and new line, in precisely that order. Quoting is
13261 # there to prevent editors from complaining about space-tab.
13262 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13263 # splitting by setting IFS to empty value.)
13268 # Find who we are. Look in the path if we contain no directory separator.
13270 *[\\/]* ) as_myself
=$0 ;;
13271 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13272 for as_dir
in $PATH
13275 test -z "$as_dir" && as_dir
=.
13276 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
13282 # We did not find ourselves, most probably we were run as `sh COMMAND'
13283 # in which case we are not to be found in the path.
13284 if test "x$as_myself" = x
; then
13287 if test ! -f "$as_myself"; then
13288 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13289 { (exit 1); exit 1; }
13292 # Work around bugs in pre-3.0 UWIN ksh.
13293 for as_var
in ENV MAIL MAILPATH
13294 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
13302 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
13303 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
13304 LC_TELEPHONE LC_TIME
13306 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
13307 eval $as_var=C
; export $as_var
13309 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
13313 # Required to use basename.
13314 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13315 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13321 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13322 as_basename
=basename
13328 # Name of the executable.
13329 as_me
=`$as_basename -- "$0" ||
13330 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13331 X"$0" : 'X\(//\)$' \| \
13332 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13334 sed '/^.*\/\([^/][^/]*\)\/*$/{
13353 as_lineno_1
=$LINENO
13354 as_lineno_2
=$LINENO
13355 test "x$as_lineno_1" != "x$as_lineno_2" &&
13356 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
13358 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13359 # uniformly replaced by the line number. The first 'sed' inserts a
13360 # line-number line after each line using $LINENO; the second 'sed'
13361 # does the real work. The second script uses 'N' to pair each
13362 # line-number line with the line containing $LINENO, and appends
13363 # trailing '-' during substitution so that $LINENO is not a special
13364 # case at line end.
13365 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13366 # scripts with optimization help from Paolo Bonzini. Blame Lee
13367 # E. McMahon (1931-1989) for sed's syntax. :-)
13379 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13382 ' >$as_me.lineno
&&
13383 chmod +x
"$as_me.lineno" ||
13384 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13385 { (exit 1); exit 1; }; }
13387 # Don't try to exec as it changes $[0], causing all sort of problems
13388 # (the dirname of $[0] is not the place where we might find the
13389 # original and so on. Autoconf is especially sensitive to this).
13390 .
"./$as_me.lineno"
13391 # Exit status is that of the last command.
13396 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13402 ECHO_C
= ECHO_N
= ECHO_T
=
13403 case `echo -n x` in
13405 case `echo 'x\c'` in
13406 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13413 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13414 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13420 rm -f conf$$ conf$$.exe conf$$.
file
13421 if test -d conf$$.dir
; then
13422 rm -f conf$$.dir
/conf$$.
file
13428 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13430 # ... but there are two gotchas:
13431 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13432 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13433 # In both cases, we have to default to `cp -p'.
13434 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13436 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13441 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13442 rmdir conf$$.dir
2>/dev
/null
13444 if mkdir
-p .
2>/dev
/null
; then
13447 test -d .
/-p && rmdir .
/-p
13451 if test -x / >/dev
/null
2>&1; then
13452 as_test_x
='test -x'
13454 if ls -dL / >/dev
/null
2>&1; then
13461 if test -d "$1"; then
13467 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13468 ???[sx]*):;;*)false;;esac;fi
13472 as_executable_p
=$as_test_x
13474 # Sed expression to map a string onto a valid CPP name.
13475 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13477 # Sed expression to map a string onto a valid variable name.
13478 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13483 # Save the log message, to keep $[0] and so on meaningful, and to
13484 # report actual input values of CONFIG_FILES etc. instead of their
13485 # values after options handling.
13487 This file was extended by $as_me, which was
13488 generated by GNU Autoconf 2.61. Invocation command line was
13490 CONFIG_FILES = $CONFIG_FILES
13491 CONFIG_HEADERS = $CONFIG_HEADERS
13492 CONFIG_LINKS = $CONFIG_LINKS
13493 CONFIG_COMMANDS = $CONFIG_COMMANDS
13496 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13501 cat >>$CONFIG_STATUS <<_ACEOF
13502 # Files that config.status was made for.
13503 config_files="$ac_config_files"
13504 config_headers="$ac_config_headers"
13505 config_commands="$ac_config_commands"
13509 cat >>$CONFIG_STATUS <<\_ACEOF
13511 \`$as_me' instantiates files from templates according to the
13512 current configuration.
13514 Usage: $0 [OPTIONS] [FILE]...
13516 -h, --help print this help, then exit
13517 -V, --version print version number and configuration settings, then exit
13518 -q, --quiet do not print progress messages
13519 -d, --debug don't remove temporary files
13520 --recheck update $as_me by reconfiguring in the same conditions
13521 --file=FILE[:TEMPLATE]
13522 instantiate the configuration file FILE
13523 --header=FILE[:TEMPLATE]
13524 instantiate the configuration header FILE
13526 Configuration files:
13529 Configuration headers:
13532 Configuration commands:
13535 Report bugs to <bug-autoconf@gnu.org>."
13538 cat >>$CONFIG_STATUS <<_ACEOF
13541 configured by $0, generated by GNU Autoconf 2.61,
13542 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13544 Copyright (C) 2006 Free Software Foundation, Inc.
13545 This config.status script is free software; the Free Software Foundation
13546 gives unlimited permission to copy, distribute and modify it."
13552 cat >>$CONFIG_STATUS <<\_ACEOF
13553 # If no file are specified by the user, then we need to provide default
13554 # value. By we need to know if files were specified by the user.
13560 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13561 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13572 # Handling of the options.
13573 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13575 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13576 echo "$ac_cs_version"; exit ;;
13577 --debug |
--debu |
--deb |
--de |
--d |
-d )
13579 --file |
--fil |
--fi |
--f )
13581 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
13582 ac_need_defaults
=false
;;
13583 --header |
--heade |
--head |
--hea )
13585 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
13586 ac_need_defaults
=false
;;
13588 # Conflict between --help and --header
13589 { echo "$as_me: error: ambiguous option: $1
13590 Try \`$0 --help' for more information." >&2
13591 { (exit 1); exit 1; }; };;
13592 --help |
--hel |
-h )
13593 echo "$ac_cs_usage"; exit ;;
13594 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13595 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13598 # This is an error.
13599 -*) { echo "$as_me: error: unrecognized option: $1
13600 Try \`$0 --help' for more information." >&2
13601 { (exit 1); exit 1; }; } ;;
13603 *) ac_config_targets
="$ac_config_targets $1"
13604 ac_need_defaults
=false
;;
13610 ac_configure_extra_args
=
13612 if $ac_cs_silent; then
13614 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13618 cat >>$CONFIG_STATUS <<_ACEOF
13619 if \$ac_cs_recheck; then
13620 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13621 CONFIG_SHELL=$SHELL
13622 export CONFIG_SHELL
13623 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13627 cat >>$CONFIG_STATUS <<\_ACEOF
13631 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13632 ## Running $as_me. ##
13638 cat >>$CONFIG_STATUS <<_ACEOF
13643 aros_host_exe_suffix=${aros_host_exe_suffix}
13644 aros_tools_dir=${aros_tools_dir}
13645 aros_target_cpu=${aros_target_cpu}
13646 aros_target_arch=${aros_target_arch}
13647 aros_target_suffix=${aros_target_suffix}
13648 aros_target_nm_ln=${aros_target_nm_ln}
13649 aros_target_as_ln=${aros_target_as_ln}
13650 aros_target_ar_ln=${aros_target_ar_ln}
13651 aros_target_ranlib_ln=${aros_target_ranlib_ln}
13652 aros_target_objdump_ln=${aros_target_objdump_ln}
13653 aros_target_objcopy_ln=${aros_target_objcopy_ln}
13654 aros_target_strip_ln=${aros_target_strip_ln}
13657 aros_scripts_dir=${aros_scripts_dir}
13659 aros_tools_dir=${aros_tools_dir}
13664 cat >>$CONFIG_STATUS <<\_ACEOF
13666 # Handling of arguments.
13667 for ac_config_target
in $ac_config_targets
13669 case $ac_config_target in
13670 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
13671 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
13672 "genshared_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genshared_executable" ;;
13673 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
13674 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13675 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
13676 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
13677 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
13678 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
13679 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
13680 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
13681 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
13682 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
13683 "${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" ;;
13684 "${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" ;;
13685 "${aros_scripts_dir}/genshared") CONFIG_FILES
="$CONFIG_FILES ${aros_scripts_dir}/genshared:compiler/c_lib/source/lib_source/genshared.in" ;;
13686 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
13687 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
13689 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13690 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13691 { (exit 1); exit 1; }; };;
13696 # If the user did not use the arguments to specify the items to instantiate,
13697 # then the envvar interface is used. Set only those that are not.
13698 # We use the long form for the default assignment because of an extremely
13699 # bizarre bug on SunOS 4.1.3.
13700 if $ac_need_defaults; then
13701 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13702 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13703 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13706 # Have a temporary directory for convenience. Make it in the build tree
13707 # simply because there is no reason against having it here, and in addition,
13708 # creating and moving files from /tmp can sometimes cause problems.
13709 # Hook for its removal unless debugging.
13710 # Note that there is a small window in which the directory will not be cleaned:
13711 # after its creation but before its name has been assigned to `$tmp'.
13715 trap 'exit_status=$?
13716 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13718 trap '{ (exit 1); exit 1; }' 1 2 13 15
13720 # Create a (secure) tmp directory for tmp files.
13723 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13724 test -n "$tmp" && test -d "$tmp"
13727 tmp
=.
/conf$$
-$RANDOM
13728 (umask 077 && mkdir
"$tmp")
13731 echo "$me: cannot create a temporary directory in ." >&2
13732 { (exit 1); exit 1; }
13736 # Set up the sed scripts for CONFIG_FILES section.
13739 # No need to generate the scripts if there are no CONFIG_FILES.
13740 # This happens for instance when ./config.status config.h
13741 if test -n "$CONFIG_FILES"; then
13748 for ac_last_try
in false false false false false
:; do
13749 cat >conf$
$subs.
sed <<_ACEOF
13750 SHELL!$SHELL$ac_delim
13751 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
13752 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
13753 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
13754 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
13755 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
13756 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
13757 exec_prefix!$exec_prefix$ac_delim
13758 prefix!$prefix$ac_delim
13759 program_transform_name!$program_transform_name$ac_delim
13760 bindir!$bindir$ac_delim
13761 sbindir!$sbindir$ac_delim
13762 libexecdir!$libexecdir$ac_delim
13763 datarootdir!$datarootdir$ac_delim
13764 datadir!$datadir$ac_delim
13765 sysconfdir!$sysconfdir$ac_delim
13766 sharedstatedir!$sharedstatedir$ac_delim
13767 localstatedir!$localstatedir$ac_delim
13768 includedir!$includedir$ac_delim
13769 oldincludedir!$oldincludedir$ac_delim
13770 docdir!$docdir$ac_delim
13771 infodir!$infodir$ac_delim
13772 htmldir!$htmldir$ac_delim
13773 dvidir!$dvidir$ac_delim
13774 pdfdir!$pdfdir$ac_delim
13775 psdir!$psdir$ac_delim
13776 libdir!$libdir$ac_delim
13777 localedir!$localedir$ac_delim
13778 mandir!$mandir$ac_delim
13779 DEFS!$DEFS$ac_delim
13780 ECHO_C!$ECHO_C$ac_delim
13781 ECHO_N!$ECHO_N$ac_delim
13782 ECHO_T!$ECHO_T$ac_delim
13783 LIBS!$LIBS$ac_delim
13784 build_alias!$build_alias$ac_delim
13785 host_alias!$host_alias$ac_delim
13786 target_alias!$target_alias$ac_delim
13787 build!$build$ac_delim
13788 build_cpu!$build_cpu$ac_delim
13789 build_vendor!$build_vendor$ac_delim
13790 build_os!$build_os$ac_delim
13791 host!$host$ac_delim
13792 host_cpu!$host_cpu$ac_delim
13793 host_vendor!$host_vendor$ac_delim
13794 host_os!$host_os$ac_delim
13796 CFLAGS!$CFLAGS$ac_delim
13797 LDFLAGS!$LDFLAGS$ac_delim
13798 CPPFLAGS!$CPPFLAGS$ac_delim
13799 ac_ct_CC!$ac_ct_CC$ac_delim
13800 EXEEXT!$EXEEXT$ac_delim
13801 OBJEXT!$OBJEXT$ac_delim
13804 MMAKE!$MMAKE$ac_delim
13805 aros_host_ld!$aros_host_ld$ac_delim
13806 aros_host_aclocal!$aros_host_aclocal$ac_delim
13807 aros_host_autoconf!$aros_host_autoconf$ac_delim
13808 aros_host_autoheader!$aros_host_autoheader$ac_delim
13809 aros_host_automake!$aros_host_automake$ac_delim
13810 aros_host_ar!$aros_host_ar$ac_delim
13811 aros_host_ranlib!$aros_host_ranlib$ac_delim
13812 aros_host_strip!$aros_host_strip$ac_delim
13816 ECHO!$ECHO$ac_delim
13817 MKDIR!$MKDIR$ac_delim
13818 TOUCH!$TOUCH$ac_delim
13819 SORT!$SORT$ac_delim
13820 UNIQ!$UNIQ$ac_delim
13823 BISON!$BISON$ac_delim
13824 FLEX!$FLEX$ac_delim
13825 PNGTOPNM!$PNGTOPNM$ac_delim
13826 PPMTOILBM!$PPMTOILBM$ac_delim
13828 CHMOD!$CHMOD$ac_delim
13829 PYTHON!$PYTHON$ac_delim
13830 PYTHON_VERSION!$PYTHON_VERSION$ac_delim
13831 PYTHON_PREFIX!$PYTHON_PREFIX$ac_delim
13832 PYTHON_EXEC_PREFIX!$PYTHON_EXEC_PREFIX$ac_delim
13833 PYTHON_PLATFORM!$PYTHON_PLATFORM$ac_delim
13834 pythondir!$pythondir$ac_delim
13835 pkgpythondir!$pkgpythondir$ac_delim
13836 pyexecdir!$pyexecdir$ac_delim
13837 pkgpyexecdir!$pkgpyexecdir$ac_delim
13840 TEST!$TEST$ac_delim
13842 GREP!$GREP$ac_delim
13843 EGREP!$EGREP$ac_delim
13844 LIBOBJS!$LIBOBJS$ac_delim
13845 DISTCC!$DISTCC$ac_delim
13846 CCACHE!$CCACHE$ac_delim
13849 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
13851 elif $ac_last_try; then
13852 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13853 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13854 { (exit 1); exit 1; }; }
13856 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
13860 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13861 if test -n "$ac_eof"; then
13862 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
13863 ac_eof
=`expr $ac_eof + 1`
13866 cat >>$CONFIG_STATUS <<_ACEOF
13867 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
13868 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13871 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13872 s/^/s,@/; s/!/@,|#_!!_#|/
13875 s/'"$ac_delim"'$/,g/; t
13877 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13878 ' >>$CONFIG_STATUS <conf$
$subs.
sed
13879 rm -f conf$
$subs.
sed
13880 cat >>$CONFIG_STATUS <<_ACEOF
13886 for ac_last_try
in false false false false false
:; do
13887 cat >conf$
$subs.
sed <<_ACEOF
13888 aros_target_cc!$aros_target_cc$ac_delim
13889 aros_target_ld!$aros_target_ld$ac_delim
13890 aros_target_as_ln!$aros_target_as_ln$ac_delim
13891 aros_kernel_ld!$aros_kernel_ld$ac_delim
13892 aros_target_ar_ln!$aros_target_ar_ln$ac_delim
13893 aros_target_nm_ln!$aros_target_nm_ln$ac_delim
13894 aros_target_objcopy_ln!$aros_target_objcopy_ln$ac_delim
13895 aros_target_objdump_ln!$aros_target_objdump_ln$ac_delim
13896 aros_target_ranlib_ln!$aros_target_ranlib_ln$ac_delim
13897 aros_target_strip_ln!$aros_target_strip_ln$ac_delim
13898 aros_target_cxx!$aros_target_cxx$ac_delim
13899 aros_kernel_rescomp!$aros_kernel_rescomp$ac_delim
13900 aros_target_nostdinc_cflags!$aros_target_nostdinc_cflags$ac_delim
13901 aros_target_nostartup_ldflags!$aros_target_nostartup_ldflags$ac_delim
13902 aros_target_nix_ldflags!$aros_target_nix_ldflags$ac_delim
13903 aros_target_detach_ldflags!$aros_target_detach_ldflags$ac_delim
13904 aros_target_nostdlib_ldflags!$aros_target_nostdlib_ldflags$ac_delim
13905 host_cflags_iquote!$host_cflags_iquote$ac_delim
13906 host_cflags_iquote_end!$host_cflags_iquote_end$ac_delim
13907 kernel_cflags_iquote!$kernel_cflags_iquote$ac_delim
13908 kernel_cflags_iquote_end!$kernel_cflags_iquote_end$ac_delim
13909 aros_cflags_iquote!$aros_cflags_iquote$ac_delim
13910 aros_cflags_iquote_end!$aros_cflags_iquote_end$ac_delim
13911 XMKMF!$XMKMF$ac_delim
13912 SDL_CONFIG!$SDL_CONFIG$ac_delim
13913 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
13914 SDL_LIBS!$SDL_LIBS$ac_delim
13915 aros_arch!$aros_arch$ac_delim
13916 aros_cpu!$aros_cpu$ac_delim
13917 aros_flavour!$aros_flavour$ac_delim
13918 aros_flavour_uc!$aros_flavour_uc$ac_delim
13919 AROS_BUILDDIR!$AROS_BUILDDIR$ac_delim
13920 AROS_BUILDDIR_UNIX!$AROS_BUILDDIR_UNIX$ac_delim
13921 SRCDIR!$SRCDIR$ac_delim
13922 AROS_PORTSSRCDIR!$AROS_PORTSSRCDIR$ac_delim
13923 aros_cc_pre!$aros_cc_pre$ac_delim
13924 aros_host_arch!$aros_host_arch$ac_delim
13925 aros_host_cpu!$aros_host_cpu$ac_delim
13926 aros_host_cc!$aros_host_cc$ac_delim
13927 aros_host_make!$aros_host_make$ac_delim
13928 aros_host_cflags!$aros_host_cflags$ac_delim
13929 aros_host_ldflags!$aros_host_ldflags$ac_delim
13930 aros_host_debug!$aros_host_debug$ac_delim
13931 aros_host_mkdep!$aros_host_mkdep$ac_delim
13932 aros_host_mkargs!$aros_host_mkargs$ac_delim
13933 aros_host_exe_suffix!$aros_host_exe_suffix$ac_delim
13934 aros_host_lib_suffix!$aros_host_lib_suffix$ac_delim
13935 aros_tools_dir!$aros_tools_dir$ac_delim
13936 aros_target_guitheme!$aros_target_guitheme$ac_delim
13937 aros_target_iconset!$aros_target_iconset$ac_delim
13938 aros_target_bootloader!$aros_target_bootloader$ac_delim
13939 aros_target_arch!$aros_target_arch$ac_delim
13940 aros_target_family!$aros_target_family$ac_delim
13941 aros_target_cpu!$aros_target_cpu$ac_delim
13942 aros_target_variant!$aros_target_variant$ac_delim
13943 aros_target_suffix!$aros_target_suffix$ac_delim
13944 aros_target_incl!$aros_target_incl$ac_delim
13945 aros_target_ar!$aros_target_ar$ac_delim
13946 aros_target_ranlib!$aros_target_ranlib$ac_delim
13947 aros_kernel_nm!$aros_kernel_nm$ac_delim
13948 orig_target_cc!$orig_target_cc$ac_delim
13949 aros_kernel_cc!$aros_kernel_cc$ac_delim
13950 aros_target_as!$aros_target_as$ac_delim
13951 orig_target_ld!$orig_target_ld$ac_delim
13952 aros_target_cc_includes!$aros_target_cc_includes$ac_delim
13953 aros_target_cc_path!$aros_target_cc_path$ac_delim
13954 aros_target_objdump!$aros_target_objdump$ac_delim
13955 aros_target_objcopy!$aros_target_objcopy$ac_delim
13956 aros_target_strip!$aros_target_strip$ac_delim
13957 aros_target_nm!$aros_target_nm$ac_delim
13958 aros_shared_default!$aros_shared_default$ac_delim
13959 aros_shared_ld!$aros_shared_ld$ac_delim
13960 aros_object_format!$aros_object_format$ac_delim
13961 aros_compiler_libs!$aros_compiler_libs$ac_delim
13962 aros_arch_libs!$aros_arch_libs$ac_delim
13963 aros_config_cflags!$aros_config_cflags$ac_delim
13964 aros_config_aflags!$aros_config_aflags$ac_delim
13965 aros_config_ldflags!$aros_config_ldflags$ac_delim
13966 aros_shared_cflags!$aros_shared_cflags$ac_delim
13967 aros_shared_aflags!$aros_shared_aflags$ac_delim
13968 aros_shared_ldflags!$aros_shared_ldflags$ac_delim
13969 aros_kernel_cflags!$aros_kernel_cflags$ac_delim
13970 aros_kernel_includes!$aros_kernel_includes$ac_delim
13971 aros_kernel_objcflags!$aros_kernel_objcflags$ac_delim
13972 aros_kernel_ldflags!$aros_kernel_ldflags$ac_delim
13973 aros_debug_cflags!$aros_debug_cflags$ac_delim
13974 aros_debug_aflags!$aros_debug_aflags$ac_delim
13975 aros_debug_ldflags!$aros_debug_ldflags$ac_delim
13976 aros_paranoia_cflags!$aros_paranoia_cflags$ac_delim
13977 aros_target_genmap!$aros_target_genmap$ac_delim
13978 aros_target_strip_flags!$aros_target_strip_flags$ac_delim
13979 crosstools_target!$crosstools_target$ac_delim
13980 x11_hidd_target!$x11_hidd_target$ac_delim
13981 sdl_hidd_target!$sdl_hidd_target$ac_delim
13982 oss_library_target!$oss_library_target$ac_delim
13983 aros_default_wbwidth!$aros_default_wbwidth$ac_delim
13984 aros_default_wbheight!$aros_default_wbheight$ac_delim
13987 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
13989 elif $ac_last_try; then
13990 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13991 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13992 { (exit 1); exit 1; }; }
13994 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
13998 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13999 if test -n "$ac_eof"; then
14000 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
14001 ac_eof
=`expr $ac_eof + 1`
14004 cat >>$CONFIG_STATUS <<_ACEOF
14005 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
14006 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14009 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
14010 s/^/s,@/; s/!/@,|#_!!_#|/
14013 s/'"$ac_delim"'$/,g/; t
14015 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
14016 ' >>$CONFIG_STATUS <conf$
$subs.
sed
14017 rm -f conf$
$subs.
sed
14018 cat >>$CONFIG_STATUS <<_ACEOF
14024 for ac_last_try
in false false false false false
:; do
14025 cat >conf$
$subs.
sed <<_ACEOF
14026 aros_default_wbdepth!$aros_default_wbdepth$ac_delim
14027 DO_XSHM_SUPPORT!$DO_XSHM_SUPPORT$ac_delim
14028 DO_VIDMODE_SUPPORT!$DO_VIDMODE_SUPPORT$ac_delim
14029 aros_host_x11_includes!$aros_host_x11_includes$ac_delim
14030 aros_host_x11_libdirs!$aros_host_x11_libdirs$ac_delim
14031 aros_host_sdl_cflags!$aros_host_sdl_cflags$ac_delim
14032 aros_host_sdl_libs!$aros_host_sdl_libs$ac_delim
14033 aros_serial_debug!$aros_serial_debug$ac_delim
14034 aros_palm_debug_hack!$aros_palm_debug_hack$ac_delim
14035 aros_nesting_supervisor!$aros_nesting_supervisor$ac_delim
14036 aros_ios_platform!$aros_ios_platform$ac_delim
14037 aros_ios_version!$aros_ios_version$ac_delim
14038 aros_ios_sdk!$aros_ios_sdk$ac_delim
14039 ENABLE_DBUS!$ENABLE_DBUS$ac_delim
14040 DBUS_CFLAGS!$DBUS_CFLAGS$ac_delim
14041 DBUS_LIBFLAGS!$DBUS_LIBFLAGS$ac_delim
14042 KERNEL_DBUS_KOBJ!$KERNEL_DBUS_KOBJ$ac_delim
14043 KERNEL_DBUS_INCLUDES!$KERNEL_DBUS_INCLUDES$ac_delim
14044 ENABLE_X11!$ENABLE_X11$ac_delim
14045 aros_debug!$aros_debug$ac_delim
14046 aros_mungwall_debug!$aros_mungwall_debug$ac_delim
14047 aros_stack_debug!$aros_stack_debug$ac_delim
14048 aros_modules_debug!$aros_modules_debug$ac_delim
14049 ignore_undefined_symbols!$ignore_undefined_symbols$ac_delim
14050 gcc_target_cpu!$gcc_target_cpu$ac_delim
14051 LTLIBOBJS!$LTLIBOBJS$ac_delim
14054 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 26; then
14056 elif $ac_last_try; then
14057 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14058 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14059 { (exit 1); exit 1; }; }
14061 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
14065 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
14066 if test -n "$ac_eof"; then
14067 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
14068 ac_eof
=`expr $ac_eof + 1`
14071 cat >>$CONFIG_STATUS <<_ACEOF
14072 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
14073 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
14076 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
14077 s/^/s,@/; s/!/@,|#_!!_#|/
14080 s/'"$ac_delim"'$/,g/; t
14082 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
14083 ' >>$CONFIG_STATUS <conf$
$subs.
sed
14084 rm -f conf$
$subs.
sed
14085 cat >>$CONFIG_STATUS <<_ACEOF
14092 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14093 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14094 # trailing colons and then remove the whole line if VPATH becomes empty
14095 # (actually we leave an empty line to preserve line numbers).
14096 if test "x$srcdir" = x.
; then
14097 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
14098 s/:*\$(srcdir):*/:/
14099 s/:*\${srcdir}:*/:/
14101 s/^\([^=]*=[ ]*\):*/\1/
14107 cat >>$CONFIG_STATUS <<\_ACEOF
14108 fi # test -n "$CONFIG_FILES"
14111 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
14114 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14116 case $ac_mode$ac_tag in
14118 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
14119 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
14120 { (exit 1); exit 1; }; };;
14121 :[FH
]-) ac_tag
=-:-;;
14122 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14139 -) ac_f
="$tmp/stdin";;
14140 *) # Look for the file first in the build tree, then in the source tree
14141 # (if the path is not absolute). The absolute path cannot be DOS-style,
14142 # because $ac_f cannot contain `:'.
14146 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14148 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
14149 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
14150 { (exit 1); exit 1; }; };;
14152 ac_file_inputs
="$ac_file_inputs $ac_f"
14155 # Let's still pretend it is `configure' which instantiates (i.e., don't
14156 # use $as_me), people would be surprised to read:
14157 # /* config.h. Generated by config.status. */
14158 configure_input
="Generated from "`IFS=:
14159 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
14160 if test x
"$ac_file" != x-
; then
14161 configure_input
="$ac_file. $configure_input"
14162 { echo "$as_me:$LINENO: creating $ac_file" >&5
14163 echo "$as_me: creating $ac_file" >&6;}
14167 *:-:* |
*:-) cat >"$tmp/stdin";;
14172 ac_dir
=`$as_dirname -- "$ac_file" ||
14173 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14174 X"$ac_file" : 'X\(//\)[^/]' \| \
14175 X"$ac_file" : 'X\(//\)$' \| \
14176 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14178 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14182 /^X\(\/\/\)[^/].*/{
14197 -*) as_dir
=.
/$as_dir;;
14199 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
14203 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
14204 *) as_qdir
=$as_dir;;
14206 as_dirs
="'$as_qdir' $as_dirs"
14207 as_dir
=`$as_dirname -- "$as_dir" ||
14208 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14209 X"$as_dir" : 'X\(//\)[^/]' \| \
14210 X"$as_dir" : 'X\(//\)$' \| \
14211 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14213 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14217 /^X\(\/\/\)[^/].*/{
14230 test -d "$as_dir" && break
14232 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14233 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14234 echo "$as_me: error: cannot create directory $as_dir" >&2;}
14235 { (exit 1); exit 1; }; }; }
14239 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14241 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14242 # A ".." for each directory in $ac_dir_suffix.
14243 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
14244 case $ac_top_builddir_sub in
14245 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14246 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14249 ac_abs_top_builddir
=$ac_pwd
14250 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14251 # for backward compatibility:
14252 ac_top_builddir
=$ac_top_build_prefix
14255 .
) # We are building in place.
14257 ac_top_srcdir
=$ac_top_builddir_sub
14258 ac_abs_top_srcdir
=$ac_pwd ;;
14259 [\\/]* | ?
:[\\/]* ) # Absolute name.
14260 ac_srcdir
=$srcdir$ac_dir_suffix;
14261 ac_top_srcdir
=$srcdir
14262 ac_abs_top_srcdir
=$srcdir ;;
14263 *) # Relative name.
14264 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14265 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14266 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14268 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14279 cat >>$CONFIG_STATUS <<\_ACEOF
14280 # If the template does not know about datarootdir, expand it.
14281 # FIXME: This hack should be removed a few years after 2.60.
14282 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14284 case `sed -n '/datarootdir/ {
14293 ' $ac_file_inputs` in
14294 *datarootdir
*) ac_datarootdir_seen
=yes;;
14295 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14296 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14297 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14299 cat >>$CONFIG_STATUS <<_ACEOF
14300 ac_datarootdir_hack='
14301 s&@datadir@&$datadir&g
14302 s&@docdir@&$docdir&g
14303 s&@infodir@&$infodir&g
14304 s&@localedir@&$localedir&g
14305 s&@mandir@&$mandir&g
14306 s&\\\${datarootdir}&$datarootdir&g' ;;
14310 # Neutralize VPATH when `$srcdir' = `.'.
14311 # Shell code in configure.ac might set extrasub.
14312 # FIXME: do we really want to maintain this feature?
14313 cat >>$CONFIG_STATUS <<_ACEOF
14317 cat >>$CONFIG_STATUS <<\_ACEOF
14319 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14320 s
&@configure_input@
&$configure_input&;t t
14321 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14322 s
&@srcdir@
&$ac_srcdir&;t t
14323 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14324 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14325 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14326 s
&@builddir@
&$ac_builddir&;t t
14327 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14328 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14329 $ac_datarootdir_hack
14330 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" | sed -f "$tmp/subs-3.
sed" >$tmp/out
14332 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14333 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
14334 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
14335 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14336 which seems to be undefined. Please make sure it is defined." >&5
14337 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14338 which seems to be undefined. Please make sure it is defined." >&2;}
14342 -) cat "$tmp/out"; rm -f "$tmp/out";;
14343 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
14352 # Transform confdefs.h into a sed script `conftest.defines', that
14353 # substitutes the proper values into config.h.in to produce config.h.
14354 rm -f conftest.defines conftest.
tail
14355 # First, append a space to every undef/define line, to ease matching.
14356 echo 's/$/ /' >conftest.defines
14357 # Then, protect against being on the right side of a sed subst, or in
14358 # an unquoted here document, in config.status. If some macros were
14359 # called several times there might be several #defines for the same
14360 # symbol, which is useless. But do not sort them, since the last
14361 # AC_DEFINE must be honored.
14362 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
14363 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
14364 # NAME is the cpp macro being defined, VALUE is the value it is being given.
14365 # PARAMS is the parameter list in the macro definition--in most cases, it's
14366 # just an empty string.
14367 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
14368 ac_dB
='\\)[ (].*,\\1define\\2'
14376 s/^[ ]*#[ ]*define[ ][ ]*//
14381 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
14382 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
14383 ' >>conftest.defines
14385 # Remove the space that was appended to ease matching.
14386 # Then replace #undef with comments. This is necessary, for
14387 # example, in the case of _POSIX_SOURCE, which is predefined and required
14388 # on some systems where configure will not decide to define it.
14389 # (The regexp can be short, since the line contains either #define or #undef.)
14391 s,^[ #]*u.*,/* & */,' >>conftest.defines
14393 # Break up conftest.defines:
14394 ac_max_sed_lines
=50
14396 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
14397 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
14398 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
14400 ac_in
='$ac_file_inputs'
14401 ac_out
='"$tmp/out1"'
14402 ac_nxt
='"$tmp/out2"'
14406 # Write a here document:
14407 cat >>$CONFIG_STATUS <<_ACEOF
14408 # First, check the format of the line:
14409 cat >"\$tmp/defines.sed" <<\\CEOF
14410 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
14411 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
14415 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
14417 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
14418 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
14419 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
14420 grep . conftest.
tail >/dev
/null ||
break
14421 rm -f conftest.defines
14422 mv conftest.
tail conftest.defines
14424 rm -f conftest.defines conftest.
tail
14426 echo "ac_result=$ac_in" >>$CONFIG_STATUS
14427 cat >>$CONFIG_STATUS <<\_ACEOF
14428 if test x
"$ac_file" != x-
; then
14429 echo "/* $configure_input */" >"$tmp/config.h"
14430 cat "$ac_result" >>"$tmp/config.h"
14431 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
14432 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14433 echo "$as_me: $ac_file is unchanged" >&6;}
14436 mv "$tmp/config.h" $ac_file
14439 echo "/* $configure_input */"
14445 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
14446 echo "$as_me: executing $ac_file commands" >&6;}
14451 case $ac_file$ac_mode in
14452 "compiler_executable":C
)
14453 prefix
=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
14455 prefix
="${prefix}/${aros_target_cpu}-aros"
14456 prefix2
=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
14460 chmod a
+x
${prefix2}-gcc ${prefix2}-ld
14462 ln -sf ${prefix2}-gcc ${prefix}-gcc
14463 ln -sf ${prefix2}-ld ${prefix}-ld
14465 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix}-as
14466 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix}-nm
14467 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix}-ar
14468 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix}-ranlib
14469 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix}-objcopy
14470 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix}-objdump
14471 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix}-strip
14473 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix2}-as
14474 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix2}-nm
14475 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix2}-ar
14476 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix2}-ranlib
14477 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix2}-objcopy
14478 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix2}-objdump
14479 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix2}-strip
14481 "genshared_executable":C
) chmod a
+x
${aros_scripts_dir}/genshared
;;
14482 "genmf_executable":C
) chmod a
+x
${aros_tools_dir}/genmf.py
;;
14488 { (exit 0); exit 0; }
14490 chmod +x
$CONFIG_STATUS
14491 ac_clean_files
=$ac_clean_files_save
14494 # configure is writing to config.log, and then calls config.status.
14495 # config.status does its own redirection, appending to config.log.
14496 # Unfortunately, on DOS this fails, as config.log is still kept open
14497 # by configure, so config.status won't be able to write to it; its
14498 # output is simply discarded. So we exec the FD to /dev/null,
14499 # effectively closing config.log, so it can be properly (re)opened and
14500 # appended to by config.status. When coming back to configure, we
14501 # need to make the FD available again.
14502 if test "$no_create" != yes; then
14504 ac_config_status_args
=
14505 test "$silent" = yes &&
14506 ac_config_status_args
="$ac_config_status_args --quiet"
14508 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14510 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14511 # would make configure fail if this is the last instruction.
14512 $ac_cs_success ||
{ (exit 1); exit 1; }
14517 #XXX compatability...
14518 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
14520 if test -n "$aros_shared_cflags" ; then
14521 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
14522 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg