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
749 aros_target_bootloader
761 aros_target_cc_includes
782 aros_target_strip_flags
786 aros_default_wbheight
790 aros_host_x11_includes
791 aros_host_x11_libdirs
797 aros_nesting_supervisor
807 ignore_undefined_symbols
811 ac_precious_vars
='build_alias
823 # Initialize some variables set by options.
825 ac_init_version
=false
826 # The variables have the same names as the options, with
827 # dashes changed to underlines.
835 program_transform_name
=s
,x
,x
,
843 # Installation directory options.
844 # These are left unexpanded so users can "make install exec_prefix=/foo"
845 # and all the variables that are supposed to be based on exec_prefix
846 # by default will actually change.
847 # Use braces instead of parens because sh, perl, etc. also accept them.
848 # (The list follows the same order as the GNU Coding Standards.)
849 bindir
='${exec_prefix}/bin'
850 sbindir
='${exec_prefix}/sbin'
851 libexecdir
='${exec_prefix}/libexec'
852 datarootdir
='${prefix}/share'
853 datadir
='${datarootdir}'
854 sysconfdir
='${prefix}/etc'
855 sharedstatedir
='${prefix}/com'
856 localstatedir
='${prefix}/var'
857 includedir
='${prefix}/include'
858 oldincludedir
='/usr/include'
859 docdir
='${datarootdir}/doc/${PACKAGE}'
860 infodir
='${datarootdir}/info'
865 libdir
='${exec_prefix}/lib'
866 localedir
='${datarootdir}/locale'
867 mandir
='${datarootdir}/man'
873 # If the previous option needs an argument, assign it.
874 if test -n "$ac_prev"; then
875 eval $ac_prev=\
$ac_option
881 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
885 # Accept the important Cygnus configure options, so we can diagnose typos.
887 case $ac_dashdash$ac_option in
891 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
893 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
896 -build |
--build |
--buil |
--bui |
--bu)
897 ac_prev
=build_alias
;;
898 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
899 build_alias
=$ac_optarg ;;
901 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
902 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
903 ac_prev
=cache_file
;;
904 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
905 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
906 cache_file
=$ac_optarg ;;
909 cache_file
=config.cache
;;
911 -datadir |
--datadir |
--datadi |
--datad)
913 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
914 datadir
=$ac_optarg ;;
916 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
917 |
--dataroo |
--dataro |
--datar)
918 ac_prev
=datarootdir
;;
919 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
920 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
921 datarootdir
=$ac_optarg ;;
923 -disable-* |
--disable-*)
924 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
925 # Reject names that are not valid shell variable names.
926 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
927 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
928 { (exit 1); exit 1; }; }
929 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
930 eval enable_
$ac_feature=no
;;
932 -docdir |
--docdir |
--docdi |
--doc |
--do)
934 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
937 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
939 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
942 -enable-* |
--enable-*)
943 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
944 # Reject names that are not valid shell variable names.
945 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
946 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
947 { (exit 1); exit 1; }; }
948 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
949 eval enable_
$ac_feature=\
$ac_optarg ;;
951 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
952 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
953 |
--exec |
--exe |
--ex)
954 ac_prev
=exec_prefix
;;
955 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
956 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
957 |
--exec=* |
--exe=* |
--ex=*)
958 exec_prefix
=$ac_optarg ;;
960 -gas |
--gas |
--ga |
--g)
961 # Obsolete; use --with-gas.
964 -help |
--help |
--hel |
--he |
-h)
966 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
967 ac_init_help
=recursive
;;
968 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
969 ac_init_help
=short
;;
971 -host |
--host |
--hos |
--ho)
972 ac_prev
=host_alias
;;
973 -host=* |
--host=* |
--hos=* |
--ho=*)
974 host_alias
=$ac_optarg ;;
976 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
978 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
980 htmldir
=$ac_optarg ;;
982 -includedir |
--includedir |
--includedi |
--included |
--include \
983 |
--includ |
--inclu |
--incl |
--inc)
984 ac_prev
=includedir
;;
985 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
986 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
987 includedir
=$ac_optarg ;;
989 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
991 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
992 infodir
=$ac_optarg ;;
994 -libdir |
--libdir |
--libdi |
--libd)
996 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
999 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1000 |
--libexe |
--libex |
--libe)
1001 ac_prev
=libexecdir
;;
1002 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1003 |
--libexe=* |
--libex=* |
--libe=*)
1004 libexecdir
=$ac_optarg ;;
1006 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1007 ac_prev
=localedir
;;
1008 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1009 localedir
=$ac_optarg ;;
1011 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1012 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1013 ac_prev
=localstatedir
;;
1014 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1015 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1016 localstatedir
=$ac_optarg ;;
1018 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1020 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1021 mandir
=$ac_optarg ;;
1023 -nfp |
--nfp |
--nf)
1024 # Obsolete; use --without-fp.
1027 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1028 |
--no-cr |
--no-c |
-n)
1031 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1032 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1035 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1036 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1037 |
--oldin |
--oldi |
--old |
--ol |
--o)
1038 ac_prev
=oldincludedir
;;
1039 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1040 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1041 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1042 oldincludedir
=$ac_optarg ;;
1044 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1046 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1047 prefix
=$ac_optarg ;;
1049 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1050 |
--program-pre |
--program-pr |
--program-p)
1051 ac_prev
=program_prefix
;;
1052 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1053 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1054 program_prefix
=$ac_optarg ;;
1056 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1057 |
--program-suf |
--program-su |
--program-s)
1058 ac_prev
=program_suffix
;;
1059 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1060 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1061 program_suffix
=$ac_optarg ;;
1063 -program-transform-name |
--program-transform-name \
1064 |
--program-transform-nam |
--program-transform-na \
1065 |
--program-transform-n |
--program-transform- \
1066 |
--program-transform |
--program-transfor \
1067 |
--program-transfo |
--program-transf \
1068 |
--program-trans |
--program-tran \
1069 |
--progr-tra |
--program-tr |
--program-t)
1070 ac_prev
=program_transform_name
;;
1071 -program-transform-name=* |
--program-transform-name=* \
1072 |
--program-transform-nam=* |
--program-transform-na=* \
1073 |
--program-transform-n=* |
--program-transform-=* \
1074 |
--program-transform=* |
--program-transfor=* \
1075 |
--program-transfo=* |
--program-transf=* \
1076 |
--program-trans=* |
--program-tran=* \
1077 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1078 program_transform_name
=$ac_optarg ;;
1080 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1082 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1083 pdfdir
=$ac_optarg ;;
1085 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1087 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1090 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1091 |
-silent |
--silent |
--silen |
--sile |
--sil)
1094 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1096 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1098 sbindir
=$ac_optarg ;;
1100 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1101 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1102 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1104 ac_prev
=sharedstatedir
;;
1105 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1106 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1107 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1109 sharedstatedir
=$ac_optarg ;;
1111 -site |
--site |
--sit)
1113 -site=* |
--site=* |
--sit=*)
1116 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1118 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1119 srcdir
=$ac_optarg ;;
1121 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1122 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1123 ac_prev
=sysconfdir
;;
1124 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1125 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1126 sysconfdir
=$ac_optarg ;;
1128 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1129 ac_prev
=target_alias
;;
1130 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1131 target_alias
=$ac_optarg ;;
1133 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1136 -version |
--version |
--versio |
--versi |
--vers |
-V)
1137 ac_init_version
=: ;;
1140 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1141 # Reject names that are not valid shell variable names.
1142 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1143 { echo "$as_me: error: invalid package name: $ac_package" >&2
1144 { (exit 1); exit 1; }; }
1145 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1146 eval with_
$ac_package=\
$ac_optarg ;;
1148 -without-* |
--without-*)
1149 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1150 # Reject names that are not valid shell variable names.
1151 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1152 { echo "$as_me: error: invalid package name: $ac_package" >&2
1153 { (exit 1); exit 1; }; }
1154 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1155 eval with_
$ac_package=no
;;
1158 # Obsolete; use --with-x.
1161 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1162 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1163 ac_prev
=x_includes
;;
1164 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1165 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1166 x_includes
=$ac_optarg ;;
1168 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1169 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1170 ac_prev
=x_libraries
;;
1171 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1172 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1173 x_libraries
=$ac_optarg ;;
1175 -*) { echo "$as_me: error: unrecognized option: $ac_option
1176 Try \`$0 --help' for more information." >&2
1177 { (exit 1); exit 1; }; }
1181 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1182 # Reject names that are not valid shell variable names.
1183 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1184 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1185 { (exit 1); exit 1; }; }
1186 eval $ac_envvar=\
$ac_optarg
1187 export $ac_envvar ;;
1190 # FIXME: should be removed in autoconf 3.0.
1191 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1192 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1193 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1194 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1200 if test -n "$ac_prev"; then
1201 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1202 { echo "$as_me: error: missing argument to $ac_option" >&2
1203 { (exit 1); exit 1; }; }
1206 # Be sure to have absolute directory names.
1207 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1208 datadir sysconfdir sharedstatedir localstatedir includedir \
1209 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1210 libdir localedir mandir
1212 eval ac_val
=\$
$ac_var
1214 [\\/$
]* | ?
:[\\/]* ) continue;;
1215 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1217 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1218 { (exit 1); exit 1; }; }
1221 # There might be people who depend on the old broken behavior: `$host'
1222 # used to hold the argument of --host etc.
1223 # FIXME: To remove some day.
1226 target
=$target_alias
1228 # FIXME: To remove some day.
1229 if test "x$host_alias" != x
; then
1230 if test "x$build_alias" = x
; then
1231 cross_compiling
=maybe
1232 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1233 If a cross compiler is detected then cross compile mode will be used." >&2
1234 elif test "x$build_alias" != "x$host_alias"; then
1240 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1242 test "$silent" = yes && exec 6>/dev
/null
1245 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1246 ac_ls_di
=`ls -di .` &&
1247 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1248 { echo "$as_me: error: Working directory cannot be determined" >&2
1249 { (exit 1); exit 1; }; }
1250 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1251 { echo "$as_me: error: pwd does not report name of working directory" >&2
1252 { (exit 1); exit 1; }; }
1255 # Find the source files, if location was not specified.
1256 if test -z "$srcdir"; then
1257 ac_srcdir_defaulted
=yes
1258 # Try the directory containing this script, then the parent directory.
1259 ac_confdir
=`$as_dirname -- "$0" ||
1260 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1261 X"$0" : 'X\(//\)[^/]' \| \
1262 X"$0" : 'X\(//\)$' \| \
1263 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1265 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1283 if test ! -r "$srcdir/$ac_unique_file"; then
1287 ac_srcdir_defaulted
=no
1289 if test ! -r "$srcdir/$ac_unique_file"; then
1290 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1291 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1292 { (exit 1); exit 1; }; }
1294 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1296 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1297 { (exit 1); exit 1; }; }
1299 # When building in place, set srcdir=.
1300 if test "$ac_abs_confdir" = "$ac_pwd"; then
1303 # Remove unnecessary trailing slashes from srcdir.
1304 # Double slashes in file names in object file debugging info
1305 # mess up M-x gdb in Emacs.
1307 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1309 for ac_var
in $ac_precious_vars; do
1310 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1311 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1312 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1313 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1317 # Report the --help message.
1319 if test "$ac_init_help" = "long"; then
1320 # Omit some internal or obsolete options to make the list less imposing.
1321 # This message is too long to be a string in the A/UX 3.1 sh.
1323 \`configure' configures this package to adapt to many kinds of systems.
1325 Usage: $0 [OPTION]... [VAR=VALUE]...
1327 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1328 VAR=VALUE. See below for descriptions of some of the useful variables.
1330 Defaults for the options are specified in brackets.
1333 -h, --help display this help and exit
1334 --help=short display options specific to this package
1335 --help=recursive display the short help of all the included packages
1336 -V, --version display version information and exit
1337 -q, --quiet, --silent do not print \`checking...' messages
1338 --cache-file=FILE cache test results in FILE [disabled]
1339 -C, --config-cache alias for \`--cache-file=config.cache'
1340 -n, --no-create do not create output files
1341 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1343 Installation directories:
1344 --prefix=PREFIX install architecture-independent files in PREFIX
1345 [$ac_default_prefix]
1346 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1349 By default, \`make install' will install all the files in
1350 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1351 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1352 for instance \`--prefix=\$HOME'.
1354 For better control, use the options below.
1356 Fine tuning of the installation directories:
1357 --bindir=DIR user executables [EPREFIX/bin]
1358 --sbindir=DIR system admin executables [EPREFIX/sbin]
1359 --libexecdir=DIR program executables [EPREFIX/libexec]
1360 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1361 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1362 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1363 --libdir=DIR object code libraries [EPREFIX/lib]
1364 --includedir=DIR C header files [PREFIX/include]
1365 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1366 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1367 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1368 --infodir=DIR info documentation [DATAROOTDIR/info]
1369 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1370 --mandir=DIR man documentation [DATAROOTDIR/man]
1371 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1372 --htmldir=DIR html documentation [DOCDIR]
1373 --dvidir=DIR dvi documentation [DOCDIR]
1374 --pdfdir=DIR pdf documentation [DOCDIR]
1375 --psdir=DIR ps documentation [DOCDIR]
1381 --x-includes=DIR X include files are
in DIR
1382 --x-libraries=DIR X library files are
in DIR
1385 --build=BUILD configure
for building on BUILD
[guessed
]
1386 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1390 if test -n "$ac_init_help"; then
1395 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1396 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1397 --enable-build-type=TYPE
1398 Select the build
type. Available types are
:
1399 personal
, nightly
, snapshot
, milestone
, release. Do
1400 NOT use this option unless you know what you are
1401 doing
! (default
=personal
)
1402 --enable-debug=list Enable different types of debug. Commas or
1403 whitespaces can be used to separate the items
in the
1404 list. Available types of debug are
: all
, none
,
1405 messages
, stack
, mungwall
, modules
, symbols. If no
1406 list is provided
then "all" is assumed.
1408 --enable-distcc Use distcc as a front end to the compiler
1410 --enable-ccache Use ccache as a front end to the compiler
1412 --enable-target-variant=NAME
1413 Enable a specific target variant
(default
=none
)
1414 --enable-bootloader=NAME
1415 Enable a specific bootloader
1416 --enable-includes=dir Alternative system include directory
1417 --enable-bochs-hack Enable hacks to
make BOCHS
(partly
) work
1419 --enable-palm-debug-hack
1420 Enable palm debug output hack
in palm native
1422 --enable-nesting-supervisor
1423 Enable nesting supervisor support
in unix
1425 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1426 --enable-x11-shm use X11 shared memory
(default
=auto
)
1427 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1428 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1429 --disable-sdltest Do not try to compile and run a
test SDL program
1430 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1433 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1434 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1435 --with-optimization=FLAGS
1436 Use optimization flags FLAGS
(default
=-O2).
1437 --with-resolution=XRESxYRESxDEPTH
1438 Default resolution of the initial WorkbenchScreen
1439 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1440 --with-x use the X Window System
1441 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1442 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1444 Some influential environment variables
:
1445 CC C compiler
command
1446 CFLAGS C compiler flags
1447 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1448 nonstandard directory
<lib dir
>
1449 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1450 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1451 you have headers
in a nonstandard directory
<include dir
>
1453 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1455 Use these variables to override the choices made by
`configure' or to help
1456 it to find libraries and programs with nonstandard names/locations.
1462 if test "$ac_init_help" = "recursive"; then
1463 # If there are subdirs, report their specific --help.
1464 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1465 test -d "$ac_dir" || continue
1469 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1471 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1472 # A ".." for each directory in $ac_dir_suffix.
1473 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1474 case $ac_top_builddir_sub in
1475 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1476 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1479 ac_abs_top_builddir=$ac_pwd
1480 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1481 # for backward compatibility:
1482 ac_top_builddir=$ac_top_build_prefix
1485 .) # We are building in place.
1487 ac_top_srcdir=$ac_top_builddir_sub
1488 ac_abs_top_srcdir=$ac_pwd ;;
1489 [\\/]* | ?:[\\/]* ) # Absolute name.
1490 ac_srcdir=$srcdir$ac_dir_suffix;
1491 ac_top_srcdir=$srcdir
1492 ac_abs_top_srcdir=$srcdir ;;
1494 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1495 ac_top_srcdir=$ac_top_build_prefix$srcdir
1496 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1498 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1500 cd "$ac_dir" || { ac_status=$?; continue; }
1501 # Check for guested configure.
1502 if test -f "$ac_srcdir/configure.gnu"; then
1504 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1505 elif test -f "$ac_srcdir/configure"; then
1507 $SHELL "$ac_srcdir/configure" --help=recursive
1509 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1511 cd "$ac_pwd" || { ac_status=$?; break; }
1515 test -n "$ac_init_help" && exit $ac_status
1516 if $ac_init_version; then
1519 generated by GNU Autoconf 2.61
1521 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1522 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1523 This configure script is free software; the Free Software Foundation
1524 gives unlimited permission to copy, distribute and modify it.
1528 cat >config.log <<_ACEOF
1529 This file contains any messages produced by compilers while
1530 running configure, to aid debugging if configure makes a mistake.
1532 It was created by $as_me, which was
1533 generated by GNU Autoconf 2.61. Invocation command line was
1545 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1546 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1547 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1548 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1549 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1551 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1552 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1554 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1555 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1556 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1557 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1558 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1559 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1560 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1568 test -z "$as_dir" && as_dir=.
1569 echo "PATH: $as_dir"
1585 # Keep a trace of the command line.
1586 # Strip out --no-create and --no-recursion so they do not pile up.
1587 # Strip out --silent because we don't want to record it for future runs.
1588 # Also quote any args containing shell meta-characters.
1589 # Make two passes to allow for proper duplicate-argument suppression.
1593 ac_must_keep_next=false
1599 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1600 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1601 | -silent | --silent | --silen | --sile | --sil)
1604 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1607 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1609 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1610 if test $ac_must_keep_next = true; then
1611 ac_must_keep_next=false # Got value, back to normal.
1614 *=* | --config-cache | -C | -disable-* | --disable-* \
1615 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1616 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1617 | -with-* | --with-* | -without-* | --without-* | --x)
1618 case "$ac_configure_args0 " in
1619 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1622 -* ) ac_must_keep_next=true ;;
1625 ac_configure_args="$ac_configure_args '$ac_arg'"
1630 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1631 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1633 # When interrupted or exit'd, cleanup temporary files, and complete
1634 # config.log. We remove comments because anyway the quotes in there
1635 # would cause problems or look ugly.
1636 # WARNING: Use '\'' to represent an apostrophe within the trap.
1637 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1638 trap 'exit_status=$?
1639 # Save into config.log some information that might help in debugging.
1644 ## ---------------- ##
1645 ## Cache variables. ##
1646 ## ---------------- ##
1649 # The following way of writing the cache mishandles newlines in values,
1651 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1652 eval ac_val=\$$ac_var
1656 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1657 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1660 _ | IFS | as_nl) ;; #(
1661 *) $as_unset $ac_var ;;
1666 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1667 *${as_nl}ac_space=\ *)
1669 "s/'\''/'\''\\\\'\'''\''/g;
1670 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1673 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1681 ## ----------------- ##
1682 ## Output variables. ##
1683 ## ----------------- ##
1686 for ac_var in $ac_subst_vars
1688 eval ac_val=\$$ac_var
1690 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1692 echo "$ac_var='\''$ac_val'\''"
1696 if test -n "$ac_subst_files"; then
1698 ## ------------------- ##
1699 ## File substitutions. ##
1700 ## ------------------- ##
1703 for ac_var in $ac_subst_files
1705 eval ac_val=\$$ac_var
1707 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1709 echo "$ac_var='\''$ac_val'\''"
1714 if test -s confdefs.h; then
1724 test "$ac_signal" != 0 &&
1725 echo "$as_me: caught signal $ac_signal"
1726 echo "$as_me: exit $exit_status"
1728 rm -f core *.core core.conftest.* &&
1729 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1732 for ac_signal in 1 2 13 15; do
1733 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1737 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1738 rm -f -r conftest* confdefs.h
1740 # Predefined preprocessor variables.
1742 cat >>confdefs.h <<_ACEOF
1743 #define PACKAGE_NAME "$PACKAGE_NAME"
1747 cat >>confdefs.h <<_ACEOF
1748 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1752 cat >>confdefs.h <<_ACEOF
1753 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1757 cat >>confdefs.h <<_ACEOF
1758 #define PACKAGE_STRING "$PACKAGE_STRING"
1762 cat >>confdefs.h <<_ACEOF
1763 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1767 # Let the site file select an alternate cache file if it wants to.
1768 # Prefer explicitly selected file to automatically selected ones.
1769 if test -n "$CONFIG_SITE"; then
1770 set x "$CONFIG_SITE"
1771 elif test "x$prefix" != xNONE; then
1772 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1774 set x "$ac_default_prefix/share/config.site" \
1775 "$ac_default_prefix/etc/config.site"
1780 if test -r "$ac_site_file"; then
1781 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1782 echo "$as_me: loading site script $ac_site_file" >&6;}
1783 sed 's/^/| /' "$ac_site_file" >&5
1788 if test -r "$cache_file"; then
1789 # Some versions of bash will fail to source /dev/null (special
1790 # files actually), so we avoid doing that.
1791 if test -f "$cache_file"; then
1792 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1793 echo "$as_me: loading cache $cache_file" >&6;}
1795 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1796 *) . "./$cache_file";;
1800 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1801 echo "$as_me: creating cache $cache_file" >&6;}
1805 # Check that the precious variables saved in the cache have kept the same
1807 ac_cache_corrupted=false
1808 for ac_var in $ac_precious_vars; do
1809 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1810 eval ac_new_set=\$ac_env_${ac_var}_set
1811 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1812 eval ac_new_val=\$ac_env_${ac_var}_value
1813 case $ac_old_set,$ac_new_set in
1815 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1816 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1817 ac_cache_corrupted=: ;;
1819 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1820 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1821 ac_cache_corrupted=: ;;
1824 if test "x$ac_old_val" != "x$ac_new_val"; then
1825 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1826 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1827 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1828 echo "$as_me: former value
: $ac_old_val" >&2;}
1829 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1830 echo "$as_me: current value
: $ac_new_val" >&2;}
1831 ac_cache_corrupted=:
1834 # Pass precious variables to config.status.
1835 if test "$ac_new_set" = set; then
1837 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1838 *) ac_arg=$ac_var=$ac_new_val ;;
1840 case " $ac_configure_args " in
1841 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1842 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1846 if $ac_cache_corrupted; then
1847 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1848 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1849 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1850 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1851 { (exit 1); exit 1; }; }
1871 ac_cpp='$CPP $CPPFLAGS'
1872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1879 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
1880 if test -f "$ac_dir/install-sh"; then
1882 ac_install_sh="$ac_aux_dir/install-sh -c"
1884 elif test -f "$ac_dir/install.sh"; then
1886 ac_install_sh="$ac_aux_dir/install.sh -c"
1888 elif test -f "$ac_dir/shtool"; then
1890 ac_install_sh="$ac_aux_dir/shtool install -c"
1894 if test -z "$ac_aux_dir"; then
1895 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts/autoconf \"$srcdir\"/scripts/autoconf" >&5
1896 echo "$as_me: error: cannot find install-sh or install.sh in scripts/autoconf \"$srcdir\"/scripts/autoconf" >&2;}
1897 { (exit 1); exit 1; }; }
1900 # These three variables are undocumented and unsupported,
1901 # and are intended to be withdrawn in a future Autoconf release.
1902 # They can cause serious problems if a builder's source tree is in a directory
1903 # whose full name contains unusual characters.
1904 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1905 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1906 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1910 # Check what host we are running on.
1911 # If a target is not suggested, we use this one.
1912 # Note that what we call a target, Autoconf calls a host.
1913 # Make sure we can run config.sub.
1914 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1915 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1916 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1917 { (exit 1); exit 1; }; }
1919 { echo "$as_me:$LINENO: checking build system type" >&5
1920 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1921 if test "${ac_cv_build+set}" = set; then
1922 echo $ECHO_N "(cached) $ECHO_C" >&6
1924 ac_build_alias=$build_alias
1925 test "x$ac_build_alias" = x &&
1926 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1927 test "x$ac_build_alias" = x &&
1928 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1929 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1930 { (exit 1); exit 1; }; }
1931 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1932 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1933 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1934 { (exit 1); exit 1; }; }
1937 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1938 echo "${ECHO_T}$ac_cv_build" >&6; }
1939 case $ac_cv_build in
1941 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1942 echo "$as_me: error: invalid value of canonical build" >&2;}
1943 { (exit 1); exit 1; }; };;
1946 ac_save_IFS=$IFS; IFS='-'
1952 # Remember, the first character of IFS is used to create $*,
1953 # except with old shells:
1956 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
1959 { echo "$as_me:$LINENO: checking host system type" >&5
1960 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1961 if test "${ac_cv_host+set}" = set; then
1962 echo $ECHO_N "(cached) $ECHO_C" >&6
1964 if test "x$host_alias" = x; then
1965 ac_cv_host=$ac_cv_build
1967 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1968 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1969 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1970 { (exit 1); exit 1; }; }
1974 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1975 echo "${ECHO_T}$ac_cv_host" >&6; }
1978 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1979 echo "$as_me: error: invalid value of canonical host" >&2;}
1980 { (exit 1); exit 1; }; };;
1983 ac_save_IFS=$IFS; IFS='-'
1989 # Remember, the first character of IFS is used to create $*,
1990 # except with old shells:
1993 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
1997 # The AROS target is slightly different to the normal GNU style
1998 # format. We don't have the middle part, and we reverse the order
1999 # of the $(CPU) and $(OS) bits.
2001 # Don't strip the version of the target yet, it might be
2002 # useful on some systems.
2004 { echo "$as_me:$LINENO: checking for AROS style target" >&5
2005 echo $ECHO_N "checking for AROS style target... $ECHO_C" >&6; }
2007 if test "$target" = "NONE" ; then
2008 target=$host_os-$host_cpu
2011 if test "$target" = "" ; then
2012 target=$host_os-$host_cpu
2018 { echo "$as_me:$LINENO: result: $target" >&5
2019 echo "${ECHO_T}$target" >&6; }
2021 #don't know where else to put this...
2024 # Parse the target field into something useful.
2026 target_os=`echo $target |
sed 's/^\([^-]*\)-\(.*\)$/\1/'`
2027 target_cpu=`echo $target |
sed 's/^\([^-]*\)-\(.*\)$/\2/'`
2030 aros_default_wbwidth=800
2031 aros_default_wbheight=600
2032 aros_default_wbdepth=4
2035 # The first step is to find the host binaries.
2036 # Check for a compiler.
2038 ac_cpp='$CPP $CPPFLAGS'
2039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2042 if test -n "$ac_tool_prefix"; then
2043 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2044 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2045 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2047 if test "${ac_cv_prog_CC+set}" = set; then
2048 echo $ECHO_N "(cached) $ECHO_C" >&6
2050 if test -n "$CC"; then
2051 ac_cv_prog_CC="$CC" # Let the user override the test.
2053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2057 test -z "$as_dir" && as_dir=.
2058 for ac_exec_ext in '' $ac_executable_extensions; do
2059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2060 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2071 if test -n "$CC"; then
2072 { echo "$as_me:$LINENO: result: $CC" >&5
2073 echo "${ECHO_T}$CC" >&6; }
2075 { echo "$as_me:$LINENO: result: no" >&5
2076 echo "${ECHO_T}no" >&6; }
2081 if test -z "$ac_cv_prog_CC"; then
2083 # Extract the first word of "gcc", so it can be a program name with args.
2084 set dummy gcc; ac_word=$2
2085 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2087 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2088 echo $ECHO_N "(cached) $ECHO_C" >&6
2090 if test -n "$ac_ct_CC"; then
2091 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2097 test -z "$as_dir" && as_dir=.
2098 for ac_exec_ext in '' $ac_executable_extensions; do
2099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2100 ac_cv_prog_ac_ct_CC="gcc"
2101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2110 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2111 if test -n "$ac_ct_CC"; then
2112 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2113 echo "${ECHO_T}$ac_ct_CC" >&6; }
2115 { echo "$as_me:$LINENO: result: no" >&5
2116 echo "${ECHO_T}no" >&6; }
2119 if test "x$ac_ct_CC" = x; then
2122 case $cross_compiling:$ac_tool_warned in
2124 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2125 whose name does not start with the host triplet. If you think this
2126 configuration is useful to you, please write to autoconf@gnu.org." >&5
2127 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2128 whose name does not start with the host triplet. If you think this
2129 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2130 ac_tool_warned=yes ;;
2138 if test -z "$CC"; then
2139 if test -n "$ac_tool_prefix"; then
2140 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2141 set dummy ${ac_tool_prefix}cc; ac_word=$2
2142 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2144 if test "${ac_cv_prog_CC+set}" = set; then
2145 echo $ECHO_N "(cached) $ECHO_C" >&6
2147 if test -n "$CC"; then
2148 ac_cv_prog_CC="$CC" # Let the user override the test.
2150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2154 test -z "$as_dir" && as_dir=.
2155 for ac_exec_ext in '' $ac_executable_extensions; do
2156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2157 ac_cv_prog_CC="${ac_tool_prefix}cc"
2158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2168 if test -n "$CC"; then
2169 { echo "$as_me:$LINENO: result: $CC" >&5
2170 echo "${ECHO_T}$CC" >&6; }
2172 { echo "$as_me:$LINENO: result: no" >&5
2173 echo "${ECHO_T}no" >&6; }
2179 if test -z "$CC"; then
2180 # Extract the first word of "cc", so it can be a program name with args.
2181 set dummy cc; ac_word=$2
2182 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2183 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2184 if test "${ac_cv_prog_CC+set}" = set; then
2185 echo $ECHO_N "(cached) $ECHO_C" >&6
2187 if test -n "$CC"; then
2188 ac_cv_prog_CC="$CC" # Let the user override the test.
2191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2195 test -z "$as_dir" && as_dir=.
2196 for ac_exec_ext in '' $ac_executable_extensions; do
2197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2198 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2199 ac_prog_rejected=yes
2203 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2210 if test $ac_prog_rejected = yes; then
2211 # We found a bogon in the path, so make sure we never use it.
2212 set dummy $ac_cv_prog_CC
2214 if test $# != 0; then
2215 # We chose a different compiler from the bogus one.
2216 # However, it has the same basename, so the bogon will be chosen
2217 # first if we set CC to just the basename; use the full file name.
2219 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2225 if test -n "$CC"; then
2226 { echo "$as_me:$LINENO: result: $CC" >&5
2227 echo "${ECHO_T}$CC" >&6; }
2229 { echo "$as_me:$LINENO: result: no" >&5
2230 echo "${ECHO_T}no" >&6; }
2235 if test -z "$CC"; then
2236 if test -n "$ac_tool_prefix"; then
2237 for ac_prog in cl.exe
2239 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2240 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2241 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2243 if test "${ac_cv_prog_CC+set}" = set; then
2244 echo $ECHO_N "(cached) $ECHO_C" >&6
2246 if test -n "$CC"; then
2247 ac_cv_prog_CC="$CC" # Let the user override the test.
2249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2253 test -z "$as_dir" && as_dir=.
2254 for ac_exec_ext in '' $ac_executable_extensions; do
2255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2256 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2267 if test -n "$CC"; then
2268 { echo "$as_me:$LINENO: result: $CC" >&5
2269 echo "${ECHO_T}$CC" >&6; }
2271 { echo "$as_me:$LINENO: result: no" >&5
2272 echo "${ECHO_T}no" >&6; }
2276 test -n "$CC" && break
2279 if test -z "$CC"; then
2281 for ac_prog in cl.exe
2283 # Extract the first word of "$ac_prog", so it can be a program name with args.
2284 set dummy $ac_prog; ac_word=$2
2285 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2287 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2288 echo $ECHO_N "(cached) $ECHO_C" >&6
2290 if test -n "$ac_ct_CC"; then
2291 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2297 test -z "$as_dir" && as_dir=.
2298 for ac_exec_ext in '' $ac_executable_extensions; do
2299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2300 ac_cv_prog_ac_ct_CC="$ac_prog"
2301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2310 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2311 if test -n "$ac_ct_CC"; then
2312 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2313 echo "${ECHO_T}$ac_ct_CC" >&6; }
2315 { echo "$as_me:$LINENO: result: no" >&5
2316 echo "${ECHO_T}no" >&6; }
2320 test -n "$ac_ct_CC" && break
2323 if test "x$ac_ct_CC" = x; then
2326 case $cross_compiling:$ac_tool_warned in
2328 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2329 whose name does not start with the host triplet. If you think this
2330 configuration is useful to you, please write to autoconf@gnu.org." >&5
2331 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2332 whose name does not start with the host triplet. If you think this
2333 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2334 ac_tool_warned=yes ;;
2343 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2344 See \`config.log
' for more details." >&5
2345 echo "$as_me: error: no acceptable C compiler found in \$PATH
2346 See \`config.log' for more details.
" >&2;}
2347 { (exit 1); exit 1; }; }
2349 # Provide some information about the compiler.
2350 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2351 ac_compiler=`set X $ac_compile; echo $2`
2352 { (ac_try="$ac_compiler --version >&5"
2354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2355 *) ac_try_echo=$ac_try;;
2357 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2358 (eval "$ac_compiler --version >&5") 2>&5
2360 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2361 (exit $ac_status); }
2362 { (ac_try="$ac_compiler -v >&5"
2364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2365 *) ac_try_echo=$ac_try;;
2367 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2368 (eval "$ac_compiler -v >&5") 2>&5
2370 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2371 (exit $ac_status); }
2372 { (ac_try="$ac_compiler -V >&5"
2374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2375 *) ac_try_echo=$ac_try;;
2377 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2378 (eval "$ac_compiler -V >&5") 2>&5
2380 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2381 (exit $ac_status); }
2383 cat >conftest.$ac_ext <<_ACEOF
2386 cat confdefs.h >>conftest.$ac_ext
2387 cat >>conftest.$ac_ext <<_ACEOF
2388 /* end confdefs.h. */
2398 ac_clean_files_save=$ac_clean_files
2399 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2400 # Try to create an executable without -o first, disregard a.out.
2401 # It will help us diagnose broken compilers, and finding out an intuition
2403 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2404 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2405 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2407 # List of possible output files, starting from the most likely.
2408 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2409 # only as a last resort. b.out is created by i960 compilers.
2410 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2412 # The IRIX 6 linker writes into existing files which may not be
2413 # executable, retaining their permissions. Remove them first so a
2414 # subsequent execution test works.
2416 for ac_file in $ac_files
2419 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2420 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2425 if { (ac_try="$ac_link_default"
2427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2428 *) ac_try_echo=$ac_try;;
2430 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2431 (eval "$ac_link_default") 2>&5
2433 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2434 (exit $ac_status); }; then
2435 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2436 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2437 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2438 # so that the user can short-circuit this test for compilers unknown to
2440 for ac_file in $ac_files ''
2442 test -f "$ac_file" || continue
2444 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2447 # We found the default executable, but exeext='' is most
2451 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2453 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2455 # We set ac_cv_exeext here because the later test for it is not
2456 # safe: cross compilers may not add the suffix if given an `-o'
2457 # argument, so we may need to know it at that point already.
2458 # Even if this section looks crufty: it has the advantage of
2465 test "$ac_cv_exeext" = no && ac_cv_exeext=
2471 { echo "$as_me:$LINENO: result
: $ac_file" >&5
2472 echo "${ECHO_T}$ac_file" >&6; }
2473 if test -z "$ac_file"; then
2474 echo "$as_me: failed program was
:" >&5
2475 sed 's/^/| /' conftest.$ac_ext >&5
2477 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2478 See \
`config.log' for more details." >&5
2479 echo "$as_me: error: C compiler cannot create executables
2480 See \`config.log
' for more details." >&2;}
2481 { (exit 77); exit 77; }; }
2484 ac_exeext=$ac_cv_exeext
2486 # Check that the compiler produces executables we can run. If not, either
2487 # the compiler is broken, or we cross compile.
2488 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2489 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2490 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2491 # If not cross compiling, check that we can run a simple program.
2492 if test "$cross_compiling" != yes; then
2493 if { ac_try='.
/$ac_file'
2494 { (case "(($ac_try" in
2495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2496 *) ac_try_echo=$ac_try;;
2498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2499 (eval "$ac_try") 2>&5
2501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502 (exit $ac_status); }; }; then
2505 if test "$cross_compiling" = maybe; then
2508 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2509 If you meant to cross compile, use \`--host'.
2510 See \
`config.log' for more details." >&5
2511 echo "$as_me: error: cannot run C compiled programs.
2512 If you meant to cross compile, use \`--host'.
2513 See \`config.log' for more details.
" >&2;}
2514 { (exit 1); exit 1; }; }
2518 { echo "$as_me:$LINENO: result
: yes" >&5
2519 echo "${ECHO_T}yes" >&6; }
2521 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2522 ac_clean_files=$ac_clean_files_save
2523 # Check that the compiler produces executables we can run. If not, either
2524 # the compiler is broken, or we cross compile.
2525 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2526 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2527 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2528 echo "${ECHO_T}$cross_compiling" >&6; }
2530 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2531 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2532 if { (ac_try="$ac_link"
2534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2535 *) ac_try_echo=$ac_try;;
2537 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2538 (eval "$ac_link") 2>&5
2540 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2541 (exit $ac_status); }; then
2542 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2543 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2544 # work properly (i.e., refer to `conftest.exe'), while it won't with
2546 for ac_file in conftest.exe conftest conftest.*; do
2547 test -f "$ac_file" || continue
2549 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2550 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2556 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2557 See \
`config.log' for more details." >&5
2558 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2559 See \`config.log
' for more details." >&2;}
2560 { (exit 1); exit 1; }; }
2563 rm -f conftest$ac_cv_exeext
2564 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2565 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2567 rm -f conftest.$ac_ext
2568 EXEEXT=$ac_cv_exeext
2570 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2571 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2572 if test "${ac_cv_objext+set}" = set; then
2573 echo $ECHO_N "(cached) $ECHO_C" >&6
2575 cat >conftest.$ac_ext <<_ACEOF
2578 cat confdefs.h >>conftest.$ac_ext
2579 cat >>conftest.$ac_ext <<_ACEOF
2580 /* end confdefs.h. */
2590 rm -f conftest.o conftest.obj
2591 if { (ac_try="$ac_compile"
2593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2594 *) ac_try_echo=$ac_try;;
2596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2597 (eval "$ac_compile") 2>&5
2599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2600 (exit $ac_status); }; then
2601 for ac_file in conftest.o conftest.obj conftest.*; do
2602 test -f "$ac_file" || continue;
2604 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2605 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2610 echo "$as_me: failed program was:" >&5
2611 sed 's
/^
/|
/' conftest.$ac_ext >&5
2613 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2614 See \`config.log' for more details.
" >&5
2615 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2616 See \
`config.log' for more details." >&2;}
2617 { (exit 1); exit 1; }; }
2620 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2622 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2623 echo "${ECHO_T}$ac_cv_objext" >&6; }
2624 OBJEXT=$ac_cv_objext
2626 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2627 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2628 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2629 echo $ECHO_N "(cached) $ECHO_C" >&6
2631 cat >conftest.$ac_ext <<_ACEOF
2634 cat confdefs.h >>conftest.$ac_ext
2635 cat >>conftest.$ac_ext <<_ACEOF
2636 /* end confdefs.h. */
2649 rm -f conftest.$ac_objext
2650 if { (ac_try="$ac_compile"
2652 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2653 *) ac_try_echo
=$ac_try;;
2655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2656 (eval "$ac_compile") 2>conftest.er1
2658 grep -v '^ *+' conftest.er1
>conftest.err
2660 cat conftest.err
>&5
2661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662 (exit $ac_status); } && {
2663 test -z "$ac_c_werror_flag" ||
2664 test ! -s conftest.err
2665 } && test -s conftest.
$ac_objext; then
2668 echo "$as_me: failed program was:" >&5
2669 sed 's/^/| /' conftest.
$ac_ext >&5
2674 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2675 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2678 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2679 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2680 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2681 ac_test_CFLAGS
=${CFLAGS+set}
2682 ac_save_CFLAGS
=$CFLAGS
2683 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2684 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2685 if test "${ac_cv_prog_cc_g+set}" = set; then
2686 echo $ECHO_N "(cached) $ECHO_C" >&6
2688 ac_save_c_werror_flag
=$ac_c_werror_flag
2689 ac_c_werror_flag
=yes
2692 cat >conftest.
$ac_ext <<_ACEOF
2695 cat confdefs.h
>>conftest.
$ac_ext
2696 cat >>conftest.
$ac_ext <<_ACEOF
2697 /* end confdefs.h. */
2707 rm -f conftest.
$ac_objext
2708 if { (ac_try
="$ac_compile"
2710 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2711 *) ac_try_echo=$ac_try;;
2713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2714 (eval "$ac_compile") 2>conftest.er1
2716 grep -v '^ *+' conftest.er1 >conftest.err
2718 cat conftest.err >&5
2719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2720 (exit $ac_status); } && {
2721 test -z "$ac_c_werror_flag" ||
2722 test ! -s conftest.err
2723 } && test -s conftest.$ac_objext; then
2726 echo "$as_me: failed program was:" >&5
2727 sed 's/^/| /' conftest.$ac_ext >&5
2730 cat >conftest.$ac_ext <<_ACEOF
2733 cat confdefs.h >>conftest.$ac_ext
2734 cat >>conftest.$ac_ext <<_ACEOF
2735 /* end confdefs.h. */
2745 rm -f conftest.$ac_objext
2746 if { (ac_try="$ac_compile"
2748 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2749 *) ac_try_echo
=$ac_try;;
2751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2752 (eval "$ac_compile") 2>conftest.er1
2754 grep -v '^ *+' conftest.er1
>conftest.err
2756 cat conftest.err
>&5
2757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2758 (exit $ac_status); } && {
2759 test -z "$ac_c_werror_flag" ||
2760 test ! -s conftest.err
2761 } && test -s conftest.
$ac_objext; then
2764 echo "$as_me: failed program was:" >&5
2765 sed 's/^/| /' conftest.
$ac_ext >&5
2767 ac_c_werror_flag
=$ac_save_c_werror_flag
2769 cat >conftest.
$ac_ext <<_ACEOF
2772 cat confdefs.h
>>conftest.
$ac_ext
2773 cat >>conftest.
$ac_ext <<_ACEOF
2774 /* end confdefs.h. */
2784 rm -f conftest.
$ac_objext
2785 if { (ac_try
="$ac_compile"
2787 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2788 *) ac_try_echo=$ac_try;;
2790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2791 (eval "$ac_compile") 2>conftest.er1
2793 grep -v '^ *+' conftest.er1 >conftest.err
2795 cat conftest.err >&5
2796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2797 (exit $ac_status); } && {
2798 test -z "$ac_c_werror_flag" ||
2799 test ! -s conftest.err
2800 } && test -s conftest.$ac_objext; then
2803 echo "$as_me: failed program was:" >&5
2804 sed 's/^/| /' conftest.$ac_ext >&5
2809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2816 ac_c_werror_flag=$ac_save_c_werror_flag
2818 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2819 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2820 if test "$ac_test_CFLAGS" = set; then
2821 CFLAGS=$ac_save_CFLAGS
2822 elif test $ac_cv_prog_cc_g = yes; then
2823 if test "$GCC" = yes; then
2829 if test "$GCC" = yes; then
2835 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2836 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2837 if test "${ac_cv_prog_cc_c89+set}" = set; then
2838 echo $ECHO_N "(cached) $ECHO_C" >&6
2840 ac_cv_prog_cc_c89=no
2842 cat >conftest.$ac_ext <<_ACEOF
2845 cat confdefs.h >>conftest.$ac_ext
2846 cat >>conftest.$ac_ext <<_ACEOF
2847 /* end confdefs.h. */
2850 #include <sys/types.h>
2851 #include <sys/stat.h>
2852 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2853 struct buf { int x; };
2854 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2855 static char *e (p, i)
2861 static char *f (char * (*g) (char **, int), char **p, ...)
2866 s = g (p, va_arg (v,int));
2871 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2872 function prototypes and stuff, but not '\xHH' hex character constants.
2873 These don't provoke an error unfortunately, instead are silently treated
2874 as 'x'. The following induces an error, until -std is added to get
2875 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2876 array size at least. It's necessary to write '\x00'==0 to get something
2877 that's true only with -std. */
2878 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2880 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2881 inside strings and character constants. */
2883 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2885 int test (int i, double x);
2886 struct s1 {int (*f) (int a);};
2887 struct s2 {int (*f) (double a);};
2888 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2894 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2899 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2900 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2902 CC="$ac_save_CC $ac_arg"
2903 rm -f conftest.$ac_objext
2904 if { (ac_try="$ac_compile"
2906 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2907 *) ac_try_echo
=$ac_try;;
2909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2910 (eval "$ac_compile") 2>conftest.er1
2912 grep -v '^ *+' conftest.er1
>conftest.err
2914 cat conftest.err
>&5
2915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2916 (exit $ac_status); } && {
2917 test -z "$ac_c_werror_flag" ||
2918 test ! -s conftest.err
2919 } && test -s conftest.
$ac_objext; then
2920 ac_cv_prog_cc_c89
=$ac_arg
2922 echo "$as_me: failed program was:" >&5
2923 sed 's/^/| /' conftest.
$ac_ext >&5
2928 rm -f core conftest.err conftest.
$ac_objext
2929 test "x$ac_cv_prog_cc_c89" != "xno" && break
2931 rm -f conftest.
$ac_ext
2936 case "x$ac_cv_prog_cc_c89" in
2938 { echo "$as_me:$LINENO: result: none needed" >&5
2939 echo "${ECHO_T}none needed" >&6; } ;;
2941 { echo "$as_me:$LINENO: result: unsupported" >&5
2942 echo "${ECHO_T}unsupported" >&6; } ;;
2944 CC
="$CC $ac_cv_prog_cc_c89"
2945 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2946 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2951 ac_cpp
='$CPP $CPPFLAGS'
2952 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2953 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2954 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2956 case $ac_cv_prog_cc_stdc in
2957 no
) ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;;
2958 *) { echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
2959 echo $ECHO_N "checking for $CC option to accept ISO C99... $ECHO_C" >&6; }
2960 if test "${ac_cv_prog_cc_c99+set}" = set; then
2961 echo $ECHO_N "(cached) $ECHO_C" >&6
2963 ac_cv_prog_cc_c99
=no
2965 cat >conftest.
$ac_ext <<_ACEOF
2968 cat confdefs.h
>>conftest.
$ac_ext
2969 cat >>conftest.
$ac_ext <<_ACEOF
2970 /* end confdefs.h. */
2972 #include <stdbool.h>
2977 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2978 #define debug(...) fprintf (stderr, __VA_ARGS__)
2979 #define showlist(...) puts (#__VA_ARGS__)
2980 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2982 test_varargs_macros (void)
2987 debug ("X = %d\n", x);
2988 showlist (The first, second, and third items.);
2989 report (x>y, "x is %d but y is %d", x, y);
2992 // Check long long types.
2993 #define BIG64 18446744073709551615ull
2994 #define BIG32 4294967295ul
2995 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2997 your preprocessor is broken;
3001 your preprocessor is broken;
3003 static long long int bignum = -9223372036854775807LL;
3004 static unsigned long long int ubignum = BIG64;
3006 struct incomplete_array
3014 const wchar_t *name;
3018 typedef const char *ccp;
3021 test_restrict (ccp restrict text)
3023 // See if C++-style comments work.
3024 // Iterate through items via the restricted pointer.
3025 // Also check for declarations in for loops.
3026 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3031 // Check varargs and va_copy.
3033 test_varargs (const char *format, ...)
3036 va_start (args, format);
3038 va_copy (args_copy, args);
3049 str = va_arg (args_copy, const char *);
3052 number = va_arg (args_copy, int);
3055 fnumber = va_arg (args_copy, double);
3070 _Bool success = false;
3073 if (test_restrict ("String literal") == 0)
3075 char *restrict newvar = "Another string";
3078 test_varargs ("s, d' f .", "string", 65, 34.234);
3079 test_varargs_macros ();
3081 // Check flexible array members.
3082 struct incomplete_array *ia =
3083 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3085 for (int i = 0; i < ia->datasize; ++i)
3086 ia->data[i] = i * 1.234;
3088 // Check named initializers.
3089 struct named_init ni = {
3091 .name = L"Test wide string",
3092 .average = 543.34343,
3097 int dynamic_array[ni.number];
3098 dynamic_array[ni.number - 1] = 543;
3100 // work around unused variable warnings
3101 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3102 || dynamic_array[ni.number - 1] != 543);
3108 for ac_arg
in '' -std=gnu99
-c99 -qlanglvl=extc99
3110 CC
="$ac_save_CC $ac_arg"
3111 rm -f conftest.
$ac_objext
3112 if { (ac_try
="$ac_compile"
3114 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3115 *) ac_try_echo=$ac_try;;
3117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3118 (eval "$ac_compile") 2>conftest.er1
3120 grep -v '^ *+' conftest.er1 >conftest.err
3122 cat conftest.err >&5
3123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3124 (exit $ac_status); } && {
3125 test -z "$ac_c_werror_flag" ||
3126 test ! -s conftest.err
3127 } && test -s conftest.$ac_objext; then
3128 ac_cv_prog_cc_c99=$ac_arg
3130 echo "$as_me: failed program was:" >&5
3131 sed 's/^/| /' conftest.$ac_ext >&5
3136 rm -f core conftest.err conftest.$ac_objext
3137 test "x$ac_cv_prog_cc_c99" != "xno" && break
3139 rm -f conftest.$ac_ext
3144 case "x$ac_cv_prog_cc_c99" in
3146 { echo "$as_me:$LINENO: result: none needed" >&5
3147 echo "${ECHO_T}none needed" >&6; } ;;
3149 { echo "$as_me:$LINENO: result: unsupported" >&5
3150 echo "${ECHO_T}unsupported" >&6; } ;;
3152 CC="$CC $ac_cv_prog_cc_c99"
3153 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
3154 echo "${ECHO_T}$ac_cv_prog_cc_c99" >&6; } ;;
3156 if test "x$ac_cv_prog_cc_c99" != xno; then
3157 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3159 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3160 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3161 if test "${ac_cv_prog_cc_c89+set}" = set; then
3162 echo $ECHO_N "(cached) $ECHO_C" >&6
3164 ac_cv_prog_cc_c89=no
3166 cat >conftest.$ac_ext <<_ACEOF
3169 cat confdefs.h >>conftest.$ac_ext
3170 cat >>conftest.$ac_ext <<_ACEOF
3171 /* end confdefs.h. */
3174 #include <sys/types.h>
3175 #include <sys/stat.h>
3176 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3177 struct buf { int x; };
3178 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3179 static char *e (p, i)
3185 static char *f (char * (*g) (char **, int), char **p, ...)
3190 s = g (p, va_arg (v,int));
3195 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3196 function prototypes and stuff, but not '\xHH' hex character constants.
3197 These don't provoke an error unfortunately, instead are silently treated
3198 as 'x'. The following induces an error, until -std is added to get
3199 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3200 array size at least. It's necessary to write '\x00'==0 to get something
3201 that's true only with -std. */
3202 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3204 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3205 inside strings and character constants. */
3207 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3209 int test (int i, double x);
3210 struct s1 {int (*f) (int a);};
3211 struct s2 {int (*f) (double a);};
3212 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3218 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3223 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3224 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3226 CC="$ac_save_CC $ac_arg"
3227 rm -f conftest.$ac_objext
3228 if { (ac_try="$ac_compile"
3230 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3231 *) ac_try_echo
=$ac_try;;
3233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3234 (eval "$ac_compile") 2>conftest.er1
3236 grep -v '^ *+' conftest.er1
>conftest.err
3238 cat conftest.err
>&5
3239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3240 (exit $ac_status); } && {
3241 test -z "$ac_c_werror_flag" ||
3242 test ! -s conftest.err
3243 } && test -s conftest.
$ac_objext; then
3244 ac_cv_prog_cc_c89
=$ac_arg
3246 echo "$as_me: failed program was:" >&5
3247 sed 's/^/| /' conftest.
$ac_ext >&5
3252 rm -f core conftest.err conftest.
$ac_objext
3253 test "x$ac_cv_prog_cc_c89" != "xno" && break
3255 rm -f conftest.
$ac_ext
3260 case "x$ac_cv_prog_cc_c89" in
3262 { echo "$as_me:$LINENO: result: none needed" >&5
3263 echo "${ECHO_T}none needed" >&6; } ;;
3265 { echo "$as_me:$LINENO: result: unsupported" >&5
3266 echo "${ECHO_T}unsupported" >&6; } ;;
3268 CC
="$CC $ac_cv_prog_cc_c89"
3269 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3270 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3272 if test "x$ac_cv_prog_cc_c89" != xno
; then
3273 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
3275 ac_cv_prog_cc_stdc
=no
3283 { echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5
3284 echo $ECHO_N "checking for $CC option to accept ISO Standard C... $ECHO_C" >&6; }
3285 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3286 echo $ECHO_N "(cached) $ECHO_C" >&6
3289 case $ac_cv_prog_cc_stdc in
3290 no
) { echo "$as_me:$LINENO: result: unsupported" >&5
3291 echo "${ECHO_T}unsupported" >&6; } ;;
3292 '') { echo "$as_me:$LINENO: result: none needed" >&5
3293 echo "${ECHO_T}none needed" >&6; } ;;
3294 *) { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3295 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; } ;;
3300 ac_cpp
='$CPP $CPPFLAGS'
3301 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3302 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3303 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3304 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3305 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3306 # On Suns, sometimes $CPP names a directory.
3307 if test -n "$CPP" && test -d "$CPP"; then
3310 if test -z "$CPP"; then
3311 if test "${ac_cv_prog_CPP+set}" = set; then
3312 echo $ECHO_N "(cached) $ECHO_C" >&6
3314 # Double quotes because CPP needs to be expanded
3315 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3318 for ac_c_preproc_warn_flag
in '' yes
3320 # Use a header file that comes with gcc, so configuring glibc
3321 # with a fresh cross-compiler works.
3322 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3323 # <limits.h> exists even on freestanding compilers.
3324 # On the NeXT, cc -E runs the code through the compiler's parser,
3325 # not just through cpp. "Syntax error" is here to catch this case.
3326 cat >conftest.
$ac_ext <<_ACEOF
3329 cat confdefs.h
>>conftest.
$ac_ext
3330 cat >>conftest.
$ac_ext <<_ACEOF
3331 /* end confdefs.h. */
3333 # include <limits.h>
3335 # include <assert.h>
3339 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3341 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3342 *) ac_try_echo=$ac_try;;
3344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3345 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3347 grep -v '^ *+' conftest.er1 >conftest.err
3349 cat conftest.err >&5
3350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3351 (exit $ac_status); } >/dev/null && {
3352 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3353 test ! -s conftest.err
3357 echo "$as_me: failed program was:" >&5
3358 sed 's/^/| /' conftest.$ac_ext >&5
3360 # Broken: fails on valid input.
3364 rm -f conftest.err conftest.$ac_ext
3366 # OK, works on sane cases. Now check whether nonexistent headers
3367 # can be detected and how.
3368 cat >conftest.$ac_ext <<_ACEOF
3371 cat confdefs.h >>conftest.$ac_ext
3372 cat >>conftest.$ac_ext <<_ACEOF
3373 /* end confdefs.h. */
3374 #include <ac_nonexistent.h>
3376 if { (ac_try="$ac_cpp conftest.$ac_ext"
3378 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3379 *) ac_try_echo
=$ac_try;;
3381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3382 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3384 grep -v '^ *+' conftest.er1
>conftest.err
3386 cat conftest.err
>&5
3387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3388 (exit $ac_status); } >/dev
/null
&& {
3389 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3390 test ! -s conftest.err
3392 # Broken: success on invalid input.
3395 echo "$as_me: failed program was:" >&5
3396 sed 's/^/| /' conftest.
$ac_ext >&5
3398 # Passes both tests.
3403 rm -f conftest.err conftest.
$ac_ext
3406 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3407 rm -f conftest.err conftest.
$ac_ext
3408 if $ac_preproc_ok; then
3420 { echo "$as_me:$LINENO: result: $CPP" >&5
3421 echo "${ECHO_T}$CPP" >&6; }
3423 for ac_c_preproc_warn_flag
in '' yes
3425 # Use a header file that comes with gcc, so configuring glibc
3426 # with a fresh cross-compiler works.
3427 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3428 # <limits.h> exists even on freestanding compilers.
3429 # On the NeXT, cc -E runs the code through the compiler's parser,
3430 # not just through cpp. "Syntax error" is here to catch this case.
3431 cat >conftest.
$ac_ext <<_ACEOF
3434 cat confdefs.h
>>conftest.
$ac_ext
3435 cat >>conftest.
$ac_ext <<_ACEOF
3436 /* end confdefs.h. */
3438 # include <limits.h>
3440 # include <assert.h>
3444 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3446 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3447 *) ac_try_echo=$ac_try;;
3449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3450 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3452 grep -v '^ *+' conftest.er1 >conftest.err
3454 cat conftest.err >&5
3455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3456 (exit $ac_status); } >/dev/null && {
3457 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3458 test ! -s conftest.err
3462 echo "$as_me: failed program was:" >&5
3463 sed 's/^/| /' conftest.$ac_ext >&5
3465 # Broken: fails on valid input.
3469 rm -f conftest.err conftest.$ac_ext
3471 # OK, works on sane cases. Now check whether nonexistent headers
3472 # can be detected and how.
3473 cat >conftest.$ac_ext <<_ACEOF
3476 cat confdefs.h >>conftest.$ac_ext
3477 cat >>conftest.$ac_ext <<_ACEOF
3478 /* end confdefs.h. */
3479 #include <ac_nonexistent.h>
3481 if { (ac_try="$ac_cpp conftest.$ac_ext"
3483 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3484 *) ac_try_echo
=$ac_try;;
3486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3487 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3489 grep -v '^ *+' conftest.er1
>conftest.err
3491 cat conftest.err
>&5
3492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3493 (exit $ac_status); } >/dev
/null
&& {
3494 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3495 test ! -s conftest.err
3497 # Broken: success on invalid input.
3500 echo "$as_me: failed program was:" >&5
3501 sed 's/^/| /' conftest.
$ac_ext >&5
3503 # Passes both tests.
3508 rm -f conftest.err conftest.
$ac_ext
3511 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3512 rm -f conftest.err conftest.
$ac_ext
3513 if $ac_preproc_ok; then
3516 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3517 See \`config.log' for more details." >&5
3518 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3519 See \`config.log' for more details." >&2;}
3520 { (exit 1); exit 1; }; }
3524 ac_cpp
='$CPP $CPPFLAGS'
3525 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3526 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3527 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3530 # Check for a compatible awk
3531 for ac_prog
in gawk nawk
3533 # Extract the first word of "$ac_prog", so it can be a program name with args.
3534 set dummy
$ac_prog; ac_word
=$2
3535 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3536 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3537 if test "${ac_cv_prog_AWK+set}" = set; then
3538 echo $ECHO_N "(cached) $ECHO_C" >&6
3540 if test -n "$AWK"; then
3541 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3547 test -z "$as_dir" && as_dir
=.
3548 for ac_exec_ext
in '' $ac_executable_extensions; do
3549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3550 ac_cv_prog_AWK
="$ac_prog"
3551 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3561 if test -n "$AWK"; then
3562 { echo "$as_me:$LINENO: result: $AWK" >&5
3563 echo "${ECHO_T}$AWK" >&6; }
3565 { echo "$as_me:$LINENO: result: no" >&5
3566 echo "${ECHO_T}no" >&6; }
3570 test -n "$AWK" && break
3573 if test "$AWK" = ""; then
3574 { { echo "$as_me:$LINENO: error: gawk is required to build AROS. Please install and run configure again." >&5
3575 echo "$as_me: error: gawk is required to build AROS. Please install and run configure again." >&2;}
3576 { (exit 1); exit 1; }; }
3578 # Extract the first word of "mmake", so it can be a program name with args.
3579 set dummy mmake
; ac_word
=$2
3580 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3582 if test "${ac_cv_prog_MMAKE+set}" = set; then
3583 echo $ECHO_N "(cached) $ECHO_C" >&6
3585 if test -n "$MMAKE"; then
3586 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
3588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3592 test -z "$as_dir" && as_dir
=.
3593 for ac_exec_ext
in '' $ac_executable_extensions; do
3594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3595 ac_cv_prog_MMAKE
="mmake "
3596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3605 MMAKE
=$ac_cv_prog_MMAKE
3606 if test -n "$MMAKE"; then
3607 { echo "$as_me:$LINENO: result: $MMAKE" >&5
3608 echo "${ECHO_T}$MMAKE" >&6; }
3610 { echo "$as_me:$LINENO: result: no" >&5
3611 echo "${ECHO_T}no" >&6; }
3616 # Perform some default variable assignments. Note all of these will be
3617 # Regenerated from the script, so there is no need to cache them.
3620 if test "$GCC" = "yes"; then
3621 aros_gcc_ld
=`$CC -print-prog-name=ld`
3622 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
3623 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
3624 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3626 if test "${ac_cv_path_aros_host_ld+set}" = set; then
3627 echo $ECHO_N "(cached) $ECHO_C" >&6
3629 case $aros_host_ld in
3631 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3635 for as_dir
in `dirname $aros_gcc_ld`
3638 test -z "$as_dir" && as_dir
=.
3639 for ac_exec_ext
in '' $ac_executable_extensions; do
3640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3641 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3652 aros_host_ld
=$ac_cv_path_aros_host_ld
3653 if test -n "$aros_host_ld"; then
3654 { echo "$as_me:$LINENO: result: $aros_host_ld" >&5
3655 echo "${ECHO_T}$aros_host_ld" >&6; }
3657 { echo "$as_me:$LINENO: result: no" >&5
3658 echo "${ECHO_T}no" >&6; }
3663 if test "$aros_host_ld" = ""; then
3664 # Extract the first word of "ld", so it can be a program name with args.
3665 set dummy ld
; ac_word
=$2
3666 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3668 if test "${ac_cv_path_aros_host_ld+set}" = set; then
3669 echo $ECHO_N "(cached) $ECHO_C" >&6
3671 case $aros_host_ld in
3673 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3680 test -z "$as_dir" && as_dir
=.
3681 for ac_exec_ext
in '' $ac_executable_extensions; do
3682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3683 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3694 aros_host_ld
=$ac_cv_path_aros_host_ld
3695 if test -n "$aros_host_ld"; then
3696 { echo "$as_me:$LINENO: result: $aros_host_ld" >&5
3697 echo "${ECHO_T}$aros_host_ld" >&6; }
3699 { echo "$as_me:$LINENO: result: no" >&5
3700 echo "${ECHO_T}no" >&6; }
3705 if test "$aros_host_ld" = ""; then
3706 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
3707 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
3708 { (exit 1); exit 1; }; }
3710 aros_host_make
="make"
3711 aros_host_cflags
=$CFLAGS
3712 aros_host_ldflags
=$LDFLAGS
3713 aros_host_debug
="-g -O0"
3714 aros_host_mkdep
="\$(TOP)/scripts/mkdep"
3715 aros_host_mkargs
="--no-print-directory"
3716 aros_host_incl
="/usr/include"
3717 aros_host_exe_suffix
="$EXEEXT"
3718 aros_host_lib_suffix
=""
3720 for ac_prog
in aclocal aclocal19
3722 # Extract the first word of "$ac_prog", so it can be a program name with args.
3723 set dummy
$ac_prog; ac_word
=$2
3724 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3726 if test "${ac_cv_prog_aros_host_aclocal+set}" = set; then
3727 echo $ECHO_N "(cached) $ECHO_C" >&6
3729 if test -n "$aros_host_aclocal"; then
3730 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
3732 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3736 test -z "$as_dir" && as_dir
=.
3737 for ac_exec_ext
in '' $ac_executable_extensions; do
3738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3739 ac_cv_prog_aros_host_aclocal
="$ac_prog"
3740 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3749 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
3750 if test -n "$aros_host_aclocal"; then
3751 { echo "$as_me:$LINENO: result: $aros_host_aclocal" >&5
3752 echo "${ECHO_T}$aros_host_aclocal" >&6; }
3754 { echo "$as_me:$LINENO: result: no" >&5
3755 echo "${ECHO_T}no" >&6; }
3759 test -n "$aros_host_aclocal" && break
3762 for ac_prog
in autoconf autoconf259 autoconf253
3764 # Extract the first word of "$ac_prog", so it can be a program name with args.
3765 set dummy
$ac_prog; ac_word
=$2
3766 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3768 if test "${ac_cv_prog_aros_host_autoconf+set}" = set; then
3769 echo $ECHO_N "(cached) $ECHO_C" >&6
3771 if test -n "$aros_host_autoconf"; then
3772 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
3774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3778 test -z "$as_dir" && as_dir
=.
3779 for ac_exec_ext
in '' $ac_executable_extensions; do
3780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3781 ac_cv_prog_aros_host_autoconf
="$ac_prog"
3782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3791 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
3792 if test -n "$aros_host_autoconf"; then
3793 { echo "$as_me:$LINENO: result: $aros_host_autoconf" >&5
3794 echo "${ECHO_T}$aros_host_autoconf" >&6; }
3796 { echo "$as_me:$LINENO: result: no" >&5
3797 echo "${ECHO_T}no" >&6; }
3801 test -n "$aros_host_autoconf" && break
3804 for ac_prog
in autoheader autoheader259 autoheader253
3806 # Extract the first word of "$ac_prog", so it can be a program name with args.
3807 set dummy
$ac_prog; ac_word
=$2
3808 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3810 if test "${ac_cv_prog_aros_host_autoheader+set}" = set; then
3811 echo $ECHO_N "(cached) $ECHO_C" >&6
3813 if test -n "$aros_host_autoheader"; then
3814 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
3816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3820 test -z "$as_dir" && as_dir
=.
3821 for ac_exec_ext
in '' $ac_executable_extensions; do
3822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3823 ac_cv_prog_aros_host_autoheader
="$ac_prog"
3824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3833 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
3834 if test -n "$aros_host_autoheader"; then
3835 { echo "$as_me:$LINENO: result: $aros_host_autoheader" >&5
3836 echo "${ECHO_T}$aros_host_autoheader" >&6; }
3838 { echo "$as_me:$LINENO: result: no" >&5
3839 echo "${ECHO_T}no" >&6; }
3843 test -n "$aros_host_autoheader" && break
3846 for ac_prog
in automake automake19
3848 # Extract the first word of "$ac_prog", so it can be a program name with args.
3849 set dummy
$ac_prog; ac_word
=$2
3850 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3852 if test "${ac_cv_prog_aros_host_automake+set}" = set; then
3853 echo $ECHO_N "(cached) $ECHO_C" >&6
3855 if test -n "$aros_host_automake"; then
3856 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
3858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3862 test -z "$as_dir" && as_dir
=.
3863 for ac_exec_ext
in '' $ac_executable_extensions; do
3864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3865 ac_cv_prog_aros_host_automake
="$ac_prog"
3866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3875 aros_host_automake
=$ac_cv_prog_aros_host_automake
3876 if test -n "$aros_host_automake"; then
3877 { echo "$as_me:$LINENO: result: $aros_host_automake" >&5
3878 echo "${ECHO_T}$aros_host_automake" >&6; }
3880 { echo "$as_me:$LINENO: result: no" >&5
3881 echo "${ECHO_T}no" >&6; }
3885 test -n "$aros_host_automake" && break
3889 case "$aros_host_cc" in
3891 aros_host_cc_pipe
="-pipe"
3894 aros_host_cc_pipe
=""
3897 aros_host_cc_pipe
=""
3901 aros_target_cc_includes
=""
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"
4069 aros_host_arch
="mingw32"
4070 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4073 aros_host_cpu
="i386"
4076 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4077 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4078 aros_host_cpu
="$host_cpu"
4083 { { echo "$as_me:$LINENO: error: Unsupported host architecture $host" >&5
4084 echo "$as_me: error: Unsupported host architecture $host" >&2;}
4085 { (exit 1); exit 1; }; }
4089 # Extract the first word of "ar", so it can be a program name with args.
4090 set dummy
ar; ac_word
=$2
4091 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4093 if test "${ac_cv_prog_aros_host_ar+set}" = set; then
4094 echo $ECHO_N "(cached) $ECHO_C" >&6
4096 if test -n "$aros_host_ar"; then
4097 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4103 test -z "$as_dir" && as_dir
=.
4104 for ac_exec_ext
in '' $ac_executable_extensions; do
4105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4106 ac_cv_prog_aros_host_ar
="ar cr"
4107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4116 aros_host_ar
=$ac_cv_prog_aros_host_ar
4117 if test -n "$aros_host_ar"; then
4118 { echo "$as_me:$LINENO: result: $aros_host_ar" >&5
4119 echo "${ECHO_T}$aros_host_ar" >&6; }
4121 { echo "$as_me:$LINENO: result: no" >&5
4122 echo "${ECHO_T}no" >&6; }
4126 if test "$aros_host_ar" = ""; then
4127 { { echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
4128 echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
4129 { (exit 1); exit 1; }; }
4131 # Extract the first word of "ranlib", so it can be a program name with args.
4132 set dummy ranlib
; ac_word
=$2
4133 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4135 if test "${ac_cv_prog_aros_host_ranlib+set}" = set; then
4136 echo $ECHO_N "(cached) $ECHO_C" >&6
4138 if test -n "$aros_host_ranlib"; then
4139 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4145 test -z "$as_dir" && as_dir
=.
4146 for ac_exec_ext
in '' $ac_executable_extensions; do
4147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4148 ac_cv_prog_aros_host_ranlib
="ranlib "
4149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4158 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4159 if test -n "$aros_host_ranlib"; then
4160 { echo "$as_me:$LINENO: result: $aros_host_ranlib" >&5
4161 echo "${ECHO_T}$aros_host_ranlib" >&6; }
4163 { echo "$as_me:$LINENO: result: no" >&5
4164 echo "${ECHO_T}no" >&6; }
4168 if test "$aros_host_ranlib" = ""; then
4169 { { echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
4170 echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
4171 { (exit 1); exit 1; }; }
4173 # Extract the first word of "strip", so it can be a program name with args.
4174 set dummy strip
; ac_word
=$2
4175 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4177 if test "${ac_cv_prog_aros_host_strip+set}" = set; then
4178 echo $ECHO_N "(cached) $ECHO_C" >&6
4180 if test -n "$aros_host_strip"; then
4181 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4187 test -z "$as_dir" && as_dir
=.
4188 for ac_exec_ext
in '' $ac_executable_extensions; do
4189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4190 ac_cv_prog_aros_host_strip
="strip "
4191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4200 aros_host_strip
=$ac_cv_prog_aros_host_strip
4201 if test -n "$aros_host_strip"; then
4202 { echo "$as_me:$LINENO: result: $aros_host_strip" >&5
4203 echo "${ECHO_T}$aros_host_strip" >&6; }
4205 { echo "$as_me:$LINENO: result: no" >&5
4206 echo "${ECHO_T}no" >&6; }
4210 if test "$aros_host_strip" = ""; then
4211 { { echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
4212 echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
4213 { (exit 1); exit 1; }; }
4216 # Extract the first word of "rm", so it can be a program name with args.
4217 set dummy
rm; ac_word
=$2
4218 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4220 if test "${ac_cv_prog_RM+set}" = set; then
4221 echo $ECHO_N "(cached) $ECHO_C" >&6
4223 if test -n "$RM"; then
4224 ac_cv_prog_RM
="$RM" # Let the user override the test.
4226 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4230 test -z "$as_dir" && as_dir
=.
4231 for ac_exec_ext
in '' $ac_executable_extensions; do
4232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4233 ac_cv_prog_RM
="rm -rf"
4234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4244 if test -n "$RM"; then
4245 { echo "$as_me:$LINENO: result: $RM" >&5
4246 echo "${ECHO_T}$RM" >&6; }
4248 { echo "$as_me:$LINENO: result: no" >&5
4249 echo "${ECHO_T}no" >&6; }
4253 if test "$RM" = ""; then
4254 { { echo "$as_me:$LINENO: error: rm is required to build AROS. Please install and run configure again." >&5
4255 echo "$as_me: error: rm is required to build AROS. Please install and run configure again." >&2;}
4256 { (exit 1); exit 1; }; }
4258 # Extract the first word of "cp", so it can be a program name with args.
4259 set dummy
cp; ac_word
=$2
4260 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4262 if test "${ac_cv_prog_CP+set}" = set; then
4263 echo $ECHO_N "(cached) $ECHO_C" >&6
4265 if test -n "$CP"; then
4266 ac_cv_prog_CP
="$CP" # Let the user override the test.
4268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4272 test -z "$as_dir" && as_dir
=.
4273 for ac_exec_ext
in '' $ac_executable_extensions; do
4274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4286 if test -n "$CP"; then
4287 { echo "$as_me:$LINENO: result: $CP" >&5
4288 echo "${ECHO_T}$CP" >&6; }
4290 { echo "$as_me:$LINENO: result: no" >&5
4291 echo "${ECHO_T}no" >&6; }
4295 if test "$CP" = ""; then
4296 { { echo "$as_me:$LINENO: error: cp is required to build AROS. Please install and run configure again." >&5
4297 echo "$as_me: error: cp is required to build AROS. Please install and run configure again." >&2;}
4298 { (exit 1); exit 1; }; }
4300 # Extract the first word of "mv", so it can be a program name with args.
4301 set dummy
mv; ac_word
=$2
4302 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4304 if test "${ac_cv_prog_MV+set}" = set; then
4305 echo $ECHO_N "(cached) $ECHO_C" >&6
4307 if test -n "$MV"; then
4308 ac_cv_prog_MV
="$MV" # Let the user override the test.
4310 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4314 test -z "$as_dir" && as_dir
=.
4315 for ac_exec_ext
in '' $ac_executable_extensions; do
4316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4318 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4328 if test -n "$MV"; then
4329 { echo "$as_me:$LINENO: result: $MV" >&5
4330 echo "${ECHO_T}$MV" >&6; }
4332 { echo "$as_me:$LINENO: result: no" >&5
4333 echo "${ECHO_T}no" >&6; }
4337 if test "$MV" = ""; then
4338 { { echo "$as_me:$LINENO: error: mv is required to build AROS. Please install and run configure again." >&5
4339 echo "$as_me: error: mv is required to build AROS. Please install and run configure again." >&2;}
4340 { (exit 1); exit 1; }; }
4342 # Extract the first word of "echo", so it can be a program name with args.
4343 set dummy
echo; ac_word
=$2
4344 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4346 if test "${ac_cv_prog_ECHO+set}" = set; then
4347 echo $ECHO_N "(cached) $ECHO_C" >&6
4349 if test -n "$ECHO"; then
4350 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
4352 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4356 test -z "$as_dir" && as_dir
=.
4357 for ac_exec_ext
in '' $ac_executable_extensions; do
4358 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4359 ac_cv_prog_ECHO
="echo "
4360 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4369 ECHO
=$ac_cv_prog_ECHO
4370 if test -n "$ECHO"; then
4371 { echo "$as_me:$LINENO: result: $ECHO" >&5
4372 echo "${ECHO_T}$ECHO" >&6; }
4374 { echo "$as_me:$LINENO: result: no" >&5
4375 echo "${ECHO_T}no" >&6; }
4379 if test "$ECHO" = ""; then
4380 { { echo "$as_me:$LINENO: error: echo is required to build AROS. Please install and run configure again." >&5
4381 echo "$as_me: error: echo is required to build AROS. Please install and run configure again." >&2;}
4382 { (exit 1); exit 1; }; }
4384 # Extract the first word of "mkdir", so it can be a program name with args.
4385 set dummy mkdir
; ac_word
=$2
4386 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4388 if test "${ac_cv_prog_MKDIR+set}" = set; then
4389 echo $ECHO_N "(cached) $ECHO_C" >&6
4391 if test -n "$MKDIR"; then
4392 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
4394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4398 test -z "$as_dir" && as_dir
=.
4399 for ac_exec_ext
in '' $ac_executable_extensions; do
4400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4401 ac_cv_prog_MKDIR
="mkdir -p"
4402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4411 MKDIR
=$ac_cv_prog_MKDIR
4412 if test -n "$MKDIR"; then
4413 { echo "$as_me:$LINENO: result: $MKDIR" >&5
4414 echo "${ECHO_T}$MKDIR" >&6; }
4416 { echo "$as_me:$LINENO: result: no" >&5
4417 echo "${ECHO_T}no" >&6; }
4421 if test "$MKDIR" = ""; then
4422 { { echo "$as_me:$LINENO: error: mkdir is required to build AROS. Please install and run configure again." >&5
4423 echo "$as_me: error: mkdir is required to build AROS. Please install and run configure again." >&2;}
4424 { (exit 1); exit 1; }; }
4426 # Extract the first word of "touch", so it can be a program name with args.
4427 set dummy
touch; ac_word
=$2
4428 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4430 if test "${ac_cv_prog_TOUCH+set}" = set; then
4431 echo $ECHO_N "(cached) $ECHO_C" >&6
4433 if test -n "$TOUCH"; then
4434 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
4436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4440 test -z "$as_dir" && as_dir
=.
4441 for ac_exec_ext
in '' $ac_executable_extensions; do
4442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4443 ac_cv_prog_TOUCH
="touch "
4444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4453 TOUCH
=$ac_cv_prog_TOUCH
4454 if test -n "$TOUCH"; then
4455 { echo "$as_me:$LINENO: result: $TOUCH" >&5
4456 echo "${ECHO_T}$TOUCH" >&6; }
4458 { echo "$as_me:$LINENO: result: no" >&5
4459 echo "${ECHO_T}no" >&6; }
4463 if test "$TOUCH" = ""; then
4464 { { echo "$as_me:$LINENO: error: touch is required to build AROS. Please install and run configure again." >&5
4465 echo "$as_me: error: touch is required to build AROS. Please install and run configure again." >&2;}
4466 { (exit 1); exit 1; }; }
4468 # Extract the first word of "sort", so it can be a program name with args.
4469 set dummy
sort; ac_word
=$2
4470 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4472 if test "${ac_cv_prog_SORT+set}" = set; then
4473 echo $ECHO_N "(cached) $ECHO_C" >&6
4475 if test -n "$SORT"; then
4476 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
4478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4482 test -z "$as_dir" && as_dir
=.
4483 for ac_exec_ext
in '' $ac_executable_extensions; do
4484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4485 ac_cv_prog_SORT
="sort "
4486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4495 SORT
=$ac_cv_prog_SORT
4496 if test -n "$SORT"; then
4497 { echo "$as_me:$LINENO: result: $SORT" >&5
4498 echo "${ECHO_T}$SORT" >&6; }
4500 { echo "$as_me:$LINENO: result: no" >&5
4501 echo "${ECHO_T}no" >&6; }
4505 if test "$SORT" = ""; then
4506 { { echo "$as_me:$LINENO: error: sort is required to build AROS. Please install and run configure again." >&5
4507 echo "$as_me: error: sort is required to build AROS. Please install and run configure again." >&2;}
4508 { (exit 1); exit 1; }; }
4510 # Extract the first word of "uniq", so it can be a program name with args.
4511 set dummy
uniq; ac_word
=$2
4512 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4514 if test "${ac_cv_prog_UNIQ+set}" = set; then
4515 echo $ECHO_N "(cached) $ECHO_C" >&6
4517 if test -n "$UNIQ"; then
4518 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
4520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4524 test -z "$as_dir" && as_dir
=.
4525 for ac_exec_ext
in '' $ac_executable_extensions; do
4526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4527 ac_cv_prog_UNIQ
="uniq "
4528 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4537 UNIQ
=$ac_cv_prog_UNIQ
4538 if test -n "$UNIQ"; then
4539 { echo "$as_me:$LINENO: result: $UNIQ" >&5
4540 echo "${ECHO_T}$UNIQ" >&6; }
4542 { echo "$as_me:$LINENO: result: no" >&5
4543 echo "${ECHO_T}no" >&6; }
4547 if test "$UNIQ" = ""; then
4548 { { echo "$as_me:$LINENO: error: uniq is required to build AROS. Please install and run configure again." >&5
4549 echo "$as_me: error: uniq is required to build AROS. Please install and run configure again." >&2;}
4550 { (exit 1); exit 1; }; }
4552 # Extract the first word of "true", so it can be a program name with args.
4553 set dummy true
; ac_word
=$2
4554 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4556 if test "${ac_cv_prog_NOP+set}" = set; then
4557 echo $ECHO_N "(cached) $ECHO_C" >&6
4559 if test -n "$NOP"; then
4560 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
4562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4566 test -z "$as_dir" && as_dir
=.
4567 for ac_exec_ext
in '' $ac_executable_extensions; do
4568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4569 ac_cv_prog_NOP
="true "
4570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4580 if test -n "$NOP"; then
4581 { echo "$as_me:$LINENO: result: $NOP" >&5
4582 echo "${ECHO_T}$NOP" >&6; }
4584 { echo "$as_me:$LINENO: result: no" >&5
4585 echo "${ECHO_T}no" >&6; }
4589 if test "$NOP" = ""; then
4590 { { echo "$as_me:$LINENO: error: true is required to build AROS. Please install and run configure again." >&5
4591 echo "$as_me: error: true is required to build AROS. Please install and run configure again." >&2;}
4592 { (exit 1); exit 1; }; }
4594 # Extract the first word of "cat", so it can be a program name with args.
4595 set dummy
cat; ac_word
=$2
4596 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4598 if test "${ac_cv_prog_CAT+set}" = set; then
4599 echo $ECHO_N "(cached) $ECHO_C" >&6
4601 if test -n "$CAT"; then
4602 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
4604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4608 test -z "$as_dir" && as_dir
=.
4609 for ac_exec_ext
in '' $ac_executable_extensions; do
4610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4611 ac_cv_prog_CAT
="cat "
4612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4622 if test -n "$CAT"; then
4623 { echo "$as_me:$LINENO: result: $CAT" >&5
4624 echo "${ECHO_T}$CAT" >&6; }
4626 { echo "$as_me:$LINENO: result: no" >&5
4627 echo "${ECHO_T}no" >&6; }
4631 if test "$CAT" = ""; then
4632 { { echo "$as_me:$LINENO: error: cat is required to build AROS. Please install and run configure again." >&5
4633 echo "$as_me: error: cat is required to build AROS. Please install and run configure again." >&2;}
4634 { (exit 1); exit 1; }; }
4636 # Extract the first word of "bison", so it can be a program name with args.
4637 set dummy bison
; ac_word
=$2
4638 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4640 if test "${ac_cv_prog_BISON+set}" = set; then
4641 echo $ECHO_N "(cached) $ECHO_C" >&6
4643 if test -n "$BISON"; then
4644 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4650 test -z "$as_dir" && as_dir
=.
4651 for ac_exec_ext
in '' $ac_executable_extensions; do
4652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4653 ac_cv_prog_BISON
="bison "
4654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4663 BISON
=$ac_cv_prog_BISON
4664 if test -n "$BISON"; then
4665 { echo "$as_me:$LINENO: result: $BISON" >&5
4666 echo "${ECHO_T}$BISON" >&6; }
4668 { echo "$as_me:$LINENO: result: no" >&5
4669 echo "${ECHO_T}no" >&6; }
4673 if test "$BISON" = ""; then
4674 { { echo "$as_me:$LINENO: error: bison is required to build AROS. Please install and run configure again." >&5
4675 echo "$as_me: error: bison is required to build AROS. Please install and run configure again." >&2;}
4676 { (exit 1); exit 1; }; }
4678 # Extract the first word of "flex", so it can be a program name with args.
4679 set dummy flex
; ac_word
=$2
4680 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4682 if test "${ac_cv_prog_FLEX+set}" = set; then
4683 echo $ECHO_N "(cached) $ECHO_C" >&6
4685 if test -n "$FLEX"; then
4686 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4692 test -z "$as_dir" && as_dir
=.
4693 for ac_exec_ext
in '' $ac_executable_extensions; do
4694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4695 ac_cv_prog_FLEX
="flex "
4696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4705 FLEX
=$ac_cv_prog_FLEX
4706 if test -n "$FLEX"; then
4707 { echo "$as_me:$LINENO: result: $FLEX" >&5
4708 echo "${ECHO_T}$FLEX" >&6; }
4710 { echo "$as_me:$LINENO: result: no" >&5
4711 echo "${ECHO_T}no" >&6; }
4715 if test "$FLEX" = ""; then
4716 { { echo "$as_me:$LINENO: error: flex is required to build AROS. Please install and run configure again." >&5
4717 echo "$as_me: error: flex is required to build AROS. Please install and run configure again." >&2;}
4718 { (exit 1); exit 1; }; }
4720 # Extract the first word of "pngtopnm", so it can be a program name with args.
4721 set dummy pngtopnm
; ac_word
=$2
4722 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4724 if test "${ac_cv_prog_PNGTOPNM+set}" = set; then
4725 echo $ECHO_N "(cached) $ECHO_C" >&6
4727 if test -n "$PNGTOPNM"; then
4728 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
4730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4734 test -z "$as_dir" && as_dir
=.
4735 for ac_exec_ext
in '' $ac_executable_extensions; do
4736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4737 ac_cv_prog_PNGTOPNM
="pngtopnm "
4738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4747 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
4748 if test -n "$PNGTOPNM"; then
4749 { echo "$as_me:$LINENO: result: $PNGTOPNM" >&5
4750 echo "${ECHO_T}$PNGTOPNM" >&6; }
4752 { echo "$as_me:$LINENO: result: no" >&5
4753 echo "${ECHO_T}no" >&6; }
4757 if test "$PNGTOPNM" = ""; then
4758 { { echo "$as_me:$LINENO: error: pngtopnm is required to build AROS. Please install and run configure again." >&5
4759 echo "$as_me: error: pngtopnm is required to build AROS. Please install and run configure again." >&2;}
4760 { (exit 1); exit 1; }; }
4762 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
4763 set dummy ppmtoilbm
; ac_word
=$2
4764 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4766 if test "${ac_cv_prog_PPMTOILBM+set}" = set; then
4767 echo $ECHO_N "(cached) $ECHO_C" >&6
4769 if test -n "$PPMTOILBM"; then
4770 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
4772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4776 test -z "$as_dir" && as_dir
=.
4777 for ac_exec_ext
in '' $ac_executable_extensions; do
4778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4779 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
4780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4789 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
4790 if test -n "$PPMTOILBM"; then
4791 { echo "$as_me:$LINENO: result: $PPMTOILBM" >&5
4792 echo "${ECHO_T}$PPMTOILBM" >&6; }
4794 { echo "$as_me:$LINENO: result: no" >&5
4795 echo "${ECHO_T}no" >&6; }
4799 if test "$PPMTOILBM" = ""; then
4800 { { echo "$as_me:$LINENO: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&5
4801 echo "$as_me: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&2;}
4802 { (exit 1); exit 1; }; }
4804 # Extract the first word of "sed", so it can be a program name with args.
4805 set dummy
sed; ac_word
=$2
4806 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4808 if test "${ac_cv_prog_SED+set}" = set; then
4809 echo $ECHO_N "(cached) $ECHO_C" >&6
4811 if test -n "$SED"; then
4812 ac_cv_prog_SED
="$SED" # Let the user override the test.
4814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4818 test -z "$as_dir" && as_dir
=.
4819 for ac_exec_ext
in '' $ac_executable_extensions; do
4820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4821 ac_cv_prog_SED
="sed "
4822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4832 if test -n "$SED"; then
4833 { echo "$as_me:$LINENO: result: $SED" >&5
4834 echo "${ECHO_T}$SED" >&6; }
4836 { echo "$as_me:$LINENO: result: no" >&5
4837 echo "${ECHO_T}no" >&6; }
4841 if test "$SED" = ""; then
4842 { { echo "$as_me:$LINENO: error: sed is required to build AROS. Please install and run configure again." >&5
4843 echo "$as_me: error: sed is required to build AROS. Please install and run configure again." >&2;}
4844 { (exit 1); exit 1; }; }
4846 # Extract the first word of "chmod", so it can be a program name with args.
4847 set dummy
chmod; ac_word
=$2
4848 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4850 if test "${ac_cv_prog_CHMOD+set}" = set; then
4851 echo $ECHO_N "(cached) $ECHO_C" >&6
4853 if test -n "$CHMOD"; then
4854 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
4856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4860 test -z "$as_dir" && as_dir
=.
4861 for ac_exec_ext
in '' $ac_executable_extensions; do
4862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4863 ac_cv_prog_CHMOD
="chmod "
4864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4873 CHMOD
=$ac_cv_prog_CHMOD
4874 if test -n "$CHMOD"; then
4875 { echo "$as_me:$LINENO: result: $CHMOD" >&5
4876 echo "${ECHO_T}$CHMOD" >&6; }
4878 { echo "$as_me:$LINENO: result: no" >&5
4879 echo "${ECHO_T}no" >&6; }
4883 if test "$CHMOD" = ""; then
4884 { { echo "$as_me:$LINENO: error: chmod is required to build AROS. Please install and run configure again." >&5
4885 echo "$as_me: error: chmod is required to build AROS. Please install and run configure again." >&2;}
4886 { (exit 1); exit 1; }; }
4893 if test -n "$PYTHON"; then
4894 # If the user set $PYTHON, use it and don't search something else.
4895 { echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.2.1" >&5
4896 echo $ECHO_N "checking whether $PYTHON version >= 2.2.1... $ECHO_C" >&6; }
4897 prog
="import sys, string
4898 # split strings by '.' and convert to numeric. Append some zeros
4899 # because we need at least 4 digits for the hex conversion.
4900 minver = map(int, string.split('2.2.1', '.')) + [0, 0, 0]
4902 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
4903 sys.exit(sys.hexversion < minverhex)"
4904 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
4905 ($PYTHON -c "$prog") >&5 2>&5
4907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4908 (exit $ac_status); }; then
4909 { echo "$as_me:$LINENO: result: yes" >&5
4910 echo "${ECHO_T}yes" >&6; }
4912 { { echo "$as_me:$LINENO: error: too old" >&5
4913 echo "$as_me: error: too old" >&2;}
4914 { (exit 1); exit 1; }; }
4917 am_display_PYTHON
=$PYTHON
4919 # Otherwise, try each interpreter until we find one that satisfies
4921 { echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.2.1" >&5
4922 echo $ECHO_N "checking for a Python interpreter with version >= 2.2.1... $ECHO_C" >&6; }
4923 if test "${am_cv_pathless_PYTHON+set}" = set; then
4924 echo $ECHO_N "(cached) $ECHO_C" >&6
4927 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
4928 test "$am_cv_pathless_PYTHON" = none
&& break
4929 prog
="import sys, string
4930 # split strings by '.' and convert to numeric. Append some zeros
4931 # because we need at least 4 digits for the hex conversion.
4932 minver = map(int, string.split('2.2.1', '.')) + [0, 0, 0]
4934 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
4935 sys.exit(sys.hexversion < minverhex)"
4936 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
4937 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
4939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4940 (exit $ac_status); }; then
4946 { echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
4947 echo "${ECHO_T}$am_cv_pathless_PYTHON" >&6; }
4948 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
4949 if test "$am_cv_pathless_PYTHON" = none
; then
4952 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
4953 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
4954 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4956 if test "${ac_cv_path_PYTHON+set}" = set; then
4957 echo $ECHO_N "(cached) $ECHO_C" >&6
4961 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
4964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4968 test -z "$as_dir" && as_dir
=.
4969 for ac_exec_ext
in '' $ac_executable_extensions; do
4970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4971 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
4972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4982 PYTHON
=$ac_cv_path_PYTHON
4983 if test -n "$PYTHON"; then
4984 { echo "$as_me:$LINENO: result: $PYTHON" >&5
4985 echo "${ECHO_T}$PYTHON" >&6; }
4987 { echo "$as_me:$LINENO: result: no" >&5
4988 echo "${ECHO_T}no" >&6; }
4993 am_display_PYTHON
=$am_cv_pathless_PYTHON
4997 if test "$PYTHON" = :; then
4998 { { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
4999 echo "$as_me: error: no suitable Python interpreter found" >&2;}
5000 { (exit 1); exit 1; }; }
5004 { echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
5005 echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; }
5006 if test "${am_cv_python_version+set}" = set; then
5007 echo $ECHO_N "(cached) $ECHO_C" >&6
5009 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
5011 { echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
5012 echo "${ECHO_T}$am_cv_python_version" >&6; }
5013 PYTHON_VERSION
=$am_cv_python_version
5017 PYTHON_PREFIX
='${prefix}'
5019 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5023 { echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
5024 echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; }
5025 if test "${am_cv_python_platform+set}" = set; then
5026 echo $ECHO_N "(cached) $ECHO_C" >&6
5028 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
5030 { echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
5031 echo "${ECHO_T}$am_cv_python_platform" >&6; }
5032 PYTHON_PLATFORM
=$am_cv_python_platform
5037 { echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
5038 echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6; }
5039 if test "${am_cv_python_pythondir+set}" = set; then
5040 echo $ECHO_N "(cached) $ECHO_C" >&6
5042 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5043 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5045 { echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
5046 echo "${ECHO_T}$am_cv_python_pythondir" >&6; }
5047 pythondir
=$am_cv_python_pythondir
5051 pkgpythondir
=\
${pythondir}/$PACKAGE
5054 { echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
5055 echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6; }
5056 if test "${am_cv_python_pyexecdir+set}" = set; then
5057 echo $ECHO_N "(cached) $ECHO_C" >&6
5059 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5060 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5062 { echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
5063 echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; }
5064 pyexecdir
=$am_cv_python_pyexecdir
5068 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5086 # Check for some includes for the X11 HIDD and the kernel
5089 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5090 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5091 if test "${ac_cv_path_GREP+set}" = set; then
5092 echo $ECHO_N "(cached) $ECHO_C" >&6
5094 # Extract the first word of "grep ggrep" to use in msg output
5095 if test -z "$GREP"; then
5096 set dummy
grep ggrep
; ac_prog_name
=$2
5097 if test "${ac_cv_path_GREP+set}" = set; then
5098 echo $ECHO_N "(cached) $ECHO_C" >&6
5100 ac_path_GREP_found
=false
5101 # Loop through the user's path and test for each of PROGNAME-LIST
5102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5103 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5106 test -z "$as_dir" && as_dir
=.
5107 for ac_prog
in grep ggrep
; do
5108 for ac_exec_ext
in '' $ac_executable_extensions; do
5109 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5110 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5111 # Check for GNU ac_path_GREP and select it if it is found.
5112 # Check for GNU $ac_path_GREP
5113 case `"$ac_path_GREP" --version 2>&1` in
5115 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5118 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5121 cat "conftest.in" "conftest.in" >"conftest.tmp"
5122 mv "conftest.tmp" "conftest.in"
5123 cp "conftest.in" "conftest.nl"
5124 echo 'GREP' >> "conftest.nl"
5125 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5126 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5127 ac_count
=`expr $ac_count + 1`
5128 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5129 # Best one so far, save it but keep looking for a better one
5130 ac_cv_path_GREP
="$ac_path_GREP"
5131 ac_path_GREP_max
=$ac_count
5133 # 10*(2^10) chars as input seems more than enough
5134 test $ac_count -gt 10 && break
5136 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5140 $ac_path_GREP_found && break 3
5150 GREP
="$ac_cv_path_GREP"
5151 if test -z "$GREP"; then
5152 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5153 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5154 { (exit 1); exit 1; }; }
5158 ac_cv_path_GREP
=$GREP
5163 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5164 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5165 GREP
="$ac_cv_path_GREP"
5168 { echo "$as_me:$LINENO: checking for egrep" >&5
5169 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5170 if test "${ac_cv_path_EGREP+set}" = set; then
5171 echo $ECHO_N "(cached) $ECHO_C" >&6
5173 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5174 then ac_cv_path_EGREP
="$GREP -E"
5176 # Extract the first word of "egrep" to use in msg output
5177 if test -z "$EGREP"; then
5178 set dummy
egrep; ac_prog_name
=$2
5179 if test "${ac_cv_path_EGREP+set}" = set; then
5180 echo $ECHO_N "(cached) $ECHO_C" >&6
5182 ac_path_EGREP_found
=false
5183 # Loop through the user's path and test for each of PROGNAME-LIST
5184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5185 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5188 test -z "$as_dir" && as_dir
=.
5189 for ac_prog
in egrep; do
5190 for ac_exec_ext
in '' $ac_executable_extensions; do
5191 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5192 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5193 # Check for GNU ac_path_EGREP and select it if it is found.
5194 # Check for GNU $ac_path_EGREP
5195 case `"$ac_path_EGREP" --version 2>&1` in
5197 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5200 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5203 cat "conftest.in" "conftest.in" >"conftest.tmp"
5204 mv "conftest.tmp" "conftest.in"
5205 cp "conftest.in" "conftest.nl"
5206 echo 'EGREP' >> "conftest.nl"
5207 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5208 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5209 ac_count
=`expr $ac_count + 1`
5210 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5211 # Best one so far, save it but keep looking for a better one
5212 ac_cv_path_EGREP
="$ac_path_EGREP"
5213 ac_path_EGREP_max
=$ac_count
5215 # 10*(2^10) chars as input seems more than enough
5216 test $ac_count -gt 10 && break
5218 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5222 $ac_path_EGREP_found && break 3
5232 EGREP
="$ac_cv_path_EGREP"
5233 if test -z "$EGREP"; then
5234 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5235 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5236 { (exit 1); exit 1; }; }
5240 ac_cv_path_EGREP
=$EGREP
5246 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5247 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5248 EGREP
="$ac_cv_path_EGREP"
5251 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5252 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5253 if test "${ac_cv_header_stdc+set}" = set; then
5254 echo $ECHO_N "(cached) $ECHO_C" >&6
5256 cat >conftest.
$ac_ext <<_ACEOF
5259 cat confdefs.h
>>conftest.
$ac_ext
5260 cat >>conftest.
$ac_ext <<_ACEOF
5261 /* end confdefs.h. */
5275 rm -f conftest.
$ac_objext
5276 if { (ac_try
="$ac_compile"
5278 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5279 *) ac_try_echo=$ac_try;;
5281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5282 (eval "$ac_compile") 2>conftest.er1
5284 grep -v '^ *+' conftest.er1 >conftest.err
5286 cat conftest.err >&5
5287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5288 (exit $ac_status); } && {
5289 test -z "$ac_c_werror_flag" ||
5290 test ! -s conftest.err
5291 } && test -s conftest.$ac_objext; then
5292 ac_cv_header_stdc=yes
5294 echo "$as_me: failed program was:" >&5
5295 sed 's/^/| /' conftest.$ac_ext >&5
5297 ac_cv_header_stdc=no
5300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5302 if test $ac_cv_header_stdc = yes; then
5303 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5304 cat >conftest.$ac_ext <<_ACEOF
5307 cat confdefs.h >>conftest.$ac_ext
5308 cat >>conftest.$ac_ext <<_ACEOF
5309 /* end confdefs.h. */
5313 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5314 $EGREP "memchr" >/dev/null 2>&1; then
5317 ac_cv_header_stdc=no
5323 if test $ac_cv_header_stdc = yes; then
5324 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5325 cat >conftest.$ac_ext <<_ACEOF
5328 cat confdefs.h >>conftest.$ac_ext
5329 cat >>conftest.$ac_ext <<_ACEOF
5330 /* end confdefs.h. */
5334 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5335 $EGREP "free" >/dev/null 2>&1; then
5338 ac_cv_header_stdc=no
5344 if test $ac_cv_header_stdc = yes; then
5345 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5346 if test "$cross_compiling" = yes; then
5349 cat >conftest.$ac_ext <<_ACEOF
5352 cat confdefs.h >>conftest.$ac_ext
5353 cat >>conftest.$ac_ext <<_ACEOF
5354 /* end confdefs.h. */
5357 #if ((' ' & 0x0FF) == 0x020)
5358 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5359 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5361 # define ISLOWER(c) \
5362 (('a' <= (c) && (c) <= 'i') \
5363 || ('j' <= (c) && (c) <= 'r') \
5364 || ('s' <= (c) && (c) <= 'z'))
5365 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5368 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5373 for (i = 0; i < 256; i++)
5374 if (XOR (islower (i), ISLOWER (i))
5375 || toupper (i) != TOUPPER (i))
5380 rm -f conftest$ac_exeext
5381 if { (ac_try="$ac_link"
5383 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5384 *) ac_try_echo
=$ac_try;;
5386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5387 (eval "$ac_link") 2>&5
5389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5390 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5391 { (case "(($ac_try" in
5392 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5393 *) ac_try_echo=$ac_try;;
5395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5396 (eval "$ac_try") 2>&5
5398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5399 (exit $ac_status); }; }; then
5402 echo "$as_me: program exited with status $ac_status" >&5
5403 echo "$as_me: failed program was:" >&5
5404 sed 's/^/| /' conftest.$ac_ext >&5
5407 ac_cv_header_stdc=no
5409 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5415 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5416 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5417 if test $ac_cv_header_stdc = yes; then
5419 cat >>confdefs.h <<\_ACEOF
5420 #define STDC_HEADERS 1
5425 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5435 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5436 inttypes.h stdint.h unistd.h
5438 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5439 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5440 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5441 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5442 echo $ECHO_N "(cached) $ECHO_C" >&6
5444 cat >conftest.$ac_ext <<_ACEOF
5447 cat confdefs.h >>conftest.$ac_ext
5448 cat >>conftest.$ac_ext <<_ACEOF
5449 /* end confdefs.h. */
5450 $ac_includes_default
5452 #include <$ac_header>
5454 rm -f conftest.$ac_objext
5455 if { (ac_try="$ac_compile"
5457 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5458 *) ac_try_echo
=$ac_try;;
5460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5461 (eval "$ac_compile") 2>conftest.er1
5463 grep -v '^ *+' conftest.er1
>conftest.err
5465 cat conftest.err
>&5
5466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5467 (exit $ac_status); } && {
5468 test -z "$ac_c_werror_flag" ||
5469 test ! -s conftest.err
5470 } && test -s conftest.
$ac_objext; then
5471 eval "$as_ac_Header=yes"
5473 echo "$as_me: failed program was:" >&5
5474 sed 's/^/| /' conftest.
$ac_ext >&5
5476 eval "$as_ac_Header=no"
5479 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5481 ac_res
=`eval echo '${'$as_ac_Header'}'`
5482 { echo "$as_me:$LINENO: result: $ac_res" >&5
5483 echo "${ECHO_T}$ac_res" >&6; }
5484 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5485 cat >>confdefs.h
<<_ACEOF
5486 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5503 for ac_header
in sys
/ipc.h sys
/shm.h \
5504 sys
/mmap.h sys
/mman.h sysexits.h \
5505 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
5508 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5509 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5510 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5511 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5512 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5513 echo $ECHO_N "(cached) $ECHO_C" >&6
5515 ac_res
=`eval echo '${'$as_ac_Header'}'`
5516 { echo "$as_me:$LINENO: result: $ac_res" >&5
5517 echo "${ECHO_T}$ac_res" >&6; }
5519 # Is the header compilable?
5520 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5521 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5522 cat >conftest.
$ac_ext <<_ACEOF
5525 cat confdefs.h
>>conftest.
$ac_ext
5526 cat >>conftest.
$ac_ext <<_ACEOF
5527 /* end confdefs.h. */
5528 $ac_includes_default
5529 #include <$ac_header>
5531 rm -f conftest.
$ac_objext
5532 if { (ac_try
="$ac_compile"
5534 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5535 *) ac_try_echo=$ac_try;;
5537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5538 (eval "$ac_compile") 2>conftest.er1
5540 grep -v '^ *+' conftest.er1 >conftest.err
5542 cat conftest.err >&5
5543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5544 (exit $ac_status); } && {
5545 test -z "$ac_c_werror_flag" ||
5546 test ! -s conftest.err
5547 } && test -s conftest.$ac_objext; then
5548 ac_header_compiler=yes
5550 echo "$as_me: failed program was:" >&5
5551 sed 's/^/| /' conftest.$ac_ext >&5
5553 ac_header_compiler=no
5556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5557 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5558 echo "${ECHO_T}$ac_header_compiler" >&6; }
5560 # Is the header present?
5561 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5562 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5563 cat >conftest.$ac_ext <<_ACEOF
5566 cat confdefs.h >>conftest.$ac_ext
5567 cat >>conftest.$ac_ext <<_ACEOF
5568 /* end confdefs.h. */
5569 #include <$ac_header>
5571 if { (ac_try="$ac_cpp conftest.$ac_ext"
5573 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5574 *) ac_try_echo
=$ac_try;;
5576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5577 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5579 grep -v '^ *+' conftest.er1
>conftest.err
5581 cat conftest.err
>&5
5582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5583 (exit $ac_status); } >/dev
/null
&& {
5584 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5585 test ! -s conftest.err
5587 ac_header_preproc
=yes
5589 echo "$as_me: failed program was:" >&5
5590 sed 's/^/| /' conftest.
$ac_ext >&5
5592 ac_header_preproc
=no
5595 rm -f conftest.err conftest.
$ac_ext
5596 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5597 echo "${ECHO_T}$ac_header_preproc" >&6; }
5599 # So? What about this header?
5600 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5602 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5603 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5604 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5605 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5606 ac_header_preproc
=yes
5609 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5610 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5611 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5612 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5613 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5614 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5615 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5616 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5617 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5618 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5619 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5620 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5624 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5625 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5626 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5627 echo $ECHO_N "(cached) $ECHO_C" >&6
5629 eval "$as_ac_Header=\$ac_header_preproc"
5631 ac_res
=`eval echo '${'$as_ac_Header'}'`
5632 { echo "$as_me:$LINENO: result: $ac_res" >&5
5633 echo "${ECHO_T}$ac_res" >&6; }
5636 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5637 cat >>confdefs.h
<<_ACEOF
5638 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5647 for ac_header
in sys
/mount.h
5649 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5650 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5651 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5652 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5653 echo $ECHO_N "(cached) $ECHO_C" >&6
5655 cat >conftest.
$ac_ext <<_ACEOF
5658 cat confdefs.h
>>conftest.
$ac_ext
5659 cat >>conftest.
$ac_ext <<_ACEOF
5660 /* end confdefs.h. */
5661 #include <sys/param.h>
5663 #include <$ac_header>
5665 rm -f conftest.
$ac_objext
5666 if { (ac_try
="$ac_compile"
5668 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5669 *) ac_try_echo=$ac_try;;
5671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5672 (eval "$ac_compile") 2>conftest.er1
5674 grep -v '^ *+' conftest.er1 >conftest.err
5676 cat conftest.err >&5
5677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5678 (exit $ac_status); } && {
5679 test -z "$ac_c_werror_flag" ||
5680 test ! -s conftest.err
5681 } && test -s conftest.$ac_objext; then
5682 eval "$as_ac_Header=yes"
5684 echo "$as_me: failed program was:" >&5
5685 sed 's/^/| /' conftest.$ac_ext >&5
5687 eval "$as_ac_Header=no"
5690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5692 ac_res=`eval echo '${'$as_ac_Header'}'`
5693 { echo "$as_me:$LINENO: result: $ac_res" >&5
5694 echo "${ECHO_T}$ac_res" >&6; }
5695 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5696 cat >>confdefs.h <<_ACEOF
5697 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5711 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
5712 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
5713 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
5714 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
5715 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5716 echo $ECHO_N "(cached) $ECHO_C" >&6
5718 cat >conftest.$ac_ext <<_ACEOF
5721 cat confdefs.h >>conftest.$ac_ext
5722 cat >>conftest.$ac_ext <<_ACEOF
5723 /* end confdefs.h. */
5724 #include <sys/types.h>
5736 rm -f conftest.$ac_objext
5737 if { (ac_try="$ac_compile"
5739 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5740 *) ac_try_echo
=$ac_try;;
5742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5743 (eval "$ac_compile") 2>conftest.er1
5745 grep -v '^ *+' conftest.er1
>conftest.err
5747 cat conftest.err
>&5
5748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5749 (exit $ac_status); } && {
5750 test -z "$ac_c_werror_flag" ||
5751 test ! -s conftest.err
5752 } && test -s conftest.
$ac_objext; then
5753 eval "$as_ac_Header=yes"
5755 echo "$as_me: failed program was:" >&5
5756 sed 's/^/| /' conftest.
$ac_ext >&5
5758 eval "$as_ac_Header=no"
5761 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5763 ac_res
=`eval echo '${'$as_ac_Header'}'`
5764 { echo "$as_me:$LINENO: result: $ac_res" >&5
5765 echo "${ECHO_T}$ac_res" >&6; }
5766 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5767 cat >>confdefs.h
<<_ACEOF
5768 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5771 ac_header_dirent
=$ac_hdr; break
5775 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5776 if test $ac_header_dirent = dirent.h
; then
5777 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
5778 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
5779 if test "${ac_cv_search_opendir+set}" = set; then
5780 echo $ECHO_N "(cached) $ECHO_C" >&6
5782 ac_func_search_save_LIBS
=$LIBS
5783 cat >conftest.
$ac_ext <<_ACEOF
5786 cat confdefs.h
>>conftest.
$ac_ext
5787 cat >>conftest.
$ac_ext <<_ACEOF
5788 /* end confdefs.h. */
5790 /* Override any GCC internal prototype to avoid an error.
5791 Use char because int might match the return type of a GCC
5792 builtin and then its argument prototype would still apply. */
5805 for ac_lib
in '' dir
; do
5806 if test -z "$ac_lib"; then
5807 ac_res
="none required"
5810 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5812 rm -f conftest.
$ac_objext conftest
$ac_exeext
5813 if { (ac_try
="$ac_link"
5815 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5816 *) ac_try_echo=$ac_try;;
5818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5819 (eval "$ac_link") 2>conftest.er1
5821 grep -v '^ *+' conftest.er1 >conftest.err
5823 cat conftest.err >&5
5824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5825 (exit $ac_status); } && {
5826 test -z "$ac_c_werror_flag" ||
5827 test ! -s conftest.err
5828 } && test -s conftest$ac_exeext &&
5829 $as_test_x conftest$ac_exeext; then
5830 ac_cv_search_opendir=$ac_res
5832 echo "$as_me: failed program was:" >&5
5833 sed 's/^/| /' conftest.$ac_ext >&5
5838 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5840 if test "${ac_cv_search_opendir+set}" = set; then
5844 if test "${ac_cv_search_opendir+set}" = set; then
5847 ac_cv_search_opendir=no
5850 LIBS=$ac_func_search_save_LIBS
5852 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5853 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
5854 ac_res=$ac_cv_search_opendir
5855 if test "$ac_res" != no; then
5856 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5861 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
5862 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
5863 if test "${ac_cv_search_opendir+set}" = set; then
5864 echo $ECHO_N "(cached) $ECHO_C" >&6
5866 ac_func_search_save_LIBS=$LIBS
5867 cat >conftest.$ac_ext <<_ACEOF
5870 cat confdefs.h >>conftest.$ac_ext
5871 cat >>conftest.$ac_ext <<_ACEOF
5872 /* end confdefs.h. */
5874 /* Override any GCC internal prototype to avoid an error.
5875 Use char because int might match the return type of a GCC
5876 builtin and then its argument prototype would still apply. */
5889 for ac_lib in '' x; do
5890 if test -z "$ac_lib"; then
5891 ac_res="none required"
5894 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5896 rm -f conftest.$ac_objext conftest$ac_exeext
5897 if { (ac_try="$ac_link"
5899 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5900 *) ac_try_echo
=$ac_try;;
5902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5903 (eval "$ac_link") 2>conftest.er1
5905 grep -v '^ *+' conftest.er1
>conftest.err
5907 cat conftest.err
>&5
5908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5909 (exit $ac_status); } && {
5910 test -z "$ac_c_werror_flag" ||
5911 test ! -s conftest.err
5912 } && test -s conftest
$ac_exeext &&
5913 $as_test_x conftest
$ac_exeext; then
5914 ac_cv_search_opendir
=$ac_res
5916 echo "$as_me: failed program was:" >&5
5917 sed 's/^/| /' conftest.
$ac_ext >&5
5922 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5924 if test "${ac_cv_search_opendir+set}" = set; then
5928 if test "${ac_cv_search_opendir+set}" = set; then
5931 ac_cv_search_opendir
=no
5934 LIBS
=$ac_func_search_save_LIBS
5936 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5937 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
5938 ac_res
=$ac_cv_search_opendir
5939 if test "$ac_res" != no
; then
5940 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5946 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
5947 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
5948 if test "${ac_cv_header_stat_broken+set}" = set; then
5949 echo $ECHO_N "(cached) $ECHO_C" >&6
5951 cat >conftest.
$ac_ext <<_ACEOF
5954 cat confdefs.h
>>conftest.
$ac_ext
5955 cat >>conftest.
$ac_ext <<_ACEOF
5956 /* end confdefs.h. */
5957 #include <sys/types.h>
5958 #include <sys/stat.h>
5960 #if defined S_ISBLK && defined S_IFDIR
5961 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5964 #if defined S_ISBLK && defined S_IFCHR
5965 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5968 #if defined S_ISLNK && defined S_IFREG
5969 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5972 #if defined S_ISSOCK && defined S_IFREG
5973 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5977 rm -f conftest.
$ac_objext
5978 if { (ac_try
="$ac_compile"
5980 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5981 *) ac_try_echo=$ac_try;;
5983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5984 (eval "$ac_compile") 2>conftest.er1
5986 grep -v '^ *+' conftest.er1 >conftest.err
5988 cat conftest.err >&5
5989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5990 (exit $ac_status); } && {
5991 test -z "$ac_c_werror_flag" ||
5992 test ! -s conftest.err
5993 } && test -s conftest.$ac_objext; then
5994 ac_cv_header_stat_broken=no
5996 echo "$as_me: failed program was:" >&5
5997 sed 's/^/| /' conftest.$ac_ext >&5
5999 ac_cv_header_stat_broken=yes
6002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6004 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
6005 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
6006 if test $ac_cv_header_stat_broken = yes; then
6008 cat >>confdefs.h <<\_ACEOF
6009 #define STAT_MACROS_BROKEN 1
6014 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6015 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6016 if test "${ac_cv_header_stdc+set}" = set; then
6017 echo $ECHO_N "(cached) $ECHO_C" >&6
6019 cat >conftest.$ac_ext <<_ACEOF
6022 cat confdefs.h >>conftest.$ac_ext
6023 cat >>conftest.$ac_ext <<_ACEOF
6024 /* end confdefs.h. */
6038 rm -f conftest.$ac_objext
6039 if { (ac_try="$ac_compile"
6041 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6042 *) ac_try_echo
=$ac_try;;
6044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6045 (eval "$ac_compile") 2>conftest.er1
6047 grep -v '^ *+' conftest.er1
>conftest.err
6049 cat conftest.err
>&5
6050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6051 (exit $ac_status); } && {
6052 test -z "$ac_c_werror_flag" ||
6053 test ! -s conftest.err
6054 } && test -s conftest.
$ac_objext; then
6055 ac_cv_header_stdc
=yes
6057 echo "$as_me: failed program was:" >&5
6058 sed 's/^/| /' conftest.
$ac_ext >&5
6060 ac_cv_header_stdc
=no
6063 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6065 if test $ac_cv_header_stdc = yes; then
6066 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6067 cat >conftest.
$ac_ext <<_ACEOF
6070 cat confdefs.h
>>conftest.
$ac_ext
6071 cat >>conftest.
$ac_ext <<_ACEOF
6072 /* end confdefs.h. */
6076 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6077 $EGREP "memchr" >/dev
/null
2>&1; then
6080 ac_cv_header_stdc
=no
6086 if test $ac_cv_header_stdc = yes; then
6087 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6088 cat >conftest.
$ac_ext <<_ACEOF
6091 cat confdefs.h
>>conftest.
$ac_ext
6092 cat >>conftest.
$ac_ext <<_ACEOF
6093 /* end confdefs.h. */
6097 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6098 $EGREP "free" >/dev
/null
2>&1; then
6101 ac_cv_header_stdc
=no
6107 if test $ac_cv_header_stdc = yes; then
6108 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6109 if test "$cross_compiling" = yes; then
6112 cat >conftest.
$ac_ext <<_ACEOF
6115 cat confdefs.h
>>conftest.
$ac_ext
6116 cat >>conftest.
$ac_ext <<_ACEOF
6117 /* end confdefs.h. */
6120 #if ((' ' & 0x0FF) == 0x020)
6121 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6122 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6124 # define ISLOWER(c) \
6125 (('a' <= (c) && (c) <= 'i') \
6126 || ('j' <= (c) && (c) <= 'r') \
6127 || ('s' <= (c) && (c) <= 'z'))
6128 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6131 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6136 for (i = 0; i < 256; i++)
6137 if (XOR (islower (i), ISLOWER (i))
6138 || toupper (i) != TOUPPER (i))
6143 rm -f conftest
$ac_exeext
6144 if { (ac_try
="$ac_link"
6146 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6147 *) ac_try_echo=$ac_try;;
6149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6150 (eval "$ac_link") 2>&5
6152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6153 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6154 { (case "(($ac_try" in
6155 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6156 *) ac_try_echo
=$ac_try;;
6158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6159 (eval "$ac_try") 2>&5
6161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6162 (exit $ac_status); }; }; then
6165 echo "$as_me: program exited with status $ac_status" >&5
6166 echo "$as_me: failed program was:" >&5
6167 sed 's/^/| /' conftest.
$ac_ext >&5
6170 ac_cv_header_stdc
=no
6172 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6178 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6179 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6180 if test $ac_cv_header_stdc = yes; then
6182 cat >>confdefs.h
<<\_ACEOF
6183 #define STDC_HEADERS 1
6188 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
6189 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
6190 if test "${ac_cv_header_sys_wait_h+set}" = set; then
6191 echo $ECHO_N "(cached) $ECHO_C" >&6
6193 cat >conftest.
$ac_ext <<_ACEOF
6196 cat confdefs.h
>>conftest.
$ac_ext
6197 cat >>conftest.
$ac_ext <<_ACEOF
6198 /* end confdefs.h. */
6199 #include <sys/types.h>
6200 #include <sys/wait.h>
6202 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6205 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6213 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6218 rm -f conftest.
$ac_objext
6219 if { (ac_try
="$ac_compile"
6221 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6222 *) ac_try_echo=$ac_try;;
6224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6225 (eval "$ac_compile") 2>conftest.er1
6227 grep -v '^ *+' conftest.er1 >conftest.err
6229 cat conftest.err >&5
6230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6231 (exit $ac_status); } && {
6232 test -z "$ac_c_werror_flag" ||
6233 test ! -s conftest.err
6234 } && test -s conftest.$ac_objext; then
6235 ac_cv_header_sys_wait_h=yes
6237 echo "$as_me: failed program was:" >&5
6238 sed 's/^/| /' conftest.$ac_ext >&5
6240 ac_cv_header_sys_wait_h=no
6243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6245 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
6246 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
6247 if test $ac_cv_header_sys_wait_h = yes; then
6249 cat >>confdefs.h <<\_ACEOF
6250 #define HAVE_SYS_WAIT_H 1
6255 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6256 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
6257 if test "${ac_cv_header_time+set}" = set; then
6258 echo $ECHO_N "(cached) $ECHO_C" >&6
6260 cat >conftest.$ac_ext <<_ACEOF
6263 cat confdefs.h >>conftest.$ac_ext
6264 cat >>conftest.$ac_ext <<_ACEOF
6265 /* end confdefs.h. */
6266 #include <sys/types.h>
6267 #include <sys/time.h>
6273 if ((struct tm *) 0)
6279 rm -f conftest.$ac_objext
6280 if { (ac_try="$ac_compile"
6282 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6283 *) ac_try_echo
=$ac_try;;
6285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6286 (eval "$ac_compile") 2>conftest.er1
6288 grep -v '^ *+' conftest.er1
>conftest.err
6290 cat conftest.err
>&5
6291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6292 (exit $ac_status); } && {
6293 test -z "$ac_c_werror_flag" ||
6294 test ! -s conftest.err
6295 } && test -s conftest.
$ac_objext; then
6296 ac_cv_header_time
=yes
6298 echo "$as_me: failed program was:" >&5
6299 sed 's/^/| /' conftest.
$ac_ext >&5
6301 ac_cv_header_time
=no
6304 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6306 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6307 echo "${ECHO_T}$ac_cv_header_time" >&6; }
6308 if test $ac_cv_header_time = yes; then
6310 cat >>confdefs.h
<<\_ACEOF
6311 #define TIME_WITH_SYS_TIME 1
6316 { echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6317 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6; }
6318 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6319 echo $ECHO_N "(cached) $ECHO_C" >&6
6321 cat >conftest.
$ac_ext <<_ACEOF
6324 cat confdefs.h
>>conftest.
$ac_ext
6325 cat >>conftest.
$ac_ext <<_ACEOF
6326 /* end confdefs.h. */
6327 $ac_includes_default
6331 static struct stat ac_aggr;
6332 if (ac_aggr.st_blksize)
6338 rm -f conftest.
$ac_objext
6339 if { (ac_try
="$ac_compile"
6341 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6342 *) ac_try_echo=$ac_try;;
6344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6345 (eval "$ac_compile") 2>conftest.er1
6347 grep -v '^ *+' conftest.er1 >conftest.err
6349 cat conftest.err >&5
6350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6351 (exit $ac_status); } && {
6352 test -z "$ac_c_werror_flag" ||
6353 test ! -s conftest.err
6354 } && test -s conftest.$ac_objext; then
6355 ac_cv_member_struct_stat_st_blksize=yes
6357 echo "$as_me: failed program was:" >&5
6358 sed 's/^/| /' conftest.$ac_ext >&5
6360 cat >conftest.$ac_ext <<_ACEOF
6363 cat confdefs.h >>conftest.$ac_ext
6364 cat >>conftest.$ac_ext <<_ACEOF
6365 /* end confdefs.h. */
6366 $ac_includes_default
6370 static struct stat ac_aggr;
6371 if (sizeof ac_aggr.st_blksize)
6377 rm -f conftest.$ac_objext
6378 if { (ac_try="$ac_compile"
6380 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6381 *) ac_try_echo
=$ac_try;;
6383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6384 (eval "$ac_compile") 2>conftest.er1
6386 grep -v '^ *+' conftest.er1
>conftest.err
6388 cat conftest.err
>&5
6389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6390 (exit $ac_status); } && {
6391 test -z "$ac_c_werror_flag" ||
6392 test ! -s conftest.err
6393 } && test -s conftest.
$ac_objext; then
6394 ac_cv_member_struct_stat_st_blksize
=yes
6396 echo "$as_me: failed program was:" >&5
6397 sed 's/^/| /' conftest.
$ac_ext >&5
6399 ac_cv_member_struct_stat_st_blksize
=no
6402 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6405 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6407 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
6408 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6; }
6409 if test $ac_cv_member_struct_stat_st_blksize = yes; then
6411 cat >>confdefs.h
<<_ACEOF
6412 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6416 cat >>confdefs.h
<<\_ACEOF
6417 #define HAVE_ST_BLKSIZE 1
6423 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
6424 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
6425 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
6426 echo $ECHO_N "(cached) $ECHO_C" >&6
6428 cat >conftest.
$ac_ext <<_ACEOF
6431 cat confdefs.h
>>conftest.
$ac_ext
6432 cat >>conftest.
$ac_ext <<_ACEOF
6433 /* end confdefs.h. */
6434 $ac_includes_default
6438 static struct stat ac_aggr;
6439 if (ac_aggr.st_blocks)
6445 rm -f conftest.
$ac_objext
6446 if { (ac_try
="$ac_compile"
6448 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6449 *) ac_try_echo=$ac_try;;
6451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6452 (eval "$ac_compile") 2>conftest.er1
6454 grep -v '^ *+' conftest.er1 >conftest.err
6456 cat conftest.err >&5
6457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6458 (exit $ac_status); } && {
6459 test -z "$ac_c_werror_flag" ||
6460 test ! -s conftest.err
6461 } && test -s conftest.$ac_objext; then
6462 ac_cv_member_struct_stat_st_blocks=yes
6464 echo "$as_me: failed program was:" >&5
6465 sed 's/^/| /' conftest.$ac_ext >&5
6467 cat >conftest.$ac_ext <<_ACEOF
6470 cat confdefs.h >>conftest.$ac_ext
6471 cat >>conftest.$ac_ext <<_ACEOF
6472 /* end confdefs.h. */
6473 $ac_includes_default
6477 static struct stat ac_aggr;
6478 if (sizeof ac_aggr.st_blocks)
6484 rm -f conftest.$ac_objext
6485 if { (ac_try="$ac_compile"
6487 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6488 *) ac_try_echo
=$ac_try;;
6490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6491 (eval "$ac_compile") 2>conftest.er1
6493 grep -v '^ *+' conftest.er1
>conftest.err
6495 cat conftest.err
>&5
6496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6497 (exit $ac_status); } && {
6498 test -z "$ac_c_werror_flag" ||
6499 test ! -s conftest.err
6500 } && test -s conftest.
$ac_objext; then
6501 ac_cv_member_struct_stat_st_blocks
=yes
6503 echo "$as_me: failed program was:" >&5
6504 sed 's/^/| /' conftest.
$ac_ext >&5
6506 ac_cv_member_struct_stat_st_blocks
=no
6509 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6512 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6514 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
6515 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
6516 if test $ac_cv_member_struct_stat_st_blocks = yes; then
6518 cat >>confdefs.h
<<_ACEOF
6519 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6523 cat >>confdefs.h
<<\_ACEOF
6524 #define HAVE_ST_BLOCKS 1
6528 case " $LIBOBJS " in
6529 *" fileblocks.$ac_objext "* ) ;;
6530 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6537 { echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6538 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6; }
6539 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6540 echo $ECHO_N "(cached) $ECHO_C" >&6
6542 cat >conftest.
$ac_ext <<_ACEOF
6545 cat confdefs.h
>>conftest.
$ac_ext
6546 cat >>conftest.
$ac_ext <<_ACEOF
6547 /* end confdefs.h. */
6548 $ac_includes_default
6552 static struct stat ac_aggr;
6553 if (ac_aggr.st_rdev)
6559 rm -f conftest.
$ac_objext
6560 if { (ac_try
="$ac_compile"
6562 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6563 *) ac_try_echo=$ac_try;;
6565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6566 (eval "$ac_compile") 2>conftest.er1
6568 grep -v '^ *+' conftest.er1 >conftest.err
6570 cat conftest.err >&5
6571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6572 (exit $ac_status); } && {
6573 test -z "$ac_c_werror_flag" ||
6574 test ! -s conftest.err
6575 } && test -s conftest.$ac_objext; then
6576 ac_cv_member_struct_stat_st_rdev=yes
6578 echo "$as_me: failed program was:" >&5
6579 sed 's/^/| /' conftest.$ac_ext >&5
6581 cat >conftest.$ac_ext <<_ACEOF
6584 cat confdefs.h >>conftest.$ac_ext
6585 cat >>conftest.$ac_ext <<_ACEOF
6586 /* end confdefs.h. */
6587 $ac_includes_default
6591 static struct stat ac_aggr;
6592 if (sizeof ac_aggr.st_rdev)
6598 rm -f conftest.$ac_objext
6599 if { (ac_try="$ac_compile"
6601 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6602 *) ac_try_echo
=$ac_try;;
6604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6605 (eval "$ac_compile") 2>conftest.er1
6607 grep -v '^ *+' conftest.er1
>conftest.err
6609 cat conftest.err
>&5
6610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6611 (exit $ac_status); } && {
6612 test -z "$ac_c_werror_flag" ||
6613 test ! -s conftest.err
6614 } && test -s conftest.
$ac_objext; then
6615 ac_cv_member_struct_stat_st_rdev
=yes
6617 echo "$as_me: failed program was:" >&5
6618 sed 's/^/| /' conftest.
$ac_ext >&5
6620 ac_cv_member_struct_stat_st_rdev
=no
6623 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6626 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6628 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
6629 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6; }
6630 if test $ac_cv_member_struct_stat_st_rdev = yes; then
6632 cat >>confdefs.h
<<_ACEOF
6633 #define HAVE_STRUCT_STAT_ST_RDEV 1
6637 cat >>confdefs.h
<<\_ACEOF
6638 #define HAVE_ST_RDEV 1
6644 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6645 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
6646 if test "${ac_cv_struct_tm+set}" = set; then
6647 echo $ECHO_N "(cached) $ECHO_C" >&6
6649 cat >conftest.
$ac_ext <<_ACEOF
6652 cat confdefs.h
>>conftest.
$ac_ext
6653 cat >>conftest.
$ac_ext <<_ACEOF
6654 /* end confdefs.h. */
6655 #include <sys/types.h>
6662 int *p = &tm.tm_sec;
6668 rm -f conftest.
$ac_objext
6669 if { (ac_try
="$ac_compile"
6671 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6672 *) ac_try_echo=$ac_try;;
6674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6675 (eval "$ac_compile") 2>conftest.er1
6677 grep -v '^ *+' conftest.er1 >conftest.err
6679 cat conftest.err >&5
6680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6681 (exit $ac_status); } && {
6682 test -z "$ac_c_werror_flag" ||
6683 test ! -s conftest.err
6684 } && test -s conftest.$ac_objext; then
6685 ac_cv_struct_tm=time.h
6687 echo "$as_me: failed program was:" >&5
6688 sed 's/^/| /' conftest.$ac_ext >&5
6690 ac_cv_struct_tm=sys/time.h
6693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6695 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6696 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
6697 if test $ac_cv_struct_tm = sys/time.h; then
6699 cat >>confdefs.h <<\_ACEOF
6700 #define TM_IN_SYS_TIME 1
6705 { echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
6706 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6; }
6707 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
6708 echo $ECHO_N "(cached) $ECHO_C" >&6
6710 cat >conftest.$ac_ext <<_ACEOF
6713 cat confdefs.h >>conftest.$ac_ext
6714 cat >>conftest.$ac_ext <<_ACEOF
6715 /* end confdefs.h. */
6716 #include <sys/types.h>
6717 #include <$ac_cv_struct_tm>
6723 static struct tm ac_aggr;
6724 if (ac_aggr.tm_zone)
6730 rm -f conftest.$ac_objext
6731 if { (ac_try="$ac_compile"
6733 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6734 *) ac_try_echo
=$ac_try;;
6736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6737 (eval "$ac_compile") 2>conftest.er1
6739 grep -v '^ *+' conftest.er1
>conftest.err
6741 cat conftest.err
>&5
6742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6743 (exit $ac_status); } && {
6744 test -z "$ac_c_werror_flag" ||
6745 test ! -s conftest.err
6746 } && test -s conftest.
$ac_objext; then
6747 ac_cv_member_struct_tm_tm_zone
=yes
6749 echo "$as_me: failed program was:" >&5
6750 sed 's/^/| /' conftest.
$ac_ext >&5
6752 cat >conftest.
$ac_ext <<_ACEOF
6755 cat confdefs.h
>>conftest.
$ac_ext
6756 cat >>conftest.
$ac_ext <<_ACEOF
6757 /* end confdefs.h. */
6758 #include <sys/types.h>
6759 #include <$ac_cv_struct_tm>
6765 static struct tm ac_aggr;
6766 if (sizeof ac_aggr.tm_zone)
6772 rm -f conftest.
$ac_objext
6773 if { (ac_try
="$ac_compile"
6775 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6776 *) ac_try_echo=$ac_try;;
6778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6779 (eval "$ac_compile") 2>conftest.er1
6781 grep -v '^ *+' conftest.er1 >conftest.err
6783 cat conftest.err >&5
6784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6785 (exit $ac_status); } && {
6786 test -z "$ac_c_werror_flag" ||
6787 test ! -s conftest.err
6788 } && test -s conftest.$ac_objext; then
6789 ac_cv_member_struct_tm_tm_zone=yes
6791 echo "$as_me: failed program was:" >&5
6792 sed 's/^/| /' conftest.$ac_ext >&5
6794 ac_cv_member_struct_tm_tm_zone=no
6797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6802 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
6803 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6; }
6804 if test $ac_cv_member_struct_tm_tm_zone = yes; then
6806 cat >>confdefs.h <<_ACEOF
6807 #define HAVE_STRUCT_TM_TM_ZONE 1
6813 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6815 cat >>confdefs.h <<\_ACEOF
6816 #define HAVE_TM_ZONE 1
6820 { echo "$as_me:$LINENO: checking whether tzname is declared" >&5
6821 echo $ECHO_N "checking whether tzname is declared... $ECHO_C" >&6; }
6822 if test "${ac_cv_have_decl_tzname+set}" = set; then
6823 echo $ECHO_N "(cached) $ECHO_C" >&6
6825 cat >conftest.$ac_ext <<_ACEOF
6828 cat confdefs.h >>conftest.$ac_ext
6829 cat >>conftest.$ac_ext <<_ACEOF
6830 /* end confdefs.h. */
6844 rm -f conftest.$ac_objext
6845 if { (ac_try="$ac_compile"
6847 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6848 *) ac_try_echo
=$ac_try;;
6850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6851 (eval "$ac_compile") 2>conftest.er1
6853 grep -v '^ *+' conftest.er1
>conftest.err
6855 cat conftest.err
>&5
6856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6857 (exit $ac_status); } && {
6858 test -z "$ac_c_werror_flag" ||
6859 test ! -s conftest.err
6860 } && test -s conftest.
$ac_objext; then
6861 ac_cv_have_decl_tzname
=yes
6863 echo "$as_me: failed program was:" >&5
6864 sed 's/^/| /' conftest.
$ac_ext >&5
6866 ac_cv_have_decl_tzname
=no
6869 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6871 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5
6872 echo "${ECHO_T}$ac_cv_have_decl_tzname" >&6; }
6873 if test $ac_cv_have_decl_tzname = yes; then
6875 cat >>confdefs.h
<<_ACEOF
6876 #define HAVE_DECL_TZNAME 1
6881 cat >>confdefs.h
<<_ACEOF
6882 #define HAVE_DECL_TZNAME 0
6889 { echo "$as_me:$LINENO: checking for tzname" >&5
6890 echo $ECHO_N "checking for tzname... $ECHO_C" >&6; }
6891 if test "${ac_cv_var_tzname+set}" = set; then
6892 echo $ECHO_N "(cached) $ECHO_C" >&6
6894 cat >conftest.
$ac_ext <<_ACEOF
6897 cat confdefs.h
>>conftest.
$ac_ext
6898 cat >>conftest.
$ac_ext <<_ACEOF
6899 /* end confdefs.h. */
6901 #if !HAVE_DECL_TZNAME
6902 extern char *tzname[];
6908 return tzname[0][0];
6913 rm -f conftest.
$ac_objext conftest
$ac_exeext
6914 if { (ac_try
="$ac_link"
6916 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6917 *) ac_try_echo=$ac_try;;
6919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6920 (eval "$ac_link") 2>conftest.er1
6922 grep -v '^ *+' conftest.er1 >conftest.err
6924 cat conftest.err >&5
6925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6926 (exit $ac_status); } && {
6927 test -z "$ac_c_werror_flag" ||
6928 test ! -s conftest.err
6929 } && test -s conftest$ac_exeext &&
6930 $as_test_x conftest$ac_exeext; then
6931 ac_cv_var_tzname=yes
6933 echo "$as_me: failed program was:" >&5
6934 sed 's/^/| /' conftest.$ac_ext >&5
6939 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6940 conftest$ac_exeext conftest.$ac_ext
6942 { echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
6943 echo "${ECHO_T}$ac_cv_var_tzname" >&6; }
6944 if test $ac_cv_var_tzname = yes; then
6946 cat >>confdefs.h <<\_ACEOF
6947 #define HAVE_TZNAME 1
6953 { echo "$as_me:$LINENO: checking for off_t" >&5
6954 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
6955 if test "${ac_cv_type_off_t+set}" = set; then
6956 echo $ECHO_N "(cached) $ECHO_C" >&6
6958 cat >conftest.$ac_ext <<_ACEOF
6961 cat confdefs.h >>conftest.$ac_ext
6962 cat >>conftest.$ac_ext <<_ACEOF
6963 /* end confdefs.h. */
6964 $ac_includes_default
6965 typedef off_t ac__type_new_;
6969 if ((ac__type_new_ *) 0)
6971 if (sizeof (ac__type_new_))
6977 rm -f conftest.$ac_objext
6978 if { (ac_try="$ac_compile"
6980 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6981 *) ac_try_echo
=$ac_try;;
6983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6984 (eval "$ac_compile") 2>conftest.er1
6986 grep -v '^ *+' conftest.er1
>conftest.err
6988 cat conftest.err
>&5
6989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6990 (exit $ac_status); } && {
6991 test -z "$ac_c_werror_flag" ||
6992 test ! -s conftest.err
6993 } && test -s conftest.
$ac_objext; then
6994 ac_cv_type_off_t
=yes
6996 echo "$as_me: failed program was:" >&5
6997 sed 's/^/| /' conftest.
$ac_ext >&5
7002 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7004 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
7005 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
7006 if test $ac_cv_type_off_t = yes; then
7010 cat >>confdefs.h
<<_ACEOF
7011 #define off_t long int
7016 { echo "$as_me:$LINENO: checking for pid_t" >&5
7017 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
7018 if test "${ac_cv_type_pid_t+set}" = set; then
7019 echo $ECHO_N "(cached) $ECHO_C" >&6
7021 cat >conftest.
$ac_ext <<_ACEOF
7024 cat confdefs.h
>>conftest.
$ac_ext
7025 cat >>conftest.
$ac_ext <<_ACEOF
7026 /* end confdefs.h. */
7027 $ac_includes_default
7028 typedef pid_t ac__type_new_;
7032 if ((ac__type_new_ *) 0)
7034 if (sizeof (ac__type_new_))
7040 rm -f conftest.
$ac_objext
7041 if { (ac_try
="$ac_compile"
7043 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7044 *) ac_try_echo=$ac_try;;
7046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7047 (eval "$ac_compile") 2>conftest.er1
7049 grep -v '^ *+' conftest.er1 >conftest.err
7051 cat conftest.err >&5
7052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7053 (exit $ac_status); } && {
7054 test -z "$ac_c_werror_flag" ||
7055 test ! -s conftest.err
7056 } && test -s conftest.$ac_objext; then
7057 ac_cv_type_pid_t=yes
7059 echo "$as_me: failed program was:" >&5
7060 sed 's/^/| /' conftest.$ac_ext >&5
7065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7067 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
7068 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
7069 if test $ac_cv_type_pid_t = yes; then
7073 cat >>confdefs.h <<_ACEOF
7079 { echo "$as_me:$LINENO: checking for size_t" >&5
7080 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
7081 if test "${ac_cv_type_size_t+set}" = set; then
7082 echo $ECHO_N "(cached) $ECHO_C" >&6
7084 cat >conftest.$ac_ext <<_ACEOF
7087 cat confdefs.h >>conftest.$ac_ext
7088 cat >>conftest.$ac_ext <<_ACEOF
7089 /* end confdefs.h. */
7090 $ac_includes_default
7091 typedef size_t ac__type_new_;
7095 if ((ac__type_new_ *) 0)
7097 if (sizeof (ac__type_new_))
7103 rm -f conftest.$ac_objext
7104 if { (ac_try="$ac_compile"
7106 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7107 *) ac_try_echo
=$ac_try;;
7109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7110 (eval "$ac_compile") 2>conftest.er1
7112 grep -v '^ *+' conftest.er1
>conftest.err
7114 cat conftest.err
>&5
7115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7116 (exit $ac_status); } && {
7117 test -z "$ac_c_werror_flag" ||
7118 test ! -s conftest.err
7119 } && test -s conftest.
$ac_objext; then
7120 ac_cv_type_size_t
=yes
7122 echo "$as_me: failed program was:" >&5
7123 sed 's/^/| /' conftest.
$ac_ext >&5
7125 ac_cv_type_size_t
=no
7128 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7130 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
7131 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
7132 if test $ac_cv_type_size_t = yes; then
7136 cat >>confdefs.h
<<_ACEOF
7137 #define size_t unsigned int
7142 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
7143 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
7144 if test "${ac_cv_type_uid_t+set}" = set; then
7145 echo $ECHO_N "(cached) $ECHO_C" >&6
7147 cat >conftest.
$ac_ext <<_ACEOF
7150 cat confdefs.h
>>conftest.
$ac_ext
7151 cat >>conftest.
$ac_ext <<_ACEOF
7152 /* end confdefs.h. */
7153 #include <sys/types.h>
7156 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7157 $EGREP "uid_t" >/dev
/null
2>&1; then
7158 ac_cv_type_uid_t
=yes
7165 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
7166 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
7167 if test $ac_cv_type_uid_t = no
; then
7169 cat >>confdefs.h
<<\_ACEOF
7174 cat >>confdefs.h
<<\_ACEOF
7181 { echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
7182 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6; }
7183 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
7184 echo $ECHO_N "(cached) $ECHO_C" >&6
7186 cat >conftest.
$ac_ext <<_ACEOF
7189 cat confdefs.h
>>conftest.
$ac_ext
7190 cat >>conftest.
$ac_ext <<_ACEOF
7191 /* end confdefs.h. */
7192 $ac_includes_default
7196 static struct tm ac_aggr;
7197 if (ac_aggr.tm_gmtoff)
7203 rm -f conftest.
$ac_objext
7204 if { (ac_try
="$ac_compile"
7206 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7207 *) ac_try_echo=$ac_try;;
7209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7210 (eval "$ac_compile") 2>conftest.er1
7212 grep -v '^ *+' conftest.er1 >conftest.err
7214 cat conftest.err >&5
7215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7216 (exit $ac_status); } && {
7217 test -z "$ac_c_werror_flag" ||
7218 test ! -s conftest.err
7219 } && test -s conftest.$ac_objext; then
7220 ac_cv_member_struct_tm_tm_gmtoff=yes
7222 echo "$as_me: failed program was:" >&5
7223 sed 's/^/| /' conftest.$ac_ext >&5
7225 cat >conftest.$ac_ext <<_ACEOF
7228 cat confdefs.h >>conftest.$ac_ext
7229 cat >>conftest.$ac_ext <<_ACEOF
7230 /* end confdefs.h. */
7231 $ac_includes_default
7235 static struct tm ac_aggr;
7236 if (sizeof ac_aggr.tm_gmtoff)
7242 rm -f conftest.$ac_objext
7243 if { (ac_try="$ac_compile"
7245 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7246 *) ac_try_echo
=$ac_try;;
7248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7249 (eval "$ac_compile") 2>conftest.er1
7251 grep -v '^ *+' conftest.er1
>conftest.err
7253 cat conftest.err
>&5
7254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7255 (exit $ac_status); } && {
7256 test -z "$ac_c_werror_flag" ||
7257 test ! -s conftest.err
7258 } && test -s conftest.
$ac_objext; then
7259 ac_cv_member_struct_tm_tm_gmtoff
=yes
7261 echo "$as_me: failed program was:" >&5
7262 sed 's/^/| /' conftest.
$ac_ext >&5
7264 ac_cv_member_struct_tm_tm_gmtoff
=no
7267 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7270 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7272 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
7273 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6; }
7274 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
7276 cat >>confdefs.h
<<_ACEOF
7277 #define HAVE_STRUCT_TM_TM_GMTOFF 1
7284 # Look for some functions
7299 for ac_func
in getpagesize kqueue statfs statvfs \
7300 clone kse_create rfork_thread thr_create sa_register \
7301 getcontext makecontext setcontext sigaltstack swapcontext
7303 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7304 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7306 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7307 echo $ECHO_N "(cached) $ECHO_C" >&6
7309 cat >conftest.
$ac_ext <<_ACEOF
7312 cat confdefs.h
>>conftest.
$ac_ext
7313 cat >>conftest.
$ac_ext <<_ACEOF
7314 /* end confdefs.h. */
7315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7317 #define $ac_func innocuous_$ac_func
7319 /* System header to define __stub macros and hopefully few prototypes,
7320 which can conflict with char $ac_func (); below.
7321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7322 <limits.h> exists even on freestanding compilers. */
7325 # include <limits.h>
7327 # include <assert.h>
7332 /* Override any GCC internal prototype to avoid an error.
7333 Use char because int might match the return type of a GCC
7334 builtin and then its argument prototype would still apply. */
7339 /* The GNU C library defines this for functions which it implements
7340 to always fail with ENOSYS. Some functions are actually named
7341 something starting with __ and the normal name is an alias. */
7342 #if defined __stub_$ac_func || defined __stub___$ac_func
7354 rm -f conftest.
$ac_objext conftest
$ac_exeext
7355 if { (ac_try
="$ac_link"
7357 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7358 *) ac_try_echo=$ac_try;;
7360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7361 (eval "$ac_link") 2>conftest.er1
7363 grep -v '^ *+' conftest.er1 >conftest.err
7365 cat conftest.err >&5
7366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7367 (exit $ac_status); } && {
7368 test -z "$ac_c_werror_flag" ||
7369 test ! -s conftest.err
7370 } && test -s conftest$ac_exeext &&
7371 $as_test_x conftest$ac_exeext; then
7372 eval "$as_ac_var=yes"
7374 echo "$as_me: failed program was:" >&5
7375 sed 's/^/| /' conftest.$ac_ext >&5
7377 eval "$as_ac_var=no"
7380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7381 conftest$ac_exeext conftest.$ac_ext
7383 ac_res=`eval echo '${'$as_ac_var'}'`
7384 { echo "$as_me:$LINENO: result: $ac_res" >&5
7385 echo "${ECHO_T}$ac_res" >&6; }
7386 if test `eval echo '${'$as_ac_var'}'` = yes; then
7387 cat >>confdefs.h <<_ACEOF
7388 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7397 for ac_header in stdlib.h unistd.h
7399 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7400 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7401 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7402 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7403 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7404 echo $ECHO_N "(cached) $ECHO_C" >&6
7406 ac_res=`eval echo '${'$as_ac_Header'}'`
7407 { echo "$as_me:$LINENO: result: $ac_res" >&5
7408 echo "${ECHO_T}$ac_res" >&6; }
7410 # Is the header compilable?
7411 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7412 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7413 cat >conftest.$ac_ext <<_ACEOF
7416 cat confdefs.h >>conftest.$ac_ext
7417 cat >>conftest.$ac_ext <<_ACEOF
7418 /* end confdefs.h. */
7419 $ac_includes_default
7420 #include <$ac_header>
7422 rm -f conftest.$ac_objext
7423 if { (ac_try="$ac_compile"
7425 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7426 *) ac_try_echo
=$ac_try;;
7428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7429 (eval "$ac_compile") 2>conftest.er1
7431 grep -v '^ *+' conftest.er1
>conftest.err
7433 cat conftest.err
>&5
7434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7435 (exit $ac_status); } && {
7436 test -z "$ac_c_werror_flag" ||
7437 test ! -s conftest.err
7438 } && test -s conftest.
$ac_objext; then
7439 ac_header_compiler
=yes
7441 echo "$as_me: failed program was:" >&5
7442 sed 's/^/| /' conftest.
$ac_ext >&5
7444 ac_header_compiler
=no
7447 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7448 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7449 echo "${ECHO_T}$ac_header_compiler" >&6; }
7451 # Is the header present?
7452 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7453 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7454 cat >conftest.
$ac_ext <<_ACEOF
7457 cat confdefs.h
>>conftest.
$ac_ext
7458 cat >>conftest.
$ac_ext <<_ACEOF
7459 /* end confdefs.h. */
7460 #include <$ac_header>
7462 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7464 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7465 *) ac_try_echo=$ac_try;;
7467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7468 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7470 grep -v '^ *+' conftest.er1 >conftest.err
7472 cat conftest.err >&5
7473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7474 (exit $ac_status); } >/dev/null && {
7475 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7476 test ! -s conftest.err
7478 ac_header_preproc=yes
7480 echo "$as_me: failed program was:" >&5
7481 sed 's/^/| /' conftest.$ac_ext >&5
7483 ac_header_preproc=no
7486 rm -f conftest.err conftest.$ac_ext
7487 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7488 echo "${ECHO_T}$ac_header_preproc" >&6; }
7490 # So? What about this header?
7491 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7493 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7494 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7495 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7496 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7497 ac_header_preproc=yes
7500 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7501 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7502 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7503 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7504 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7505 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7506 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7507 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7508 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7509 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7510 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7511 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7515 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7516 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7517 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7518 echo $ECHO_N "(cached) $ECHO_C" >&6
7520 eval "$as_ac_Header=\$ac_header_preproc"
7522 ac_res=`eval echo '${'$as_ac_Header'}'`
7523 { echo "$as_me:$LINENO: result: $ac_res" >&5
7524 echo "${ECHO_T}$ac_res" >&6; }
7527 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7528 cat >>confdefs.h <<_ACEOF
7529 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7537 for ac_func in getpagesize
7539 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
7540 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7542 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7543 echo $ECHO_N "(cached) $ECHO_C" >&6
7545 cat >conftest.$ac_ext <<_ACEOF
7548 cat confdefs.h >>conftest.$ac_ext
7549 cat >>conftest.$ac_ext <<_ACEOF
7550 /* end confdefs.h. */
7551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7553 #define $ac_func innocuous_$ac_func
7555 /* System header to define __stub macros and hopefully few prototypes,
7556 which can conflict with char $ac_func (); below.
7557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7558 <limits.h> exists even on freestanding compilers. */
7561 # include <limits.h>
7563 # include <assert.h>
7568 /* Override any GCC internal prototype to avoid an error.
7569 Use char because int might match the return type of a GCC
7570 builtin and then its argument prototype would still apply. */
7575 /* The GNU C library defines this for functions which it implements
7576 to always fail with ENOSYS. Some functions are actually named
7577 something starting with __ and the normal name is an alias. */
7578 #if defined __stub_$ac_func || defined __stub___$ac_func
7590 rm -f conftest.$ac_objext conftest$ac_exeext
7591 if { (ac_try="$ac_link"
7593 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7594 *) ac_try_echo
=$ac_try;;
7596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7597 (eval "$ac_link") 2>conftest.er1
7599 grep -v '^ *+' conftest.er1
>conftest.err
7601 cat conftest.err
>&5
7602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7603 (exit $ac_status); } && {
7604 test -z "$ac_c_werror_flag" ||
7605 test ! -s conftest.err
7606 } && test -s conftest
$ac_exeext &&
7607 $as_test_x conftest
$ac_exeext; then
7608 eval "$as_ac_var=yes"
7610 echo "$as_me: failed program was:" >&5
7611 sed 's/^/| /' conftest.
$ac_ext >&5
7613 eval "$as_ac_var=no"
7616 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7617 conftest
$ac_exeext conftest.
$ac_ext
7619 ac_res
=`eval echo '${'$as_ac_var'}'`
7620 { echo "$as_me:$LINENO: result: $ac_res" >&5
7621 echo "${ECHO_T}$ac_res" >&6; }
7622 if test `eval echo '${'$as_ac_var'}'` = yes; then
7623 cat >>confdefs.h
<<_ACEOF
7624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7630 { echo "$as_me:$LINENO: checking for working mmap" >&5
7631 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
7632 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
7633 echo $ECHO_N "(cached) $ECHO_C" >&6
7635 if test "$cross_compiling" = yes; then
7636 ac_cv_func_mmap_fixed_mapped
=no
7638 cat >conftest.
$ac_ext <<_ACEOF
7641 cat confdefs.h
>>conftest.
$ac_ext
7642 cat >>conftest.
$ac_ext <<_ACEOF
7643 /* end confdefs.h. */
7644 $ac_includes_default
7645 /* malloc might have been renamed as rpl_malloc. */
7648 /* Thanks to Mike Haertel and Jim Avera for this test.
7649 Here is a matrix of mmap possibilities:
7650 mmap private not fixed
7651 mmap private fixed at somewhere currently unmapped
7652 mmap private fixed at somewhere already mapped
7653 mmap shared not fixed
7654 mmap shared fixed at somewhere currently unmapped
7655 mmap shared fixed at somewhere already mapped
7656 For private mappings, we should verify that changes cannot be read()
7657 back from the file, nor mmap's back from the file at a different
7658 address. (There have been systems where private was not correctly
7659 implemented like the infamous i386 svr4.0, and systems where the
7660 VM page cache was not coherent with the file system buffer cache
7661 like early versions of FreeBSD and possibly contemporary NetBSD.)
7662 For shared mappings, we should conversely verify that changes get
7663 propagated back to all the places they're supposed to be.
7665 Grep wants private fixed already mapped.
7666 The main things grep needs to know about mmap are:
7667 * does it exist and is it safe to write into the mmap'd area
7668 * how to use it (BSD variants) */
7671 #include <sys/mman.h>
7673 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7677 /* This mess was copied from the GNU getpagesize.h. */
7678 #ifndef HAVE_GETPAGESIZE
7679 /* Assume that all systems that can run configure have sys/param.h. */
7680 # ifndef HAVE_SYS_PARAM_H
7681 # define HAVE_SYS_PARAM_H 1
7684 # ifdef _SC_PAGESIZE
7685 # define getpagesize() sysconf(_SC_PAGESIZE)
7686 # else /* no _SC_PAGESIZE */
7687 # ifdef HAVE_SYS_PARAM_H
7688 # include <sys/param.h>
7689 # ifdef EXEC_PAGESIZE
7690 # define getpagesize() EXEC_PAGESIZE
7691 # else /* no EXEC_PAGESIZE */
7693 # define getpagesize() NBPG * CLSIZE
7696 # endif /* no CLSIZE */
7697 # else /* no NBPG */
7699 # define getpagesize() NBPC
7700 # else /* no NBPC */
7702 # define getpagesize() PAGESIZE
7703 # endif /* PAGESIZE */
7704 # endif /* no NBPC */
7705 # endif /* no NBPG */
7706 # endif /* no EXEC_PAGESIZE */
7707 # else /* no HAVE_SYS_PARAM_H */
7708 # define getpagesize() 8192 /* punt totally */
7709 # endif /* no HAVE_SYS_PARAM_H */
7710 # endif /* no _SC_PAGESIZE */
7712 #endif /* no HAVE_GETPAGESIZE */
7717 char *data, *data2, *data3;
7721 pagesize = getpagesize ();
7723 /* First, make a file with some known garbage in it. */
7724 data = (char *) malloc (pagesize);
7727 for (i = 0; i < pagesize; ++i)
7728 *(data + i) = rand ();
7730 fd = creat ("conftest.mmap", 0600);
7733 if (write (fd, data, pagesize) != pagesize)
7737 /* Next, try to mmap the file at a fixed address which already has
7738 something else allocated at it. If we can, also make sure that
7739 we see the same garbage. */
7740 fd = open ("conftest.mmap", O_RDWR);
7743 data2 = (char *) malloc (2 * pagesize);
7746 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
7747 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7748 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7750 for (i = 0; i < pagesize; ++i)
7751 if (*(data + i) != *(data2 + i))
7754 /* Finally, make sure that changes to the mapped area do not
7755 percolate back to the file as seen by read(). (This is a bug on
7756 some variants of i386 svr4.0.) */
7757 for (i = 0; i < pagesize; ++i)
7758 *(data2 + i) = *(data2 + i) + 1;
7759 data3 = (char *) malloc (pagesize);
7762 if (read (fd, data3, pagesize) != pagesize)
7764 for (i = 0; i < pagesize; ++i)
7765 if (*(data + i) != *(data3 + i))
7771 rm -f conftest
$ac_exeext
7772 if { (ac_try
="$ac_link"
7774 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7775 *) ac_try_echo=$ac_try;;
7777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7778 (eval "$ac_link") 2>&5
7780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7781 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7782 { (case "(($ac_try" in
7783 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7784 *) ac_try_echo
=$ac_try;;
7786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7787 (eval "$ac_try") 2>&5
7789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7790 (exit $ac_status); }; }; then
7791 ac_cv_func_mmap_fixed_mapped
=yes
7793 echo "$as_me: program exited with status $ac_status" >&5
7794 echo "$as_me: failed program was:" >&5
7795 sed 's/^/| /' conftest.
$ac_ext >&5
7798 ac_cv_func_mmap_fixed_mapped
=no
7800 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7805 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
7806 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
7807 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7809 cat >>confdefs.h
<<\_ACEOF
7819 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7820 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7821 aros_config_ldflags
=""
7823 aros_shared_default
=yes
7825 aros_shared_cflags
="-fPIC"
7826 aros_shared_aflags
=""
7827 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7828 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7830 aros_target_ar_flags
="cr"
7831 aros_target_nm_flags
="-C -ul"
7832 aros_target_strip_flags
="--strip-unneeded -R.comment"
7836 aros_target_genmap
="-Wl,-Map -Xlinker"
7838 # Native flavour stuff
7840 aros_serial_debug
="0"
7842 # Palm native flavour stuff
7843 aros_palm_debug_hack
="0"
7845 # Unix flavour stuff
7846 aros_nesting_supervisor
="0"
7848 # Collect-aros stuff: "-ius" to ignore undefined symbols
7849 ignore_undefined_symbols
=""
7851 #-----------------------------------------------------------------------------
7854 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7855 # it switched on by default, and we use the host compiler, so it compiles AROS
7856 # code with this enabled resulting in link failures as we don't have support
7859 # We use two methods to disable it. For the host compiler (used to compile
7860 # some hosted modules), we test to see if the compiler supports stack
7861 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7862 # work on all platforms.
7864 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
7865 # (this is done unconditionally, as it should have no effect on compilers
7866 # without the stack protection feature). This may be specific to the way that
7867 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
7868 # strong enough to disable it in a generic way though, so we'll live with it
7869 # until another vendor ships GCC with it enabled in a different way, and deal
7873 { echo "$as_me:$LINENO: checking whether ${CC} accepts -fno-stack-protector" >&5
7874 echo $ECHO_N "checking whether ${CC} accepts -fno-stack-protector... $ECHO_C" >&6; }
7875 save_cflags
="$CFLAGS"
7876 CFLAGS
="$CFLAGS -fno-stack-protector"
7877 cat >conftest.
$ac_ext <<_ACEOF
7880 cat confdefs.h
>>conftest.
$ac_ext
7881 cat >>conftest.
$ac_ext <<_ACEOF
7882 /* end confdefs.h. */
7892 rm -f conftest.
$ac_objext
7893 if { (ac_try
="$ac_compile"
7895 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7896 *) ac_try_echo=$ac_try;;
7898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7899 (eval "$ac_compile") 2>conftest.er1
7901 grep -v '^ *+' conftest.er1 >conftest.err
7903 cat conftest.err >&5
7904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7905 (exit $ac_status); } && {
7906 test -z "$ac_c_werror_flag" ||
7907 test ! -s conftest.err
7908 } && test -s conftest.$ac_objext; then
7909 use_no_stack_protector="yes"
7911 echo "$as_me: failed program was:" >&5
7912 sed 's/^/| /' conftest.$ac_ext >&5
7914 use_no_stack_protector="no"
7917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7918 { echo "$as_me:$LINENO: result: $use_no_stack_protector" >&5
7919 echo "${ECHO_T}$use_no_stack_protector" >&6; }
7920 if test "x-$use_no_stack_protector" = "x-yes" ; then
7921 aros_config_cflags="$aros_config_cflags -fno-stack-protector"
7923 CFLAGS="$save_cflags"
7925 #-----------------------------------------------------------------------------
7927 { echo "$as_me:$LINENO: checking for type of build" >&5
7928 echo $ECHO_N "checking for type of build... $ECHO_C" >&6; }
7929 # Check whether --enable-build_type was given.
7930 if test "${enable_build_type+set}" = set; then
7931 enableval=$enable_build_type; build_type=$enableval
7933 build_type="personal"
7937 if test "$build_type" = "nightly"; then
7938 build_type_string="NIGHTLY"
7939 elif test "$build_type" = "snapshot"; then
7940 build_type_string="SNAPSHOT"
7941 elif test "$build_type" = "milestone"; then
7942 build_type_string="MILESTONE"
7943 elif test "$build_type" = "release"; then
7944 build_type_string="RELEASE"
7946 build_type_string="PERSONAL"
7947 build_type="personal"
7950 aros_config_cflags="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7952 { echo "$as_me:$LINENO: result: $build_type" >&5
7953 echo "${ECHO_T}$build_type" >&6; }
7955 #-----------------------------------------------------------------------------
7956 all_debug_types="messages stack mungwall modules symbols"
7958 { echo "$as_me:$LINENO: checking which debug types to enable" >&5
7959 echo $ECHO_N "checking which debug types to enable... $ECHO_C" >&6; }
7960 # Check whether --enable-debug was given.
7961 if test "${enable_debug+set}" = set; then
7962 enableval=$enable_debug; debug="$enableval"
7968 if test "$debug" = "" -o "$debug" = "no"; then
7970 elif test "$debug" = "yes"; then
7974 if test "$debug" = "all" ; then
7975 debug=$all_debug_types
7976 for d in $all_debug_types; do
7977 export aros_${d}_debug="1"
7980 for d in $all_debug_types; do
7981 export aros_${d}_debug="0"
7985 if test "$debug" != "none"; then
7986 debug=`echo $debug |
sed s
/,/\
/g
`
7989 for d2 in $all_debug_types; do
7990 if test "$d2" = "$d"; then
7995 if test "$found" = "0"; then
7996 { { echo "$as_me:$LINENO: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&5
7997 echo "$as_me: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&2;}
7998 { (exit 1); exit 1; }; }
8000 export aros_${d}_debug="1"
8004 { echo "$as_me:$LINENO: result: $debug" >&5
8005 echo "${ECHO_T}$debug" >&6; }
8007 if test "$aros_messages_debug" = "1"; then
8008 aros_messages_debug="-DADEBUG=1 -DMDEBUG=1"
8010 aros_messages_debug=""
8012 if test "$aros_symbols_debug" = "1"; then
8013 aros_symbols_debug="-g"
8015 aros_symbols_debug=""
8018 # These are the flags to pass when compiling debugged programs
8019 aros_debug_cflags="$aros_symbols_debug $aros_messages_debug"
8020 aros_debug_aflags=""
8021 aros_debug_ldflags="$aros_symbols_debug"
8023 #-----------------------------------------------------------------------------
8024 # Checking for distcc and ccache.
8026 # Always apply the transforms in this particular order. Basically you should
8027 # always run 'ccache distcc compiler' in that order for the best performance.
8029 { echo "$as_me:$LINENO: checking whether to enable distcc" >&5
8030 echo $ECHO_N "checking whether to enable distcc... $ECHO_C" >&6; }
8031 # Check whether --enable-distcc was given.
8032 if test "${enable_distcc+set}" = set; then
8033 enableval=$enable_distcc; distcc="$enableval"
8038 if test "$distcc" != "" -a "$distcc" != "no"; then
8039 # AC_CHECK_PROG will print out the result in this case
8040 # Extract the first word of "distcc", so it can be a program name with args.
8041 set dummy distcc; ac_word=$2
8042 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8044 if test "${ac_cv_path_DISTCC+set}" = set; then
8045 echo $ECHO_N "(cached) $ECHO_C" >&6
8049 ac_cv_path_DISTCC="$DISTCC" # Let the user override the test with a path.
8052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8056 test -z "$as_dir" && as_dir=.
8057 for ac_exec_ext in '' $ac_executable_extensions; do
8058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8059 ac_cv_path_DISTCC="$as_dir/$ac_word$ac_exec_ext"
8060 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8067 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC="distcc"
8071 DISTCC=$ac_cv_path_DISTCC
8072 if test -n "$DISTCC"; then
8073 { echo "$as_me:$LINENO: result: $DISTCC" >&5
8074 echo "${ECHO_T}$DISTCC" >&6; }
8076 { echo "$as_me:$LINENO: result: no" >&5
8077 echo "${ECHO_T}no" >&6; }
8082 { echo "$as_me:$LINENO: result: no" >&5
8083 echo "${ECHO_T}no" >&6; }
8086 { echo "$as_me:$LINENO: checking whether to enable ccache" >&5
8087 echo $ECHO_N "checking whether to enable ccache... $ECHO_C" >&6; }
8088 # Check whether --enable-ccache was given.
8089 if test "${enable_ccache+set}" = set; then
8090 enableval=$enable_ccache; ccache="$enableval"
8095 if test "$ccache" != "" -a "$ccache" != "no"; then
8096 # AC_CHECK_PROG will print out the result in this case
8097 # Extract the first word of "ccache", so it can be a program name with args.
8098 set dummy ccache; ac_word=$2
8099 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8101 if test "${ac_cv_prog_CCACHE+set}" = set; then
8102 echo $ECHO_N "(cached) $ECHO_C" >&6
8104 if test -n "$CCACHE"; then
8105 ac_cv_prog_CCACHE="$CCACHE" # Let the user override the test.
8107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8111 test -z "$as_dir" && as_dir=.
8112 for ac_exec_ext in '' $ac_executable_extensions; do
8113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8114 ac_cv_prog_CCACHE="ccache"
8115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8124 CCACHE=$ac_cv_prog_CCACHE
8125 if test -n "$CCACHE"; then
8126 { echo "$as_me:$LINENO: result: $CCACHE" >&5
8127 echo "${ECHO_T}$CCACHE" >&6; }
8129 { echo "$as_me:$LINENO: result: no" >&5
8130 echo "${ECHO_T}no" >&6; }
8135 { echo "$as_me:$LINENO: result: no" >&5
8136 echo "${ECHO_T}no" >&6; }
8139 #-----------------------------------------------------------------------------
8140 { echo "$as_me:$LINENO: checking what optimization flags to use" >&5
8141 echo $ECHO_N "checking what optimization flags to use... $ECHO_C" >&6; }
8143 # Check whether --with-optimization was given.
8144 if test "${with_optimization+set}" = set; then
8145 withval=$with_optimization; optimization="$withval"
8147 optimization="unknown"
8150 if test "$optimization" = "unknown"; then
8151 if test "$debug" != "none"; then
8157 aros_config_cflags="$aros_config_cflags $optimization"
8158 { echo "$as_me:$LINENO: result: $optimization" >&5
8159 echo "${ECHO_T}$optimization" >&6; }
8161 #-----------------------------------------------------------------------------
8162 { echo "$as_me:$LINENO: checking what target variant to enable" >&5
8163 echo $ECHO_N "checking what target variant to enable... $ECHO_C" >&6; }
8164 # Check whether --enable-target_variant was given.
8165 if test "${enable_target_variant+set}" = set; then
8166 enableval=$enable_target_variant; target_variant=$enableval
8168 target_variant="none"
8171 if test "$target_variant" = "none"; then
8172 aros_target_variant=""
8173 aros_target_suffix=""
8175 aros_target_variant="$target_variant"
8176 aros_target_suffix="-$target_variant"
8178 { echo "$as_me:$LINENO: result: $enableval" >&5
8179 echo "${ECHO_T}$enableval" >&6; }
8181 target_bootloader="none"
8183 #-----------------------------------------------------------------------------
8184 # This is the target configuration switch.
8185 case "$target_os" in
8187 aros_target_arch="linux"
8188 case "$target_cpu" in
8190 aros_target_cpu="m68k"
8191 aros_object_format="m68kelf"
8192 aros_flavour="emulcompat"
8193 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
8194 aros_shared_ldflags="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
8195 aros_kernel_ldflags="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
8196 gcc_target_cpu="mc68000"
8199 aros_target_cpu="i386"
8200 aros_object_format="elf_i386"
8201 aros_flavour="emulation"
8202 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
8203 aros_default_wbdepth=8
8204 gcc_target_cpu="i386"
8207 aros_target_cpu="x86_64"
8208 aros_object_format="elf_x86_64"
8209 aros_flavour="emulation"
8210 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
8211 aros_default_wbdepth=8
8212 gcc_target_cpu="x86_64"
8215 aros_target_cpu="ppc"
8216 aros_object_format="elf32ppc"
8217 aros_flavour="emulation"
8218 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8219 aros_default_wbdepth=8
8220 gcc_target_cpu="ppc"
8223 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Linux -- $target_cpu\"" >&5
8224 echo "$as_me: error: \"Unknown CPU for Linux -- $target_cpu\"" >&2;}
8225 { (exit 1); exit 1; }; }
8231 aros_target_arch="pc"
8232 aros_shared_default="no"
8233 target_bootloader="grub"
8234 case "$target_cpu" in
8236 aros_target_cpu="i386"
8239 if test "$aros_object_format" = "" ; then
8240 aros_object_format="elf_i386"
8242 aros_flavour="standalone"
8243 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386"
8244 aros_kernel_ldflags=""
8245 aros_default_wbwidth=640
8246 aros_default_wbheight=480
8247 gcc_target_cpu="i386"
8250 aros_target_cpu="x86_64"
8251 if test "$aros_object_format" = "" ; then
8252 aros_object_format="elf_x86_64"
8254 aros_flavour="standalone"
8255 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8256 aros_config_cflags="$aros_config_cflags -fno-asynchronous-unwind-tables"
8257 aros_kernel_ldflags=""
8258 aros_default_wbwidth=640
8259 aros_default_wbheight=480
8260 gcc_target_cpu="x86_64"
8263 { { echo "$as_me:$LINENO: error: \"Unknown native CPU -- $target_cpu\"" >&5
8264 echo "$as_me: error: \"Unknown native CPU -- $target_cpu\"" >&2;}
8265 { (exit 1); exit 1; }; }
8271 aros_target_arch="prep"
8272 aros_shared_default="no"
8273 aros_target_cpu="ppc"
8274 aros_object_format="elf32ppc"
8275 aros_flavour="ppcnative"
8276 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc"
8277 aros_kernel_ldflags=""
8278 aros_default_wbwidth=640
8279 aros_default_wbheight=480
8280 gcc_target_cpu="ppc"
8281 case "$target_cpu" in
8283 aros_target_cc="ppc-linux-gcc -pipe"
8284 aros_target_ld="ppc-linux-ld"
8285 aros_target_as="ppc-linux-as"
8286 aros_target_ar="ppc-linux-ar"
8287 aros_target_ranlib="ppc-linux-ranlib"
8288 aros_target_nm="ppc-linux-nm"
8289 aros_target_strip="ppc-linux-strip"
8290 aros_target_objcopy="ppc-linux-objcopy"
8291 aros_target_objdump="ppc-linux-objdump"
8292 aros_shared_ld="ppc-linux-ld"
8293 aros_kernel_ld="ppc-linux-ld"
8301 aros_target_arch="freebsd"
8302 aros_target_cpu="i386"
8303 aros_flavour="emulation"
8304 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386"
8305 gcc_target_cpu="i386"
8307 aros_target_strip_flags="-x"
8311 aros_target_arch="darwin"
8312 aros_target_cpu="i386"
8313 aros_flavour="emulation"
8314 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386"
8315 gcc_target_cpu="i386"
8317 aros_target_strip_flags="-x"
8321 aros_target_arch="netbsd"
8322 case "$target_cpu" in
8324 aros_target_cpu="m68k"
8325 aros_object_format="m68kelf"
8326 aros_flavour="emulcompat"
8327 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8328 gcc_target_cpu="mc68000"
8331 aros_target_cpu="i386"
8332 aros_object_format="elf_i386"
8333 aros_flavour="emulation"
8334 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8335 aros_default_wbdepth=8
8336 gcc_target_cpu="i386"
8339 { { echo "$as_me:$LINENO: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&5
8340 echo "$as_me: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&2;}
8341 { (exit 1); exit 1; }; }
8344 aros_target_genmap="-Wl,-M -Xlinker >"
8345 aros_flavour="emulation"
8346 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386"
8350 aros_target_arch="openbsd"
8351 case "$target_cpu" in
8353 aros_target_cpu="i386"
8354 aros_object_format="elf_i386"
8355 aros_flavour="emulation"
8356 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8357 gcc_target_cpu="i386"
8360 { { echo "$as_me:$LINENO: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&5
8361 echo "$as_me: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&2;}
8362 { (exit 1); exit 1; }; }
8365 aros_target_genmap="-Wl,-M -Xlinker >"
8366 aros_target_nm_flags="-u"
8367 aros_flavour="emulation"
8371 aros_target_arch="solaris"
8372 case "$target_cpu" in
8374 aros_target_cpu="sparc"
8375 aros_object_format="elf_sparc"
8376 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8377 gcc_target_cpu="sparc"
8380 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&5
8381 echo "$as_me: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&2;}
8382 { (exit 1); exit 1; }; }
8385 aros_config_cflags="$aros_config_cflags -D$aros_target_cpu"
8386 aros_flavour="emulation"
8390 aros_target_arch="morphos"
8391 aros_shared_default="no"
8392 aros_target_cpu="ppc"
8393 aros_object_format="elf_ppc"
8394 aros_flavour="nativecompat"
8395 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc"
8396 gcc_target_cpu="ppc"
8400 aros_target_arch="sam440"
8401 aros_shared_default="no"
8402 aros_target_cpu="ppc"
8403 aros_object_format="elf32ppc"
8404 aros_flavour="ppcnative"
8405 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc"
8406 aros_kernel_ldflags=""
8407 aros_default_wbwidth=640
8408 aros_default_wbheight=480
8409 aros_config_cflags="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8410 gcc_target_cpu="powerpc"
8411 case "$target_cpu" in
8413 aros_target_cc="powerpc-linux-gcc -pipe"
8414 aros_target_ld="powerpc-linux-ld"
8415 aros_target_as="powerpc-linux-as"
8416 aros_target_ar="powerpc-linux-ar"
8417 aros_target_ranlib="powerpc-linux-ranlib"
8418 aros_target_nm="powerpc-linux-nm"
8419 aros_target_strip="powerpc-linux-strip"
8420 aros_target_objcopy="powerpc-linux-objcopy"
8421 aros_target_objdump="powerpc-linux-objdump"
8422 aros_shared_ld="powerpc-linux-ld"
8423 aros_kernel_ld="powerpc-linux-ld"
8431 aros_target_arch="amiga"
8432 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8433 aros_shared_default="no"
8435 aros_config_cflags="$aros_config_cflags -fomit-frame-pointer -fbuiltin -ffreestanding"
8437 case "$target_cpu" in
8439 aros_target_cpu="m68k"
8440 aros_object_format="m68kelf"
8441 aros_flavour="nativecompat"
8442 gcc_target_cpu="mc68000"
8446 aros_flavour="native"
8447 gcc_target_cpu="ppc"
8450 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Amiga $target_cpu\"" >&5
8451 echo "$as_me: error: \"Unknown CPU for Amiga $target_cpu\"" >&2;}
8452 { (exit 1); exit 1; }; }
8458 aros_target_arch="cygwin"
8459 aros_shared_default="no"
8460 case "$target_cpu" in
8462 aros_target_cpu="i386"
8463 aros_object_format="elf_i386"
8464 aros_flavour="emulation"
8465 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386 -D__CYGWIN32__"
8466 aros_shared_cflags=""
8467 aros_default_wbdepth=8
8468 gcc_target_cpu="i386"
8471 { { echo "$as_me:$LINENO: error: \"Unknown CPU for CygWin -- $target_cpu\"" >&5
8472 echo "$as_me: error: \"Unknown CPU for CygWin -- $target_cpu\"" >&2;}
8473 { (exit 1); exit 1; }; }
8479 aros_target_arch="mingw32"
8480 aros_shared_default="no"
8481 case "$target_cpu" in
8483 aros_target_cpu="i386"
8484 aros_object_format="elf_i386"
8485 aros_flavour="emulation"
8486 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386"
8487 aros_shared_cflags=""
8488 aros_default_wbdepth=8
8489 gcc_target_cpu="i386"
8492 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Mingw32 -- $target_cpu\"" >&5
8493 echo "$as_me: error: \"Unknown CPU for Mingw32 -- $target_cpu\"" >&2;}
8494 { (exit 1); exit 1; }; }
8499 aros_target_arch="pp"
8500 aros_shared_default="no"
8501 case "$target_cpu" in
8503 aros_target_cpu="m68k"
8504 aros_object_format="m68kelf"
8505 aros_flavour="palmnative"
8506 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dm68k"
8507 aros_kernel_ldflags=""
8508 aros_default_wbwidth=160
8509 aros_default_wbheight=160
8510 aros_default_wbdepth=1
8511 aros_target_cc="m68k-elf-gcc -pipe"
8512 aros_target_ld="$(which m68k-elf-ld)"
8513 aros_target_as="m68k-elf-gcc -pipe"
8514 aros_shared_ld="m68k-elf-gcc"
8515 aros_kernel_ld="m68k-elf-gcc"
8516 aros_target_ar="m68k-elf-ar"
8517 aros_target_ar_flags="cru"
8518 aros_target_ranlib="m68k-elf-ranlib"
8519 aros_target_nm="m68k-elf-nm"
8520 aros_target_objcopy="m68k-elf-objcopy"
8521 aros_target_objdump="m68k-elf-objdump"
8522 aros_compiler_libs="-lgcc1"
8523 aros_shared_default=no
8524 aros_shared_cflags="-fpic"
8525 aros_shared_aflags=""
8526 aros_shared_ldflags="-Wl,-rpath,./lib -shared"
8527 aros_kernel_ldflags="-Wl,-rpath,./lib"
8528 aros_debug_cflags="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
8529 aros_debug_aflags=""
8530 aros_debug_ldflags="$aros_symbols_debug"
8531 aros_mungwall_debug="0"
8532 aros_modules_debug="0"
8533 gcc_target_cpu="mc68000"
8534 ignore_undefined_symbols="-ius"
8537 { { echo "$as_me:$LINENO: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&5
8538 echo "$as_me: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&2;}
8539 { (exit 1); exit 1; }; }
8545 aros_target_arch="mac"
8546 aros_shared_default="no"
8547 case "$target_cpu" in
8549 aros_target_cpu="m68k"
8550 aros_object_format="m68kelf"
8551 aros_flavour="mac68knative"
8552 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dm68k"
8553 aros_default_wbwidth=512
8554 aros_default_wbheight=384
8555 aros_default_wbdepth=8
8556 aros_target_cc="m68k-elf-gcc -pipe"
8557 aros_target_ld="$(which m68k-elf-ld)"
8558 aros_target_as="m68k-elf-gcc -pipe"
8559 aros_shared_ld="m68k-elf-gcc"
8560 aros_kernel_ld="m68k-elf-gcc"
8561 aros_target_ar="m68k-elf-ar"
8562 aros_target_ar_flags="cru"
8563 aros_target_ranlib="m68k-elf-ranlib"
8564 aros_target_nm="m68k-elf-nm"
8565 aros_target_objcopy="m68k-elf-objcopy"
8566 aros_target_objdump="m68k-elf-objdump"
8567 aros_compiler_libs="-lgcc1"
8568 aros_shared_default=no
8569 aros_shared_cflags="-fpic"
8570 aros_shared_aflags=""
8571 aros_shared_ldflags="-Wl,-rpath,./lib -shared"
8572 aros_kernel_ldflags="-Wl,-rpath,./lib"
8573 aros_debug_cflags="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000"
8574 aros_debug_aflags=""
8575 aros_debug_ldflags="$aros_symbols_debug"
8576 aros_mungwall_debug="0"
8577 aros_modules_debug="0"
8578 gcc_target_cpu="mc68000"
8579 ignore_undefined_symbols="-ius"
8582 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&5
8583 echo "$as_me: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&2;}
8584 { (exit 1); exit 1; }; }
8590 { { echo "$as_me:$LINENO: error: Unsupported target architecture $target" >&5
8591 echo "$as_me: error: Unsupported target architecture $target" >&2;}
8592 { (exit 1); exit 1; }; }
8596 { echo "$as_me:$LINENO: checking which bootloader to use" >&5
8597 echo $ECHO_N "checking which bootloader to use... $ECHO_C" >&6; }
8598 # Check whether --enable-bootloader was given.
8599 if test "${enable_bootloader+set}" = set; then
8600 enableval=$enable_bootloader; target_bootloader=$enableval
8602 target_bootloader=$target_bootloader
8605 if test "$target_bootloader" = "none"; then
8606 aros_target_bootloader=""
8608 aros_target_bootloader="$target_bootloader"
8610 { echo "$as_me:$LINENO: result: $target_bootloader" >&5
8611 echo "${ECHO_T}$target_bootloader" >&6; }
8613 # Find out if we are cross-compiling (ie. if we can't use the host compiler
8616 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
8619 if test "$aros_host_arch" == "darwin" ; then
8623 # Set prefix for target compiler etc. if we're cross-compiling
8624 # (should possibly be earlier but needs to be after AC_PROG_CC)
8625 if test "$cross_compiling" = "yes" ; then
8626 target_tool_prefix=${target_cpu}-elf-
8627 CC=${target_tool_prefix}gcc
8630 # Find all the tools we need to compile. This could be cross-compiling
8631 # though! If that is the case we use the GNU form of the target and
8632 # simply add this to the front of the binary name. This is rather simple,
8633 # but it should work under most circumstances.
8635 # The default tools are to use the same as the host, but only if the
8636 # host and target CPU are the same. With GCC this is normally enough.
8640 aros_shared_ld="$aros_host_ld"
8642 aros_target_mkdep="$aros_host_mkdep"
8643 aros_target_incl_def="$aros_host_incl"
8645 # Extract the first word of "$CC", so it can be a program name with args.
8646 set dummy $CC; ac_word=$2
8647 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8649 if test "${ac_cv_path_aros_kernel_cc+set}" = set; then
8650 echo $ECHO_N "(cached) $ECHO_C" >&6
8652 case $aros_kernel_cc in
8654 ac_cv_path_aros_kernel_cc="$aros_kernel_cc" # Let the user override the test with a path.
8657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8661 test -z "$as_dir" && as_dir=.
8662 for ac_exec_ext in '' $ac_executable_extensions; do
8663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8664 ac_cv_path_aros_kernel_cc="$as_dir/$ac_word$ac_exec_ext"
8665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8675 aros_kernel_cc=$ac_cv_path_aros_kernel_cc
8676 if test -n "$aros_kernel_cc"; then
8677 { echo "$as_me:$LINENO: result: $aros_kernel_cc" >&5
8678 echo "${ECHO_T}$aros_kernel_cc" >&6; }
8680 { echo "$as_me:$LINENO: result: no" >&5
8681 echo "${ECHO_T}no" >&6; }
8686 # The default tools executables to be linked to.
8688 if test "$cross_compiling" = "yes" ; then
8689 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
8690 set dummy ${target_tool_prefix}as; ac_word=$2
8691 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8693 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
8694 echo $ECHO_N "(cached) $ECHO_C" >&6
8696 case $aros_target_as_ln in
8698 ac_cv_path_aros_target_as_ln="$aros_target_as_ln" # Let the user override the test with a path.
8701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8705 test -z "$as_dir" && as_dir=.
8706 for ac_exec_ext in '' $ac_executable_extensions; do
8707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8708 ac_cv_path_aros_target_as_ln="$as_dir/$ac_word$ac_exec_ext"
8709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8719 aros_target_as_ln=$ac_cv_path_aros_target_as_ln
8720 if test -n "$aros_target_as_ln"; then
8721 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
8722 echo "${ECHO_T}$aros_target_as_ln" >&6; }
8724 { echo "$as_me:$LINENO: result: no" >&5
8725 echo "${ECHO_T}no" >&6; }
8730 if test "$GCC" = "yes"; then
8731 aros_gcc_as=`$CC -print-prog-name=as
`
8732 # Extract the first word of "`basename $aros_gcc_[as
]`", so it can be a program name with args.
8733 set dummy `basename $aros_gcc_as`; ac_word=$2
8734 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8736 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
8737 echo $ECHO_N "(cached) $ECHO_C" >&6
8739 case $aros_target_as_ln in
8741 ac_cv_path_aros_target_as_ln="$aros_target_as_ln" # Let the user override the test with a path.
8744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8745 for as_dir in `dirname $aros_gcc_as`
8748 test -z "$as_dir" && as_dir=.
8749 for ac_exec_ext in '' $ac_executable_extensions; do
8750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8751 ac_cv_path_aros_target_as_ln="$as_dir/$ac_word$ac_exec_ext"
8752 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8762 aros_target_as_ln=$ac_cv_path_aros_target_as_ln
8763 if test -n "$aros_target_as_ln"; then
8764 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
8765 echo "${ECHO_T}$aros_target_as_ln" >&6; }
8767 { echo "$as_me:$LINENO: result: no" >&5
8768 echo "${ECHO_T}no" >&6; }
8773 if test "$aros_target_as_ln" = ""; then
8774 # Extract the first word of "as", so it can be a program name with args.
8775 set dummy as; ac_word=$2
8776 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8778 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
8779 echo $ECHO_N "(cached) $ECHO_C" >&6
8781 case $aros_target_as_ln in
8783 ac_cv_path_aros_target_as_ln="$aros_target_as_ln" # Let the user override the test with a path.
8786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8790 test -z "$as_dir" && as_dir=.
8791 for ac_exec_ext in '' $ac_executable_extensions; do
8792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8793 ac_cv_path_aros_target_as_ln="$as_dir/$ac_word$ac_exec_ext"
8794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8804 aros_target_as_ln=$ac_cv_path_aros_target_as_ln
8805 if test -n "$aros_target_as_ln"; then
8806 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
8807 echo "${ECHO_T}$aros_target_as_ln" >&6; }
8809 { echo "$as_me:$LINENO: result: no" >&5
8810 echo "${ECHO_T}no" >&6; }
8817 if test "$aros_target_as_ln" = ""; then
8818 { { echo "$as_me:$LINENO: error: as is required to build AROS. Please install and run configure again." >&5
8819 echo "$as_me: error: as is required to build AROS. Please install and run configure again." >&2;}
8820 { (exit 1); exit 1; }; }
8823 if test "$cross_compiling" = "yes" ; then
8824 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
8825 set dummy ${target_tool_prefix}ld; ac_word=$2
8826 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8828 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
8829 echo $ECHO_N "(cached) $ECHO_C" >&6
8831 case $aros_kernel_ld in
8833 ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path.
8836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8840 test -z "$as_dir" && as_dir=.
8841 for ac_exec_ext in '' $ac_executable_extensions; do
8842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8843 ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext"
8844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8854 aros_kernel_ld=$ac_cv_path_aros_kernel_ld
8855 if test -n "$aros_kernel_ld"; then
8856 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
8857 echo "${ECHO_T}$aros_kernel_ld" >&6; }
8859 { echo "$as_me:$LINENO: result: no" >&5
8860 echo "${ECHO_T}no" >&6; }
8865 if test "$GCC" = "yes"; then
8866 aros_gcc_ld=`$CC -print-prog-name=ld
`
8867 # Extract the first word of "`basename $aros_gcc_[ld
]`", so it can be a program name with args.
8868 set dummy `basename $aros_gcc_ld`; ac_word=$2
8869 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8871 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
8872 echo $ECHO_N "(cached) $ECHO_C" >&6
8874 case $aros_kernel_ld in
8876 ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path.
8879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8880 for as_dir in `dirname $aros_gcc_ld`
8883 test -z "$as_dir" && as_dir=.
8884 for ac_exec_ext in '' $ac_executable_extensions; do
8885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8886 ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext"
8887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8897 aros_kernel_ld=$ac_cv_path_aros_kernel_ld
8898 if test -n "$aros_kernel_ld"; then
8899 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
8900 echo "${ECHO_T}$aros_kernel_ld" >&6; }
8902 { echo "$as_me:$LINENO: result: no" >&5
8903 echo "${ECHO_T}no" >&6; }
8908 if test "$aros_kernel_ld" = ""; then
8909 # Extract the first word of "ld", so it can be a program name with args.
8910 set dummy ld; ac_word=$2
8911 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8913 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
8914 echo $ECHO_N "(cached) $ECHO_C" >&6
8916 case $aros_kernel_ld in
8918 ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path.
8921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8925 test -z "$as_dir" && as_dir=.
8926 for ac_exec_ext in '' $ac_executable_extensions; do
8927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8928 ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext"
8929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8939 aros_kernel_ld=$ac_cv_path_aros_kernel_ld
8940 if test -n "$aros_kernel_ld"; then
8941 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
8942 echo "${ECHO_T}$aros_kernel_ld" >&6; }
8944 { echo "$as_me:$LINENO: result: no" >&5
8945 echo "${ECHO_T}no" >&6; }
8952 if test "$aros_kernel_ld" = ""; then
8953 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
8954 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
8955 { (exit 1); exit 1; }; }
8958 if test "$cross_compiling" = "yes" ; then
8959 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
8960 set dummy ${target_tool_prefix}ar; ac_word=$2
8961 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8963 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
8964 echo $ECHO_N "(cached) $ECHO_C" >&6
8966 case $aros_target_ar_ln in
8968 ac_cv_path_aros_target_ar_ln="$aros_target_ar_ln" # Let the user override the test with a path.
8971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8975 test -z "$as_dir" && as_dir=.
8976 for ac_exec_ext in '' $ac_executable_extensions; do
8977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8978 ac_cv_path_aros_target_ar_ln="$as_dir/$ac_word$ac_exec_ext"
8979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8989 aros_target_ar_ln=$ac_cv_path_aros_target_ar_ln
8990 if test -n "$aros_target_ar_ln"; then
8991 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
8992 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
8994 { echo "$as_me:$LINENO: result: no" >&5
8995 echo "${ECHO_T}no" >&6; }
9000 if test "$GCC" = "yes"; then
9001 aros_gcc_ar=`$CC -print-prog-name=ar`
9002 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9003 set dummy `basename $aros_gcc_ar`; ac_word=$2
9004 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9005 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9006 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9007 echo $ECHO_N "(cached) $ECHO_C" >&6
9009 case $aros_target_ar_ln in
9011 ac_cv_path_aros_target_ar_ln="$aros_target_ar_ln" # Let the user override the test with a path.
9014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9015 for as_dir in `dirname $aros_gcc_ar`
9018 test -z "$as_dir" && as_dir=.
9019 for ac_exec_ext in '' $ac_executable_extensions; do
9020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9021 ac_cv_path_aros_target_ar_ln="$as_dir/$ac_word$ac_exec_ext"
9022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9032 aros_target_ar_ln=$ac_cv_path_aros_target_ar_ln
9033 if test -n "$aros_target_ar_ln"; then
9034 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9035 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9037 { echo "$as_me:$LINENO: result: no" >&5
9038 echo "${ECHO_T}no" >&6; }
9043 if test "$aros_target_ar_ln" = ""; then
9044 # Extract the first word of "ar", so it can be a program name with args.
9045 set dummy ar; ac_word=$2
9046 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9048 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9049 echo $ECHO_N "(cached) $ECHO_C" >&6
9051 case $aros_target_ar_ln in
9053 ac_cv_path_aros_target_ar_ln="$aros_target_ar_ln" # Let the user override the test with a path.
9056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9060 test -z "$as_dir" && as_dir=.
9061 for ac_exec_ext in '' $ac_executable_extensions; do
9062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9063 ac_cv_path_aros_target_ar_ln="$as_dir/$ac_word$ac_exec_ext"
9064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9074 aros_target_ar_ln=$ac_cv_path_aros_target_ar_ln
9075 if test -n "$aros_target_ar_ln"; then
9076 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9077 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9079 { echo "$as_me:$LINENO: result: no" >&5
9080 echo "${ECHO_T}no" >&6; }
9087 if test "$aros_target_ar_ln" = ""; then
9088 { { echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
9089 echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
9090 { (exit 1); exit 1; }; }
9093 if test "$cross_compiling" = "yes" ; then
9094 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
9095 set dummy ${target_tool_prefix}nm; ac_word=$2
9096 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9098 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
9099 echo $ECHO_N "(cached) $ECHO_C" >&6
9101 case $aros_target_nm_ln in
9103 ac_cv_path_aros_target_nm_ln="$aros_target_nm_ln" # Let the user override the test with a path.
9106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9110 test -z "$as_dir" && as_dir=.
9111 for ac_exec_ext in '' $ac_executable_extensions; do
9112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9113 ac_cv_path_aros_target_nm_ln="$as_dir/$ac_word$ac_exec_ext"
9114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9124 aros_target_nm_ln=$ac_cv_path_aros_target_nm_ln
9125 if test -n "$aros_target_nm_ln"; then
9126 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
9127 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
9129 { echo "$as_me:$LINENO: result: no" >&5
9130 echo "${ECHO_T}no" >&6; }
9135 if test "$GCC" = "yes"; then
9136 aros_gcc_nm=`$CC -print-prog-name=nm
`
9137 # Extract the first word of "`basename $aros_gcc_[nm
]`", so it can be a program name with args.
9138 set dummy `basename $aros_gcc_nm`; ac_word=$2
9139 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9141 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
9142 echo $ECHO_N "(cached) $ECHO_C" >&6
9144 case $aros_target_nm_ln in
9146 ac_cv_path_aros_target_nm_ln="$aros_target_nm_ln" # Let the user override the test with a path.
9149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9150 for as_dir in `dirname $aros_gcc_nm`
9153 test -z "$as_dir" && as_dir=.
9154 for ac_exec_ext in '' $ac_executable_extensions; do
9155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9156 ac_cv_path_aros_target_nm_ln="$as_dir/$ac_word$ac_exec_ext"
9157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9167 aros_target_nm_ln=$ac_cv_path_aros_target_nm_ln
9168 if test -n "$aros_target_nm_ln"; then
9169 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
9170 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
9172 { echo "$as_me:$LINENO: result: no" >&5
9173 echo "${ECHO_T}no" >&6; }
9178 if test "$aros_target_nm_ln" = ""; then
9179 # Extract the first word of "nm", so it can be a program name with args.
9180 set dummy nm; ac_word=$2
9181 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9183 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
9184 echo $ECHO_N "(cached) $ECHO_C" >&6
9186 case $aros_target_nm_ln in
9188 ac_cv_path_aros_target_nm_ln="$aros_target_nm_ln" # Let the user override the test with a path.
9191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9195 test -z "$as_dir" && as_dir=.
9196 for ac_exec_ext in '' $ac_executable_extensions; do
9197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9198 ac_cv_path_aros_target_nm_ln="$as_dir/$ac_word$ac_exec_ext"
9199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9209 aros_target_nm_ln=$ac_cv_path_aros_target_nm_ln
9210 if test -n "$aros_target_nm_ln"; then
9211 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
9212 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
9214 { echo "$as_me:$LINENO: result: no" >&5
9215 echo "${ECHO_T}no" >&6; }
9222 if test "$aros_target_nm_ln" = ""; then
9223 { { echo "$as_me:$LINENO: error: nm is required to build AROS. Please install and run configure again." >&5
9224 echo "$as_me: error: nm is required to build AROS. Please install and run configure again." >&2;}
9225 { (exit 1); exit 1; }; }
9228 if test "$cross_compiling" = "yes" ; then
9229 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
9230 set dummy ${target_tool_prefix}objcopy; ac_word=$2
9231 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9233 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
9234 echo $ECHO_N "(cached) $ECHO_C" >&6
9236 case $aros_target_objcopy_ln in
9238 ac_cv_path_aros_target_objcopy_ln="$aros_target_objcopy_ln" # Let the user override the test with a path.
9241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9245 test -z "$as_dir" && as_dir=.
9246 for ac_exec_ext in '' $ac_executable_extensions; do
9247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9248 ac_cv_path_aros_target_objcopy_ln="$as_dir/$ac_word$ac_exec_ext"
9249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9259 aros_target_objcopy_ln=$ac_cv_path_aros_target_objcopy_ln
9260 if test -n "$aros_target_objcopy_ln"; then
9261 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
9262 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
9264 { echo "$as_me:$LINENO: result: no" >&5
9265 echo "${ECHO_T}no" >&6; }
9270 if test "$GCC" = "yes"; then
9271 aros_gcc_objcopy=`$CC -print-prog-name=objcopy
`
9272 # Extract the first word of "`basename $aros_gcc_[objcopy
]`", so it can be a program name with args.
9273 set dummy `basename $aros_gcc_objcopy`; ac_word=$2
9274 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9276 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
9277 echo $ECHO_N "(cached) $ECHO_C" >&6
9279 case $aros_target_objcopy_ln in
9281 ac_cv_path_aros_target_objcopy_ln="$aros_target_objcopy_ln" # Let the user override the test with a path.
9284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9285 for as_dir in `dirname $aros_gcc_objcopy`
9288 test -z "$as_dir" && as_dir=.
9289 for ac_exec_ext in '' $ac_executable_extensions; do
9290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9291 ac_cv_path_aros_target_objcopy_ln="$as_dir/$ac_word$ac_exec_ext"
9292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9302 aros_target_objcopy_ln=$ac_cv_path_aros_target_objcopy_ln
9303 if test -n "$aros_target_objcopy_ln"; then
9304 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
9305 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
9307 { echo "$as_me:$LINENO: result: no" >&5
9308 echo "${ECHO_T}no" >&6; }
9313 if test "$aros_target_objcopy_ln" = ""; then
9314 # Extract the first word of "objcopy", so it can be a program name with args.
9315 set dummy objcopy; ac_word=$2
9316 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9318 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
9319 echo $ECHO_N "(cached) $ECHO_C" >&6
9321 case $aros_target_objcopy_ln in
9323 ac_cv_path_aros_target_objcopy_ln="$aros_target_objcopy_ln" # Let the user override the test with a path.
9326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9330 test -z "$as_dir" && as_dir=.
9331 for ac_exec_ext in '' $ac_executable_extensions; do
9332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9333 ac_cv_path_aros_target_objcopy_ln="$as_dir/$ac_word$ac_exec_ext"
9334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9344 aros_target_objcopy_ln=$ac_cv_path_aros_target_objcopy_ln
9345 if test -n "$aros_target_objcopy_ln"; then
9346 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
9347 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
9349 { echo "$as_me:$LINENO: result: no" >&5
9350 echo "${ECHO_T}no" >&6; }
9357 if test "$aros_target_objcopy_ln" = ""; then
9358 { { echo "$as_me:$LINENO: error: objcopy is required to build AROS. Please install and run configure again." >&5
9359 echo "$as_me: error: objcopy is required to build AROS. Please install and run configure again." >&2;}
9360 { (exit 1); exit 1; }; }
9363 if test "$cross_compiling" = "yes" ; then
9364 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
9365 set dummy ${target_tool_prefix}objdump; ac_word=$2
9366 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9368 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
9369 echo $ECHO_N "(cached) $ECHO_C" >&6
9371 case $aros_target_objdump_ln in
9373 ac_cv_path_aros_target_objdump_ln="$aros_target_objdump_ln" # Let the user override the test with a path.
9376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9380 test -z "$as_dir" && as_dir=.
9381 for ac_exec_ext in '' $ac_executable_extensions; do
9382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9383 ac_cv_path_aros_target_objdump_ln="$as_dir/$ac_word$ac_exec_ext"
9384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9394 aros_target_objdump_ln=$ac_cv_path_aros_target_objdump_ln
9395 if test -n "$aros_target_objdump_ln"; then
9396 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
9397 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
9399 { echo "$as_me:$LINENO: result: no" >&5
9400 echo "${ECHO_T}no" >&6; }
9405 if test "$GCC" = "yes"; then
9406 aros_gcc_objdump=`$CC -print-prog-name=objdump
`
9407 # Extract the first word of "`basename $aros_gcc_[objdump
]`", so it can be a program name with args.
9408 set dummy `basename $aros_gcc_objdump`; ac_word=$2
9409 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9411 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
9412 echo $ECHO_N "(cached) $ECHO_C" >&6
9414 case $aros_target_objdump_ln in
9416 ac_cv_path_aros_target_objdump_ln="$aros_target_objdump_ln" # Let the user override the test with a path.
9419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9420 for as_dir in `dirname $aros_gcc_objdump`
9423 test -z "$as_dir" && as_dir=.
9424 for ac_exec_ext in '' $ac_executable_extensions; do
9425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9426 ac_cv_path_aros_target_objdump_ln="$as_dir/$ac_word$ac_exec_ext"
9427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9437 aros_target_objdump_ln=$ac_cv_path_aros_target_objdump_ln
9438 if test -n "$aros_target_objdump_ln"; then
9439 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
9440 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
9442 { echo "$as_me:$LINENO: result: no" >&5
9443 echo "${ECHO_T}no" >&6; }
9448 if test "$aros_target_objdump_ln" = ""; then
9449 # Extract the first word of "objdump", so it can be a program name with args.
9450 set dummy objdump; ac_word=$2
9451 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9453 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
9454 echo $ECHO_N "(cached) $ECHO_C" >&6
9456 case $aros_target_objdump_ln in
9458 ac_cv_path_aros_target_objdump_ln="$aros_target_objdump_ln" # Let the user override the test with a path.
9461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9465 test -z "$as_dir" && as_dir=.
9466 for ac_exec_ext in '' $ac_executable_extensions; do
9467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9468 ac_cv_path_aros_target_objdump_ln="$as_dir/$ac_word$ac_exec_ext"
9469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9479 aros_target_objdump_ln=$ac_cv_path_aros_target_objdump_ln
9480 if test -n "$aros_target_objdump_ln"; then
9481 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
9482 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
9484 { echo "$as_me:$LINENO: result: no" >&5
9485 echo "${ECHO_T}no" >&6; }
9492 if test "$aros_target_objdump_ln" = ""; then
9493 { { echo "$as_me:$LINENO: error: objdump is required to build AROS. Please install and run configure again." >&5
9494 echo "$as_me: error: objdump is required to build AROS. Please install and run configure again." >&2;}
9495 { (exit 1); exit 1; }; }
9498 if test "$cross_compiling" = "yes" ; then
9499 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
9500 set dummy ${target_tool_prefix}ranlib; ac_word=$2
9501 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9503 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
9504 echo $ECHO_N "(cached) $ECHO_C" >&6
9506 case $aros_target_ranlib_ln in
9508 ac_cv_path_aros_target_ranlib_ln="$aros_target_ranlib_ln" # Let the user override the test with a path.
9511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9515 test -z "$as_dir" && as_dir=.
9516 for ac_exec_ext in '' $ac_executable_extensions; do
9517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9518 ac_cv_path_aros_target_ranlib_ln="$as_dir/$ac_word$ac_exec_ext"
9519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9529 aros_target_ranlib_ln=$ac_cv_path_aros_target_ranlib_ln
9530 if test -n "$aros_target_ranlib_ln"; then
9531 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
9532 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
9534 { echo "$as_me:$LINENO: result: no" >&5
9535 echo "${ECHO_T}no" >&6; }
9540 if test "$GCC" = "yes"; then
9541 aros_gcc_ranlib=`$CC -print-prog-name=ranlib
`
9542 # Extract the first word of "`basename $aros_gcc_[ranlib
]`", so it can be a program name with args.
9543 set dummy `basename $aros_gcc_ranlib`; ac_word=$2
9544 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9546 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
9547 echo $ECHO_N "(cached) $ECHO_C" >&6
9549 case $aros_target_ranlib_ln in
9551 ac_cv_path_aros_target_ranlib_ln="$aros_target_ranlib_ln" # Let the user override the test with a path.
9554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9555 for as_dir in `dirname $aros_gcc_ranlib`
9558 test -z "$as_dir" && as_dir=.
9559 for ac_exec_ext in '' $ac_executable_extensions; do
9560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9561 ac_cv_path_aros_target_ranlib_ln="$as_dir/$ac_word$ac_exec_ext"
9562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9572 aros_target_ranlib_ln=$ac_cv_path_aros_target_ranlib_ln
9573 if test -n "$aros_target_ranlib_ln"; then
9574 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
9575 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
9577 { echo "$as_me:$LINENO: result: no" >&5
9578 echo "${ECHO_T}no" >&6; }
9583 if test "$aros_target_ranlib_ln" = ""; then
9584 # Extract the first word of "ranlib", so it can be a program name with args.
9585 set dummy ranlib; ac_word=$2
9586 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9588 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
9589 echo $ECHO_N "(cached) $ECHO_C" >&6
9591 case $aros_target_ranlib_ln in
9593 ac_cv_path_aros_target_ranlib_ln="$aros_target_ranlib_ln" # Let the user override the test with a path.
9596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9600 test -z "$as_dir" && as_dir=.
9601 for ac_exec_ext in '' $ac_executable_extensions; do
9602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9603 ac_cv_path_aros_target_ranlib_ln="$as_dir/$ac_word$ac_exec_ext"
9604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9614 aros_target_ranlib_ln=$ac_cv_path_aros_target_ranlib_ln
9615 if test -n "$aros_target_ranlib_ln"; then
9616 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
9617 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
9619 { echo "$as_me:$LINENO: result: no" >&5
9620 echo "${ECHO_T}no" >&6; }
9627 if test "$aros_target_ranlib_ln" = ""; then
9628 { { echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
9629 echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
9630 { (exit 1); exit 1; }; }
9633 if test "$cross_compiling" = "yes" ; then
9634 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
9635 set dummy ${target_tool_prefix}strip; ac_word=$2
9636 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9638 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
9639 echo $ECHO_N "(cached) $ECHO_C" >&6
9641 case $aros_target_strip_ln in
9643 ac_cv_path_aros_target_strip_ln="$aros_target_strip_ln" # Let the user override the test with a path.
9646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9650 test -z "$as_dir" && as_dir=.
9651 for ac_exec_ext in '' $ac_executable_extensions; do
9652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9653 ac_cv_path_aros_target_strip_ln="$as_dir/$ac_word$ac_exec_ext"
9654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9664 aros_target_strip_ln=$ac_cv_path_aros_target_strip_ln
9665 if test -n "$aros_target_strip_ln"; then
9666 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
9667 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
9669 { echo "$as_me:$LINENO: result: no" >&5
9670 echo "${ECHO_T}no" >&6; }
9675 if test "$GCC" = "yes"; then
9676 aros_gcc_strip=`$CC -print-prog-name=strip
`
9677 # Extract the first word of "`basename $aros_gcc_[strip
]`", so it can be a program name with args.
9678 set dummy `basename $aros_gcc_strip`; ac_word=$2
9679 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9680 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9681 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
9682 echo $ECHO_N "(cached) $ECHO_C" >&6
9684 case $aros_target_strip_ln in
9686 ac_cv_path_aros_target_strip_ln="$aros_target_strip_ln" # Let the user override the test with a path.
9689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9690 for as_dir in `dirname $aros_gcc_strip`
9693 test -z "$as_dir" && as_dir=.
9694 for ac_exec_ext in '' $ac_executable_extensions; do
9695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9696 ac_cv_path_aros_target_strip_ln="$as_dir/$ac_word$ac_exec_ext"
9697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9707 aros_target_strip_ln=$ac_cv_path_aros_target_strip_ln
9708 if test -n "$aros_target_strip_ln"; then
9709 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
9710 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
9712 { echo "$as_me:$LINENO: result: no" >&5
9713 echo "${ECHO_T}no" >&6; }
9718 if test "$aros_target_strip_ln" = ""; then
9719 # Extract the first word of "strip", so it can be a program name with args.
9720 set dummy strip; ac_word=$2
9721 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9723 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
9724 echo $ECHO_N "(cached) $ECHO_C" >&6
9726 case $aros_target_strip_ln in
9728 ac_cv_path_aros_target_strip_ln="$aros_target_strip_ln" # Let the user override the test with a path.
9731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9735 test -z "$as_dir" && as_dir=.
9736 for ac_exec_ext in '' $ac_executable_extensions; do
9737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9738 ac_cv_path_aros_target_strip_ln="$as_dir/$ac_word$ac_exec_ext"
9739 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9749 aros_target_strip_ln=$ac_cv_path_aros_target_strip_ln
9750 if test -n "$aros_target_strip_ln"; then
9751 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
9752 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
9754 { echo "$as_me:$LINENO: result: no" >&5
9755 echo "${ECHO_T}no" >&6; }
9762 if test "$aros_target_strip_ln" = ""; then
9763 { { echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
9764 echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
9765 { (exit 1); exit 1; }; }
9768 if test "$GCC" = "yes"; then
9769 aros_target_cc_path=`$aros_kernel_cc -print-search-dirs |
grep "programs: =" | cut
-c 12-`
9772 aros_hostcfg_dir="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
9773 aros_targetcfg_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
9774 aros_inc_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
9775 aros_gendir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
9776 aros_geninc_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
9777 aros_tools_dir="bin/${aros_host_arch}-${aros_host_cpu}/tools"
9778 aros_scripts_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
9780 # aros_cc_pre is a variable that is added to the front of the compiler name
9781 # in the generated aros-gcc shell script. We need this to enable the cache
9782 # to work across cleaned builds. Also, support DISTCC using the correct
9783 # environment variable.
9786 if test "x${DISTCC}" != "x" ; then
9787 if test "x${CCACHE}" != "x" ; then
9788 aros_cc_pre="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
9790 aros_cc_pre="${DISTCC} "
9793 if test "x${CCACHE}" != "x" ; then
9794 aros_cc_pre="${CCACHE} "
9798 prefix="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
9800 aros_target_nostdinc_cflags=-nostdinc
9802 aros_target_nostartup_ldflags=-nostartfiles
9804 aros_target_nix_ldflags=-nix
9806 aros_target_detach_ldflags=-detach
9808 aros_target_nostdlib_ldflags=-nostdlib
9812 aros_target_cc="${prefix}-gcc"
9813 aros_target_as="${prefix}-as"
9814 aros_target_ld="${prefix}-ld"
9815 aros_target_ar="${prefix}-ar $aros_target_ar_flags"
9816 aros_target_objcopy=${prefix}-objcopy
9817 aros_target_objdump=${prefix}-objdump
9818 aros_target_ranlib="${prefix}-ranlib $aros_target_ranlib_flags"
9819 aros_target_nm="${prefix}-nm $aros_target_nm_flags"
9820 aros_kernel_nm="${prefix}-nm"
9821 aros_target_strip=${prefix}-strip
9824 # Find the system include path. We can suggest that an alternative is
9825 # used if we don't get it correct. The default is to use /usr/include.
9826 # Which is set in the aros_target_incl_def variable.
9828 # Check whether --enable-includes was given.
9829 if test "${enable_includes+set}" = set; then
9830 enableval=$enable_includes; aros_target_incl=$enable_includes
9832 aros_target_incl=$aros_target_incl_def
9836 { echo "$as_me:$LINENO: checking for the target compiler's include path" >&5
9837 echo $ECHO_N "checking for the target compiler's include path... $ECHO_C" >&6; }
9838 if test "$aros_target_cc_includes" = "" ; then
9839 #try to guess where the directory is
9840 aros_target_cc_includes=`dirname \
`${aros_kernel_cc} -print-libgcc-file-name\``/include
9841 if ! test -d $aros_target_cc_includes; then
9842 #the directory doesn't exist, we need to do some more work
9843 aros_target_cc_includes=${PWD}/${aros_gendir}/cc_include
9845 #these are the headers we're looling for
9846 headers="limits.h mmintrin.h stdbool.h syslimits.h float.h \
9847 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
9851 for h in $headers; do
9852 #which other headers each of the above headers needs?
9853 deps=$(echo "#include <$h>" | \
9854 $aros_host_cc -E -M - 2>/dev/null | \
9855 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
9857 #copy all the needed headers to a directory beneath gendir
9860 dir=${aros_target_cc_includes}$(echo $(dirname $d) | \
9861 sed -n "s,^.*/include\(/.*\),\1,p")
9862 ! test -d $dir && mkdir -p $dir
9863 ! test -f $dir/$h && { cp $d $dir; chmod u+w $dir/$h; }
9868 { echo "$as_me:$LINENO: result: $aros_target_cc_includes" >&5
9869 echo "${ECHO_T}$aros_target_cc_includes" >&6; }
9871 { echo "$as_me:$LINENO: checking for default resolution of WBScreen" >&5
9872 echo $ECHO_N "checking for default resolution of WBScreen... $ECHO_C" >&6; }
9874 # Check whether --with-resolution was given.
9875 if test "${with_resolution+set}" = set; then
9876 withval=$with_resolution; resolution=$withval
9881 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
9882 if test "$resolution" = "yes" ; then
9885 if test "$resolution" = "no" ; then
9888 if test "$resolution" != "none" ; then
9889 aros_default_wbwidth=`echo $resolution | cut
-d'x' -f1`
9890 aros_default_wbheight=`echo $resolution | cut
-d'x' -f2`
9891 aros_default_wbdepth=`echo $resolution | cut
-d'x' -f3`
9893 { echo "$as_me:$LINENO: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
9894 echo "${ECHO_T}$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
9895 aros_cv_default_wbwidth=$aros_default_wbwidth
9896 aros_cv_default_wbheight=$aros_default_wbheight
9897 aros_cv_default_wbdepth=$aros_default_wbdepth
9899 { echo "$as_me:$LINENO: checking if bochs hack is enabled" >&5
9900 echo $ECHO_N "checking if bochs hack is enabled... $ECHO_C" >&6; }
9901 # Check whether --enable-bochs_hack was given.
9902 if test "${enable_bochs_hack+set}" = set; then
9903 enableval=$enable_bochs_hack; bochs_hack="yes"
9908 if test "$bochs_hack" = "yes" ; then
9911 { echo "$as_me:$LINENO: result: $bochs_hack" >&5
9912 echo "${ECHO_T}$bochs_hack" >&6; }
9914 { echo "$as_me:$LINENO: checking if serial debug is enabled" >&5
9915 echo $ECHO_N "checking if serial debug is enabled... $ECHO_C" >&6; }
9917 # Check whether --with-serial-debug was given.
9918 if test "${with_serial_debug+set}" = set; then
9919 withval=$with_serial_debug; serial_debug=$withval
9924 if test "$serial_debug" = "yes" ; then
9927 if test "$serial_debug" = "no" ; then
9930 if test "$serial_debug" != "none" ; then
9931 aros_serial_debug=$serial_debug
9932 { echo "$as_me:$LINENO: result: on port $serial_debug" >&5
9933 echo "${ECHO_T}on port $serial_debug" >&6; }
9935 { echo "$as_me:$LINENO: result: no" >&5
9936 echo "${ECHO_T}no" >&6; }
9939 { echo "$as_me:$LINENO: checking if palm debug hack is enabled" >&5
9940 echo $ECHO_N "checking if palm debug hack is enabled... $ECHO_C" >&6; }
9941 # Check whether --enable-palm_debug_hack was given.
9942 if test "${enable_palm_debug_hack+set}" = set; then
9943 enableval=$enable_palm_debug_hack; palm_debug_hack="yes"
9945 palm_debug_hack="no"
9948 if test "$palm_debug_hack" = "yes" ; then
9949 aros_palm_debug_hack="1"
9951 { echo "$as_me:$LINENO: result: $palm_debug_hack" >&5
9952 echo "${ECHO_T}$palm_debug_hack" >&6; }
9955 { echo "$as_me:$LINENO: checking if nesting supervisor support is enabled" >&5
9956 echo $ECHO_N "checking if nesting supervisor support is enabled... $ECHO_C" >&6; }
9957 # Check whether --enable-nesting_supervisor was given.
9958 if test "${enable_nesting_supervisor+set}" = set; then
9959 enableval=$enable_nesting_supervisor; nesting_supervisor="yes"
9961 nesting_supervisor="no"
9964 if test "$nesting_supervisor" = "yes" ; then
9965 aros_nesting_supervisor="1"
9967 { echo "$as_me:$LINENO: result: $nesting_supervisor" >&5
9968 echo "${ECHO_T}$nesting_supervisor" >&6; }
9971 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9973 { echo "$as_me:$LINENO: checking for dlopen" >&5
9974 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9975 if test "${ac_cv_func_dlopen+set}" = set; then
9976 echo $ECHO_N "(cached) $ECHO_C" >&6
9978 cat >conftest.$ac_ext <<_ACEOF
9981 cat confdefs.h >>conftest.$ac_ext
9982 cat >>conftest.$ac_ext <<_ACEOF
9983 /* end confdefs.h. */
9984 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9986 #define dlopen innocuous_dlopen
9988 /* System header to define __stub macros and hopefully few prototypes,
9989 which can conflict with char dlopen (); below.
9990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9991 <limits.h> exists even on freestanding compilers. */
9994 # include <limits.h>
9996 # include <assert.h>
10001 /* Override any GCC internal prototype to avoid an error.
10002 Use char because int might match the return type of a GCC
10003 builtin and then its argument prototype would still apply. */
10008 /* The GNU C library defines this for functions which it implements
10009 to always fail with ENOSYS. Some functions are actually named
10010 something starting with __ and the normal name is an alias. */
10011 #if defined __stub_dlopen || defined __stub___dlopen
10023 rm -f conftest.$ac_objext conftest$ac_exeext
10024 if { (ac_try="$ac_link"
10025 case "(($ac_try" in
10026 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10027 *) ac_try_echo
=$ac_try;;
10029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10030 (eval "$ac_link") 2>conftest.er1
10032 grep -v '^ *+' conftest.er1
>conftest.err
10034 cat conftest.err
>&5
10035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10036 (exit $ac_status); } && {
10037 test -z "$ac_c_werror_flag" ||
10038 test ! -s conftest.err
10039 } && test -s conftest
$ac_exeext &&
10040 $as_test_x conftest
$ac_exeext; then
10041 ac_cv_func_dlopen
=yes
10043 echo "$as_me: failed program was:" >&5
10044 sed 's/^/| /' conftest.
$ac_ext >&5
10046 ac_cv_func_dlopen
=no
10049 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10050 conftest
$ac_exeext conftest.
$ac_ext
10052 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10053 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10054 if test $ac_cv_func_dlopen = yes; then
10060 if test "x-$have_dl" = "x-no" ; then
10061 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10062 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10063 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10064 echo $ECHO_N "(cached) $ECHO_C" >&6
10066 ac_check_lib_save_LIBS
=$LIBS
10068 cat >conftest.
$ac_ext <<_ACEOF
10071 cat confdefs.h
>>conftest.
$ac_ext
10072 cat >>conftest.
$ac_ext <<_ACEOF
10073 /* end confdefs.h. */
10075 /* Override any GCC internal prototype to avoid an error.
10076 Use char because int might match the return type of a GCC
10077 builtin and then its argument prototype would still apply. */
10090 rm -f conftest.
$ac_objext conftest
$ac_exeext
10091 if { (ac_try
="$ac_link"
10092 case "(($ac_try" in
10093 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10094 *) ac_try_echo=$ac_try;;
10096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10097 (eval "$ac_link") 2>conftest.er1
10099 grep -v '^ *+' conftest.er1 >conftest.err
10101 cat conftest.err >&5
10102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10103 (exit $ac_status); } && {
10104 test -z "$ac_c_werror_flag" ||
10105 test ! -s conftest.err
10106 } && test -s conftest$ac_exeext &&
10107 $as_test_x conftest$ac_exeext; then
10108 ac_cv_lib_dl_dlopen=yes
10110 echo "$as_me: failed program was:" >&5
10111 sed 's/^/| /' conftest.$ac_ext >&5
10113 ac_cv_lib_dl_dlopen=no
10116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10117 conftest$ac_exeext conftest.$ac_ext
10118 LIBS=$ac_check_lib_save_LIBS
10120 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10121 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10122 if test $ac_cv_lib_dl_dlopen = yes; then
10124 aros_host_ldflags="$aros_host_ldflags -ldl"
10130 if test "x-$have_dl" = "x-no" ; then
10131 { { echo "$as_me:$LINENO: error: dlopen() dynamic linker functions not available" >&5
10132 echo "$as_me: error: dlopen() dynamic linker functions not available" >&2;}
10133 { (exit 1); exit 1; }; }
10137 # Check whether --enable-x11_hidd was given.
10138 if test "${enable_x11_hidd+set}" = set; then
10139 enableval=$enable_x11_hidd; x11_hidd="$enableval"
10144 case "x-$x11_hidd" in
10145 x-yes|x-no|x-auto) ;;
10146 *) x11_hidd="auto" ;;
10149 if test "x-$x11_hidd" != "x-no" ; then
10151 { echo "$as_me:$LINENO: checking for X" >&5
10152 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
10155 # Check whether --with-x was given.
10156 if test "${with_x+set}" = set; then
10160 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10161 if test "x$with_x" = xno; then
10162 # The user explicitly disabled X.
10165 case $x_includes,$x_libraries in #(
10166 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
10167 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
10168 { (exit 1); exit 1; }; };; #(
10169 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
10170 echo $ECHO_N "(cached) $ECHO_C" >&6
10172 # One or both of the vars are not set, and there is no cached value.
10173 ac_x_includes=no ac_x_libraries=no
10174 rm -f -r conftest.dir
10175 if mkdir conftest.dir; then
10177 cat >Imakefile <<'_ACEOF'
10179 @echo incroot='${INCROOT}'
10181 @echo usrlibdir='${USRLIBDIR}'
10183 @echo libdir='${LIBDIR}'
10185 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10186 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10187 for ac_var in incroot usrlibdir libdir; do
10188 eval "ac_im_$ac_var=\`\
${MAKE-make} $ac_var 2>/dev
/null |
sed -n 's/^$ac_var=//p'\
`"
10190 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10191 for ac_extension in a so sl; do
10192 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10193 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10194 ac_im_usrlibdir=$ac_im_libdir; break
10197 # Screen out bogus values from the imake configuration. They are
10198 # bogus both because they are the default anyway, and because
10199 # using them would break gcc on systems where it needs fixed includes.
10200 case $ac_im_incroot in
10201 /usr/include) ac_x_includes= ;;
10202 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10204 case $ac_im_usrlibdir in
10205 /usr/lib | /lib) ;;
10206 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10210 rm -f -r conftest.dir
10213 # Standard set of common directories for X headers.
10214 # Check X11 before X11Rn because it is often a symlink to the current release.
10226 /usr/local/X11/include
10227 /usr/local/X11R6/include
10228 /usr/local/X11R5/include
10229 /usr/local/X11R4/include
10231 /usr/local/include/X11
10232 /usr/local/include/X11R6
10233 /usr/local/include/X11R5
10234 /usr/local/include/X11R4
10238 /usr/XFree86/include/X11
10242 /usr/unsupported/include
10243 /usr/athena/include
10244 /usr/local/x11r5/include
10245 /usr/lpp/Xamples/include
10247 /usr/openwin/include
10248 /usr/openwin/share/include'
10250 if test "$ac_x_includes" = no; then
10251 # Guess where to find include files, by looking for Xlib.h.
10252 # First, try using that file with no special directory specified.
10253 cat >conftest.$ac_ext <<_ACEOF
10256 cat confdefs.h >>conftest.$ac_ext
10257 cat >>conftest.$ac_ext <<_ACEOF
10258 /* end confdefs.h. */
10259 #include <X11/Xlib.h>
10261 if { (ac_try="$ac_cpp conftest.$ac_ext"
10262 case "(($ac_try" in
10263 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10264 *) ac_try_echo
=$ac_try;;
10266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10267 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10269 grep -v '^ *+' conftest.er1
>conftest.err
10271 cat conftest.err
>&5
10272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10273 (exit $ac_status); } >/dev
/null
&& {
10274 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10275 test ! -s conftest.err
10277 # We can compile using X headers with no special include directory.
10280 echo "$as_me: failed program was:" >&5
10281 sed 's/^/| /' conftest.
$ac_ext >&5
10283 for ac_dir
in $ac_x_header_dirs; do
10284 if test -r "$ac_dir/X11/Xlib.h"; then
10285 ac_x_includes
=$ac_dir
10291 rm -f conftest.err conftest.
$ac_ext
10292 fi # $ac_x_includes = no
10294 if test "$ac_x_libraries" = no
; then
10295 # Check for the libraries.
10296 # See if we find them without any special options.
10297 # Don't add to $LIBS permanently.
10300 cat >conftest.
$ac_ext <<_ACEOF
10303 cat confdefs.h
>>conftest.
$ac_ext
10304 cat >>conftest.
$ac_ext <<_ACEOF
10305 /* end confdefs.h. */
10306 #include <X11/Xlib.h>
10315 rm -f conftest.
$ac_objext conftest
$ac_exeext
10316 if { (ac_try
="$ac_link"
10317 case "(($ac_try" in
10318 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10319 *) ac_try_echo=$ac_try;;
10321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10322 (eval "$ac_link") 2>conftest.er1
10324 grep -v '^ *+' conftest.er1 >conftest.err
10326 cat conftest.err >&5
10327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10328 (exit $ac_status); } && {
10329 test -z "$ac_c_werror_flag" ||
10330 test ! -s conftest.err
10331 } && test -s conftest$ac_exeext &&
10332 $as_test_x conftest$ac_exeext; then
10334 # We can link X programs with no special library path.
10337 echo "$as_me: failed program was:" >&5
10338 sed 's/^/| /' conftest.$ac_ext >&5
10341 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
10343 # Don't even attempt the hair of trying to link an X program!
10344 for ac_extension in a so sl; do
10345 if test -r "$ac_dir/libX11.$ac_extension"; then
10346 ac_x_libraries=$ac_dir
10353 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10354 conftest$ac_exeext conftest.$ac_ext
10355 fi # $ac_x_libraries = no
10357 case $ac_x_includes,$ac_x_libraries in #(
10358 no,* | *,no | *\'*)
10359 # Didn't find X, or a directory has "'" in its name.
10360 ac_cv_have_x="have_x=no";; #(
10362 # Record where we found X for the cache.
10363 ac_cv_have_x="have_x=yes\
10364 ac_x_includes='$ac_x_includes'\
10365 ac_x_libraries='$ac_x_libraries'"
10371 eval "$ac_cv_have_x"
10374 if test "$have_x" != yes; then
10375 { echo "$as_me:$LINENO: result: $have_x" >&5
10376 echo "${ECHO_T}$have_x" >&6; }
10379 # If each of the values was on the command line, it overrides each guess.
10380 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10381 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10382 # Update the cache value to reflect the command line values.
10383 ac_cv_have_x="have_x=yes\
10384 ac_x_includes='$x_includes'\
10385 ac_x_libraries='$x_libraries'"
10386 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
10387 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
10392 for path in $x_libraries
10394 x_cflags="$x_cflags -L$path"
10397 for path in $x_includes
10399 x_cflags="$x_cflags -I$path"
10402 if test "x-$no_x" = "x-yes" ; then
10404 if test "x-$x11_hidd" != "x-auto" ; then
10405 { { echo "$as_me:$LINENO: error: X11 libs/headers not found, cannot build X11 hidd as requested" >&5
10406 echo "$as_me: error: X11 libs/headers not found, cannot build X11 hidd as requested" >&2;}
10407 { (exit 1); exit 1; }; }
10411 x11_hidd_target=kernel-x11gfx
10414 # Check whether --enable-x11_shm was given.
10415 if test "${enable_x11_shm+set}" = set; then
10416 enableval=$enable_x11_shm; x11_hidd_shm="$enableval"
10418 x11_hidd_shm="auto"
10421 case "x-$x11_hidd_shm" in
10422 x-yes|x-no|x-auto) ;;
10423 *) x11_hidd_shm="auto" ;;
10428 if test "x-$x11_hidd_shm" != "x-no" ; then
10431 for ac_header in sys/ipc.h
10433 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10434 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10435 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10436 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10437 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10438 echo $ECHO_N "(cached) $ECHO_C" >&6
10440 ac_res=`eval echo '${'$as_ac_Header'}'`
10441 { echo "$as_me:$LINENO: result: $ac_res" >&5
10442 echo "${ECHO_T}$ac_res" >&6; }
10444 # Is the header compilable?
10445 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10446 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10447 cat >conftest.$ac_ext <<_ACEOF
10450 cat confdefs.h >>conftest.$ac_ext
10451 cat >>conftest.$ac_ext <<_ACEOF
10452 /* end confdefs.h. */
10453 $ac_includes_default
10454 #include <$ac_header>
10456 rm -f conftest.$ac_objext
10457 if { (ac_try="$ac_compile"
10458 case "(($ac_try" in
10459 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10460 *) ac_try_echo
=$ac_try;;
10462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10463 (eval "$ac_compile") 2>conftest.er1
10465 grep -v '^ *+' conftest.er1
>conftest.err
10467 cat conftest.err
>&5
10468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10469 (exit $ac_status); } && {
10470 test -z "$ac_c_werror_flag" ||
10471 test ! -s conftest.err
10472 } && test -s conftest.
$ac_objext; then
10473 ac_header_compiler
=yes
10475 echo "$as_me: failed program was:" >&5
10476 sed 's/^/| /' conftest.
$ac_ext >&5
10478 ac_header_compiler
=no
10481 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10482 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10483 echo "${ECHO_T}$ac_header_compiler" >&6; }
10485 # Is the header present?
10486 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10487 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10488 cat >conftest.
$ac_ext <<_ACEOF
10491 cat confdefs.h
>>conftest.
$ac_ext
10492 cat >>conftest.
$ac_ext <<_ACEOF
10493 /* end confdefs.h. */
10494 #include <$ac_header>
10496 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10497 case "(($ac_try" in
10498 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10499 *) ac_try_echo=$ac_try;;
10501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10502 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10504 grep -v '^ *+' conftest.er1 >conftest.err
10506 cat conftest.err >&5
10507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10508 (exit $ac_status); } >/dev/null && {
10509 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10510 test ! -s conftest.err
10512 ac_header_preproc=yes
10514 echo "$as_me: failed program was:" >&5
10515 sed 's/^/| /' conftest.$ac_ext >&5
10517 ac_header_preproc=no
10520 rm -f conftest.err conftest.$ac_ext
10521 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10522 echo "${ECHO_T}$ac_header_preproc" >&6; }
10524 # So? What about this header?
10525 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10527 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10528 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10529 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10530 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10531 ac_header_preproc=yes
10534 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10535 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10536 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10537 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10538 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10539 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10540 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10541 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10542 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10543 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10544 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10545 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10549 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10550 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10551 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10552 echo $ECHO_N "(cached) $ECHO_C" >&6
10554 eval "$as_ac_Header=\$ac_header_preproc"
10556 ac_res=`eval echo '${'$as_ac_Header'}'`
10557 { echo "$as_me:$LINENO: result: $ac_res" >&5
10558 echo "${ECHO_T}$ac_res" >&6; }
10561 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10562 cat >>confdefs.h <<_ACEOF
10563 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10571 for ac_header in sys/shm.h
10573 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10574 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10575 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10576 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10577 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10578 echo $ECHO_N "(cached) $ECHO_C" >&6
10580 ac_res=`eval echo '${'$as_ac_Header'}'`
10581 { echo "$as_me:$LINENO: result: $ac_res" >&5
10582 echo "${ECHO_T}$ac_res" >&6; }
10584 # Is the header compilable?
10585 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10586 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10587 cat >conftest.$ac_ext <<_ACEOF
10590 cat confdefs.h >>conftest.$ac_ext
10591 cat >>conftest.$ac_ext <<_ACEOF
10592 /* end confdefs.h. */
10593 $ac_includes_default
10594 #include <$ac_header>
10596 rm -f conftest.$ac_objext
10597 if { (ac_try="$ac_compile"
10598 case "(($ac_try" in
10599 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10600 *) ac_try_echo
=$ac_try;;
10602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10603 (eval "$ac_compile") 2>conftest.er1
10605 grep -v '^ *+' conftest.er1
>conftest.err
10607 cat conftest.err
>&5
10608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10609 (exit $ac_status); } && {
10610 test -z "$ac_c_werror_flag" ||
10611 test ! -s conftest.err
10612 } && test -s conftest.
$ac_objext; then
10613 ac_header_compiler
=yes
10615 echo "$as_me: failed program was:" >&5
10616 sed 's/^/| /' conftest.
$ac_ext >&5
10618 ac_header_compiler
=no
10621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10622 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10623 echo "${ECHO_T}$ac_header_compiler" >&6; }
10625 # Is the header present?
10626 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10627 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10628 cat >conftest.
$ac_ext <<_ACEOF
10631 cat confdefs.h
>>conftest.
$ac_ext
10632 cat >>conftest.
$ac_ext <<_ACEOF
10633 /* end confdefs.h. */
10634 #include <$ac_header>
10636 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10637 case "(($ac_try" in
10638 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10639 *) ac_try_echo=$ac_try;;
10641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10642 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10644 grep -v '^ *+' conftest.er1 >conftest.err
10646 cat conftest.err >&5
10647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10648 (exit $ac_status); } >/dev/null && {
10649 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10650 test ! -s conftest.err
10652 ac_header_preproc=yes
10654 echo "$as_me: failed program was:" >&5
10655 sed 's/^/| /' conftest.$ac_ext >&5
10657 ac_header_preproc=no
10660 rm -f conftest.err conftest.$ac_ext
10661 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10662 echo "${ECHO_T}$ac_header_preproc" >&6; }
10664 # So? What about this header?
10665 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10667 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10668 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10669 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10670 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10671 ac_header_preproc=yes
10674 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10675 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10676 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10677 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10678 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10679 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10680 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10681 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10682 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10683 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10684 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10685 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10689 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10690 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10691 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10692 echo $ECHO_N "(cached) $ECHO_C" >&6
10694 eval "$as_ac_Header=\$ac_header_preproc"
10696 ac_res=`eval echo '${'$as_ac_Header'}'`
10697 { echo "$as_me:$LINENO: result: $ac_res" >&5
10698 echo "${ECHO_T}$ac_res" >&6; }
10701 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10702 cat >>confdefs.h <<_ACEOF
10703 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10711 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
10713 save_cflags="$CFLAGS"
10714 CFLAGS="$CFLAGS $x_cflags"
10715 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
10716 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
10717 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
10718 echo $ECHO_N "(cached) $ECHO_C" >&6
10720 ac_check_lib_save_LIBS=$LIBS
10721 LIBS="-lXext $LIBS"
10722 cat >conftest.$ac_ext <<_ACEOF
10725 cat confdefs.h >>conftest.$ac_ext
10726 cat >>conftest.$ac_ext <<_ACEOF
10727 /* end confdefs.h. */
10729 /* Override any GCC internal prototype to avoid an error.
10730 Use char because int might match the return type of a GCC
10731 builtin and then its argument prototype would still apply. */
10735 char XShmQueryExtension ();
10739 return XShmQueryExtension ();
10744 rm -f conftest.$ac_objext conftest$ac_exeext
10745 if { (ac_try="$ac_link"
10746 case "(($ac_try" in
10747 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10748 *) ac_try_echo
=$ac_try;;
10750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10751 (eval "$ac_link") 2>conftest.er1
10753 grep -v '^ *+' conftest.er1
>conftest.err
10755 cat conftest.err
>&5
10756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10757 (exit $ac_status); } && {
10758 test -z "$ac_c_werror_flag" ||
10759 test ! -s conftest.err
10760 } && test -s conftest
$ac_exeext &&
10761 $as_test_x conftest
$ac_exeext; then
10762 ac_cv_lib_Xext_XShmQueryExtension
=yes
10764 echo "$as_me: failed program was:" >&5
10765 sed 's/^/| /' conftest.
$ac_ext >&5
10767 ac_cv_lib_Xext_XShmQueryExtension
=no
10770 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10771 conftest
$ac_exeext conftest.
$ac_ext
10772 LIBS
=$ac_check_lib_save_LIBS
10774 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10775 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10776 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
10780 CFLAGS
="$save_cflags"
10784 if test "x-$have_xshm" = "x-yes" ; then
10785 DO_XSHM_SUPPORT
="1"
10786 elif test "x-$x11_hidd_shm" = "x-yes" ; then
10787 { { echo "$as_me:$LINENO: error: X11 has no support for shared memory, cannot enable it as requested" >&5
10788 echo "$as_me: error: X11 has no support for shared memory, cannot enable it as requested" >&2;}
10789 { (exit 1); exit 1; }; }
10791 DO_XSHM_SUPPORT
="0"
10795 # Check whether --enable-x11_vidmode was given.
10796 if test "${enable_x11_vidmode+set}" = set; then
10797 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
10799 x11_hidd_vidmode
="auto"
10802 case "x-$x11_hidd_vidmode" in
10803 x-yes|x-no|x-auto
) ;;
10804 *) x11_hidd_vidmode
="auto" ;;
10809 if test "x-$x11_hidd_vidmode" != "x-no" ; then
10811 save_cflags
="$CFLAGS"
10812 CFLAGS
="$CFLAGS $x_cflags"
10813 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
10814 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
10815 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
10816 echo $ECHO_N "(cached) $ECHO_C" >&6
10818 ac_check_lib_save_LIBS
=$LIBS
10819 LIBS
="-lXxf86vm $LIBS"
10820 cat >conftest.
$ac_ext <<_ACEOF
10823 cat confdefs.h
>>conftest.
$ac_ext
10824 cat >>conftest.
$ac_ext <<_ACEOF
10825 /* end confdefs.h. */
10827 /* Override any GCC internal prototype to avoid an error.
10828 Use char because int might match the return type of a GCC
10829 builtin and then its argument prototype would still apply. */
10833 char XF86VidModeQueryExtension ();
10837 return XF86VidModeQueryExtension ();
10842 rm -f conftest.
$ac_objext conftest
$ac_exeext
10843 if { (ac_try
="$ac_link"
10844 case "(($ac_try" in
10845 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10846 *) ac_try_echo=$ac_try;;
10848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10849 (eval "$ac_link") 2>conftest.er1
10851 grep -v '^ *+' conftest.er1 >conftest.err
10853 cat conftest.err >&5
10854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10855 (exit $ac_status); } && {
10856 test -z "$ac_c_werror_flag" ||
10857 test ! -s conftest.err
10858 } && test -s conftest$ac_exeext &&
10859 $as_test_x conftest$ac_exeext; then
10860 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
10862 echo "$as_me: failed program was:" >&5
10863 sed 's/^/| /' conftest.$ac_ext >&5
10865 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
10868 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10869 conftest$ac_exeext conftest.$ac_ext
10870 LIBS=$ac_check_lib_save_LIBS
10872 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10873 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10874 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
10878 CFLAGS="$save_cflags"
10881 if test "x-$have_vidmode" = "x-yes" ; then
10882 DO_VIDMODE_SUPPORT="1"
10883 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
10884 { { echo "$as_me:$LINENO: error: X11 vidmode extension not available, cannot enable it as requested" >&5
10885 echo "$as_me: error: X11 vidmode extension not available, cannot enable it as requested" >&2;}
10886 { (exit 1); exit 1; }; }
10888 DO_VIDMODE_SUPPORT="0"
10892 aros_host_x11_includes=$x_includes
10893 aros_host_x11_libdirs=$x_libraries
10897 # Check whether --enable-sdl_hidd was given.
10898 if test "${enable_sdl_hidd+set}" = set; then
10899 enableval=$enable_sdl_hidd; sdl_hidd="$enableval"
10904 case "x-$sdl_hidd" in
10905 x-yes|x-no|x-auto) ;;
10906 *) sdl_hidd="auto" ;;
10909 if test "x-$sdl_hidd" != "x-no" ; then
10912 # Check whether --with-sdl-prefix was given.
10913 if test "${with_sdl_prefix+set}" = set; then
10914 withval=$with_sdl_prefix; sdl_prefix="$withval"
10920 # Check whether --with-sdl-exec-prefix was given.
10921 if test "${with_sdl_exec_prefix+set}" = set; then
10922 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
10927 # Check whether --enable-sdltest was given.
10928 if test "${enable_sdltest+set}" = set; then
10929 enableval=$enable_sdltest;
10935 if test x$sdl_exec_prefix != x ; then
10936 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
10937 if test x${SDL_CONFIG+set} != xset ; then
10938 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
10941 if test x$sdl_prefix != x ; then
10942 sdl_args="$sdl_args --prefix=$sdl_prefix"
10943 if test x${SDL_CONFIG+set} != xset ; then
10944 SDL_CONFIG=$sdl_prefix/bin/sdl-config
10948 if test "x$prefix" != xNONE; then
10949 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
10951 # Extract the first word of "sdl-config", so it can be a program name with args.
10952 set dummy sdl-config; ac_word=$2
10953 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10955 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
10956 echo $ECHO_N "(cached) $ECHO_C" >&6
10958 case $SDL_CONFIG in
10960 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
10963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10964 for as_dir in $PATH
10967 test -z "$as_dir" && as_dir=.
10968 for ac_exec_ext in '' $ac_executable_extensions; do
10969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10970 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
10971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10978 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
10982 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
10983 if test -n "$SDL_CONFIG"; then
10984 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
10985 echo "${ECHO_T}$SDL_CONFIG" >&6; }
10987 { echo "$as_me:$LINENO: result: no" >&5
10988 echo "${ECHO_T}no" >&6; }
10992 min_sdl_version=1.2.10
10993 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
10994 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
10996 if test "$SDL_CONFIG" = "no" ; then
10999 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
11000 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
11002 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
11003 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
11004 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
11005 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
11006 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
11007 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
11008 if test "x$enable_sdltest" = "xyes" ; then
11009 ac_save_CFLAGS="$CFLAGS"
11010 ac_save_CXXFLAGS="$CXXFLAGS"
11011 ac_save_LIBS="$LIBS"
11012 CFLAGS="$CFLAGS $SDL_CFLAGS"
11013 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
11014 LIBS="$LIBS $SDL_LIBS"
11016 if test "$cross_compiling" = yes; then
11017 echo $ac_n "cross compiling; assumed OK... $ac_c"
11019 cat >conftest.$ac_ext <<_ACEOF
11022 cat confdefs.h >>conftest.$ac_ext
11023 cat >>conftest.$ac_ext <<_ACEOF
11024 /* end confdefs.h. */
11027 #include <stdlib.h>
11028 #include <string.h>
11032 my_strdup (char *str)
11038 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
11039 strcpy (new_str, str);
11047 int main (int argc, char *argv[])
11049 int major, minor, micro;
11052 /* This hangs on some systems (?)
11053 system ("touch conf.sdltest");
11055 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
11057 /* HP/UX 9 (%@#!) writes to sscanf strings */
11058 tmp_version = my_strdup("$min_sdl_version");
11059 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
11060 printf("%s, bad version string\n", "$min_sdl_version");
11064 if (($sdl_major_version > major) ||
11065 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
11066 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
11072 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
11073 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
11074 printf("*** best to upgrade to the required version.\n");
11075 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
11076 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
11077 printf("*** config.cache before re-running configure\n");
11084 rm -f conftest$ac_exeext
11085 if { (ac_try="$ac_link"
11086 case "(($ac_try" in
11087 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11088 *) ac_try_echo
=$ac_try;;
11090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11091 (eval "$ac_link") 2>&5
11093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11094 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11095 { (case "(($ac_try" in
11096 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11097 *) ac_try_echo=$ac_try;;
11099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11100 (eval "$ac_try") 2>&5
11102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11103 (exit $ac_status); }; }; then
11106 echo "$as_me: program exited with status $ac_status" >&5
11107 echo "$as_me: failed program was:" >&5
11108 sed 's/^/| /' conftest.$ac_ext >&5
11110 ( exit $ac_status )
11113 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11117 CFLAGS="$ac_save_CFLAGS"
11118 CXXFLAGS="$ac_save_CXXFLAGS"
11119 LIBS="$ac_save_LIBS"
11122 if test "x$no_sdl" = x ; then
11123 { echo "$as_me:$LINENO: result: yes" >&5
11124 echo "${ECHO_T}yes" >&6; }
11127 { echo "$as_me:$LINENO: result: no" >&5
11128 echo "${ECHO_T}no" >&6; }
11129 if test "$SDL_CONFIG" = "no" ; then
11130 echo "*** The sdl-config script installed by SDL could not be found"
11131 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
11132 echo "*** your path, or set the SDL_CONFIG environment variable to the"
11133 echo "*** full path to sdl-config."
11135 if test -f conf.sdltest ; then
11138 echo "*** Could not run SDL test program, checking why..."
11139 CFLAGS="$CFLAGS $SDL_CFLAGS"
11140 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
11141 LIBS="$LIBS $SDL_LIBS"
11142 cat >conftest.$ac_ext <<_ACEOF
11145 cat confdefs.h >>conftest.$ac_ext
11146 cat >>conftest.$ac_ext <<_ACEOF
11147 /* end confdefs.h. */
11152 int main(int argc, char *argv[])
11155 #define main K_and_R_C_main
11165 rm -f conftest.$ac_objext conftest$ac_exeext
11166 if { (ac_try="$ac_link"
11167 case "(($ac_try" in
11168 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11169 *) ac_try_echo
=$ac_try;;
11171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11172 (eval "$ac_link") 2>conftest.er1
11174 grep -v '^ *+' conftest.er1
>conftest.err
11176 cat conftest.err
>&5
11177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11178 (exit $ac_status); } && {
11179 test -z "$ac_c_werror_flag" ||
11180 test ! -s conftest.err
11181 } && test -s conftest
$ac_exeext &&
11182 $as_test_x conftest
$ac_exeext; then
11183 echo "*** The test program compiled, but did not run. This usually means"
11184 echo "*** that the run-time linker is not finding SDL or finding the wrong"
11185 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
11186 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
11187 echo "*** to the installed location Also, make sure you have run ldconfig if that"
11188 echo "*** is required on your system"
11190 echo "*** If you have an old version installed, it is best to remove it, although"
11191 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
11193 echo "$as_me: failed program was:" >&5
11194 sed 's/^/| /' conftest.
$ac_ext >&5
11196 echo "*** The test program failed to compile or link. See the file config.log for the"
11197 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
11198 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
11199 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
11202 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11203 conftest
$ac_exeext conftest.
$ac_ext
11204 CFLAGS
="$ac_save_CFLAGS"
11205 CXXFLAGS
="$ac_save_CXXFLAGS"
11206 LIBS
="$ac_save_LIBS"
11218 if test "x-$have_sdl" != "x-yes" ; then
11220 if test "x-$sdl_hidd" != "x-auto" ; then
11221 { { echo "$as_me:$LINENO: error: SDL libs/headers not found, cannot build SDL hidd as requested" >&5
11222 echo "$as_me: error: SDL libs/headers not found, cannot build SDL hidd as requested" >&2;}
11223 { (exit 1); exit 1; }; }
11227 sdl_hidd_target
=kernel-hidd-sdl
11228 aros_host_sdl_cflags
=SDL_CFLAGS
11229 aros_host_sdl_libs
=SDL_LIBS
11236 { echo "$as_me:$LINENO: checking if building of dbus.library is enabled" >&5
11237 echo $ECHO_N "checking if building of dbus.library is enabled... $ECHO_C" >&6; }
11238 # Check whether --enable-dbus was given.
11239 if test "${enable_dbus+set}" = set; then
11240 enableval
=$enable_dbus; dbus
="yes"
11245 if test "$dbus" = "yes" ; then
11247 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
11248 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
11249 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
11250 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
11254 { echo "$as_me:$LINENO: result: $dbus" >&5
11255 echo "${ECHO_T}$dbus" >&6; }
11344 # Native version related
11348 # Palm native version related
11351 # Unix/Hosted version related
11367 # Collect-aros stuff: "-ius" to ignore undefined symbols
11370 # C compiler related
11373 case "$aros_flavour" in
11374 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
11375 aros_flavour
="emulation" ;;
11376 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
11377 aros_flavour
="emulation" ;;
11378 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
11379 aros_flavour
="standalone";;
11380 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
11381 aros_flavour
="native" ;;
11382 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
11383 aros_flavour
="native" ;;
11384 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
11385 aros_flavour
="linklib" ;;
11386 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
11387 aros_flavour
="palmnative" ;;
11388 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
11389 aros_flavour
="mac68knative" ;;
11390 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
11391 aros_flavour
="ppcnative" ;;
11394 if test ! -d ${aros_inc_dir} ; then
11395 ${MKDIR} ${aros_inc_dir}
11397 if test ! -d ${aros_geninc_dir} ; then
11398 ${MKDIR} ${aros_geninc_dir}
11400 if test ! -d ${aros_hostcfg_dir} ; then
11401 ${MKDIR} ${aros_hostcfg_dir}
11403 if test ! -d ${aros_targetcfg_dir} ; then
11404 ${MKDIR} ${aros_targetcfg_dir}
11406 if test ! -d ${aros_tools_dir} ; then
11407 ${MKDIR} ${aros_tools_dir}
11409 if test ! -d ${aros_scripts_dir} ; then
11410 ${MKDIR} ${aros_scripts_dir}
11413 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
11416 ac_config_commands
="$ac_config_commands compiler_executable"
11418 ac_config_commands
="$ac_config_commands genshared_executable"
11420 ac_config_commands
="$ac_config_commands genmf_executable"
11422 ac_config_commands
="$ac_config_commands adflib_myaros.conf_executable"
11425 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"
11428 cat >confcache
<<\_ACEOF
11429 # This file is a shell script that caches the results of configure
11430 # tests run on this system so they can be shared between configure
11431 # scripts and configure runs, see configure's option --config-cache.
11432 # It is not useful on other systems. If it contains results you don't
11433 # want to keep, you may remove or edit it.
11435 # config.status only pays attention to the cache file if you give it
11436 # the --recheck option to rerun configure.
11438 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11439 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11440 # following values.
11444 # The following way of writing the cache mishandles newlines in values,
11445 # but we know of no workaround that is simple, portable, and efficient.
11446 # So, we kill variables containing newlines.
11447 # Ultrix sh set writes to stderr and can't be redirected directly,
11448 # and sets the high bit in the cache file unless we assign to the vars.
11450 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11451 eval ac_val
=\$
$ac_var
11455 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
11456 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
11459 _ | IFS | as_nl
) ;; #(
11460 *) $as_unset $ac_var ;;
11466 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11467 *${as_nl}ac_space
=\
*)
11468 # `set' does not quote correctly, so add quotes (double-quote
11469 # substitution turns \\\\ into \\, and sed turns \\ into \).
11472 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11475 # `set' quotes correctly as required by POSIX, so do not add quotes.
11476 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11485 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11487 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11489 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11490 if test -w "$cache_file"; then
11491 test "x$cache_file" != "x/dev/null" &&
11492 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
11493 echo "$as_me: updating cache $cache_file" >&6;}
11494 cat confcache
>$cache_file
11496 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
11497 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11502 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11503 # Let make expand exec_prefix.
11504 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11506 DEFS
=-DHAVE_CONFIG_H
11510 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11511 # 1. Remove the extension, and $U if already installed.
11512 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
11513 ac_i
=`echo "$ac_i" | sed "$ac_script"`
11514 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11515 # will be set to the directory where LIBOBJS objects are built.
11516 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11517 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
11519 LIBOBJS
=$ac_libobjs
11521 LTLIBOBJS
=$ac_ltlibobjs
11525 : ${CONFIG_STATUS=./config.status}
11526 ac_clean_files_save
=$ac_clean_files
11527 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11528 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11529 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11530 cat >$CONFIG_STATUS <<_ACEOF
11532 # Generated by $as_me.
11533 # Run this file to recreate the current configuration.
11534 # Compiler output produced by configure, useful for debugging
11535 # configure, is in config.log if it exists.
11538 ac_cs_recheck=false
11540 SHELL=\${CONFIG_SHELL-$SHELL}
11543 cat >>$CONFIG_STATUS <<\_ACEOF
11544 ## --------------------- ##
11545 ## M4sh Initialization. ##
11546 ## --------------------- ##
11548 # Be more Bourne compatible
11549 DUALCASE
=1; export DUALCASE
# for MKS sh
11550 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
11553 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11554 # is contrary to our usage. Disable this feature.
11555 alias -g '${1+"$@"}'='"$@"'
11556 setopt NO_GLOB_SUBST
11558 case `(set -o) 2>/dev/null` in
11559 *posix
*) set -o posix
;;
11568 # Avoid depending upon Character Ranges.
11569 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11570 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11571 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11572 as_cr_digits
='0123456789'
11573 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11575 # The user is always right.
11576 if test "${PATH_SEPARATOR+set}" != set; then
11577 echo "#! /bin/sh" >conf$$.sh
11578 echo "exit 0" >>conf$$.sh
11580 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11588 # Support unset when possible.
11589 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
11597 # We need space, tab and new line, in precisely that order. Quoting is
11598 # there to prevent editors from complaining about space-tab.
11599 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11600 # splitting by setting IFS to empty value.)
11605 # Find who we are. Look in the path if we contain no directory separator.
11607 *[\\/]* ) as_myself
=$0 ;;
11608 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11609 for as_dir
in $PATH
11612 test -z "$as_dir" && as_dir
=.
11613 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
11619 # We did not find ourselves, most probably we were run as `sh COMMAND'
11620 # in which case we are not to be found in the path.
11621 if test "x$as_myself" = x
; then
11624 if test ! -f "$as_myself"; then
11625 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11626 { (exit 1); exit 1; }
11629 # Work around bugs in pre-3.0 UWIN ksh.
11630 for as_var
in ENV MAIL MAILPATH
11631 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
11639 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11640 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11641 LC_TELEPHONE LC_TIME
11643 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11644 eval $as_var=C
; export $as_var
11646 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
11650 # Required to use basename.
11651 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
11652 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
11658 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11659 as_basename
=basename
11665 # Name of the executable.
11666 as_me
=`$as_basename -- "$0" ||
11667 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11668 X"$0" : 'X\(//\)$' \| \
11669 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11671 sed '/^.*\/\([^/][^/]*\)\/*$/{
11690 as_lineno_1
=$LINENO
11691 as_lineno_2
=$LINENO
11692 test "x$as_lineno_1" != "x$as_lineno_2" &&
11693 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
11695 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11696 # uniformly replaced by the line number. The first 'sed' inserts a
11697 # line-number line after each line using $LINENO; the second 'sed'
11698 # does the real work. The second script uses 'N' to pair each
11699 # line-number line with the line containing $LINENO, and appends
11700 # trailing '-' during substitution so that $LINENO is not a special
11701 # case at line end.
11702 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11703 # scripts with optimization help from Paolo Bonzini. Blame Lee
11704 # E. McMahon (1931-1989) for sed's syntax. :-)
11716 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
11719 ' >$as_me.lineno
&&
11720 chmod +x
"$as_me.lineno" ||
11721 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
11722 { (exit 1); exit 1; }; }
11724 # Don't try to exec as it changes $[0], causing all sort of problems
11725 # (the dirname of $[0] is not the place where we might find the
11726 # original and so on. Autoconf is especially sensitive to this).
11727 .
"./$as_me.lineno"
11728 # Exit status is that of the last command.
11733 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
11739 ECHO_C
= ECHO_N
= ECHO_T
=
11740 case `echo -n x` in
11742 case `echo 'x\c'` in
11743 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
11750 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
11751 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
11757 rm -f conf$$ conf$$.exe conf$$.
file
11758 if test -d conf$$.dir
; then
11759 rm -f conf$$.dir
/conf$$.
file
11765 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11767 # ... but there are two gotchas:
11768 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11769 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11770 # In both cases, we have to default to `cp -p'.
11771 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
11773 elif ln conf$$.
file conf$$
2>/dev
/null
; then
11778 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
11779 rmdir conf$$.dir
2>/dev
/null
11781 if mkdir
-p .
2>/dev
/null
; then
11784 test -d .
/-p && rmdir .
/-p
11788 if test -x / >/dev
/null
2>&1; then
11789 as_test_x
='test -x'
11791 if ls -dL / >/dev
/null
2>&1; then
11798 if test -d "$1"; then
11804 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
11805 ???[sx]*):;;*)false;;esac;fi
11809 as_executable_p
=$as_test_x
11811 # Sed expression to map a string onto a valid CPP name.
11812 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11814 # Sed expression to map a string onto a valid variable name.
11815 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11820 # Save the log message, to keep $[0] and so on meaningful, and to
11821 # report actual input values of CONFIG_FILES etc. instead of their
11822 # values after options handling.
11824 This file was extended by $as_me, which was
11825 generated by GNU Autoconf 2.61. Invocation command line was
11827 CONFIG_FILES = $CONFIG_FILES
11828 CONFIG_HEADERS = $CONFIG_HEADERS
11829 CONFIG_LINKS = $CONFIG_LINKS
11830 CONFIG_COMMANDS = $CONFIG_COMMANDS
11833 on `(hostname || uname -n) 2>/dev/null | sed 1q`
11838 cat >>$CONFIG_STATUS <<_ACEOF
11839 # Files that config.status was made for.
11840 config_files="$ac_config_files"
11841 config_headers="$ac_config_headers"
11842 config_commands="$ac_config_commands"
11846 cat >>$CONFIG_STATUS <<\_ACEOF
11848 \`$as_me' instantiates files from templates according to the
11849 current configuration.
11851 Usage: $0 [OPTIONS] [FILE]...
11853 -h, --help print this help, then exit
11854 -V, --version print version number and configuration settings, then exit
11855 -q, --quiet do not print progress messages
11856 -d, --debug don't remove temporary files
11857 --recheck update $as_me by reconfiguring in the same conditions
11858 --file=FILE[:TEMPLATE]
11859 instantiate the configuration file FILE
11860 --header=FILE[:TEMPLATE]
11861 instantiate the configuration header FILE
11863 Configuration files:
11866 Configuration headers:
11869 Configuration commands:
11872 Report bugs to <bug-autoconf@gnu.org>."
11875 cat >>$CONFIG_STATUS <<_ACEOF
11878 configured by $0, generated by GNU Autoconf 2.61,
11879 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
11881 Copyright (C) 2006 Free Software Foundation, Inc.
11882 This config.status script is free software; the Free Software Foundation
11883 gives unlimited permission to copy, distribute and modify it."
11889 cat >>$CONFIG_STATUS <<\_ACEOF
11890 # If no file are specified by the user, then we need to provide default
11891 # value. By we need to know if files were specified by the user.
11897 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
11898 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
11909 # Handling of the options.
11910 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
11912 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
11913 echo "$ac_cs_version"; exit ;;
11914 --debug |
--debu |
--deb |
--de |
--d |
-d )
11916 --file |
--fil |
--fi |
--f )
11918 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
11919 ac_need_defaults
=false
;;
11920 --header |
--heade |
--head |
--hea )
11922 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
11923 ac_need_defaults
=false
;;
11925 # Conflict between --help and --header
11926 { echo "$as_me: error: ambiguous option: $1
11927 Try \`$0 --help' for more information." >&2
11928 { (exit 1); exit 1; }; };;
11929 --help |
--hel |
-h )
11930 echo "$ac_cs_usage"; exit ;;
11931 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
11932 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
11935 # This is an error.
11936 -*) { echo "$as_me: error: unrecognized option: $1
11937 Try \`$0 --help' for more information." >&2
11938 { (exit 1); exit 1; }; } ;;
11940 *) ac_config_targets
="$ac_config_targets $1"
11941 ac_need_defaults
=false
;;
11947 ac_configure_extra_args
=
11949 if $ac_cs_silent; then
11951 ac_configure_extra_args
="$ac_configure_extra_args --silent"
11955 cat >>$CONFIG_STATUS <<_ACEOF
11956 if \$ac_cs_recheck; then
11957 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
11958 CONFIG_SHELL=$SHELL
11959 export CONFIG_SHELL
11960 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11964 cat >>$CONFIG_STATUS <<\_ACEOF
11968 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11969 ## Running $as_me. ##
11975 cat >>$CONFIG_STATUS <<_ACEOF
11980 aros_tools_dir=${aros_tools_dir}
11981 aros_target_cpu=${aros_target_cpu}
11982 aros_target_arch=${aros_target_arch}
11983 aros_target_suffix=${aros_target_suffix}
11984 aros_target_nm_ln=${aros_target_nm_ln}
11985 aros_target_as_ln=${aros_target_as_ln}
11986 aros_target_ar_ln=${aros_target_ar_ln}
11987 aros_target_ranlib_ln=${aros_target_ranlib_ln}
11988 aros_target_objdump_ln=${aros_target_objdump_ln}
11989 aros_target_objcopy_ln=${aros_target_objcopy_ln}
11990 aros_target_strip_ln=${aros_target_strip_ln}
11993 aros_scripts_dir=${aros_scripts_dir}
11995 aros_tools_dir=${aros_tools_dir}
12000 cat >>$CONFIG_STATUS <<\_ACEOF
12002 # Handling of arguments.
12003 for ac_config_target
in $ac_config_targets
12005 case $ac_config_target in
12006 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
12007 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
12008 "genshared_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genshared_executable" ;;
12009 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
12010 "adflib_myaros.conf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS adflib_myaros.conf_executable" ;;
12011 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12012 "rom/mmakefile") CONFIG_FILES
="$CONFIG_FILES rom/mmakefile" ;;
12013 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
12014 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
12015 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
12016 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
12017 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
12018 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
12019 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
12020 "${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" ;;
12021 "${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" ;;
12022 "${aros_scripts_dir}/genshared") CONFIG_FILES
="$CONFIG_FILES ${aros_scripts_dir}/genshared:compiler/c_lib/source/lib_source/genshared.in" ;;
12023 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
12024 "tools/adflib/myconf.aros") CONFIG_FILES
="$CONFIG_FILES tools/adflib/myconf.aros" ;;
12025 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
12027 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12028 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12029 { (exit 1); exit 1; }; };;
12034 # If the user did not use the arguments to specify the items to instantiate,
12035 # then the envvar interface is used. Set only those that are not.
12036 # We use the long form for the default assignment because of an extremely
12037 # bizarre bug on SunOS 4.1.3.
12038 if $ac_need_defaults; then
12039 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12040 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12041 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12044 # Have a temporary directory for convenience. Make it in the build tree
12045 # simply because there is no reason against having it here, and in addition,
12046 # creating and moving files from /tmp can sometimes cause problems.
12047 # Hook for its removal unless debugging.
12048 # Note that there is a small window in which the directory will not be cleaned:
12049 # after its creation but before its name has been assigned to `$tmp'.
12053 trap 'exit_status=$?
12054 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
12056 trap '{ (exit 1); exit 1; }' 1 2 13 15
12058 # Create a (secure) tmp directory for tmp files.
12061 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12062 test -n "$tmp" && test -d "$tmp"
12065 tmp
=.
/conf$$
-$RANDOM
12066 (umask 077 && mkdir
"$tmp")
12069 echo "$me: cannot create a temporary directory in ." >&2
12070 { (exit 1); exit 1; }
12074 # Set up the sed scripts for CONFIG_FILES section.
12077 # No need to generate the scripts if there are no CONFIG_FILES.
12078 # This happens for instance when ./config.status config.h
12079 if test -n "$CONFIG_FILES"; then
12086 for ac_last_try
in false false false false false
:; do
12087 cat >conf$
$subs.
sed <<_ACEOF
12088 SHELL!$SHELL$ac_delim
12089 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
12090 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
12091 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
12092 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
12093 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
12094 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
12095 exec_prefix!$exec_prefix$ac_delim
12096 prefix!$prefix$ac_delim
12097 program_transform_name!$program_transform_name$ac_delim
12098 bindir!$bindir$ac_delim
12099 sbindir!$sbindir$ac_delim
12100 libexecdir!$libexecdir$ac_delim
12101 datarootdir!$datarootdir$ac_delim
12102 datadir!$datadir$ac_delim
12103 sysconfdir!$sysconfdir$ac_delim
12104 sharedstatedir!$sharedstatedir$ac_delim
12105 localstatedir!$localstatedir$ac_delim
12106 includedir!$includedir$ac_delim
12107 oldincludedir!$oldincludedir$ac_delim
12108 docdir!$docdir$ac_delim
12109 infodir!$infodir$ac_delim
12110 htmldir!$htmldir$ac_delim
12111 dvidir!$dvidir$ac_delim
12112 pdfdir!$pdfdir$ac_delim
12113 psdir!$psdir$ac_delim
12114 libdir!$libdir$ac_delim
12115 localedir!$localedir$ac_delim
12116 mandir!$mandir$ac_delim
12117 DEFS!$DEFS$ac_delim
12118 ECHO_C!$ECHO_C$ac_delim
12119 ECHO_N!$ECHO_N$ac_delim
12120 ECHO_T!$ECHO_T$ac_delim
12121 LIBS!$LIBS$ac_delim
12122 build_alias!$build_alias$ac_delim
12123 host_alias!$host_alias$ac_delim
12124 target_alias!$target_alias$ac_delim
12125 build!$build$ac_delim
12126 build_cpu!$build_cpu$ac_delim
12127 build_vendor!$build_vendor$ac_delim
12128 build_os!$build_os$ac_delim
12129 host!$host$ac_delim
12130 host_cpu!$host_cpu$ac_delim
12131 host_vendor!$host_vendor$ac_delim
12132 host_os!$host_os$ac_delim
12134 CFLAGS!$CFLAGS$ac_delim
12135 LDFLAGS!$LDFLAGS$ac_delim
12136 CPPFLAGS!$CPPFLAGS$ac_delim
12137 ac_ct_CC!$ac_ct_CC$ac_delim
12138 EXEEXT!$EXEEXT$ac_delim
12139 OBJEXT!$OBJEXT$ac_delim
12142 MMAKE!$MMAKE$ac_delim
12143 aros_host_ld!$aros_host_ld$ac_delim
12144 aros_host_aclocal!$aros_host_aclocal$ac_delim
12145 aros_host_autoconf!$aros_host_autoconf$ac_delim
12146 aros_host_autoheader!$aros_host_autoheader$ac_delim
12147 aros_host_automake!$aros_host_automake$ac_delim
12148 aros_host_ar!$aros_host_ar$ac_delim
12149 aros_host_ranlib!$aros_host_ranlib$ac_delim
12150 aros_host_strip!$aros_host_strip$ac_delim
12154 ECHO!$ECHO$ac_delim
12155 MKDIR!$MKDIR$ac_delim
12156 TOUCH!$TOUCH$ac_delim
12157 SORT!$SORT$ac_delim
12158 UNIQ!$UNIQ$ac_delim
12161 BISON!$BISON$ac_delim
12162 FLEX!$FLEX$ac_delim
12163 PNGTOPNM!$PNGTOPNM$ac_delim
12164 PPMTOILBM!$PPMTOILBM$ac_delim
12166 CHMOD!$CHMOD$ac_delim
12167 PYTHON!$PYTHON$ac_delim
12168 PYTHON_VERSION!$PYTHON_VERSION$ac_delim
12169 PYTHON_PREFIX!$PYTHON_PREFIX$ac_delim
12170 PYTHON_EXEC_PREFIX!$PYTHON_EXEC_PREFIX$ac_delim
12171 PYTHON_PLATFORM!$PYTHON_PLATFORM$ac_delim
12172 pythondir!$pythondir$ac_delim
12173 pkgpythondir!$pkgpythondir$ac_delim
12174 pyexecdir!$pyexecdir$ac_delim
12175 pkgpyexecdir!$pkgpyexecdir$ac_delim
12178 TEST!$TEST$ac_delim
12180 GREP!$GREP$ac_delim
12181 EGREP!$EGREP$ac_delim
12182 LIBOBJS!$LIBOBJS$ac_delim
12183 DISTCC!$DISTCC$ac_delim
12184 CCACHE!$CCACHE$ac_delim
12187 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
12189 elif $ac_last_try; then
12190 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12191 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12192 { (exit 1); exit 1; }; }
12194 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
12198 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
12199 if test -n "$ac_eof"; then
12200 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
12201 ac_eof
=`expr $ac_eof + 1`
12204 cat >>$CONFIG_STATUS <<_ACEOF
12205 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
12206 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12209 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
12210 s/^/s,@/; s/!/@,|#_!!_#|/
12213 s/'"$ac_delim"'$/,g/; t
12215 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
12216 ' >>$CONFIG_STATUS <conf$
$subs.
sed
12217 rm -f conf$
$subs.
sed
12218 cat >>$CONFIG_STATUS <<_ACEOF
12224 for ac_last_try
in false false false false false
:; do
12225 cat >conf$
$subs.
sed <<_ACEOF
12226 aros_kernel_cc!$aros_kernel_cc$ac_delim
12227 aros_target_as_ln!$aros_target_as_ln$ac_delim
12228 aros_kernel_ld!$aros_kernel_ld$ac_delim
12229 aros_target_ar_ln!$aros_target_ar_ln$ac_delim
12230 aros_target_nm_ln!$aros_target_nm_ln$ac_delim
12231 aros_target_objcopy_ln!$aros_target_objcopy_ln$ac_delim
12232 aros_target_objdump_ln!$aros_target_objdump_ln$ac_delim
12233 aros_target_ranlib_ln!$aros_target_ranlib_ln$ac_delim
12234 aros_target_strip_ln!$aros_target_strip_ln$ac_delim
12235 aros_target_nostdinc_cflags!$aros_target_nostdinc_cflags$ac_delim
12236 aros_target_nostartup_ldflags!$aros_target_nostartup_ldflags$ac_delim
12237 aros_target_nix_ldflags!$aros_target_nix_ldflags$ac_delim
12238 aros_target_detach_ldflags!$aros_target_detach_ldflags$ac_delim
12239 aros_target_nostdlib_ldflags!$aros_target_nostdlib_ldflags$ac_delim
12240 XMKMF!$XMKMF$ac_delim
12241 SDL_CONFIG!$SDL_CONFIG$ac_delim
12242 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
12243 SDL_LIBS!$SDL_LIBS$ac_delim
12244 aros_arch!$aros_arch$ac_delim
12245 aros_cpu!$aros_cpu$ac_delim
12246 aros_flavour!$aros_flavour$ac_delim
12247 aros_flavour_uc!$aros_flavour_uc$ac_delim
12248 TOPDIR!$TOPDIR$ac_delim
12249 aros_cc_pre!$aros_cc_pre$ac_delim
12250 aros_host_arch!$aros_host_arch$ac_delim
12251 aros_host_cpu!$aros_host_cpu$ac_delim
12252 aros_host_cc!$aros_host_cc$ac_delim
12253 aros_host_make!$aros_host_make$ac_delim
12254 aros_host_cflags!$aros_host_cflags$ac_delim
12255 aros_host_ldflags!$aros_host_ldflags$ac_delim
12256 aros_host_debug!$aros_host_debug$ac_delim
12257 aros_host_mkdep!$aros_host_mkdep$ac_delim
12258 aros_host_mkargs!$aros_host_mkargs$ac_delim
12259 aros_host_exe_suffix!$aros_host_exe_suffix$ac_delim
12260 aros_host_lib_suffix!$aros_host_lib_suffix$ac_delim
12261 aros_tools_dir!$aros_tools_dir$ac_delim
12262 aros_target_bootloader!$aros_target_bootloader$ac_delim
12263 aros_target_arch!$aros_target_arch$ac_delim
12264 aros_target_cpu!$aros_target_cpu$ac_delim
12265 aros_target_variant!$aros_target_variant$ac_delim
12266 aros_target_suffix!$aros_target_suffix$ac_delim
12267 aros_target_incl!$aros_target_incl$ac_delim
12268 aros_target_ar!$aros_target_ar$ac_delim
12269 aros_target_ranlib!$aros_target_ranlib$ac_delim
12270 aros_kernel_nm!$aros_kernel_nm$ac_delim
12271 aros_target_cc!$aros_target_cc$ac_delim
12272 aros_target_as!$aros_target_as$ac_delim
12273 aros_target_ld!$aros_target_ld$ac_delim
12274 aros_target_cc_includes!$aros_target_cc_includes$ac_delim
12275 aros_target_cc_path!$aros_target_cc_path$ac_delim
12276 aros_target_objdump!$aros_target_objdump$ac_delim
12277 aros_target_objcopy!$aros_target_objcopy$ac_delim
12278 aros_target_strip!$aros_target_strip$ac_delim
12279 aros_target_nm!$aros_target_nm$ac_delim
12280 aros_shared_default!$aros_shared_default$ac_delim
12281 aros_shared_ld!$aros_shared_ld$ac_delim
12282 aros_object_format!$aros_object_format$ac_delim
12283 aros_compiler_libs!$aros_compiler_libs$ac_delim
12284 aros_config_cflags!$aros_config_cflags$ac_delim
12285 aros_config_aflags!$aros_config_aflags$ac_delim
12286 aros_config_ldflags!$aros_config_ldflags$ac_delim
12287 aros_shared_cflags!$aros_shared_cflags$ac_delim
12288 aros_shared_aflags!$aros_shared_aflags$ac_delim
12289 aros_shared_ldflags!$aros_shared_ldflags$ac_delim
12290 aros_kernel_ldflags!$aros_kernel_ldflags$ac_delim
12291 aros_debug_cflags!$aros_debug_cflags$ac_delim
12292 aros_debug_aflags!$aros_debug_aflags$ac_delim
12293 aros_debug_ldflags!$aros_debug_ldflags$ac_delim
12294 aros_target_genmap!$aros_target_genmap$ac_delim
12295 aros_target_strip_flags!$aros_target_strip_flags$ac_delim
12296 x11_hidd_target!$x11_hidd_target$ac_delim
12297 sdl_hidd_target!$sdl_hidd_target$ac_delim
12298 aros_default_wbwidth!$aros_default_wbwidth$ac_delim
12299 aros_default_wbheight!$aros_default_wbheight$ac_delim
12300 aros_default_wbdepth!$aros_default_wbdepth$ac_delim
12301 DO_XSHM_SUPPORT!$DO_XSHM_SUPPORT$ac_delim
12302 DO_VIDMODE_SUPPORT!$DO_VIDMODE_SUPPORT$ac_delim
12303 aros_host_x11_includes!$aros_host_x11_includes$ac_delim
12304 aros_host_x11_libdirs!$aros_host_x11_libdirs$ac_delim
12305 aros_host_sdl_cflags!$aros_host_sdl_cflags$ac_delim
12306 aros_host_sdl_libs!$aros_host_sdl_libs$ac_delim
12307 aros_bochs_hack!$aros_bochs_hack$ac_delim
12308 aros_serial_debug!$aros_serial_debug$ac_delim
12309 aros_palm_debug_hack!$aros_palm_debug_hack$ac_delim
12310 aros_nesting_supervisor!$aros_nesting_supervisor$ac_delim
12311 ENABLE_DBUS!$ENABLE_DBUS$ac_delim
12312 DBUS_CFLAGS!$DBUS_CFLAGS$ac_delim
12313 DBUS_LIBFLAGS!$DBUS_LIBFLAGS$ac_delim
12314 KERNEL_DBUS_KOBJ!$KERNEL_DBUS_KOBJ$ac_delim
12315 KERNEL_DBUS_INCLUDES!$KERNEL_DBUS_INCLUDES$ac_delim
12316 aros_debug!$aros_debug$ac_delim
12317 aros_mungwall_debug!$aros_mungwall_debug$ac_delim
12318 aros_stack_debug!$aros_stack_debug$ac_delim
12319 aros_modules_debug!$aros_modules_debug$ac_delim
12320 ignore_undefined_symbols!$ignore_undefined_symbols$ac_delim
12321 gcc_target_cpu!$gcc_target_cpu$ac_delim
12322 LTLIBOBJS!$LTLIBOBJS$ac_delim
12325 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
12327 elif $ac_last_try; then
12328 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12329 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12330 { (exit 1); exit 1; }; }
12332 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
12336 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
12337 if test -n "$ac_eof"; then
12338 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
12339 ac_eof
=`expr $ac_eof + 1`
12342 cat >>$CONFIG_STATUS <<_ACEOF
12343 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
12344 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12347 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
12348 s/^/s,@/; s/!/@,|#_!!_#|/
12351 s/'"$ac_delim"'$/,g/; t
12353 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
12354 ' >>$CONFIG_STATUS <conf$
$subs.
sed
12355 rm -f conf$
$subs.
sed
12356 cat >>$CONFIG_STATUS <<_ACEOF
12361 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12362 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12363 # trailing colons and then remove the whole line if VPATH becomes empty
12364 # (actually we leave an empty line to preserve line numbers).
12365 if test "x$srcdir" = x.
; then
12366 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
12367 s/:*\$(srcdir):*/:/
12368 s/:*\${srcdir}:*/:/
12370 s/^\([^=]*=[ ]*\):*/\1/
12376 cat >>$CONFIG_STATUS <<\_ACEOF
12377 fi # test -n "$CONFIG_FILES"
12380 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
12383 :[FHLC
]) ac_mode
=$ac_tag; continue;;
12385 case $ac_mode$ac_tag in
12387 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
12388 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
12389 { (exit 1); exit 1; }; };;
12390 :[FH
]-) ac_tag
=-:-;;
12391 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
12408 -) ac_f
="$tmp/stdin";;
12409 *) # Look for the file first in the build tree, then in the source tree
12410 # (if the path is not absolute). The absolute path cannot be DOS-style,
12411 # because $ac_f cannot contain `:'.
12415 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
12417 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
12418 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
12419 { (exit 1); exit 1; }; };;
12421 ac_file_inputs
="$ac_file_inputs $ac_f"
12424 # Let's still pretend it is `configure' which instantiates (i.e., don't
12425 # use $as_me), people would be surprised to read:
12426 # /* config.h. Generated by config.status. */
12427 configure_input
="Generated from "`IFS=:
12428 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
12429 if test x
"$ac_file" != x-
; then
12430 configure_input
="$ac_file. $configure_input"
12431 { echo "$as_me:$LINENO: creating $ac_file" >&5
12432 echo "$as_me: creating $ac_file" >&6;}
12436 *:-:* |
*:-) cat >"$tmp/stdin";;
12441 ac_dir
=`$as_dirname -- "$ac_file" ||
12442 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12443 X"$ac_file" : 'X\(//\)[^/]' \| \
12444 X"$ac_file" : 'X\(//\)$' \| \
12445 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12447 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12451 /^X\(\/\/\)[^/].*/{
12466 -*) as_dir
=.
/$as_dir;;
12468 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
12472 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12473 *) as_qdir
=$as_dir;;
12475 as_dirs
="'$as_qdir' $as_dirs"
12476 as_dir
=`$as_dirname -- "$as_dir" ||
12477 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12478 X"$as_dir" : 'X\(//\)[^/]' \| \
12479 X"$as_dir" : 'X\(//\)$' \| \
12480 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12482 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12486 /^X\(\/\/\)[^/].*/{
12499 test -d "$as_dir" && break
12501 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12502 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12503 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12504 { (exit 1); exit 1; }; }; }
12508 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12510 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12511 # A ".." for each directory in $ac_dir_suffix.
12512 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
12513 case $ac_top_builddir_sub in
12514 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12515 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
12518 ac_abs_top_builddir
=$ac_pwd
12519 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
12520 # for backward compatibility:
12521 ac_top_builddir
=$ac_top_build_prefix
12524 .
) # We are building in place.
12526 ac_top_srcdir
=$ac_top_builddir_sub
12527 ac_abs_top_srcdir
=$ac_pwd ;;
12528 [\\/]* | ?
:[\\/]* ) # Absolute name.
12529 ac_srcdir
=$srcdir$ac_dir_suffix;
12530 ac_top_srcdir
=$srcdir
12531 ac_abs_top_srcdir
=$srcdir ;;
12532 *) # Relative name.
12533 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
12534 ac_top_srcdir
=$ac_top_build_prefix$srcdir
12535 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
12537 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
12548 cat >>$CONFIG_STATUS <<\_ACEOF
12549 # If the template does not know about datarootdir, expand it.
12550 # FIXME: This hack should be removed a few years after 2.60.
12551 ac_datarootdir_hack
=; ac_datarootdir_seen
=
12553 case `sed -n '/datarootdir/ {
12562 ' $ac_file_inputs` in
12563 *datarootdir
*) ac_datarootdir_seen
=yes;;
12564 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
12565 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12566 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12568 cat >>$CONFIG_STATUS <<_ACEOF
12569 ac_datarootdir_hack='
12570 s&@datadir@&$datadir&g
12571 s&@docdir@&$docdir&g
12572 s&@infodir@&$infodir&g
12573 s&@localedir@&$localedir&g
12574 s&@mandir@&$mandir&g
12575 s&\\\${datarootdir}&$datarootdir&g' ;;
12579 # Neutralize VPATH when `$srcdir' = `.'.
12580 # Shell code in configure.ac might set extrasub.
12581 # FIXME: do we really want to maintain this feature?
12582 cat >>$CONFIG_STATUS <<_ACEOF
12586 cat >>$CONFIG_STATUS <<\_ACEOF
12588 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12589 s
&@configure_input@
&$configure_input&;t t
12590 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
12591 s
&@srcdir@
&$ac_srcdir&;t t
12592 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
12593 s
&@top_srcdir@
&$ac_top_srcdir&;t t
12594 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
12595 s
&@builddir@
&$ac_builddir&;t t
12596 s
&@abs_builddir@
&$ac_abs_builddir&;t t
12597 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
12598 $ac_datarootdir_hack
12599 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" | sed 's/|#_!!_#|//g' >$tmp/out
12601 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12602 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
12603 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
12604 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
12605 which seems to be undefined. Please make sure it is defined." >&5
12606 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
12607 which seems to be undefined. Please make sure it is defined." >&2;}
12611 -) cat "$tmp/out"; rm -f "$tmp/out";;
12612 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
12621 # Transform confdefs.h into a sed script `conftest.defines', that
12622 # substitutes the proper values into config.h.in to produce config.h.
12623 rm -f conftest.defines conftest.
tail
12624 # First, append a space to every undef/define line, to ease matching.
12625 echo 's/$/ /' >conftest.defines
12626 # Then, protect against being on the right side of a sed subst, or in
12627 # an unquoted here document, in config.status. If some macros were
12628 # called several times there might be several #defines for the same
12629 # symbol, which is useless. But do not sort them, since the last
12630 # AC_DEFINE must be honored.
12631 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
12632 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
12633 # NAME is the cpp macro being defined, VALUE is the value it is being given.
12634 # PARAMS is the parameter list in the macro definition--in most cases, it's
12635 # just an empty string.
12636 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
12637 ac_dB
='\\)[ (].*,\\1define\\2'
12645 s/^[ ]*#[ ]*define[ ][ ]*//
12650 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
12651 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
12652 ' >>conftest.defines
12654 # Remove the space that was appended to ease matching.
12655 # Then replace #undef with comments. This is necessary, for
12656 # example, in the case of _POSIX_SOURCE, which is predefined and required
12657 # on some systems where configure will not decide to define it.
12658 # (The regexp can be short, since the line contains either #define or #undef.)
12660 s,^[ #]*u.*,/* & */,' >>conftest.defines
12662 # Break up conftest.defines:
12663 ac_max_sed_lines
=50
12665 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
12666 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
12667 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
12669 ac_in
='$ac_file_inputs'
12670 ac_out
='"$tmp/out1"'
12671 ac_nxt
='"$tmp/out2"'
12675 # Write a here document:
12676 cat >>$CONFIG_STATUS <<_ACEOF
12677 # First, check the format of the line:
12678 cat >"\$tmp/defines.sed" <<\\CEOF
12679 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
12680 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
12684 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
12686 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
12687 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
12688 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
12689 grep . conftest.
tail >/dev
/null ||
break
12690 rm -f conftest.defines
12691 mv conftest.
tail conftest.defines
12693 rm -f conftest.defines conftest.
tail
12695 echo "ac_result=$ac_in" >>$CONFIG_STATUS
12696 cat >>$CONFIG_STATUS <<\_ACEOF
12697 if test x
"$ac_file" != x-
; then
12698 echo "/* $configure_input */" >"$tmp/config.h"
12699 cat "$ac_result" >>"$tmp/config.h"
12700 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
12701 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12702 echo "$as_me: $ac_file is unchanged" >&6;}
12705 mv "$tmp/config.h" $ac_file
12708 echo "/* $configure_input */"
12714 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
12715 echo "$as_me: executing $ac_file commands" >&6;}
12720 case $ac_file$ac_mode in
12721 "compiler_executable":C
)
12722 prefix
=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
12724 prefix
="${prefix}/${aros_target_cpu}-aros"
12725 prefix2
=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
12729 chmod a
+x
${prefix2}-gcc ${prefix2}-ld
12731 ln -sf ${prefix2}-gcc ${prefix}-gcc
12732 ln -sf ${prefix2}-ld ${prefix}-ld
12734 ln -sf $aros_target_as_ln ${prefix}-as
12735 ln -sf $aros_target_nm_ln ${prefix}-nm
12736 ln -sf $aros_target_ar_ln ${prefix}-ar
12737 ln -sf $aros_target_ranlib_ln ${prefix}-ranlib
12738 ln -sf $aros_target_objcopy_ln ${prefix}-objcopy
12739 ln -sf $aros_target_objdump_ln ${prefix}-objdump
12740 ln -sf $aros_target_strip_ln ${prefix}-strip
12742 ln -sf $aros_target_as_ln ${prefix2}-as
12743 ln -sf $aros_target_nm_ln ${prefix2}-nm
12744 ln -sf $aros_target_ar_ln ${prefix2}-ar
12745 ln -sf $aros_target_ranlib_ln ${prefix2}-ranlib
12746 ln -sf $aros_target_objcopy_ln ${prefix2}-objcopy
12747 ln -sf $aros_target_objdump_ln ${prefix2}-objdump
12748 ln -sf $aros_target_strip_ln ${prefix2}-strip
12750 "genshared_executable":C
) chmod a
+x
${aros_scripts_dir}/genshared
;;
12751 "genmf_executable":C
) chmod a
+x
${aros_tools_dir}/genmf.py
;;
12752 "adflib_myaros.conf_executable":C
) chmod a
+x tools
/adflib
/myconf.aros
12759 { (exit 0); exit 0; }
12761 chmod +x
$CONFIG_STATUS
12762 ac_clean_files
=$ac_clean_files_save
12765 # configure is writing to config.log, and then calls config.status.
12766 # config.status does its own redirection, appending to config.log.
12767 # Unfortunately, on DOS this fails, as config.log is still kept open
12768 # by configure, so config.status won't be able to write to it; its
12769 # output is simply discarded. So we exec the FD to /dev/null,
12770 # effectively closing config.log, so it can be properly (re)opened and
12771 # appended to by config.status. When coming back to configure, we
12772 # need to make the FD available again.
12773 if test "$no_create" != yes; then
12775 ac_config_status_args
=
12776 test "$silent" = yes &&
12777 ac_config_status_args
="$ac_config_status_args --quiet"
12779 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
12781 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12782 # would make configure fail if this is the last instruction.
12783 $ac_cs_success ||
{ (exit 1); exit 1; }
12788 #XXX compatability...
12789 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
12791 if test -n "$aros_shared_cflags" ; then
12792 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
12793 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg