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
718 aros_target_objcopy_ln
719 aros_target_objdump_ln
720 aros_target_ranlib_ln
722 aros_target_nostdinc_cflags
723 aros_target_nostartup_ldflags
724 aros_target_nix_ldflags
725 aros_target_detach_ldflags
726 aros_target_nostdlib_ldflags
760 aros_target_cc_includes
761 aros_target_cc_options
782 aros_target_strip_flags
791 aros_default_wbheight
798 aros_nesting_supervisor
808 ignore_undefined_symbols
812 ac_precious_vars
='build_alias
824 # Initialize some variables set by options.
826 ac_init_version
=false
827 # The variables have the same names as the options, with
828 # dashes changed to underlines.
836 program_transform_name
=s
,x
,x
,
844 # Installation directory options.
845 # These are left unexpanded so users can "make install exec_prefix=/foo"
846 # and all the variables that are supposed to be based on exec_prefix
847 # by default will actually change.
848 # Use braces instead of parens because sh, perl, etc. also accept them.
849 # (The list follows the same order as the GNU Coding Standards.)
850 bindir
='${exec_prefix}/bin'
851 sbindir
='${exec_prefix}/sbin'
852 libexecdir
='${exec_prefix}/libexec'
853 datarootdir
='${prefix}/share'
854 datadir
='${datarootdir}'
855 sysconfdir
='${prefix}/etc'
856 sharedstatedir
='${prefix}/com'
857 localstatedir
='${prefix}/var'
858 includedir
='${prefix}/include'
859 oldincludedir
='/usr/include'
860 docdir
='${datarootdir}/doc/${PACKAGE}'
861 infodir
='${datarootdir}/info'
866 libdir
='${exec_prefix}/lib'
867 localedir
='${datarootdir}/locale'
868 mandir
='${datarootdir}/man'
874 # If the previous option needs an argument, assign it.
875 if test -n "$ac_prev"; then
876 eval $ac_prev=\
$ac_option
882 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
886 # Accept the important Cygnus configure options, so we can diagnose typos.
888 case $ac_dashdash$ac_option in
892 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
894 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
897 -build |
--build |
--buil |
--bui |
--bu)
898 ac_prev
=build_alias
;;
899 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
900 build_alias
=$ac_optarg ;;
902 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
903 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
904 ac_prev
=cache_file
;;
905 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
906 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
907 cache_file
=$ac_optarg ;;
910 cache_file
=config.cache
;;
912 -datadir |
--datadir |
--datadi |
--datad)
914 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
915 datadir
=$ac_optarg ;;
917 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
918 |
--dataroo |
--dataro |
--datar)
919 ac_prev
=datarootdir
;;
920 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
921 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
922 datarootdir
=$ac_optarg ;;
924 -disable-* |
--disable-*)
925 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
926 # Reject names that are not valid shell variable names.
927 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
928 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
929 { (exit 1); exit 1; }; }
930 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
931 eval enable_
$ac_feature=no
;;
933 -docdir |
--docdir |
--docdi |
--doc |
--do)
935 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
938 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
940 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
943 -enable-* |
--enable-*)
944 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
945 # Reject names that are not valid shell variable names.
946 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
947 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
948 { (exit 1); exit 1; }; }
949 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
950 eval enable_
$ac_feature=\
$ac_optarg ;;
952 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
953 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
954 |
--exec |
--exe |
--ex)
955 ac_prev
=exec_prefix
;;
956 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
957 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
958 |
--exec=* |
--exe=* |
--ex=*)
959 exec_prefix
=$ac_optarg ;;
961 -gas |
--gas |
--ga |
--g)
962 # Obsolete; use --with-gas.
965 -help |
--help |
--hel |
--he |
-h)
967 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
968 ac_init_help
=recursive
;;
969 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
970 ac_init_help
=short
;;
972 -host |
--host |
--hos |
--ho)
973 ac_prev
=host_alias
;;
974 -host=* |
--host=* |
--hos=* |
--ho=*)
975 host_alias
=$ac_optarg ;;
977 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
979 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
981 htmldir
=$ac_optarg ;;
983 -includedir |
--includedir |
--includedi |
--included |
--include \
984 |
--includ |
--inclu |
--incl |
--inc)
985 ac_prev
=includedir
;;
986 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
987 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
988 includedir
=$ac_optarg ;;
990 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
992 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
993 infodir
=$ac_optarg ;;
995 -libdir |
--libdir |
--libdi |
--libd)
997 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1000 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1001 |
--libexe |
--libex |
--libe)
1002 ac_prev
=libexecdir
;;
1003 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1004 |
--libexe=* |
--libex=* |
--libe=*)
1005 libexecdir
=$ac_optarg ;;
1007 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1008 ac_prev
=localedir
;;
1009 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1010 localedir
=$ac_optarg ;;
1012 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1013 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1014 ac_prev
=localstatedir
;;
1015 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1016 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1017 localstatedir
=$ac_optarg ;;
1019 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1021 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1022 mandir
=$ac_optarg ;;
1024 -nfp |
--nfp |
--nf)
1025 # Obsolete; use --without-fp.
1028 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1029 |
--no-cr |
--no-c |
-n)
1032 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1033 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1036 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1037 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1038 |
--oldin |
--oldi |
--old |
--ol |
--o)
1039 ac_prev
=oldincludedir
;;
1040 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1041 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1042 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1043 oldincludedir
=$ac_optarg ;;
1045 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1047 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1048 prefix
=$ac_optarg ;;
1050 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1051 |
--program-pre |
--program-pr |
--program-p)
1052 ac_prev
=program_prefix
;;
1053 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1054 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1055 program_prefix
=$ac_optarg ;;
1057 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1058 |
--program-suf |
--program-su |
--program-s)
1059 ac_prev
=program_suffix
;;
1060 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1061 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1062 program_suffix
=$ac_optarg ;;
1064 -program-transform-name |
--program-transform-name \
1065 |
--program-transform-nam |
--program-transform-na \
1066 |
--program-transform-n |
--program-transform- \
1067 |
--program-transform |
--program-transfor \
1068 |
--program-transfo |
--program-transf \
1069 |
--program-trans |
--program-tran \
1070 |
--progr-tra |
--program-tr |
--program-t)
1071 ac_prev
=program_transform_name
;;
1072 -program-transform-name=* |
--program-transform-name=* \
1073 |
--program-transform-nam=* |
--program-transform-na=* \
1074 |
--program-transform-n=* |
--program-transform-=* \
1075 |
--program-transform=* |
--program-transfor=* \
1076 |
--program-transfo=* |
--program-transf=* \
1077 |
--program-trans=* |
--program-tran=* \
1078 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1079 program_transform_name
=$ac_optarg ;;
1081 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1083 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1084 pdfdir
=$ac_optarg ;;
1086 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1088 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1091 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1092 |
-silent |
--silent |
--silen |
--sile |
--sil)
1095 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1097 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1099 sbindir
=$ac_optarg ;;
1101 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1102 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1103 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1105 ac_prev
=sharedstatedir
;;
1106 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1107 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1108 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1110 sharedstatedir
=$ac_optarg ;;
1112 -site |
--site |
--sit)
1114 -site=* |
--site=* |
--sit=*)
1117 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1119 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1120 srcdir
=$ac_optarg ;;
1122 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1123 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1124 ac_prev
=sysconfdir
;;
1125 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1126 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1127 sysconfdir
=$ac_optarg ;;
1129 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1130 ac_prev
=target_alias
;;
1131 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1132 target_alias
=$ac_optarg ;;
1134 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1137 -version |
--version |
--versio |
--versi |
--vers |
-V)
1138 ac_init_version
=: ;;
1141 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1142 # Reject names that are not valid shell variable names.
1143 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1144 { echo "$as_me: error: invalid package name: $ac_package" >&2
1145 { (exit 1); exit 1; }; }
1146 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1147 eval with_
$ac_package=\
$ac_optarg ;;
1149 -without-* |
--without-*)
1150 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1151 # Reject names that are not valid shell variable names.
1152 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1153 { echo "$as_me: error: invalid package name: $ac_package" >&2
1154 { (exit 1); exit 1; }; }
1155 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1156 eval with_
$ac_package=no
;;
1159 # Obsolete; use --with-x.
1162 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1163 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1164 ac_prev
=x_includes
;;
1165 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1166 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1167 x_includes
=$ac_optarg ;;
1169 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1170 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1171 ac_prev
=x_libraries
;;
1172 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1173 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1174 x_libraries
=$ac_optarg ;;
1176 -*) { echo "$as_me: error: unrecognized option: $ac_option
1177 Try \`$0 --help' for more information." >&2
1178 { (exit 1); exit 1; }; }
1182 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1183 # Reject names that are not valid shell variable names.
1184 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1185 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1186 { (exit 1); exit 1; }; }
1187 eval $ac_envvar=\
$ac_optarg
1188 export $ac_envvar ;;
1191 # FIXME: should be removed in autoconf 3.0.
1192 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1193 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1194 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1195 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1201 if test -n "$ac_prev"; then
1202 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1203 { echo "$as_me: error: missing argument to $ac_option" >&2
1204 { (exit 1); exit 1; }; }
1207 # Be sure to have absolute directory names.
1208 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1209 datadir sysconfdir sharedstatedir localstatedir includedir \
1210 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1211 libdir localedir mandir
1213 eval ac_val
=\$
$ac_var
1215 [\\/$
]* | ?
:[\\/]* ) continue;;
1216 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1218 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1219 { (exit 1); exit 1; }; }
1222 # There might be people who depend on the old broken behavior: `$host'
1223 # used to hold the argument of --host etc.
1224 # FIXME: To remove some day.
1227 target
=$target_alias
1229 # FIXME: To remove some day.
1230 if test "x$host_alias" != x
; then
1231 if test "x$build_alias" = x
; then
1232 cross_compiling
=maybe
1233 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1234 If a cross compiler is detected then cross compile mode will be used." >&2
1235 elif test "x$build_alias" != "x$host_alias"; then
1241 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1243 test "$silent" = yes && exec 6>/dev
/null
1246 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1247 ac_ls_di
=`ls -di .` &&
1248 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1249 { echo "$as_me: error: Working directory cannot be determined" >&2
1250 { (exit 1); exit 1; }; }
1251 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1252 { echo "$as_me: error: pwd does not report name of working directory" >&2
1253 { (exit 1); exit 1; }; }
1256 # Find the source files, if location was not specified.
1257 if test -z "$srcdir"; then
1258 ac_srcdir_defaulted
=yes
1259 # Try the directory containing this script, then the parent directory.
1260 ac_confdir
=`$as_dirname -- "$0" ||
1261 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1262 X"$0" : 'X\(//\)[^/]' \| \
1263 X"$0" : 'X\(//\)$' \| \
1264 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1266 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1284 if test ! -r "$srcdir/$ac_unique_file"; then
1288 ac_srcdir_defaulted
=no
1290 if test ! -r "$srcdir/$ac_unique_file"; then
1291 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1292 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1293 { (exit 1); exit 1; }; }
1295 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1297 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1298 { (exit 1); exit 1; }; }
1300 # When building in place, set srcdir=.
1301 if test "$ac_abs_confdir" = "$ac_pwd"; then
1304 # Remove unnecessary trailing slashes from srcdir.
1305 # Double slashes in file names in object file debugging info
1306 # mess up M-x gdb in Emacs.
1308 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1310 for ac_var
in $ac_precious_vars; do
1311 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1312 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1313 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1314 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1318 # Report the --help message.
1320 if test "$ac_init_help" = "long"; then
1321 # Omit some internal or obsolete options to make the list less imposing.
1322 # This message is too long to be a string in the A/UX 3.1 sh.
1324 \`configure' configures this package to adapt to many kinds of systems.
1326 Usage: $0 [OPTION]... [VAR=VALUE]...
1328 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1329 VAR=VALUE. See below for descriptions of some of the useful variables.
1331 Defaults for the options are specified in brackets.
1334 -h, --help display this help and exit
1335 --help=short display options specific to this package
1336 --help=recursive display the short help of all the included packages
1337 -V, --version display version information and exit
1338 -q, --quiet, --silent do not print \`checking...' messages
1339 --cache-file=FILE cache test results in FILE [disabled]
1340 -C, --config-cache alias for \`--cache-file=config.cache'
1341 -n, --no-create do not create output files
1342 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1344 Installation directories:
1345 --prefix=PREFIX install architecture-independent files in PREFIX
1346 [$ac_default_prefix]
1347 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1350 By default, \`make install' will install all the files in
1351 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1352 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1353 for instance \`--prefix=\$HOME'.
1355 For better control, use the options below.
1357 Fine tuning of the installation directories:
1358 --bindir=DIR user executables [EPREFIX/bin]
1359 --sbindir=DIR system admin executables [EPREFIX/sbin]
1360 --libexecdir=DIR program executables [EPREFIX/libexec]
1361 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1362 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1363 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1364 --libdir=DIR object code libraries [EPREFIX/lib]
1365 --includedir=DIR C header files [PREFIX/include]
1366 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1367 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1368 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1369 --infodir=DIR info documentation [DATAROOTDIR/info]
1370 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1371 --mandir=DIR man documentation [DATAROOTDIR/man]
1372 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1373 --htmldir=DIR html documentation [DOCDIR]
1374 --dvidir=DIR dvi documentation [DOCDIR]
1375 --pdfdir=DIR pdf documentation [DOCDIR]
1376 --psdir=DIR ps documentation [DOCDIR]
1382 --x-includes=DIR X include files are
in DIR
1383 --x-libraries=DIR X library files are
in DIR
1386 --build=BUILD configure
for building on BUILD
[guessed
]
1387 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1391 if test -n "$ac_init_help"; then
1396 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1397 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1398 --enable-build-type=TYPE
1399 Select the build
type. Available types are
:
1400 personal
, nightly
, snapshot
, milestone
, release. Do
1401 NOT use this option unless you know what you are
1402 doing
! (default
=personal
)
1403 --enable-debug=list Enable different types of debug. Commas or
1404 whitespaces can be used to separate the items
in the
1405 list. Available types of debug are
: all
, none
,
1406 messages
, stack
, mungwall
, modules
, symbols. If no
1407 list is provided
then "all" is assumed.
1409 --enable-distcc Use distcc as a front end to the compiler
1411 --enable-ccache Use ccache as a front end to the compiler
1413 --enable-target-variant=NAME
1414 Enable a specific target variant
(default
=none
)
1415 --enable-includes=dir Alternative system include directory
1416 --enable-bochs-hack Enable hacks to
make BOCHS
(partly
) work
1418 --enable-palm-debug-hack
1419 Enable palm debug output hack
in palm native
1421 --enable-nesting-supervisor
1422 Enable nesting supervisor support
in unix
1424 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1425 --enable-x11-shm use X11 shared memory
(default
=auto
)
1426 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1427 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1428 --disable-sdltest Do not try to compile and run a
test SDL program
1429 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1432 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1433 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1434 --with-optimization=FLAGS
1435 Use optimization flags FLAGS
(default
=-O2).
1436 --with-resolution=XRESxYRESxDEPTH
1437 Default resolution of the initial WorkbenchScreen
1438 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1439 --with-x use the X Window System
1440 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1441 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1443 Some influential environment variables
:
1444 CC C compiler
command
1445 CFLAGS C compiler flags
1446 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1447 nonstandard directory
<lib dir
>
1448 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1449 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1450 you have headers
in a nonstandard directory
<include dir
>
1452 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1454 Use these variables to override the choices made by
`configure' or to help
1455 it to find libraries and programs with nonstandard names/locations.
1461 if test "$ac_init_help" = "recursive"; then
1462 # If there are subdirs, report their specific --help.
1463 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1464 test -d "$ac_dir" || continue
1468 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1470 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1471 # A ".." for each directory in $ac_dir_suffix.
1472 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1473 case $ac_top_builddir_sub in
1474 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1475 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1478 ac_abs_top_builddir=$ac_pwd
1479 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1480 # for backward compatibility:
1481 ac_top_builddir=$ac_top_build_prefix
1484 .) # We are building in place.
1486 ac_top_srcdir=$ac_top_builddir_sub
1487 ac_abs_top_srcdir=$ac_pwd ;;
1488 [\\/]* | ?:[\\/]* ) # Absolute name.
1489 ac_srcdir=$srcdir$ac_dir_suffix;
1490 ac_top_srcdir=$srcdir
1491 ac_abs_top_srcdir=$srcdir ;;
1493 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1494 ac_top_srcdir=$ac_top_build_prefix$srcdir
1495 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1497 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1499 cd "$ac_dir" || { ac_status=$?; continue; }
1500 # Check for guested configure.
1501 if test -f "$ac_srcdir/configure.gnu"; then
1503 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1504 elif test -f "$ac_srcdir/configure"; then
1506 $SHELL "$ac_srcdir/configure" --help=recursive
1508 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1510 cd "$ac_pwd" || { ac_status=$?; break; }
1514 test -n "$ac_init_help" && exit $ac_status
1515 if $ac_init_version; then
1518 generated by GNU Autoconf 2.61
1520 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1521 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1522 This configure script is free software; the Free Software Foundation
1523 gives unlimited permission to copy, distribute and modify it.
1527 cat >config.log <<_ACEOF
1528 This file contains any messages produced by compilers while
1529 running configure, to aid debugging if configure makes a mistake.
1531 It was created by $as_me, which was
1532 generated by GNU Autoconf 2.61. Invocation command line was
1544 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1545 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1546 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1547 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1548 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1550 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1551 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1553 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1554 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1555 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1556 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1557 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1558 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1559 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1567 test -z "$as_dir" && as_dir=.
1568 echo "PATH: $as_dir"
1584 # Keep a trace of the command line.
1585 # Strip out --no-create and --no-recursion so they do not pile up.
1586 # Strip out --silent because we don't want to record it for future runs.
1587 # Also quote any args containing shell meta-characters.
1588 # Make two passes to allow for proper duplicate-argument suppression.
1592 ac_must_keep_next=false
1598 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1599 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1600 | -silent | --silent | --silen | --sile | --sil)
1603 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1606 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1608 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1609 if test $ac_must_keep_next = true; then
1610 ac_must_keep_next=false # Got value, back to normal.
1613 *=* | --config-cache | -C | -disable-* | --disable-* \
1614 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1615 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1616 | -with-* | --with-* | -without-* | --without-* | --x)
1617 case "$ac_configure_args0 " in
1618 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1621 -* ) ac_must_keep_next=true ;;
1624 ac_configure_args="$ac_configure_args '$ac_arg'"
1629 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1630 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1632 # When interrupted or exit'd, cleanup temporary files, and complete
1633 # config.log. We remove comments because anyway the quotes in there
1634 # would cause problems or look ugly.
1635 # WARNING: Use '\'' to represent an apostrophe within the trap.
1636 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1637 trap 'exit_status=$?
1638 # Save into config.log some information that might help in debugging.
1643 ## ---------------- ##
1644 ## Cache variables. ##
1645 ## ---------------- ##
1648 # The following way of writing the cache mishandles newlines in values,
1650 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1651 eval ac_val=\$$ac_var
1655 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1656 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1659 _ | IFS | as_nl) ;; #(
1660 *) $as_unset $ac_var ;;
1665 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1666 *${as_nl}ac_space=\ *)
1668 "s/'\''/'\''\\\\'\'''\''/g;
1669 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1672 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1680 ## ----------------- ##
1681 ## Output variables. ##
1682 ## ----------------- ##
1685 for ac_var in $ac_subst_vars
1687 eval ac_val=\$$ac_var
1689 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1691 echo "$ac_var='\''$ac_val'\''"
1695 if test -n "$ac_subst_files"; then
1697 ## ------------------- ##
1698 ## File substitutions. ##
1699 ## ------------------- ##
1702 for ac_var in $ac_subst_files
1704 eval ac_val=\$$ac_var
1706 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1708 echo "$ac_var='\''$ac_val'\''"
1713 if test -s confdefs.h; then
1723 test "$ac_signal" != 0 &&
1724 echo "$as_me: caught signal $ac_signal"
1725 echo "$as_me: exit $exit_status"
1727 rm -f core *.core core.conftest.* &&
1728 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1731 for ac_signal in 1 2 13 15; do
1732 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1736 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1737 rm -f -r conftest* confdefs.h
1739 # Predefined preprocessor variables.
1741 cat >>confdefs.h <<_ACEOF
1742 #define PACKAGE_NAME "$PACKAGE_NAME"
1746 cat >>confdefs.h <<_ACEOF
1747 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1751 cat >>confdefs.h <<_ACEOF
1752 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1756 cat >>confdefs.h <<_ACEOF
1757 #define PACKAGE_STRING "$PACKAGE_STRING"
1761 cat >>confdefs.h <<_ACEOF
1762 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1766 # Let the site file select an alternate cache file if it wants to.
1767 # Prefer explicitly selected file to automatically selected ones.
1768 if test -n "$CONFIG_SITE"; then
1769 set x "$CONFIG_SITE"
1770 elif test "x$prefix" != xNONE; then
1771 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1773 set x "$ac_default_prefix/share/config.site" \
1774 "$ac_default_prefix/etc/config.site"
1779 if test -r "$ac_site_file"; then
1780 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1781 echo "$as_me: loading site script $ac_site_file" >&6;}
1782 sed 's/^/| /' "$ac_site_file" >&5
1787 if test -r "$cache_file"; then
1788 # Some versions of bash will fail to source /dev/null (special
1789 # files actually), so we avoid doing that.
1790 if test -f "$cache_file"; then
1791 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1792 echo "$as_me: loading cache $cache_file" >&6;}
1794 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1795 *) . "./$cache_file";;
1799 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1800 echo "$as_me: creating cache $cache_file" >&6;}
1804 # Check that the precious variables saved in the cache have kept the same
1806 ac_cache_corrupted=false
1807 for ac_var in $ac_precious_vars; do
1808 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1809 eval ac_new_set=\$ac_env_${ac_var}_set
1810 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1811 eval ac_new_val=\$ac_env_${ac_var}_value
1812 case $ac_old_set,$ac_new_set in
1814 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1815 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1816 ac_cache_corrupted=: ;;
1818 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1819 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1820 ac_cache_corrupted=: ;;
1823 if test "x$ac_old_val" != "x$ac_new_val"; then
1824 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1825 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1826 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1827 echo "$as_me: former value
: $ac_old_val" >&2;}
1828 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1829 echo "$as_me: current value
: $ac_new_val" >&2;}
1830 ac_cache_corrupted=:
1833 # Pass precious variables to config.status.
1834 if test "$ac_new_set" = set; then
1836 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1837 *) ac_arg=$ac_var=$ac_new_val ;;
1839 case " $ac_configure_args " in
1840 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1841 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1845 if $ac_cache_corrupted; then
1846 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1847 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1848 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1849 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1850 { (exit 1); exit 1; }; }
1870 ac_cpp='$CPP $CPPFLAGS'
1871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1878 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
1879 if test -f "$ac_dir/install-sh"; then
1881 ac_install_sh="$ac_aux_dir/install-sh -c"
1883 elif test -f "$ac_dir/install.sh"; then
1885 ac_install_sh="$ac_aux_dir/install.sh -c"
1887 elif test -f "$ac_dir/shtool"; then
1889 ac_install_sh="$ac_aux_dir/shtool install -c"
1893 if test -z "$ac_aux_dir"; then
1894 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts/autoconf \"$srcdir\"/scripts/autoconf" >&5
1895 echo "$as_me: error: cannot find install-sh or install.sh in scripts/autoconf \"$srcdir\"/scripts/autoconf" >&2;}
1896 { (exit 1); exit 1; }; }
1899 # These three variables are undocumented and unsupported,
1900 # and are intended to be withdrawn in a future Autoconf release.
1901 # They can cause serious problems if a builder's source tree is in a directory
1902 # whose full name contains unusual characters.
1903 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1904 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1905 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1909 # Check what host we are running on.
1910 # If a target is not suggested, we use this one.
1911 # Note that what we call a target, Autoconf calls a host.
1912 # Make sure we can run config.sub.
1913 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1914 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1915 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1916 { (exit 1); exit 1; }; }
1918 { echo "$as_me:$LINENO: checking build system type" >&5
1919 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1920 if test "${ac_cv_build+set}" = set; then
1921 echo $ECHO_N "(cached) $ECHO_C" >&6
1923 ac_build_alias=$build_alias
1924 test "x$ac_build_alias" = x &&
1925 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1926 test "x$ac_build_alias" = x &&
1927 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1928 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1929 { (exit 1); exit 1; }; }
1930 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1931 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1932 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1933 { (exit 1); exit 1; }; }
1936 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1937 echo "${ECHO_T}$ac_cv_build" >&6; }
1938 case $ac_cv_build in
1940 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1941 echo "$as_me: error: invalid value of canonical build" >&2;}
1942 { (exit 1); exit 1; }; };;
1945 ac_save_IFS=$IFS; IFS='-'
1951 # Remember, the first character of IFS is used to create $*,
1952 # except with old shells:
1955 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
1958 { echo "$as_me:$LINENO: checking host system type" >&5
1959 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1960 if test "${ac_cv_host+set}" = set; then
1961 echo $ECHO_N "(cached) $ECHO_C" >&6
1963 if test "x$host_alias" = x; then
1964 ac_cv_host=$ac_cv_build
1966 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1967 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1968 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1969 { (exit 1); exit 1; }; }
1973 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1974 echo "${ECHO_T}$ac_cv_host" >&6; }
1977 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1978 echo "$as_me: error: invalid value of canonical host" >&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 $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
1996 # The AROS target is slightly different to the normal GNU style
1997 # format. We don't have the middle part, and we reverse the order
1998 # of the $(CPU) and $(OS) bits.
2000 # Don't strip the version of the target yet, it might be
2001 # useful on some systems.
2003 { echo "$as_me:$LINENO: checking for AROS style target" >&5
2004 echo $ECHO_N "checking for AROS style target... $ECHO_C" >&6; }
2006 if test "$target" = "NONE" ; then
2007 target=$host_os-$host_cpu
2010 if test "$target" = "" ; then
2011 target=$host_os-$host_cpu
2017 { echo "$as_me:$LINENO: result: $target" >&5
2018 echo "${ECHO_T}$target" >&6; }
2020 #don't know where else to put this...
2023 # Parse the target field into something useful.
2025 target_os=`echo $target |
sed 's/^\([^-]*\)-\(.*\)$/\1/'`
2026 target_cpu=`echo $target |
sed 's/^\([^-]*\)-\(.*\)$/\2/'`
2029 aros_default_wbwidth=800
2030 aros_default_wbheight=600
2031 aros_default_wbdepth=4
2034 # The first step is to find the host binaries.
2035 # Check for a compiler.
2037 ac_cpp='$CPP $CPPFLAGS'
2038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2041 if test -n "$ac_tool_prefix"; then
2042 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2043 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2044 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2046 if test "${ac_cv_prog_CC+set}" = set; then
2047 echo $ECHO_N "(cached) $ECHO_C" >&6
2049 if test -n "$CC"; then
2050 ac_cv_prog_CC="$CC" # Let the user override the test.
2052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2056 test -z "$as_dir" && as_dir=.
2057 for ac_exec_ext in '' $ac_executable_extensions; do
2058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2059 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2060 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2070 if test -n "$CC"; then
2071 { echo "$as_me:$LINENO: result: $CC" >&5
2072 echo "${ECHO_T}$CC" >&6; }
2074 { echo "$as_me:$LINENO: result: no" >&5
2075 echo "${ECHO_T}no" >&6; }
2080 if test -z "$ac_cv_prog_CC"; then
2082 # Extract the first word of "gcc", so it can be a program name with args.
2083 set dummy gcc; ac_word=$2
2084 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2085 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2086 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2087 echo $ECHO_N "(cached) $ECHO_C" >&6
2089 if test -n "$ac_ct_CC"; then
2090 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2096 test -z "$as_dir" && as_dir=.
2097 for ac_exec_ext in '' $ac_executable_extensions; do
2098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2099 ac_cv_prog_ac_ct_CC="gcc"
2100 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2109 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2110 if test -n "$ac_ct_CC"; then
2111 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2112 echo "${ECHO_T}$ac_ct_CC" >&6; }
2114 { echo "$as_me:$LINENO: result: no" >&5
2115 echo "${ECHO_T}no" >&6; }
2118 if test "x$ac_ct_CC" = x; then
2121 case $cross_compiling:$ac_tool_warned in
2123 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2124 whose name does not start with the host triplet. If you think this
2125 configuration is useful to you, please write to autoconf@gnu.org." >&5
2126 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2127 whose name does not start with the host triplet. If you think this
2128 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2129 ac_tool_warned=yes ;;
2137 if test -z "$CC"; then
2138 if test -n "$ac_tool_prefix"; then
2139 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2140 set dummy ${ac_tool_prefix}cc; ac_word=$2
2141 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2143 if test "${ac_cv_prog_CC+set}" = set; then
2144 echo $ECHO_N "(cached) $ECHO_C" >&6
2146 if test -n "$CC"; then
2147 ac_cv_prog_CC="$CC" # Let the user override the test.
2149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2153 test -z "$as_dir" && as_dir=.
2154 for ac_exec_ext in '' $ac_executable_extensions; do
2155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2156 ac_cv_prog_CC="${ac_tool_prefix}cc"
2157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2167 if test -n "$CC"; then
2168 { echo "$as_me:$LINENO: result: $CC" >&5
2169 echo "${ECHO_T}$CC" >&6; }
2171 { echo "$as_me:$LINENO: result: no" >&5
2172 echo "${ECHO_T}no" >&6; }
2178 if test -z "$CC"; then
2179 # Extract the first word of "cc", so it can be a program name with args.
2180 set dummy cc; ac_word=$2
2181 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2183 if test "${ac_cv_prog_CC+set}" = set; then
2184 echo $ECHO_N "(cached) $ECHO_C" >&6
2186 if test -n "$CC"; then
2187 ac_cv_prog_CC="$CC" # Let the user override the test.
2190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2194 test -z "$as_dir" && as_dir=.
2195 for ac_exec_ext in '' $ac_executable_extensions; do
2196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2197 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2198 ac_prog_rejected=yes
2202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2209 if test $ac_prog_rejected = yes; then
2210 # We found a bogon in the path, so make sure we never use it.
2211 set dummy $ac_cv_prog_CC
2213 if test $# != 0; then
2214 # We chose a different compiler from the bogus one.
2215 # However, it has the same basename, so the bogon will be chosen
2216 # first if we set CC to just the basename; use the full file name.
2218 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2224 if test -n "$CC"; then
2225 { echo "$as_me:$LINENO: result: $CC" >&5
2226 echo "${ECHO_T}$CC" >&6; }
2228 { echo "$as_me:$LINENO: result: no" >&5
2229 echo "${ECHO_T}no" >&6; }
2234 if test -z "$CC"; then
2235 if test -n "$ac_tool_prefix"; then
2236 for ac_prog in cl.exe
2238 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2239 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2240 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2242 if test "${ac_cv_prog_CC+set}" = set; then
2243 echo $ECHO_N "(cached) $ECHO_C" >&6
2245 if test -n "$CC"; then
2246 ac_cv_prog_CC="$CC" # Let the user override the test.
2248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2252 test -z "$as_dir" && as_dir=.
2253 for ac_exec_ext in '' $ac_executable_extensions; do
2254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2255 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2266 if test -n "$CC"; then
2267 { echo "$as_me:$LINENO: result: $CC" >&5
2268 echo "${ECHO_T}$CC" >&6; }
2270 { echo "$as_me:$LINENO: result: no" >&5
2271 echo "${ECHO_T}no" >&6; }
2275 test -n "$CC" && break
2278 if test -z "$CC"; then
2280 for ac_prog in cl.exe
2282 # Extract the first word of "$ac_prog", so it can be a program name with args.
2283 set dummy $ac_prog; ac_word=$2
2284 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2286 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2287 echo $ECHO_N "(cached) $ECHO_C" >&6
2289 if test -n "$ac_ct_CC"; then
2290 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2296 test -z "$as_dir" && as_dir=.
2297 for ac_exec_ext in '' $ac_executable_extensions; do
2298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2299 ac_cv_prog_ac_ct_CC="$ac_prog"
2300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2309 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2310 if test -n "$ac_ct_CC"; then
2311 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2312 echo "${ECHO_T}$ac_ct_CC" >&6; }
2314 { echo "$as_me:$LINENO: result: no" >&5
2315 echo "${ECHO_T}no" >&6; }
2319 test -n "$ac_ct_CC" && break
2322 if test "x$ac_ct_CC" = x; then
2325 case $cross_compiling:$ac_tool_warned in
2327 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2328 whose name does not start with the host triplet. If you think this
2329 configuration is useful to you, please write to autoconf@gnu.org." >&5
2330 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2331 whose name does not start with the host triplet. If you think this
2332 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2333 ac_tool_warned=yes ;;
2342 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2343 See \`config.log
' for more details." >&5
2344 echo "$as_me: error: no acceptable C compiler found in \$PATH
2345 See \`config.log' for more details.
" >&2;}
2346 { (exit 1); exit 1; }; }
2348 # Provide some information about the compiler.
2349 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2350 ac_compiler=`set X $ac_compile; echo $2`
2351 { (ac_try="$ac_compiler --version >&5"
2353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2354 *) ac_try_echo=$ac_try;;
2356 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2357 (eval "$ac_compiler --version >&5") 2>&5
2359 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2360 (exit $ac_status); }
2361 { (ac_try="$ac_compiler -v >&5"
2363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2364 *) ac_try_echo=$ac_try;;
2366 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2367 (eval "$ac_compiler -v >&5") 2>&5
2369 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2370 (exit $ac_status); }
2371 { (ac_try="$ac_compiler -V >&5"
2373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2374 *) ac_try_echo=$ac_try;;
2376 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2377 (eval "$ac_compiler -V >&5") 2>&5
2379 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2380 (exit $ac_status); }
2382 cat >conftest.$ac_ext <<_ACEOF
2385 cat confdefs.h >>conftest.$ac_ext
2386 cat >>conftest.$ac_ext <<_ACEOF
2387 /* end confdefs.h. */
2397 ac_clean_files_save=$ac_clean_files
2398 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2399 # Try to create an executable without -o first, disregard a.out.
2400 # It will help us diagnose broken compilers, and finding out an intuition
2402 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2403 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2404 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2406 # List of possible output files, starting from the most likely.
2407 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2408 # only as a last resort. b.out is created by i960 compilers.
2409 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2411 # The IRIX 6 linker writes into existing files which may not be
2412 # executable, retaining their permissions. Remove them first so a
2413 # subsequent execution test works.
2415 for ac_file in $ac_files
2418 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2419 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2424 if { (ac_try="$ac_link_default"
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_link_default") 2>&5
2432 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2433 (exit $ac_status); }; then
2434 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2435 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2436 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2437 # so that the user can short-circuit this test for compilers unknown to
2439 for ac_file in $ac_files ''
2441 test -f "$ac_file" || continue
2443 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2446 # We found the default executable, but exeext='' is most
2450 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2452 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2454 # We set ac_cv_exeext here because the later test for it is not
2455 # safe: cross compilers may not add the suffix if given an `-o'
2456 # argument, so we may need to know it at that point already.
2457 # Even if this section looks crufty: it has the advantage of
2464 test "$ac_cv_exeext" = no && ac_cv_exeext=
2470 { echo "$as_me:$LINENO: result
: $ac_file" >&5
2471 echo "${ECHO_T}$ac_file" >&6; }
2472 if test -z "$ac_file"; then
2473 echo "$as_me: failed program was
:" >&5
2474 sed 's/^/| /' conftest.$ac_ext >&5
2476 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2477 See \
`config.log' for more details." >&5
2478 echo "$as_me: error: C compiler cannot create executables
2479 See \`config.log
' for more details." >&2;}
2480 { (exit 77); exit 77; }; }
2483 ac_exeext=$ac_cv_exeext
2485 # Check that the compiler produces executables we can run. If not, either
2486 # the compiler is broken, or we cross compile.
2487 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2488 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2489 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2490 # If not cross compiling, check that we can run a simple program.
2491 if test "$cross_compiling" != yes; then
2492 if { ac_try='.
/$ac_file'
2493 { (case "(($ac_try" in
2494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2495 *) ac_try_echo=$ac_try;;
2497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2498 (eval "$ac_try") 2>&5
2500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2501 (exit $ac_status); }; }; then
2504 if test "$cross_compiling" = maybe; then
2507 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2508 If you meant to cross compile, use \`--host'.
2509 See \
`config.log' for more details." >&5
2510 echo "$as_me: error: cannot run C compiled programs.
2511 If you meant to cross compile, use \`--host'.
2512 See \`config.log' for more details.
" >&2;}
2513 { (exit 1); exit 1; }; }
2517 { echo "$as_me:$LINENO: result
: yes" >&5
2518 echo "${ECHO_T}yes" >&6; }
2520 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2521 ac_clean_files=$ac_clean_files_save
2522 # Check that the compiler produces executables we can run. If not, either
2523 # the compiler is broken, or we cross compile.
2524 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2525 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2526 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2527 echo "${ECHO_T}$cross_compiling" >&6; }
2529 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2530 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2531 if { (ac_try="$ac_link"
2533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2534 *) ac_try_echo=$ac_try;;
2536 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2537 (eval "$ac_link") 2>&5
2539 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2540 (exit $ac_status); }; then
2541 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2542 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2543 # work properly (i.e., refer to `conftest.exe'), while it won't with
2545 for ac_file in conftest.exe conftest conftest.*; do
2546 test -f "$ac_file" || continue
2548 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2549 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2555 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2556 See \
`config.log' for more details." >&5
2557 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2558 See \`config.log
' for more details." >&2;}
2559 { (exit 1); exit 1; }; }
2562 rm -f conftest$ac_cv_exeext
2563 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2564 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2566 rm -f conftest.$ac_ext
2567 EXEEXT=$ac_cv_exeext
2569 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2570 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2571 if test "${ac_cv_objext+set}" = set; then
2572 echo $ECHO_N "(cached) $ECHO_C" >&6
2574 cat >conftest.$ac_ext <<_ACEOF
2577 cat confdefs.h >>conftest.$ac_ext
2578 cat >>conftest.$ac_ext <<_ACEOF
2579 /* end confdefs.h. */
2589 rm -f conftest.o conftest.obj
2590 if { (ac_try="$ac_compile"
2592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2593 *) ac_try_echo=$ac_try;;
2595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2596 (eval "$ac_compile") 2>&5
2598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599 (exit $ac_status); }; then
2600 for ac_file in conftest.o conftest.obj conftest.*; do
2601 test -f "$ac_file" || continue;
2603 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2604 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2609 echo "$as_me: failed program was:" >&5
2610 sed 's
/^
/|
/' conftest.$ac_ext >&5
2612 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2613 See \`config.log' for more details.
" >&5
2614 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2615 See \
`config.log' for more details." >&2;}
2616 { (exit 1); exit 1; }; }
2619 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2621 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2622 echo "${ECHO_T}$ac_cv_objext" >&6; }
2623 OBJEXT=$ac_cv_objext
2625 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2626 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2627 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2628 echo $ECHO_N "(cached) $ECHO_C" >&6
2630 cat >conftest.$ac_ext <<_ACEOF
2633 cat confdefs.h >>conftest.$ac_ext
2634 cat >>conftest.$ac_ext <<_ACEOF
2635 /* end confdefs.h. */
2648 rm -f conftest.$ac_objext
2649 if { (ac_try="$ac_compile"
2651 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2652 *) ac_try_echo
=$ac_try;;
2654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2655 (eval "$ac_compile") 2>conftest.er1
2657 grep -v '^ *+' conftest.er1
>conftest.err
2659 cat conftest.err
>&5
2660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2661 (exit $ac_status); } && {
2662 test -z "$ac_c_werror_flag" ||
2663 test ! -s conftest.err
2664 } && test -s conftest.
$ac_objext; then
2667 echo "$as_me: failed program was:" >&5
2668 sed 's/^/| /' conftest.
$ac_ext >&5
2673 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2674 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2677 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2678 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2679 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2680 ac_test_CFLAGS
=${CFLAGS+set}
2681 ac_save_CFLAGS
=$CFLAGS
2682 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2683 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2684 if test "${ac_cv_prog_cc_g+set}" = set; then
2685 echo $ECHO_N "(cached) $ECHO_C" >&6
2687 ac_save_c_werror_flag
=$ac_c_werror_flag
2688 ac_c_werror_flag
=yes
2691 cat >conftest.
$ac_ext <<_ACEOF
2694 cat confdefs.h
>>conftest.
$ac_ext
2695 cat >>conftest.
$ac_ext <<_ACEOF
2696 /* end confdefs.h. */
2706 rm -f conftest.
$ac_objext
2707 if { (ac_try
="$ac_compile"
2709 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2710 *) ac_try_echo=$ac_try;;
2712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2713 (eval "$ac_compile") 2>conftest.er1
2715 grep -v '^ *+' conftest.er1 >conftest.err
2717 cat conftest.err >&5
2718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2719 (exit $ac_status); } && {
2720 test -z "$ac_c_werror_flag" ||
2721 test ! -s conftest.err
2722 } && test -s conftest.$ac_objext; then
2725 echo "$as_me: failed program was:" >&5
2726 sed 's/^/| /' conftest.$ac_ext >&5
2729 cat >conftest.$ac_ext <<_ACEOF
2732 cat confdefs.h >>conftest.$ac_ext
2733 cat >>conftest.$ac_ext <<_ACEOF
2734 /* end confdefs.h. */
2744 rm -f conftest.$ac_objext
2745 if { (ac_try="$ac_compile"
2747 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2748 *) ac_try_echo
=$ac_try;;
2750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2751 (eval "$ac_compile") 2>conftest.er1
2753 grep -v '^ *+' conftest.er1
>conftest.err
2755 cat conftest.err
>&5
2756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2757 (exit $ac_status); } && {
2758 test -z "$ac_c_werror_flag" ||
2759 test ! -s conftest.err
2760 } && test -s conftest.
$ac_objext; then
2763 echo "$as_me: failed program was:" >&5
2764 sed 's/^/| /' conftest.
$ac_ext >&5
2766 ac_c_werror_flag
=$ac_save_c_werror_flag
2768 cat >conftest.
$ac_ext <<_ACEOF
2771 cat confdefs.h
>>conftest.
$ac_ext
2772 cat >>conftest.
$ac_ext <<_ACEOF
2773 /* end confdefs.h. */
2783 rm -f conftest.
$ac_objext
2784 if { (ac_try
="$ac_compile"
2786 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2787 *) ac_try_echo=$ac_try;;
2789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2790 (eval "$ac_compile") 2>conftest.er1
2792 grep -v '^ *+' conftest.er1 >conftest.err
2794 cat conftest.err >&5
2795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2796 (exit $ac_status); } && {
2797 test -z "$ac_c_werror_flag" ||
2798 test ! -s conftest.err
2799 } && test -s conftest.$ac_objext; then
2802 echo "$as_me: failed program was:" >&5
2803 sed 's/^/| /' conftest.$ac_ext >&5
2808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2815 ac_c_werror_flag=$ac_save_c_werror_flag
2817 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2818 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2819 if test "$ac_test_CFLAGS" = set; then
2820 CFLAGS=$ac_save_CFLAGS
2821 elif test $ac_cv_prog_cc_g = yes; then
2822 if test "$GCC" = yes; then
2828 if test "$GCC" = yes; then
2834 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2835 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2836 if test "${ac_cv_prog_cc_c89+set}" = set; then
2837 echo $ECHO_N "(cached) $ECHO_C" >&6
2839 ac_cv_prog_cc_c89=no
2841 cat >conftest.$ac_ext <<_ACEOF
2844 cat confdefs.h >>conftest.$ac_ext
2845 cat >>conftest.$ac_ext <<_ACEOF
2846 /* end confdefs.h. */
2849 #include <sys/types.h>
2850 #include <sys/stat.h>
2851 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2852 struct buf { int x; };
2853 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2854 static char *e (p, i)
2860 static char *f (char * (*g) (char **, int), char **p, ...)
2865 s = g (p, va_arg (v,int));
2870 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2871 function prototypes and stuff, but not '\xHH' hex character constants.
2872 These don't provoke an error unfortunately, instead are silently treated
2873 as 'x'. The following induces an error, until -std is added to get
2874 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2875 array size at least. It's necessary to write '\x00'==0 to get something
2876 that's true only with -std. */
2877 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2879 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2880 inside strings and character constants. */
2882 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2884 int test (int i, double x);
2885 struct s1 {int (*f) (int a);};
2886 struct s2 {int (*f) (double a);};
2887 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2893 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2898 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2899 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2901 CC="$ac_save_CC $ac_arg"
2902 rm -f conftest.$ac_objext
2903 if { (ac_try="$ac_compile"
2905 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2906 *) ac_try_echo
=$ac_try;;
2908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2909 (eval "$ac_compile") 2>conftest.er1
2911 grep -v '^ *+' conftest.er1
>conftest.err
2913 cat conftest.err
>&5
2914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915 (exit $ac_status); } && {
2916 test -z "$ac_c_werror_flag" ||
2917 test ! -s conftest.err
2918 } && test -s conftest.
$ac_objext; then
2919 ac_cv_prog_cc_c89
=$ac_arg
2921 echo "$as_me: failed program was:" >&5
2922 sed 's/^/| /' conftest.
$ac_ext >&5
2927 rm -f core conftest.err conftest.
$ac_objext
2928 test "x$ac_cv_prog_cc_c89" != "xno" && break
2930 rm -f conftest.
$ac_ext
2935 case "x$ac_cv_prog_cc_c89" in
2937 { echo "$as_me:$LINENO: result: none needed" >&5
2938 echo "${ECHO_T}none needed" >&6; } ;;
2940 { echo "$as_me:$LINENO: result: unsupported" >&5
2941 echo "${ECHO_T}unsupported" >&6; } ;;
2943 CC
="$CC $ac_cv_prog_cc_c89"
2944 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2945 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2950 ac_cpp
='$CPP $CPPFLAGS'
2951 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2952 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2953 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2955 case $ac_cv_prog_cc_stdc in
2956 no
) ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;;
2957 *) { echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
2958 echo $ECHO_N "checking for $CC option to accept ISO C99... $ECHO_C" >&6; }
2959 if test "${ac_cv_prog_cc_c99+set}" = set; then
2960 echo $ECHO_N "(cached) $ECHO_C" >&6
2962 ac_cv_prog_cc_c99
=no
2964 cat >conftest.
$ac_ext <<_ACEOF
2967 cat confdefs.h
>>conftest.
$ac_ext
2968 cat >>conftest.
$ac_ext <<_ACEOF
2969 /* end confdefs.h. */
2971 #include <stdbool.h>
2976 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2977 #define debug(...) fprintf (stderr, __VA_ARGS__)
2978 #define showlist(...) puts (#__VA_ARGS__)
2979 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2981 test_varargs_macros (void)
2986 debug ("X = %d\n", x);
2987 showlist (The first, second, and third items.);
2988 report (x>y, "x is %d but y is %d", x, y);
2991 // Check long long types.
2992 #define BIG64 18446744073709551615ull
2993 #define BIG32 4294967295ul
2994 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2996 your preprocessor is broken;
3000 your preprocessor is broken;
3002 static long long int bignum = -9223372036854775807LL;
3003 static unsigned long long int ubignum = BIG64;
3005 struct incomplete_array
3013 const wchar_t *name;
3017 typedef const char *ccp;
3020 test_restrict (ccp restrict text)
3022 // See if C++-style comments work.
3023 // Iterate through items via the restricted pointer.
3024 // Also check for declarations in for loops.
3025 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3030 // Check varargs and va_copy.
3032 test_varargs (const char *format, ...)
3035 va_start (args, format);
3037 va_copy (args_copy, args);
3048 str = va_arg (args_copy, const char *);
3051 number = va_arg (args_copy, int);
3054 fnumber = va_arg (args_copy, double);
3069 _Bool success = false;
3072 if (test_restrict ("String literal") == 0)
3074 char *restrict newvar = "Another string";
3077 test_varargs ("s, d' f .", "string", 65, 34.234);
3078 test_varargs_macros ();
3080 // Check flexible array members.
3081 struct incomplete_array *ia =
3082 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3084 for (int i = 0; i < ia->datasize; ++i)
3085 ia->data[i] = i * 1.234;
3087 // Check named initializers.
3088 struct named_init ni = {
3090 .name = L"Test wide string",
3091 .average = 543.34343,
3096 int dynamic_array[ni.number];
3097 dynamic_array[ni.number - 1] = 543;
3099 // work around unused variable warnings
3100 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3101 || dynamic_array[ni.number - 1] != 543);
3107 for ac_arg
in '' -std=gnu99
-c99 -qlanglvl=extc99
3109 CC
="$ac_save_CC $ac_arg"
3110 rm -f conftest.
$ac_objext
3111 if { (ac_try
="$ac_compile"
3113 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3114 *) ac_try_echo=$ac_try;;
3116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3117 (eval "$ac_compile") 2>conftest.er1
3119 grep -v '^ *+' conftest.er1 >conftest.err
3121 cat conftest.err >&5
3122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3123 (exit $ac_status); } && {
3124 test -z "$ac_c_werror_flag" ||
3125 test ! -s conftest.err
3126 } && test -s conftest.$ac_objext; then
3127 ac_cv_prog_cc_c99=$ac_arg
3129 echo "$as_me: failed program was:" >&5
3130 sed 's/^/| /' conftest.$ac_ext >&5
3135 rm -f core conftest.err conftest.$ac_objext
3136 test "x$ac_cv_prog_cc_c99" != "xno" && break
3138 rm -f conftest.$ac_ext
3143 case "x$ac_cv_prog_cc_c99" in
3145 { echo "$as_me:$LINENO: result: none needed" >&5
3146 echo "${ECHO_T}none needed" >&6; } ;;
3148 { echo "$as_me:$LINENO: result: unsupported" >&5
3149 echo "${ECHO_T}unsupported" >&6; } ;;
3151 CC="$CC $ac_cv_prog_cc_c99"
3152 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
3153 echo "${ECHO_T}$ac_cv_prog_cc_c99" >&6; } ;;
3155 if test "x$ac_cv_prog_cc_c99" != xno; then
3156 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3158 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3159 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3160 if test "${ac_cv_prog_cc_c89+set}" = set; then
3161 echo $ECHO_N "(cached) $ECHO_C" >&6
3163 ac_cv_prog_cc_c89=no
3165 cat >conftest.$ac_ext <<_ACEOF
3168 cat confdefs.h >>conftest.$ac_ext
3169 cat >>conftest.$ac_ext <<_ACEOF
3170 /* end confdefs.h. */
3173 #include <sys/types.h>
3174 #include <sys/stat.h>
3175 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3176 struct buf { int x; };
3177 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3178 static char *e (p, i)
3184 static char *f (char * (*g) (char **, int), char **p, ...)
3189 s = g (p, va_arg (v,int));
3194 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3195 function prototypes and stuff, but not '\xHH' hex character constants.
3196 These don't provoke an error unfortunately, instead are silently treated
3197 as 'x'. The following induces an error, until -std is added to get
3198 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3199 array size at least. It's necessary to write '\x00'==0 to get something
3200 that's true only with -std. */
3201 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3203 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3204 inside strings and character constants. */
3206 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3208 int test (int i, double x);
3209 struct s1 {int (*f) (int a);};
3210 struct s2 {int (*f) (double a);};
3211 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3217 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3222 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3223 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3225 CC="$ac_save_CC $ac_arg"
3226 rm -f conftest.$ac_objext
3227 if { (ac_try="$ac_compile"
3229 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3230 *) ac_try_echo
=$ac_try;;
3232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3233 (eval "$ac_compile") 2>conftest.er1
3235 grep -v '^ *+' conftest.er1
>conftest.err
3237 cat conftest.err
>&5
3238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3239 (exit $ac_status); } && {
3240 test -z "$ac_c_werror_flag" ||
3241 test ! -s conftest.err
3242 } && test -s conftest.
$ac_objext; then
3243 ac_cv_prog_cc_c89
=$ac_arg
3245 echo "$as_me: failed program was:" >&5
3246 sed 's/^/| /' conftest.
$ac_ext >&5
3251 rm -f core conftest.err conftest.
$ac_objext
3252 test "x$ac_cv_prog_cc_c89" != "xno" && break
3254 rm -f conftest.
$ac_ext
3259 case "x$ac_cv_prog_cc_c89" in
3261 { echo "$as_me:$LINENO: result: none needed" >&5
3262 echo "${ECHO_T}none needed" >&6; } ;;
3264 { echo "$as_me:$LINENO: result: unsupported" >&5
3265 echo "${ECHO_T}unsupported" >&6; } ;;
3267 CC
="$CC $ac_cv_prog_cc_c89"
3268 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3269 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3271 if test "x$ac_cv_prog_cc_c89" != xno
; then
3272 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
3274 ac_cv_prog_cc_stdc
=no
3282 { echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5
3283 echo $ECHO_N "checking for $CC option to accept ISO Standard C... $ECHO_C" >&6; }
3284 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3285 echo $ECHO_N "(cached) $ECHO_C" >&6
3288 case $ac_cv_prog_cc_stdc in
3289 no
) { echo "$as_me:$LINENO: result: unsupported" >&5
3290 echo "${ECHO_T}unsupported" >&6; } ;;
3291 '') { echo "$as_me:$LINENO: result: none needed" >&5
3292 echo "${ECHO_T}none needed" >&6; } ;;
3293 *) { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3294 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; } ;;
3299 ac_cpp
='$CPP $CPPFLAGS'
3300 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3301 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3302 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3303 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3304 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3305 # On Suns, sometimes $CPP names a directory.
3306 if test -n "$CPP" && test -d "$CPP"; then
3309 if test -z "$CPP"; then
3310 if test "${ac_cv_prog_CPP+set}" = set; then
3311 echo $ECHO_N "(cached) $ECHO_C" >&6
3313 # Double quotes because CPP needs to be expanded
3314 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3317 for ac_c_preproc_warn_flag
in '' yes
3319 # Use a header file that comes with gcc, so configuring glibc
3320 # with a fresh cross-compiler works.
3321 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3322 # <limits.h> exists even on freestanding compilers.
3323 # On the NeXT, cc -E runs the code through the compiler's parser,
3324 # not just through cpp. "Syntax error" is here to catch this case.
3325 cat >conftest.
$ac_ext <<_ACEOF
3328 cat confdefs.h
>>conftest.
$ac_ext
3329 cat >>conftest.
$ac_ext <<_ACEOF
3330 /* end confdefs.h. */
3332 # include <limits.h>
3334 # include <assert.h>
3338 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3340 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3341 *) ac_try_echo=$ac_try;;
3343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3344 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3346 grep -v '^ *+' conftest.er1 >conftest.err
3348 cat conftest.err >&5
3349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3350 (exit $ac_status); } >/dev/null && {
3351 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3352 test ! -s conftest.err
3356 echo "$as_me: failed program was:" >&5
3357 sed 's/^/| /' conftest.$ac_ext >&5
3359 # Broken: fails on valid input.
3363 rm -f conftest.err conftest.$ac_ext
3365 # OK, works on sane cases. Now check whether nonexistent headers
3366 # can be detected and how.
3367 cat >conftest.$ac_ext <<_ACEOF
3370 cat confdefs.h >>conftest.$ac_ext
3371 cat >>conftest.$ac_ext <<_ACEOF
3372 /* end confdefs.h. */
3373 #include <ac_nonexistent.h>
3375 if { (ac_try="$ac_cpp conftest.$ac_ext"
3377 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3378 *) ac_try_echo
=$ac_try;;
3380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3381 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3383 grep -v '^ *+' conftest.er1
>conftest.err
3385 cat conftest.err
>&5
3386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3387 (exit $ac_status); } >/dev
/null
&& {
3388 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3389 test ! -s conftest.err
3391 # Broken: success on invalid input.
3394 echo "$as_me: failed program was:" >&5
3395 sed 's/^/| /' conftest.
$ac_ext >&5
3397 # Passes both tests.
3402 rm -f conftest.err conftest.
$ac_ext
3405 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3406 rm -f conftest.err conftest.
$ac_ext
3407 if $ac_preproc_ok; then
3419 { echo "$as_me:$LINENO: result: $CPP" >&5
3420 echo "${ECHO_T}$CPP" >&6; }
3422 for ac_c_preproc_warn_flag
in '' yes
3424 # Use a header file that comes with gcc, so configuring glibc
3425 # with a fresh cross-compiler works.
3426 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3427 # <limits.h> exists even on freestanding compilers.
3428 # On the NeXT, cc -E runs the code through the compiler's parser,
3429 # not just through cpp. "Syntax error" is here to catch this case.
3430 cat >conftest.
$ac_ext <<_ACEOF
3433 cat confdefs.h
>>conftest.
$ac_ext
3434 cat >>conftest.
$ac_ext <<_ACEOF
3435 /* end confdefs.h. */
3437 # include <limits.h>
3439 # include <assert.h>
3443 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3445 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3446 *) ac_try_echo=$ac_try;;
3448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3449 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3451 grep -v '^ *+' conftest.er1 >conftest.err
3453 cat conftest.err >&5
3454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3455 (exit $ac_status); } >/dev/null && {
3456 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3457 test ! -s conftest.err
3461 echo "$as_me: failed program was:" >&5
3462 sed 's/^/| /' conftest.$ac_ext >&5
3464 # Broken: fails on valid input.
3468 rm -f conftest.err conftest.$ac_ext
3470 # OK, works on sane cases. Now check whether nonexistent headers
3471 # can be detected and how.
3472 cat >conftest.$ac_ext <<_ACEOF
3475 cat confdefs.h >>conftest.$ac_ext
3476 cat >>conftest.$ac_ext <<_ACEOF
3477 /* end confdefs.h. */
3478 #include <ac_nonexistent.h>
3480 if { (ac_try="$ac_cpp conftest.$ac_ext"
3482 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3483 *) ac_try_echo
=$ac_try;;
3485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3486 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3488 grep -v '^ *+' conftest.er1
>conftest.err
3490 cat conftest.err
>&5
3491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3492 (exit $ac_status); } >/dev
/null
&& {
3493 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3494 test ! -s conftest.err
3496 # Broken: success on invalid input.
3499 echo "$as_me: failed program was:" >&5
3500 sed 's/^/| /' conftest.
$ac_ext >&5
3502 # Passes both tests.
3507 rm -f conftest.err conftest.
$ac_ext
3510 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3511 rm -f conftest.err conftest.
$ac_ext
3512 if $ac_preproc_ok; then
3515 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3516 See \`config.log' for more details." >&5
3517 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3518 See \`config.log' for more details." >&2;}
3519 { (exit 1); exit 1; }; }
3523 ac_cpp
='$CPP $CPPFLAGS'
3524 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3525 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3526 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3529 # Check for a compatible awk
3530 for ac_prog
in gawk nawk
3532 # Extract the first word of "$ac_prog", so it can be a program name with args.
3533 set dummy
$ac_prog; ac_word
=$2
3534 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3536 if test "${ac_cv_prog_AWK+set}" = set; then
3537 echo $ECHO_N "(cached) $ECHO_C" >&6
3539 if test -n "$AWK"; then
3540 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3546 test -z "$as_dir" && as_dir
=.
3547 for ac_exec_ext
in '' $ac_executable_extensions; do
3548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3549 ac_cv_prog_AWK
="$ac_prog"
3550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3560 if test -n "$AWK"; then
3561 { echo "$as_me:$LINENO: result: $AWK" >&5
3562 echo "${ECHO_T}$AWK" >&6; }
3564 { echo "$as_me:$LINENO: result: no" >&5
3565 echo "${ECHO_T}no" >&6; }
3569 test -n "$AWK" && break
3572 if test "$AWK" = ""; then
3573 { { echo "$as_me:$LINENO: error: gawk is required to build AROS. Please install and run configure again." >&5
3574 echo "$as_me: error: gawk is required to build AROS. Please install and run configure again." >&2;}
3575 { (exit 1); exit 1; }; }
3577 # Extract the first word of "mmake", so it can be a program name with args.
3578 set dummy mmake
; ac_word
=$2
3579 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3581 if test "${ac_cv_prog_MMAKE+set}" = set; then
3582 echo $ECHO_N "(cached) $ECHO_C" >&6
3584 if test -n "$MMAKE"; then
3585 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
3587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3591 test -z "$as_dir" && as_dir
=.
3592 for ac_exec_ext
in '' $ac_executable_extensions; do
3593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3594 ac_cv_prog_MMAKE
="mmake "
3595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3604 MMAKE
=$ac_cv_prog_MMAKE
3605 if test -n "$MMAKE"; then
3606 { echo "$as_me:$LINENO: result: $MMAKE" >&5
3607 echo "${ECHO_T}$MMAKE" >&6; }
3609 { echo "$as_me:$LINENO: result: no" >&5
3610 echo "${ECHO_T}no" >&6; }
3615 # Perform some default variable assignments. Note all of these will be
3616 # Regenerated from the script, so there is no need to cache them.
3619 if test "$GCC" = "yes"; then
3620 aros_gcc_ld
=`$CC -print-prog-name=ld`
3621 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
3622 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
3623 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3624 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3625 if test "${ac_cv_path_aros_host_ld+set}" = set; then
3626 echo $ECHO_N "(cached) $ECHO_C" >&6
3628 case $aros_host_ld in
3630 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3634 for as_dir
in `dirname $aros_gcc_ld`
3637 test -z "$as_dir" && as_dir
=.
3638 for ac_exec_ext
in '' $ac_executable_extensions; do
3639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3640 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3651 aros_host_ld
=$ac_cv_path_aros_host_ld
3652 if test -n "$aros_host_ld"; then
3653 { echo "$as_me:$LINENO: result: $aros_host_ld" >&5
3654 echo "${ECHO_T}$aros_host_ld" >&6; }
3656 { echo "$as_me:$LINENO: result: no" >&5
3657 echo "${ECHO_T}no" >&6; }
3662 if test "$aros_host_ld" = ""; then
3663 # Extract the first word of "ld", so it can be a program name with args.
3664 set dummy ld
; ac_word
=$2
3665 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3667 if test "${ac_cv_path_aros_host_ld+set}" = set; then
3668 echo $ECHO_N "(cached) $ECHO_C" >&6
3670 case $aros_host_ld in
3672 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3679 test -z "$as_dir" && as_dir
=.
3680 for ac_exec_ext
in '' $ac_executable_extensions; do
3681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3682 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3683 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3693 aros_host_ld
=$ac_cv_path_aros_host_ld
3694 if test -n "$aros_host_ld"; then
3695 { echo "$as_me:$LINENO: result: $aros_host_ld" >&5
3696 echo "${ECHO_T}$aros_host_ld" >&6; }
3698 { echo "$as_me:$LINENO: result: no" >&5
3699 echo "${ECHO_T}no" >&6; }
3704 if test "$aros_host_ld" = ""; then
3705 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
3706 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
3707 { (exit 1); exit 1; }; }
3709 aros_host_make
="make"
3710 aros_host_cflags
=$CFLAGS
3711 aros_host_ldflags
=$LDFLAGS
3712 aros_host_debug
="-g -O0"
3713 aros_host_mkdep
="\$(TOP)/scripts/mkdep"
3714 aros_host_mkargs
="--no-print-directory"
3715 aros_host_incl
="/usr/include"
3716 aros_host_exe_suffix
="$EXEEXT"
3717 aros_host_lib_suffix
=""
3719 for ac_prog
in aclocal aclocal19
3721 # Extract the first word of "$ac_prog", so it can be a program name with args.
3722 set dummy
$ac_prog; ac_word
=$2
3723 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3724 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3725 if test "${ac_cv_prog_aros_host_aclocal+set}" = set; then
3726 echo $ECHO_N "(cached) $ECHO_C" >&6
3728 if test -n "$aros_host_aclocal"; then
3729 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
3731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3735 test -z "$as_dir" && as_dir
=.
3736 for ac_exec_ext
in '' $ac_executable_extensions; do
3737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3738 ac_cv_prog_aros_host_aclocal
="$ac_prog"
3739 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3748 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
3749 if test -n "$aros_host_aclocal"; then
3750 { echo "$as_me:$LINENO: result: $aros_host_aclocal" >&5
3751 echo "${ECHO_T}$aros_host_aclocal" >&6; }
3753 { echo "$as_me:$LINENO: result: no" >&5
3754 echo "${ECHO_T}no" >&6; }
3758 test -n "$aros_host_aclocal" && break
3761 for ac_prog
in autoconf autoconf259 autoconf253
3763 # Extract the first word of "$ac_prog", so it can be a program name with args.
3764 set dummy
$ac_prog; ac_word
=$2
3765 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3767 if test "${ac_cv_prog_aros_host_autoconf+set}" = set; then
3768 echo $ECHO_N "(cached) $ECHO_C" >&6
3770 if test -n "$aros_host_autoconf"; then
3771 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
3773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3777 test -z "$as_dir" && as_dir
=.
3778 for ac_exec_ext
in '' $ac_executable_extensions; do
3779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3780 ac_cv_prog_aros_host_autoconf
="$ac_prog"
3781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3790 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
3791 if test -n "$aros_host_autoconf"; then
3792 { echo "$as_me:$LINENO: result: $aros_host_autoconf" >&5
3793 echo "${ECHO_T}$aros_host_autoconf" >&6; }
3795 { echo "$as_me:$LINENO: result: no" >&5
3796 echo "${ECHO_T}no" >&6; }
3800 test -n "$aros_host_autoconf" && break
3803 for ac_prog
in autoheader autoheader259 autoheader253
3805 # Extract the first word of "$ac_prog", so it can be a program name with args.
3806 set dummy
$ac_prog; ac_word
=$2
3807 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3809 if test "${ac_cv_prog_aros_host_autoheader+set}" = set; then
3810 echo $ECHO_N "(cached) $ECHO_C" >&6
3812 if test -n "$aros_host_autoheader"; then
3813 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
3815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3819 test -z "$as_dir" && as_dir
=.
3820 for ac_exec_ext
in '' $ac_executable_extensions; do
3821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3822 ac_cv_prog_aros_host_autoheader
="$ac_prog"
3823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3832 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
3833 if test -n "$aros_host_autoheader"; then
3834 { echo "$as_me:$LINENO: result: $aros_host_autoheader" >&5
3835 echo "${ECHO_T}$aros_host_autoheader" >&6; }
3837 { echo "$as_me:$LINENO: result: no" >&5
3838 echo "${ECHO_T}no" >&6; }
3842 test -n "$aros_host_autoheader" && break
3845 for ac_prog
in automake automake19
3847 # Extract the first word of "$ac_prog", so it can be a program name with args.
3848 set dummy
$ac_prog; ac_word
=$2
3849 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3851 if test "${ac_cv_prog_aros_host_automake+set}" = set; then
3852 echo $ECHO_N "(cached) $ECHO_C" >&6
3854 if test -n "$aros_host_automake"; then
3855 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
3857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3861 test -z "$as_dir" && as_dir
=.
3862 for ac_exec_ext
in '' $ac_executable_extensions; do
3863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3864 ac_cv_prog_aros_host_automake
="$ac_prog"
3865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3874 aros_host_automake
=$ac_cv_prog_aros_host_automake
3875 if test -n "$aros_host_automake"; then
3876 { echo "$as_me:$LINENO: result: $aros_host_automake" >&5
3877 echo "${ECHO_T}$aros_host_automake" >&6; }
3879 { echo "$as_me:$LINENO: result: no" >&5
3880 echo "${ECHO_T}no" >&6; }
3884 test -n "$aros_host_automake" && break
3888 case "$aros_host_cc" in
3890 aros_host_cc_pipe
="-pipe"
3893 aros_host_cc_pipe
=""
3896 aros_host_cc_pipe
=""
3900 aros_target_cc_includes
=""
3901 aros_target_cc_options
=""
3903 # This is the main host configuration section. It is where the host
3904 # can change the values of any variables it needs to change. We do
3905 # not look at anything that compiles to the target yet, we'll get
3910 aros_host_arch
="linux"
3911 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3914 aros_host_cpu
="i386"
3917 aros_host_cpu
="x86_64"
3920 aros_host_cpu
="m68k"
3926 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
3927 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
3928 aros_host_cpu
="$host_cpu"
3934 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
3935 aros_host_make
="gmake"
3936 aros_host_arch
="freebsd"
3937 aros_host_cpu
="i386"
3939 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
3944 aros_object_format
="elf_i386"
3948 aros_object_format
="elf_i386_fbsd"
3955 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3956 aros_host_arch
="darwin"
3959 aros_host_cpu
="i386"
3965 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
3966 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
3967 aros_host_cpu
="$host_cpu"
3971 aros_host_ldflags
="$aros_host_ldflags -liconv"
3976 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3977 aros_host_make
="gmake"
3978 aros_host_arch
="netbsd"
3981 aros_host_cpu
="i386"
3984 aros_host_cpu
="m68k"
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"
3992 aros_host_lib_suffix
=".0.0"
3996 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3997 aros_host_make
="gmake"
3998 aros_host_arch
="openbsd"
4001 aros_host_cpu
="i386"
4004 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4005 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4006 aros_host_cpu
="$host_cpu"
4012 aros_host_arch
="solaris"
4013 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4016 aros_host_cpu
="sparc"
4019 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4020 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4021 aros_host_cpu
="$host_cpu"
4027 aros_host_arch
="morphos"
4032 aros_host_arch
="amiga"
4037 TOUCH
="/gg/bin/touch"
4040 aros_host_cpu
="m68k"
4046 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4047 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4048 aros_host_cpu
="$host_cpu"
4054 aros_host_arch
="cygwin"
4055 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4058 aros_host_cpu
="i386"
4061 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4062 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4063 aros_host_cpu
="$host_cpu"
4068 { { echo "$as_me:$LINENO: error: Unsupported host architecture $host" >&5
4069 echo "$as_me: error: Unsupported host architecture $host" >&2;}
4070 { (exit 1); exit 1; }; }
4074 # Extract the first word of "ar", so it can be a program name with args.
4075 set dummy
ar; ac_word
=$2
4076 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4077 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4078 if test "${ac_cv_prog_aros_host_ar+set}" = set; then
4079 echo $ECHO_N "(cached) $ECHO_C" >&6
4081 if test -n "$aros_host_ar"; then
4082 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4088 test -z "$as_dir" && as_dir
=.
4089 for ac_exec_ext
in '' $ac_executable_extensions; do
4090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4091 ac_cv_prog_aros_host_ar
="ar cr"
4092 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4101 aros_host_ar
=$ac_cv_prog_aros_host_ar
4102 if test -n "$aros_host_ar"; then
4103 { echo "$as_me:$LINENO: result: $aros_host_ar" >&5
4104 echo "${ECHO_T}$aros_host_ar" >&6; }
4106 { echo "$as_me:$LINENO: result: no" >&5
4107 echo "${ECHO_T}no" >&6; }
4111 if test "$aros_host_ar" = ""; then
4112 { { echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
4113 echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
4114 { (exit 1); exit 1; }; }
4116 # Extract the first word of "ranlib", so it can be a program name with args.
4117 set dummy ranlib
; ac_word
=$2
4118 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4120 if test "${ac_cv_prog_aros_host_ranlib+set}" = set; then
4121 echo $ECHO_N "(cached) $ECHO_C" >&6
4123 if test -n "$aros_host_ranlib"; then
4124 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4130 test -z "$as_dir" && as_dir
=.
4131 for ac_exec_ext
in '' $ac_executable_extensions; do
4132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4133 ac_cv_prog_aros_host_ranlib
="ranlib "
4134 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4143 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4144 if test -n "$aros_host_ranlib"; then
4145 { echo "$as_me:$LINENO: result: $aros_host_ranlib" >&5
4146 echo "${ECHO_T}$aros_host_ranlib" >&6; }
4148 { echo "$as_me:$LINENO: result: no" >&5
4149 echo "${ECHO_T}no" >&6; }
4153 if test "$aros_host_ranlib" = ""; then
4154 { { echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
4155 echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
4156 { (exit 1); exit 1; }; }
4158 # Extract the first word of "strip", so it can be a program name with args.
4159 set dummy strip
; ac_word
=$2
4160 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4162 if test "${ac_cv_prog_aros_host_strip+set}" = set; then
4163 echo $ECHO_N "(cached) $ECHO_C" >&6
4165 if test -n "$aros_host_strip"; then
4166 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4172 test -z "$as_dir" && as_dir
=.
4173 for ac_exec_ext
in '' $ac_executable_extensions; do
4174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4175 ac_cv_prog_aros_host_strip
="strip "
4176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4185 aros_host_strip
=$ac_cv_prog_aros_host_strip
4186 if test -n "$aros_host_strip"; then
4187 { echo "$as_me:$LINENO: result: $aros_host_strip" >&5
4188 echo "${ECHO_T}$aros_host_strip" >&6; }
4190 { echo "$as_me:$LINENO: result: no" >&5
4191 echo "${ECHO_T}no" >&6; }
4195 if test "$aros_host_strip" = ""; then
4196 { { echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
4197 echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
4198 { (exit 1); exit 1; }; }
4201 # Extract the first word of "rm", so it can be a program name with args.
4202 set dummy
rm; 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_RM+set}" = set; then
4206 echo $ECHO_N "(cached) $ECHO_C" >&6
4208 if test -n "$RM"; then
4209 ac_cv_prog_RM
="$RM" # 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_RM
="rm -rf"
4219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4229 if test -n "$RM"; then
4230 { echo "$as_me:$LINENO: result: $RM" >&5
4231 echo "${ECHO_T}$RM" >&6; }
4233 { echo "$as_me:$LINENO: result: no" >&5
4234 echo "${ECHO_T}no" >&6; }
4238 if test "$RM" = ""; then
4239 { { echo "$as_me:$LINENO: error: rm is required to build AROS. Please install and run configure again." >&5
4240 echo "$as_me: error: rm is required to build AROS. Please install and run configure again." >&2;}
4241 { (exit 1); exit 1; }; }
4243 # Extract the first word of "cp", so it can be a program name with args.
4244 set dummy
cp; 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_CP+set}" = set; then
4248 echo $ECHO_N "(cached) $ECHO_C" >&6
4250 if test -n "$CP"; then
4251 ac_cv_prog_CP
="$CP" # 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
4261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4271 if test -n "$CP"; then
4272 { echo "$as_me:$LINENO: result: $CP" >&5
4273 echo "${ECHO_T}$CP" >&6; }
4275 { echo "$as_me:$LINENO: result: no" >&5
4276 echo "${ECHO_T}no" >&6; }
4280 if test "$CP" = ""; then
4281 { { echo "$as_me:$LINENO: error: cp is required to build AROS. Please install and run configure again." >&5
4282 echo "$as_me: error: cp is required to build AROS. Please install and run configure again." >&2;}
4283 { (exit 1); exit 1; }; }
4285 # Extract the first word of "mv", so it can be a program name with args.
4286 set dummy
mv; 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_MV+set}" = set; then
4290 echo $ECHO_N "(cached) $ECHO_C" >&6
4292 if test -n "$MV"; then
4293 ac_cv_prog_MV
="$MV" # 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
4303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4313 if test -n "$MV"; then
4314 { echo "$as_me:$LINENO: result: $MV" >&5
4315 echo "${ECHO_T}$MV" >&6; }
4317 { echo "$as_me:$LINENO: result: no" >&5
4318 echo "${ECHO_T}no" >&6; }
4322 if test "$MV" = ""; then
4323 { { echo "$as_me:$LINENO: error: mv is required to build AROS. Please install and run configure again." >&5
4324 echo "$as_me: error: mv is required to build AROS. Please install and run configure again." >&2;}
4325 { (exit 1); exit 1; }; }
4327 # Extract the first word of "echo", so it can be a program name with args.
4328 set dummy
echo; ac_word
=$2
4329 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4331 if test "${ac_cv_prog_ECHO+set}" = set; then
4332 echo $ECHO_N "(cached) $ECHO_C" >&6
4334 if test -n "$ECHO"; then
4335 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
4337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4341 test -z "$as_dir" && as_dir
=.
4342 for ac_exec_ext
in '' $ac_executable_extensions; do
4343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4344 ac_cv_prog_ECHO
="echo "
4345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4354 ECHO
=$ac_cv_prog_ECHO
4355 if test -n "$ECHO"; then
4356 { echo "$as_me:$LINENO: result: $ECHO" >&5
4357 echo "${ECHO_T}$ECHO" >&6; }
4359 { echo "$as_me:$LINENO: result: no" >&5
4360 echo "${ECHO_T}no" >&6; }
4364 if test "$ECHO" = ""; then
4365 { { echo "$as_me:$LINENO: error: echo is required to build AROS. Please install and run configure again." >&5
4366 echo "$as_me: error: echo is required to build AROS. Please install and run configure again." >&2;}
4367 { (exit 1); exit 1; }; }
4369 # Extract the first word of "mkdir", so it can be a program name with args.
4370 set dummy mkdir
; ac_word
=$2
4371 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4373 if test "${ac_cv_prog_MKDIR+set}" = set; then
4374 echo $ECHO_N "(cached) $ECHO_C" >&6
4376 if test -n "$MKDIR"; then
4377 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
4379 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4383 test -z "$as_dir" && as_dir
=.
4384 for ac_exec_ext
in '' $ac_executable_extensions; do
4385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4386 ac_cv_prog_MKDIR
="mkdir -p"
4387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4396 MKDIR
=$ac_cv_prog_MKDIR
4397 if test -n "$MKDIR"; then
4398 { echo "$as_me:$LINENO: result: $MKDIR" >&5
4399 echo "${ECHO_T}$MKDIR" >&6; }
4401 { echo "$as_me:$LINENO: result: no" >&5
4402 echo "${ECHO_T}no" >&6; }
4406 if test "$MKDIR" = ""; then
4407 { { echo "$as_me:$LINENO: error: mkdir is required to build AROS. Please install and run configure again." >&5
4408 echo "$as_me: error: mkdir is required to build AROS. Please install and run configure again." >&2;}
4409 { (exit 1); exit 1; }; }
4411 # Extract the first word of "touch", so it can be a program name with args.
4412 set dummy
touch; ac_word
=$2
4413 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4414 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4415 if test "${ac_cv_prog_TOUCH+set}" = set; then
4416 echo $ECHO_N "(cached) $ECHO_C" >&6
4418 if test -n "$TOUCH"; then
4419 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
4421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4425 test -z "$as_dir" && as_dir
=.
4426 for ac_exec_ext
in '' $ac_executable_extensions; do
4427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4428 ac_cv_prog_TOUCH
="touch "
4429 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4438 TOUCH
=$ac_cv_prog_TOUCH
4439 if test -n "$TOUCH"; then
4440 { echo "$as_me:$LINENO: result: $TOUCH" >&5
4441 echo "${ECHO_T}$TOUCH" >&6; }
4443 { echo "$as_me:$LINENO: result: no" >&5
4444 echo "${ECHO_T}no" >&6; }
4448 if test "$TOUCH" = ""; then
4449 { { echo "$as_me:$LINENO: error: touch is required to build AROS. Please install and run configure again." >&5
4450 echo "$as_me: error: touch is required to build AROS. Please install and run configure again." >&2;}
4451 { (exit 1); exit 1; }; }
4453 # Extract the first word of "sort", so it can be a program name with args.
4454 set dummy
sort; ac_word
=$2
4455 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4457 if test "${ac_cv_prog_SORT+set}" = set; then
4458 echo $ECHO_N "(cached) $ECHO_C" >&6
4460 if test -n "$SORT"; then
4461 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
4463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4467 test -z "$as_dir" && as_dir
=.
4468 for ac_exec_ext
in '' $ac_executable_extensions; do
4469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4470 ac_cv_prog_SORT
="sort "
4471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4480 SORT
=$ac_cv_prog_SORT
4481 if test -n "$SORT"; then
4482 { echo "$as_me:$LINENO: result: $SORT" >&5
4483 echo "${ECHO_T}$SORT" >&6; }
4485 { echo "$as_me:$LINENO: result: no" >&5
4486 echo "${ECHO_T}no" >&6; }
4490 if test "$SORT" = ""; then
4491 { { echo "$as_me:$LINENO: error: sort is required to build AROS. Please install and run configure again." >&5
4492 echo "$as_me: error: sort is required to build AROS. Please install and run configure again." >&2;}
4493 { (exit 1); exit 1; }; }
4495 # Extract the first word of "uniq", so it can be a program name with args.
4496 set dummy
uniq; ac_word
=$2
4497 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4499 if test "${ac_cv_prog_UNIQ+set}" = set; then
4500 echo $ECHO_N "(cached) $ECHO_C" >&6
4502 if test -n "$UNIQ"; then
4503 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
4505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4509 test -z "$as_dir" && as_dir
=.
4510 for ac_exec_ext
in '' $ac_executable_extensions; do
4511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4512 ac_cv_prog_UNIQ
="uniq "
4513 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4522 UNIQ
=$ac_cv_prog_UNIQ
4523 if test -n "$UNIQ"; then
4524 { echo "$as_me:$LINENO: result: $UNIQ" >&5
4525 echo "${ECHO_T}$UNIQ" >&6; }
4527 { echo "$as_me:$LINENO: result: no" >&5
4528 echo "${ECHO_T}no" >&6; }
4532 if test "$UNIQ" = ""; then
4533 { { echo "$as_me:$LINENO: error: uniq is required to build AROS. Please install and run configure again." >&5
4534 echo "$as_me: error: uniq is required to build AROS. Please install and run configure again." >&2;}
4535 { (exit 1); exit 1; }; }
4537 # Extract the first word of "true", so it can be a program name with args.
4538 set dummy true
; ac_word
=$2
4539 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4541 if test "${ac_cv_prog_NOP+set}" = set; then
4542 echo $ECHO_N "(cached) $ECHO_C" >&6
4544 if test -n "$NOP"; then
4545 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
4547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4551 test -z "$as_dir" && as_dir
=.
4552 for ac_exec_ext
in '' $ac_executable_extensions; do
4553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4554 ac_cv_prog_NOP
="true "
4555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4565 if test -n "$NOP"; then
4566 { echo "$as_me:$LINENO: result: $NOP" >&5
4567 echo "${ECHO_T}$NOP" >&6; }
4569 { echo "$as_me:$LINENO: result: no" >&5
4570 echo "${ECHO_T}no" >&6; }
4574 if test "$NOP" = ""; then
4575 { { echo "$as_me:$LINENO: error: true is required to build AROS. Please install and run configure again." >&5
4576 echo "$as_me: error: true is required to build AROS. Please install and run configure again." >&2;}
4577 { (exit 1); exit 1; }; }
4579 # Extract the first word of "cat", so it can be a program name with args.
4580 set dummy
cat; ac_word
=$2
4581 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4583 if test "${ac_cv_prog_CAT+set}" = set; then
4584 echo $ECHO_N "(cached) $ECHO_C" >&6
4586 if test -n "$CAT"; then
4587 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
4589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4593 test -z "$as_dir" && as_dir
=.
4594 for ac_exec_ext
in '' $ac_executable_extensions; do
4595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4596 ac_cv_prog_CAT
="cat "
4597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4607 if test -n "$CAT"; then
4608 { echo "$as_me:$LINENO: result: $CAT" >&5
4609 echo "${ECHO_T}$CAT" >&6; }
4611 { echo "$as_me:$LINENO: result: no" >&5
4612 echo "${ECHO_T}no" >&6; }
4616 if test "$CAT" = ""; then
4617 { { echo "$as_me:$LINENO: error: cat is required to build AROS. Please install and run configure again." >&5
4618 echo "$as_me: error: cat is required to build AROS. Please install and run configure again." >&2;}
4619 { (exit 1); exit 1; }; }
4621 # Extract the first word of "bison", so it can be a program name with args.
4622 set dummy bison
; ac_word
=$2
4623 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4624 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4625 if test "${ac_cv_prog_BISON+set}" = set; then
4626 echo $ECHO_N "(cached) $ECHO_C" >&6
4628 if test -n "$BISON"; then
4629 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4635 test -z "$as_dir" && as_dir
=.
4636 for ac_exec_ext
in '' $ac_executable_extensions; do
4637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4638 ac_cv_prog_BISON
="bison "
4639 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4648 BISON
=$ac_cv_prog_BISON
4649 if test -n "$BISON"; then
4650 { echo "$as_me:$LINENO: result: $BISON" >&5
4651 echo "${ECHO_T}$BISON" >&6; }
4653 { echo "$as_me:$LINENO: result: no" >&5
4654 echo "${ECHO_T}no" >&6; }
4658 if test "$BISON" = ""; then
4659 { { echo "$as_me:$LINENO: error: bison is required to build AROS. Please install and run configure again." >&5
4660 echo "$as_me: error: bison is required to build AROS. Please install and run configure again." >&2;}
4661 { (exit 1); exit 1; }; }
4663 # Extract the first word of "flex", so it can be a program name with args.
4664 set dummy flex
; ac_word
=$2
4665 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4667 if test "${ac_cv_prog_FLEX+set}" = set; then
4668 echo $ECHO_N "(cached) $ECHO_C" >&6
4670 if test -n "$FLEX"; then
4671 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4677 test -z "$as_dir" && as_dir
=.
4678 for ac_exec_ext
in '' $ac_executable_extensions; do
4679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4680 ac_cv_prog_FLEX
="flex "
4681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4690 FLEX
=$ac_cv_prog_FLEX
4691 if test -n "$FLEX"; then
4692 { echo "$as_me:$LINENO: result: $FLEX" >&5
4693 echo "${ECHO_T}$FLEX" >&6; }
4695 { echo "$as_me:$LINENO: result: no" >&5
4696 echo "${ECHO_T}no" >&6; }
4700 if test "$FLEX" = ""; then
4701 { { echo "$as_me:$LINENO: error: flex is required to build AROS. Please install and run configure again." >&5
4702 echo "$as_me: error: flex is required to build AROS. Please install and run configure again." >&2;}
4703 { (exit 1); exit 1; }; }
4705 # Extract the first word of "pngtopnm", so it can be a program name with args.
4706 set dummy pngtopnm
; ac_word
=$2
4707 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4709 if test "${ac_cv_prog_PNGTOPNM+set}" = set; then
4710 echo $ECHO_N "(cached) $ECHO_C" >&6
4712 if test -n "$PNGTOPNM"; then
4713 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
4715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4719 test -z "$as_dir" && as_dir
=.
4720 for ac_exec_ext
in '' $ac_executable_extensions; do
4721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4722 ac_cv_prog_PNGTOPNM
="pngtopnm "
4723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4732 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
4733 if test -n "$PNGTOPNM"; then
4734 { echo "$as_me:$LINENO: result: $PNGTOPNM" >&5
4735 echo "${ECHO_T}$PNGTOPNM" >&6; }
4737 { echo "$as_me:$LINENO: result: no" >&5
4738 echo "${ECHO_T}no" >&6; }
4742 if test "$PNGTOPNM" = ""; then
4743 { { echo "$as_me:$LINENO: error: pngtopnm is required to build AROS. Please install and run configure again." >&5
4744 echo "$as_me: error: pngtopnm is required to build AROS. Please install and run configure again." >&2;}
4745 { (exit 1); exit 1; }; }
4747 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
4748 set dummy ppmtoilbm
; ac_word
=$2
4749 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4751 if test "${ac_cv_prog_PPMTOILBM+set}" = set; then
4752 echo $ECHO_N "(cached) $ECHO_C" >&6
4754 if test -n "$PPMTOILBM"; then
4755 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
4757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4761 test -z "$as_dir" && as_dir
=.
4762 for ac_exec_ext
in '' $ac_executable_extensions; do
4763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4764 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
4765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4774 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
4775 if test -n "$PPMTOILBM"; then
4776 { echo "$as_me:$LINENO: result: $PPMTOILBM" >&5
4777 echo "${ECHO_T}$PPMTOILBM" >&6; }
4779 { echo "$as_me:$LINENO: result: no" >&5
4780 echo "${ECHO_T}no" >&6; }
4784 if test "$PPMTOILBM" = ""; then
4785 { { echo "$as_me:$LINENO: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&5
4786 echo "$as_me: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&2;}
4787 { (exit 1); exit 1; }; }
4789 # Extract the first word of "sed", so it can be a program name with args.
4790 set dummy
sed; ac_word
=$2
4791 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4793 if test "${ac_cv_prog_SED+set}" = set; then
4794 echo $ECHO_N "(cached) $ECHO_C" >&6
4796 if test -n "$SED"; then
4797 ac_cv_prog_SED
="$SED" # Let the user override the test.
4799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4803 test -z "$as_dir" && as_dir
=.
4804 for ac_exec_ext
in '' $ac_executable_extensions; do
4805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4806 ac_cv_prog_SED
="sed "
4807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4817 if test -n "$SED"; then
4818 { echo "$as_me:$LINENO: result: $SED" >&5
4819 echo "${ECHO_T}$SED" >&6; }
4821 { echo "$as_me:$LINENO: result: no" >&5
4822 echo "${ECHO_T}no" >&6; }
4826 if test "$SED" = ""; then
4827 { { echo "$as_me:$LINENO: error: sed is required to build AROS. Please install and run configure again." >&5
4828 echo "$as_me: error: sed is required to build AROS. Please install and run configure again." >&2;}
4829 { (exit 1); exit 1; }; }
4831 # Extract the first word of "chmod", so it can be a program name with args.
4832 set dummy
chmod; ac_word
=$2
4833 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4835 if test "${ac_cv_prog_CHMOD+set}" = set; then
4836 echo $ECHO_N "(cached) $ECHO_C" >&6
4838 if test -n "$CHMOD"; then
4839 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
4841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4845 test -z "$as_dir" && as_dir
=.
4846 for ac_exec_ext
in '' $ac_executable_extensions; do
4847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4848 ac_cv_prog_CHMOD
="chmod "
4849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4858 CHMOD
=$ac_cv_prog_CHMOD
4859 if test -n "$CHMOD"; then
4860 { echo "$as_me:$LINENO: result: $CHMOD" >&5
4861 echo "${ECHO_T}$CHMOD" >&6; }
4863 { echo "$as_me:$LINENO: result: no" >&5
4864 echo "${ECHO_T}no" >&6; }
4868 if test "$CHMOD" = ""; then
4869 { { echo "$as_me:$LINENO: error: chmod is required to build AROS. Please install and run configure again." >&5
4870 echo "$as_me: error: chmod is required to build AROS. Please install and run configure again." >&2;}
4871 { (exit 1); exit 1; }; }
4878 if test -n "$PYTHON"; then
4879 # If the user set $PYTHON, use it and don't search something else.
4880 { echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.2.1" >&5
4881 echo $ECHO_N "checking whether $PYTHON version >= 2.2.1... $ECHO_C" >&6; }
4882 prog
="import sys, string
4883 # split strings by '.' and convert to numeric. Append some zeros
4884 # because we need at least 4 digits for the hex conversion.
4885 minver = map(int, string.split('2.2.1', '.')) + [0, 0, 0]
4887 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
4888 sys.exit(sys.hexversion < minverhex)"
4889 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
4890 ($PYTHON -c "$prog") >&5 2>&5
4892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4893 (exit $ac_status); }; then
4894 { echo "$as_me:$LINENO: result: yes" >&5
4895 echo "${ECHO_T}yes" >&6; }
4897 { { echo "$as_me:$LINENO: error: too old" >&5
4898 echo "$as_me: error: too old" >&2;}
4899 { (exit 1); exit 1; }; }
4902 am_display_PYTHON
=$PYTHON
4904 # Otherwise, try each interpreter until we find one that satisfies
4906 { echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.2.1" >&5
4907 echo $ECHO_N "checking for a Python interpreter with version >= 2.2.1... $ECHO_C" >&6; }
4908 if test "${am_cv_pathless_PYTHON+set}" = set; then
4909 echo $ECHO_N "(cached) $ECHO_C" >&6
4912 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
4913 test "$am_cv_pathless_PYTHON" = none
&& break
4914 prog
="import sys, string
4915 # split strings by '.' and convert to numeric. Append some zeros
4916 # because we need at least 4 digits for the hex conversion.
4917 minver = map(int, string.split('2.2.1', '.')) + [0, 0, 0]
4919 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
4920 sys.exit(sys.hexversion < minverhex)"
4921 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
4922 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
4924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4925 (exit $ac_status); }; then
4931 { echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
4932 echo "${ECHO_T}$am_cv_pathless_PYTHON" >&6; }
4933 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
4934 if test "$am_cv_pathless_PYTHON" = none
; then
4937 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
4938 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
4939 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4941 if test "${ac_cv_path_PYTHON+set}" = set; then
4942 echo $ECHO_N "(cached) $ECHO_C" >&6
4946 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
4949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4953 test -z "$as_dir" && as_dir
=.
4954 for ac_exec_ext
in '' $ac_executable_extensions; do
4955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4956 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
4957 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4967 PYTHON
=$ac_cv_path_PYTHON
4968 if test -n "$PYTHON"; then
4969 { echo "$as_me:$LINENO: result: $PYTHON" >&5
4970 echo "${ECHO_T}$PYTHON" >&6; }
4972 { echo "$as_me:$LINENO: result: no" >&5
4973 echo "${ECHO_T}no" >&6; }
4978 am_display_PYTHON
=$am_cv_pathless_PYTHON
4982 if test "$PYTHON" = :; then
4983 { { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
4984 echo "$as_me: error: no suitable Python interpreter found" >&2;}
4985 { (exit 1); exit 1; }; }
4989 { echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
4990 echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; }
4991 if test "${am_cv_python_version+set}" = set; then
4992 echo $ECHO_N "(cached) $ECHO_C" >&6
4994 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
4996 { echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
4997 echo "${ECHO_T}$am_cv_python_version" >&6; }
4998 PYTHON_VERSION
=$am_cv_python_version
5002 PYTHON_PREFIX
='${prefix}'
5004 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5008 { echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
5009 echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; }
5010 if test "${am_cv_python_platform+set}" = set; then
5011 echo $ECHO_N "(cached) $ECHO_C" >&6
5013 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
5015 { echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
5016 echo "${ECHO_T}$am_cv_python_platform" >&6; }
5017 PYTHON_PLATFORM
=$am_cv_python_platform
5022 { echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
5023 echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6; }
5024 if test "${am_cv_python_pythondir+set}" = set; then
5025 echo $ECHO_N "(cached) $ECHO_C" >&6
5027 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5028 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5030 { echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
5031 echo "${ECHO_T}$am_cv_python_pythondir" >&6; }
5032 pythondir
=$am_cv_python_pythondir
5036 pkgpythondir
=\
${pythondir}/$PACKAGE
5039 { echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
5040 echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6; }
5041 if test "${am_cv_python_pyexecdir+set}" = set; then
5042 echo $ECHO_N "(cached) $ECHO_C" >&6
5044 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5045 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5047 { echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
5048 echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; }
5049 pyexecdir
=$am_cv_python_pyexecdir
5053 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5071 # Check for some includes for the X11 HIDD and the kernel
5074 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5075 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5076 if test "${ac_cv_path_GREP+set}" = set; then
5077 echo $ECHO_N "(cached) $ECHO_C" >&6
5079 # Extract the first word of "grep ggrep" to use in msg output
5080 if test -z "$GREP"; then
5081 set dummy
grep ggrep
; ac_prog_name
=$2
5082 if test "${ac_cv_path_GREP+set}" = set; then
5083 echo $ECHO_N "(cached) $ECHO_C" >&6
5085 ac_path_GREP_found
=false
5086 # Loop through the user's path and test for each of PROGNAME-LIST
5087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5088 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5091 test -z "$as_dir" && as_dir
=.
5092 for ac_prog
in grep ggrep
; do
5093 for ac_exec_ext
in '' $ac_executable_extensions; do
5094 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5095 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5096 # Check for GNU ac_path_GREP and select it if it is found.
5097 # Check for GNU $ac_path_GREP
5098 case `"$ac_path_GREP" --version 2>&1` in
5100 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5103 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5106 cat "conftest.in" "conftest.in" >"conftest.tmp"
5107 mv "conftest.tmp" "conftest.in"
5108 cp "conftest.in" "conftest.nl"
5109 echo 'GREP' >> "conftest.nl"
5110 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5111 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5112 ac_count
=`expr $ac_count + 1`
5113 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5114 # Best one so far, save it but keep looking for a better one
5115 ac_cv_path_GREP
="$ac_path_GREP"
5116 ac_path_GREP_max
=$ac_count
5118 # 10*(2^10) chars as input seems more than enough
5119 test $ac_count -gt 10 && break
5121 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5125 $ac_path_GREP_found && break 3
5135 GREP
="$ac_cv_path_GREP"
5136 if test -z "$GREP"; then
5137 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5138 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5139 { (exit 1); exit 1; }; }
5143 ac_cv_path_GREP
=$GREP
5148 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5149 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5150 GREP
="$ac_cv_path_GREP"
5153 { echo "$as_me:$LINENO: checking for egrep" >&5
5154 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5155 if test "${ac_cv_path_EGREP+set}" = set; then
5156 echo $ECHO_N "(cached) $ECHO_C" >&6
5158 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5159 then ac_cv_path_EGREP
="$GREP -E"
5161 # Extract the first word of "egrep" to use in msg output
5162 if test -z "$EGREP"; then
5163 set dummy
egrep; ac_prog_name
=$2
5164 if test "${ac_cv_path_EGREP+set}" = set; then
5165 echo $ECHO_N "(cached) $ECHO_C" >&6
5167 ac_path_EGREP_found
=false
5168 # Loop through the user's path and test for each of PROGNAME-LIST
5169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5170 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5173 test -z "$as_dir" && as_dir
=.
5174 for ac_prog
in egrep; do
5175 for ac_exec_ext
in '' $ac_executable_extensions; do
5176 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5177 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5178 # Check for GNU ac_path_EGREP and select it if it is found.
5179 # Check for GNU $ac_path_EGREP
5180 case `"$ac_path_EGREP" --version 2>&1` in
5182 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5185 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5188 cat "conftest.in" "conftest.in" >"conftest.tmp"
5189 mv "conftest.tmp" "conftest.in"
5190 cp "conftest.in" "conftest.nl"
5191 echo 'EGREP' >> "conftest.nl"
5192 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5193 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5194 ac_count
=`expr $ac_count + 1`
5195 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5196 # Best one so far, save it but keep looking for a better one
5197 ac_cv_path_EGREP
="$ac_path_EGREP"
5198 ac_path_EGREP_max
=$ac_count
5200 # 10*(2^10) chars as input seems more than enough
5201 test $ac_count -gt 10 && break
5203 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5207 $ac_path_EGREP_found && break 3
5217 EGREP
="$ac_cv_path_EGREP"
5218 if test -z "$EGREP"; then
5219 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5220 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5221 { (exit 1); exit 1; }; }
5225 ac_cv_path_EGREP
=$EGREP
5231 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5232 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5233 EGREP
="$ac_cv_path_EGREP"
5236 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5237 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5238 if test "${ac_cv_header_stdc+set}" = set; then
5239 echo $ECHO_N "(cached) $ECHO_C" >&6
5241 cat >conftest.
$ac_ext <<_ACEOF
5244 cat confdefs.h
>>conftest.
$ac_ext
5245 cat >>conftest.
$ac_ext <<_ACEOF
5246 /* end confdefs.h. */
5260 rm -f conftest.
$ac_objext
5261 if { (ac_try
="$ac_compile"
5263 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5264 *) ac_try_echo=$ac_try;;
5266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5267 (eval "$ac_compile") 2>conftest.er1
5269 grep -v '^ *+' conftest.er1 >conftest.err
5271 cat conftest.err >&5
5272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5273 (exit $ac_status); } && {
5274 test -z "$ac_c_werror_flag" ||
5275 test ! -s conftest.err
5276 } && test -s conftest.$ac_objext; then
5277 ac_cv_header_stdc=yes
5279 echo "$as_me: failed program was:" >&5
5280 sed 's/^/| /' conftest.$ac_ext >&5
5282 ac_cv_header_stdc=no
5285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5287 if test $ac_cv_header_stdc = yes; then
5288 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5289 cat >conftest.$ac_ext <<_ACEOF
5292 cat confdefs.h >>conftest.$ac_ext
5293 cat >>conftest.$ac_ext <<_ACEOF
5294 /* end confdefs.h. */
5298 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5299 $EGREP "memchr" >/dev/null 2>&1; then
5302 ac_cv_header_stdc=no
5308 if test $ac_cv_header_stdc = yes; then
5309 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5310 cat >conftest.$ac_ext <<_ACEOF
5313 cat confdefs.h >>conftest.$ac_ext
5314 cat >>conftest.$ac_ext <<_ACEOF
5315 /* end confdefs.h. */
5319 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5320 $EGREP "free" >/dev/null 2>&1; then
5323 ac_cv_header_stdc=no
5329 if test $ac_cv_header_stdc = yes; then
5330 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5331 if test "$cross_compiling" = yes; then
5334 cat >conftest.$ac_ext <<_ACEOF
5337 cat confdefs.h >>conftest.$ac_ext
5338 cat >>conftest.$ac_ext <<_ACEOF
5339 /* end confdefs.h. */
5342 #if ((' ' & 0x0FF) == 0x020)
5343 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5344 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5346 # define ISLOWER(c) \
5347 (('a' <= (c) && (c) <= 'i') \
5348 || ('j' <= (c) && (c) <= 'r') \
5349 || ('s' <= (c) && (c) <= 'z'))
5350 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5353 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5358 for (i = 0; i < 256; i++)
5359 if (XOR (islower (i), ISLOWER (i))
5360 || toupper (i) != TOUPPER (i))
5365 rm -f conftest$ac_exeext
5366 if { (ac_try="$ac_link"
5368 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5369 *) ac_try_echo
=$ac_try;;
5371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5372 (eval "$ac_link") 2>&5
5374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5375 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5376 { (case "(($ac_try" in
5377 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5378 *) ac_try_echo=$ac_try;;
5380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5381 (eval "$ac_try") 2>&5
5383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5384 (exit $ac_status); }; }; then
5387 echo "$as_me: program exited with status $ac_status" >&5
5388 echo "$as_me: failed program was:" >&5
5389 sed 's/^/| /' conftest.$ac_ext >&5
5392 ac_cv_header_stdc=no
5394 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5400 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5401 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5402 if test $ac_cv_header_stdc = yes; then
5404 cat >>confdefs.h <<\_ACEOF
5405 #define STDC_HEADERS 1
5410 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5420 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5421 inttypes.h stdint.h unistd.h
5423 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5424 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5425 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5426 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5427 echo $ECHO_N "(cached) $ECHO_C" >&6
5429 cat >conftest.$ac_ext <<_ACEOF
5432 cat confdefs.h >>conftest.$ac_ext
5433 cat >>conftest.$ac_ext <<_ACEOF
5434 /* end confdefs.h. */
5435 $ac_includes_default
5437 #include <$ac_header>
5439 rm -f conftest.$ac_objext
5440 if { (ac_try="$ac_compile"
5442 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5443 *) ac_try_echo
=$ac_try;;
5445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5446 (eval "$ac_compile") 2>conftest.er1
5448 grep -v '^ *+' conftest.er1
>conftest.err
5450 cat conftest.err
>&5
5451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5452 (exit $ac_status); } && {
5453 test -z "$ac_c_werror_flag" ||
5454 test ! -s conftest.err
5455 } && test -s conftest.
$ac_objext; then
5456 eval "$as_ac_Header=yes"
5458 echo "$as_me: failed program was:" >&5
5459 sed 's/^/| /' conftest.
$ac_ext >&5
5461 eval "$as_ac_Header=no"
5464 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5466 ac_res
=`eval echo '${'$as_ac_Header'}'`
5467 { echo "$as_me:$LINENO: result: $ac_res" >&5
5468 echo "${ECHO_T}$ac_res" >&6; }
5469 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5470 cat >>confdefs.h
<<_ACEOF
5471 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5488 for ac_header
in sys
/ipc.h sys
/shm.h \
5489 sys
/mmap.h sys
/mman.h sysexits.h \
5490 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
5493 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5494 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5495 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5497 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5498 echo $ECHO_N "(cached) $ECHO_C" >&6
5500 ac_res
=`eval echo '${'$as_ac_Header'}'`
5501 { echo "$as_me:$LINENO: result: $ac_res" >&5
5502 echo "${ECHO_T}$ac_res" >&6; }
5504 # Is the header compilable?
5505 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5506 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5507 cat >conftest.
$ac_ext <<_ACEOF
5510 cat confdefs.h
>>conftest.
$ac_ext
5511 cat >>conftest.
$ac_ext <<_ACEOF
5512 /* end confdefs.h. */
5513 $ac_includes_default
5514 #include <$ac_header>
5516 rm -f conftest.
$ac_objext
5517 if { (ac_try
="$ac_compile"
5519 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5520 *) ac_try_echo=$ac_try;;
5522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5523 (eval "$ac_compile") 2>conftest.er1
5525 grep -v '^ *+' conftest.er1 >conftest.err
5527 cat conftest.err >&5
5528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5529 (exit $ac_status); } && {
5530 test -z "$ac_c_werror_flag" ||
5531 test ! -s conftest.err
5532 } && test -s conftest.$ac_objext; then
5533 ac_header_compiler=yes
5535 echo "$as_me: failed program was:" >&5
5536 sed 's/^/| /' conftest.$ac_ext >&5
5538 ac_header_compiler=no
5541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5542 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5543 echo "${ECHO_T}$ac_header_compiler" >&6; }
5545 # Is the header present?
5546 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5547 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5548 cat >conftest.$ac_ext <<_ACEOF
5551 cat confdefs.h >>conftest.$ac_ext
5552 cat >>conftest.$ac_ext <<_ACEOF
5553 /* end confdefs.h. */
5554 #include <$ac_header>
5556 if { (ac_try="$ac_cpp conftest.$ac_ext"
5558 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5559 *) ac_try_echo
=$ac_try;;
5561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5562 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5564 grep -v '^ *+' conftest.er1
>conftest.err
5566 cat conftest.err
>&5
5567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5568 (exit $ac_status); } >/dev
/null
&& {
5569 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5570 test ! -s conftest.err
5572 ac_header_preproc
=yes
5574 echo "$as_me: failed program was:" >&5
5575 sed 's/^/| /' conftest.
$ac_ext >&5
5577 ac_header_preproc
=no
5580 rm -f conftest.err conftest.
$ac_ext
5581 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5582 echo "${ECHO_T}$ac_header_preproc" >&6; }
5584 # So? What about this header?
5585 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5587 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5588 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5589 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5590 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5591 ac_header_preproc
=yes
5594 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5595 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5596 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5597 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5598 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5599 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5600 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5601 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5602 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5603 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5604 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5605 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5609 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5611 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5612 echo $ECHO_N "(cached) $ECHO_C" >&6
5614 eval "$as_ac_Header=\$ac_header_preproc"
5616 ac_res
=`eval echo '${'$as_ac_Header'}'`
5617 { echo "$as_me:$LINENO: result: $ac_res" >&5
5618 echo "${ECHO_T}$ac_res" >&6; }
5621 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5622 cat >>confdefs.h
<<_ACEOF
5623 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5632 for ac_header
in sys
/mount.h
5634 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5635 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5636 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5637 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5638 echo $ECHO_N "(cached) $ECHO_C" >&6
5640 cat >conftest.
$ac_ext <<_ACEOF
5643 cat confdefs.h
>>conftest.
$ac_ext
5644 cat >>conftest.
$ac_ext <<_ACEOF
5645 /* end confdefs.h. */
5646 #include <sys/param.h>
5648 #include <$ac_header>
5650 rm -f conftest.
$ac_objext
5651 if { (ac_try
="$ac_compile"
5653 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5654 *) ac_try_echo=$ac_try;;
5656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5657 (eval "$ac_compile") 2>conftest.er1
5659 grep -v '^ *+' conftest.er1 >conftest.err
5661 cat conftest.err >&5
5662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5663 (exit $ac_status); } && {
5664 test -z "$ac_c_werror_flag" ||
5665 test ! -s conftest.err
5666 } && test -s conftest.$ac_objext; then
5667 eval "$as_ac_Header=yes"
5669 echo "$as_me: failed program was:" >&5
5670 sed 's/^/| /' conftest.$ac_ext >&5
5672 eval "$as_ac_Header=no"
5675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5677 ac_res=`eval echo '${'$as_ac_Header'}'`
5678 { echo "$as_me:$LINENO: result: $ac_res" >&5
5679 echo "${ECHO_T}$ac_res" >&6; }
5680 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5681 cat >>confdefs.h <<_ACEOF
5682 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5696 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
5697 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
5698 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
5699 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
5700 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5701 echo $ECHO_N "(cached) $ECHO_C" >&6
5703 cat >conftest.$ac_ext <<_ACEOF
5706 cat confdefs.h >>conftest.$ac_ext
5707 cat >>conftest.$ac_ext <<_ACEOF
5708 /* end confdefs.h. */
5709 #include <sys/types.h>
5721 rm -f conftest.$ac_objext
5722 if { (ac_try="$ac_compile"
5724 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5725 *) ac_try_echo
=$ac_try;;
5727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5728 (eval "$ac_compile") 2>conftest.er1
5730 grep -v '^ *+' conftest.er1
>conftest.err
5732 cat conftest.err
>&5
5733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5734 (exit $ac_status); } && {
5735 test -z "$ac_c_werror_flag" ||
5736 test ! -s conftest.err
5737 } && test -s conftest.
$ac_objext; then
5738 eval "$as_ac_Header=yes"
5740 echo "$as_me: failed program was:" >&5
5741 sed 's/^/| /' conftest.
$ac_ext >&5
5743 eval "$as_ac_Header=no"
5746 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5748 ac_res
=`eval echo '${'$as_ac_Header'}'`
5749 { echo "$as_me:$LINENO: result: $ac_res" >&5
5750 echo "${ECHO_T}$ac_res" >&6; }
5751 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5752 cat >>confdefs.h
<<_ACEOF
5753 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5756 ac_header_dirent
=$ac_hdr; break
5760 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5761 if test $ac_header_dirent = dirent.h
; then
5762 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
5763 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
5764 if test "${ac_cv_search_opendir+set}" = set; then
5765 echo $ECHO_N "(cached) $ECHO_C" >&6
5767 ac_func_search_save_LIBS
=$LIBS
5768 cat >conftest.
$ac_ext <<_ACEOF
5771 cat confdefs.h
>>conftest.
$ac_ext
5772 cat >>conftest.
$ac_ext <<_ACEOF
5773 /* end confdefs.h. */
5775 /* Override any GCC internal prototype to avoid an error.
5776 Use char because int might match the return type of a GCC
5777 builtin and then its argument prototype would still apply. */
5790 for ac_lib
in '' dir
; do
5791 if test -z "$ac_lib"; then
5792 ac_res
="none required"
5795 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5797 rm -f conftest.
$ac_objext conftest
$ac_exeext
5798 if { (ac_try
="$ac_link"
5800 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5801 *) ac_try_echo=$ac_try;;
5803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5804 (eval "$ac_link") 2>conftest.er1
5806 grep -v '^ *+' conftest.er1 >conftest.err
5808 cat conftest.err >&5
5809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5810 (exit $ac_status); } && {
5811 test -z "$ac_c_werror_flag" ||
5812 test ! -s conftest.err
5813 } && test -s conftest$ac_exeext &&
5814 $as_test_x conftest$ac_exeext; then
5815 ac_cv_search_opendir=$ac_res
5817 echo "$as_me: failed program was:" >&5
5818 sed 's/^/| /' conftest.$ac_ext >&5
5823 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5825 if test "${ac_cv_search_opendir+set}" = set; then
5829 if test "${ac_cv_search_opendir+set}" = set; then
5832 ac_cv_search_opendir=no
5835 LIBS=$ac_func_search_save_LIBS
5837 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5838 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
5839 ac_res=$ac_cv_search_opendir
5840 if test "$ac_res" != no; then
5841 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5846 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
5847 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
5848 if test "${ac_cv_search_opendir+set}" = set; then
5849 echo $ECHO_N "(cached) $ECHO_C" >&6
5851 ac_func_search_save_LIBS=$LIBS
5852 cat >conftest.$ac_ext <<_ACEOF
5855 cat confdefs.h >>conftest.$ac_ext
5856 cat >>conftest.$ac_ext <<_ACEOF
5857 /* end confdefs.h. */
5859 /* Override any GCC internal prototype to avoid an error.
5860 Use char because int might match the return type of a GCC
5861 builtin and then its argument prototype would still apply. */
5874 for ac_lib in '' x; do
5875 if test -z "$ac_lib"; then
5876 ac_res="none required"
5879 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5881 rm -f conftest.$ac_objext conftest$ac_exeext
5882 if { (ac_try="$ac_link"
5884 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5885 *) ac_try_echo
=$ac_try;;
5887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5888 (eval "$ac_link") 2>conftest.er1
5890 grep -v '^ *+' conftest.er1
>conftest.err
5892 cat conftest.err
>&5
5893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5894 (exit $ac_status); } && {
5895 test -z "$ac_c_werror_flag" ||
5896 test ! -s conftest.err
5897 } && test -s conftest
$ac_exeext &&
5898 $as_test_x conftest
$ac_exeext; then
5899 ac_cv_search_opendir
=$ac_res
5901 echo "$as_me: failed program was:" >&5
5902 sed 's/^/| /' conftest.
$ac_ext >&5
5907 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5909 if test "${ac_cv_search_opendir+set}" = set; then
5913 if test "${ac_cv_search_opendir+set}" = set; then
5916 ac_cv_search_opendir
=no
5919 LIBS
=$ac_func_search_save_LIBS
5921 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5922 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
5923 ac_res
=$ac_cv_search_opendir
5924 if test "$ac_res" != no
; then
5925 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5931 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
5932 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
5933 if test "${ac_cv_header_stat_broken+set}" = set; then
5934 echo $ECHO_N "(cached) $ECHO_C" >&6
5936 cat >conftest.
$ac_ext <<_ACEOF
5939 cat confdefs.h
>>conftest.
$ac_ext
5940 cat >>conftest.
$ac_ext <<_ACEOF
5941 /* end confdefs.h. */
5942 #include <sys/types.h>
5943 #include <sys/stat.h>
5945 #if defined S_ISBLK && defined S_IFDIR
5946 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5949 #if defined S_ISBLK && defined S_IFCHR
5950 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5953 #if defined S_ISLNK && defined S_IFREG
5954 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5957 #if defined S_ISSOCK && defined S_IFREG
5958 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5962 rm -f conftest.
$ac_objext
5963 if { (ac_try
="$ac_compile"
5965 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5966 *) ac_try_echo=$ac_try;;
5968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5969 (eval "$ac_compile") 2>conftest.er1
5971 grep -v '^ *+' conftest.er1 >conftest.err
5973 cat conftest.err >&5
5974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5975 (exit $ac_status); } && {
5976 test -z "$ac_c_werror_flag" ||
5977 test ! -s conftest.err
5978 } && test -s conftest.$ac_objext; then
5979 ac_cv_header_stat_broken=no
5981 echo "$as_me: failed program was:" >&5
5982 sed 's/^/| /' conftest.$ac_ext >&5
5984 ac_cv_header_stat_broken=yes
5987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5989 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
5990 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
5991 if test $ac_cv_header_stat_broken = yes; then
5993 cat >>confdefs.h <<\_ACEOF
5994 #define STAT_MACROS_BROKEN 1
5999 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6000 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6001 if test "${ac_cv_header_stdc+set}" = set; then
6002 echo $ECHO_N "(cached) $ECHO_C" >&6
6004 cat >conftest.$ac_ext <<_ACEOF
6007 cat confdefs.h >>conftest.$ac_ext
6008 cat >>conftest.$ac_ext <<_ACEOF
6009 /* end confdefs.h. */
6023 rm -f conftest.$ac_objext
6024 if { (ac_try="$ac_compile"
6026 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6027 *) ac_try_echo
=$ac_try;;
6029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6030 (eval "$ac_compile") 2>conftest.er1
6032 grep -v '^ *+' conftest.er1
>conftest.err
6034 cat conftest.err
>&5
6035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6036 (exit $ac_status); } && {
6037 test -z "$ac_c_werror_flag" ||
6038 test ! -s conftest.err
6039 } && test -s conftest.
$ac_objext; then
6040 ac_cv_header_stdc
=yes
6042 echo "$as_me: failed program was:" >&5
6043 sed 's/^/| /' conftest.
$ac_ext >&5
6045 ac_cv_header_stdc
=no
6048 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6050 if test $ac_cv_header_stdc = yes; then
6051 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6052 cat >conftest.
$ac_ext <<_ACEOF
6055 cat confdefs.h
>>conftest.
$ac_ext
6056 cat >>conftest.
$ac_ext <<_ACEOF
6057 /* end confdefs.h. */
6061 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6062 $EGREP "memchr" >/dev
/null
2>&1; then
6065 ac_cv_header_stdc
=no
6071 if test $ac_cv_header_stdc = yes; then
6072 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6073 cat >conftest.
$ac_ext <<_ACEOF
6076 cat confdefs.h
>>conftest.
$ac_ext
6077 cat >>conftest.
$ac_ext <<_ACEOF
6078 /* end confdefs.h. */
6082 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6083 $EGREP "free" >/dev
/null
2>&1; then
6086 ac_cv_header_stdc
=no
6092 if test $ac_cv_header_stdc = yes; then
6093 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6094 if test "$cross_compiling" = yes; then
6097 cat >conftest.
$ac_ext <<_ACEOF
6100 cat confdefs.h
>>conftest.
$ac_ext
6101 cat >>conftest.
$ac_ext <<_ACEOF
6102 /* end confdefs.h. */
6105 #if ((' ' & 0x0FF) == 0x020)
6106 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6107 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6109 # define ISLOWER(c) \
6110 (('a' <= (c) && (c) <= 'i') \
6111 || ('j' <= (c) && (c) <= 'r') \
6112 || ('s' <= (c) && (c) <= 'z'))
6113 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6116 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6121 for (i = 0; i < 256; i++)
6122 if (XOR (islower (i), ISLOWER (i))
6123 || toupper (i) != TOUPPER (i))
6128 rm -f conftest
$ac_exeext
6129 if { (ac_try
="$ac_link"
6131 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6132 *) ac_try_echo=$ac_try;;
6134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6135 (eval "$ac_link") 2>&5
6137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6138 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6139 { (case "(($ac_try" in
6140 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6141 *) ac_try_echo
=$ac_try;;
6143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6144 (eval "$ac_try") 2>&5
6146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6147 (exit $ac_status); }; }; then
6150 echo "$as_me: program exited with status $ac_status" >&5
6151 echo "$as_me: failed program was:" >&5
6152 sed 's/^/| /' conftest.
$ac_ext >&5
6155 ac_cv_header_stdc
=no
6157 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6163 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6164 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6165 if test $ac_cv_header_stdc = yes; then
6167 cat >>confdefs.h
<<\_ACEOF
6168 #define STDC_HEADERS 1
6173 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
6174 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
6175 if test "${ac_cv_header_sys_wait_h+set}" = set; then
6176 echo $ECHO_N "(cached) $ECHO_C" >&6
6178 cat >conftest.
$ac_ext <<_ACEOF
6181 cat confdefs.h
>>conftest.
$ac_ext
6182 cat >>conftest.
$ac_ext <<_ACEOF
6183 /* end confdefs.h. */
6184 #include <sys/types.h>
6185 #include <sys/wait.h>
6187 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6190 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6198 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6203 rm -f conftest.
$ac_objext
6204 if { (ac_try
="$ac_compile"
6206 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6207 *) ac_try_echo=$ac_try;;
6209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6210 (eval "$ac_compile") 2>conftest.er1
6212 grep -v '^ *+' conftest.er1 >conftest.err
6214 cat conftest.err >&5
6215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6216 (exit $ac_status); } && {
6217 test -z "$ac_c_werror_flag" ||
6218 test ! -s conftest.err
6219 } && test -s conftest.$ac_objext; then
6220 ac_cv_header_sys_wait_h=yes
6222 echo "$as_me: failed program was:" >&5
6223 sed 's/^/| /' conftest.$ac_ext >&5
6225 ac_cv_header_sys_wait_h=no
6228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6230 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
6231 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
6232 if test $ac_cv_header_sys_wait_h = yes; then
6234 cat >>confdefs.h <<\_ACEOF
6235 #define HAVE_SYS_WAIT_H 1
6240 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6241 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
6242 if test "${ac_cv_header_time+set}" = set; then
6243 echo $ECHO_N "(cached) $ECHO_C" >&6
6245 cat >conftest.$ac_ext <<_ACEOF
6248 cat confdefs.h >>conftest.$ac_ext
6249 cat >>conftest.$ac_ext <<_ACEOF
6250 /* end confdefs.h. */
6251 #include <sys/types.h>
6252 #include <sys/time.h>
6258 if ((struct tm *) 0)
6264 rm -f conftest.$ac_objext
6265 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
6273 grep -v '^ *+' conftest.er1
>conftest.err
6275 cat conftest.err
>&5
6276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6277 (exit $ac_status); } && {
6278 test -z "$ac_c_werror_flag" ||
6279 test ! -s conftest.err
6280 } && test -s conftest.
$ac_objext; then
6281 ac_cv_header_time
=yes
6283 echo "$as_me: failed program was:" >&5
6284 sed 's/^/| /' conftest.
$ac_ext >&5
6286 ac_cv_header_time
=no
6289 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6291 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6292 echo "${ECHO_T}$ac_cv_header_time" >&6; }
6293 if test $ac_cv_header_time = yes; then
6295 cat >>confdefs.h
<<\_ACEOF
6296 #define TIME_WITH_SYS_TIME 1
6301 { echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6302 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6; }
6303 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6304 echo $ECHO_N "(cached) $ECHO_C" >&6
6306 cat >conftest.
$ac_ext <<_ACEOF
6309 cat confdefs.h
>>conftest.
$ac_ext
6310 cat >>conftest.
$ac_ext <<_ACEOF
6311 /* end confdefs.h. */
6312 $ac_includes_default
6316 static struct stat ac_aggr;
6317 if (ac_aggr.st_blksize)
6323 rm -f conftest.
$ac_objext
6324 if { (ac_try
="$ac_compile"
6326 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6327 *) ac_try_echo=$ac_try;;
6329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6330 (eval "$ac_compile") 2>conftest.er1
6332 grep -v '^ *+' conftest.er1 >conftest.err
6334 cat conftest.err >&5
6335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6336 (exit $ac_status); } && {
6337 test -z "$ac_c_werror_flag" ||
6338 test ! -s conftest.err
6339 } && test -s conftest.$ac_objext; then
6340 ac_cv_member_struct_stat_st_blksize=yes
6342 echo "$as_me: failed program was:" >&5
6343 sed 's/^/| /' conftest.$ac_ext >&5
6345 cat >conftest.$ac_ext <<_ACEOF
6348 cat confdefs.h >>conftest.$ac_ext
6349 cat >>conftest.$ac_ext <<_ACEOF
6350 /* end confdefs.h. */
6351 $ac_includes_default
6355 static struct stat ac_aggr;
6356 if (sizeof ac_aggr.st_blksize)
6362 rm -f conftest.$ac_objext
6363 if { (ac_try="$ac_compile"
6365 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6366 *) ac_try_echo
=$ac_try;;
6368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6369 (eval "$ac_compile") 2>conftest.er1
6371 grep -v '^ *+' conftest.er1
>conftest.err
6373 cat conftest.err
>&5
6374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6375 (exit $ac_status); } && {
6376 test -z "$ac_c_werror_flag" ||
6377 test ! -s conftest.err
6378 } && test -s conftest.
$ac_objext; then
6379 ac_cv_member_struct_stat_st_blksize
=yes
6381 echo "$as_me: failed program was:" >&5
6382 sed 's/^/| /' conftest.
$ac_ext >&5
6384 ac_cv_member_struct_stat_st_blksize
=no
6387 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6390 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6392 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
6393 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6; }
6394 if test $ac_cv_member_struct_stat_st_blksize = yes; then
6396 cat >>confdefs.h
<<_ACEOF
6397 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6401 cat >>confdefs.h
<<\_ACEOF
6402 #define HAVE_ST_BLKSIZE 1
6408 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
6409 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
6410 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
6411 echo $ECHO_N "(cached) $ECHO_C" >&6
6413 cat >conftest.
$ac_ext <<_ACEOF
6416 cat confdefs.h
>>conftest.
$ac_ext
6417 cat >>conftest.
$ac_ext <<_ACEOF
6418 /* end confdefs.h. */
6419 $ac_includes_default
6423 static struct stat ac_aggr;
6424 if (ac_aggr.st_blocks)
6430 rm -f conftest.
$ac_objext
6431 if { (ac_try
="$ac_compile"
6433 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6434 *) ac_try_echo=$ac_try;;
6436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6437 (eval "$ac_compile") 2>conftest.er1
6439 grep -v '^ *+' conftest.er1 >conftest.err
6441 cat conftest.err >&5
6442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6443 (exit $ac_status); } && {
6444 test -z "$ac_c_werror_flag" ||
6445 test ! -s conftest.err
6446 } && test -s conftest.$ac_objext; then
6447 ac_cv_member_struct_stat_st_blocks=yes
6449 echo "$as_me: failed program was:" >&5
6450 sed 's/^/| /' conftest.$ac_ext >&5
6452 cat >conftest.$ac_ext <<_ACEOF
6455 cat confdefs.h >>conftest.$ac_ext
6456 cat >>conftest.$ac_ext <<_ACEOF
6457 /* end confdefs.h. */
6458 $ac_includes_default
6462 static struct stat ac_aggr;
6463 if (sizeof ac_aggr.st_blocks)
6469 rm -f conftest.$ac_objext
6470 if { (ac_try="$ac_compile"
6472 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6473 *) ac_try_echo
=$ac_try;;
6475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6476 (eval "$ac_compile") 2>conftest.er1
6478 grep -v '^ *+' conftest.er1
>conftest.err
6480 cat conftest.err
>&5
6481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6482 (exit $ac_status); } && {
6483 test -z "$ac_c_werror_flag" ||
6484 test ! -s conftest.err
6485 } && test -s conftest.
$ac_objext; then
6486 ac_cv_member_struct_stat_st_blocks
=yes
6488 echo "$as_me: failed program was:" >&5
6489 sed 's/^/| /' conftest.
$ac_ext >&5
6491 ac_cv_member_struct_stat_st_blocks
=no
6494 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6497 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6499 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
6500 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
6501 if test $ac_cv_member_struct_stat_st_blocks = yes; then
6503 cat >>confdefs.h
<<_ACEOF
6504 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6508 cat >>confdefs.h
<<\_ACEOF
6509 #define HAVE_ST_BLOCKS 1
6513 case " $LIBOBJS " in
6514 *" fileblocks.$ac_objext "* ) ;;
6515 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6522 { echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6523 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6; }
6524 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6525 echo $ECHO_N "(cached) $ECHO_C" >&6
6527 cat >conftest.
$ac_ext <<_ACEOF
6530 cat confdefs.h
>>conftest.
$ac_ext
6531 cat >>conftest.
$ac_ext <<_ACEOF
6532 /* end confdefs.h. */
6533 $ac_includes_default
6537 static struct stat ac_aggr;
6538 if (ac_aggr.st_rdev)
6544 rm -f conftest.
$ac_objext
6545 if { (ac_try
="$ac_compile"
6547 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6548 *) ac_try_echo=$ac_try;;
6550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6551 (eval "$ac_compile") 2>conftest.er1
6553 grep -v '^ *+' conftest.er1 >conftest.err
6555 cat conftest.err >&5
6556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6557 (exit $ac_status); } && {
6558 test -z "$ac_c_werror_flag" ||
6559 test ! -s conftest.err
6560 } && test -s conftest.$ac_objext; then
6561 ac_cv_member_struct_stat_st_rdev=yes
6563 echo "$as_me: failed program was:" >&5
6564 sed 's/^/| /' conftest.$ac_ext >&5
6566 cat >conftest.$ac_ext <<_ACEOF
6569 cat confdefs.h >>conftest.$ac_ext
6570 cat >>conftest.$ac_ext <<_ACEOF
6571 /* end confdefs.h. */
6572 $ac_includes_default
6576 static struct stat ac_aggr;
6577 if (sizeof ac_aggr.st_rdev)
6583 rm -f conftest.$ac_objext
6584 if { (ac_try="$ac_compile"
6586 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6587 *) ac_try_echo
=$ac_try;;
6589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6590 (eval "$ac_compile") 2>conftest.er1
6592 grep -v '^ *+' conftest.er1
>conftest.err
6594 cat conftest.err
>&5
6595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6596 (exit $ac_status); } && {
6597 test -z "$ac_c_werror_flag" ||
6598 test ! -s conftest.err
6599 } && test -s conftest.
$ac_objext; then
6600 ac_cv_member_struct_stat_st_rdev
=yes
6602 echo "$as_me: failed program was:" >&5
6603 sed 's/^/| /' conftest.
$ac_ext >&5
6605 ac_cv_member_struct_stat_st_rdev
=no
6608 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6611 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6613 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
6614 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6; }
6615 if test $ac_cv_member_struct_stat_st_rdev = yes; then
6617 cat >>confdefs.h
<<_ACEOF
6618 #define HAVE_STRUCT_STAT_ST_RDEV 1
6622 cat >>confdefs.h
<<\_ACEOF
6623 #define HAVE_ST_RDEV 1
6629 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6630 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
6631 if test "${ac_cv_struct_tm+set}" = set; then
6632 echo $ECHO_N "(cached) $ECHO_C" >&6
6634 cat >conftest.
$ac_ext <<_ACEOF
6637 cat confdefs.h
>>conftest.
$ac_ext
6638 cat >>conftest.
$ac_ext <<_ACEOF
6639 /* end confdefs.h. */
6640 #include <sys/types.h>
6647 int *p = &tm.tm_sec;
6653 rm -f conftest.
$ac_objext
6654 if { (ac_try
="$ac_compile"
6656 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6657 *) ac_try_echo=$ac_try;;
6659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6660 (eval "$ac_compile") 2>conftest.er1
6662 grep -v '^ *+' conftest.er1 >conftest.err
6664 cat conftest.err >&5
6665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6666 (exit $ac_status); } && {
6667 test -z "$ac_c_werror_flag" ||
6668 test ! -s conftest.err
6669 } && test -s conftest.$ac_objext; then
6670 ac_cv_struct_tm=time.h
6672 echo "$as_me: failed program was:" >&5
6673 sed 's/^/| /' conftest.$ac_ext >&5
6675 ac_cv_struct_tm=sys/time.h
6678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6680 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6681 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
6682 if test $ac_cv_struct_tm = sys/time.h; then
6684 cat >>confdefs.h <<\_ACEOF
6685 #define TM_IN_SYS_TIME 1
6690 { echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
6691 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6; }
6692 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
6693 echo $ECHO_N "(cached) $ECHO_C" >&6
6695 cat >conftest.$ac_ext <<_ACEOF
6698 cat confdefs.h >>conftest.$ac_ext
6699 cat >>conftest.$ac_ext <<_ACEOF
6700 /* end confdefs.h. */
6701 #include <sys/types.h>
6702 #include <$ac_cv_struct_tm>
6708 static struct tm ac_aggr;
6709 if (ac_aggr.tm_zone)
6715 rm -f conftest.$ac_objext
6716 if { (ac_try="$ac_compile"
6718 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6719 *) ac_try_echo
=$ac_try;;
6721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6722 (eval "$ac_compile") 2>conftest.er1
6724 grep -v '^ *+' conftest.er1
>conftest.err
6726 cat conftest.err
>&5
6727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6728 (exit $ac_status); } && {
6729 test -z "$ac_c_werror_flag" ||
6730 test ! -s conftest.err
6731 } && test -s conftest.
$ac_objext; then
6732 ac_cv_member_struct_tm_tm_zone
=yes
6734 echo "$as_me: failed program was:" >&5
6735 sed 's/^/| /' conftest.
$ac_ext >&5
6737 cat >conftest.
$ac_ext <<_ACEOF
6740 cat confdefs.h
>>conftest.
$ac_ext
6741 cat >>conftest.
$ac_ext <<_ACEOF
6742 /* end confdefs.h. */
6743 #include <sys/types.h>
6744 #include <$ac_cv_struct_tm>
6750 static struct tm ac_aggr;
6751 if (sizeof ac_aggr.tm_zone)
6757 rm -f conftest.
$ac_objext
6758 if { (ac_try
="$ac_compile"
6760 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6761 *) ac_try_echo=$ac_try;;
6763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6764 (eval "$ac_compile") 2>conftest.er1
6766 grep -v '^ *+' conftest.er1 >conftest.err
6768 cat conftest.err >&5
6769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6770 (exit $ac_status); } && {
6771 test -z "$ac_c_werror_flag" ||
6772 test ! -s conftest.err
6773 } && test -s conftest.$ac_objext; then
6774 ac_cv_member_struct_tm_tm_zone=yes
6776 echo "$as_me: failed program was:" >&5
6777 sed 's/^/| /' conftest.$ac_ext >&5
6779 ac_cv_member_struct_tm_tm_zone=no
6782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6787 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
6788 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6; }
6789 if test $ac_cv_member_struct_tm_tm_zone = yes; then
6791 cat >>confdefs.h <<_ACEOF
6792 #define HAVE_STRUCT_TM_TM_ZONE 1
6798 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6800 cat >>confdefs.h <<\_ACEOF
6801 #define HAVE_TM_ZONE 1
6805 { echo "$as_me:$LINENO: checking whether tzname is declared" >&5
6806 echo $ECHO_N "checking whether tzname is declared... $ECHO_C" >&6; }
6807 if test "${ac_cv_have_decl_tzname+set}" = set; then
6808 echo $ECHO_N "(cached) $ECHO_C" >&6
6810 cat >conftest.$ac_ext <<_ACEOF
6813 cat confdefs.h >>conftest.$ac_ext
6814 cat >>conftest.$ac_ext <<_ACEOF
6815 /* end confdefs.h. */
6829 rm -f conftest.$ac_objext
6830 if { (ac_try="$ac_compile"
6832 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6833 *) ac_try_echo
=$ac_try;;
6835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6836 (eval "$ac_compile") 2>conftest.er1
6838 grep -v '^ *+' conftest.er1
>conftest.err
6840 cat conftest.err
>&5
6841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6842 (exit $ac_status); } && {
6843 test -z "$ac_c_werror_flag" ||
6844 test ! -s conftest.err
6845 } && test -s conftest.
$ac_objext; then
6846 ac_cv_have_decl_tzname
=yes
6848 echo "$as_me: failed program was:" >&5
6849 sed 's/^/| /' conftest.
$ac_ext >&5
6851 ac_cv_have_decl_tzname
=no
6854 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6856 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5
6857 echo "${ECHO_T}$ac_cv_have_decl_tzname" >&6; }
6858 if test $ac_cv_have_decl_tzname = yes; then
6860 cat >>confdefs.h
<<_ACEOF
6861 #define HAVE_DECL_TZNAME 1
6866 cat >>confdefs.h
<<_ACEOF
6867 #define HAVE_DECL_TZNAME 0
6874 { echo "$as_me:$LINENO: checking for tzname" >&5
6875 echo $ECHO_N "checking for tzname... $ECHO_C" >&6; }
6876 if test "${ac_cv_var_tzname+set}" = set; then
6877 echo $ECHO_N "(cached) $ECHO_C" >&6
6879 cat >conftest.
$ac_ext <<_ACEOF
6882 cat confdefs.h
>>conftest.
$ac_ext
6883 cat >>conftest.
$ac_ext <<_ACEOF
6884 /* end confdefs.h. */
6886 #if !HAVE_DECL_TZNAME
6887 extern char *tzname[];
6893 return tzname[0][0];
6898 rm -f conftest.
$ac_objext conftest
$ac_exeext
6899 if { (ac_try
="$ac_link"
6901 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6902 *) ac_try_echo=$ac_try;;
6904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6905 (eval "$ac_link") 2>conftest.er1
6907 grep -v '^ *+' conftest.er1 >conftest.err
6909 cat conftest.err >&5
6910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6911 (exit $ac_status); } && {
6912 test -z "$ac_c_werror_flag" ||
6913 test ! -s conftest.err
6914 } && test -s conftest$ac_exeext &&
6915 $as_test_x conftest$ac_exeext; then
6916 ac_cv_var_tzname=yes
6918 echo "$as_me: failed program was:" >&5
6919 sed 's/^/| /' conftest.$ac_ext >&5
6924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6925 conftest$ac_exeext conftest.$ac_ext
6927 { echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
6928 echo "${ECHO_T}$ac_cv_var_tzname" >&6; }
6929 if test $ac_cv_var_tzname = yes; then
6931 cat >>confdefs.h <<\_ACEOF
6932 #define HAVE_TZNAME 1
6938 { echo "$as_me:$LINENO: checking for off_t" >&5
6939 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
6940 if test "${ac_cv_type_off_t+set}" = set; then
6941 echo $ECHO_N "(cached) $ECHO_C" >&6
6943 cat >conftest.$ac_ext <<_ACEOF
6946 cat confdefs.h >>conftest.$ac_ext
6947 cat >>conftest.$ac_ext <<_ACEOF
6948 /* end confdefs.h. */
6949 $ac_includes_default
6950 typedef off_t ac__type_new_;
6954 if ((ac__type_new_ *) 0)
6956 if (sizeof (ac__type_new_))
6962 rm -f conftest.$ac_objext
6963 if { (ac_try="$ac_compile"
6965 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6966 *) ac_try_echo
=$ac_try;;
6968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6969 (eval "$ac_compile") 2>conftest.er1
6971 grep -v '^ *+' conftest.er1
>conftest.err
6973 cat conftest.err
>&5
6974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6975 (exit $ac_status); } && {
6976 test -z "$ac_c_werror_flag" ||
6977 test ! -s conftest.err
6978 } && test -s conftest.
$ac_objext; then
6979 ac_cv_type_off_t
=yes
6981 echo "$as_me: failed program was:" >&5
6982 sed 's/^/| /' conftest.
$ac_ext >&5
6987 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6989 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6990 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
6991 if test $ac_cv_type_off_t = yes; then
6995 cat >>confdefs.h
<<_ACEOF
6996 #define off_t long int
7001 { echo "$as_me:$LINENO: checking for pid_t" >&5
7002 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
7003 if test "${ac_cv_type_pid_t+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. */
7012 $ac_includes_default
7013 typedef pid_t ac__type_new_;
7017 if ((ac__type_new_ *) 0)
7019 if (sizeof (ac__type_new_))
7025 rm -f conftest.
$ac_objext
7026 if { (ac_try
="$ac_compile"
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_compile") 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_objext; then
7042 ac_cv_type_pid_t=yes
7044 echo "$as_me: failed program was:" >&5
7045 sed 's/^/| /' conftest.$ac_ext >&5
7050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7052 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
7053 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
7054 if test $ac_cv_type_pid_t = yes; then
7058 cat >>confdefs.h <<_ACEOF
7064 { echo "$as_me:$LINENO: checking for size_t" >&5
7065 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
7066 if test "${ac_cv_type_size_t+set}" = set; then
7067 echo $ECHO_N "(cached) $ECHO_C" >&6
7069 cat >conftest.$ac_ext <<_ACEOF
7072 cat confdefs.h >>conftest.$ac_ext
7073 cat >>conftest.$ac_ext <<_ACEOF
7074 /* end confdefs.h. */
7075 $ac_includes_default
7076 typedef size_t ac__type_new_;
7080 if ((ac__type_new_ *) 0)
7082 if (sizeof (ac__type_new_))
7088 rm -f conftest.$ac_objext
7089 if { (ac_try="$ac_compile"
7091 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7092 *) ac_try_echo
=$ac_try;;
7094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7095 (eval "$ac_compile") 2>conftest.er1
7097 grep -v '^ *+' conftest.er1
>conftest.err
7099 cat conftest.err
>&5
7100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7101 (exit $ac_status); } && {
7102 test -z "$ac_c_werror_flag" ||
7103 test ! -s conftest.err
7104 } && test -s conftest.
$ac_objext; then
7105 ac_cv_type_size_t
=yes
7107 echo "$as_me: failed program was:" >&5
7108 sed 's/^/| /' conftest.
$ac_ext >&5
7110 ac_cv_type_size_t
=no
7113 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7115 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
7116 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
7117 if test $ac_cv_type_size_t = yes; then
7121 cat >>confdefs.h
<<_ACEOF
7122 #define size_t unsigned int
7127 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
7128 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
7129 if test "${ac_cv_type_uid_t+set}" = set; then
7130 echo $ECHO_N "(cached) $ECHO_C" >&6
7132 cat >conftest.
$ac_ext <<_ACEOF
7135 cat confdefs.h
>>conftest.
$ac_ext
7136 cat >>conftest.
$ac_ext <<_ACEOF
7137 /* end confdefs.h. */
7138 #include <sys/types.h>
7141 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7142 $EGREP "uid_t" >/dev
/null
2>&1; then
7143 ac_cv_type_uid_t
=yes
7150 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
7151 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
7152 if test $ac_cv_type_uid_t = no
; then
7154 cat >>confdefs.h
<<\_ACEOF
7159 cat >>confdefs.h
<<\_ACEOF
7166 { echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
7167 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6; }
7168 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
7169 echo $ECHO_N "(cached) $ECHO_C" >&6
7171 cat >conftest.
$ac_ext <<_ACEOF
7174 cat confdefs.h
>>conftest.
$ac_ext
7175 cat >>conftest.
$ac_ext <<_ACEOF
7176 /* end confdefs.h. */
7177 $ac_includes_default
7181 static struct tm ac_aggr;
7182 if (ac_aggr.tm_gmtoff)
7188 rm -f conftest.
$ac_objext
7189 if { (ac_try
="$ac_compile"
7191 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7192 *) ac_try_echo=$ac_try;;
7194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7195 (eval "$ac_compile") 2>conftest.er1
7197 grep -v '^ *+' conftest.er1 >conftest.err
7199 cat conftest.err >&5
7200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7201 (exit $ac_status); } && {
7202 test -z "$ac_c_werror_flag" ||
7203 test ! -s conftest.err
7204 } && test -s conftest.$ac_objext; then
7205 ac_cv_member_struct_tm_tm_gmtoff=yes
7207 echo "$as_me: failed program was:" >&5
7208 sed 's/^/| /' conftest.$ac_ext >&5
7210 cat >conftest.$ac_ext <<_ACEOF
7213 cat confdefs.h >>conftest.$ac_ext
7214 cat >>conftest.$ac_ext <<_ACEOF
7215 /* end confdefs.h. */
7216 $ac_includes_default
7220 static struct tm ac_aggr;
7221 if (sizeof ac_aggr.tm_gmtoff)
7227 rm -f conftest.$ac_objext
7228 if { (ac_try="$ac_compile"
7230 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7231 *) ac_try_echo
=$ac_try;;
7233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7234 (eval "$ac_compile") 2>conftest.er1
7236 grep -v '^ *+' conftest.er1
>conftest.err
7238 cat conftest.err
>&5
7239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7240 (exit $ac_status); } && {
7241 test -z "$ac_c_werror_flag" ||
7242 test ! -s conftest.err
7243 } && test -s conftest.
$ac_objext; then
7244 ac_cv_member_struct_tm_tm_gmtoff
=yes
7246 echo "$as_me: failed program was:" >&5
7247 sed 's/^/| /' conftest.
$ac_ext >&5
7249 ac_cv_member_struct_tm_tm_gmtoff
=no
7252 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7255 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7257 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
7258 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6; }
7259 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
7261 cat >>confdefs.h
<<_ACEOF
7262 #define HAVE_STRUCT_TM_TM_GMTOFF 1
7269 # Look for some functions
7284 for ac_func
in getpagesize kqueue statfs statvfs \
7285 clone kse_create rfork_thread thr_create sa_register \
7286 getcontext makecontext setcontext sigaltstack swapcontext
7288 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7289 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7291 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7292 echo $ECHO_N "(cached) $ECHO_C" >&6
7294 cat >conftest.
$ac_ext <<_ACEOF
7297 cat confdefs.h
>>conftest.
$ac_ext
7298 cat >>conftest.
$ac_ext <<_ACEOF
7299 /* end confdefs.h. */
7300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7302 #define $ac_func innocuous_$ac_func
7304 /* System header to define __stub macros and hopefully few prototypes,
7305 which can conflict with char $ac_func (); below.
7306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7307 <limits.h> exists even on freestanding compilers. */
7310 # include <limits.h>
7312 # include <assert.h>
7317 /* Override any GCC internal prototype to avoid an error.
7318 Use char because int might match the return type of a GCC
7319 builtin and then its argument prototype would still apply. */
7324 /* The GNU C library defines this for functions which it implements
7325 to always fail with ENOSYS. Some functions are actually named
7326 something starting with __ and the normal name is an alias. */
7327 #if defined __stub_$ac_func || defined __stub___$ac_func
7339 rm -f conftest.
$ac_objext conftest
$ac_exeext
7340 if { (ac_try
="$ac_link"
7342 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7343 *) ac_try_echo=$ac_try;;
7345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7346 (eval "$ac_link") 2>conftest.er1
7348 grep -v '^ *+' conftest.er1 >conftest.err
7350 cat conftest.err >&5
7351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7352 (exit $ac_status); } && {
7353 test -z "$ac_c_werror_flag" ||
7354 test ! -s conftest.err
7355 } && test -s conftest$ac_exeext &&
7356 $as_test_x conftest$ac_exeext; then
7357 eval "$as_ac_var=yes"
7359 echo "$as_me: failed program was:" >&5
7360 sed 's/^/| /' conftest.$ac_ext >&5
7362 eval "$as_ac_var=no"
7365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7366 conftest$ac_exeext conftest.$ac_ext
7368 ac_res=`eval echo '${'$as_ac_var'}'`
7369 { echo "$as_me:$LINENO: result: $ac_res" >&5
7370 echo "${ECHO_T}$ac_res" >&6; }
7371 if test `eval echo '${'$as_ac_var'}'` = yes; then
7372 cat >>confdefs.h <<_ACEOF
7373 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7382 for ac_header in stdlib.h unistd.h
7384 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7385 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7386 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7387 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7388 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7389 echo $ECHO_N "(cached) $ECHO_C" >&6
7391 ac_res=`eval echo '${'$as_ac_Header'}'`
7392 { echo "$as_me:$LINENO: result: $ac_res" >&5
7393 echo "${ECHO_T}$ac_res" >&6; }
7395 # Is the header compilable?
7396 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7397 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7398 cat >conftest.$ac_ext <<_ACEOF
7401 cat confdefs.h >>conftest.$ac_ext
7402 cat >>conftest.$ac_ext <<_ACEOF
7403 /* end confdefs.h. */
7404 $ac_includes_default
7405 #include <$ac_header>
7407 rm -f conftest.$ac_objext
7408 if { (ac_try="$ac_compile"
7410 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7411 *) ac_try_echo
=$ac_try;;
7413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7414 (eval "$ac_compile") 2>conftest.er1
7416 grep -v '^ *+' conftest.er1
>conftest.err
7418 cat conftest.err
>&5
7419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7420 (exit $ac_status); } && {
7421 test -z "$ac_c_werror_flag" ||
7422 test ! -s conftest.err
7423 } && test -s conftest.
$ac_objext; then
7424 ac_header_compiler
=yes
7426 echo "$as_me: failed program was:" >&5
7427 sed 's/^/| /' conftest.
$ac_ext >&5
7429 ac_header_compiler
=no
7432 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7433 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7434 echo "${ECHO_T}$ac_header_compiler" >&6; }
7436 # Is the header present?
7437 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7438 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7439 cat >conftest.
$ac_ext <<_ACEOF
7442 cat confdefs.h
>>conftest.
$ac_ext
7443 cat >>conftest.
$ac_ext <<_ACEOF
7444 /* end confdefs.h. */
7445 #include <$ac_header>
7447 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7449 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7450 *) ac_try_echo=$ac_try;;
7452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7453 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7455 grep -v '^ *+' conftest.er1 >conftest.err
7457 cat conftest.err >&5
7458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7459 (exit $ac_status); } >/dev/null && {
7460 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7461 test ! -s conftest.err
7463 ac_header_preproc=yes
7465 echo "$as_me: failed program was:" >&5
7466 sed 's/^/| /' conftest.$ac_ext >&5
7468 ac_header_preproc=no
7471 rm -f conftest.err conftest.$ac_ext
7472 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7473 echo "${ECHO_T}$ac_header_preproc" >&6; }
7475 # So? What about this header?
7476 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7478 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7479 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7480 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7481 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7482 ac_header_preproc=yes
7485 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7486 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7487 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7488 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7489 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7490 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7491 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7492 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7493 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7494 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7495 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7496 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7500 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7501 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7502 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7503 echo $ECHO_N "(cached) $ECHO_C" >&6
7505 eval "$as_ac_Header=\$ac_header_preproc"
7507 ac_res=`eval echo '${'$as_ac_Header'}'`
7508 { echo "$as_me:$LINENO: result: $ac_res" >&5
7509 echo "${ECHO_T}$ac_res" >&6; }
7512 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7513 cat >>confdefs.h <<_ACEOF
7514 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7522 for ac_func in getpagesize
7524 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
7525 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7527 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7528 echo $ECHO_N "(cached) $ECHO_C" >&6
7530 cat >conftest.$ac_ext <<_ACEOF
7533 cat confdefs.h >>conftest.$ac_ext
7534 cat >>conftest.$ac_ext <<_ACEOF
7535 /* end confdefs.h. */
7536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7538 #define $ac_func innocuous_$ac_func
7540 /* System header to define __stub macros and hopefully few prototypes,
7541 which can conflict with char $ac_func (); below.
7542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7543 <limits.h> exists even on freestanding compilers. */
7546 # include <limits.h>
7548 # include <assert.h>
7553 /* Override any GCC internal prototype to avoid an error.
7554 Use char because int might match the return type of a GCC
7555 builtin and then its argument prototype would still apply. */
7560 /* The GNU C library defines this for functions which it implements
7561 to always fail with ENOSYS. Some functions are actually named
7562 something starting with __ and the normal name is an alias. */
7563 #if defined __stub_$ac_func || defined __stub___$ac_func
7575 rm -f conftest.$ac_objext conftest$ac_exeext
7576 if { (ac_try="$ac_link"
7578 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7579 *) ac_try_echo
=$ac_try;;
7581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7582 (eval "$ac_link") 2>conftest.er1
7584 grep -v '^ *+' conftest.er1
>conftest.err
7586 cat conftest.err
>&5
7587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7588 (exit $ac_status); } && {
7589 test -z "$ac_c_werror_flag" ||
7590 test ! -s conftest.err
7591 } && test -s conftest
$ac_exeext &&
7592 $as_test_x conftest
$ac_exeext; then
7593 eval "$as_ac_var=yes"
7595 echo "$as_me: failed program was:" >&5
7596 sed 's/^/| /' conftest.
$ac_ext >&5
7598 eval "$as_ac_var=no"
7601 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7602 conftest
$ac_exeext conftest.
$ac_ext
7604 ac_res
=`eval echo '${'$as_ac_var'}'`
7605 { echo "$as_me:$LINENO: result: $ac_res" >&5
7606 echo "${ECHO_T}$ac_res" >&6; }
7607 if test `eval echo '${'$as_ac_var'}'` = yes; then
7608 cat >>confdefs.h
<<_ACEOF
7609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7615 { echo "$as_me:$LINENO: checking for working mmap" >&5
7616 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
7617 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
7618 echo $ECHO_N "(cached) $ECHO_C" >&6
7620 if test "$cross_compiling" = yes; then
7621 ac_cv_func_mmap_fixed_mapped
=no
7623 cat >conftest.
$ac_ext <<_ACEOF
7626 cat confdefs.h
>>conftest.
$ac_ext
7627 cat >>conftest.
$ac_ext <<_ACEOF
7628 /* end confdefs.h. */
7629 $ac_includes_default
7630 /* malloc might have been renamed as rpl_malloc. */
7633 /* Thanks to Mike Haertel and Jim Avera for this test.
7634 Here is a matrix of mmap possibilities:
7635 mmap private not fixed
7636 mmap private fixed at somewhere currently unmapped
7637 mmap private fixed at somewhere already mapped
7638 mmap shared not fixed
7639 mmap shared fixed at somewhere currently unmapped
7640 mmap shared fixed at somewhere already mapped
7641 For private mappings, we should verify that changes cannot be read()
7642 back from the file, nor mmap's back from the file at a different
7643 address. (There have been systems where private was not correctly
7644 implemented like the infamous i386 svr4.0, and systems where the
7645 VM page cache was not coherent with the file system buffer cache
7646 like early versions of FreeBSD and possibly contemporary NetBSD.)
7647 For shared mappings, we should conversely verify that changes get
7648 propagated back to all the places they're supposed to be.
7650 Grep wants private fixed already mapped.
7651 The main things grep needs to know about mmap are:
7652 * does it exist and is it safe to write into the mmap'd area
7653 * how to use it (BSD variants) */
7656 #include <sys/mman.h>
7658 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7662 /* This mess was copied from the GNU getpagesize.h. */
7663 #ifndef HAVE_GETPAGESIZE
7664 /* Assume that all systems that can run configure have sys/param.h. */
7665 # ifndef HAVE_SYS_PARAM_H
7666 # define HAVE_SYS_PARAM_H 1
7669 # ifdef _SC_PAGESIZE
7670 # define getpagesize() sysconf(_SC_PAGESIZE)
7671 # else /* no _SC_PAGESIZE */
7672 # ifdef HAVE_SYS_PARAM_H
7673 # include <sys/param.h>
7674 # ifdef EXEC_PAGESIZE
7675 # define getpagesize() EXEC_PAGESIZE
7676 # else /* no EXEC_PAGESIZE */
7678 # define getpagesize() NBPG * CLSIZE
7681 # endif /* no CLSIZE */
7682 # else /* no NBPG */
7684 # define getpagesize() NBPC
7685 # else /* no NBPC */
7687 # define getpagesize() PAGESIZE
7688 # endif /* PAGESIZE */
7689 # endif /* no NBPC */
7690 # endif /* no NBPG */
7691 # endif /* no EXEC_PAGESIZE */
7692 # else /* no HAVE_SYS_PARAM_H */
7693 # define getpagesize() 8192 /* punt totally */
7694 # endif /* no HAVE_SYS_PARAM_H */
7695 # endif /* no _SC_PAGESIZE */
7697 #endif /* no HAVE_GETPAGESIZE */
7702 char *data, *data2, *data3;
7706 pagesize = getpagesize ();
7708 /* First, make a file with some known garbage in it. */
7709 data = (char *) malloc (pagesize);
7712 for (i = 0; i < pagesize; ++i)
7713 *(data + i) = rand ();
7715 fd = creat ("conftest.mmap", 0600);
7718 if (write (fd, data, pagesize) != pagesize)
7722 /* Next, try to mmap the file at a fixed address which already has
7723 something else allocated at it. If we can, also make sure that
7724 we see the same garbage. */
7725 fd = open ("conftest.mmap", O_RDWR);
7728 data2 = (char *) malloc (2 * pagesize);
7731 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
7732 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7733 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7735 for (i = 0; i < pagesize; ++i)
7736 if (*(data + i) != *(data2 + i))
7739 /* Finally, make sure that changes to the mapped area do not
7740 percolate back to the file as seen by read(). (This is a bug on
7741 some variants of i386 svr4.0.) */
7742 for (i = 0; i < pagesize; ++i)
7743 *(data2 + i) = *(data2 + i) + 1;
7744 data3 = (char *) malloc (pagesize);
7747 if (read (fd, data3, pagesize) != pagesize)
7749 for (i = 0; i < pagesize; ++i)
7750 if (*(data + i) != *(data3 + i))
7756 rm -f conftest
$ac_exeext
7757 if { (ac_try
="$ac_link"
7759 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7760 *) ac_try_echo=$ac_try;;
7762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7763 (eval "$ac_link") 2>&5
7765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7766 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7767 { (case "(($ac_try" in
7768 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7769 *) ac_try_echo
=$ac_try;;
7771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7772 (eval "$ac_try") 2>&5
7774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7775 (exit $ac_status); }; }; then
7776 ac_cv_func_mmap_fixed_mapped
=yes
7778 echo "$as_me: program exited with status $ac_status" >&5
7779 echo "$as_me: failed program was:" >&5
7780 sed 's/^/| /' conftest.
$ac_ext >&5
7783 ac_cv_func_mmap_fixed_mapped
=no
7785 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7790 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
7791 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
7792 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7794 cat >>confdefs.h
<<\_ACEOF
7804 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7805 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7806 aros_config_ldflags
=""
7808 aros_shared_default
=yes
7810 aros_shared_cflags
="-fPIC"
7811 aros_shared_aflags
=""
7812 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7813 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7815 aros_target_ar_flags
="cr"
7816 aros_target_nm_flags
="-C -ul"
7817 aros_target_strip_flags
="--strip-unneeded -R.comment"
7821 aros_target_genmap
="-Wl,-Map -Xlinker"
7823 # Native flavour stuff
7825 aros_serial_debug
="0"
7827 # Palm native flavour stuff
7828 aros_palm_debug_hack
="0"
7830 # Unix flavour stuff
7831 aros_nesting_supervisor
="0"
7833 # Collect-aros stuff: "-ius" to ignore undefined symbols
7834 ignore_undefined_symbols
=""
7836 #-----------------------------------------------------------------------------
7838 { echo "$as_me:$LINENO: checking whether ${CC} accepts -fno-stack-protector" >&5
7839 echo $ECHO_N "checking whether ${CC} accepts -fno-stack-protector... $ECHO_C" >&6; }
7840 save_cflags
="$CFLAGS"
7841 CFLAGS
="$CFLAGS -fno-stack-protector"
7842 cat >conftest.
$ac_ext <<_ACEOF
7845 cat confdefs.h
>>conftest.
$ac_ext
7846 cat >>conftest.
$ac_ext <<_ACEOF
7847 /* end confdefs.h. */
7857 rm -f conftest.
$ac_objext
7858 if { (ac_try
="$ac_compile"
7860 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7861 *) ac_try_echo=$ac_try;;
7863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7864 (eval "$ac_compile") 2>conftest.er1
7866 grep -v '^ *+' conftest.er1 >conftest.err
7868 cat conftest.err >&5
7869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7870 (exit $ac_status); } && {
7871 test -z "$ac_c_werror_flag" ||
7872 test ! -s conftest.err
7873 } && test -s conftest.$ac_objext; then
7874 use_no_stack_protector="yes"
7876 echo "$as_me: failed program was:" >&5
7877 sed 's/^/| /' conftest.$ac_ext >&5
7879 use_no_stack_protector="no"
7882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7883 { echo "$as_me:$LINENO: result: $use_no_stack_protector" >&5
7884 echo "${ECHO_T}$use_no_stack_protector" >&6; }
7885 if test "x-$use_no_stack_protector" = "x-yes" ; then
7886 aros_target_cc_options="-fno-stack-protector"
7888 CFLAGS="$save_cflags"
7890 #-----------------------------------------------------------------------------
7892 { echo "$as_me:$LINENO: checking for type of build" >&5
7893 echo $ECHO_N "checking for type of build... $ECHO_C" >&6; }
7894 # Check whether --enable-build_type was given.
7895 if test "${enable_build_type+set}" = set; then
7896 enableval=$enable_build_type; build_type=$enableval
7898 build_type="personal"
7902 if test "$build_type" = "nightly"; then
7903 build_type_string="NIGHTLY"
7904 elif test "$build_type" = "snapshot"; then
7905 build_type_string="SNAPSHOT"
7906 elif test "$build_type" = "milestone"; then
7907 build_type_string="MILESTONE"
7908 elif test "$build_type" = "release"; then
7909 build_type_string="RELEASE"
7911 build_type_string="PERSONAL"
7912 build_type="personal"
7915 aros_config_cflags="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7917 { echo "$as_me:$LINENO: result: $build_type" >&5
7918 echo "${ECHO_T}$build_type" >&6; }
7920 #-----------------------------------------------------------------------------
7921 all_debug_types="messages stack mungwall modules symbols"
7923 { echo "$as_me:$LINENO: checking which debug types to enable" >&5
7924 echo $ECHO_N "checking which debug types to enable... $ECHO_C" >&6; }
7925 # Check whether --enable-debug was given.
7926 if test "${enable_debug+set}" = set; then
7927 enableval=$enable_debug; debug="$enableval"
7933 if test "$debug" = "" -o "$debug" = "no"; then
7935 elif test "$debug" = "yes"; then
7939 if test "$debug" = "all" ; then
7940 debug=$all_debug_types
7941 for d in $all_debug_types; do
7942 export aros_${d}_debug="1"
7945 for d in $all_debug_types; do
7946 export aros_${d}_debug="0"
7950 if test "$debug" != "none"; then
7951 debug=`echo $debug |
sed s
/,/\
/g
`
7954 for d2 in $all_debug_types; do
7955 if test "$d2" = "$d"; then
7960 if test "$found" = "0"; then
7961 { { echo "$as_me:$LINENO: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&5
7962 echo "$as_me: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&2;}
7963 { (exit 1); exit 1; }; }
7965 export aros_${d}_debug="1"
7969 { echo "$as_me:$LINENO: result: $debug" >&5
7970 echo "${ECHO_T}$debug" >&6; }
7972 if test "$aros_messages_debug" = "1"; then
7973 aros_messages_debug="-DADEBUG=1 -DMDEBUG=1"
7975 aros_messages_debug=""
7977 if test "$aros_symbols_debug" = "1"; then
7978 aros_symbols_debug="-g"
7980 aros_symbols_debug=""
7983 # These are the flags to pass when compiling debugged programs
7984 aros_debug_cflags="$aros_symbols_debug $aros_messages_debug"
7985 aros_debug_aflags=""
7986 aros_debug_ldflags="$aros_symbols_debug"
7988 #-----------------------------------------------------------------------------
7989 # Checking for distcc and ccache.
7991 # Always apply the transforms in this particular order. Basically you should
7992 # always run 'ccache distcc compiler' in that order for the best performance.
7994 { echo "$as_me:$LINENO: checking whether to enable distcc" >&5
7995 echo $ECHO_N "checking whether to enable distcc... $ECHO_C" >&6; }
7996 # Check whether --enable-distcc was given.
7997 if test "${enable_distcc+set}" = set; then
7998 enableval=$enable_distcc; distcc="$enableval"
8003 if test "$distcc" != "" -a "$distcc" != "no"; then
8004 # AC_CHECK_PROG will print out the result in this case
8005 # Extract the first word of "distcc", so it can be a program name with args.
8006 set dummy distcc; ac_word=$2
8007 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8009 if test "${ac_cv_path_DISTCC+set}" = set; then
8010 echo $ECHO_N "(cached) $ECHO_C" >&6
8014 ac_cv_path_DISTCC="$DISTCC" # Let the user override the test with a path.
8017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8021 test -z "$as_dir" && as_dir=.
8022 for ac_exec_ext in '' $ac_executable_extensions; do
8023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8024 ac_cv_path_DISTCC="$as_dir/$ac_word$ac_exec_ext"
8025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8032 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC="distcc"
8036 DISTCC=$ac_cv_path_DISTCC
8037 if test -n "$DISTCC"; then
8038 { echo "$as_me:$LINENO: result: $DISTCC" >&5
8039 echo "${ECHO_T}$DISTCC" >&6; }
8041 { echo "$as_me:$LINENO: result: no" >&5
8042 echo "${ECHO_T}no" >&6; }
8047 { echo "$as_me:$LINENO: result: no" >&5
8048 echo "${ECHO_T}no" >&6; }
8051 { echo "$as_me:$LINENO: checking whether to enable ccache" >&5
8052 echo $ECHO_N "checking whether to enable ccache... $ECHO_C" >&6; }
8053 # Check whether --enable-ccache was given.
8054 if test "${enable_ccache+set}" = set; then
8055 enableval=$enable_ccache; ccache="$enableval"
8060 if test "$ccache" != "" -a "$ccache" != "no"; then
8061 # AC_CHECK_PROG will print out the result in this case
8062 # Extract the first word of "ccache", so it can be a program name with args.
8063 set dummy ccache; ac_word=$2
8064 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8066 if test "${ac_cv_prog_CCACHE+set}" = set; then
8067 echo $ECHO_N "(cached) $ECHO_C" >&6
8069 if test -n "$CCACHE"; then
8070 ac_cv_prog_CCACHE="$CCACHE" # Let the user override the test.
8072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8076 test -z "$as_dir" && as_dir=.
8077 for ac_exec_ext in '' $ac_executable_extensions; do
8078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8079 ac_cv_prog_CCACHE="ccache"
8080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8089 CCACHE=$ac_cv_prog_CCACHE
8090 if test -n "$CCACHE"; then
8091 { echo "$as_me:$LINENO: result: $CCACHE" >&5
8092 echo "${ECHO_T}$CCACHE" >&6; }
8094 { echo "$as_me:$LINENO: result: no" >&5
8095 echo "${ECHO_T}no" >&6; }
8100 { echo "$as_me:$LINENO: result: no" >&5
8101 echo "${ECHO_T}no" >&6; }
8104 #-----------------------------------------------------------------------------
8105 { echo "$as_me:$LINENO: checking what optimization flags to use" >&5
8106 echo $ECHO_N "checking what optimization flags to use... $ECHO_C" >&6; }
8108 # Check whether --with-optimization was given.
8109 if test "${with_optimization+set}" = set; then
8110 withval=$with_optimization; optimization="$withval"
8112 optimization="unknown"
8115 if test "$optimization" = "unknown"; then
8116 if test "$debug" != "none"; then
8122 aros_config_cflags="$aros_config_cflags $optimization"
8123 { echo "$as_me:$LINENO: result: $optimization" >&5
8124 echo "${ECHO_T}$optimization" >&6; }
8126 #-----------------------------------------------------------------------------
8127 { echo "$as_me:$LINENO: checking what target variant to enable" >&5
8128 echo $ECHO_N "checking what target variant to enable... $ECHO_C" >&6; }
8129 # Check whether --enable-target_variant was given.
8130 if test "${enable_target_variant+set}" = set; then
8131 enableval=$enable_target_variant; target_variant=$enableval
8133 target_variant="none"
8136 if test "$target_variant" = "none"; then
8137 aros_target_variant=""
8138 aros_target_suffix=""
8140 aros_target_variant="$target_variant"
8141 aros_target_suffix="-$target_variant"
8143 { echo "$as_me:$LINENO: result: $enableval" >&5
8144 echo "${ECHO_T}$enableval" >&6; }
8146 #-----------------------------------------------------------------------------
8147 # This is the target configuration switch.
8148 case "$target_os" in
8150 aros_target_arch="linux"
8151 case "$target_cpu" in
8153 aros_target_cpu="m68k"
8154 aros_object_format="m68kelf"
8155 aros_flavour="emulcompat"
8156 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
8157 aros_shared_ldflags="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
8158 aros_kernel_ldflags="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
8159 gcc_target_cpu="mc68000"
8162 aros_target_cpu="i386"
8163 aros_object_format="elf_i386"
8164 aros_flavour="emulation"
8165 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
8166 aros_default_wbdepth=8
8167 gcc_target_cpu="i386"
8170 aros_target_cpu="x86_64"
8171 aros_object_format="elf_x86_64"
8172 aros_flavour="emulation"
8173 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
8174 aros_default_wbdepth=8
8175 gcc_target_cpu="x86_64"
8178 aros_target_cpu="ppc"
8179 aros_object_format="elf32ppc"
8180 aros_flavour="emulation"
8181 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8182 aros_default_wbdepth=8
8183 gcc_target_cpu="ppc"
8186 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Linux -- $target_cpu\"" >&5
8187 echo "$as_me: error: \"Unknown CPU for Linux -- $target_cpu\"" >&2;}
8188 { (exit 1); exit 1; }; }
8194 aros_target_arch="pc"
8195 aros_shared_default="no"
8196 case "$target_cpu" in
8198 aros_target_cpu="i386"
8201 if test "$aros_object_format" = "" ; then
8202 aros_object_format="elf_i386"
8204 aros_flavour="standalone"
8205 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386"
8206 aros_kernel_ldflags=""
8207 aros_default_wbwidth=640
8208 aros_default_wbheight=480
8209 gcc_target_cpu="i386"
8212 aros_target_cpu="x86_64"
8213 if test "$aros_object_format" = "" ; then
8214 aros_object_format="elf_x86_64"
8216 aros_flavour="standalone"
8217 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8218 aros_config_cflags="$aros_config_cflags -fno-asynchronous-unwind-tables"
8219 aros_kernel_ldflags=""
8220 aros_default_wbwidth=640
8221 aros_default_wbheight=480
8222 gcc_target_cpu="x86_64"
8225 { { echo "$as_me:$LINENO: error: \"Unknown native CPU -- $target_cpu\"" >&5
8226 echo "$as_me: error: \"Unknown native CPU -- $target_cpu\"" >&2;}
8227 { (exit 1); exit 1; }; }
8233 aros_target_arch="prep"
8234 aros_shared_default="no"
8235 aros_target_cpu="ppc"
8236 aros_object_format="elf32ppc"
8237 aros_flavour="ppcnative"
8238 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc"
8239 aros_kernel_ldflags=""
8240 aros_default_wbwidth=640
8241 aros_default_wbheight=480
8242 gcc_target_cpu="ppc"
8243 case "$target_cpu" in
8245 aros_target_cc="ppc-linux-gcc -pipe"
8246 aros_target_ld="ppc-linux-ld"
8247 aros_target_as="ppc-linux-as"
8248 aros_target_ar="ppc-linux-ar"
8249 aros_target_ranlib="ppc-linux-ranlib"
8250 aros_target_nm="ppc-linux-nm"
8251 aros_target_strip="ppc-linux-strip"
8252 aros_target_objcopy="ppc-linux-objcopy"
8253 aros_target_objdump="ppc-linux-objdump"
8254 aros_shared_ld="ppc-linux-ld"
8255 aros_kernel_ld="ppc-linux-ld"
8263 aros_target_arch="freebsd"
8264 aros_target_cpu="i386"
8265 aros_flavour="emulation"
8266 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386"
8267 gcc_target_cpu="i386"
8269 aros_target_strip_flags="-x"
8273 aros_target_arch="darwin"
8274 aros_target_cpu="i386"
8275 aros_flavour="emulation"
8276 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386"
8277 gcc_target_cpu="i386"
8279 aros_target_strip_flags="-x"
8283 aros_target_arch="netbsd"
8284 case "$target_cpu" in
8286 aros_target_cpu="m68k"
8287 aros_object_format="m68kelf"
8288 aros_flavour="emulcompat"
8289 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8290 gcc_target_cpu="mc68000"
8293 aros_target_cpu="i386"
8294 aros_object_format="elf_i386"
8295 aros_flavour="emulation"
8296 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8297 aros_default_wbdepth=8
8298 gcc_target_cpu="i386"
8301 { { echo "$as_me:$LINENO: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&5
8302 echo "$as_me: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&2;}
8303 { (exit 1); exit 1; }; }
8306 aros_target_genmap="-Wl,-M -Xlinker >"
8307 aros_flavour="emulation"
8308 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386"
8312 aros_target_arch="openbsd"
8313 case "$target_cpu" in
8315 aros_target_cpu="i386"
8316 aros_object_format="elf_i386"
8317 aros_flavour="emulation"
8318 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8319 gcc_target_cpu="i386"
8322 { { echo "$as_me:$LINENO: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&5
8323 echo "$as_me: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&2;}
8324 { (exit 1); exit 1; }; }
8327 aros_target_genmap="-Wl,-M -Xlinker >"
8328 aros_target_nm_flags="-u"
8329 aros_flavour="emulation"
8333 aros_target_arch="solaris"
8334 case "$target_cpu" in
8336 aros_target_cpu="sparc"
8337 aros_object_format="elf_sparc"
8338 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8339 gcc_target_cpu="sparc"
8342 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&5
8343 echo "$as_me: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&2;}
8344 { (exit 1); exit 1; }; }
8347 aros_config_cflags="$aros_config_cflags -D$aros_target_cpu"
8348 aros_flavour="emulation"
8352 aros_target_arch="morphos"
8353 aros_shared_default="no"
8354 aros_target_cpu="ppc"
8355 aros_object_format="elf_ppc"
8356 aros_flavour="nativecompat"
8357 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc"
8358 gcc_target_cpu="ppc"
8362 aros_target_arch="amiga"
8363 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8364 aros_shared_default="no"
8366 aros_config_cflags="$aros_config_cflags -fomit-frame-pointer -fbuiltin -ffreestanding"
8368 case "$target_cpu" in
8370 aros_target_cpu="m68k"
8371 aros_object_format="m68kelf"
8372 aros_flavour="nativecompat"
8373 gcc_target_cpu="mc68000"
8377 aros_flavour="native"
8378 gcc_target_cpu="ppc"
8381 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Amiga $target_cpu\"" >&5
8382 echo "$as_me: error: \"Unknown CPU for Amiga $target_cpu\"" >&2;}
8383 { (exit 1); exit 1; }; }
8389 aros_target_arch="cygwin"
8390 aros_shared_default="no"
8391 case "$target_cpu" in
8393 aros_target_cpu="i386"
8394 aros_object_format="elf_i386"
8395 aros_flavour="emulation"
8396 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386 -D__CYGWIN32__"
8397 aros_shared_cflags=""
8398 aros_default_wbdepth=8
8399 gcc_target_cpu="i386"
8402 { { echo "$as_me:$LINENO: error: \"Unknown CPU for CygWin -- $target_cpu\"" >&5
8403 echo "$as_me: error: \"Unknown CPU for CygWin -- $target_cpu\"" >&2;}
8404 { (exit 1); exit 1; }; }
8409 aros_target_arch="pp"
8410 aros_shared_default="no"
8411 case "$target_cpu" in
8413 aros_target_cpu="m68k"
8414 aros_object_format="m68kelf"
8415 aros_flavour="palmnative"
8416 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dm68k"
8417 aros_kernel_ldflags=""
8418 aros_default_wbwidth=160
8419 aros_default_wbheight=160
8420 aros_default_wbdepth=1
8421 aros_target_cc="m68k-elf-gcc -pipe"
8422 aros_target_ld="$(which m68k-elf-ld)"
8423 aros_target_as="m68k-elf-gcc -pipe"
8424 aros_shared_ld="m68k-elf-gcc"
8425 aros_kernel_ld="m68k-elf-gcc"
8426 aros_target_ar="m68k-elf-ar"
8427 aros_target_ar_flags="cru"
8428 aros_target_ranlib="m68k-elf-ranlib"
8429 aros_target_nm="m68k-elf-nm"
8430 aros_target_objcopy="m68k-elf-objcopy"
8431 aros_target_objdump="m68k-elf-objdump"
8432 aros_compiler_libs="-lgcc1"
8433 aros_shared_default=no
8434 aros_shared_cflags="-fpic"
8435 aros_shared_aflags=""
8436 aros_shared_ldflags="-Wl,-rpath,./lib -shared"
8437 aros_kernel_ldflags="-Wl,-rpath,./lib"
8438 aros_debug_cflags="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
8439 aros_debug_aflags=""
8440 aros_debug_ldflags="$aros_symbols_debug"
8441 aros_mungwall_debug="0"
8442 aros_modules_debug="0"
8443 gcc_target_cpu="mc68000"
8444 ignore_undefined_symbols="-ius"
8447 { { echo "$as_me:$LINENO: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&5
8448 echo "$as_me: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&2;}
8449 { (exit 1); exit 1; }; }
8455 aros_target_arch="mac"
8456 aros_shared_default="no"
8457 case "$target_cpu" in
8459 aros_target_cpu="m68k"
8460 aros_object_format="m68kelf"
8461 aros_flavour="mac68knative"
8462 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dm68k"
8463 aros_default_wbwidth=512
8464 aros_default_wbheight=384
8465 aros_default_wbdepth=8
8466 aros_target_cc="m68k-elf-gcc -pipe"
8467 aros_target_ld="$(which m68k-elf-ld)"
8468 aros_target_as="m68k-elf-gcc -pipe"
8469 aros_shared_ld="m68k-elf-gcc"
8470 aros_kernel_ld="m68k-elf-gcc"
8471 aros_target_ar="m68k-elf-ar"
8472 aros_target_ar_flags="cru"
8473 aros_target_ranlib="m68k-elf-ranlib"
8474 aros_target_nm="m68k-elf-nm"
8475 aros_target_objcopy="m68k-elf-objcopy"
8476 aros_target_objdump="m68k-elf-objdump"
8477 aros_compiler_libs="-lgcc1"
8478 aros_shared_default=no
8479 aros_shared_cflags="-fpic"
8480 aros_shared_aflags=""
8481 aros_shared_ldflags="-Wl,-rpath,./lib -shared"
8482 aros_kernel_ldflags="-Wl,-rpath,./lib"
8483 aros_debug_cflags="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000"
8484 aros_debug_aflags=""
8485 aros_debug_ldflags="$aros_symbols_debug"
8486 aros_mungwall_debug="0"
8487 aros_modules_debug="0"
8488 gcc_target_cpu="mc68000"
8489 ignore_undefined_symbols="-ius"
8492 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&5
8493 echo "$as_me: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&2;}
8494 { (exit 1); exit 1; }; }
8500 { { echo "$as_me:$LINENO: error: Unsupported target architecture $target" >&5
8501 echo "$as_me: error: Unsupported target architecture $target" >&2;}
8502 { (exit 1); exit 1; }; }
8507 # Find out if we are cross-compiling (ie. if we can't use the host compiler
8510 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
8513 if test "$aros_host_arch" == "darwin" ; then
8517 # Set prefix for target compiler etc. if we're cross-compiling
8518 # (should possibly be earlier but needs to be after AC_PROG_CC)
8519 if test "$cross_compiling" = "yes" ; then
8520 target_tool_prefix=${target_cpu}-elf-
8521 CC=${target_tool_prefix}gcc
8524 # Find all the tools we need to compile. This could be cross-compiling
8525 # though! If that is the case we use the GNU form of the target and
8526 # simply add this to the front of the binary name. This is rather simple,
8527 # but it should work under most circumstances.
8529 # The default tools are to use the same as the host, but only if the
8530 # host and target CPU are the same. With GCC this is normally enough.
8534 aros_shared_ld="$aros_host_ld"
8536 aros_target_mkdep="$aros_host_mkdep"
8537 aros_target_incl_def="$aros_host_incl"
8539 # Extract the first word of "$CC", so it can be a program name with args.
8540 set dummy $CC; ac_word=$2
8541 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8543 if test "${ac_cv_path_aros_kernel_cc+set}" = set; then
8544 echo $ECHO_N "(cached) $ECHO_C" >&6
8546 case $aros_kernel_cc in
8548 ac_cv_path_aros_kernel_cc="$aros_kernel_cc" # Let the user override the test with a path.
8551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8555 test -z "$as_dir" && as_dir=.
8556 for ac_exec_ext in '' $ac_executable_extensions; do
8557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8558 ac_cv_path_aros_kernel_cc="$as_dir/$ac_word$ac_exec_ext"
8559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8569 aros_kernel_cc=$ac_cv_path_aros_kernel_cc
8570 if test -n "$aros_kernel_cc"; then
8571 { echo "$as_me:$LINENO: result: $aros_kernel_cc" >&5
8572 echo "${ECHO_T}$aros_kernel_cc" >&6; }
8574 { echo "$as_me:$LINENO: result: no" >&5
8575 echo "${ECHO_T}no" >&6; }
8580 # The default tools executables to be linked to.
8582 if test "$cross_compiling" = "yes" ; then
8583 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
8584 set dummy ${target_tool_prefix}as; ac_word=$2
8585 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8587 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
8588 echo $ECHO_N "(cached) $ECHO_C" >&6
8590 case $aros_target_as_ln in
8592 ac_cv_path_aros_target_as_ln="$aros_target_as_ln" # Let the user override the test with a path.
8595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8599 test -z "$as_dir" && as_dir=.
8600 for ac_exec_ext in '' $ac_executable_extensions; do
8601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8602 ac_cv_path_aros_target_as_ln="$as_dir/$ac_word$ac_exec_ext"
8603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8613 aros_target_as_ln=$ac_cv_path_aros_target_as_ln
8614 if test -n "$aros_target_as_ln"; then
8615 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
8616 echo "${ECHO_T}$aros_target_as_ln" >&6; }
8618 { echo "$as_me:$LINENO: result: no" >&5
8619 echo "${ECHO_T}no" >&6; }
8624 if test "$GCC" = "yes"; then
8625 aros_gcc_as=`$CC -print-prog-name=as
`
8626 # Extract the first word of "`basename $aros_gcc_[as
]`", so it can be a program name with args.
8627 set dummy `basename $aros_gcc_as`; ac_word=$2
8628 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8630 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
8631 echo $ECHO_N "(cached) $ECHO_C" >&6
8633 case $aros_target_as_ln in
8635 ac_cv_path_aros_target_as_ln="$aros_target_as_ln" # Let the user override the test with a path.
8638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8639 for as_dir in `dirname $aros_gcc_as`
8642 test -z "$as_dir" && as_dir=.
8643 for ac_exec_ext in '' $ac_executable_extensions; do
8644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8645 ac_cv_path_aros_target_as_ln="$as_dir/$ac_word$ac_exec_ext"
8646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8656 aros_target_as_ln=$ac_cv_path_aros_target_as_ln
8657 if test -n "$aros_target_as_ln"; then
8658 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
8659 echo "${ECHO_T}$aros_target_as_ln" >&6; }
8661 { echo "$as_me:$LINENO: result: no" >&5
8662 echo "${ECHO_T}no" >&6; }
8667 if test "$aros_target_as_ln" = ""; then
8668 # Extract the first word of "as", so it can be a program name with args.
8669 set dummy as; ac_word=$2
8670 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8672 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
8673 echo $ECHO_N "(cached) $ECHO_C" >&6
8675 case $aros_target_as_ln in
8677 ac_cv_path_aros_target_as_ln="$aros_target_as_ln" # Let the user override the test with a path.
8680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8684 test -z "$as_dir" && as_dir=.
8685 for ac_exec_ext in '' $ac_executable_extensions; do
8686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8687 ac_cv_path_aros_target_as_ln="$as_dir/$ac_word$ac_exec_ext"
8688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8698 aros_target_as_ln=$ac_cv_path_aros_target_as_ln
8699 if test -n "$aros_target_as_ln"; then
8700 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
8701 echo "${ECHO_T}$aros_target_as_ln" >&6; }
8703 { echo "$as_me:$LINENO: result: no" >&5
8704 echo "${ECHO_T}no" >&6; }
8711 if test "$aros_target_as_ln" = ""; then
8712 { { echo "$as_me:$LINENO: error: as is required to build AROS. Please install and run configure again." >&5
8713 echo "$as_me: error: as is required to build AROS. Please install and run configure again." >&2;}
8714 { (exit 1); exit 1; }; }
8717 if test "$cross_compiling" = "yes" ; then
8718 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
8719 set dummy ${target_tool_prefix}ld; ac_word=$2
8720 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8722 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
8723 echo $ECHO_N "(cached) $ECHO_C" >&6
8725 case $aros_kernel_ld in
8727 ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path.
8730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8734 test -z "$as_dir" && as_dir=.
8735 for ac_exec_ext in '' $ac_executable_extensions; do
8736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8737 ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext"
8738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8748 aros_kernel_ld=$ac_cv_path_aros_kernel_ld
8749 if test -n "$aros_kernel_ld"; then
8750 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
8751 echo "${ECHO_T}$aros_kernel_ld" >&6; }
8753 { echo "$as_me:$LINENO: result: no" >&5
8754 echo "${ECHO_T}no" >&6; }
8759 if test "$GCC" = "yes"; then
8760 aros_gcc_ld=`$CC -print-prog-name=ld
`
8761 # Extract the first word of "`basename $aros_gcc_[ld
]`", so it can be a program name with args.
8762 set dummy `basename $aros_gcc_ld`; ac_word=$2
8763 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8765 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
8766 echo $ECHO_N "(cached) $ECHO_C" >&6
8768 case $aros_kernel_ld in
8770 ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path.
8773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8774 for as_dir in `dirname $aros_gcc_ld`
8777 test -z "$as_dir" && as_dir=.
8778 for ac_exec_ext in '' $ac_executable_extensions; do
8779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8780 ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext"
8781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8791 aros_kernel_ld=$ac_cv_path_aros_kernel_ld
8792 if test -n "$aros_kernel_ld"; then
8793 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
8794 echo "${ECHO_T}$aros_kernel_ld" >&6; }
8796 { echo "$as_me:$LINENO: result: no" >&5
8797 echo "${ECHO_T}no" >&6; }
8802 if test "$aros_kernel_ld" = ""; then
8803 # Extract the first word of "ld", so it can be a program name with args.
8804 set dummy ld; ac_word=$2
8805 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8807 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
8808 echo $ECHO_N "(cached) $ECHO_C" >&6
8810 case $aros_kernel_ld in
8812 ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path.
8815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8819 test -z "$as_dir" && as_dir=.
8820 for ac_exec_ext in '' $ac_executable_extensions; do
8821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8822 ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext"
8823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8833 aros_kernel_ld=$ac_cv_path_aros_kernel_ld
8834 if test -n "$aros_kernel_ld"; then
8835 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
8836 echo "${ECHO_T}$aros_kernel_ld" >&6; }
8838 { echo "$as_me:$LINENO: result: no" >&5
8839 echo "${ECHO_T}no" >&6; }
8846 if test "$aros_kernel_ld" = ""; then
8847 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
8848 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
8849 { (exit 1); exit 1; }; }
8852 if test "$cross_compiling" = "yes" ; then
8853 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
8854 set dummy ${target_tool_prefix}ar; ac_word=$2
8855 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8857 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
8858 echo $ECHO_N "(cached) $ECHO_C" >&6
8860 case $aros_target_ar_ln in
8862 ac_cv_path_aros_target_ar_ln="$aros_target_ar_ln" # Let the user override the test with a path.
8865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8869 test -z "$as_dir" && as_dir=.
8870 for ac_exec_ext in '' $ac_executable_extensions; do
8871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8872 ac_cv_path_aros_target_ar_ln="$as_dir/$ac_word$ac_exec_ext"
8873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8883 aros_target_ar_ln=$ac_cv_path_aros_target_ar_ln
8884 if test -n "$aros_target_ar_ln"; then
8885 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
8886 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
8888 { echo "$as_me:$LINENO: result: no" >&5
8889 echo "${ECHO_T}no" >&6; }
8894 if test "$GCC" = "yes"; then
8895 aros_gcc_ar=`$CC -print-prog-name=ar`
8896 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
8897 set dummy `basename $aros_gcc_ar`; ac_word=$2
8898 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8900 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
8901 echo $ECHO_N "(cached) $ECHO_C" >&6
8903 case $aros_target_ar_ln in
8905 ac_cv_path_aros_target_ar_ln="$aros_target_ar_ln" # Let the user override the test with a path.
8908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8909 for as_dir in `dirname $aros_gcc_ar`
8912 test -z "$as_dir" && as_dir=.
8913 for ac_exec_ext in '' $ac_executable_extensions; do
8914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8915 ac_cv_path_aros_target_ar_ln="$as_dir/$ac_word$ac_exec_ext"
8916 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8926 aros_target_ar_ln=$ac_cv_path_aros_target_ar_ln
8927 if test -n "$aros_target_ar_ln"; then
8928 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
8929 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
8931 { echo "$as_me:$LINENO: result: no" >&5
8932 echo "${ECHO_T}no" >&6; }
8937 if test "$aros_target_ar_ln" = ""; then
8938 # Extract the first word of "ar", so it can be a program name with args.
8939 set dummy ar; ac_word=$2
8940 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8941 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8942 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
8943 echo $ECHO_N "(cached) $ECHO_C" >&6
8945 case $aros_target_ar_ln in
8947 ac_cv_path_aros_target_ar_ln="$aros_target_ar_ln" # Let the user override the test with a path.
8950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8954 test -z "$as_dir" && as_dir=.
8955 for ac_exec_ext in '' $ac_executable_extensions; do
8956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8957 ac_cv_path_aros_target_ar_ln="$as_dir/$ac_word$ac_exec_ext"
8958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8968 aros_target_ar_ln=$ac_cv_path_aros_target_ar_ln
8969 if test -n "$aros_target_ar_ln"; then
8970 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
8971 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
8973 { echo "$as_me:$LINENO: result: no" >&5
8974 echo "${ECHO_T}no" >&6; }
8981 if test "$aros_target_ar_ln" = ""; then
8982 { { echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
8983 echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
8984 { (exit 1); exit 1; }; }
8987 if test "$cross_compiling" = "yes" ; then
8988 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
8989 set dummy ${target_tool_prefix}nm; ac_word=$2
8990 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8992 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
8993 echo $ECHO_N "(cached) $ECHO_C" >&6
8995 case $aros_target_nm_ln in
8997 ac_cv_path_aros_target_nm_ln="$aros_target_nm_ln" # Let the user override the test with a path.
9000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9004 test -z "$as_dir" && as_dir=.
9005 for ac_exec_ext in '' $ac_executable_extensions; do
9006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9007 ac_cv_path_aros_target_nm_ln="$as_dir/$ac_word$ac_exec_ext"
9008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9018 aros_target_nm_ln=$ac_cv_path_aros_target_nm_ln
9019 if test -n "$aros_target_nm_ln"; then
9020 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
9021 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
9023 { echo "$as_me:$LINENO: result: no" >&5
9024 echo "${ECHO_T}no" >&6; }
9029 if test "$GCC" = "yes"; then
9030 aros_gcc_nm=`$CC -print-prog-name=nm
`
9031 # Extract the first word of "`basename $aros_gcc_[nm
]`", so it can be a program name with args.
9032 set dummy `basename $aros_gcc_nm`; ac_word=$2
9033 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9035 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
9036 echo $ECHO_N "(cached) $ECHO_C" >&6
9038 case $aros_target_nm_ln in
9040 ac_cv_path_aros_target_nm_ln="$aros_target_nm_ln" # Let the user override the test with a path.
9043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9044 for as_dir in `dirname $aros_gcc_nm`
9047 test -z "$as_dir" && as_dir=.
9048 for ac_exec_ext in '' $ac_executable_extensions; do
9049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9050 ac_cv_path_aros_target_nm_ln="$as_dir/$ac_word$ac_exec_ext"
9051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9061 aros_target_nm_ln=$ac_cv_path_aros_target_nm_ln
9062 if test -n "$aros_target_nm_ln"; then
9063 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
9064 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
9066 { echo "$as_me:$LINENO: result: no" >&5
9067 echo "${ECHO_T}no" >&6; }
9072 if test "$aros_target_nm_ln" = ""; then
9073 # Extract the first word of "nm", so it can be a program name with args.
9074 set dummy nm; ac_word=$2
9075 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9077 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
9078 echo $ECHO_N "(cached) $ECHO_C" >&6
9080 case $aros_target_nm_ln in
9082 ac_cv_path_aros_target_nm_ln="$aros_target_nm_ln" # Let the user override the test with a path.
9085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9089 test -z "$as_dir" && as_dir=.
9090 for ac_exec_ext in '' $ac_executable_extensions; do
9091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9092 ac_cv_path_aros_target_nm_ln="$as_dir/$ac_word$ac_exec_ext"
9093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9103 aros_target_nm_ln=$ac_cv_path_aros_target_nm_ln
9104 if test -n "$aros_target_nm_ln"; then
9105 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
9106 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
9108 { echo "$as_me:$LINENO: result: no" >&5
9109 echo "${ECHO_T}no" >&6; }
9116 if test "$aros_target_nm_ln" = ""; then
9117 { { echo "$as_me:$LINENO: error: nm is required to build AROS. Please install and run configure again." >&5
9118 echo "$as_me: error: nm is required to build AROS. Please install and run configure again." >&2;}
9119 { (exit 1); exit 1; }; }
9122 if test "$cross_compiling" = "yes" ; then
9123 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
9124 set dummy ${target_tool_prefix}objcopy; ac_word=$2
9125 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9126 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9127 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
9128 echo $ECHO_N "(cached) $ECHO_C" >&6
9130 case $aros_target_objcopy_ln in
9132 ac_cv_path_aros_target_objcopy_ln="$aros_target_objcopy_ln" # Let the user override the test with a path.
9135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9139 test -z "$as_dir" && as_dir=.
9140 for ac_exec_ext in '' $ac_executable_extensions; do
9141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9142 ac_cv_path_aros_target_objcopy_ln="$as_dir/$ac_word$ac_exec_ext"
9143 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9153 aros_target_objcopy_ln=$ac_cv_path_aros_target_objcopy_ln
9154 if test -n "$aros_target_objcopy_ln"; then
9155 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
9156 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
9158 { echo "$as_me:$LINENO: result: no" >&5
9159 echo "${ECHO_T}no" >&6; }
9164 if test "$GCC" = "yes"; then
9165 aros_gcc_objcopy=`$CC -print-prog-name=objcopy
`
9166 # Extract the first word of "`basename $aros_gcc_[objcopy
]`", so it can be a program name with args.
9167 set dummy `basename $aros_gcc_objcopy`; ac_word=$2
9168 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9170 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
9171 echo $ECHO_N "(cached) $ECHO_C" >&6
9173 case $aros_target_objcopy_ln in
9175 ac_cv_path_aros_target_objcopy_ln="$aros_target_objcopy_ln" # Let the user override the test with a path.
9178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9179 for as_dir in `dirname $aros_gcc_objcopy`
9182 test -z "$as_dir" && as_dir=.
9183 for ac_exec_ext in '' $ac_executable_extensions; do
9184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9185 ac_cv_path_aros_target_objcopy_ln="$as_dir/$ac_word$ac_exec_ext"
9186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9196 aros_target_objcopy_ln=$ac_cv_path_aros_target_objcopy_ln
9197 if test -n "$aros_target_objcopy_ln"; then
9198 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
9199 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
9201 { echo "$as_me:$LINENO: result: no" >&5
9202 echo "${ECHO_T}no" >&6; }
9207 if test "$aros_target_objcopy_ln" = ""; then
9208 # Extract the first word of "objcopy", so it can be a program name with args.
9209 set dummy objcopy; ac_word=$2
9210 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9212 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
9213 echo $ECHO_N "(cached) $ECHO_C" >&6
9215 case $aros_target_objcopy_ln in
9217 ac_cv_path_aros_target_objcopy_ln="$aros_target_objcopy_ln" # Let the user override the test with a path.
9220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9224 test -z "$as_dir" && as_dir=.
9225 for ac_exec_ext in '' $ac_executable_extensions; do
9226 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9227 ac_cv_path_aros_target_objcopy_ln="$as_dir/$ac_word$ac_exec_ext"
9228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9238 aros_target_objcopy_ln=$ac_cv_path_aros_target_objcopy_ln
9239 if test -n "$aros_target_objcopy_ln"; then
9240 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
9241 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
9243 { echo "$as_me:$LINENO: result: no" >&5
9244 echo "${ECHO_T}no" >&6; }
9251 if test "$aros_target_objcopy_ln" = ""; then
9252 { { echo "$as_me:$LINENO: error: objcopy is required to build AROS. Please install and run configure again." >&5
9253 echo "$as_me: error: objcopy is required to build AROS. Please install and run configure again." >&2;}
9254 { (exit 1); exit 1; }; }
9257 if test "$cross_compiling" = "yes" ; then
9258 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
9259 set dummy ${target_tool_prefix}objdump; ac_word=$2
9260 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9262 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
9263 echo $ECHO_N "(cached) $ECHO_C" >&6
9265 case $aros_target_objdump_ln in
9267 ac_cv_path_aros_target_objdump_ln="$aros_target_objdump_ln" # Let the user override the test with a path.
9270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9274 test -z "$as_dir" && as_dir=.
9275 for ac_exec_ext in '' $ac_executable_extensions; do
9276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9277 ac_cv_path_aros_target_objdump_ln="$as_dir/$ac_word$ac_exec_ext"
9278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9288 aros_target_objdump_ln=$ac_cv_path_aros_target_objdump_ln
9289 if test -n "$aros_target_objdump_ln"; then
9290 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
9291 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
9293 { echo "$as_me:$LINENO: result: no" >&5
9294 echo "${ECHO_T}no" >&6; }
9299 if test "$GCC" = "yes"; then
9300 aros_gcc_objdump=`$CC -print-prog-name=objdump
`
9301 # Extract the first word of "`basename $aros_gcc_[objdump
]`", so it can be a program name with args.
9302 set dummy `basename $aros_gcc_objdump`; ac_word=$2
9303 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9305 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
9306 echo $ECHO_N "(cached) $ECHO_C" >&6
9308 case $aros_target_objdump_ln in
9310 ac_cv_path_aros_target_objdump_ln="$aros_target_objdump_ln" # Let the user override the test with a path.
9313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9314 for as_dir in `dirname $aros_gcc_objdump`
9317 test -z "$as_dir" && as_dir=.
9318 for ac_exec_ext in '' $ac_executable_extensions; do
9319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9320 ac_cv_path_aros_target_objdump_ln="$as_dir/$ac_word$ac_exec_ext"
9321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9331 aros_target_objdump_ln=$ac_cv_path_aros_target_objdump_ln
9332 if test -n "$aros_target_objdump_ln"; then
9333 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
9334 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
9336 { echo "$as_me:$LINENO: result: no" >&5
9337 echo "${ECHO_T}no" >&6; }
9342 if test "$aros_target_objdump_ln" = ""; then
9343 # Extract the first word of "objdump", so it can be a program name with args.
9344 set dummy objdump; ac_word=$2
9345 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9347 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
9348 echo $ECHO_N "(cached) $ECHO_C" >&6
9350 case $aros_target_objdump_ln in
9352 ac_cv_path_aros_target_objdump_ln="$aros_target_objdump_ln" # Let the user override the test with a path.
9355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9359 test -z "$as_dir" && as_dir=.
9360 for ac_exec_ext in '' $ac_executable_extensions; do
9361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9362 ac_cv_path_aros_target_objdump_ln="$as_dir/$ac_word$ac_exec_ext"
9363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9373 aros_target_objdump_ln=$ac_cv_path_aros_target_objdump_ln
9374 if test -n "$aros_target_objdump_ln"; then
9375 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
9376 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
9378 { echo "$as_me:$LINENO: result: no" >&5
9379 echo "${ECHO_T}no" >&6; }
9386 if test "$aros_target_objdump_ln" = ""; then
9387 { { echo "$as_me:$LINENO: error: objdump is required to build AROS. Please install and run configure again." >&5
9388 echo "$as_me: error: objdump is required to build AROS. Please install and run configure again." >&2;}
9389 { (exit 1); exit 1; }; }
9392 if test "$cross_compiling" = "yes" ; then
9393 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
9394 set dummy ${target_tool_prefix}ranlib; ac_word=$2
9395 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9397 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
9398 echo $ECHO_N "(cached) $ECHO_C" >&6
9400 case $aros_target_ranlib_ln in
9402 ac_cv_path_aros_target_ranlib_ln="$aros_target_ranlib_ln" # Let the user override the test with a path.
9405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9409 test -z "$as_dir" && as_dir=.
9410 for ac_exec_ext in '' $ac_executable_extensions; do
9411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9412 ac_cv_path_aros_target_ranlib_ln="$as_dir/$ac_word$ac_exec_ext"
9413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9423 aros_target_ranlib_ln=$ac_cv_path_aros_target_ranlib_ln
9424 if test -n "$aros_target_ranlib_ln"; then
9425 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
9426 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
9428 { echo "$as_me:$LINENO: result: no" >&5
9429 echo "${ECHO_T}no" >&6; }
9434 if test "$GCC" = "yes"; then
9435 aros_gcc_ranlib=`$CC -print-prog-name=ranlib
`
9436 # Extract the first word of "`basename $aros_gcc_[ranlib
]`", so it can be a program name with args.
9437 set dummy `basename $aros_gcc_ranlib`; ac_word=$2
9438 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9440 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
9441 echo $ECHO_N "(cached) $ECHO_C" >&6
9443 case $aros_target_ranlib_ln in
9445 ac_cv_path_aros_target_ranlib_ln="$aros_target_ranlib_ln" # Let the user override the test with a path.
9448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9449 for as_dir in `dirname $aros_gcc_ranlib`
9452 test -z "$as_dir" && as_dir=.
9453 for ac_exec_ext in '' $ac_executable_extensions; do
9454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9455 ac_cv_path_aros_target_ranlib_ln="$as_dir/$ac_word$ac_exec_ext"
9456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9466 aros_target_ranlib_ln=$ac_cv_path_aros_target_ranlib_ln
9467 if test -n "$aros_target_ranlib_ln"; then
9468 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
9469 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
9471 { echo "$as_me:$LINENO: result: no" >&5
9472 echo "${ECHO_T}no" >&6; }
9477 if test "$aros_target_ranlib_ln" = ""; then
9478 # Extract the first word of "ranlib", so it can be a program name with args.
9479 set dummy ranlib; ac_word=$2
9480 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9482 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
9483 echo $ECHO_N "(cached) $ECHO_C" >&6
9485 case $aros_target_ranlib_ln in
9487 ac_cv_path_aros_target_ranlib_ln="$aros_target_ranlib_ln" # Let the user override the test with a path.
9490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9494 test -z "$as_dir" && as_dir=.
9495 for ac_exec_ext in '' $ac_executable_extensions; do
9496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9497 ac_cv_path_aros_target_ranlib_ln="$as_dir/$ac_word$ac_exec_ext"
9498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9508 aros_target_ranlib_ln=$ac_cv_path_aros_target_ranlib_ln
9509 if test -n "$aros_target_ranlib_ln"; then
9510 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
9511 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
9513 { echo "$as_me:$LINENO: result: no" >&5
9514 echo "${ECHO_T}no" >&6; }
9521 if test "$aros_target_ranlib_ln" = ""; then
9522 { { echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
9523 echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
9524 { (exit 1); exit 1; }; }
9527 if test "$cross_compiling" = "yes" ; then
9528 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
9529 set dummy ${target_tool_prefix}strip; ac_word=$2
9530 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9532 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
9533 echo $ECHO_N "(cached) $ECHO_C" >&6
9535 case $aros_target_strip_ln in
9537 ac_cv_path_aros_target_strip_ln="$aros_target_strip_ln" # Let the user override the test with a path.
9540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9544 test -z "$as_dir" && as_dir=.
9545 for ac_exec_ext in '' $ac_executable_extensions; do
9546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9547 ac_cv_path_aros_target_strip_ln="$as_dir/$ac_word$ac_exec_ext"
9548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9558 aros_target_strip_ln=$ac_cv_path_aros_target_strip_ln
9559 if test -n "$aros_target_strip_ln"; then
9560 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
9561 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
9563 { echo "$as_me:$LINENO: result: no" >&5
9564 echo "${ECHO_T}no" >&6; }
9569 if test "$GCC" = "yes"; then
9570 aros_gcc_strip=`$CC -print-prog-name=strip
`
9571 # Extract the first word of "`basename $aros_gcc_[strip
]`", so it can be a program name with args.
9572 set dummy `basename $aros_gcc_strip`; ac_word=$2
9573 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9575 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
9576 echo $ECHO_N "(cached) $ECHO_C" >&6
9578 case $aros_target_strip_ln in
9580 ac_cv_path_aros_target_strip_ln="$aros_target_strip_ln" # Let the user override the test with a path.
9583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9584 for as_dir in `dirname $aros_gcc_strip`
9587 test -z "$as_dir" && as_dir=.
9588 for ac_exec_ext in '' $ac_executable_extensions; do
9589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9590 ac_cv_path_aros_target_strip_ln="$as_dir/$ac_word$ac_exec_ext"
9591 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9601 aros_target_strip_ln=$ac_cv_path_aros_target_strip_ln
9602 if test -n "$aros_target_strip_ln"; then
9603 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
9604 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
9606 { echo "$as_me:$LINENO: result: no" >&5
9607 echo "${ECHO_T}no" >&6; }
9612 if test "$aros_target_strip_ln" = ""; then
9613 # Extract the first word of "strip", so it can be a program name with args.
9614 set dummy strip; ac_word=$2
9615 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9617 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
9618 echo $ECHO_N "(cached) $ECHO_C" >&6
9620 case $aros_target_strip_ln in
9622 ac_cv_path_aros_target_strip_ln="$aros_target_strip_ln" # Let the user override the test with a path.
9625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9629 test -z "$as_dir" && as_dir=.
9630 for ac_exec_ext in '' $ac_executable_extensions; do
9631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9632 ac_cv_path_aros_target_strip_ln="$as_dir/$ac_word$ac_exec_ext"
9633 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9643 aros_target_strip_ln=$ac_cv_path_aros_target_strip_ln
9644 if test -n "$aros_target_strip_ln"; then
9645 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
9646 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
9648 { echo "$as_me:$LINENO: result: no" >&5
9649 echo "${ECHO_T}no" >&6; }
9656 if test "$aros_target_strip_ln" = ""; then
9657 { { echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
9658 echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
9659 { (exit 1); exit 1; }; }
9662 if test "$GCC" = "yes"; then
9663 aros_target_cc_path=`$aros_kernel_cc -print-search-dirs |
grep "programs: =" | cut
-c 12-`
9666 aros_hostcfg_dir="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
9667 aros_targetcfg_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
9668 aros_inc_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
9669 aros_gendir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
9670 aros_geninc_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
9671 aros_tools_dir="bin/${aros_host_arch}-${aros_host_cpu}/tools"
9672 aros_scripts_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
9674 # aros_cc_pre is a variable that is added to the front of the compiler name
9675 # in the generated aros-gcc shell script. We need this to enable the cache
9676 # to work across cleaned builds. Also, support DISTCC using the correct
9677 # environment variable.
9680 if test "x${DISTCC}" != "x" ; then
9681 if test "x${CCACHE}" != "x" ; then
9682 aros_cc_pre="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
9684 aros_cc_pre="${DISTCC} "
9687 if test "x${CCACHE}" != "x" ; then
9688 aros_cc_pre="${CCACHE} "
9692 prefix="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
9694 aros_target_nostdinc_cflags=-nostdinc
9696 aros_target_nostartup_ldflags=-nostartfiles
9698 aros_target_nix_ldflags=-nix
9700 aros_target_detach_ldflags=-detach
9702 aros_target_nostdlib_ldflags=-nostdlib
9706 aros_target_cc="${prefix}-gcc"
9707 aros_target_as="${prefix}-as"
9708 aros_target_ld="${prefix}-ld"
9709 aros_target_ar="${prefix}-ar $aros_target_ar_flags"
9710 aros_target_objcopy=${prefix}-objcopy
9711 aros_target_objdump=${prefix}-objdump
9712 aros_target_ranlib="${prefix}-ranlib $aros_target_ranlib_flags"
9713 aros_target_nm="${prefix}-nm $aros_target_nm_flags"
9714 aros_kernel_nm="${prefix}-nm"
9715 aros_target_strip=${prefix}-strip
9718 # Find the system include path. We can suggest that an alternative is
9719 # used if we don't get it correct. The default is to use /usr/include.
9720 # Which is set in the aros_target_incl_def variable.
9722 # Check whether --enable-includes was given.
9723 if test "${enable_includes+set}" = set; then
9724 enableval=$enable_includes; aros_target_incl=$enable_includes
9726 aros_target_incl=$aros_target_incl_def
9730 { echo "$as_me:$LINENO: checking for the target compiler's include path" >&5
9731 echo $ECHO_N "checking for the target compiler's include path... $ECHO_C" >&6; }
9732 if test "$aros_target_cc_includes" = "" ; then
9733 #try to guess where the directory is
9734 aros_target_cc_includes=`dirname \
`${aros_kernel_cc} -print-libgcc-file-name\``/include
9735 if ! test -d $aros_target_cc_includes; then
9736 #the directory doesn't exist, we need to do some more work
9737 aros_target_cc_includes=${PWD}/${aros_gendir}/cc_include
9739 #these are the headers we're looling for
9740 headers="limits.h mmintrin.h stdbool.h syslimits.h float.h \
9741 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
9745 for h in $headers; do
9746 #which other headers each of the above headers needs?
9747 deps=$(echo "#include <$h>" | \
9748 $aros_host_cc -E -M - 2>/dev/null | \
9749 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
9751 #copy all the needed headers to a directory beneath gendir
9754 dir=${aros_target_cc_includes}$(echo $(dirname $d) | \
9755 sed -n "s,^.*/include\(/.*\),\1,p")
9756 ! test -d $dir && mkdir -p $dir
9757 ! test -f $dir/$h && { cp $d $dir; chmod u+w $dir/$h; }
9762 { echo "$as_me:$LINENO: result: $aros_target_cc_includes" >&5
9763 echo "${ECHO_T}$aros_target_cc_includes" >&6; }
9765 { echo "$as_me:$LINENO: checking for default resolution of WBScreen" >&5
9766 echo $ECHO_N "checking for default resolution of WBScreen... $ECHO_C" >&6; }
9768 # Check whether --with-resolution was given.
9769 if test "${with_resolution+set}" = set; then
9770 withval=$with_resolution; resolution=$withval
9775 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
9776 if test "$resolution" = "yes" ; then
9779 if test "$resolution" = "no" ; then
9782 if test "$resolution" != "none" ; then
9783 aros_default_wbwidth=`echo $resolution | cut
-d'x' -f1`
9784 aros_default_wbheight=`echo $resolution | cut
-d'x' -f2`
9785 aros_default_wbdepth=`echo $resolution | cut
-d'x' -f3`
9787 { echo "$as_me:$LINENO: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
9788 echo "${ECHO_T}$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
9789 aros_cv_default_wbwidth=$aros_default_wbwidth
9790 aros_cv_default_wbheight=$aros_default_wbheight
9791 aros_cv_default_wbdepth=$aros_default_wbdepth
9793 { echo "$as_me:$LINENO: checking if bochs hack is enabled" >&5
9794 echo $ECHO_N "checking if bochs hack is enabled... $ECHO_C" >&6; }
9795 # Check whether --enable-bochs_hack was given.
9796 if test "${enable_bochs_hack+set}" = set; then
9797 enableval=$enable_bochs_hack; bochs_hack="yes"
9802 if test "$bochs_hack" = "yes" ; then
9805 { echo "$as_me:$LINENO: result: $bochs_hack" >&5
9806 echo "${ECHO_T}$bochs_hack" >&6; }
9808 { echo "$as_me:$LINENO: checking if serial debug is enabled" >&5
9809 echo $ECHO_N "checking if serial debug is enabled... $ECHO_C" >&6; }
9811 # Check whether --with-serial-debug was given.
9812 if test "${with_serial_debug+set}" = set; then
9813 withval=$with_serial_debug; serial_debug=$withval
9818 if test "$serial_debug" = "yes" ; then
9821 if test "$serial_debug" = "no" ; then
9824 if test "$serial_debug" != "none" ; then
9825 aros_serial_debug=$serial_debug
9826 { echo "$as_me:$LINENO: result: on port $serial_debug" >&5
9827 echo "${ECHO_T}on port $serial_debug" >&6; }
9829 { echo "$as_me:$LINENO: result: no" >&5
9830 echo "${ECHO_T}no" >&6; }
9833 { echo "$as_me:$LINENO: checking if palm debug hack is enabled" >&5
9834 echo $ECHO_N "checking if palm debug hack is enabled... $ECHO_C" >&6; }
9835 # Check whether --enable-palm_debug_hack was given.
9836 if test "${enable_palm_debug_hack+set}" = set; then
9837 enableval=$enable_palm_debug_hack; palm_debug_hack="yes"
9839 palm_debug_hack="no"
9842 if test "$palm_debug_hack" = "yes" ; then
9843 aros_palm_debug_hack="1"
9845 { echo "$as_me:$LINENO: result: $palm_debug_hack" >&5
9846 echo "${ECHO_T}$palm_debug_hack" >&6; }
9849 { echo "$as_me:$LINENO: checking if nesting supervisor support is enabled" >&5
9850 echo $ECHO_N "checking if nesting supervisor support is enabled... $ECHO_C" >&6; }
9851 # Check whether --enable-nesting_supervisor was given.
9852 if test "${enable_nesting_supervisor+set}" = set; then
9853 enableval=$enable_nesting_supervisor; nesting_supervisor="yes"
9855 nesting_supervisor="no"
9858 if test "$nesting_supervisor" = "yes" ; then
9859 aros_nesting_supervisor="1"
9861 { echo "$as_me:$LINENO: result: $nesting_supervisor" >&5
9862 echo "${ECHO_T}$nesting_supervisor" >&6; }
9865 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9867 { echo "$as_me:$LINENO: checking for dlopen" >&5
9868 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9869 if test "${ac_cv_func_dlopen+set}" = set; then
9870 echo $ECHO_N "(cached) $ECHO_C" >&6
9872 cat >conftest.$ac_ext <<_ACEOF
9875 cat confdefs.h >>conftest.$ac_ext
9876 cat >>conftest.$ac_ext <<_ACEOF
9877 /* end confdefs.h. */
9878 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9880 #define dlopen innocuous_dlopen
9882 /* System header to define __stub macros and hopefully few prototypes,
9883 which can conflict with char dlopen (); below.
9884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9885 <limits.h> exists even on freestanding compilers. */
9888 # include <limits.h>
9890 # include <assert.h>
9895 /* Override any GCC internal prototype to avoid an error.
9896 Use char because int might match the return type of a GCC
9897 builtin and then its argument prototype would still apply. */
9902 /* The GNU C library defines this for functions which it implements
9903 to always fail with ENOSYS. Some functions are actually named
9904 something starting with __ and the normal name is an alias. */
9905 #if defined __stub_dlopen || defined __stub___dlopen
9917 rm -f conftest.$ac_objext conftest$ac_exeext
9918 if { (ac_try="$ac_link"
9920 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9921 *) ac_try_echo
=$ac_try;;
9923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9924 (eval "$ac_link") 2>conftest.er1
9926 grep -v '^ *+' conftest.er1
>conftest.err
9928 cat conftest.err
>&5
9929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9930 (exit $ac_status); } && {
9931 test -z "$ac_c_werror_flag" ||
9932 test ! -s conftest.err
9933 } && test -s conftest
$ac_exeext &&
9934 $as_test_x conftest
$ac_exeext; then
9935 ac_cv_func_dlopen
=yes
9937 echo "$as_me: failed program was:" >&5
9938 sed 's/^/| /' conftest.
$ac_ext >&5
9940 ac_cv_func_dlopen
=no
9943 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9944 conftest
$ac_exeext conftest.
$ac_ext
9946 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9947 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9948 if test $ac_cv_func_dlopen = yes; then
9954 if test "x-$have_dl" = "x-no" ; then
9955 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9956 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9957 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9958 echo $ECHO_N "(cached) $ECHO_C" >&6
9960 ac_check_lib_save_LIBS
=$LIBS
9962 cat >conftest.
$ac_ext <<_ACEOF
9965 cat confdefs.h
>>conftest.
$ac_ext
9966 cat >>conftest.
$ac_ext <<_ACEOF
9967 /* end confdefs.h. */
9969 /* Override any GCC internal prototype to avoid an error.
9970 Use char because int might match the return type of a GCC
9971 builtin and then its argument prototype would still apply. */
9984 rm -f conftest.
$ac_objext conftest
$ac_exeext
9985 if { (ac_try
="$ac_link"
9987 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9988 *) ac_try_echo=$ac_try;;
9990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9991 (eval "$ac_link") 2>conftest.er1
9993 grep -v '^ *+' conftest.er1 >conftest.err
9995 cat conftest.err >&5
9996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9997 (exit $ac_status); } && {
9998 test -z "$ac_c_werror_flag" ||
9999 test ! -s conftest.err
10000 } && test -s conftest$ac_exeext &&
10001 $as_test_x conftest$ac_exeext; then
10002 ac_cv_lib_dl_dlopen=yes
10004 echo "$as_me: failed program was:" >&5
10005 sed 's/^/| /' conftest.$ac_ext >&5
10007 ac_cv_lib_dl_dlopen=no
10010 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10011 conftest$ac_exeext conftest.$ac_ext
10012 LIBS=$ac_check_lib_save_LIBS
10014 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10015 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10016 if test $ac_cv_lib_dl_dlopen = yes; then
10018 aros_host_ldflags="$aros_host_ldflags -ldl"
10024 if test "x-$have_dl" = "x-no" ; then
10025 { { echo "$as_me:$LINENO: error: dlopen() dynamic linker functions not available" >&5
10026 echo "$as_me: error: dlopen() dynamic linker functions not available" >&2;}
10027 { (exit 1); exit 1; }; }
10031 # Check whether --enable-x11_hidd was given.
10032 if test "${enable_x11_hidd+set}" = set; then
10033 enableval=$enable_x11_hidd; x11_hidd="$enableval"
10038 case "x-$x11_hidd" in
10039 x-yes|x-no|x-auto) ;;
10040 *) x11_hidd="auto" ;;
10043 if test "x-$x11_hidd" != "x-no" ; then
10045 { echo "$as_me:$LINENO: checking for X" >&5
10046 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
10049 # Check whether --with-x was given.
10050 if test "${with_x+set}" = set; then
10054 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10055 if test "x$with_x" = xno; then
10056 # The user explicitly disabled X.
10059 case $x_includes,$x_libraries in #(
10060 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
10061 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
10062 { (exit 1); exit 1; }; };; #(
10063 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
10064 echo $ECHO_N "(cached) $ECHO_C" >&6
10066 # One or both of the vars are not set, and there is no cached value.
10067 ac_x_includes=no ac_x_libraries=no
10068 rm -f -r conftest.dir
10069 if mkdir conftest.dir; then
10071 cat >Imakefile <<'_ACEOF'
10073 @echo incroot='${INCROOT}'
10075 @echo usrlibdir='${USRLIBDIR}'
10077 @echo libdir='${LIBDIR}'
10079 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10080 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10081 for ac_var in incroot usrlibdir libdir; do
10082 eval "ac_im_$ac_var=\`\
${MAKE-make} $ac_var 2>/dev
/null |
sed -n 's/^$ac_var=//p'\
`"
10084 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10085 for ac_extension in a so sl; do
10086 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10087 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10088 ac_im_usrlibdir=$ac_im_libdir; break
10091 # Screen out bogus values from the imake configuration. They are
10092 # bogus both because they are the default anyway, and because
10093 # using them would break gcc on systems where it needs fixed includes.
10094 case $ac_im_incroot in
10095 /usr/include) ac_x_includes= ;;
10096 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10098 case $ac_im_usrlibdir in
10099 /usr/lib | /lib) ;;
10100 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10104 rm -f -r conftest.dir
10107 # Standard set of common directories for X headers.
10108 # Check X11 before X11Rn because it is often a symlink to the current release.
10120 /usr/local/X11/include
10121 /usr/local/X11R6/include
10122 /usr/local/X11R5/include
10123 /usr/local/X11R4/include
10125 /usr/local/include/X11
10126 /usr/local/include/X11R6
10127 /usr/local/include/X11R5
10128 /usr/local/include/X11R4
10132 /usr/XFree86/include/X11
10136 /usr/unsupported/include
10137 /usr/athena/include
10138 /usr/local/x11r5/include
10139 /usr/lpp/Xamples/include
10141 /usr/openwin/include
10142 /usr/openwin/share/include'
10144 if test "$ac_x_includes" = no; then
10145 # Guess where to find include files, by looking for Xlib.h.
10146 # First, try using that file with no special directory specified.
10147 cat >conftest.$ac_ext <<_ACEOF
10150 cat confdefs.h >>conftest.$ac_ext
10151 cat >>conftest.$ac_ext <<_ACEOF
10152 /* end confdefs.h. */
10153 #include <X11/Xlib.h>
10155 if { (ac_try="$ac_cpp conftest.$ac_ext"
10156 case "(($ac_try" in
10157 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10158 *) ac_try_echo
=$ac_try;;
10160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10161 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10163 grep -v '^ *+' conftest.er1
>conftest.err
10165 cat conftest.err
>&5
10166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10167 (exit $ac_status); } >/dev
/null
&& {
10168 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10169 test ! -s conftest.err
10171 # We can compile using X headers with no special include directory.
10174 echo "$as_me: failed program was:" >&5
10175 sed 's/^/| /' conftest.
$ac_ext >&5
10177 for ac_dir
in $ac_x_header_dirs; do
10178 if test -r "$ac_dir/X11/Xlib.h"; then
10179 ac_x_includes
=$ac_dir
10185 rm -f conftest.err conftest.
$ac_ext
10186 fi # $ac_x_includes = no
10188 if test "$ac_x_libraries" = no
; then
10189 # Check for the libraries.
10190 # See if we find them without any special options.
10191 # Don't add to $LIBS permanently.
10194 cat >conftest.
$ac_ext <<_ACEOF
10197 cat confdefs.h
>>conftest.
$ac_ext
10198 cat >>conftest.
$ac_ext <<_ACEOF
10199 /* end confdefs.h. */
10200 #include <X11/Xlib.h>
10209 rm -f conftest.
$ac_objext conftest
$ac_exeext
10210 if { (ac_try
="$ac_link"
10211 case "(($ac_try" in
10212 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10213 *) ac_try_echo=$ac_try;;
10215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10216 (eval "$ac_link") 2>conftest.er1
10218 grep -v '^ *+' conftest.er1 >conftest.err
10220 cat conftest.err >&5
10221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10222 (exit $ac_status); } && {
10223 test -z "$ac_c_werror_flag" ||
10224 test ! -s conftest.err
10225 } && test -s conftest$ac_exeext &&
10226 $as_test_x conftest$ac_exeext; then
10228 # We can link X programs with no special library path.
10231 echo "$as_me: failed program was:" >&5
10232 sed 's/^/| /' conftest.$ac_ext >&5
10235 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
10237 # Don't even attempt the hair of trying to link an X program!
10238 for ac_extension in a so sl; do
10239 if test -r "$ac_dir/libX11.$ac_extension"; then
10240 ac_x_libraries=$ac_dir
10247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10248 conftest$ac_exeext conftest.$ac_ext
10249 fi # $ac_x_libraries = no
10251 case $ac_x_includes,$ac_x_libraries in #(
10252 no,* | *,no | *\'*)
10253 # Didn't find X, or a directory has "'" in its name.
10254 ac_cv_have_x="have_x=no";; #(
10256 # Record where we found X for the cache.
10257 ac_cv_have_x="have_x=yes\
10258 ac_x_includes='$ac_x_includes'\
10259 ac_x_libraries='$ac_x_libraries'"
10265 eval "$ac_cv_have_x"
10268 if test "$have_x" != yes; then
10269 { echo "$as_me:$LINENO: result: $have_x" >&5
10270 echo "${ECHO_T}$have_x" >&6; }
10273 # If each of the values was on the command line, it overrides each guess.
10274 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10275 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10276 # Update the cache value to reflect the command line values.
10277 ac_cv_have_x="have_x=yes\
10278 ac_x_includes='$x_includes'\
10279 ac_x_libraries='$x_libraries'"
10280 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
10281 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
10285 if test "x-$no_x" = "x-yes" ; then
10287 if test "x-$x11_hidd" != "x-auto" ; then
10288 { { echo "$as_me:$LINENO: error: X11 libs/headers not found, cannot build X11 hidd as requested" >&5
10289 echo "$as_me: error: X11 libs/headers not found, cannot build X11 hidd as requested" >&2;}
10290 { (exit 1); exit 1; }; }
10294 x11_hidd_target=kernel-x11gfx
10297 # Check whether --enable-x11_shm was given.
10298 if test "${enable_x11_shm+set}" = set; then
10299 enableval=$enable_x11_shm; x11_hidd_shm="$enableval"
10301 x11_hidd_shm="auto"
10304 case "x-$x11_hidd_shm" in
10305 x-yes|x-no|x-auto) ;;
10306 *) x11_hidd_shm="auto" ;;
10311 if test "x-$x11_hidd_shm" != "x-no" ; then
10314 for ac_header in sys/ipc.h
10316 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10317 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10318 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10319 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10320 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10321 echo $ECHO_N "(cached) $ECHO_C" >&6
10323 ac_res=`eval echo '${'$as_ac_Header'}'`
10324 { echo "$as_me:$LINENO: result: $ac_res" >&5
10325 echo "${ECHO_T}$ac_res" >&6; }
10327 # Is the header compilable?
10328 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10329 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10330 cat >conftest.$ac_ext <<_ACEOF
10333 cat confdefs.h >>conftest.$ac_ext
10334 cat >>conftest.$ac_ext <<_ACEOF
10335 /* end confdefs.h. */
10336 $ac_includes_default
10337 #include <$ac_header>
10339 rm -f conftest.$ac_objext
10340 if { (ac_try="$ac_compile"
10341 case "(($ac_try" in
10342 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10343 *) ac_try_echo
=$ac_try;;
10345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10346 (eval "$ac_compile") 2>conftest.er1
10348 grep -v '^ *+' conftest.er1
>conftest.err
10350 cat conftest.err
>&5
10351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10352 (exit $ac_status); } && {
10353 test -z "$ac_c_werror_flag" ||
10354 test ! -s conftest.err
10355 } && test -s conftest.
$ac_objext; then
10356 ac_header_compiler
=yes
10358 echo "$as_me: failed program was:" >&5
10359 sed 's/^/| /' conftest.
$ac_ext >&5
10361 ac_header_compiler
=no
10364 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10365 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10366 echo "${ECHO_T}$ac_header_compiler" >&6; }
10368 # Is the header present?
10369 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10370 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10371 cat >conftest.
$ac_ext <<_ACEOF
10374 cat confdefs.h
>>conftest.
$ac_ext
10375 cat >>conftest.
$ac_ext <<_ACEOF
10376 /* end confdefs.h. */
10377 #include <$ac_header>
10379 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10380 case "(($ac_try" in
10381 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10382 *) ac_try_echo=$ac_try;;
10384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10385 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10387 grep -v '^ *+' conftest.er1 >conftest.err
10389 cat conftest.err >&5
10390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10391 (exit $ac_status); } >/dev/null && {
10392 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10393 test ! -s conftest.err
10395 ac_header_preproc=yes
10397 echo "$as_me: failed program was:" >&5
10398 sed 's/^/| /' conftest.$ac_ext >&5
10400 ac_header_preproc=no
10403 rm -f conftest.err conftest.$ac_ext
10404 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10405 echo "${ECHO_T}$ac_header_preproc" >&6; }
10407 # So? What about this header?
10408 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10410 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10411 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10412 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10413 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10414 ac_header_preproc=yes
10417 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10418 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10419 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10420 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10421 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10422 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10423 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10424 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10425 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10426 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10427 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10428 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10432 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10433 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10434 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10435 echo $ECHO_N "(cached) $ECHO_C" >&6
10437 eval "$as_ac_Header=\$ac_header_preproc"
10439 ac_res=`eval echo '${'$as_ac_Header'}'`
10440 { echo "$as_me:$LINENO: result: $ac_res" >&5
10441 echo "${ECHO_T}$ac_res" >&6; }
10444 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10445 cat >>confdefs.h <<_ACEOF
10446 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10454 for ac_header in sys/shm.h
10456 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10457 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10458 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10459 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10460 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10461 echo $ECHO_N "(cached) $ECHO_C" >&6
10463 ac_res=`eval echo '${'$as_ac_Header'}'`
10464 { echo "$as_me:$LINENO: result: $ac_res" >&5
10465 echo "${ECHO_T}$ac_res" >&6; }
10467 # Is the header compilable?
10468 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10469 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10470 cat >conftest.$ac_ext <<_ACEOF
10473 cat confdefs.h >>conftest.$ac_ext
10474 cat >>conftest.$ac_ext <<_ACEOF
10475 /* end confdefs.h. */
10476 $ac_includes_default
10477 #include <$ac_header>
10479 rm -f conftest.$ac_objext
10480 if { (ac_try="$ac_compile"
10481 case "(($ac_try" in
10482 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10483 *) ac_try_echo
=$ac_try;;
10485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10486 (eval "$ac_compile") 2>conftest.er1
10488 grep -v '^ *+' conftest.er1
>conftest.err
10490 cat conftest.err
>&5
10491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10492 (exit $ac_status); } && {
10493 test -z "$ac_c_werror_flag" ||
10494 test ! -s conftest.err
10495 } && test -s conftest.
$ac_objext; then
10496 ac_header_compiler
=yes
10498 echo "$as_me: failed program was:" >&5
10499 sed 's/^/| /' conftest.
$ac_ext >&5
10501 ac_header_compiler
=no
10504 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10505 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10506 echo "${ECHO_T}$ac_header_compiler" >&6; }
10508 # Is the header present?
10509 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10510 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10511 cat >conftest.
$ac_ext <<_ACEOF
10514 cat confdefs.h
>>conftest.
$ac_ext
10515 cat >>conftest.
$ac_ext <<_ACEOF
10516 /* end confdefs.h. */
10517 #include <$ac_header>
10519 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10520 case "(($ac_try" in
10521 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10522 *) ac_try_echo=$ac_try;;
10524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10525 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10527 grep -v '^ *+' conftest.er1 >conftest.err
10529 cat conftest.err >&5
10530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10531 (exit $ac_status); } >/dev/null && {
10532 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10533 test ! -s conftest.err
10535 ac_header_preproc=yes
10537 echo "$as_me: failed program was:" >&5
10538 sed 's/^/| /' conftest.$ac_ext >&5
10540 ac_header_preproc=no
10543 rm -f conftest.err conftest.$ac_ext
10544 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10545 echo "${ECHO_T}$ac_header_preproc" >&6; }
10547 # So? What about this header?
10548 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10550 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10551 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10552 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10553 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10554 ac_header_preproc=yes
10557 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10558 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10559 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10560 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10561 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10562 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10563 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10564 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10565 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10566 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10567 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10568 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10572 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10573 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10574 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10575 echo $ECHO_N "(cached) $ECHO_C" >&6
10577 eval "$as_ac_Header=\$ac_header_preproc"
10579 ac_res=`eval echo '${'$as_ac_Header'}'`
10580 { echo "$as_me:$LINENO: result: $ac_res" >&5
10581 echo "${ECHO_T}$ac_res" >&6; }
10584 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10585 cat >>confdefs.h <<_ACEOF
10586 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10594 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
10597 save_cflags="$CFLAGS"
10598 LIBS="$x_libraries"
10599 CFLAGS="$x_includes"
10600 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
10601 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
10602 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
10603 echo $ECHO_N "(cached) $ECHO_C" >&6
10605 ac_check_lib_save_LIBS=$LIBS
10606 LIBS="-lXext $LIBS"
10607 cat >conftest.$ac_ext <<_ACEOF
10610 cat confdefs.h >>conftest.$ac_ext
10611 cat >>conftest.$ac_ext <<_ACEOF
10612 /* end confdefs.h. */
10614 /* Override any GCC internal prototype to avoid an error.
10615 Use char because int might match the return type of a GCC
10616 builtin and then its argument prototype would still apply. */
10620 char XShmQueryExtension ();
10624 return XShmQueryExtension ();
10629 rm -f conftest.$ac_objext conftest$ac_exeext
10630 if { (ac_try="$ac_link"
10631 case "(($ac_try" in
10632 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10633 *) ac_try_echo
=$ac_try;;
10635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10636 (eval "$ac_link") 2>conftest.er1
10638 grep -v '^ *+' conftest.er1
>conftest.err
10640 cat conftest.err
>&5
10641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10642 (exit $ac_status); } && {
10643 test -z "$ac_c_werror_flag" ||
10644 test ! -s conftest.err
10645 } && test -s conftest
$ac_exeext &&
10646 $as_test_x conftest
$ac_exeext; then
10647 ac_cv_lib_Xext_XShmQueryExtension
=yes
10649 echo "$as_me: failed program was:" >&5
10650 sed 's/^/| /' conftest.
$ac_ext >&5
10652 ac_cv_lib_Xext_XShmQueryExtension
=no
10655 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10656 conftest
$ac_exeext conftest.
$ac_ext
10657 LIBS
=$ac_check_lib_save_LIBS
10659 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10660 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10661 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
10666 CFLAGS
="$save_cflags"
10670 if test "x-$have_xshm" = "x-yes" ; then
10671 DO_XSHM_SUPPORT
="1"
10672 elif test "x-$x11_hidd_shm" = "x-yes" ; then
10673 { { echo "$as_me:$LINENO: error: X11 has no support for shared memory, cannot enable it as requested" >&5
10674 echo "$as_me: error: X11 has no support for shared memory, cannot enable it as requested" >&2;}
10675 { (exit 1); exit 1; }; }
10677 DO_XSHM_SUPPORT
="0"
10681 # Check whether --enable-x11_vidmode was given.
10682 if test "${enable_x11_vidmode+set}" = set; then
10683 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
10685 x11_hidd_vidmode
="auto"
10688 case "x-$x11_hidd_vidmode" in
10689 x-yes|x-no|x-auto
) ;;
10690 *) x11_hidd_vidmode
="auto" ;;
10695 if test "x-$x11_hidd_vidmode" != "x-no" ; then
10698 save_cflags
="$CFLAGS"
10699 LIBS
="$x_libraries"
10700 CFLAGS
="$x_includes"
10701 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
10702 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
10703 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
10704 echo $ECHO_N "(cached) $ECHO_C" >&6
10706 ac_check_lib_save_LIBS
=$LIBS
10707 LIBS
="-lXxf86vm $LIBS"
10708 cat >conftest.
$ac_ext <<_ACEOF
10711 cat confdefs.h
>>conftest.
$ac_ext
10712 cat >>conftest.
$ac_ext <<_ACEOF
10713 /* end confdefs.h. */
10715 /* Override any GCC internal prototype to avoid an error.
10716 Use char because int might match the return type of a GCC
10717 builtin and then its argument prototype would still apply. */
10721 char XF86VidModeQueryExtension ();
10725 return XF86VidModeQueryExtension ();
10730 rm -f conftest.
$ac_objext conftest
$ac_exeext
10731 if { (ac_try
="$ac_link"
10732 case "(($ac_try" in
10733 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10734 *) ac_try_echo=$ac_try;;
10736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10737 (eval "$ac_link") 2>conftest.er1
10739 grep -v '^ *+' conftest.er1 >conftest.err
10741 cat conftest.err >&5
10742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10743 (exit $ac_status); } && {
10744 test -z "$ac_c_werror_flag" ||
10745 test ! -s conftest.err
10746 } && test -s conftest$ac_exeext &&
10747 $as_test_x conftest$ac_exeext; then
10748 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
10750 echo "$as_me: failed program was:" >&5
10751 sed 's/^/| /' conftest.$ac_ext >&5
10753 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
10756 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10757 conftest$ac_exeext conftest.$ac_ext
10758 LIBS=$ac_check_lib_save_LIBS
10760 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10761 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10762 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
10767 CFLAGS="$save_cflags"
10770 if test "x-$have_vidmode" = "x-yes" ; then
10771 DO_VIDMODE_SUPPORT="1"
10772 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
10773 { { echo "$as_me:$LINENO: error: X11 vidmode extension not available, cannot enable it as requested" >&5
10774 echo "$as_me: error: X11 vidmode extension not available, cannot enable it as requested" >&2;}
10775 { (exit 1); exit 1; }; }
10777 DO_VIDMODE_SUPPORT="0"
10784 # Check whether --enable-sdl_hidd was given.
10785 if test "${enable_sdl_hidd+set}" = set; then
10786 enableval=$enable_sdl_hidd; sdl_hidd="$enableval"
10791 case "x-$sdl_hidd" in
10792 x-yes|x-no|x-auto) ;;
10793 *) sdl_hidd="auto" ;;
10796 if test "x-$sdl_hidd" != "x-no" ; then
10799 # Check whether --with-sdl-prefix was given.
10800 if test "${with_sdl_prefix+set}" = set; then
10801 withval=$with_sdl_prefix; sdl_prefix="$withval"
10807 # Check whether --with-sdl-exec-prefix was given.
10808 if test "${with_sdl_exec_prefix+set}" = set; then
10809 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
10814 # Check whether --enable-sdltest was given.
10815 if test "${enable_sdltest+set}" = set; then
10816 enableval=$enable_sdltest;
10822 if test x$sdl_exec_prefix != x ; then
10823 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
10824 if test x${SDL_CONFIG+set} != xset ; then
10825 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
10828 if test x$sdl_prefix != x ; then
10829 sdl_args="$sdl_args --prefix=$sdl_prefix"
10830 if test x${SDL_CONFIG+set} != xset ; then
10831 SDL_CONFIG=$sdl_prefix/bin/sdl-config
10835 if test "x$prefix" != xNONE; then
10836 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
10838 # Extract the first word of "sdl-config", so it can be a program name with args.
10839 set dummy sdl-config; ac_word=$2
10840 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10842 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
10843 echo $ECHO_N "(cached) $ECHO_C" >&6
10845 case $SDL_CONFIG in
10847 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
10850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10851 for as_dir in $PATH
10854 test -z "$as_dir" && as_dir=.
10855 for ac_exec_ext in '' $ac_executable_extensions; do
10856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10857 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10858 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10865 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
10869 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
10870 if test -n "$SDL_CONFIG"; then
10871 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
10872 echo "${ECHO_T}$SDL_CONFIG" >&6; }
10874 { echo "$as_me:$LINENO: result: no" >&5
10875 echo "${ECHO_T}no" >&6; }
10879 min_sdl_version=1.2.10
10880 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
10881 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
10883 if test "$SDL_CONFIG" = "no" ; then
10886 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
10887 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
10889 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
10890 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10891 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
10892 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10893 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
10894 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10895 if test "x$enable_sdltest" = "xyes" ; then
10896 ac_save_CFLAGS="$CFLAGS"
10897 ac_save_CXXFLAGS="$CXXFLAGS"
10898 ac_save_LIBS="$LIBS"
10899 CFLAGS="$CFLAGS $SDL_CFLAGS"
10900 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
10901 LIBS="$LIBS $SDL_LIBS"
10903 if test "$cross_compiling" = yes; then
10904 echo $ac_n "cross compiling; assumed OK... $ac_c"
10906 cat >conftest.$ac_ext <<_ACEOF
10909 cat confdefs.h >>conftest.$ac_ext
10910 cat >>conftest.$ac_ext <<_ACEOF
10911 /* end confdefs.h. */
10914 #include <stdlib.h>
10915 #include <string.h>
10919 my_strdup (char *str)
10925 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
10926 strcpy (new_str, str);
10934 int main (int argc, char *argv[])
10936 int major, minor, micro;
10939 /* This hangs on some systems (?)
10940 system ("touch conf.sdltest");
10942 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
10944 /* HP/UX 9 (%@#!) writes to sscanf strings */
10945 tmp_version = my_strdup("$min_sdl_version");
10946 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10947 printf("%s, bad version string\n", "$min_sdl_version");
10951 if (($sdl_major_version > major) ||
10952 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
10953 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
10959 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
10960 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
10961 printf("*** best to upgrade to the required version.\n");
10962 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
10963 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
10964 printf("*** config.cache before re-running configure\n");
10971 rm -f conftest$ac_exeext
10972 if { (ac_try="$ac_link"
10973 case "(($ac_try" in
10974 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10975 *) ac_try_echo
=$ac_try;;
10977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10978 (eval "$ac_link") 2>&5
10980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10981 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10982 { (case "(($ac_try" in
10983 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10984 *) ac_try_echo=$ac_try;;
10986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10987 (eval "$ac_try") 2>&5
10989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10990 (exit $ac_status); }; }; then
10993 echo "$as_me: program exited with status $ac_status" >&5
10994 echo "$as_me: failed program was:" >&5
10995 sed 's/^/| /' conftest.$ac_ext >&5
10997 ( exit $ac_status )
11000 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11004 CFLAGS="$ac_save_CFLAGS"
11005 CXXFLAGS="$ac_save_CXXFLAGS"
11006 LIBS="$ac_save_LIBS"
11009 if test "x$no_sdl" = x ; then
11010 { echo "$as_me:$LINENO: result: yes" >&5
11011 echo "${ECHO_T}yes" >&6; }
11014 { echo "$as_me:$LINENO: result: no" >&5
11015 echo "${ECHO_T}no" >&6; }
11016 if test "$SDL_CONFIG" = "no" ; then
11017 echo "*** The sdl-config script installed by SDL could not be found"
11018 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
11019 echo "*** your path, or set the SDL_CONFIG environment variable to the"
11020 echo "*** full path to sdl-config."
11022 if test -f conf.sdltest ; then
11025 echo "*** Could not run SDL test program, checking why..."
11026 CFLAGS="$CFLAGS $SDL_CFLAGS"
11027 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
11028 LIBS="$LIBS $SDL_LIBS"
11029 cat >conftest.$ac_ext <<_ACEOF
11032 cat confdefs.h >>conftest.$ac_ext
11033 cat >>conftest.$ac_ext <<_ACEOF
11034 /* end confdefs.h. */
11039 int main(int argc, char *argv[])
11042 #define main K_and_R_C_main
11052 rm -f conftest.$ac_objext conftest$ac_exeext
11053 if { (ac_try="$ac_link"
11054 case "(($ac_try" in
11055 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11056 *) ac_try_echo
=$ac_try;;
11058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11059 (eval "$ac_link") 2>conftest.er1
11061 grep -v '^ *+' conftest.er1
>conftest.err
11063 cat conftest.err
>&5
11064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11065 (exit $ac_status); } && {
11066 test -z "$ac_c_werror_flag" ||
11067 test ! -s conftest.err
11068 } && test -s conftest
$ac_exeext &&
11069 $as_test_x conftest
$ac_exeext; then
11070 echo "*** The test program compiled, but did not run. This usually means"
11071 echo "*** that the run-time linker is not finding SDL or finding the wrong"
11072 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
11073 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
11074 echo "*** to the installed location Also, make sure you have run ldconfig if that"
11075 echo "*** is required on your system"
11077 echo "*** If you have an old version installed, it is best to remove it, although"
11078 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
11080 echo "$as_me: failed program was:" >&5
11081 sed 's/^/| /' conftest.
$ac_ext >&5
11083 echo "*** The test program failed to compile or link. See the file config.log for the"
11084 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
11085 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
11086 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
11089 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11090 conftest
$ac_exeext conftest.
$ac_ext
11091 CFLAGS
="$ac_save_CFLAGS"
11092 CXXFLAGS
="$ac_save_CXXFLAGS"
11093 LIBS
="$ac_save_LIBS"
11105 if test "x-$have_sdl" != "x-yes" ; then
11107 if test "x-$sdl_hidd" != "x-auto" ; then
11108 { { echo "$as_me:$LINENO: error: SDL libs/headers not found, cannot build SDL hidd as requested" >&5
11109 echo "$as_me: error: SDL libs/headers not found, cannot build SDL hidd as requested" >&2;}
11110 { (exit 1); exit 1; }; }
11114 sdl_hidd_target
=kernel-hidd-sdl
11121 { echo "$as_me:$LINENO: checking if building of dbus.library is enabled" >&5
11122 echo $ECHO_N "checking if building of dbus.library is enabled... $ECHO_C" >&6; }
11123 # Check whether --enable-dbus was given.
11124 if test "${enable_dbus+set}" = set; then
11125 enableval
=$enable_dbus; dbus
="yes"
11130 if test "$dbus" = "yes" ; then
11132 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
11133 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
11134 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
11135 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
11139 { echo "$as_me:$LINENO: result: $dbus" >&5
11140 echo "${ECHO_T}$dbus" >&6; }
11230 # Native version related
11234 # Palm native version related
11237 # Unix/Hosted version related
11253 # Collect-aros stuff: "-ius" to ignore undefined symbols
11256 # C compiler related
11259 case "$aros_flavour" in
11260 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
11261 aros_flavour
="emulation" ;;
11262 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
11263 aros_flavour
="emulation" ;;
11264 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
11265 aros_flavour
="standalone";;
11266 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
11267 aros_flavour
="native" ;;
11268 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
11269 aros_flavour
="native" ;;
11270 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
11271 aros_flavour
="linklib" ;;
11272 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
11273 aros_flavour
="palmnative" ;;
11274 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
11275 aros_flavour
="mac68knative" ;;
11276 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
11277 aros_flavour
="ppcnative" ;;
11282 if test ! -d ${aros_inc_dir} ; then
11283 ${MKDIR} ${aros_inc_dir}
11285 if test ! -d ${aros_geninc_dir} ; then
11286 ${MKDIR} ${aros_geninc_dir}
11288 if test ! -d ${aros_hostcfg_dir} ; then
11289 ${MKDIR} ${aros_hostcfg_dir}
11291 if test ! -d ${aros_targetcfg_dir} ; then
11292 ${MKDIR} ${aros_targetcfg_dir}
11294 if test ! -d ${aros_tools_dir} ; then
11295 ${MKDIR} ${aros_tools_dir}
11297 if test ! -d ${aros_scripts_dir} ; then
11298 ${MKDIR} ${aros_scripts_dir}
11301 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
11304 ac_config_commands
="$ac_config_commands compiler_executable"
11306 ac_config_commands
="$ac_config_commands genshared_executable"
11308 ac_config_commands
="$ac_config_commands genmf_executable"
11310 ac_config_commands
="$ac_config_commands adflib_myaros.conf_executable"
11313 ac_config_files
="$ac_config_files Makefile rom/mmakefile ${aros_inc_dir}/config.h:config/config.h.in ${aros_geninc_dir}/config.h:config/config.h.in ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in mmake.config ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in ${aros_targetcfg_dir}/specs:config/specs.in ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-gcc:scripts/aros-gcc.in ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-ld:scripts/aros-ld.in ${aros_scripts_dir}/genshared:compiler/c_lib/source/lib_source/genshared.in ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py tools/adflib/myconf.aros tools/collect-aros/env.h"
11316 cat >confcache
<<\_ACEOF
11317 # This file is a shell script that caches the results of configure
11318 # tests run on this system so they can be shared between configure
11319 # scripts and configure runs, see configure's option --config-cache.
11320 # It is not useful on other systems. If it contains results you don't
11321 # want to keep, you may remove or edit it.
11323 # config.status only pays attention to the cache file if you give it
11324 # the --recheck option to rerun configure.
11326 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11327 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11328 # following values.
11332 # The following way of writing the cache mishandles newlines in values,
11333 # but we know of no workaround that is simple, portable, and efficient.
11334 # So, we kill variables containing newlines.
11335 # Ultrix sh set writes to stderr and can't be redirected directly,
11336 # and sets the high bit in the cache file unless we assign to the vars.
11338 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11339 eval ac_val
=\$
$ac_var
11343 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
11344 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
11347 _ | IFS | as_nl
) ;; #(
11348 *) $as_unset $ac_var ;;
11354 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11355 *${as_nl}ac_space
=\
*)
11356 # `set' does not quote correctly, so add quotes (double-quote
11357 # substitution turns \\\\ into \\, and sed turns \\ into \).
11360 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11363 # `set' quotes correctly as required by POSIX, so do not add quotes.
11364 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11373 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11375 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11377 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11378 if test -w "$cache_file"; then
11379 test "x$cache_file" != "x/dev/null" &&
11380 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
11381 echo "$as_me: updating cache $cache_file" >&6;}
11382 cat confcache
>$cache_file
11384 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
11385 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11390 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11391 # Let make expand exec_prefix.
11392 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11394 DEFS
=-DHAVE_CONFIG_H
11398 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11399 # 1. Remove the extension, and $U if already installed.
11400 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
11401 ac_i
=`echo "$ac_i" | sed "$ac_script"`
11402 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11403 # will be set to the directory where LIBOBJS objects are built.
11404 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11405 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
11407 LIBOBJS
=$ac_libobjs
11409 LTLIBOBJS
=$ac_ltlibobjs
11413 : ${CONFIG_STATUS=./config.status}
11414 ac_clean_files_save
=$ac_clean_files
11415 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11416 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11417 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11418 cat >$CONFIG_STATUS <<_ACEOF
11420 # Generated by $as_me.
11421 # Run this file to recreate the current configuration.
11422 # Compiler output produced by configure, useful for debugging
11423 # configure, is in config.log if it exists.
11426 ac_cs_recheck=false
11428 SHELL=\${CONFIG_SHELL-$SHELL}
11431 cat >>$CONFIG_STATUS <<\_ACEOF
11432 ## --------------------- ##
11433 ## M4sh Initialization. ##
11434 ## --------------------- ##
11436 # Be more Bourne compatible
11437 DUALCASE
=1; export DUALCASE
# for MKS sh
11438 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
11441 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11442 # is contrary to our usage. Disable this feature.
11443 alias -g '${1+"$@"}'='"$@"'
11444 setopt NO_GLOB_SUBST
11446 case `(set -o) 2>/dev/null` in
11447 *posix
*) set -o posix
;;
11456 # Avoid depending upon Character Ranges.
11457 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11458 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11459 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11460 as_cr_digits
='0123456789'
11461 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11463 # The user is always right.
11464 if test "${PATH_SEPARATOR+set}" != set; then
11465 echo "#! /bin/sh" >conf$$.sh
11466 echo "exit 0" >>conf$$.sh
11468 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11476 # Support unset when possible.
11477 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
11485 # We need space, tab and new line, in precisely that order. Quoting is
11486 # there to prevent editors from complaining about space-tab.
11487 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11488 # splitting by setting IFS to empty value.)
11493 # Find who we are. Look in the path if we contain no directory separator.
11495 *[\\/]* ) as_myself
=$0 ;;
11496 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11497 for as_dir
in $PATH
11500 test -z "$as_dir" && as_dir
=.
11501 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
11507 # We did not find ourselves, most probably we were run as `sh COMMAND'
11508 # in which case we are not to be found in the path.
11509 if test "x$as_myself" = x
; then
11512 if test ! -f "$as_myself"; then
11513 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11514 { (exit 1); exit 1; }
11517 # Work around bugs in pre-3.0 UWIN ksh.
11518 for as_var
in ENV MAIL MAILPATH
11519 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
11527 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11528 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11529 LC_TELEPHONE LC_TIME
11531 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11532 eval $as_var=C
; export $as_var
11534 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
11538 # Required to use basename.
11539 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
11540 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
11546 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11547 as_basename
=basename
11553 # Name of the executable.
11554 as_me
=`$as_basename -- "$0" ||
11555 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11556 X"$0" : 'X\(//\)$' \| \
11557 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11559 sed '/^.*\/\([^/][^/]*\)\/*$/{
11578 as_lineno_1
=$LINENO
11579 as_lineno_2
=$LINENO
11580 test "x$as_lineno_1" != "x$as_lineno_2" &&
11581 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
11583 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11584 # uniformly replaced by the line number. The first 'sed' inserts a
11585 # line-number line after each line using $LINENO; the second 'sed'
11586 # does the real work. The second script uses 'N' to pair each
11587 # line-number line with the line containing $LINENO, and appends
11588 # trailing '-' during substitution so that $LINENO is not a special
11589 # case at line end.
11590 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11591 # scripts with optimization help from Paolo Bonzini. Blame Lee
11592 # E. McMahon (1931-1989) for sed's syntax. :-)
11604 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
11607 ' >$as_me.lineno
&&
11608 chmod +x
"$as_me.lineno" ||
11609 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
11610 { (exit 1); exit 1; }; }
11612 # Don't try to exec as it changes $[0], causing all sort of problems
11613 # (the dirname of $[0] is not the place where we might find the
11614 # original and so on. Autoconf is especially sensitive to this).
11615 .
"./$as_me.lineno"
11616 # Exit status is that of the last command.
11621 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
11627 ECHO_C
= ECHO_N
= ECHO_T
=
11628 case `echo -n x` in
11630 case `echo 'x\c'` in
11631 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
11638 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
11639 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
11645 rm -f conf$$ conf$$.exe conf$$.
file
11646 if test -d conf$$.dir
; then
11647 rm -f conf$$.dir
/conf$$.
file
11653 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11655 # ... but there are two gotchas:
11656 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11657 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11658 # In both cases, we have to default to `cp -p'.
11659 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
11661 elif ln conf$$.
file conf$$
2>/dev
/null
; then
11666 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
11667 rmdir conf$$.dir
2>/dev
/null
11669 if mkdir
-p .
2>/dev
/null
; then
11672 test -d .
/-p && rmdir .
/-p
11676 if test -x / >/dev
/null
2>&1; then
11677 as_test_x
='test -x'
11679 if ls -dL / >/dev
/null
2>&1; then
11686 if test -d "$1"; then
11692 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
11693 ???[sx]*):;;*)false;;esac;fi
11697 as_executable_p
=$as_test_x
11699 # Sed expression to map a string onto a valid CPP name.
11700 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11702 # Sed expression to map a string onto a valid variable name.
11703 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11708 # Save the log message, to keep $[0] and so on meaningful, and to
11709 # report actual input values of CONFIG_FILES etc. instead of their
11710 # values after options handling.
11712 This file was extended by $as_me, which was
11713 generated by GNU Autoconf 2.61. Invocation command line was
11715 CONFIG_FILES = $CONFIG_FILES
11716 CONFIG_HEADERS = $CONFIG_HEADERS
11717 CONFIG_LINKS = $CONFIG_LINKS
11718 CONFIG_COMMANDS = $CONFIG_COMMANDS
11721 on `(hostname || uname -n) 2>/dev/null | sed 1q`
11726 cat >>$CONFIG_STATUS <<_ACEOF
11727 # Files that config.status was made for.
11728 config_files="$ac_config_files"
11729 config_headers="$ac_config_headers"
11730 config_commands="$ac_config_commands"
11734 cat >>$CONFIG_STATUS <<\_ACEOF
11736 \`$as_me' instantiates files from templates according to the
11737 current configuration.
11739 Usage: $0 [OPTIONS] [FILE]...
11741 -h, --help print this help, then exit
11742 -V, --version print version number and configuration settings, then exit
11743 -q, --quiet do not print progress messages
11744 -d, --debug don't remove temporary files
11745 --recheck update $as_me by reconfiguring in the same conditions
11746 --file=FILE[:TEMPLATE]
11747 instantiate the configuration file FILE
11748 --header=FILE[:TEMPLATE]
11749 instantiate the configuration header FILE
11751 Configuration files:
11754 Configuration headers:
11757 Configuration commands:
11760 Report bugs to <bug-autoconf@gnu.org>."
11763 cat >>$CONFIG_STATUS <<_ACEOF
11766 configured by $0, generated by GNU Autoconf 2.61,
11767 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
11769 Copyright (C) 2006 Free Software Foundation, Inc.
11770 This config.status script is free software; the Free Software Foundation
11771 gives unlimited permission to copy, distribute and modify it."
11777 cat >>$CONFIG_STATUS <<\_ACEOF
11778 # If no file are specified by the user, then we need to provide default
11779 # value. By we need to know if files were specified by the user.
11785 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
11786 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
11797 # Handling of the options.
11798 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
11800 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
11801 echo "$ac_cs_version"; exit ;;
11802 --debug |
--debu |
--deb |
--de |
--d |
-d )
11804 --file |
--fil |
--fi |
--f )
11806 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
11807 ac_need_defaults
=false
;;
11808 --header |
--heade |
--head |
--hea )
11810 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
11811 ac_need_defaults
=false
;;
11813 # Conflict between --help and --header
11814 { echo "$as_me: error: ambiguous option: $1
11815 Try \`$0 --help' for more information." >&2
11816 { (exit 1); exit 1; }; };;
11817 --help |
--hel |
-h )
11818 echo "$ac_cs_usage"; exit ;;
11819 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
11820 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
11823 # This is an error.
11824 -*) { echo "$as_me: error: unrecognized option: $1
11825 Try \`$0 --help' for more information." >&2
11826 { (exit 1); exit 1; }; } ;;
11828 *) ac_config_targets
="$ac_config_targets $1"
11829 ac_need_defaults
=false
;;
11835 ac_configure_extra_args
=
11837 if $ac_cs_silent; then
11839 ac_configure_extra_args
="$ac_configure_extra_args --silent"
11843 cat >>$CONFIG_STATUS <<_ACEOF
11844 if \$ac_cs_recheck; then
11845 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
11846 CONFIG_SHELL=$SHELL
11847 export CONFIG_SHELL
11848 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11852 cat >>$CONFIG_STATUS <<\_ACEOF
11856 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11857 ## Running $as_me. ##
11863 cat >>$CONFIG_STATUS <<_ACEOF
11868 aros_tools_dir=${aros_tools_dir}
11869 aros_target_cpu=${aros_target_cpu}
11870 aros_target_arch=${aros_target_arch}
11871 aros_target_suffix=${aros_target_suffix}
11872 aros_target_nm_ln=${aros_target_nm_ln}
11873 aros_target_as_ln=${aros_target_as_ln}
11874 aros_target_ar_ln=${aros_target_ar_ln}
11875 aros_target_ranlib_ln=${aros_target_ranlib_ln}
11876 aros_target_objdump_ln=${aros_target_objdump_ln}
11877 aros_target_objcopy_ln=${aros_target_objcopy_ln}
11878 aros_target_strip_ln=${aros_target_strip_ln}
11881 aros_scripts_dir=${aros_scripts_dir}
11883 aros_tools_dir=${aros_tools_dir}
11888 cat >>$CONFIG_STATUS <<\_ACEOF
11890 # Handling of arguments.
11891 for ac_config_target
in $ac_config_targets
11893 case $ac_config_target in
11894 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
11895 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
11896 "genshared_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genshared_executable" ;;
11897 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
11898 "adflib_myaros.conf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS adflib_myaros.conf_executable" ;;
11899 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
11900 "rom/mmakefile") CONFIG_FILES
="$CONFIG_FILES rom/mmakefile" ;;
11901 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
11902 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
11903 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
11904 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
11905 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
11906 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
11907 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
11908 "${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" ;;
11909 "${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" ;;
11910 "${aros_scripts_dir}/genshared") CONFIG_FILES
="$CONFIG_FILES ${aros_scripts_dir}/genshared:compiler/c_lib/source/lib_source/genshared.in" ;;
11911 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
11912 "tools/adflib/myconf.aros") CONFIG_FILES
="$CONFIG_FILES tools/adflib/myconf.aros" ;;
11913 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
11915 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11916 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11917 { (exit 1); exit 1; }; };;
11922 # If the user did not use the arguments to specify the items to instantiate,
11923 # then the envvar interface is used. Set only those that are not.
11924 # We use the long form for the default assignment because of an extremely
11925 # bizarre bug on SunOS 4.1.3.
11926 if $ac_need_defaults; then
11927 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
11928 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
11929 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
11932 # Have a temporary directory for convenience. Make it in the build tree
11933 # simply because there is no reason against having it here, and in addition,
11934 # creating and moving files from /tmp can sometimes cause problems.
11935 # Hook for its removal unless debugging.
11936 # Note that there is a small window in which the directory will not be cleaned:
11937 # after its creation but before its name has been assigned to `$tmp'.
11941 trap 'exit_status=$?
11942 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
11944 trap '{ (exit 1); exit 1; }' 1 2 13 15
11946 # Create a (secure) tmp directory for tmp files.
11949 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
11950 test -n "$tmp" && test -d "$tmp"
11953 tmp
=.
/conf$$
-$RANDOM
11954 (umask 077 && mkdir
"$tmp")
11957 echo "$me: cannot create a temporary directory in ." >&2
11958 { (exit 1); exit 1; }
11962 # Set up the sed scripts for CONFIG_FILES section.
11965 # No need to generate the scripts if there are no CONFIG_FILES.
11966 # This happens for instance when ./config.status config.h
11967 if test -n "$CONFIG_FILES"; then
11974 for ac_last_try
in false false false false false
:; do
11975 cat >conf$
$subs.
sed <<_ACEOF
11976 SHELL!$SHELL$ac_delim
11977 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
11978 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
11979 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
11980 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
11981 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
11982 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
11983 exec_prefix!$exec_prefix$ac_delim
11984 prefix!$prefix$ac_delim
11985 program_transform_name!$program_transform_name$ac_delim
11986 bindir!$bindir$ac_delim
11987 sbindir!$sbindir$ac_delim
11988 libexecdir!$libexecdir$ac_delim
11989 datarootdir!$datarootdir$ac_delim
11990 datadir!$datadir$ac_delim
11991 sysconfdir!$sysconfdir$ac_delim
11992 sharedstatedir!$sharedstatedir$ac_delim
11993 localstatedir!$localstatedir$ac_delim
11994 includedir!$includedir$ac_delim
11995 oldincludedir!$oldincludedir$ac_delim
11996 docdir!$docdir$ac_delim
11997 infodir!$infodir$ac_delim
11998 htmldir!$htmldir$ac_delim
11999 dvidir!$dvidir$ac_delim
12000 pdfdir!$pdfdir$ac_delim
12001 psdir!$psdir$ac_delim
12002 libdir!$libdir$ac_delim
12003 localedir!$localedir$ac_delim
12004 mandir!$mandir$ac_delim
12005 DEFS!$DEFS$ac_delim
12006 ECHO_C!$ECHO_C$ac_delim
12007 ECHO_N!$ECHO_N$ac_delim
12008 ECHO_T!$ECHO_T$ac_delim
12009 LIBS!$LIBS$ac_delim
12010 build_alias!$build_alias$ac_delim
12011 host_alias!$host_alias$ac_delim
12012 target_alias!$target_alias$ac_delim
12013 build!$build$ac_delim
12014 build_cpu!$build_cpu$ac_delim
12015 build_vendor!$build_vendor$ac_delim
12016 build_os!$build_os$ac_delim
12017 host!$host$ac_delim
12018 host_cpu!$host_cpu$ac_delim
12019 host_vendor!$host_vendor$ac_delim
12020 host_os!$host_os$ac_delim
12022 CFLAGS!$CFLAGS$ac_delim
12023 LDFLAGS!$LDFLAGS$ac_delim
12024 CPPFLAGS!$CPPFLAGS$ac_delim
12025 ac_ct_CC!$ac_ct_CC$ac_delim
12026 EXEEXT!$EXEEXT$ac_delim
12027 OBJEXT!$OBJEXT$ac_delim
12030 MMAKE!$MMAKE$ac_delim
12031 aros_host_ld!$aros_host_ld$ac_delim
12032 aros_host_aclocal!$aros_host_aclocal$ac_delim
12033 aros_host_autoconf!$aros_host_autoconf$ac_delim
12034 aros_host_autoheader!$aros_host_autoheader$ac_delim
12035 aros_host_automake!$aros_host_automake$ac_delim
12036 aros_host_ar!$aros_host_ar$ac_delim
12037 aros_host_ranlib!$aros_host_ranlib$ac_delim
12038 aros_host_strip!$aros_host_strip$ac_delim
12042 ECHO!$ECHO$ac_delim
12043 MKDIR!$MKDIR$ac_delim
12044 TOUCH!$TOUCH$ac_delim
12045 SORT!$SORT$ac_delim
12046 UNIQ!$UNIQ$ac_delim
12049 BISON!$BISON$ac_delim
12050 FLEX!$FLEX$ac_delim
12051 PNGTOPNM!$PNGTOPNM$ac_delim
12052 PPMTOILBM!$PPMTOILBM$ac_delim
12054 CHMOD!$CHMOD$ac_delim
12055 PYTHON!$PYTHON$ac_delim
12056 PYTHON_VERSION!$PYTHON_VERSION$ac_delim
12057 PYTHON_PREFIX!$PYTHON_PREFIX$ac_delim
12058 PYTHON_EXEC_PREFIX!$PYTHON_EXEC_PREFIX$ac_delim
12059 PYTHON_PLATFORM!$PYTHON_PLATFORM$ac_delim
12060 pythondir!$pythondir$ac_delim
12061 pkgpythondir!$pkgpythondir$ac_delim
12062 pyexecdir!$pyexecdir$ac_delim
12063 pkgpyexecdir!$pkgpyexecdir$ac_delim
12066 TEST!$TEST$ac_delim
12068 GREP!$GREP$ac_delim
12069 EGREP!$EGREP$ac_delim
12070 LIBOBJS!$LIBOBJS$ac_delim
12071 DISTCC!$DISTCC$ac_delim
12072 CCACHE!$CCACHE$ac_delim
12075 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
12077 elif $ac_last_try; then
12078 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12079 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12080 { (exit 1); exit 1; }; }
12082 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
12086 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
12087 if test -n "$ac_eof"; then
12088 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
12089 ac_eof
=`expr $ac_eof + 1`
12092 cat >>$CONFIG_STATUS <<_ACEOF
12093 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
12094 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12097 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
12098 s/^/s,@/; s/!/@,|#_!!_#|/
12101 s/'"$ac_delim"'$/,g/; t
12103 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
12104 ' >>$CONFIG_STATUS <conf$
$subs.
sed
12105 rm -f conf$
$subs.
sed
12106 cat >>$CONFIG_STATUS <<_ACEOF
12112 for ac_last_try
in false false false false false
:; do
12113 cat >conf$
$subs.
sed <<_ACEOF
12114 aros_kernel_cc!$aros_kernel_cc$ac_delim
12115 aros_target_as_ln!$aros_target_as_ln$ac_delim
12116 aros_kernel_ld!$aros_kernel_ld$ac_delim
12117 aros_target_ar_ln!$aros_target_ar_ln$ac_delim
12118 aros_target_nm_ln!$aros_target_nm_ln$ac_delim
12119 aros_target_objcopy_ln!$aros_target_objcopy_ln$ac_delim
12120 aros_target_objdump_ln!$aros_target_objdump_ln$ac_delim
12121 aros_target_ranlib_ln!$aros_target_ranlib_ln$ac_delim
12122 aros_target_strip_ln!$aros_target_strip_ln$ac_delim
12123 aros_target_nostdinc_cflags!$aros_target_nostdinc_cflags$ac_delim
12124 aros_target_nostartup_ldflags!$aros_target_nostartup_ldflags$ac_delim
12125 aros_target_nix_ldflags!$aros_target_nix_ldflags$ac_delim
12126 aros_target_detach_ldflags!$aros_target_detach_ldflags$ac_delim
12127 aros_target_nostdlib_ldflags!$aros_target_nostdlib_ldflags$ac_delim
12128 XMKMF!$XMKMF$ac_delim
12129 SDL_CONFIG!$SDL_CONFIG$ac_delim
12130 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
12131 SDL_LIBS!$SDL_LIBS$ac_delim
12132 aros_arch!$aros_arch$ac_delim
12133 aros_cpu!$aros_cpu$ac_delim
12134 aros_flavour!$aros_flavour$ac_delim
12135 aros_flavour_uc!$aros_flavour_uc$ac_delim
12136 TOPDIR!$TOPDIR$ac_delim
12137 aros_cc_pre!$aros_cc_pre$ac_delim
12138 aros_host_arch!$aros_host_arch$ac_delim
12139 aros_host_cpu!$aros_host_cpu$ac_delim
12140 aros_host_cc!$aros_host_cc$ac_delim
12141 aros_host_make!$aros_host_make$ac_delim
12142 aros_host_cflags!$aros_host_cflags$ac_delim
12143 aros_host_ldflags!$aros_host_ldflags$ac_delim
12144 aros_host_debug!$aros_host_debug$ac_delim
12145 aros_host_mkdep!$aros_host_mkdep$ac_delim
12146 aros_host_mkargs!$aros_host_mkargs$ac_delim
12147 aros_host_exe_suffix!$aros_host_exe_suffix$ac_delim
12148 aros_host_lib_suffix!$aros_host_lib_suffix$ac_delim
12149 aros_tools_dir!$aros_tools_dir$ac_delim
12150 aros_target_arch!$aros_target_arch$ac_delim
12151 aros_target_cpu!$aros_target_cpu$ac_delim
12152 aros_target_variant!$aros_target_variant$ac_delim
12153 aros_target_suffix!$aros_target_suffix$ac_delim
12154 aros_target_incl!$aros_target_incl$ac_delim
12155 aros_target_ar!$aros_target_ar$ac_delim
12156 aros_target_ranlib!$aros_target_ranlib$ac_delim
12157 aros_kernel_nm!$aros_kernel_nm$ac_delim
12158 aros_target_cc!$aros_target_cc$ac_delim
12159 aros_target_as!$aros_target_as$ac_delim
12160 aros_target_ld!$aros_target_ld$ac_delim
12161 aros_target_cc_includes!$aros_target_cc_includes$ac_delim
12162 aros_target_cc_options!$aros_target_cc_options$ac_delim
12163 aros_target_cc_path!$aros_target_cc_path$ac_delim
12164 aros_target_objdump!$aros_target_objdump$ac_delim
12165 aros_target_objcopy!$aros_target_objcopy$ac_delim
12166 aros_target_strip!$aros_target_strip$ac_delim
12167 aros_target_nm!$aros_target_nm$ac_delim
12168 aros_shared_default!$aros_shared_default$ac_delim
12169 aros_shared_ld!$aros_shared_ld$ac_delim
12170 aros_object_format!$aros_object_format$ac_delim
12171 aros_compiler_libs!$aros_compiler_libs$ac_delim
12172 aros_config_cflags!$aros_config_cflags$ac_delim
12173 aros_config_aflags!$aros_config_aflags$ac_delim
12174 aros_config_ldflags!$aros_config_ldflags$ac_delim
12175 aros_shared_cflags!$aros_shared_cflags$ac_delim
12176 aros_shared_aflags!$aros_shared_aflags$ac_delim
12177 aros_shared_ldflags!$aros_shared_ldflags$ac_delim
12178 aros_kernel_ldflags!$aros_kernel_ldflags$ac_delim
12179 aros_debug_cflags!$aros_debug_cflags$ac_delim
12180 aros_debug_aflags!$aros_debug_aflags$ac_delim
12181 aros_debug_ldflags!$aros_debug_ldflags$ac_delim
12182 aros_target_genmap!$aros_target_genmap$ac_delim
12183 aros_target_strip_flags!$aros_target_strip_flags$ac_delim
12184 aros_gui_libdir!$aros_gui_libdir$ac_delim
12185 aros_gui_ldflags!$aros_gui_ldflags$ac_delim
12186 aros_gui_libflags!$aros_gui_libflags$ac_delim
12187 aros_gui_incdir!$aros_gui_incdir$ac_delim
12188 aros_gui_ccflags!$aros_gui_ccflags$ac_delim
12189 x11_hidd_target!$x11_hidd_target$ac_delim
12190 sdl_hidd_target!$sdl_hidd_target$ac_delim
12191 aros_default_wbwidth!$aros_default_wbwidth$ac_delim
12192 aros_default_wbheight!$aros_default_wbheight$ac_delim
12193 aros_default_wbdepth!$aros_default_wbdepth$ac_delim
12194 DO_XSHM_SUPPORT!$DO_XSHM_SUPPORT$ac_delim
12195 DO_VIDMODE_SUPPORT!$DO_VIDMODE_SUPPORT$ac_delim
12196 aros_bochs_hack!$aros_bochs_hack$ac_delim
12197 aros_serial_debug!$aros_serial_debug$ac_delim
12198 aros_palm_debug_hack!$aros_palm_debug_hack$ac_delim
12199 aros_nesting_supervisor!$aros_nesting_supervisor$ac_delim
12200 ENABLE_DBUS!$ENABLE_DBUS$ac_delim
12201 DBUS_CFLAGS!$DBUS_CFLAGS$ac_delim
12202 DBUS_LIBFLAGS!$DBUS_LIBFLAGS$ac_delim
12203 KERNEL_DBUS_KOBJ!$KERNEL_DBUS_KOBJ$ac_delim
12204 KERNEL_DBUS_INCLUDES!$KERNEL_DBUS_INCLUDES$ac_delim
12205 aros_debug!$aros_debug$ac_delim
12206 aros_mungwall_debug!$aros_mungwall_debug$ac_delim
12207 aros_stack_debug!$aros_stack_debug$ac_delim
12208 aros_modules_debug!$aros_modules_debug$ac_delim
12209 ignore_undefined_symbols!$ignore_undefined_symbols$ac_delim
12210 gcc_target_cpu!$gcc_target_cpu$ac_delim
12213 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
12215 elif $ac_last_try; then
12216 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12217 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12218 { (exit 1); exit 1; }; }
12220 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
12224 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
12225 if test -n "$ac_eof"; then
12226 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
12227 ac_eof
=`expr $ac_eof + 1`
12230 cat >>$CONFIG_STATUS <<_ACEOF
12231 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
12232 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12235 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
12236 s/^/s,@/; s/!/@,|#_!!_#|/
12239 s/'"$ac_delim"'$/,g/; t
12241 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
12242 ' >>$CONFIG_STATUS <conf$
$subs.
sed
12243 rm -f conf$
$subs.
sed
12244 cat >>$CONFIG_STATUS <<_ACEOF
12250 for ac_last_try
in false false false false false
:; do
12251 cat >conf$
$subs.
sed <<_ACEOF
12252 LTLIBOBJS!$LTLIBOBJS$ac_delim
12255 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 1; then
12257 elif $ac_last_try; then
12258 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12259 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12260 { (exit 1); exit 1; }; }
12262 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
12266 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
12267 if test -n "$ac_eof"; then
12268 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
12269 ac_eof
=`expr $ac_eof + 1`
12272 cat >>$CONFIG_STATUS <<_ACEOF
12273 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
12274 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
12277 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
12278 s/^/s,@/; s/!/@,|#_!!_#|/
12281 s/'"$ac_delim"'$/,g/; t
12283 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
12284 ' >>$CONFIG_STATUS <conf$
$subs.
sed
12285 rm -f conf$
$subs.
sed
12286 cat >>$CONFIG_STATUS <<_ACEOF
12293 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12294 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12295 # trailing colons and then remove the whole line if VPATH becomes empty
12296 # (actually we leave an empty line to preserve line numbers).
12297 if test "x$srcdir" = x.
; then
12298 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
12299 s/:*\$(srcdir):*/:/
12300 s/:*\${srcdir}:*/:/
12302 s/^\([^=]*=[ ]*\):*/\1/
12308 cat >>$CONFIG_STATUS <<\_ACEOF
12309 fi # test -n "$CONFIG_FILES"
12312 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
12315 :[FHLC
]) ac_mode
=$ac_tag; continue;;
12317 case $ac_mode$ac_tag in
12319 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
12320 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
12321 { (exit 1); exit 1; }; };;
12322 :[FH
]-) ac_tag
=-:-;;
12323 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
12340 -) ac_f
="$tmp/stdin";;
12341 *) # Look for the file first in the build tree, then in the source tree
12342 # (if the path is not absolute). The absolute path cannot be DOS-style,
12343 # because $ac_f cannot contain `:'.
12347 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
12349 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
12350 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
12351 { (exit 1); exit 1; }; };;
12353 ac_file_inputs
="$ac_file_inputs $ac_f"
12356 # Let's still pretend it is `configure' which instantiates (i.e., don't
12357 # use $as_me), people would be surprised to read:
12358 # /* config.h. Generated by config.status. */
12359 configure_input
="Generated from "`IFS=:
12360 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
12361 if test x
"$ac_file" != x-
; then
12362 configure_input
="$ac_file. $configure_input"
12363 { echo "$as_me:$LINENO: creating $ac_file" >&5
12364 echo "$as_me: creating $ac_file" >&6;}
12368 *:-:* |
*:-) cat >"$tmp/stdin";;
12373 ac_dir
=`$as_dirname -- "$ac_file" ||
12374 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12375 X"$ac_file" : 'X\(//\)[^/]' \| \
12376 X"$ac_file" : 'X\(//\)$' \| \
12377 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12379 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12383 /^X\(\/\/\)[^/].*/{
12398 -*) as_dir
=.
/$as_dir;;
12400 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
12404 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12405 *) as_qdir
=$as_dir;;
12407 as_dirs
="'$as_qdir' $as_dirs"
12408 as_dir
=`$as_dirname -- "$as_dir" ||
12409 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12410 X"$as_dir" : 'X\(//\)[^/]' \| \
12411 X"$as_dir" : 'X\(//\)$' \| \
12412 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12414 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12418 /^X\(\/\/\)[^/].*/{
12431 test -d "$as_dir" && break
12433 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12434 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12435 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12436 { (exit 1); exit 1; }; }; }
12440 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12442 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12443 # A ".." for each directory in $ac_dir_suffix.
12444 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
12445 case $ac_top_builddir_sub in
12446 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12447 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
12450 ac_abs_top_builddir
=$ac_pwd
12451 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
12452 # for backward compatibility:
12453 ac_top_builddir
=$ac_top_build_prefix
12456 .
) # We are building in place.
12458 ac_top_srcdir
=$ac_top_builddir_sub
12459 ac_abs_top_srcdir
=$ac_pwd ;;
12460 [\\/]* | ?
:[\\/]* ) # Absolute name.
12461 ac_srcdir
=$srcdir$ac_dir_suffix;
12462 ac_top_srcdir
=$srcdir
12463 ac_abs_top_srcdir
=$srcdir ;;
12464 *) # Relative name.
12465 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
12466 ac_top_srcdir
=$ac_top_build_prefix$srcdir
12467 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
12469 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
12480 cat >>$CONFIG_STATUS <<\_ACEOF
12481 # If the template does not know about datarootdir, expand it.
12482 # FIXME: This hack should be removed a few years after 2.60.
12483 ac_datarootdir_hack
=; ac_datarootdir_seen
=
12485 case `sed -n '/datarootdir/ {
12494 ' $ac_file_inputs` in
12495 *datarootdir
*) ac_datarootdir_seen
=yes;;
12496 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
12497 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12498 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12500 cat >>$CONFIG_STATUS <<_ACEOF
12501 ac_datarootdir_hack='
12502 s&@datadir@&$datadir&g
12503 s&@docdir@&$docdir&g
12504 s&@infodir@&$infodir&g
12505 s&@localedir@&$localedir&g
12506 s&@mandir@&$mandir&g
12507 s&\\\${datarootdir}&$datarootdir&g' ;;
12511 # Neutralize VPATH when `$srcdir' = `.'.
12512 # Shell code in configure.ac might set extrasub.
12513 # FIXME: do we really want to maintain this feature?
12514 cat >>$CONFIG_STATUS <<_ACEOF
12518 cat >>$CONFIG_STATUS <<\_ACEOF
12520 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12521 s
&@configure_input@
&$configure_input&;t t
12522 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
12523 s
&@srcdir@
&$ac_srcdir&;t t
12524 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
12525 s
&@top_srcdir@
&$ac_top_srcdir&;t t
12526 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
12527 s
&@builddir@
&$ac_builddir&;t t
12528 s
&@abs_builddir@
&$ac_abs_builddir&;t t
12529 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
12530 $ac_datarootdir_hack
12531 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" | sed -f "$tmp/subs-3.
sed" >$tmp/out
12533 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12534 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
12535 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
12536 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
12537 which seems to be undefined. Please make sure it is defined." >&5
12538 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
12539 which seems to be undefined. Please make sure it is defined." >&2;}
12543 -) cat "$tmp/out"; rm -f "$tmp/out";;
12544 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
12553 # Transform confdefs.h into a sed script `conftest.defines', that
12554 # substitutes the proper values into config.h.in to produce config.h.
12555 rm -f conftest.defines conftest.
tail
12556 # First, append a space to every undef/define line, to ease matching.
12557 echo 's/$/ /' >conftest.defines
12558 # Then, protect against being on the right side of a sed subst, or in
12559 # an unquoted here document, in config.status. If some macros were
12560 # called several times there might be several #defines for the same
12561 # symbol, which is useless. But do not sort them, since the last
12562 # AC_DEFINE must be honored.
12563 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
12564 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
12565 # NAME is the cpp macro being defined, VALUE is the value it is being given.
12566 # PARAMS is the parameter list in the macro definition--in most cases, it's
12567 # just an empty string.
12568 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
12569 ac_dB
='\\)[ (].*,\\1define\\2'
12577 s/^[ ]*#[ ]*define[ ][ ]*//
12582 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
12583 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
12584 ' >>conftest.defines
12586 # Remove the space that was appended to ease matching.
12587 # Then replace #undef with comments. This is necessary, for
12588 # example, in the case of _POSIX_SOURCE, which is predefined and required
12589 # on some systems where configure will not decide to define it.
12590 # (The regexp can be short, since the line contains either #define or #undef.)
12592 s,^[ #]*u.*,/* & */,' >>conftest.defines
12594 # Break up conftest.defines:
12595 ac_max_sed_lines
=50
12597 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
12598 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
12599 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
12601 ac_in
='$ac_file_inputs'
12602 ac_out
='"$tmp/out1"'
12603 ac_nxt
='"$tmp/out2"'
12607 # Write a here document:
12608 cat >>$CONFIG_STATUS <<_ACEOF
12609 # First, check the format of the line:
12610 cat >"\$tmp/defines.sed" <<\\CEOF
12611 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
12612 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
12616 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
12618 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
12619 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
12620 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
12621 grep . conftest.
tail >/dev
/null ||
break
12622 rm -f conftest.defines
12623 mv conftest.
tail conftest.defines
12625 rm -f conftest.defines conftest.
tail
12627 echo "ac_result=$ac_in" >>$CONFIG_STATUS
12628 cat >>$CONFIG_STATUS <<\_ACEOF
12629 if test x
"$ac_file" != x-
; then
12630 echo "/* $configure_input */" >"$tmp/config.h"
12631 cat "$ac_result" >>"$tmp/config.h"
12632 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
12633 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12634 echo "$as_me: $ac_file is unchanged" >&6;}
12637 mv "$tmp/config.h" $ac_file
12640 echo "/* $configure_input */"
12646 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
12647 echo "$as_me: executing $ac_file commands" >&6;}
12652 case $ac_file$ac_mode in
12653 "compiler_executable":C
)
12654 prefix
=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
12656 prefix
="${prefix}/${aros_target_cpu}-aros"
12657 prefix2
=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
12661 chmod a
+x
${prefix2}-gcc ${prefix2}-ld
12663 ln -sf ${prefix2}-gcc ${prefix}-gcc
12664 ln -sf ${prefix2}-ld ${prefix}-ld
12666 ln -sf $aros_target_as_ln ${prefix}-as
12667 ln -sf $aros_target_nm_ln ${prefix}-nm
12668 ln -sf $aros_target_ar_ln ${prefix}-ar
12669 ln -sf $aros_target_ranlib_ln ${prefix}-ranlib
12670 ln -sf $aros_target_objcopy_ln ${prefix}-objcopy
12671 ln -sf $aros_target_objdump_ln ${prefix}-objdump
12672 ln -sf $aros_target_strip_ln ${prefix}-strip
12674 ln -sf $aros_target_as_ln ${prefix2}-as
12675 ln -sf $aros_target_nm_ln ${prefix2}-nm
12676 ln -sf $aros_target_ar_ln ${prefix2}-ar
12677 ln -sf $aros_target_ranlib_ln ${prefix2}-ranlib
12678 ln -sf $aros_target_objcopy_ln ${prefix2}-objcopy
12679 ln -sf $aros_target_objdump_ln ${prefix2}-objdump
12680 ln -sf $aros_target_strip_ln ${prefix2}-strip
12682 "genshared_executable":C
) chmod a
+x
${aros_scripts_dir}/genshared
;;
12683 "genmf_executable":C
) chmod a
+x
${aros_tools_dir}/genmf.py
;;
12684 "adflib_myaros.conf_executable":C
) chmod a
+x tools
/adflib
/myconf.aros
12691 { (exit 0); exit 0; }
12693 chmod +x
$CONFIG_STATUS
12694 ac_clean_files
=$ac_clean_files_save
12697 # configure is writing to config.log, and then calls config.status.
12698 # config.status does its own redirection, appending to config.log.
12699 # Unfortunately, on DOS this fails, as config.log is still kept open
12700 # by configure, so config.status won't be able to write to it; its
12701 # output is simply discarded. So we exec the FD to /dev/null,
12702 # effectively closing config.log, so it can be properly (re)opened and
12703 # appended to by config.status. When coming back to configure, we
12704 # need to make the FD available again.
12705 if test "$no_create" != yes; then
12707 ac_config_status_args
=
12708 test "$silent" = yes &&
12709 ac_config_status_args
="$ac_config_status_args --quiet"
12711 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
12713 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12714 # would make configure fail if this is the last instruction.
12715 $ac_cs_success ||
{ (exit 1); exit 1; }
12720 #XXX compatability...
12721 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
12723 if test -n "$aros_shared_cflags" ; then
12724 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
12725 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg