2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE
=1; export DUALCASE
# for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix
*) set -o posix
;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits
='0123456789'
38 as_cr_alnum
=$as_cr_Letters$as_cr_digits
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53 # Support unset when possible.
54 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself
=$0 ;;
73 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir
=.
78 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x
; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var
in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C
; export $as_var
111 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
123 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me
=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x
; then
155 if (eval ":") 2>/dev
/null
; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev
/null
; then
221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
222 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir
=.
228 for as_base
in sh bash ksh sh5
; do
229 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
236 for as_shell
in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix
*) set -o posix
;;
258 CONFIG_SHELL
=$as_shell
260 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
286 as_func_ret_success
() {
289 as_func_ret_failure
() {
294 if as_func_success
; then
298 echo as_func_success failed.
301 if as_func_failure
; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success
; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure
; then
315 echo as_func_ret_failure succeeded.
318 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) ||
{ (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x
; then
343 for as_var
in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no
; then
352 echo This
script requires a shell
more modern than all the
353 echo shells that I found on your system. Please
install a
354 echo modern shell
, or manually run the
script under such a
355 echo shell
if you
do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") ||
{
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system
,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x
"$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
472 ECHO_C
= ECHO_N
= ECHO_T
=
476 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
483 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
490 rm -f conf$$ conf$$.exe conf$$.
file
491 if test -d conf$$.dir
; then
492 rm -f conf$$.dir
/conf$$.
file
498 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
506 elif ln conf$$.
file conf$$
2>/dev
/null
; then
511 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
512 rmdir conf$$.dir
2>/dev
/null
514 if mkdir
-p .
2>/dev
/null
; then
517 test -d .
/-p && rmdir .
/-p
521 if test -x / >/dev
/null
2>&1; then
524 if ls -dL / >/dev
/null
2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p
=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev
/null
6>&1
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix
=/usr
/local
564 ac_config_libobj_dir
=.
570 SHELL
=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
579 ac_unique_file
="mmakefile"
580 # Factoring default headers for most tests.
581 ac_includes_default
="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
625 program_transform_name
718 aros_target_objcopy_ln
719 aros_target_objdump_ln
720 aros_target_ranlib_ln
722 aros_target_nostdinc_cflags
723 aros_target_nostartup_ldflags
724 aros_target_nix_ldflags
725 aros_target_detach_ldflags
726 aros_target_nostdlib_ldflags
760 aros_target_cc_includes
781 aros_target_strip_flags
790 aros_default_wbheight
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-includes=dir Alternative system include directory
1415 --enable-bochs-hack Enable hacks to
make BOCHS
(partly
) work
1417 --enable-palm-debug-hack
1418 Enable palm debug output hack
in palm native
1420 --enable-nesting-supervisor
1421 Enable nesting supervisor support
in unix
1423 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1424 --enable-x11-shm use X11 shared memory
(default
=auto
)
1425 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1426 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1427 --disable-sdltest Do not try to compile and run a
test SDL program
1428 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1431 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1432 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1433 --with-optimization=FLAGS
1434 Use optimization flags FLAGS
(default
=-O2).
1435 --with-resolution=XRESxYRESxDEPTH
1436 Default resolution of the initial WorkbenchScreen
1437 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1438 --with-x use the X Window System
1439 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1440 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1442 Some influential environment variables
:
1443 CC C compiler
command
1444 CFLAGS C compiler flags
1445 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1446 nonstandard directory
<lib dir
>
1447 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1448 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1449 you have headers
in a nonstandard directory
<include dir
>
1451 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1453 Use these variables to override the choices made by
`configure' or to help
1454 it to find libraries and programs with nonstandard names/locations.
1460 if test "$ac_init_help" = "recursive"; then
1461 # If there are subdirs, report their specific --help.
1462 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1463 test -d "$ac_dir" || continue
1467 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1469 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1470 # A ".." for each directory in $ac_dir_suffix.
1471 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1472 case $ac_top_builddir_sub in
1473 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1474 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1477 ac_abs_top_builddir=$ac_pwd
1478 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1479 # for backward compatibility:
1480 ac_top_builddir=$ac_top_build_prefix
1483 .) # We are building in place.
1485 ac_top_srcdir=$ac_top_builddir_sub
1486 ac_abs_top_srcdir=$ac_pwd ;;
1487 [\\/]* | ?:[\\/]* ) # Absolute name.
1488 ac_srcdir=$srcdir$ac_dir_suffix;
1489 ac_top_srcdir=$srcdir
1490 ac_abs_top_srcdir=$srcdir ;;
1492 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1493 ac_top_srcdir=$ac_top_build_prefix$srcdir
1494 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1496 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1498 cd "$ac_dir" || { ac_status=$?; continue; }
1499 # Check for guested configure.
1500 if test -f "$ac_srcdir/configure.gnu"; then
1502 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1503 elif test -f "$ac_srcdir/configure"; then
1505 $SHELL "$ac_srcdir/configure" --help=recursive
1507 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1509 cd "$ac_pwd" || { ac_status=$?; break; }
1513 test -n "$ac_init_help" && exit $ac_status
1514 if $ac_init_version; then
1517 generated by GNU Autoconf 2.61
1519 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1520 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1521 This configure script is free software; the Free Software Foundation
1522 gives unlimited permission to copy, distribute and modify it.
1526 cat >config.log <<_ACEOF
1527 This file contains any messages produced by compilers while
1528 running configure, to aid debugging if configure makes a mistake.
1530 It was created by $as_me, which was
1531 generated by GNU Autoconf 2.61. Invocation command line was
1543 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1544 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1545 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1546 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1547 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1549 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1550 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1552 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1553 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1554 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1555 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1556 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1557 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1558 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1566 test -z "$as_dir" && as_dir=.
1567 echo "PATH: $as_dir"
1583 # Keep a trace of the command line.
1584 # Strip out --no-create and --no-recursion so they do not pile up.
1585 # Strip out --silent because we don't want to record it for future runs.
1586 # Also quote any args containing shell meta-characters.
1587 # Make two passes to allow for proper duplicate-argument suppression.
1591 ac_must_keep_next=false
1597 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1598 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1599 | -silent | --silent | --silen | --sile | --sil)
1602 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1605 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1607 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1608 if test $ac_must_keep_next = true; then
1609 ac_must_keep_next=false # Got value, back to normal.
1612 *=* | --config-cache | -C | -disable-* | --disable-* \
1613 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1614 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1615 | -with-* | --with-* | -without-* | --without-* | --x)
1616 case "$ac_configure_args0 " in
1617 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1620 -* ) ac_must_keep_next=true ;;
1623 ac_configure_args="$ac_configure_args '$ac_arg'"
1628 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1629 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1631 # When interrupted or exit'd, cleanup temporary files, and complete
1632 # config.log. We remove comments because anyway the quotes in there
1633 # would cause problems or look ugly.
1634 # WARNING: Use '\'' to represent an apostrophe within the trap.
1635 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1636 trap 'exit_status=$?
1637 # Save into config.log some information that might help in debugging.
1642 ## ---------------- ##
1643 ## Cache variables. ##
1644 ## ---------------- ##
1647 # The following way of writing the cache mishandles newlines in values,
1649 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1650 eval ac_val=\$$ac_var
1654 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1655 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1658 _ | IFS | as_nl) ;; #(
1659 *) $as_unset $ac_var ;;
1664 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1665 *${as_nl}ac_space=\ *)
1667 "s/'\''/'\''\\\\'\'''\''/g;
1668 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1671 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1679 ## ----------------- ##
1680 ## Output variables. ##
1681 ## ----------------- ##
1684 for ac_var in $ac_subst_vars
1686 eval ac_val=\$$ac_var
1688 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1690 echo "$ac_var='\''$ac_val'\''"
1694 if test -n "$ac_subst_files"; then
1696 ## ------------------- ##
1697 ## File substitutions. ##
1698 ## ------------------- ##
1701 for ac_var in $ac_subst_files
1703 eval ac_val=\$$ac_var
1705 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1707 echo "$ac_var='\''$ac_val'\''"
1712 if test -s confdefs.h; then
1722 test "$ac_signal" != 0 &&
1723 echo "$as_me: caught signal $ac_signal"
1724 echo "$as_me: exit $exit_status"
1726 rm -f core *.core core.conftest.* &&
1727 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1730 for ac_signal in 1 2 13 15; do
1731 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1735 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1736 rm -f -r conftest* confdefs.h
1738 # Predefined preprocessor variables.
1740 cat >>confdefs.h <<_ACEOF
1741 #define PACKAGE_NAME "$PACKAGE_NAME"
1745 cat >>confdefs.h <<_ACEOF
1746 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1750 cat >>confdefs.h <<_ACEOF
1751 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1755 cat >>confdefs.h <<_ACEOF
1756 #define PACKAGE_STRING "$PACKAGE_STRING"
1760 cat >>confdefs.h <<_ACEOF
1761 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1765 # Let the site file select an alternate cache file if it wants to.
1766 # Prefer explicitly selected file to automatically selected ones.
1767 if test -n "$CONFIG_SITE"; then
1768 set x "$CONFIG_SITE"
1769 elif test "x$prefix" != xNONE; then
1770 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1772 set x "$ac_default_prefix/share/config.site" \
1773 "$ac_default_prefix/etc/config.site"
1778 if test -r "$ac_site_file"; then
1779 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1780 echo "$as_me: loading site script $ac_site_file" >&6;}
1781 sed 's/^/| /' "$ac_site_file" >&5
1786 if test -r "$cache_file"; then
1787 # Some versions of bash will fail to source /dev/null (special
1788 # files actually), so we avoid doing that.
1789 if test -f "$cache_file"; then
1790 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1791 echo "$as_me: loading cache $cache_file" >&6;}
1793 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1794 *) . "./$cache_file";;
1798 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1799 echo "$as_me: creating cache $cache_file" >&6;}
1803 # Check that the precious variables saved in the cache have kept the same
1805 ac_cache_corrupted=false
1806 for ac_var in $ac_precious_vars; do
1807 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1808 eval ac_new_set=\$ac_env_${ac_var}_set
1809 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1810 eval ac_new_val=\$ac_env_${ac_var}_value
1811 case $ac_old_set,$ac_new_set in
1813 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1814 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1815 ac_cache_corrupted=: ;;
1817 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1818 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1819 ac_cache_corrupted=: ;;
1822 if test "x$ac_old_val" != "x$ac_new_val"; then
1823 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1824 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1825 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1826 echo "$as_me: former value
: $ac_old_val" >&2;}
1827 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1828 echo "$as_me: current value
: $ac_new_val" >&2;}
1829 ac_cache_corrupted=:
1832 # Pass precious variables to config.status.
1833 if test "$ac_new_set" = set; then
1835 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1836 *) ac_arg=$ac_var=$ac_new_val ;;
1838 case " $ac_configure_args " in
1839 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1840 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1844 if $ac_cache_corrupted; then
1845 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1846 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1847 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1848 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1849 { (exit 1); exit 1; }; }
1869 ac_cpp='$CPP $CPPFLAGS'
1870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1877 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
1878 if test -f "$ac_dir/install-sh"; then
1880 ac_install_sh="$ac_aux_dir/install-sh -c"
1882 elif test -f "$ac_dir/install.sh"; then
1884 ac_install_sh="$ac_aux_dir/install.sh -c"
1886 elif test -f "$ac_dir/shtool"; then
1888 ac_install_sh="$ac_aux_dir/shtool install -c"
1892 if test -z "$ac_aux_dir"; then
1893 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts/autoconf \"$srcdir\"/scripts/autoconf" >&5
1894 echo "$as_me: error: cannot find install-sh or install.sh in scripts/autoconf \"$srcdir\"/scripts/autoconf" >&2;}
1895 { (exit 1); exit 1; }; }
1898 # These three variables are undocumented and unsupported,
1899 # and are intended to be withdrawn in a future Autoconf release.
1900 # They can cause serious problems if a builder's source tree is in a directory
1901 # whose full name contains unusual characters.
1902 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1903 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1904 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1908 # Check what host we are running on.
1909 # If a target is not suggested, we use this one.
1910 # Note that what we call a target, Autoconf calls a host.
1911 # Make sure we can run config.sub.
1912 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1913 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1914 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1915 { (exit 1); exit 1; }; }
1917 { echo "$as_me:$LINENO: checking build system type" >&5
1918 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1919 if test "${ac_cv_build+set}" = set; then
1920 echo $ECHO_N "(cached) $ECHO_C" >&6
1922 ac_build_alias=$build_alias
1923 test "x$ac_build_alias" = x &&
1924 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1925 test "x$ac_build_alias" = x &&
1926 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1927 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1928 { (exit 1); exit 1; }; }
1929 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1930 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1931 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1932 { (exit 1); exit 1; }; }
1935 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1936 echo "${ECHO_T}$ac_cv_build" >&6; }
1937 case $ac_cv_build in
1939 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1940 echo "$as_me: error: invalid value of canonical build" >&2;}
1941 { (exit 1); exit 1; }; };;
1944 ac_save_IFS=$IFS; IFS='-'
1950 # Remember, the first character of IFS is used to create $*,
1951 # except with old shells:
1954 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
1957 { echo "$as_me:$LINENO: checking host system type" >&5
1958 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1959 if test "${ac_cv_host+set}" = set; then
1960 echo $ECHO_N "(cached) $ECHO_C" >&6
1962 if test "x$host_alias" = x; then
1963 ac_cv_host=$ac_cv_build
1965 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1966 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1967 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1968 { (exit 1); exit 1; }; }
1972 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1973 echo "${ECHO_T}$ac_cv_host" >&6; }
1976 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1977 echo "$as_me: error: invalid value of canonical host" >&2;}
1978 { (exit 1); exit 1; }; };;
1981 ac_save_IFS=$IFS; IFS='-'
1987 # Remember, the first character of IFS is used to create $*,
1988 # except with old shells:
1991 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
1995 # The AROS target is slightly different to the normal GNU style
1996 # format. We don't have the middle part, and we reverse the order
1997 # of the $(CPU) and $(OS) bits.
1999 # Don't strip the version of the target yet, it might be
2000 # useful on some systems.
2002 { echo "$as_me:$LINENO: checking for AROS style target" >&5
2003 echo $ECHO_N "checking for AROS style target... $ECHO_C" >&6; }
2005 if test "$target" = "NONE" ; then
2006 target=$host_os-$host_cpu
2009 if test "$target" = "" ; then
2010 target=$host_os-$host_cpu
2016 { echo "$as_me:$LINENO: result: $target" >&5
2017 echo "${ECHO_T}$target" >&6; }
2019 #don't know where else to put this...
2022 # Parse the target field into something useful.
2024 target_os=`echo $target |
sed 's/^\([^-]*\)-\(.*\)$/\1/'`
2025 target_cpu=`echo $target |
sed 's/^\([^-]*\)-\(.*\)$/\2/'`
2028 aros_default_wbwidth=800
2029 aros_default_wbheight=600
2030 aros_default_wbdepth=4
2033 # The first step is to find the host binaries.
2034 # Check for a compiler.
2036 ac_cpp='$CPP $CPPFLAGS'
2037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2040 if test -n "$ac_tool_prefix"; then
2041 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2042 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2043 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2045 if test "${ac_cv_prog_CC+set}" = set; then
2046 echo $ECHO_N "(cached) $ECHO_C" >&6
2048 if test -n "$CC"; then
2049 ac_cv_prog_CC="$CC" # Let the user override the test.
2051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2055 test -z "$as_dir" && as_dir=.
2056 for ac_exec_ext in '' $ac_executable_extensions; do
2057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2058 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2069 if test -n "$CC"; then
2070 { echo "$as_me:$LINENO: result: $CC" >&5
2071 echo "${ECHO_T}$CC" >&6; }
2073 { echo "$as_me:$LINENO: result: no" >&5
2074 echo "${ECHO_T}no" >&6; }
2079 if test -z "$ac_cv_prog_CC"; then
2081 # Extract the first word of "gcc", so it can be a program name with args.
2082 set dummy gcc; ac_word=$2
2083 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2084 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2085 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2086 echo $ECHO_N "(cached) $ECHO_C" >&6
2088 if test -n "$ac_ct_CC"; then
2089 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2095 test -z "$as_dir" && as_dir=.
2096 for ac_exec_ext in '' $ac_executable_extensions; do
2097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2098 ac_cv_prog_ac_ct_CC="gcc"
2099 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2108 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2109 if test -n "$ac_ct_CC"; then
2110 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2111 echo "${ECHO_T}$ac_ct_CC" >&6; }
2113 { echo "$as_me:$LINENO: result: no" >&5
2114 echo "${ECHO_T}no" >&6; }
2117 if test "x$ac_ct_CC" = x; then
2120 case $cross_compiling:$ac_tool_warned in
2122 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2123 whose name does not start with the host triplet. If you think this
2124 configuration is useful to you, please write to autoconf@gnu.org." >&5
2125 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2126 whose name does not start with the host triplet. If you think this
2127 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2128 ac_tool_warned=yes ;;
2136 if test -z "$CC"; then
2137 if test -n "$ac_tool_prefix"; then
2138 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2139 set dummy ${ac_tool_prefix}cc; ac_word=$2
2140 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2142 if test "${ac_cv_prog_CC+set}" = set; then
2143 echo $ECHO_N "(cached) $ECHO_C" >&6
2145 if test -n "$CC"; then
2146 ac_cv_prog_CC="$CC" # Let the user override the test.
2148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2152 test -z "$as_dir" && as_dir=.
2153 for ac_exec_ext in '' $ac_executable_extensions; do
2154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2155 ac_cv_prog_CC="${ac_tool_prefix}cc"
2156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2166 if test -n "$CC"; then
2167 { echo "$as_me:$LINENO: result: $CC" >&5
2168 echo "${ECHO_T}$CC" >&6; }
2170 { echo "$as_me:$LINENO: result: no" >&5
2171 echo "${ECHO_T}no" >&6; }
2177 if test -z "$CC"; then
2178 # Extract the first word of "cc", so it can be a program name with args.
2179 set dummy cc; ac_word=$2
2180 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2181 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2182 if test "${ac_cv_prog_CC+set}" = set; then
2183 echo $ECHO_N "(cached) $ECHO_C" >&6
2185 if test -n "$CC"; then
2186 ac_cv_prog_CC="$CC" # Let the user override the test.
2189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2193 test -z "$as_dir" && as_dir=.
2194 for ac_exec_ext in '' $ac_executable_extensions; do
2195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2196 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2197 ac_prog_rejected=yes
2201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2208 if test $ac_prog_rejected = yes; then
2209 # We found a bogon in the path, so make sure we never use it.
2210 set dummy $ac_cv_prog_CC
2212 if test $# != 0; then
2213 # We chose a different compiler from the bogus one.
2214 # However, it has the same basename, so the bogon will be chosen
2215 # first if we set CC to just the basename; use the full file name.
2217 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2223 if test -n "$CC"; then
2224 { echo "$as_me:$LINENO: result: $CC" >&5
2225 echo "${ECHO_T}$CC" >&6; }
2227 { echo "$as_me:$LINENO: result: no" >&5
2228 echo "${ECHO_T}no" >&6; }
2233 if test -z "$CC"; then
2234 if test -n "$ac_tool_prefix"; then
2235 for ac_prog in cl.exe
2237 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2238 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2239 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2241 if test "${ac_cv_prog_CC+set}" = set; then
2242 echo $ECHO_N "(cached) $ECHO_C" >&6
2244 if test -n "$CC"; then
2245 ac_cv_prog_CC="$CC" # Let the user override the test.
2247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2251 test -z "$as_dir" && as_dir=.
2252 for ac_exec_ext in '' $ac_executable_extensions; do
2253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2254 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2265 if test -n "$CC"; then
2266 { echo "$as_me:$LINENO: result: $CC" >&5
2267 echo "${ECHO_T}$CC" >&6; }
2269 { echo "$as_me:$LINENO: result: no" >&5
2270 echo "${ECHO_T}no" >&6; }
2274 test -n "$CC" && break
2277 if test -z "$CC"; then
2279 for ac_prog in cl.exe
2281 # Extract the first word of "$ac_prog", so it can be a program name with args.
2282 set dummy $ac_prog; ac_word=$2
2283 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2285 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2286 echo $ECHO_N "(cached) $ECHO_C" >&6
2288 if test -n "$ac_ct_CC"; then
2289 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2295 test -z "$as_dir" && as_dir=.
2296 for ac_exec_ext in '' $ac_executable_extensions; do
2297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2298 ac_cv_prog_ac_ct_CC="$ac_prog"
2299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2308 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2309 if test -n "$ac_ct_CC"; then
2310 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2311 echo "${ECHO_T}$ac_ct_CC" >&6; }
2313 { echo "$as_me:$LINENO: result: no" >&5
2314 echo "${ECHO_T}no" >&6; }
2318 test -n "$ac_ct_CC" && break
2321 if test "x$ac_ct_CC" = x; then
2324 case $cross_compiling:$ac_tool_warned in
2326 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2327 whose name does not start with the host triplet. If you think this
2328 configuration is useful to you, please write to autoconf@gnu.org." >&5
2329 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2330 whose name does not start with the host triplet. If you think this
2331 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2332 ac_tool_warned=yes ;;
2341 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2342 See \`config.log
' for more details." >&5
2343 echo "$as_me: error: no acceptable C compiler found in \$PATH
2344 See \`config.log' for more details.
" >&2;}
2345 { (exit 1); exit 1; }; }
2347 # Provide some information about the compiler.
2348 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2349 ac_compiler=`set X $ac_compile; echo $2`
2350 { (ac_try="$ac_compiler --version >&5"
2352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2353 *) ac_try_echo=$ac_try;;
2355 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2356 (eval "$ac_compiler --version >&5") 2>&5
2358 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2359 (exit $ac_status); }
2360 { (ac_try="$ac_compiler -v >&5"
2362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2363 *) ac_try_echo=$ac_try;;
2365 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2366 (eval "$ac_compiler -v >&5") 2>&5
2368 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2369 (exit $ac_status); }
2370 { (ac_try="$ac_compiler -V >&5"
2372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2373 *) ac_try_echo=$ac_try;;
2375 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2376 (eval "$ac_compiler -V >&5") 2>&5
2378 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2379 (exit $ac_status); }
2381 cat >conftest.$ac_ext <<_ACEOF
2384 cat confdefs.h >>conftest.$ac_ext
2385 cat >>conftest.$ac_ext <<_ACEOF
2386 /* end confdefs.h. */
2396 ac_clean_files_save=$ac_clean_files
2397 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2398 # Try to create an executable without -o first, disregard a.out.
2399 # It will help us diagnose broken compilers, and finding out an intuition
2401 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2402 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2403 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2405 # List of possible output files, starting from the most likely.
2406 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2407 # only as a last resort. b.out is created by i960 compilers.
2408 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2410 # The IRIX 6 linker writes into existing files which may not be
2411 # executable, retaining their permissions. Remove them first so a
2412 # subsequent execution test works.
2414 for ac_file in $ac_files
2417 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2418 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2423 if { (ac_try="$ac_link_default"
2425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2426 *) ac_try_echo=$ac_try;;
2428 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2429 (eval "$ac_link_default") 2>&5
2431 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2432 (exit $ac_status); }; then
2433 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2434 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2435 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2436 # so that the user can short-circuit this test for compilers unknown to
2438 for ac_file in $ac_files ''
2440 test -f "$ac_file" || continue
2442 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2445 # We found the default executable, but exeext='' is most
2449 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2451 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2453 # We set ac_cv_exeext here because the later test for it is not
2454 # safe: cross compilers may not add the suffix if given an `-o'
2455 # argument, so we may need to know it at that point already.
2456 # Even if this section looks crufty: it has the advantage of
2463 test "$ac_cv_exeext" = no && ac_cv_exeext=
2469 { echo "$as_me:$LINENO: result
: $ac_file" >&5
2470 echo "${ECHO_T}$ac_file" >&6; }
2471 if test -z "$ac_file"; then
2472 echo "$as_me: failed program was
:" >&5
2473 sed 's/^/| /' conftest.$ac_ext >&5
2475 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2476 See \
`config.log' for more details." >&5
2477 echo "$as_me: error: C compiler cannot create executables
2478 See \`config.log
' for more details." >&2;}
2479 { (exit 77); exit 77; }; }
2482 ac_exeext=$ac_cv_exeext
2484 # Check that the compiler produces executables we can run. If not, either
2485 # the compiler is broken, or we cross compile.
2486 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2487 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2488 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2489 # If not cross compiling, check that we can run a simple program.
2490 if test "$cross_compiling" != yes; then
2491 if { ac_try='.
/$ac_file'
2492 { (case "(($ac_try" in
2493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2494 *) ac_try_echo=$ac_try;;
2496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2497 (eval "$ac_try") 2>&5
2499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2500 (exit $ac_status); }; }; then
2503 if test "$cross_compiling" = maybe; then
2506 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2507 If you meant to cross compile, use \`--host'.
2508 See \
`config.log' for more details." >&5
2509 echo "$as_me: error: cannot run C compiled programs.
2510 If you meant to cross compile, use \`--host'.
2511 See \`config.log' for more details.
" >&2;}
2512 { (exit 1); exit 1; }; }
2516 { echo "$as_me:$LINENO: result
: yes" >&5
2517 echo "${ECHO_T}yes" >&6; }
2519 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2520 ac_clean_files=$ac_clean_files_save
2521 # Check that the compiler produces executables we can run. If not, either
2522 # the compiler is broken, or we cross compile.
2523 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2524 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2525 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2526 echo "${ECHO_T}$cross_compiling" >&6; }
2528 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2529 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2530 if { (ac_try="$ac_link"
2532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2533 *) ac_try_echo=$ac_try;;
2535 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2536 (eval "$ac_link") 2>&5
2538 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2539 (exit $ac_status); }; then
2540 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2541 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2542 # work properly (i.e., refer to `conftest.exe'), while it won't with
2544 for ac_file in conftest.exe conftest conftest.*; do
2545 test -f "$ac_file" || continue
2547 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2548 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2554 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2555 See \
`config.log' for more details." >&5
2556 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2557 See \`config.log
' for more details." >&2;}
2558 { (exit 1); exit 1; }; }
2561 rm -f conftest$ac_cv_exeext
2562 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2563 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2565 rm -f conftest.$ac_ext
2566 EXEEXT=$ac_cv_exeext
2568 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2569 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2570 if test "${ac_cv_objext+set}" = set; then
2571 echo $ECHO_N "(cached) $ECHO_C" >&6
2573 cat >conftest.$ac_ext <<_ACEOF
2576 cat confdefs.h >>conftest.$ac_ext
2577 cat >>conftest.$ac_ext <<_ACEOF
2578 /* end confdefs.h. */
2588 rm -f conftest.o conftest.obj
2589 if { (ac_try="$ac_compile"
2591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2592 *) ac_try_echo=$ac_try;;
2594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2595 (eval "$ac_compile") 2>&5
2597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2598 (exit $ac_status); }; then
2599 for ac_file in conftest.o conftest.obj conftest.*; do
2600 test -f "$ac_file" || continue;
2602 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2603 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2608 echo "$as_me: failed program was:" >&5
2609 sed 's
/^
/|
/' conftest.$ac_ext >&5
2611 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2612 See \`config.log' for more details.
" >&5
2613 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2614 See \
`config.log' for more details." >&2;}
2615 { (exit 1); exit 1; }; }
2618 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2620 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2621 echo "${ECHO_T}$ac_cv_objext" >&6; }
2622 OBJEXT=$ac_cv_objext
2624 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2625 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2626 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2627 echo $ECHO_N "(cached) $ECHO_C" >&6
2629 cat >conftest.$ac_ext <<_ACEOF
2632 cat confdefs.h >>conftest.$ac_ext
2633 cat >>conftest.$ac_ext <<_ACEOF
2634 /* end confdefs.h. */
2647 rm -f conftest.$ac_objext
2648 if { (ac_try="$ac_compile"
2650 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2651 *) ac_try_echo
=$ac_try;;
2653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2654 (eval "$ac_compile") 2>conftest.er1
2656 grep -v '^ *+' conftest.er1
>conftest.err
2658 cat conftest.err
>&5
2659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660 (exit $ac_status); } && {
2661 test -z "$ac_c_werror_flag" ||
2662 test ! -s conftest.err
2663 } && test -s conftest.
$ac_objext; then
2666 echo "$as_me: failed program was:" >&5
2667 sed 's/^/| /' conftest.
$ac_ext >&5
2672 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2673 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2676 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2677 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2678 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2679 ac_test_CFLAGS
=${CFLAGS+set}
2680 ac_save_CFLAGS
=$CFLAGS
2681 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2682 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2683 if test "${ac_cv_prog_cc_g+set}" = set; then
2684 echo $ECHO_N "(cached) $ECHO_C" >&6
2686 ac_save_c_werror_flag
=$ac_c_werror_flag
2687 ac_c_werror_flag
=yes
2690 cat >conftest.
$ac_ext <<_ACEOF
2693 cat confdefs.h
>>conftest.
$ac_ext
2694 cat >>conftest.
$ac_ext <<_ACEOF
2695 /* end confdefs.h. */
2705 rm -f conftest.
$ac_objext
2706 if { (ac_try
="$ac_compile"
2708 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2709 *) ac_try_echo=$ac_try;;
2711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2712 (eval "$ac_compile") 2>conftest.er1
2714 grep -v '^ *+' conftest.er1 >conftest.err
2716 cat conftest.err >&5
2717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2718 (exit $ac_status); } && {
2719 test -z "$ac_c_werror_flag" ||
2720 test ! -s conftest.err
2721 } && test -s conftest.$ac_objext; then
2724 echo "$as_me: failed program was:" >&5
2725 sed 's/^/| /' conftest.$ac_ext >&5
2728 cat >conftest.$ac_ext <<_ACEOF
2731 cat confdefs.h >>conftest.$ac_ext
2732 cat >>conftest.$ac_ext <<_ACEOF
2733 /* end confdefs.h. */
2743 rm -f conftest.$ac_objext
2744 if { (ac_try="$ac_compile"
2746 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2747 *) ac_try_echo
=$ac_try;;
2749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2750 (eval "$ac_compile") 2>conftest.er1
2752 grep -v '^ *+' conftest.er1
>conftest.err
2754 cat conftest.err
>&5
2755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2756 (exit $ac_status); } && {
2757 test -z "$ac_c_werror_flag" ||
2758 test ! -s conftest.err
2759 } && test -s conftest.
$ac_objext; then
2762 echo "$as_me: failed program was:" >&5
2763 sed 's/^/| /' conftest.
$ac_ext >&5
2765 ac_c_werror_flag
=$ac_save_c_werror_flag
2767 cat >conftest.
$ac_ext <<_ACEOF
2770 cat confdefs.h
>>conftest.
$ac_ext
2771 cat >>conftest.
$ac_ext <<_ACEOF
2772 /* end confdefs.h. */
2782 rm -f conftest.
$ac_objext
2783 if { (ac_try
="$ac_compile"
2785 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2786 *) ac_try_echo=$ac_try;;
2788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2789 (eval "$ac_compile") 2>conftest.er1
2791 grep -v '^ *+' conftest.er1 >conftest.err
2793 cat conftest.err >&5
2794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2795 (exit $ac_status); } && {
2796 test -z "$ac_c_werror_flag" ||
2797 test ! -s conftest.err
2798 } && test -s conftest.$ac_objext; then
2801 echo "$as_me: failed program was:" >&5
2802 sed 's/^/| /' conftest.$ac_ext >&5
2807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2814 ac_c_werror_flag=$ac_save_c_werror_flag
2816 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2817 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2818 if test "$ac_test_CFLAGS" = set; then
2819 CFLAGS=$ac_save_CFLAGS
2820 elif test $ac_cv_prog_cc_g = yes; then
2821 if test "$GCC" = yes; then
2827 if test "$GCC" = yes; then
2833 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2834 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2835 if test "${ac_cv_prog_cc_c89+set}" = set; then
2836 echo $ECHO_N "(cached) $ECHO_C" >&6
2838 ac_cv_prog_cc_c89=no
2840 cat >conftest.$ac_ext <<_ACEOF
2843 cat confdefs.h >>conftest.$ac_ext
2844 cat >>conftest.$ac_ext <<_ACEOF
2845 /* end confdefs.h. */
2848 #include <sys/types.h>
2849 #include <sys/stat.h>
2850 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2851 struct buf { int x; };
2852 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2853 static char *e (p, i)
2859 static char *f (char * (*g) (char **, int), char **p, ...)
2864 s = g (p, va_arg (v,int));
2869 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2870 function prototypes and stuff, but not '\xHH' hex character constants.
2871 These don't provoke an error unfortunately, instead are silently treated
2872 as 'x'. The following induces an error, until -std is added to get
2873 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2874 array size at least. It's necessary to write '\x00'==0 to get something
2875 that's true only with -std. */
2876 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2878 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2879 inside strings and character constants. */
2881 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2883 int test (int i, double x);
2884 struct s1 {int (*f) (int a);};
2885 struct s2 {int (*f) (double a);};
2886 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2892 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2897 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2898 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2900 CC="$ac_save_CC $ac_arg"
2901 rm -f conftest.$ac_objext
2902 if { (ac_try="$ac_compile"
2904 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2905 *) ac_try_echo
=$ac_try;;
2907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2908 (eval "$ac_compile") 2>conftest.er1
2910 grep -v '^ *+' conftest.er1
>conftest.err
2912 cat conftest.err
>&5
2913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2914 (exit $ac_status); } && {
2915 test -z "$ac_c_werror_flag" ||
2916 test ! -s conftest.err
2917 } && test -s conftest.
$ac_objext; then
2918 ac_cv_prog_cc_c89
=$ac_arg
2920 echo "$as_me: failed program was:" >&5
2921 sed 's/^/| /' conftest.
$ac_ext >&5
2926 rm -f core conftest.err conftest.
$ac_objext
2927 test "x$ac_cv_prog_cc_c89" != "xno" && break
2929 rm -f conftest.
$ac_ext
2934 case "x$ac_cv_prog_cc_c89" in
2936 { echo "$as_me:$LINENO: result: none needed" >&5
2937 echo "${ECHO_T}none needed" >&6; } ;;
2939 { echo "$as_me:$LINENO: result: unsupported" >&5
2940 echo "${ECHO_T}unsupported" >&6; } ;;
2942 CC
="$CC $ac_cv_prog_cc_c89"
2943 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2944 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2949 ac_cpp
='$CPP $CPPFLAGS'
2950 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2951 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2952 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2954 case $ac_cv_prog_cc_stdc in
2955 no
) ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;;
2956 *) { echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
2957 echo $ECHO_N "checking for $CC option to accept ISO C99... $ECHO_C" >&6; }
2958 if test "${ac_cv_prog_cc_c99+set}" = set; then
2959 echo $ECHO_N "(cached) $ECHO_C" >&6
2961 ac_cv_prog_cc_c99
=no
2963 cat >conftest.
$ac_ext <<_ACEOF
2966 cat confdefs.h
>>conftest.
$ac_ext
2967 cat >>conftest.
$ac_ext <<_ACEOF
2968 /* end confdefs.h. */
2970 #include <stdbool.h>
2975 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2976 #define debug(...) fprintf (stderr, __VA_ARGS__)
2977 #define showlist(...) puts (#__VA_ARGS__)
2978 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2980 test_varargs_macros (void)
2985 debug ("X = %d\n", x);
2986 showlist (The first, second, and third items.);
2987 report (x>y, "x is %d but y is %d", x, y);
2990 // Check long long types.
2991 #define BIG64 18446744073709551615ull
2992 #define BIG32 4294967295ul
2993 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2995 your preprocessor is broken;
2999 your preprocessor is broken;
3001 static long long int bignum = -9223372036854775807LL;
3002 static unsigned long long int ubignum = BIG64;
3004 struct incomplete_array
3012 const wchar_t *name;
3016 typedef const char *ccp;
3019 test_restrict (ccp restrict text)
3021 // See if C++-style comments work.
3022 // Iterate through items via the restricted pointer.
3023 // Also check for declarations in for loops.
3024 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3029 // Check varargs and va_copy.
3031 test_varargs (const char *format, ...)
3034 va_start (args, format);
3036 va_copy (args_copy, args);
3047 str = va_arg (args_copy, const char *);
3050 number = va_arg (args_copy, int);
3053 fnumber = va_arg (args_copy, double);
3068 _Bool success = false;
3071 if (test_restrict ("String literal") == 0)
3073 char *restrict newvar = "Another string";
3076 test_varargs ("s, d' f .", "string", 65, 34.234);
3077 test_varargs_macros ();
3079 // Check flexible array members.
3080 struct incomplete_array *ia =
3081 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3083 for (int i = 0; i < ia->datasize; ++i)
3084 ia->data[i] = i * 1.234;
3086 // Check named initializers.
3087 struct named_init ni = {
3089 .name = L"Test wide string",
3090 .average = 543.34343,
3095 int dynamic_array[ni.number];
3096 dynamic_array[ni.number - 1] = 543;
3098 // work around unused variable warnings
3099 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3100 || dynamic_array[ni.number - 1] != 543);
3106 for ac_arg
in '' -std=gnu99
-c99 -qlanglvl=extc99
3108 CC
="$ac_save_CC $ac_arg"
3109 rm -f conftest.
$ac_objext
3110 if { (ac_try
="$ac_compile"
3112 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3113 *) ac_try_echo=$ac_try;;
3115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3116 (eval "$ac_compile") 2>conftest.er1
3118 grep -v '^ *+' conftest.er1 >conftest.err
3120 cat conftest.err >&5
3121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3122 (exit $ac_status); } && {
3123 test -z "$ac_c_werror_flag" ||
3124 test ! -s conftest.err
3125 } && test -s conftest.$ac_objext; then
3126 ac_cv_prog_cc_c99=$ac_arg
3128 echo "$as_me: failed program was:" >&5
3129 sed 's/^/| /' conftest.$ac_ext >&5
3134 rm -f core conftest.err conftest.$ac_objext
3135 test "x$ac_cv_prog_cc_c99" != "xno" && break
3137 rm -f conftest.$ac_ext
3142 case "x$ac_cv_prog_cc_c99" in
3144 { echo "$as_me:$LINENO: result: none needed" >&5
3145 echo "${ECHO_T}none needed" >&6; } ;;
3147 { echo "$as_me:$LINENO: result: unsupported" >&5
3148 echo "${ECHO_T}unsupported" >&6; } ;;
3150 CC="$CC $ac_cv_prog_cc_c99"
3151 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
3152 echo "${ECHO_T}$ac_cv_prog_cc_c99" >&6; } ;;
3154 if test "x$ac_cv_prog_cc_c99" != xno; then
3155 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3157 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3158 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3159 if test "${ac_cv_prog_cc_c89+set}" = set; then
3160 echo $ECHO_N "(cached) $ECHO_C" >&6
3162 ac_cv_prog_cc_c89=no
3164 cat >conftest.$ac_ext <<_ACEOF
3167 cat confdefs.h >>conftest.$ac_ext
3168 cat >>conftest.$ac_ext <<_ACEOF
3169 /* end confdefs.h. */
3172 #include <sys/types.h>
3173 #include <sys/stat.h>
3174 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3175 struct buf { int x; };
3176 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3177 static char *e (p, i)
3183 static char *f (char * (*g) (char **, int), char **p, ...)
3188 s = g (p, va_arg (v,int));
3193 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3194 function prototypes and stuff, but not '\xHH' hex character constants.
3195 These don't provoke an error unfortunately, instead are silently treated
3196 as 'x'. The following induces an error, until -std is added to get
3197 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3198 array size at least. It's necessary to write '\x00'==0 to get something
3199 that's true only with -std. */
3200 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3202 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3203 inside strings and character constants. */
3205 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3207 int test (int i, double x);
3208 struct s1 {int (*f) (int a);};
3209 struct s2 {int (*f) (double a);};
3210 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3216 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3221 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3222 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3224 CC="$ac_save_CC $ac_arg"
3225 rm -f conftest.$ac_objext
3226 if { (ac_try="$ac_compile"
3228 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3229 *) ac_try_echo
=$ac_try;;
3231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3232 (eval "$ac_compile") 2>conftest.er1
3234 grep -v '^ *+' conftest.er1
>conftest.err
3236 cat conftest.err
>&5
3237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3238 (exit $ac_status); } && {
3239 test -z "$ac_c_werror_flag" ||
3240 test ! -s conftest.err
3241 } && test -s conftest.
$ac_objext; then
3242 ac_cv_prog_cc_c89
=$ac_arg
3244 echo "$as_me: failed program was:" >&5
3245 sed 's/^/| /' conftest.
$ac_ext >&5
3250 rm -f core conftest.err conftest.
$ac_objext
3251 test "x$ac_cv_prog_cc_c89" != "xno" && break
3253 rm -f conftest.
$ac_ext
3258 case "x$ac_cv_prog_cc_c89" in
3260 { echo "$as_me:$LINENO: result: none needed" >&5
3261 echo "${ECHO_T}none needed" >&6; } ;;
3263 { echo "$as_me:$LINENO: result: unsupported" >&5
3264 echo "${ECHO_T}unsupported" >&6; } ;;
3266 CC
="$CC $ac_cv_prog_cc_c89"
3267 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3268 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3270 if test "x$ac_cv_prog_cc_c89" != xno
; then
3271 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
3273 ac_cv_prog_cc_stdc
=no
3281 { echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5
3282 echo $ECHO_N "checking for $CC option to accept ISO Standard C... $ECHO_C" >&6; }
3283 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3284 echo $ECHO_N "(cached) $ECHO_C" >&6
3287 case $ac_cv_prog_cc_stdc in
3288 no
) { echo "$as_me:$LINENO: result: unsupported" >&5
3289 echo "${ECHO_T}unsupported" >&6; } ;;
3290 '') { echo "$as_me:$LINENO: result: none needed" >&5
3291 echo "${ECHO_T}none needed" >&6; } ;;
3292 *) { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3293 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; } ;;
3298 ac_cpp
='$CPP $CPPFLAGS'
3299 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3300 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3301 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3302 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3303 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3304 # On Suns, sometimes $CPP names a directory.
3305 if test -n "$CPP" && test -d "$CPP"; then
3308 if test -z "$CPP"; then
3309 if test "${ac_cv_prog_CPP+set}" = set; then
3310 echo $ECHO_N "(cached) $ECHO_C" >&6
3312 # Double quotes because CPP needs to be expanded
3313 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3316 for ac_c_preproc_warn_flag
in '' yes
3318 # Use a header file that comes with gcc, so configuring glibc
3319 # with a fresh cross-compiler works.
3320 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3321 # <limits.h> exists even on freestanding compilers.
3322 # On the NeXT, cc -E runs the code through the compiler's parser,
3323 # not just through cpp. "Syntax error" is here to catch this case.
3324 cat >conftest.
$ac_ext <<_ACEOF
3327 cat confdefs.h
>>conftest.
$ac_ext
3328 cat >>conftest.
$ac_ext <<_ACEOF
3329 /* end confdefs.h. */
3331 # include <limits.h>
3333 # include <assert.h>
3337 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3339 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3340 *) ac_try_echo=$ac_try;;
3342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3343 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3345 grep -v '^ *+' conftest.er1 >conftest.err
3347 cat conftest.err >&5
3348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3349 (exit $ac_status); } >/dev/null && {
3350 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3351 test ! -s conftest.err
3355 echo "$as_me: failed program was:" >&5
3356 sed 's/^/| /' conftest.$ac_ext >&5
3358 # Broken: fails on valid input.
3362 rm -f conftest.err conftest.$ac_ext
3364 # OK, works on sane cases. Now check whether nonexistent headers
3365 # can be detected and how.
3366 cat >conftest.$ac_ext <<_ACEOF
3369 cat confdefs.h >>conftest.$ac_ext
3370 cat >>conftest.$ac_ext <<_ACEOF
3371 /* end confdefs.h. */
3372 #include <ac_nonexistent.h>
3374 if { (ac_try="$ac_cpp conftest.$ac_ext"
3376 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3377 *) ac_try_echo
=$ac_try;;
3379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3380 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3382 grep -v '^ *+' conftest.er1
>conftest.err
3384 cat conftest.err
>&5
3385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3386 (exit $ac_status); } >/dev
/null
&& {
3387 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3388 test ! -s conftest.err
3390 # Broken: success on invalid input.
3393 echo "$as_me: failed program was:" >&5
3394 sed 's/^/| /' conftest.
$ac_ext >&5
3396 # Passes both tests.
3401 rm -f conftest.err conftest.
$ac_ext
3404 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3405 rm -f conftest.err conftest.
$ac_ext
3406 if $ac_preproc_ok; then
3418 { echo "$as_me:$LINENO: result: $CPP" >&5
3419 echo "${ECHO_T}$CPP" >&6; }
3421 for ac_c_preproc_warn_flag
in '' yes
3423 # Use a header file that comes with gcc, so configuring glibc
3424 # with a fresh cross-compiler works.
3425 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3426 # <limits.h> exists even on freestanding compilers.
3427 # On the NeXT, cc -E runs the code through the compiler's parser,
3428 # not just through cpp. "Syntax error" is here to catch this case.
3429 cat >conftest.
$ac_ext <<_ACEOF
3432 cat confdefs.h
>>conftest.
$ac_ext
3433 cat >>conftest.
$ac_ext <<_ACEOF
3434 /* end confdefs.h. */
3436 # include <limits.h>
3438 # include <assert.h>
3442 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3444 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3445 *) ac_try_echo=$ac_try;;
3447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3448 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3450 grep -v '^ *+' conftest.er1 >conftest.err
3452 cat conftest.err >&5
3453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3454 (exit $ac_status); } >/dev/null && {
3455 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3456 test ! -s conftest.err
3460 echo "$as_me: failed program was:" >&5
3461 sed 's/^/| /' conftest.$ac_ext >&5
3463 # Broken: fails on valid input.
3467 rm -f conftest.err conftest.$ac_ext
3469 # OK, works on sane cases. Now check whether nonexistent headers
3470 # can be detected and how.
3471 cat >conftest.$ac_ext <<_ACEOF
3474 cat confdefs.h >>conftest.$ac_ext
3475 cat >>conftest.$ac_ext <<_ACEOF
3476 /* end confdefs.h. */
3477 #include <ac_nonexistent.h>
3479 if { (ac_try="$ac_cpp conftest.$ac_ext"
3481 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3482 *) ac_try_echo
=$ac_try;;
3484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3485 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3487 grep -v '^ *+' conftest.er1
>conftest.err
3489 cat conftest.err
>&5
3490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3491 (exit $ac_status); } >/dev
/null
&& {
3492 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3493 test ! -s conftest.err
3495 # Broken: success on invalid input.
3498 echo "$as_me: failed program was:" >&5
3499 sed 's/^/| /' conftest.
$ac_ext >&5
3501 # Passes both tests.
3506 rm -f conftest.err conftest.
$ac_ext
3509 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3510 rm -f conftest.err conftest.
$ac_ext
3511 if $ac_preproc_ok; then
3514 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3515 See \`config.log' for more details." >&5
3516 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3517 See \`config.log' for more details." >&2;}
3518 { (exit 1); exit 1; }; }
3522 ac_cpp
='$CPP $CPPFLAGS'
3523 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3524 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3525 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3528 # Check for a compatible awk
3529 for ac_prog
in gawk nawk
3531 # Extract the first word of "$ac_prog", so it can be a program name with args.
3532 set dummy
$ac_prog; ac_word
=$2
3533 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3535 if test "${ac_cv_prog_AWK+set}" = set; then
3536 echo $ECHO_N "(cached) $ECHO_C" >&6
3538 if test -n "$AWK"; then
3539 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3545 test -z "$as_dir" && as_dir
=.
3546 for ac_exec_ext
in '' $ac_executable_extensions; do
3547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3548 ac_cv_prog_AWK
="$ac_prog"
3549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3559 if test -n "$AWK"; then
3560 { echo "$as_me:$LINENO: result: $AWK" >&5
3561 echo "${ECHO_T}$AWK" >&6; }
3563 { echo "$as_me:$LINENO: result: no" >&5
3564 echo "${ECHO_T}no" >&6; }
3568 test -n "$AWK" && break
3571 if test "$AWK" = ""; then
3572 { { echo "$as_me:$LINENO: error: gawk is required to build AROS. Please install and run configure again." >&5
3573 echo "$as_me: error: gawk is required to build AROS. Please install and run configure again." >&2;}
3574 { (exit 1); exit 1; }; }
3576 # Extract the first word of "mmake", so it can be a program name with args.
3577 set dummy mmake
; ac_word
=$2
3578 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3580 if test "${ac_cv_prog_MMAKE+set}" = set; then
3581 echo $ECHO_N "(cached) $ECHO_C" >&6
3583 if test -n "$MMAKE"; then
3584 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
3586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3590 test -z "$as_dir" && as_dir
=.
3591 for ac_exec_ext
in '' $ac_executable_extensions; do
3592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3593 ac_cv_prog_MMAKE
="mmake "
3594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3603 MMAKE
=$ac_cv_prog_MMAKE
3604 if test -n "$MMAKE"; then
3605 { echo "$as_me:$LINENO: result: $MMAKE" >&5
3606 echo "${ECHO_T}$MMAKE" >&6; }
3608 { echo "$as_me:$LINENO: result: no" >&5
3609 echo "${ECHO_T}no" >&6; }
3614 # Perform some default variable assignments. Note all of these will be
3615 # Regenerated from the script, so there is no need to cache them.
3618 if test "$GCC" = "yes"; then
3619 aros_gcc_ld
=`$CC -print-prog-name=ld`
3620 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
3621 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
3622 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3624 if test "${ac_cv_path_aros_host_ld+set}" = set; then
3625 echo $ECHO_N "(cached) $ECHO_C" >&6
3627 case $aros_host_ld in
3629 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3633 for as_dir
in `dirname $aros_gcc_ld`
3636 test -z "$as_dir" && as_dir
=.
3637 for ac_exec_ext
in '' $ac_executable_extensions; do
3638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3639 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3650 aros_host_ld
=$ac_cv_path_aros_host_ld
3651 if test -n "$aros_host_ld"; then
3652 { echo "$as_me:$LINENO: result: $aros_host_ld" >&5
3653 echo "${ECHO_T}$aros_host_ld" >&6; }
3655 { echo "$as_me:$LINENO: result: no" >&5
3656 echo "${ECHO_T}no" >&6; }
3661 if test "$aros_host_ld" = ""; then
3662 # Extract the first word of "ld", so it can be a program name with args.
3663 set dummy ld
; ac_word
=$2
3664 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3666 if test "${ac_cv_path_aros_host_ld+set}" = set; then
3667 echo $ECHO_N "(cached) $ECHO_C" >&6
3669 case $aros_host_ld in
3671 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3678 test -z "$as_dir" && as_dir
=.
3679 for ac_exec_ext
in '' $ac_executable_extensions; do
3680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3681 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3692 aros_host_ld
=$ac_cv_path_aros_host_ld
3693 if test -n "$aros_host_ld"; then
3694 { echo "$as_me:$LINENO: result: $aros_host_ld" >&5
3695 echo "${ECHO_T}$aros_host_ld" >&6; }
3697 { echo "$as_me:$LINENO: result: no" >&5
3698 echo "${ECHO_T}no" >&6; }
3703 if test "$aros_host_ld" = ""; then
3704 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
3705 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
3706 { (exit 1); exit 1; }; }
3708 aros_host_make
="make"
3709 aros_host_cflags
=$CFLAGS
3710 aros_host_ldflags
=$LDFLAGS
3711 aros_host_debug
="-g -O0"
3712 aros_host_mkdep
="\$(TOP)/scripts/mkdep"
3713 aros_host_mkargs
="--no-print-directory"
3714 aros_host_incl
="/usr/include"
3715 aros_host_exe_suffix
="$EXEEXT"
3716 aros_host_lib_suffix
=""
3718 for ac_prog
in aclocal aclocal19
3720 # Extract the first word of "$ac_prog", so it can be a program name with args.
3721 set dummy
$ac_prog; ac_word
=$2
3722 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3724 if test "${ac_cv_prog_aros_host_aclocal+set}" = set; then
3725 echo $ECHO_N "(cached) $ECHO_C" >&6
3727 if test -n "$aros_host_aclocal"; then
3728 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
3730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3734 test -z "$as_dir" && as_dir
=.
3735 for ac_exec_ext
in '' $ac_executable_extensions; do
3736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3737 ac_cv_prog_aros_host_aclocal
="$ac_prog"
3738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3747 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
3748 if test -n "$aros_host_aclocal"; then
3749 { echo "$as_me:$LINENO: result: $aros_host_aclocal" >&5
3750 echo "${ECHO_T}$aros_host_aclocal" >&6; }
3752 { echo "$as_me:$LINENO: result: no" >&5
3753 echo "${ECHO_T}no" >&6; }
3757 test -n "$aros_host_aclocal" && break
3760 for ac_prog
in autoconf autoconf259 autoconf253
3762 # Extract the first word of "$ac_prog", so it can be a program name with args.
3763 set dummy
$ac_prog; ac_word
=$2
3764 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3766 if test "${ac_cv_prog_aros_host_autoconf+set}" = set; then
3767 echo $ECHO_N "(cached) $ECHO_C" >&6
3769 if test -n "$aros_host_autoconf"; then
3770 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
3772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3776 test -z "$as_dir" && as_dir
=.
3777 for ac_exec_ext
in '' $ac_executable_extensions; do
3778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3779 ac_cv_prog_aros_host_autoconf
="$ac_prog"
3780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3789 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
3790 if test -n "$aros_host_autoconf"; then
3791 { echo "$as_me:$LINENO: result: $aros_host_autoconf" >&5
3792 echo "${ECHO_T}$aros_host_autoconf" >&6; }
3794 { echo "$as_me:$LINENO: result: no" >&5
3795 echo "${ECHO_T}no" >&6; }
3799 test -n "$aros_host_autoconf" && break
3802 for ac_prog
in autoheader autoheader259 autoheader253
3804 # Extract the first word of "$ac_prog", so it can be a program name with args.
3805 set dummy
$ac_prog; ac_word
=$2
3806 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3808 if test "${ac_cv_prog_aros_host_autoheader+set}" = set; then
3809 echo $ECHO_N "(cached) $ECHO_C" >&6
3811 if test -n "$aros_host_autoheader"; then
3812 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
3814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3818 test -z "$as_dir" && as_dir
=.
3819 for ac_exec_ext
in '' $ac_executable_extensions; do
3820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3821 ac_cv_prog_aros_host_autoheader
="$ac_prog"
3822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3831 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
3832 if test -n "$aros_host_autoheader"; then
3833 { echo "$as_me:$LINENO: result: $aros_host_autoheader" >&5
3834 echo "${ECHO_T}$aros_host_autoheader" >&6; }
3836 { echo "$as_me:$LINENO: result: no" >&5
3837 echo "${ECHO_T}no" >&6; }
3841 test -n "$aros_host_autoheader" && break
3844 for ac_prog
in automake automake19
3846 # Extract the first word of "$ac_prog", so it can be a program name with args.
3847 set dummy
$ac_prog; ac_word
=$2
3848 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3850 if test "${ac_cv_prog_aros_host_automake+set}" = set; then
3851 echo $ECHO_N "(cached) $ECHO_C" >&6
3853 if test -n "$aros_host_automake"; then
3854 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
3856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3860 test -z "$as_dir" && as_dir
=.
3861 for ac_exec_ext
in '' $ac_executable_extensions; do
3862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3863 ac_cv_prog_aros_host_automake
="$ac_prog"
3864 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3873 aros_host_automake
=$ac_cv_prog_aros_host_automake
3874 if test -n "$aros_host_automake"; then
3875 { echo "$as_me:$LINENO: result: $aros_host_automake" >&5
3876 echo "${ECHO_T}$aros_host_automake" >&6; }
3878 { echo "$as_me:$LINENO: result: no" >&5
3879 echo "${ECHO_T}no" >&6; }
3883 test -n "$aros_host_automake" && break
3887 case "$aros_host_cc" in
3889 aros_host_cc_pipe
="-pipe"
3892 aros_host_cc_pipe
=""
3895 aros_host_cc_pipe
=""
3899 aros_target_cc_includes
=""
3901 # This is the main host configuration section. It is where the host
3902 # can change the values of any variables it needs to change. We do
3903 # not look at anything that compiles to the target yet, we'll get
3908 aros_host_arch
="linux"
3909 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3912 aros_host_cpu
="i386"
3915 aros_host_cpu
="x86_64"
3918 aros_host_cpu
="m68k"
3924 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
3925 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
3926 aros_host_cpu
="$host_cpu"
3932 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
3933 aros_host_make
="gmake"
3934 aros_host_arch
="freebsd"
3935 aros_host_cpu
="i386"
3937 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
3942 aros_object_format
="elf_i386"
3946 aros_object_format
="elf_i386_fbsd"
3953 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3954 aros_host_arch
="darwin"
3957 aros_host_cpu
="i386"
3963 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
3964 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
3965 aros_host_cpu
="$host_cpu"
3969 aros_host_ldflags
="$aros_host_ldflags -liconv"
3974 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3975 aros_host_make
="gmake"
3976 aros_host_arch
="netbsd"
3979 aros_host_cpu
="i386"
3982 aros_host_cpu
="m68k"
3985 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
3986 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
3987 aros_host_cpu
="$host_cpu"
3990 aros_host_lib_suffix
=".0.0"
3994 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3995 aros_host_make
="gmake"
3996 aros_host_arch
="openbsd"
3999 aros_host_cpu
="i386"
4002 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4003 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4004 aros_host_cpu
="$host_cpu"
4010 aros_host_arch
="solaris"
4011 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4014 aros_host_cpu
="sparc"
4017 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4018 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4019 aros_host_cpu
="$host_cpu"
4025 aros_host_arch
="morphos"
4030 aros_host_arch
="amiga"
4035 TOUCH
="/gg/bin/touch"
4038 aros_host_cpu
="m68k"
4044 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4045 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4046 aros_host_cpu
="$host_cpu"
4052 aros_host_arch
="cygwin"
4053 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4056 aros_host_cpu
="i386"
4059 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4060 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4061 aros_host_cpu
="$host_cpu"
4066 { { echo "$as_me:$LINENO: error: Unsupported host architecture $host" >&5
4067 echo "$as_me: error: Unsupported host architecture $host" >&2;}
4068 { (exit 1); exit 1; }; }
4072 # Extract the first word of "ar", so it can be a program name with args.
4073 set dummy
ar; ac_word
=$2
4074 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4076 if test "${ac_cv_prog_aros_host_ar+set}" = set; then
4077 echo $ECHO_N "(cached) $ECHO_C" >&6
4079 if test -n "$aros_host_ar"; then
4080 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4086 test -z "$as_dir" && as_dir
=.
4087 for ac_exec_ext
in '' $ac_executable_extensions; do
4088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4089 ac_cv_prog_aros_host_ar
="ar cr"
4090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4099 aros_host_ar
=$ac_cv_prog_aros_host_ar
4100 if test -n "$aros_host_ar"; then
4101 { echo "$as_me:$LINENO: result: $aros_host_ar" >&5
4102 echo "${ECHO_T}$aros_host_ar" >&6; }
4104 { echo "$as_me:$LINENO: result: no" >&5
4105 echo "${ECHO_T}no" >&6; }
4109 if test "$aros_host_ar" = ""; then
4110 { { echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
4111 echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
4112 { (exit 1); exit 1; }; }
4114 # Extract the first word of "ranlib", so it can be a program name with args.
4115 set dummy ranlib
; ac_word
=$2
4116 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4118 if test "${ac_cv_prog_aros_host_ranlib+set}" = set; then
4119 echo $ECHO_N "(cached) $ECHO_C" >&6
4121 if test -n "$aros_host_ranlib"; then
4122 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4128 test -z "$as_dir" && as_dir
=.
4129 for ac_exec_ext
in '' $ac_executable_extensions; do
4130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4131 ac_cv_prog_aros_host_ranlib
="ranlib "
4132 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4141 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4142 if test -n "$aros_host_ranlib"; then
4143 { echo "$as_me:$LINENO: result: $aros_host_ranlib" >&5
4144 echo "${ECHO_T}$aros_host_ranlib" >&6; }
4146 { echo "$as_me:$LINENO: result: no" >&5
4147 echo "${ECHO_T}no" >&6; }
4151 if test "$aros_host_ranlib" = ""; then
4152 { { echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
4153 echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
4154 { (exit 1); exit 1; }; }
4156 # Extract the first word of "strip", so it can be a program name with args.
4157 set dummy strip
; ac_word
=$2
4158 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4160 if test "${ac_cv_prog_aros_host_strip+set}" = set; then
4161 echo $ECHO_N "(cached) $ECHO_C" >&6
4163 if test -n "$aros_host_strip"; then
4164 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4170 test -z "$as_dir" && as_dir
=.
4171 for ac_exec_ext
in '' $ac_executable_extensions; do
4172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4173 ac_cv_prog_aros_host_strip
="strip "
4174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4183 aros_host_strip
=$ac_cv_prog_aros_host_strip
4184 if test -n "$aros_host_strip"; then
4185 { echo "$as_me:$LINENO: result: $aros_host_strip" >&5
4186 echo "${ECHO_T}$aros_host_strip" >&6; }
4188 { echo "$as_me:$LINENO: result: no" >&5
4189 echo "${ECHO_T}no" >&6; }
4193 if test "$aros_host_strip" = ""; then
4194 { { echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
4195 echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
4196 { (exit 1); exit 1; }; }
4199 # Extract the first word of "rm", so it can be a program name with args.
4200 set dummy
rm; ac_word
=$2
4201 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4203 if test "${ac_cv_prog_RM+set}" = set; then
4204 echo $ECHO_N "(cached) $ECHO_C" >&6
4206 if test -n "$RM"; then
4207 ac_cv_prog_RM
="$RM" # Let the user override the test.
4209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4213 test -z "$as_dir" && as_dir
=.
4214 for ac_exec_ext
in '' $ac_executable_extensions; do
4215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4216 ac_cv_prog_RM
="rm -rf"
4217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4227 if test -n "$RM"; then
4228 { echo "$as_me:$LINENO: result: $RM" >&5
4229 echo "${ECHO_T}$RM" >&6; }
4231 { echo "$as_me:$LINENO: result: no" >&5
4232 echo "${ECHO_T}no" >&6; }
4236 if test "$RM" = ""; then
4237 { { echo "$as_me:$LINENO: error: rm is required to build AROS. Please install and run configure again." >&5
4238 echo "$as_me: error: rm is required to build AROS. Please install and run configure again." >&2;}
4239 { (exit 1); exit 1; }; }
4241 # Extract the first word of "cp", so it can be a program name with args.
4242 set dummy
cp; ac_word
=$2
4243 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4245 if test "${ac_cv_prog_CP+set}" = set; then
4246 echo $ECHO_N "(cached) $ECHO_C" >&6
4248 if test -n "$CP"; then
4249 ac_cv_prog_CP
="$CP" # Let the user override the test.
4251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4255 test -z "$as_dir" && as_dir
=.
4256 for ac_exec_ext
in '' $ac_executable_extensions; do
4257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4269 if test -n "$CP"; then
4270 { echo "$as_me:$LINENO: result: $CP" >&5
4271 echo "${ECHO_T}$CP" >&6; }
4273 { echo "$as_me:$LINENO: result: no" >&5
4274 echo "${ECHO_T}no" >&6; }
4278 if test "$CP" = ""; then
4279 { { echo "$as_me:$LINENO: error: cp is required to build AROS. Please install and run configure again." >&5
4280 echo "$as_me: error: cp is required to build AROS. Please install and run configure again." >&2;}
4281 { (exit 1); exit 1; }; }
4283 # Extract the first word of "mv", so it can be a program name with args.
4284 set dummy
mv; ac_word
=$2
4285 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4287 if test "${ac_cv_prog_MV+set}" = set; then
4288 echo $ECHO_N "(cached) $ECHO_C" >&6
4290 if test -n "$MV"; then
4291 ac_cv_prog_MV
="$MV" # Let the user override the test.
4293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4297 test -z "$as_dir" && as_dir
=.
4298 for ac_exec_ext
in '' $ac_executable_extensions; do
4299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4301 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4311 if test -n "$MV"; then
4312 { echo "$as_me:$LINENO: result: $MV" >&5
4313 echo "${ECHO_T}$MV" >&6; }
4315 { echo "$as_me:$LINENO: result: no" >&5
4316 echo "${ECHO_T}no" >&6; }
4320 if test "$MV" = ""; then
4321 { { echo "$as_me:$LINENO: error: mv is required to build AROS. Please install and run configure again." >&5
4322 echo "$as_me: error: mv is required to build AROS. Please install and run configure again." >&2;}
4323 { (exit 1); exit 1; }; }
4325 # Extract the first word of "echo", so it can be a program name with args.
4326 set dummy
echo; ac_word
=$2
4327 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4329 if test "${ac_cv_prog_ECHO+set}" = set; then
4330 echo $ECHO_N "(cached) $ECHO_C" >&6
4332 if test -n "$ECHO"; then
4333 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
4335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4339 test -z "$as_dir" && as_dir
=.
4340 for ac_exec_ext
in '' $ac_executable_extensions; do
4341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4342 ac_cv_prog_ECHO
="echo "
4343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4352 ECHO
=$ac_cv_prog_ECHO
4353 if test -n "$ECHO"; then
4354 { echo "$as_me:$LINENO: result: $ECHO" >&5
4355 echo "${ECHO_T}$ECHO" >&6; }
4357 { echo "$as_me:$LINENO: result: no" >&5
4358 echo "${ECHO_T}no" >&6; }
4362 if test "$ECHO" = ""; then
4363 { { echo "$as_me:$LINENO: error: echo is required to build AROS. Please install and run configure again." >&5
4364 echo "$as_me: error: echo is required to build AROS. Please install and run configure again." >&2;}
4365 { (exit 1); exit 1; }; }
4367 # Extract the first word of "mkdir", so it can be a program name with args.
4368 set dummy mkdir
; ac_word
=$2
4369 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4371 if test "${ac_cv_prog_MKDIR+set}" = set; then
4372 echo $ECHO_N "(cached) $ECHO_C" >&6
4374 if test -n "$MKDIR"; then
4375 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
4377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4381 test -z "$as_dir" && as_dir
=.
4382 for ac_exec_ext
in '' $ac_executable_extensions; do
4383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4384 ac_cv_prog_MKDIR
="mkdir -p"
4385 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4394 MKDIR
=$ac_cv_prog_MKDIR
4395 if test -n "$MKDIR"; then
4396 { echo "$as_me:$LINENO: result: $MKDIR" >&5
4397 echo "${ECHO_T}$MKDIR" >&6; }
4399 { echo "$as_me:$LINENO: result: no" >&5
4400 echo "${ECHO_T}no" >&6; }
4404 if test "$MKDIR" = ""; then
4405 { { echo "$as_me:$LINENO: error: mkdir is required to build AROS. Please install and run configure again." >&5
4406 echo "$as_me: error: mkdir is required to build AROS. Please install and run configure again." >&2;}
4407 { (exit 1); exit 1; }; }
4409 # Extract the first word of "touch", so it can be a program name with args.
4410 set dummy
touch; ac_word
=$2
4411 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4413 if test "${ac_cv_prog_TOUCH+set}" = set; then
4414 echo $ECHO_N "(cached) $ECHO_C" >&6
4416 if test -n "$TOUCH"; then
4417 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
4419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4423 test -z "$as_dir" && as_dir
=.
4424 for ac_exec_ext
in '' $ac_executable_extensions; do
4425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4426 ac_cv_prog_TOUCH
="touch "
4427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4436 TOUCH
=$ac_cv_prog_TOUCH
4437 if test -n "$TOUCH"; then
4438 { echo "$as_me:$LINENO: result: $TOUCH" >&5
4439 echo "${ECHO_T}$TOUCH" >&6; }
4441 { echo "$as_me:$LINENO: result: no" >&5
4442 echo "${ECHO_T}no" >&6; }
4446 if test "$TOUCH" = ""; then
4447 { { echo "$as_me:$LINENO: error: touch is required to build AROS. Please install and run configure again." >&5
4448 echo "$as_me: error: touch is required to build AROS. Please install and run configure again." >&2;}
4449 { (exit 1); exit 1; }; }
4451 # Extract the first word of "sort", so it can be a program name with args.
4452 set dummy
sort; ac_word
=$2
4453 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4454 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4455 if test "${ac_cv_prog_SORT+set}" = set; then
4456 echo $ECHO_N "(cached) $ECHO_C" >&6
4458 if test -n "$SORT"; then
4459 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
4461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4465 test -z "$as_dir" && as_dir
=.
4466 for ac_exec_ext
in '' $ac_executable_extensions; do
4467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4468 ac_cv_prog_SORT
="sort "
4469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4478 SORT
=$ac_cv_prog_SORT
4479 if test -n "$SORT"; then
4480 { echo "$as_me:$LINENO: result: $SORT" >&5
4481 echo "${ECHO_T}$SORT" >&6; }
4483 { echo "$as_me:$LINENO: result: no" >&5
4484 echo "${ECHO_T}no" >&6; }
4488 if test "$SORT" = ""; then
4489 { { echo "$as_me:$LINENO: error: sort is required to build AROS. Please install and run configure again." >&5
4490 echo "$as_me: error: sort is required to build AROS. Please install and run configure again." >&2;}
4491 { (exit 1); exit 1; }; }
4493 # Extract the first word of "uniq", so it can be a program name with args.
4494 set dummy
uniq; ac_word
=$2
4495 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4497 if test "${ac_cv_prog_UNIQ+set}" = set; then
4498 echo $ECHO_N "(cached) $ECHO_C" >&6
4500 if test -n "$UNIQ"; then
4501 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
4503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4507 test -z "$as_dir" && as_dir
=.
4508 for ac_exec_ext
in '' $ac_executable_extensions; do
4509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4510 ac_cv_prog_UNIQ
="uniq "
4511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4520 UNIQ
=$ac_cv_prog_UNIQ
4521 if test -n "$UNIQ"; then
4522 { echo "$as_me:$LINENO: result: $UNIQ" >&5
4523 echo "${ECHO_T}$UNIQ" >&6; }
4525 { echo "$as_me:$LINENO: result: no" >&5
4526 echo "${ECHO_T}no" >&6; }
4530 if test "$UNIQ" = ""; then
4531 { { echo "$as_me:$LINENO: error: uniq is required to build AROS. Please install and run configure again." >&5
4532 echo "$as_me: error: uniq is required to build AROS. Please install and run configure again." >&2;}
4533 { (exit 1); exit 1; }; }
4535 # Extract the first word of "true", so it can be a program name with args.
4536 set dummy true
; ac_word
=$2
4537 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4539 if test "${ac_cv_prog_NOP+set}" = set; then
4540 echo $ECHO_N "(cached) $ECHO_C" >&6
4542 if test -n "$NOP"; then
4543 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
4545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4549 test -z "$as_dir" && as_dir
=.
4550 for ac_exec_ext
in '' $ac_executable_extensions; do
4551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4552 ac_cv_prog_NOP
="true "
4553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4563 if test -n "$NOP"; then
4564 { echo "$as_me:$LINENO: result: $NOP" >&5
4565 echo "${ECHO_T}$NOP" >&6; }
4567 { echo "$as_me:$LINENO: result: no" >&5
4568 echo "${ECHO_T}no" >&6; }
4572 if test "$NOP" = ""; then
4573 { { echo "$as_me:$LINENO: error: true is required to build AROS. Please install and run configure again." >&5
4574 echo "$as_me: error: true is required to build AROS. Please install and run configure again." >&2;}
4575 { (exit 1); exit 1; }; }
4577 # Extract the first word of "cat", so it can be a program name with args.
4578 set dummy
cat; ac_word
=$2
4579 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4581 if test "${ac_cv_prog_CAT+set}" = set; then
4582 echo $ECHO_N "(cached) $ECHO_C" >&6
4584 if test -n "$CAT"; then
4585 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
4587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4591 test -z "$as_dir" && as_dir
=.
4592 for ac_exec_ext
in '' $ac_executable_extensions; do
4593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4594 ac_cv_prog_CAT
="cat "
4595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4605 if test -n "$CAT"; then
4606 { echo "$as_me:$LINENO: result: $CAT" >&5
4607 echo "${ECHO_T}$CAT" >&6; }
4609 { echo "$as_me:$LINENO: result: no" >&5
4610 echo "${ECHO_T}no" >&6; }
4614 if test "$CAT" = ""; then
4615 { { echo "$as_me:$LINENO: error: cat is required to build AROS. Please install and run configure again." >&5
4616 echo "$as_me: error: cat is required to build AROS. Please install and run configure again." >&2;}
4617 { (exit 1); exit 1; }; }
4619 # Extract the first word of "bison", so it can be a program name with args.
4620 set dummy bison
; ac_word
=$2
4621 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4623 if test "${ac_cv_prog_BISON+set}" = set; then
4624 echo $ECHO_N "(cached) $ECHO_C" >&6
4626 if test -n "$BISON"; then
4627 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4633 test -z "$as_dir" && as_dir
=.
4634 for ac_exec_ext
in '' $ac_executable_extensions; do
4635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4636 ac_cv_prog_BISON
="bison "
4637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4646 BISON
=$ac_cv_prog_BISON
4647 if test -n "$BISON"; then
4648 { echo "$as_me:$LINENO: result: $BISON" >&5
4649 echo "${ECHO_T}$BISON" >&6; }
4651 { echo "$as_me:$LINENO: result: no" >&5
4652 echo "${ECHO_T}no" >&6; }
4656 if test "$BISON" = ""; then
4657 { { echo "$as_me:$LINENO: error: bison is required to build AROS. Please install and run configure again." >&5
4658 echo "$as_me: error: bison is required to build AROS. Please install and run configure again." >&2;}
4659 { (exit 1); exit 1; }; }
4661 # Extract the first word of "flex", so it can be a program name with args.
4662 set dummy flex
; ac_word
=$2
4663 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4665 if test "${ac_cv_prog_FLEX+set}" = set; then
4666 echo $ECHO_N "(cached) $ECHO_C" >&6
4668 if test -n "$FLEX"; then
4669 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4675 test -z "$as_dir" && as_dir
=.
4676 for ac_exec_ext
in '' $ac_executable_extensions; do
4677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4678 ac_cv_prog_FLEX
="flex "
4679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4688 FLEX
=$ac_cv_prog_FLEX
4689 if test -n "$FLEX"; then
4690 { echo "$as_me:$LINENO: result: $FLEX" >&5
4691 echo "${ECHO_T}$FLEX" >&6; }
4693 { echo "$as_me:$LINENO: result: no" >&5
4694 echo "${ECHO_T}no" >&6; }
4698 if test "$FLEX" = ""; then
4699 { { echo "$as_me:$LINENO: error: flex is required to build AROS. Please install and run configure again." >&5
4700 echo "$as_me: error: flex is required to build AROS. Please install and run configure again." >&2;}
4701 { (exit 1); exit 1; }; }
4703 # Extract the first word of "pngtopnm", so it can be a program name with args.
4704 set dummy pngtopnm
; ac_word
=$2
4705 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4707 if test "${ac_cv_prog_PNGTOPNM+set}" = set; then
4708 echo $ECHO_N "(cached) $ECHO_C" >&6
4710 if test -n "$PNGTOPNM"; then
4711 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
4713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4717 test -z "$as_dir" && as_dir
=.
4718 for ac_exec_ext
in '' $ac_executable_extensions; do
4719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4720 ac_cv_prog_PNGTOPNM
="pngtopnm "
4721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4730 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
4731 if test -n "$PNGTOPNM"; then
4732 { echo "$as_me:$LINENO: result: $PNGTOPNM" >&5
4733 echo "${ECHO_T}$PNGTOPNM" >&6; }
4735 { echo "$as_me:$LINENO: result: no" >&5
4736 echo "${ECHO_T}no" >&6; }
4740 if test "$PNGTOPNM" = ""; then
4741 { { echo "$as_me:$LINENO: error: pngtopnm is required to build AROS. Please install and run configure again." >&5
4742 echo "$as_me: error: pngtopnm is required to build AROS. Please install and run configure again." >&2;}
4743 { (exit 1); exit 1; }; }
4745 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
4746 set dummy ppmtoilbm
; ac_word
=$2
4747 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4749 if test "${ac_cv_prog_PPMTOILBM+set}" = set; then
4750 echo $ECHO_N "(cached) $ECHO_C" >&6
4752 if test -n "$PPMTOILBM"; then
4753 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
4755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4759 test -z "$as_dir" && as_dir
=.
4760 for ac_exec_ext
in '' $ac_executable_extensions; do
4761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4762 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
4763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4772 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
4773 if test -n "$PPMTOILBM"; then
4774 { echo "$as_me:$LINENO: result: $PPMTOILBM" >&5
4775 echo "${ECHO_T}$PPMTOILBM" >&6; }
4777 { echo "$as_me:$LINENO: result: no" >&5
4778 echo "${ECHO_T}no" >&6; }
4782 if test "$PPMTOILBM" = ""; then
4783 { { echo "$as_me:$LINENO: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&5
4784 echo "$as_me: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&2;}
4785 { (exit 1); exit 1; }; }
4787 # Extract the first word of "sed", so it can be a program name with args.
4788 set dummy
sed; ac_word
=$2
4789 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4791 if test "${ac_cv_prog_SED+set}" = set; then
4792 echo $ECHO_N "(cached) $ECHO_C" >&6
4794 if test -n "$SED"; then
4795 ac_cv_prog_SED
="$SED" # Let the user override the test.
4797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4801 test -z "$as_dir" && as_dir
=.
4802 for ac_exec_ext
in '' $ac_executable_extensions; do
4803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4804 ac_cv_prog_SED
="sed "
4805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4815 if test -n "$SED"; then
4816 { echo "$as_me:$LINENO: result: $SED" >&5
4817 echo "${ECHO_T}$SED" >&6; }
4819 { echo "$as_me:$LINENO: result: no" >&5
4820 echo "${ECHO_T}no" >&6; }
4824 if test "$SED" = ""; then
4825 { { echo "$as_me:$LINENO: error: sed is required to build AROS. Please install and run configure again." >&5
4826 echo "$as_me: error: sed is required to build AROS. Please install and run configure again." >&2;}
4827 { (exit 1); exit 1; }; }
4829 # Extract the first word of "chmod", so it can be a program name with args.
4830 set dummy
chmod; ac_word
=$2
4831 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4833 if test "${ac_cv_prog_CHMOD+set}" = set; then
4834 echo $ECHO_N "(cached) $ECHO_C" >&6
4836 if test -n "$CHMOD"; then
4837 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
4839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4843 test -z "$as_dir" && as_dir
=.
4844 for ac_exec_ext
in '' $ac_executable_extensions; do
4845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4846 ac_cv_prog_CHMOD
="chmod "
4847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4856 CHMOD
=$ac_cv_prog_CHMOD
4857 if test -n "$CHMOD"; then
4858 { echo "$as_me:$LINENO: result: $CHMOD" >&5
4859 echo "${ECHO_T}$CHMOD" >&6; }
4861 { echo "$as_me:$LINENO: result: no" >&5
4862 echo "${ECHO_T}no" >&6; }
4866 if test "$CHMOD" = ""; then
4867 { { echo "$as_me:$LINENO: error: chmod is required to build AROS. Please install and run configure again." >&5
4868 echo "$as_me: error: chmod is required to build AROS. Please install and run configure again." >&2;}
4869 { (exit 1); exit 1; }; }
4876 if test -n "$PYTHON"; then
4877 # If the user set $PYTHON, use it and don't search something else.
4878 { echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.2.1" >&5
4879 echo $ECHO_N "checking whether $PYTHON version >= 2.2.1... $ECHO_C" >&6; }
4880 prog
="import sys, string
4881 # split strings by '.' and convert to numeric. Append some zeros
4882 # because we need at least 4 digits for the hex conversion.
4883 minver = map(int, string.split('2.2.1', '.')) + [0, 0, 0]
4885 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
4886 sys.exit(sys.hexversion < minverhex)"
4887 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
4888 ($PYTHON -c "$prog") >&5 2>&5
4890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4891 (exit $ac_status); }; then
4892 { echo "$as_me:$LINENO: result: yes" >&5
4893 echo "${ECHO_T}yes" >&6; }
4895 { { echo "$as_me:$LINENO: error: too old" >&5
4896 echo "$as_me: error: too old" >&2;}
4897 { (exit 1); exit 1; }; }
4900 am_display_PYTHON
=$PYTHON
4902 # Otherwise, try each interpreter until we find one that satisfies
4904 { echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.2.1" >&5
4905 echo $ECHO_N "checking for a Python interpreter with version >= 2.2.1... $ECHO_C" >&6; }
4906 if test "${am_cv_pathless_PYTHON+set}" = set; then
4907 echo $ECHO_N "(cached) $ECHO_C" >&6
4910 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
4911 test "$am_cv_pathless_PYTHON" = none
&& break
4912 prog
="import sys, string
4913 # split strings by '.' and convert to numeric. Append some zeros
4914 # because we need at least 4 digits for the hex conversion.
4915 minver = map(int, string.split('2.2.1', '.')) + [0, 0, 0]
4917 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
4918 sys.exit(sys.hexversion < minverhex)"
4919 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
4920 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
4922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4923 (exit $ac_status); }; then
4929 { echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
4930 echo "${ECHO_T}$am_cv_pathless_PYTHON" >&6; }
4931 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
4932 if test "$am_cv_pathless_PYTHON" = none
; then
4935 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
4936 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
4937 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4939 if test "${ac_cv_path_PYTHON+set}" = set; then
4940 echo $ECHO_N "(cached) $ECHO_C" >&6
4944 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
4947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4951 test -z "$as_dir" && as_dir
=.
4952 for ac_exec_ext
in '' $ac_executable_extensions; do
4953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4954 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
4955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4965 PYTHON
=$ac_cv_path_PYTHON
4966 if test -n "$PYTHON"; then
4967 { echo "$as_me:$LINENO: result: $PYTHON" >&5
4968 echo "${ECHO_T}$PYTHON" >&6; }
4970 { echo "$as_me:$LINENO: result: no" >&5
4971 echo "${ECHO_T}no" >&6; }
4976 am_display_PYTHON
=$am_cv_pathless_PYTHON
4980 if test "$PYTHON" = :; then
4981 { { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
4982 echo "$as_me: error: no suitable Python interpreter found" >&2;}
4983 { (exit 1); exit 1; }; }
4987 { echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
4988 echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; }
4989 if test "${am_cv_python_version+set}" = set; then
4990 echo $ECHO_N "(cached) $ECHO_C" >&6
4992 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
4994 { echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
4995 echo "${ECHO_T}$am_cv_python_version" >&6; }
4996 PYTHON_VERSION
=$am_cv_python_version
5000 PYTHON_PREFIX
='${prefix}'
5002 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5006 { echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
5007 echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; }
5008 if test "${am_cv_python_platform+set}" = set; then
5009 echo $ECHO_N "(cached) $ECHO_C" >&6
5011 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
5013 { echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
5014 echo "${ECHO_T}$am_cv_python_platform" >&6; }
5015 PYTHON_PLATFORM
=$am_cv_python_platform
5020 { echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
5021 echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6; }
5022 if test "${am_cv_python_pythondir+set}" = set; then
5023 echo $ECHO_N "(cached) $ECHO_C" >&6
5025 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5026 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5028 { echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
5029 echo "${ECHO_T}$am_cv_python_pythondir" >&6; }
5030 pythondir
=$am_cv_python_pythondir
5034 pkgpythondir
=\
${pythondir}/$PACKAGE
5037 { echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
5038 echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6; }
5039 if test "${am_cv_python_pyexecdir+set}" = set; then
5040 echo $ECHO_N "(cached) $ECHO_C" >&6
5042 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5043 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5045 { echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
5046 echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; }
5047 pyexecdir
=$am_cv_python_pyexecdir
5051 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5069 # Check for some includes for the X11 HIDD and the kernel
5072 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5073 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5074 if test "${ac_cv_path_GREP+set}" = set; then
5075 echo $ECHO_N "(cached) $ECHO_C" >&6
5077 # Extract the first word of "grep ggrep" to use in msg output
5078 if test -z "$GREP"; then
5079 set dummy
grep ggrep
; ac_prog_name
=$2
5080 if test "${ac_cv_path_GREP+set}" = set; then
5081 echo $ECHO_N "(cached) $ECHO_C" >&6
5083 ac_path_GREP_found
=false
5084 # Loop through the user's path and test for each of PROGNAME-LIST
5085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5086 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5089 test -z "$as_dir" && as_dir
=.
5090 for ac_prog
in grep ggrep
; do
5091 for ac_exec_ext
in '' $ac_executable_extensions; do
5092 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5093 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5094 # Check for GNU ac_path_GREP and select it if it is found.
5095 # Check for GNU $ac_path_GREP
5096 case `"$ac_path_GREP" --version 2>&1` in
5098 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5101 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5104 cat "conftest.in" "conftest.in" >"conftest.tmp"
5105 mv "conftest.tmp" "conftest.in"
5106 cp "conftest.in" "conftest.nl"
5107 echo 'GREP' >> "conftest.nl"
5108 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5109 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5110 ac_count
=`expr $ac_count + 1`
5111 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5112 # Best one so far, save it but keep looking for a better one
5113 ac_cv_path_GREP
="$ac_path_GREP"
5114 ac_path_GREP_max
=$ac_count
5116 # 10*(2^10) chars as input seems more than enough
5117 test $ac_count -gt 10 && break
5119 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5123 $ac_path_GREP_found && break 3
5133 GREP
="$ac_cv_path_GREP"
5134 if test -z "$GREP"; then
5135 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5136 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5137 { (exit 1); exit 1; }; }
5141 ac_cv_path_GREP
=$GREP
5146 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5147 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5148 GREP
="$ac_cv_path_GREP"
5151 { echo "$as_me:$LINENO: checking for egrep" >&5
5152 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5153 if test "${ac_cv_path_EGREP+set}" = set; then
5154 echo $ECHO_N "(cached) $ECHO_C" >&6
5156 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5157 then ac_cv_path_EGREP
="$GREP -E"
5159 # Extract the first word of "egrep" to use in msg output
5160 if test -z "$EGREP"; then
5161 set dummy
egrep; ac_prog_name
=$2
5162 if test "${ac_cv_path_EGREP+set}" = set; then
5163 echo $ECHO_N "(cached) $ECHO_C" >&6
5165 ac_path_EGREP_found
=false
5166 # Loop through the user's path and test for each of PROGNAME-LIST
5167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5168 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5171 test -z "$as_dir" && as_dir
=.
5172 for ac_prog
in egrep; do
5173 for ac_exec_ext
in '' $ac_executable_extensions; do
5174 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5175 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5176 # Check for GNU ac_path_EGREP and select it if it is found.
5177 # Check for GNU $ac_path_EGREP
5178 case `"$ac_path_EGREP" --version 2>&1` in
5180 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5183 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5186 cat "conftest.in" "conftest.in" >"conftest.tmp"
5187 mv "conftest.tmp" "conftest.in"
5188 cp "conftest.in" "conftest.nl"
5189 echo 'EGREP' >> "conftest.nl"
5190 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5191 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5192 ac_count
=`expr $ac_count + 1`
5193 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5194 # Best one so far, save it but keep looking for a better one
5195 ac_cv_path_EGREP
="$ac_path_EGREP"
5196 ac_path_EGREP_max
=$ac_count
5198 # 10*(2^10) chars as input seems more than enough
5199 test $ac_count -gt 10 && break
5201 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5205 $ac_path_EGREP_found && break 3
5215 EGREP
="$ac_cv_path_EGREP"
5216 if test -z "$EGREP"; then
5217 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5218 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5219 { (exit 1); exit 1; }; }
5223 ac_cv_path_EGREP
=$EGREP
5229 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5230 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5231 EGREP
="$ac_cv_path_EGREP"
5234 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5235 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5236 if test "${ac_cv_header_stdc+set}" = set; then
5237 echo $ECHO_N "(cached) $ECHO_C" >&6
5239 cat >conftest.
$ac_ext <<_ACEOF
5242 cat confdefs.h
>>conftest.
$ac_ext
5243 cat >>conftest.
$ac_ext <<_ACEOF
5244 /* end confdefs.h. */
5258 rm -f conftest.
$ac_objext
5259 if { (ac_try
="$ac_compile"
5261 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5262 *) ac_try_echo=$ac_try;;
5264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5265 (eval "$ac_compile") 2>conftest.er1
5267 grep -v '^ *+' conftest.er1 >conftest.err
5269 cat conftest.err >&5
5270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5271 (exit $ac_status); } && {
5272 test -z "$ac_c_werror_flag" ||
5273 test ! -s conftest.err
5274 } && test -s conftest.$ac_objext; then
5275 ac_cv_header_stdc=yes
5277 echo "$as_me: failed program was:" >&5
5278 sed 's/^/| /' conftest.$ac_ext >&5
5280 ac_cv_header_stdc=no
5283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5285 if test $ac_cv_header_stdc = yes; then
5286 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5287 cat >conftest.$ac_ext <<_ACEOF
5290 cat confdefs.h >>conftest.$ac_ext
5291 cat >>conftest.$ac_ext <<_ACEOF
5292 /* end confdefs.h. */
5296 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5297 $EGREP "memchr" >/dev/null 2>&1; then
5300 ac_cv_header_stdc=no
5306 if test $ac_cv_header_stdc = yes; then
5307 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5308 cat >conftest.$ac_ext <<_ACEOF
5311 cat confdefs.h >>conftest.$ac_ext
5312 cat >>conftest.$ac_ext <<_ACEOF
5313 /* end confdefs.h. */
5317 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5318 $EGREP "free" >/dev/null 2>&1; then
5321 ac_cv_header_stdc=no
5327 if test $ac_cv_header_stdc = yes; then
5328 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5329 if test "$cross_compiling" = yes; then
5332 cat >conftest.$ac_ext <<_ACEOF
5335 cat confdefs.h >>conftest.$ac_ext
5336 cat >>conftest.$ac_ext <<_ACEOF
5337 /* end confdefs.h. */
5340 #if ((' ' & 0x0FF) == 0x020)
5341 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5342 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5344 # define ISLOWER(c) \
5345 (('a' <= (c) && (c) <= 'i') \
5346 || ('j' <= (c) && (c) <= 'r') \
5347 || ('s' <= (c) && (c) <= 'z'))
5348 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5351 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5356 for (i = 0; i < 256; i++)
5357 if (XOR (islower (i), ISLOWER (i))
5358 || toupper (i) != TOUPPER (i))
5363 rm -f conftest$ac_exeext
5364 if { (ac_try="$ac_link"
5366 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5367 *) ac_try_echo
=$ac_try;;
5369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5370 (eval "$ac_link") 2>&5
5372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5373 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5374 { (case "(($ac_try" in
5375 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5376 *) ac_try_echo=$ac_try;;
5378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5379 (eval "$ac_try") 2>&5
5381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5382 (exit $ac_status); }; }; then
5385 echo "$as_me: program exited with status $ac_status" >&5
5386 echo "$as_me: failed program was:" >&5
5387 sed 's/^/| /' conftest.$ac_ext >&5
5390 ac_cv_header_stdc=no
5392 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5398 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5399 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5400 if test $ac_cv_header_stdc = yes; then
5402 cat >>confdefs.h <<\_ACEOF
5403 #define STDC_HEADERS 1
5408 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5418 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5419 inttypes.h stdint.h unistd.h
5421 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5422 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5423 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5424 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5425 echo $ECHO_N "(cached) $ECHO_C" >&6
5427 cat >conftest.$ac_ext <<_ACEOF
5430 cat confdefs.h >>conftest.$ac_ext
5431 cat >>conftest.$ac_ext <<_ACEOF
5432 /* end confdefs.h. */
5433 $ac_includes_default
5435 #include <$ac_header>
5437 rm -f conftest.$ac_objext
5438 if { (ac_try="$ac_compile"
5440 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5441 *) ac_try_echo
=$ac_try;;
5443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5444 (eval "$ac_compile") 2>conftest.er1
5446 grep -v '^ *+' conftest.er1
>conftest.err
5448 cat conftest.err
>&5
5449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5450 (exit $ac_status); } && {
5451 test -z "$ac_c_werror_flag" ||
5452 test ! -s conftest.err
5453 } && test -s conftest.
$ac_objext; then
5454 eval "$as_ac_Header=yes"
5456 echo "$as_me: failed program was:" >&5
5457 sed 's/^/| /' conftest.
$ac_ext >&5
5459 eval "$as_ac_Header=no"
5462 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5464 ac_res
=`eval echo '${'$as_ac_Header'}'`
5465 { echo "$as_me:$LINENO: result: $ac_res" >&5
5466 echo "${ECHO_T}$ac_res" >&6; }
5467 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5468 cat >>confdefs.h
<<_ACEOF
5469 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5486 for ac_header
in sys
/ipc.h sys
/shm.h \
5487 sys
/mmap.h sys
/mman.h sysexits.h \
5488 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
5491 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5492 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5493 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5494 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5495 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5496 echo $ECHO_N "(cached) $ECHO_C" >&6
5498 ac_res
=`eval echo '${'$as_ac_Header'}'`
5499 { echo "$as_me:$LINENO: result: $ac_res" >&5
5500 echo "${ECHO_T}$ac_res" >&6; }
5502 # Is the header compilable?
5503 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5504 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5505 cat >conftest.
$ac_ext <<_ACEOF
5508 cat confdefs.h
>>conftest.
$ac_ext
5509 cat >>conftest.
$ac_ext <<_ACEOF
5510 /* end confdefs.h. */
5511 $ac_includes_default
5512 #include <$ac_header>
5514 rm -f conftest.
$ac_objext
5515 if { (ac_try
="$ac_compile"
5517 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5518 *) ac_try_echo=$ac_try;;
5520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5521 (eval "$ac_compile") 2>conftest.er1
5523 grep -v '^ *+' conftest.er1 >conftest.err
5525 cat conftest.err >&5
5526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5527 (exit $ac_status); } && {
5528 test -z "$ac_c_werror_flag" ||
5529 test ! -s conftest.err
5530 } && test -s conftest.$ac_objext; then
5531 ac_header_compiler=yes
5533 echo "$as_me: failed program was:" >&5
5534 sed 's/^/| /' conftest.$ac_ext >&5
5536 ac_header_compiler=no
5539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5540 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5541 echo "${ECHO_T}$ac_header_compiler" >&6; }
5543 # Is the header present?
5544 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5545 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5546 cat >conftest.$ac_ext <<_ACEOF
5549 cat confdefs.h >>conftest.$ac_ext
5550 cat >>conftest.$ac_ext <<_ACEOF
5551 /* end confdefs.h. */
5552 #include <$ac_header>
5554 if { (ac_try="$ac_cpp conftest.$ac_ext"
5556 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5557 *) ac_try_echo
=$ac_try;;
5559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5560 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5562 grep -v '^ *+' conftest.er1
>conftest.err
5564 cat conftest.err
>&5
5565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5566 (exit $ac_status); } >/dev
/null
&& {
5567 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5568 test ! -s conftest.err
5570 ac_header_preproc
=yes
5572 echo "$as_me: failed program was:" >&5
5573 sed 's/^/| /' conftest.
$ac_ext >&5
5575 ac_header_preproc
=no
5578 rm -f conftest.err conftest.
$ac_ext
5579 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5580 echo "${ECHO_T}$ac_header_preproc" >&6; }
5582 # So? What about this header?
5583 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5585 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5586 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5587 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5588 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5589 ac_header_preproc
=yes
5592 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5593 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5594 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5595 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5596 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5597 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5598 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5599 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5600 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5601 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5602 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5603 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5607 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5608 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5609 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5610 echo $ECHO_N "(cached) $ECHO_C" >&6
5612 eval "$as_ac_Header=\$ac_header_preproc"
5614 ac_res
=`eval echo '${'$as_ac_Header'}'`
5615 { echo "$as_me:$LINENO: result: $ac_res" >&5
5616 echo "${ECHO_T}$ac_res" >&6; }
5619 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5620 cat >>confdefs.h
<<_ACEOF
5621 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5630 for ac_header
in sys
/mount.h
5632 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5633 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5634 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5635 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5636 echo $ECHO_N "(cached) $ECHO_C" >&6
5638 cat >conftest.
$ac_ext <<_ACEOF
5641 cat confdefs.h
>>conftest.
$ac_ext
5642 cat >>conftest.
$ac_ext <<_ACEOF
5643 /* end confdefs.h. */
5644 #include <sys/param.h>
5646 #include <$ac_header>
5648 rm -f conftest.
$ac_objext
5649 if { (ac_try
="$ac_compile"
5651 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5652 *) ac_try_echo=$ac_try;;
5654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5655 (eval "$ac_compile") 2>conftest.er1
5657 grep -v '^ *+' conftest.er1 >conftest.err
5659 cat conftest.err >&5
5660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5661 (exit $ac_status); } && {
5662 test -z "$ac_c_werror_flag" ||
5663 test ! -s conftest.err
5664 } && test -s conftest.$ac_objext; then
5665 eval "$as_ac_Header=yes"
5667 echo "$as_me: failed program was:" >&5
5668 sed 's/^/| /' conftest.$ac_ext >&5
5670 eval "$as_ac_Header=no"
5673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5675 ac_res=`eval echo '${'$as_ac_Header'}'`
5676 { echo "$as_me:$LINENO: result: $ac_res" >&5
5677 echo "${ECHO_T}$ac_res" >&6; }
5678 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5679 cat >>confdefs.h <<_ACEOF
5680 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5694 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
5695 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
5696 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
5697 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
5698 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5699 echo $ECHO_N "(cached) $ECHO_C" >&6
5701 cat >conftest.$ac_ext <<_ACEOF
5704 cat confdefs.h >>conftest.$ac_ext
5705 cat >>conftest.$ac_ext <<_ACEOF
5706 /* end confdefs.h. */
5707 #include <sys/types.h>
5719 rm -f conftest.$ac_objext
5720 if { (ac_try="$ac_compile"
5722 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5723 *) ac_try_echo
=$ac_try;;
5725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5726 (eval "$ac_compile") 2>conftest.er1
5728 grep -v '^ *+' conftest.er1
>conftest.err
5730 cat conftest.err
>&5
5731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5732 (exit $ac_status); } && {
5733 test -z "$ac_c_werror_flag" ||
5734 test ! -s conftest.err
5735 } && test -s conftest.
$ac_objext; then
5736 eval "$as_ac_Header=yes"
5738 echo "$as_me: failed program was:" >&5
5739 sed 's/^/| /' conftest.
$ac_ext >&5
5741 eval "$as_ac_Header=no"
5744 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5746 ac_res
=`eval echo '${'$as_ac_Header'}'`
5747 { echo "$as_me:$LINENO: result: $ac_res" >&5
5748 echo "${ECHO_T}$ac_res" >&6; }
5749 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5750 cat >>confdefs.h
<<_ACEOF
5751 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5754 ac_header_dirent
=$ac_hdr; break
5758 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5759 if test $ac_header_dirent = dirent.h
; then
5760 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
5761 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
5762 if test "${ac_cv_search_opendir+set}" = set; then
5763 echo $ECHO_N "(cached) $ECHO_C" >&6
5765 ac_func_search_save_LIBS
=$LIBS
5766 cat >conftest.
$ac_ext <<_ACEOF
5769 cat confdefs.h
>>conftest.
$ac_ext
5770 cat >>conftest.
$ac_ext <<_ACEOF
5771 /* end confdefs.h. */
5773 /* Override any GCC internal prototype to avoid an error.
5774 Use char because int might match the return type of a GCC
5775 builtin and then its argument prototype would still apply. */
5788 for ac_lib
in '' dir
; do
5789 if test -z "$ac_lib"; then
5790 ac_res
="none required"
5793 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5795 rm -f conftest.
$ac_objext conftest
$ac_exeext
5796 if { (ac_try
="$ac_link"
5798 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5799 *) ac_try_echo=$ac_try;;
5801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5802 (eval "$ac_link") 2>conftest.er1
5804 grep -v '^ *+' conftest.er1 >conftest.err
5806 cat conftest.err >&5
5807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5808 (exit $ac_status); } && {
5809 test -z "$ac_c_werror_flag" ||
5810 test ! -s conftest.err
5811 } && test -s conftest$ac_exeext &&
5812 $as_test_x conftest$ac_exeext; then
5813 ac_cv_search_opendir=$ac_res
5815 echo "$as_me: failed program was:" >&5
5816 sed 's/^/| /' conftest.$ac_ext >&5
5821 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5823 if test "${ac_cv_search_opendir+set}" = set; then
5827 if test "${ac_cv_search_opendir+set}" = set; then
5830 ac_cv_search_opendir=no
5833 LIBS=$ac_func_search_save_LIBS
5835 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5836 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
5837 ac_res=$ac_cv_search_opendir
5838 if test "$ac_res" != no; then
5839 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5844 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
5845 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
5846 if test "${ac_cv_search_opendir+set}" = set; then
5847 echo $ECHO_N "(cached) $ECHO_C" >&6
5849 ac_func_search_save_LIBS=$LIBS
5850 cat >conftest.$ac_ext <<_ACEOF
5853 cat confdefs.h >>conftest.$ac_ext
5854 cat >>conftest.$ac_ext <<_ACEOF
5855 /* end confdefs.h. */
5857 /* Override any GCC internal prototype to avoid an error.
5858 Use char because int might match the return type of a GCC
5859 builtin and then its argument prototype would still apply. */
5872 for ac_lib in '' x; do
5873 if test -z "$ac_lib"; then
5874 ac_res="none required"
5877 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5879 rm -f conftest.$ac_objext conftest$ac_exeext
5880 if { (ac_try="$ac_link"
5882 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5883 *) ac_try_echo
=$ac_try;;
5885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5886 (eval "$ac_link") 2>conftest.er1
5888 grep -v '^ *+' conftest.er1
>conftest.err
5890 cat conftest.err
>&5
5891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5892 (exit $ac_status); } && {
5893 test -z "$ac_c_werror_flag" ||
5894 test ! -s conftest.err
5895 } && test -s conftest
$ac_exeext &&
5896 $as_test_x conftest
$ac_exeext; then
5897 ac_cv_search_opendir
=$ac_res
5899 echo "$as_me: failed program was:" >&5
5900 sed 's/^/| /' conftest.
$ac_ext >&5
5905 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5907 if test "${ac_cv_search_opendir+set}" = set; then
5911 if test "${ac_cv_search_opendir+set}" = set; then
5914 ac_cv_search_opendir
=no
5917 LIBS
=$ac_func_search_save_LIBS
5919 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5920 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
5921 ac_res
=$ac_cv_search_opendir
5922 if test "$ac_res" != no
; then
5923 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5929 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
5930 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
5931 if test "${ac_cv_header_stat_broken+set}" = set; then
5932 echo $ECHO_N "(cached) $ECHO_C" >&6
5934 cat >conftest.
$ac_ext <<_ACEOF
5937 cat confdefs.h
>>conftest.
$ac_ext
5938 cat >>conftest.
$ac_ext <<_ACEOF
5939 /* end confdefs.h. */
5940 #include <sys/types.h>
5941 #include <sys/stat.h>
5943 #if defined S_ISBLK && defined S_IFDIR
5944 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5947 #if defined S_ISBLK && defined S_IFCHR
5948 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5951 #if defined S_ISLNK && defined S_IFREG
5952 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5955 #if defined S_ISSOCK && defined S_IFREG
5956 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5960 rm -f conftest.
$ac_objext
5961 if { (ac_try
="$ac_compile"
5963 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5964 *) ac_try_echo=$ac_try;;
5966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5967 (eval "$ac_compile") 2>conftest.er1
5969 grep -v '^ *+' conftest.er1 >conftest.err
5971 cat conftest.err >&5
5972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5973 (exit $ac_status); } && {
5974 test -z "$ac_c_werror_flag" ||
5975 test ! -s conftest.err
5976 } && test -s conftest.$ac_objext; then
5977 ac_cv_header_stat_broken=no
5979 echo "$as_me: failed program was:" >&5
5980 sed 's/^/| /' conftest.$ac_ext >&5
5982 ac_cv_header_stat_broken=yes
5985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5987 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
5988 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
5989 if test $ac_cv_header_stat_broken = yes; then
5991 cat >>confdefs.h <<\_ACEOF
5992 #define STAT_MACROS_BROKEN 1
5997 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5998 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5999 if test "${ac_cv_header_stdc+set}" = set; then
6000 echo $ECHO_N "(cached) $ECHO_C" >&6
6002 cat >conftest.$ac_ext <<_ACEOF
6005 cat confdefs.h >>conftest.$ac_ext
6006 cat >>conftest.$ac_ext <<_ACEOF
6007 /* end confdefs.h. */
6021 rm -f conftest.$ac_objext
6022 if { (ac_try="$ac_compile"
6024 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6025 *) ac_try_echo
=$ac_try;;
6027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6028 (eval "$ac_compile") 2>conftest.er1
6030 grep -v '^ *+' conftest.er1
>conftest.err
6032 cat conftest.err
>&5
6033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6034 (exit $ac_status); } && {
6035 test -z "$ac_c_werror_flag" ||
6036 test ! -s conftest.err
6037 } && test -s conftest.
$ac_objext; then
6038 ac_cv_header_stdc
=yes
6040 echo "$as_me: failed program was:" >&5
6041 sed 's/^/| /' conftest.
$ac_ext >&5
6043 ac_cv_header_stdc
=no
6046 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6048 if test $ac_cv_header_stdc = yes; then
6049 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6050 cat >conftest.
$ac_ext <<_ACEOF
6053 cat confdefs.h
>>conftest.
$ac_ext
6054 cat >>conftest.
$ac_ext <<_ACEOF
6055 /* end confdefs.h. */
6059 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6060 $EGREP "memchr" >/dev
/null
2>&1; then
6063 ac_cv_header_stdc
=no
6069 if test $ac_cv_header_stdc = yes; then
6070 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6071 cat >conftest.
$ac_ext <<_ACEOF
6074 cat confdefs.h
>>conftest.
$ac_ext
6075 cat >>conftest.
$ac_ext <<_ACEOF
6076 /* end confdefs.h. */
6080 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6081 $EGREP "free" >/dev
/null
2>&1; then
6084 ac_cv_header_stdc
=no
6090 if test $ac_cv_header_stdc = yes; then
6091 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6092 if test "$cross_compiling" = yes; then
6095 cat >conftest.
$ac_ext <<_ACEOF
6098 cat confdefs.h
>>conftest.
$ac_ext
6099 cat >>conftest.
$ac_ext <<_ACEOF
6100 /* end confdefs.h. */
6103 #if ((' ' & 0x0FF) == 0x020)
6104 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6105 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6107 # define ISLOWER(c) \
6108 (('a' <= (c) && (c) <= 'i') \
6109 || ('j' <= (c) && (c) <= 'r') \
6110 || ('s' <= (c) && (c) <= 'z'))
6111 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6114 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6119 for (i = 0; i < 256; i++)
6120 if (XOR (islower (i), ISLOWER (i))
6121 || toupper (i) != TOUPPER (i))
6126 rm -f conftest
$ac_exeext
6127 if { (ac_try
="$ac_link"
6129 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6130 *) ac_try_echo=$ac_try;;
6132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6133 (eval "$ac_link") 2>&5
6135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6136 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6137 { (case "(($ac_try" in
6138 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6139 *) ac_try_echo
=$ac_try;;
6141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6142 (eval "$ac_try") 2>&5
6144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6145 (exit $ac_status); }; }; then
6148 echo "$as_me: program exited with status $ac_status" >&5
6149 echo "$as_me: failed program was:" >&5
6150 sed 's/^/| /' conftest.
$ac_ext >&5
6153 ac_cv_header_stdc
=no
6155 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6161 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6162 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6163 if test $ac_cv_header_stdc = yes; then
6165 cat >>confdefs.h
<<\_ACEOF
6166 #define STDC_HEADERS 1
6171 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
6172 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
6173 if test "${ac_cv_header_sys_wait_h+set}" = set; then
6174 echo $ECHO_N "(cached) $ECHO_C" >&6
6176 cat >conftest.
$ac_ext <<_ACEOF
6179 cat confdefs.h
>>conftest.
$ac_ext
6180 cat >>conftest.
$ac_ext <<_ACEOF
6181 /* end confdefs.h. */
6182 #include <sys/types.h>
6183 #include <sys/wait.h>
6185 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6188 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6196 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6201 rm -f conftest.
$ac_objext
6202 if { (ac_try
="$ac_compile"
6204 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6205 *) ac_try_echo=$ac_try;;
6207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6208 (eval "$ac_compile") 2>conftest.er1
6210 grep -v '^ *+' conftest.er1 >conftest.err
6212 cat conftest.err >&5
6213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6214 (exit $ac_status); } && {
6215 test -z "$ac_c_werror_flag" ||
6216 test ! -s conftest.err
6217 } && test -s conftest.$ac_objext; then
6218 ac_cv_header_sys_wait_h=yes
6220 echo "$as_me: failed program was:" >&5
6221 sed 's/^/| /' conftest.$ac_ext >&5
6223 ac_cv_header_sys_wait_h=no
6226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6228 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
6229 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
6230 if test $ac_cv_header_sys_wait_h = yes; then
6232 cat >>confdefs.h <<\_ACEOF
6233 #define HAVE_SYS_WAIT_H 1
6238 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6239 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
6240 if test "${ac_cv_header_time+set}" = set; then
6241 echo $ECHO_N "(cached) $ECHO_C" >&6
6243 cat >conftest.$ac_ext <<_ACEOF
6246 cat confdefs.h >>conftest.$ac_ext
6247 cat >>conftest.$ac_ext <<_ACEOF
6248 /* end confdefs.h. */
6249 #include <sys/types.h>
6250 #include <sys/time.h>
6256 if ((struct tm *) 0)
6262 rm -f conftest.$ac_objext
6263 if { (ac_try="$ac_compile"
6265 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6266 *) ac_try_echo
=$ac_try;;
6268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6269 (eval "$ac_compile") 2>conftest.er1
6271 grep -v '^ *+' conftest.er1
>conftest.err
6273 cat conftest.err
>&5
6274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6275 (exit $ac_status); } && {
6276 test -z "$ac_c_werror_flag" ||
6277 test ! -s conftest.err
6278 } && test -s conftest.
$ac_objext; then
6279 ac_cv_header_time
=yes
6281 echo "$as_me: failed program was:" >&5
6282 sed 's/^/| /' conftest.
$ac_ext >&5
6284 ac_cv_header_time
=no
6287 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6289 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6290 echo "${ECHO_T}$ac_cv_header_time" >&6; }
6291 if test $ac_cv_header_time = yes; then
6293 cat >>confdefs.h
<<\_ACEOF
6294 #define TIME_WITH_SYS_TIME 1
6299 { echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6300 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6; }
6301 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6302 echo $ECHO_N "(cached) $ECHO_C" >&6
6304 cat >conftest.
$ac_ext <<_ACEOF
6307 cat confdefs.h
>>conftest.
$ac_ext
6308 cat >>conftest.
$ac_ext <<_ACEOF
6309 /* end confdefs.h. */
6310 $ac_includes_default
6314 static struct stat ac_aggr;
6315 if (ac_aggr.st_blksize)
6321 rm -f conftest.
$ac_objext
6322 if { (ac_try
="$ac_compile"
6324 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6325 *) ac_try_echo=$ac_try;;
6327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6328 (eval "$ac_compile") 2>conftest.er1
6330 grep -v '^ *+' conftest.er1 >conftest.err
6332 cat conftest.err >&5
6333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6334 (exit $ac_status); } && {
6335 test -z "$ac_c_werror_flag" ||
6336 test ! -s conftest.err
6337 } && test -s conftest.$ac_objext; then
6338 ac_cv_member_struct_stat_st_blksize=yes
6340 echo "$as_me: failed program was:" >&5
6341 sed 's/^/| /' conftest.$ac_ext >&5
6343 cat >conftest.$ac_ext <<_ACEOF
6346 cat confdefs.h >>conftest.$ac_ext
6347 cat >>conftest.$ac_ext <<_ACEOF
6348 /* end confdefs.h. */
6349 $ac_includes_default
6353 static struct stat ac_aggr;
6354 if (sizeof ac_aggr.st_blksize)
6360 rm -f conftest.$ac_objext
6361 if { (ac_try="$ac_compile"
6363 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6364 *) ac_try_echo
=$ac_try;;
6366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6367 (eval "$ac_compile") 2>conftest.er1
6369 grep -v '^ *+' conftest.er1
>conftest.err
6371 cat conftest.err
>&5
6372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6373 (exit $ac_status); } && {
6374 test -z "$ac_c_werror_flag" ||
6375 test ! -s conftest.err
6376 } && test -s conftest.
$ac_objext; then
6377 ac_cv_member_struct_stat_st_blksize
=yes
6379 echo "$as_me: failed program was:" >&5
6380 sed 's/^/| /' conftest.
$ac_ext >&5
6382 ac_cv_member_struct_stat_st_blksize
=no
6385 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6388 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6390 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
6391 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6; }
6392 if test $ac_cv_member_struct_stat_st_blksize = yes; then
6394 cat >>confdefs.h
<<_ACEOF
6395 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6399 cat >>confdefs.h
<<\_ACEOF
6400 #define HAVE_ST_BLKSIZE 1
6406 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
6407 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
6408 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
6409 echo $ECHO_N "(cached) $ECHO_C" >&6
6411 cat >conftest.
$ac_ext <<_ACEOF
6414 cat confdefs.h
>>conftest.
$ac_ext
6415 cat >>conftest.
$ac_ext <<_ACEOF
6416 /* end confdefs.h. */
6417 $ac_includes_default
6421 static struct stat ac_aggr;
6422 if (ac_aggr.st_blocks)
6428 rm -f conftest.
$ac_objext
6429 if { (ac_try
="$ac_compile"
6431 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6432 *) ac_try_echo=$ac_try;;
6434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6435 (eval "$ac_compile") 2>conftest.er1
6437 grep -v '^ *+' conftest.er1 >conftest.err
6439 cat conftest.err >&5
6440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6441 (exit $ac_status); } && {
6442 test -z "$ac_c_werror_flag" ||
6443 test ! -s conftest.err
6444 } && test -s conftest.$ac_objext; then
6445 ac_cv_member_struct_stat_st_blocks=yes
6447 echo "$as_me: failed program was:" >&5
6448 sed 's/^/| /' conftest.$ac_ext >&5
6450 cat >conftest.$ac_ext <<_ACEOF
6453 cat confdefs.h >>conftest.$ac_ext
6454 cat >>conftest.$ac_ext <<_ACEOF
6455 /* end confdefs.h. */
6456 $ac_includes_default
6460 static struct stat ac_aggr;
6461 if (sizeof ac_aggr.st_blocks)
6467 rm -f conftest.$ac_objext
6468 if { (ac_try="$ac_compile"
6470 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6471 *) ac_try_echo
=$ac_try;;
6473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6474 (eval "$ac_compile") 2>conftest.er1
6476 grep -v '^ *+' conftest.er1
>conftest.err
6478 cat conftest.err
>&5
6479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6480 (exit $ac_status); } && {
6481 test -z "$ac_c_werror_flag" ||
6482 test ! -s conftest.err
6483 } && test -s conftest.
$ac_objext; then
6484 ac_cv_member_struct_stat_st_blocks
=yes
6486 echo "$as_me: failed program was:" >&5
6487 sed 's/^/| /' conftest.
$ac_ext >&5
6489 ac_cv_member_struct_stat_st_blocks
=no
6492 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6495 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6497 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
6498 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
6499 if test $ac_cv_member_struct_stat_st_blocks = yes; then
6501 cat >>confdefs.h
<<_ACEOF
6502 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6506 cat >>confdefs.h
<<\_ACEOF
6507 #define HAVE_ST_BLOCKS 1
6511 case " $LIBOBJS " in
6512 *" fileblocks.$ac_objext "* ) ;;
6513 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6520 { echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6521 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6; }
6522 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6523 echo $ECHO_N "(cached) $ECHO_C" >&6
6525 cat >conftest.
$ac_ext <<_ACEOF
6528 cat confdefs.h
>>conftest.
$ac_ext
6529 cat >>conftest.
$ac_ext <<_ACEOF
6530 /* end confdefs.h. */
6531 $ac_includes_default
6535 static struct stat ac_aggr;
6536 if (ac_aggr.st_rdev)
6542 rm -f conftest.
$ac_objext
6543 if { (ac_try
="$ac_compile"
6545 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6546 *) ac_try_echo=$ac_try;;
6548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6549 (eval "$ac_compile") 2>conftest.er1
6551 grep -v '^ *+' conftest.er1 >conftest.err
6553 cat conftest.err >&5
6554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6555 (exit $ac_status); } && {
6556 test -z "$ac_c_werror_flag" ||
6557 test ! -s conftest.err
6558 } && test -s conftest.$ac_objext; then
6559 ac_cv_member_struct_stat_st_rdev=yes
6561 echo "$as_me: failed program was:" >&5
6562 sed 's/^/| /' conftest.$ac_ext >&5
6564 cat >conftest.$ac_ext <<_ACEOF
6567 cat confdefs.h >>conftest.$ac_ext
6568 cat >>conftest.$ac_ext <<_ACEOF
6569 /* end confdefs.h. */
6570 $ac_includes_default
6574 static struct stat ac_aggr;
6575 if (sizeof ac_aggr.st_rdev)
6581 rm -f conftest.$ac_objext
6582 if { (ac_try="$ac_compile"
6584 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6585 *) ac_try_echo
=$ac_try;;
6587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6588 (eval "$ac_compile") 2>conftest.er1
6590 grep -v '^ *+' conftest.er1
>conftest.err
6592 cat conftest.err
>&5
6593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6594 (exit $ac_status); } && {
6595 test -z "$ac_c_werror_flag" ||
6596 test ! -s conftest.err
6597 } && test -s conftest.
$ac_objext; then
6598 ac_cv_member_struct_stat_st_rdev
=yes
6600 echo "$as_me: failed program was:" >&5
6601 sed 's/^/| /' conftest.
$ac_ext >&5
6603 ac_cv_member_struct_stat_st_rdev
=no
6606 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6609 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6611 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
6612 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6; }
6613 if test $ac_cv_member_struct_stat_st_rdev = yes; then
6615 cat >>confdefs.h
<<_ACEOF
6616 #define HAVE_STRUCT_STAT_ST_RDEV 1
6620 cat >>confdefs.h
<<\_ACEOF
6621 #define HAVE_ST_RDEV 1
6627 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6628 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
6629 if test "${ac_cv_struct_tm+set}" = set; then
6630 echo $ECHO_N "(cached) $ECHO_C" >&6
6632 cat >conftest.
$ac_ext <<_ACEOF
6635 cat confdefs.h
>>conftest.
$ac_ext
6636 cat >>conftest.
$ac_ext <<_ACEOF
6637 /* end confdefs.h. */
6638 #include <sys/types.h>
6645 int *p = &tm.tm_sec;
6651 rm -f conftest.
$ac_objext
6652 if { (ac_try
="$ac_compile"
6654 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6655 *) ac_try_echo=$ac_try;;
6657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6658 (eval "$ac_compile") 2>conftest.er1
6660 grep -v '^ *+' conftest.er1 >conftest.err
6662 cat conftest.err >&5
6663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6664 (exit $ac_status); } && {
6665 test -z "$ac_c_werror_flag" ||
6666 test ! -s conftest.err
6667 } && test -s conftest.$ac_objext; then
6668 ac_cv_struct_tm=time.h
6670 echo "$as_me: failed program was:" >&5
6671 sed 's/^/| /' conftest.$ac_ext >&5
6673 ac_cv_struct_tm=sys/time.h
6676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6678 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6679 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
6680 if test $ac_cv_struct_tm = sys/time.h; then
6682 cat >>confdefs.h <<\_ACEOF
6683 #define TM_IN_SYS_TIME 1
6688 { echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
6689 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6; }
6690 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
6691 echo $ECHO_N "(cached) $ECHO_C" >&6
6693 cat >conftest.$ac_ext <<_ACEOF
6696 cat confdefs.h >>conftest.$ac_ext
6697 cat >>conftest.$ac_ext <<_ACEOF
6698 /* end confdefs.h. */
6699 #include <sys/types.h>
6700 #include <$ac_cv_struct_tm>
6706 static struct tm ac_aggr;
6707 if (ac_aggr.tm_zone)
6713 rm -f conftest.$ac_objext
6714 if { (ac_try="$ac_compile"
6716 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6717 *) ac_try_echo
=$ac_try;;
6719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6720 (eval "$ac_compile") 2>conftest.er1
6722 grep -v '^ *+' conftest.er1
>conftest.err
6724 cat conftest.err
>&5
6725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6726 (exit $ac_status); } && {
6727 test -z "$ac_c_werror_flag" ||
6728 test ! -s conftest.err
6729 } && test -s conftest.
$ac_objext; then
6730 ac_cv_member_struct_tm_tm_zone
=yes
6732 echo "$as_me: failed program was:" >&5
6733 sed 's/^/| /' conftest.
$ac_ext >&5
6735 cat >conftest.
$ac_ext <<_ACEOF
6738 cat confdefs.h
>>conftest.
$ac_ext
6739 cat >>conftest.
$ac_ext <<_ACEOF
6740 /* end confdefs.h. */
6741 #include <sys/types.h>
6742 #include <$ac_cv_struct_tm>
6748 static struct tm ac_aggr;
6749 if (sizeof ac_aggr.tm_zone)
6755 rm -f conftest.
$ac_objext
6756 if { (ac_try
="$ac_compile"
6758 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6759 *) ac_try_echo=$ac_try;;
6761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6762 (eval "$ac_compile") 2>conftest.er1
6764 grep -v '^ *+' conftest.er1 >conftest.err
6766 cat conftest.err >&5
6767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6768 (exit $ac_status); } && {
6769 test -z "$ac_c_werror_flag" ||
6770 test ! -s conftest.err
6771 } && test -s conftest.$ac_objext; then
6772 ac_cv_member_struct_tm_tm_zone=yes
6774 echo "$as_me: failed program was:" >&5
6775 sed 's/^/| /' conftest.$ac_ext >&5
6777 ac_cv_member_struct_tm_tm_zone=no
6780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6785 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
6786 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6; }
6787 if test $ac_cv_member_struct_tm_tm_zone = yes; then
6789 cat >>confdefs.h <<_ACEOF
6790 #define HAVE_STRUCT_TM_TM_ZONE 1
6796 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6798 cat >>confdefs.h <<\_ACEOF
6799 #define HAVE_TM_ZONE 1
6803 { echo "$as_me:$LINENO: checking whether tzname is declared" >&5
6804 echo $ECHO_N "checking whether tzname is declared... $ECHO_C" >&6; }
6805 if test "${ac_cv_have_decl_tzname+set}" = set; then
6806 echo $ECHO_N "(cached) $ECHO_C" >&6
6808 cat >conftest.$ac_ext <<_ACEOF
6811 cat confdefs.h >>conftest.$ac_ext
6812 cat >>conftest.$ac_ext <<_ACEOF
6813 /* end confdefs.h. */
6827 rm -f conftest.$ac_objext
6828 if { (ac_try="$ac_compile"
6830 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6831 *) ac_try_echo
=$ac_try;;
6833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6834 (eval "$ac_compile") 2>conftest.er1
6836 grep -v '^ *+' conftest.er1
>conftest.err
6838 cat conftest.err
>&5
6839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6840 (exit $ac_status); } && {
6841 test -z "$ac_c_werror_flag" ||
6842 test ! -s conftest.err
6843 } && test -s conftest.
$ac_objext; then
6844 ac_cv_have_decl_tzname
=yes
6846 echo "$as_me: failed program was:" >&5
6847 sed 's/^/| /' conftest.
$ac_ext >&5
6849 ac_cv_have_decl_tzname
=no
6852 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6854 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5
6855 echo "${ECHO_T}$ac_cv_have_decl_tzname" >&6; }
6856 if test $ac_cv_have_decl_tzname = yes; then
6858 cat >>confdefs.h
<<_ACEOF
6859 #define HAVE_DECL_TZNAME 1
6864 cat >>confdefs.h
<<_ACEOF
6865 #define HAVE_DECL_TZNAME 0
6872 { echo "$as_me:$LINENO: checking for tzname" >&5
6873 echo $ECHO_N "checking for tzname... $ECHO_C" >&6; }
6874 if test "${ac_cv_var_tzname+set}" = set; then
6875 echo $ECHO_N "(cached) $ECHO_C" >&6
6877 cat >conftest.
$ac_ext <<_ACEOF
6880 cat confdefs.h
>>conftest.
$ac_ext
6881 cat >>conftest.
$ac_ext <<_ACEOF
6882 /* end confdefs.h. */
6884 #if !HAVE_DECL_TZNAME
6885 extern char *tzname[];
6891 return tzname[0][0];
6896 rm -f conftest.
$ac_objext conftest
$ac_exeext
6897 if { (ac_try
="$ac_link"
6899 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6900 *) ac_try_echo=$ac_try;;
6902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6903 (eval "$ac_link") 2>conftest.er1
6905 grep -v '^ *+' conftest.er1 >conftest.err
6907 cat conftest.err >&5
6908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6909 (exit $ac_status); } && {
6910 test -z "$ac_c_werror_flag" ||
6911 test ! -s conftest.err
6912 } && test -s conftest$ac_exeext &&
6913 $as_test_x conftest$ac_exeext; then
6914 ac_cv_var_tzname=yes
6916 echo "$as_me: failed program was:" >&5
6917 sed 's/^/| /' conftest.$ac_ext >&5
6922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6923 conftest$ac_exeext conftest.$ac_ext
6925 { echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
6926 echo "${ECHO_T}$ac_cv_var_tzname" >&6; }
6927 if test $ac_cv_var_tzname = yes; then
6929 cat >>confdefs.h <<\_ACEOF
6930 #define HAVE_TZNAME 1
6936 { echo "$as_me:$LINENO: checking for off_t" >&5
6937 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
6938 if test "${ac_cv_type_off_t+set}" = set; then
6939 echo $ECHO_N "(cached) $ECHO_C" >&6
6941 cat >conftest.$ac_ext <<_ACEOF
6944 cat confdefs.h >>conftest.$ac_ext
6945 cat >>conftest.$ac_ext <<_ACEOF
6946 /* end confdefs.h. */
6947 $ac_includes_default
6948 typedef off_t ac__type_new_;
6952 if ((ac__type_new_ *) 0)
6954 if (sizeof (ac__type_new_))
6960 rm -f conftest.$ac_objext
6961 if { (ac_try="$ac_compile"
6963 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6964 *) ac_try_echo
=$ac_try;;
6966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6967 (eval "$ac_compile") 2>conftest.er1
6969 grep -v '^ *+' conftest.er1
>conftest.err
6971 cat conftest.err
>&5
6972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6973 (exit $ac_status); } && {
6974 test -z "$ac_c_werror_flag" ||
6975 test ! -s conftest.err
6976 } && test -s conftest.
$ac_objext; then
6977 ac_cv_type_off_t
=yes
6979 echo "$as_me: failed program was:" >&5
6980 sed 's/^/| /' conftest.
$ac_ext >&5
6985 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6987 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6988 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
6989 if test $ac_cv_type_off_t = yes; then
6993 cat >>confdefs.h
<<_ACEOF
6994 #define off_t long int
6999 { echo "$as_me:$LINENO: checking for pid_t" >&5
7000 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
7001 if test "${ac_cv_type_pid_t+set}" = set; then
7002 echo $ECHO_N "(cached) $ECHO_C" >&6
7004 cat >conftest.
$ac_ext <<_ACEOF
7007 cat confdefs.h
>>conftest.
$ac_ext
7008 cat >>conftest.
$ac_ext <<_ACEOF
7009 /* end confdefs.h. */
7010 $ac_includes_default
7011 typedef pid_t ac__type_new_;
7015 if ((ac__type_new_ *) 0)
7017 if (sizeof (ac__type_new_))
7023 rm -f conftest.
$ac_objext
7024 if { (ac_try
="$ac_compile"
7026 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7027 *) ac_try_echo=$ac_try;;
7029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7030 (eval "$ac_compile") 2>conftest.er1
7032 grep -v '^ *+' conftest.er1 >conftest.err
7034 cat conftest.err >&5
7035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7036 (exit $ac_status); } && {
7037 test -z "$ac_c_werror_flag" ||
7038 test ! -s conftest.err
7039 } && test -s conftest.$ac_objext; then
7040 ac_cv_type_pid_t=yes
7042 echo "$as_me: failed program was:" >&5
7043 sed 's/^/| /' conftest.$ac_ext >&5
7048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7050 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
7051 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
7052 if test $ac_cv_type_pid_t = yes; then
7056 cat >>confdefs.h <<_ACEOF
7062 { echo "$as_me:$LINENO: checking for size_t" >&5
7063 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
7064 if test "${ac_cv_type_size_t+set}" = set; then
7065 echo $ECHO_N "(cached) $ECHO_C" >&6
7067 cat >conftest.$ac_ext <<_ACEOF
7070 cat confdefs.h >>conftest.$ac_ext
7071 cat >>conftest.$ac_ext <<_ACEOF
7072 /* end confdefs.h. */
7073 $ac_includes_default
7074 typedef size_t ac__type_new_;
7078 if ((ac__type_new_ *) 0)
7080 if (sizeof (ac__type_new_))
7086 rm -f conftest.$ac_objext
7087 if { (ac_try="$ac_compile"
7089 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7090 *) ac_try_echo
=$ac_try;;
7092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7093 (eval "$ac_compile") 2>conftest.er1
7095 grep -v '^ *+' conftest.er1
>conftest.err
7097 cat conftest.err
>&5
7098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7099 (exit $ac_status); } && {
7100 test -z "$ac_c_werror_flag" ||
7101 test ! -s conftest.err
7102 } && test -s conftest.
$ac_objext; then
7103 ac_cv_type_size_t
=yes
7105 echo "$as_me: failed program was:" >&5
7106 sed 's/^/| /' conftest.
$ac_ext >&5
7108 ac_cv_type_size_t
=no
7111 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7113 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
7114 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
7115 if test $ac_cv_type_size_t = yes; then
7119 cat >>confdefs.h
<<_ACEOF
7120 #define size_t unsigned int
7125 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
7126 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
7127 if test "${ac_cv_type_uid_t+set}" = set; then
7128 echo $ECHO_N "(cached) $ECHO_C" >&6
7130 cat >conftest.
$ac_ext <<_ACEOF
7133 cat confdefs.h
>>conftest.
$ac_ext
7134 cat >>conftest.
$ac_ext <<_ACEOF
7135 /* end confdefs.h. */
7136 #include <sys/types.h>
7139 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7140 $EGREP "uid_t" >/dev
/null
2>&1; then
7141 ac_cv_type_uid_t
=yes
7148 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
7149 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
7150 if test $ac_cv_type_uid_t = no
; then
7152 cat >>confdefs.h
<<\_ACEOF
7157 cat >>confdefs.h
<<\_ACEOF
7164 { echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
7165 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6; }
7166 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
7167 echo $ECHO_N "(cached) $ECHO_C" >&6
7169 cat >conftest.
$ac_ext <<_ACEOF
7172 cat confdefs.h
>>conftest.
$ac_ext
7173 cat >>conftest.
$ac_ext <<_ACEOF
7174 /* end confdefs.h. */
7175 $ac_includes_default
7179 static struct tm ac_aggr;
7180 if (ac_aggr.tm_gmtoff)
7186 rm -f conftest.
$ac_objext
7187 if { (ac_try
="$ac_compile"
7189 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7190 *) ac_try_echo=$ac_try;;
7192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7193 (eval "$ac_compile") 2>conftest.er1
7195 grep -v '^ *+' conftest.er1 >conftest.err
7197 cat conftest.err >&5
7198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7199 (exit $ac_status); } && {
7200 test -z "$ac_c_werror_flag" ||
7201 test ! -s conftest.err
7202 } && test -s conftest.$ac_objext; then
7203 ac_cv_member_struct_tm_tm_gmtoff=yes
7205 echo "$as_me: failed program was:" >&5
7206 sed 's/^/| /' conftest.$ac_ext >&5
7208 cat >conftest.$ac_ext <<_ACEOF
7211 cat confdefs.h >>conftest.$ac_ext
7212 cat >>conftest.$ac_ext <<_ACEOF
7213 /* end confdefs.h. */
7214 $ac_includes_default
7218 static struct tm ac_aggr;
7219 if (sizeof ac_aggr.tm_gmtoff)
7225 rm -f conftest.$ac_objext
7226 if { (ac_try="$ac_compile"
7228 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7229 *) ac_try_echo
=$ac_try;;
7231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7232 (eval "$ac_compile") 2>conftest.er1
7234 grep -v '^ *+' conftest.er1
>conftest.err
7236 cat conftest.err
>&5
7237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7238 (exit $ac_status); } && {
7239 test -z "$ac_c_werror_flag" ||
7240 test ! -s conftest.err
7241 } && test -s conftest.
$ac_objext; then
7242 ac_cv_member_struct_tm_tm_gmtoff
=yes
7244 echo "$as_me: failed program was:" >&5
7245 sed 's/^/| /' conftest.
$ac_ext >&5
7247 ac_cv_member_struct_tm_tm_gmtoff
=no
7250 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7253 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7255 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
7256 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6; }
7257 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
7259 cat >>confdefs.h
<<_ACEOF
7260 #define HAVE_STRUCT_TM_TM_GMTOFF 1
7267 # Look for some functions
7282 for ac_func
in getpagesize kqueue statfs statvfs \
7283 clone kse_create rfork_thread thr_create sa_register \
7284 getcontext makecontext setcontext sigaltstack swapcontext
7286 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7287 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7289 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7290 echo $ECHO_N "(cached) $ECHO_C" >&6
7292 cat >conftest.
$ac_ext <<_ACEOF
7295 cat confdefs.h
>>conftest.
$ac_ext
7296 cat >>conftest.
$ac_ext <<_ACEOF
7297 /* end confdefs.h. */
7298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7300 #define $ac_func innocuous_$ac_func
7302 /* System header to define __stub macros and hopefully few prototypes,
7303 which can conflict with char $ac_func (); below.
7304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7305 <limits.h> exists even on freestanding compilers. */
7308 # include <limits.h>
7310 # include <assert.h>
7315 /* Override any GCC internal prototype to avoid an error.
7316 Use char because int might match the return type of a GCC
7317 builtin and then its argument prototype would still apply. */
7322 /* The GNU C library defines this for functions which it implements
7323 to always fail with ENOSYS. Some functions are actually named
7324 something starting with __ and the normal name is an alias. */
7325 #if defined __stub_$ac_func || defined __stub___$ac_func
7337 rm -f conftest.
$ac_objext conftest
$ac_exeext
7338 if { (ac_try
="$ac_link"
7340 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7341 *) ac_try_echo=$ac_try;;
7343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7344 (eval "$ac_link") 2>conftest.er1
7346 grep -v '^ *+' conftest.er1 >conftest.err
7348 cat conftest.err >&5
7349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7350 (exit $ac_status); } && {
7351 test -z "$ac_c_werror_flag" ||
7352 test ! -s conftest.err
7353 } && test -s conftest$ac_exeext &&
7354 $as_test_x conftest$ac_exeext; then
7355 eval "$as_ac_var=yes"
7357 echo "$as_me: failed program was:" >&5
7358 sed 's/^/| /' conftest.$ac_ext >&5
7360 eval "$as_ac_var=no"
7363 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7364 conftest$ac_exeext conftest.$ac_ext
7366 ac_res=`eval echo '${'$as_ac_var'}'`
7367 { echo "$as_me:$LINENO: result: $ac_res" >&5
7368 echo "${ECHO_T}$ac_res" >&6; }
7369 if test `eval echo '${'$as_ac_var'}'` = yes; then
7370 cat >>confdefs.h <<_ACEOF
7371 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7380 for ac_header in stdlib.h unistd.h
7382 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7383 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7384 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7385 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7386 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7387 echo $ECHO_N "(cached) $ECHO_C" >&6
7389 ac_res=`eval echo '${'$as_ac_Header'}'`
7390 { echo "$as_me:$LINENO: result: $ac_res" >&5
7391 echo "${ECHO_T}$ac_res" >&6; }
7393 # Is the header compilable?
7394 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7395 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7396 cat >conftest.$ac_ext <<_ACEOF
7399 cat confdefs.h >>conftest.$ac_ext
7400 cat >>conftest.$ac_ext <<_ACEOF
7401 /* end confdefs.h. */
7402 $ac_includes_default
7403 #include <$ac_header>
7405 rm -f conftest.$ac_objext
7406 if { (ac_try="$ac_compile"
7408 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7409 *) ac_try_echo
=$ac_try;;
7411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7412 (eval "$ac_compile") 2>conftest.er1
7414 grep -v '^ *+' conftest.er1
>conftest.err
7416 cat conftest.err
>&5
7417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7418 (exit $ac_status); } && {
7419 test -z "$ac_c_werror_flag" ||
7420 test ! -s conftest.err
7421 } && test -s conftest.
$ac_objext; then
7422 ac_header_compiler
=yes
7424 echo "$as_me: failed program was:" >&5
7425 sed 's/^/| /' conftest.
$ac_ext >&5
7427 ac_header_compiler
=no
7430 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7431 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7432 echo "${ECHO_T}$ac_header_compiler" >&6; }
7434 # Is the header present?
7435 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7436 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7437 cat >conftest.
$ac_ext <<_ACEOF
7440 cat confdefs.h
>>conftest.
$ac_ext
7441 cat >>conftest.
$ac_ext <<_ACEOF
7442 /* end confdefs.h. */
7443 #include <$ac_header>
7445 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7447 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7448 *) ac_try_echo=$ac_try;;
7450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7451 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7453 grep -v '^ *+' conftest.er1 >conftest.err
7455 cat conftest.err >&5
7456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7457 (exit $ac_status); } >/dev/null && {
7458 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7459 test ! -s conftest.err
7461 ac_header_preproc=yes
7463 echo "$as_me: failed program was:" >&5
7464 sed 's/^/| /' conftest.$ac_ext >&5
7466 ac_header_preproc=no
7469 rm -f conftest.err conftest.$ac_ext
7470 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7471 echo "${ECHO_T}$ac_header_preproc" >&6; }
7473 # So? What about this header?
7474 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7476 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7477 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7478 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7479 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7480 ac_header_preproc=yes
7483 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7484 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7485 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7486 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7487 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7488 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7489 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7490 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7491 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7492 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7493 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7494 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7498 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7499 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7500 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7501 echo $ECHO_N "(cached) $ECHO_C" >&6
7503 eval "$as_ac_Header=\$ac_header_preproc"
7505 ac_res=`eval echo '${'$as_ac_Header'}'`
7506 { echo "$as_me:$LINENO: result: $ac_res" >&5
7507 echo "${ECHO_T}$ac_res" >&6; }
7510 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7511 cat >>confdefs.h <<_ACEOF
7512 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7520 for ac_func in getpagesize
7522 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
7523 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7524 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7525 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7526 echo $ECHO_N "(cached) $ECHO_C" >&6
7528 cat >conftest.$ac_ext <<_ACEOF
7531 cat confdefs.h >>conftest.$ac_ext
7532 cat >>conftest.$ac_ext <<_ACEOF
7533 /* end confdefs.h. */
7534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7536 #define $ac_func innocuous_$ac_func
7538 /* System header to define __stub macros and hopefully few prototypes,
7539 which can conflict with char $ac_func (); below.
7540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7541 <limits.h> exists even on freestanding compilers. */
7544 # include <limits.h>
7546 # include <assert.h>
7551 /* Override any GCC internal prototype to avoid an error.
7552 Use char because int might match the return type of a GCC
7553 builtin and then its argument prototype would still apply. */
7558 /* The GNU C library defines this for functions which it implements
7559 to always fail with ENOSYS. Some functions are actually named
7560 something starting with __ and the normal name is an alias. */
7561 #if defined __stub_$ac_func || defined __stub___$ac_func
7573 rm -f conftest.$ac_objext conftest$ac_exeext
7574 if { (ac_try="$ac_link"
7576 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7577 *) ac_try_echo
=$ac_try;;
7579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7580 (eval "$ac_link") 2>conftest.er1
7582 grep -v '^ *+' conftest.er1
>conftest.err
7584 cat conftest.err
>&5
7585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7586 (exit $ac_status); } && {
7587 test -z "$ac_c_werror_flag" ||
7588 test ! -s conftest.err
7589 } && test -s conftest
$ac_exeext &&
7590 $as_test_x conftest
$ac_exeext; then
7591 eval "$as_ac_var=yes"
7593 echo "$as_me: failed program was:" >&5
7594 sed 's/^/| /' conftest.
$ac_ext >&5
7596 eval "$as_ac_var=no"
7599 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7600 conftest
$ac_exeext conftest.
$ac_ext
7602 ac_res
=`eval echo '${'$as_ac_var'}'`
7603 { echo "$as_me:$LINENO: result: $ac_res" >&5
7604 echo "${ECHO_T}$ac_res" >&6; }
7605 if test `eval echo '${'$as_ac_var'}'` = yes; then
7606 cat >>confdefs.h
<<_ACEOF
7607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7613 { echo "$as_me:$LINENO: checking for working mmap" >&5
7614 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
7615 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
7616 echo $ECHO_N "(cached) $ECHO_C" >&6
7618 if test "$cross_compiling" = yes; then
7619 ac_cv_func_mmap_fixed_mapped
=no
7621 cat >conftest.
$ac_ext <<_ACEOF
7624 cat confdefs.h
>>conftest.
$ac_ext
7625 cat >>conftest.
$ac_ext <<_ACEOF
7626 /* end confdefs.h. */
7627 $ac_includes_default
7628 /* malloc might have been renamed as rpl_malloc. */
7631 /* Thanks to Mike Haertel and Jim Avera for this test.
7632 Here is a matrix of mmap possibilities:
7633 mmap private not fixed
7634 mmap private fixed at somewhere currently unmapped
7635 mmap private fixed at somewhere already mapped
7636 mmap shared not fixed
7637 mmap shared fixed at somewhere currently unmapped
7638 mmap shared fixed at somewhere already mapped
7639 For private mappings, we should verify that changes cannot be read()
7640 back from the file, nor mmap's back from the file at a different
7641 address. (There have been systems where private was not correctly
7642 implemented like the infamous i386 svr4.0, and systems where the
7643 VM page cache was not coherent with the file system buffer cache
7644 like early versions of FreeBSD and possibly contemporary NetBSD.)
7645 For shared mappings, we should conversely verify that changes get
7646 propagated back to all the places they're supposed to be.
7648 Grep wants private fixed already mapped.
7649 The main things grep needs to know about mmap are:
7650 * does it exist and is it safe to write into the mmap'd area
7651 * how to use it (BSD variants) */
7654 #include <sys/mman.h>
7656 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7660 /* This mess was copied from the GNU getpagesize.h. */
7661 #ifndef HAVE_GETPAGESIZE
7662 /* Assume that all systems that can run configure have sys/param.h. */
7663 # ifndef HAVE_SYS_PARAM_H
7664 # define HAVE_SYS_PARAM_H 1
7667 # ifdef _SC_PAGESIZE
7668 # define getpagesize() sysconf(_SC_PAGESIZE)
7669 # else /* no _SC_PAGESIZE */
7670 # ifdef HAVE_SYS_PARAM_H
7671 # include <sys/param.h>
7672 # ifdef EXEC_PAGESIZE
7673 # define getpagesize() EXEC_PAGESIZE
7674 # else /* no EXEC_PAGESIZE */
7676 # define getpagesize() NBPG * CLSIZE
7679 # endif /* no CLSIZE */
7680 # else /* no NBPG */
7682 # define getpagesize() NBPC
7683 # else /* no NBPC */
7685 # define getpagesize() PAGESIZE
7686 # endif /* PAGESIZE */
7687 # endif /* no NBPC */
7688 # endif /* no NBPG */
7689 # endif /* no EXEC_PAGESIZE */
7690 # else /* no HAVE_SYS_PARAM_H */
7691 # define getpagesize() 8192 /* punt totally */
7692 # endif /* no HAVE_SYS_PARAM_H */
7693 # endif /* no _SC_PAGESIZE */
7695 #endif /* no HAVE_GETPAGESIZE */
7700 char *data, *data2, *data3;
7704 pagesize = getpagesize ();
7706 /* First, make a file with some known garbage in it. */
7707 data = (char *) malloc (pagesize);
7710 for (i = 0; i < pagesize; ++i)
7711 *(data + i) = rand ();
7713 fd = creat ("conftest.mmap", 0600);
7716 if (write (fd, data, pagesize) != pagesize)
7720 /* Next, try to mmap the file at a fixed address which already has
7721 something else allocated at it. If we can, also make sure that
7722 we see the same garbage. */
7723 fd = open ("conftest.mmap", O_RDWR);
7726 data2 = (char *) malloc (2 * pagesize);
7729 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
7730 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7731 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7733 for (i = 0; i < pagesize; ++i)
7734 if (*(data + i) != *(data2 + i))
7737 /* Finally, make sure that changes to the mapped area do not
7738 percolate back to the file as seen by read(). (This is a bug on
7739 some variants of i386 svr4.0.) */
7740 for (i = 0; i < pagesize; ++i)
7741 *(data2 + i) = *(data2 + i) + 1;
7742 data3 = (char *) malloc (pagesize);
7745 if (read (fd, data3, pagesize) != pagesize)
7747 for (i = 0; i < pagesize; ++i)
7748 if (*(data + i) != *(data3 + i))
7754 rm -f conftest
$ac_exeext
7755 if { (ac_try
="$ac_link"
7757 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7758 *) ac_try_echo=$ac_try;;
7760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7761 (eval "$ac_link") 2>&5
7763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7764 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7765 { (case "(($ac_try" in
7766 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7767 *) ac_try_echo
=$ac_try;;
7769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7770 (eval "$ac_try") 2>&5
7772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7773 (exit $ac_status); }; }; then
7774 ac_cv_func_mmap_fixed_mapped
=yes
7776 echo "$as_me: program exited with status $ac_status" >&5
7777 echo "$as_me: failed program was:" >&5
7778 sed 's/^/| /' conftest.
$ac_ext >&5
7781 ac_cv_func_mmap_fixed_mapped
=no
7783 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7788 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
7789 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
7790 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7792 cat >>confdefs.h
<<\_ACEOF
7802 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7803 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7804 aros_config_ldflags
=""
7806 aros_shared_default
=yes
7808 aros_shared_cflags
="-fPIC"
7809 aros_shared_aflags
=""
7810 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7811 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7813 aros_target_ar_flags
="cr"
7814 aros_target_nm_flags
="-C -ul"
7815 aros_target_strip_flags
="--strip-unneeded -R.comment"
7819 aros_target_genmap
="-Wl,-Map -Xlinker"
7821 # Native flavour stuff
7823 aros_serial_debug
="0"
7825 # Palm native flavour stuff
7826 aros_palm_debug_hack
="0"
7828 # Unix flavour stuff
7829 aros_nesting_supervisor
="0"
7831 # Collect-aros stuff: "-ius" to ignore undefined symbols
7832 ignore_undefined_symbols
=""
7834 #-----------------------------------------------------------------------------
7836 { echo "$as_me:$LINENO: checking for type of build" >&5
7837 echo $ECHO_N "checking for type of build... $ECHO_C" >&6; }
7838 # Check whether --enable-build_type was given.
7839 if test "${enable_build_type+set}" = set; then
7840 enableval
=$enable_build_type; build_type
=$enableval
7842 build_type
="personal"
7846 if test "$build_type" = "nightly"; then
7847 build_type_string
="NIGHTLY"
7848 elif test "$build_type" = "snapshot"; then
7849 build_type_string
="SNAPSHOT"
7850 elif test "$build_type" = "milestone"; then
7851 build_type_string
="MILESTONE"
7852 elif test "$build_type" = "release"; then
7853 build_type_string
="RELEASE"
7855 build_type_string
="PERSONAL"
7856 build_type
="personal"
7859 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7861 { echo "$as_me:$LINENO: result: $build_type" >&5
7862 echo "${ECHO_T}$build_type" >&6; }
7864 #-----------------------------------------------------------------------------
7865 all_debug_types
="messages stack mungwall modules symbols"
7867 { echo "$as_me:$LINENO: checking which debug types to enable" >&5
7868 echo $ECHO_N "checking which debug types to enable... $ECHO_C" >&6; }
7869 # Check whether --enable-debug was given.
7870 if test "${enable_debug+set}" = set; then
7871 enableval
=$enable_debug; debug
="$enableval"
7877 if test "$debug" = "" -o "$debug" = "no"; then
7879 elif test "$debug" = "yes"; then
7883 if test "$debug" = "all" ; then
7884 debug
=$all_debug_types
7885 for d
in $all_debug_types; do
7886 export aros_
${d}_debug
="1"
7889 for d
in $all_debug_types; do
7890 export aros_
${d}_debug
="0"
7894 if test "$debug" != "none"; then
7895 debug
=`echo $debug | sed s/,/\ /g`
7898 for d2
in $all_debug_types; do
7899 if test "$d2" = "$d"; then
7904 if test "$found" = "0"; then
7905 { { echo "$as_me:$LINENO: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&5
7906 echo "$as_me: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&2;}
7907 { (exit 1); exit 1; }; }
7909 export aros_
${d}_debug
="1"
7913 { echo "$as_me:$LINENO: result: $debug" >&5
7914 echo "${ECHO_T}$debug" >&6; }
7916 if test "$aros_messages_debug" = "1"; then
7917 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
7919 aros_messages_debug
=""
7921 if test "$aros_symbols_debug" = "1"; then
7922 aros_symbols_debug
="-g"
7924 aros_symbols_debug
=""
7927 # These are the flags to pass when compiling debugged programs
7928 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
7929 aros_debug_aflags
=""
7930 aros_debug_ldflags
="$aros_symbols_debug"
7932 #-----------------------------------------------------------------------------
7933 # Checking for distcc and ccache.
7935 # Always apply the transforms in this particular order. Basically you should
7936 # always run 'ccache distcc compiler' in that order for the best performance.
7938 { echo "$as_me:$LINENO: checking whether to enable distcc" >&5
7939 echo $ECHO_N "checking whether to enable distcc... $ECHO_C" >&6; }
7940 # Check whether --enable-distcc was given.
7941 if test "${enable_distcc+set}" = set; then
7942 enableval
=$enable_distcc; distcc
="$enableval"
7947 if test "$distcc" != "" -a "$distcc" != "no"; then
7948 # AC_CHECK_PROG will print out the result in this case
7949 # Extract the first word of "distcc", so it can be a program name with args.
7950 set dummy distcc
; ac_word
=$2
7951 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7953 if test "${ac_cv_path_DISTCC+set}" = set; then
7954 echo $ECHO_N "(cached) $ECHO_C" >&6
7958 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
7961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7965 test -z "$as_dir" && as_dir
=.
7966 for ac_exec_ext
in '' $ac_executable_extensions; do
7967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7968 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
7969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7976 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
7980 DISTCC
=$ac_cv_path_DISTCC
7981 if test -n "$DISTCC"; then
7982 { echo "$as_me:$LINENO: result: $DISTCC" >&5
7983 echo "${ECHO_T}$DISTCC" >&6; }
7985 { echo "$as_me:$LINENO: result: no" >&5
7986 echo "${ECHO_T}no" >&6; }
7991 { echo "$as_me:$LINENO: result: no" >&5
7992 echo "${ECHO_T}no" >&6; }
7995 { echo "$as_me:$LINENO: checking whether to enable ccache" >&5
7996 echo $ECHO_N "checking whether to enable ccache... $ECHO_C" >&6; }
7997 # Check whether --enable-ccache was given.
7998 if test "${enable_ccache+set}" = set; then
7999 enableval
=$enable_ccache; ccache
="$enableval"
8004 if test "$ccache" != "" -a "$ccache" != "no"; then
8005 # AC_CHECK_PROG will print out the result in this case
8006 # Extract the first word of "ccache", so it can be a program name with args.
8007 set dummy ccache
; ac_word
=$2
8008 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8009 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8010 if test "${ac_cv_prog_CCACHE+set}" = set; then
8011 echo $ECHO_N "(cached) $ECHO_C" >&6
8013 if test -n "$CCACHE"; then
8014 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
8016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8020 test -z "$as_dir" && as_dir
=.
8021 for ac_exec_ext
in '' $ac_executable_extensions; do
8022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8023 ac_cv_prog_CCACHE
="ccache"
8024 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8033 CCACHE
=$ac_cv_prog_CCACHE
8034 if test -n "$CCACHE"; then
8035 { echo "$as_me:$LINENO: result: $CCACHE" >&5
8036 echo "${ECHO_T}$CCACHE" >&6; }
8038 { echo "$as_me:$LINENO: result: no" >&5
8039 echo "${ECHO_T}no" >&6; }
8044 { echo "$as_me:$LINENO: result: no" >&5
8045 echo "${ECHO_T}no" >&6; }
8048 #-----------------------------------------------------------------------------
8049 { echo "$as_me:$LINENO: checking what optimization flags to use" >&5
8050 echo $ECHO_N "checking what optimization flags to use... $ECHO_C" >&6; }
8052 # Check whether --with-optimization was given.
8053 if test "${with_optimization+set}" = set; then
8054 withval
=$with_optimization; optimization
="$withval"
8056 optimization
="unknown"
8059 if test "$optimization" = "unknown"; then
8060 if test "$debug" != "none"; then
8066 aros_config_cflags
="$aros_config_cflags $optimization"
8067 { echo "$as_me:$LINENO: result: $optimization" >&5
8068 echo "${ECHO_T}$optimization" >&6; }
8070 #-----------------------------------------------------------------------------
8071 { echo "$as_me:$LINENO: checking what target variant to enable" >&5
8072 echo $ECHO_N "checking what target variant to enable... $ECHO_C" >&6; }
8073 # Check whether --enable-target_variant was given.
8074 if test "${enable_target_variant+set}" = set; then
8075 enableval
=$enable_target_variant; target_variant
=$enableval
8077 target_variant
="none"
8080 if test "$target_variant" = "none"; then
8081 aros_target_variant
=""
8082 aros_target_suffix
=""
8084 aros_target_variant
="$target_variant"
8085 aros_target_suffix
="-$target_variant"
8087 { echo "$as_me:$LINENO: result: $enableval" >&5
8088 echo "${ECHO_T}$enableval" >&6; }
8090 #-----------------------------------------------------------------------------
8091 # This is the target configuration switch.
8092 case "$target_os" in
8094 aros_target_arch
="linux"
8095 case "$target_cpu" in
8097 aros_target_cpu
="m68k"
8098 aros_object_format
="m68kelf"
8099 aros_flavour
="emulcompat"
8100 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
8101 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
8102 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
8103 gcc_target_cpu
="mc68000"
8106 aros_target_cpu
="i386"
8107 aros_object_format
="elf_i386"
8108 aros_flavour
="emulation"
8109 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
8110 aros_default_wbdepth
=8
8111 gcc_target_cpu
="i386"
8114 aros_target_cpu
="x86_64"
8115 aros_object_format
="elf_x86_64"
8116 aros_flavour
="emulation"
8117 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
8118 aros_default_wbdepth
=8
8119 gcc_target_cpu
="x86_64"
8122 aros_target_cpu
="ppc"
8123 aros_object_format
="elf32ppc"
8124 aros_flavour
="emulation"
8125 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8126 aros_default_wbdepth
=8
8127 gcc_target_cpu
="ppc"
8130 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Linux -- $target_cpu\"" >&5
8131 echo "$as_me: error: \"Unknown CPU for Linux -- $target_cpu\"" >&2;}
8132 { (exit 1); exit 1; }; }
8138 aros_target_arch
="pc"
8139 aros_shared_default
="no"
8140 case "$target_cpu" in
8142 aros_target_cpu
="i386"
8145 if test "$aros_object_format" = "" ; then
8146 aros_object_format
="elf_i386"
8148 aros_flavour
="standalone"
8149 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8150 aros_kernel_ldflags
=""
8151 aros_default_wbwidth
=640
8152 aros_default_wbheight
=480
8153 gcc_target_cpu
="i386"
8156 aros_target_cpu
="x86_64"
8157 if test "$aros_object_format" = "" ; then
8158 aros_object_format
="elf_x86_64"
8160 aros_flavour
="standalone"
8161 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8162 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables"
8163 aros_kernel_ldflags
=""
8164 aros_default_wbwidth
=640
8165 aros_default_wbheight
=480
8166 gcc_target_cpu
="x86_64"
8169 { { echo "$as_me:$LINENO: error: \"Unknown native CPU -- $target_cpu\"" >&5
8170 echo "$as_me: error: \"Unknown native CPU -- $target_cpu\"" >&2;}
8171 { (exit 1); exit 1; }; }
8177 aros_target_arch
="prep"
8178 aros_shared_default
="no"
8179 aros_target_cpu
="ppc"
8180 aros_object_format
="elf32ppc"
8181 aros_flavour
="ppcnative"
8182 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8183 aros_kernel_ldflags
=""
8184 aros_default_wbwidth
=640
8185 aros_default_wbheight
=480
8186 gcc_target_cpu
="ppc"
8187 case "$target_cpu" in
8189 aros_target_cc
="ppc-linux-gcc -pipe"
8190 aros_target_ld
="ppc-linux-ld"
8191 aros_target_as
="ppc-linux-as"
8192 aros_target_ar
="ppc-linux-ar"
8193 aros_target_ranlib
="ppc-linux-ranlib"
8194 aros_target_nm
="ppc-linux-nm"
8195 aros_target_strip
="ppc-linux-strip"
8196 aros_target_objcopy
="ppc-linux-objcopy"
8197 aros_target_objdump
="ppc-linux-objdump"
8198 aros_shared_ld
="ppc-linux-ld"
8199 aros_kernel_ld
="ppc-linux-ld"
8207 aros_target_arch
="freebsd"
8208 aros_target_cpu
="i386"
8209 aros_flavour
="emulation"
8210 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8211 gcc_target_cpu
="i386"
8213 aros_target_strip_flags
="-x"
8217 aros_target_arch
="darwin"
8218 aros_target_cpu
="i386"
8219 aros_flavour
="emulation"
8220 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8221 gcc_target_cpu
="i386"
8223 aros_target_strip_flags
="-x"
8227 aros_target_arch
="netbsd"
8228 case "$target_cpu" in
8230 aros_target_cpu
="m68k"
8231 aros_object_format
="m68kelf"
8232 aros_flavour
="emulcompat"
8233 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8234 gcc_target_cpu
="mc68000"
8237 aros_target_cpu
="i386"
8238 aros_object_format
="elf_i386"
8239 aros_flavour
="emulation"
8240 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8241 aros_default_wbdepth
=8
8242 gcc_target_cpu
="i386"
8245 { { echo "$as_me:$LINENO: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&5
8246 echo "$as_me: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&2;}
8247 { (exit 1); exit 1; }; }
8250 aros_target_genmap
="-Wl,-M -Xlinker >"
8251 aros_flavour
="emulation"
8252 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8256 aros_target_arch
="openbsd"
8257 case "$target_cpu" in
8259 aros_target_cpu
="i386"
8260 aros_object_format
="elf_i386"
8261 aros_flavour
="emulation"
8262 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8263 gcc_target_cpu
="i386"
8266 { { echo "$as_me:$LINENO: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&5
8267 echo "$as_me: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&2;}
8268 { (exit 1); exit 1; }; }
8271 aros_target_genmap
="-Wl,-M -Xlinker >"
8272 aros_target_nm_flags
="-u"
8273 aros_flavour
="emulation"
8277 aros_target_arch
="solaris"
8278 case "$target_cpu" in
8280 aros_target_cpu
="sparc"
8281 aros_object_format
="elf_sparc"
8282 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8283 gcc_target_cpu
="sparc"
8286 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&5
8287 echo "$as_me: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&2;}
8288 { (exit 1); exit 1; }; }
8291 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8292 aros_flavour
="emulation"
8296 aros_target_arch
="morphos"
8297 aros_shared_default
="no"
8298 aros_target_cpu
="ppc"
8299 aros_object_format
="elf_ppc"
8300 aros_flavour
="nativecompat"
8301 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8302 gcc_target_cpu
="ppc"
8306 aros_target_arch
="amiga"
8307 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8308 aros_shared_default
="no"
8310 aros_config_cflags
="$aros_config_cflags -fomit-frame-pointer -fbuiltin -ffreestanding"
8312 case "$target_cpu" in
8314 aros_target_cpu
="m68k"
8315 aros_object_format
="m68kelf"
8316 aros_flavour
="nativecompat"
8317 gcc_target_cpu
="mc68000"
8321 aros_flavour
="native"
8322 gcc_target_cpu
="ppc"
8325 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Amiga $target_cpu\"" >&5
8326 echo "$as_me: error: \"Unknown CPU for Amiga $target_cpu\"" >&2;}
8327 { (exit 1); exit 1; }; }
8333 aros_target_arch
="cygwin"
8334 aros_shared_default
="no"
8335 case "$target_cpu" in
8337 aros_target_cpu
="i386"
8338 aros_object_format
="elf_i386"
8339 aros_flavour
="emulation"
8340 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__CYGWIN32__"
8341 aros_shared_cflags
=""
8342 aros_default_wbdepth
=8
8343 gcc_target_cpu
="i386"
8346 { { echo "$as_me:$LINENO: error: \"Unknown CPU for CygWin -- $target_cpu\"" >&5
8347 echo "$as_me: error: \"Unknown CPU for CygWin -- $target_cpu\"" >&2;}
8348 { (exit 1); exit 1; }; }
8353 aros_target_arch
="pp"
8354 aros_shared_default
="no"
8355 case "$target_cpu" in
8357 aros_target_cpu
="m68k"
8358 aros_object_format
="m68kelf"
8359 aros_flavour
="palmnative"
8360 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8361 aros_kernel_ldflags
=""
8362 aros_default_wbwidth
=160
8363 aros_default_wbheight
=160
8364 aros_default_wbdepth
=1
8365 aros_target_cc
="m68k-elf-gcc -pipe"
8366 aros_target_ld
="$(which m68k-elf-ld)"
8367 aros_target_as
="m68k-elf-gcc -pipe"
8368 aros_shared_ld
="m68k-elf-gcc"
8369 aros_kernel_ld
="m68k-elf-gcc"
8370 aros_target_ar
="m68k-elf-ar"
8371 aros_target_ar_flags
="cru"
8372 aros_target_ranlib
="m68k-elf-ranlib"
8373 aros_target_nm
="m68k-elf-nm"
8374 aros_target_objcopy
="m68k-elf-objcopy"
8375 aros_target_objdump
="m68k-elf-objdump"
8376 aros_compiler_libs
="-lgcc1"
8377 aros_shared_default
=no
8378 aros_shared_cflags
="-fpic"
8379 aros_shared_aflags
=""
8380 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8381 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8382 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
8383 aros_debug_aflags
=""
8384 aros_debug_ldflags
="$aros_symbols_debug"
8385 aros_mungwall_debug
="0"
8386 aros_modules_debug
="0"
8387 gcc_target_cpu
="mc68000"
8388 ignore_undefined_symbols
="-ius"
8391 { { echo "$as_me:$LINENO: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&5
8392 echo "$as_me: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&2;}
8393 { (exit 1); exit 1; }; }
8399 aros_target_arch
="mac"
8400 aros_shared_default
="no"
8401 case "$target_cpu" in
8403 aros_target_cpu
="m68k"
8404 aros_object_format
="m68kelf"
8405 aros_flavour
="mac68knative"
8406 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8407 aros_default_wbwidth
=512
8408 aros_default_wbheight
=384
8409 aros_default_wbdepth
=8
8410 aros_target_cc
="m68k-elf-gcc -pipe"
8411 aros_target_ld
="$(which m68k-elf-ld)"
8412 aros_target_as
="m68k-elf-gcc -pipe"
8413 aros_shared_ld
="m68k-elf-gcc"
8414 aros_kernel_ld
="m68k-elf-gcc"
8415 aros_target_ar
="m68k-elf-ar"
8416 aros_target_ar_flags
="cru"
8417 aros_target_ranlib
="m68k-elf-ranlib"
8418 aros_target_nm
="m68k-elf-nm"
8419 aros_target_objcopy
="m68k-elf-objcopy"
8420 aros_target_objdump
="m68k-elf-objdump"
8421 aros_compiler_libs
="-lgcc1"
8422 aros_shared_default
=no
8423 aros_shared_cflags
="-fpic"
8424 aros_shared_aflags
=""
8425 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8426 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8427 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000"
8428 aros_debug_aflags
=""
8429 aros_debug_ldflags
="$aros_symbols_debug"
8430 aros_mungwall_debug
="0"
8431 aros_modules_debug
="0"
8432 gcc_target_cpu
="mc68000"
8433 ignore_undefined_symbols
="-ius"
8436 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&5
8437 echo "$as_me: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&2;}
8438 { (exit 1); exit 1; }; }
8444 { { echo "$as_me:$LINENO: error: Unsupported target architecture $target" >&5
8445 echo "$as_me: error: Unsupported target architecture $target" >&2;}
8446 { (exit 1); exit 1; }; }
8451 # Find out if we are cross-compiling (ie. if we can't use the host compiler
8454 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
8457 if test "$aros_host_arch" == "darwin" ; then
8461 # Set prefix for target compiler etc. if we're cross-compiling
8462 # (should possibly be earlier but needs to be after AC_PROG_CC)
8463 if test "$cross_compiling" = "yes" ; then
8464 target_tool_prefix
=${target_cpu}-elf-
8465 CC
=${target_tool_prefix}gcc
8468 # Find all the tools we need to compile. This could be cross-compiling
8469 # though! If that is the case we use the GNU form of the target and
8470 # simply add this to the front of the binary name. This is rather simple,
8471 # but it should work under most circumstances.
8473 # The default tools are to use the same as the host, but only if the
8474 # host and target CPU are the same. With GCC this is normally enough.
8478 aros_shared_ld
="$aros_host_ld"
8480 aros_target_mkdep
="$aros_host_mkdep"
8481 aros_target_incl_def
="$aros_host_incl"
8483 # Extract the first word of "$CC", so it can be a program name with args.
8484 set dummy
$CC; ac_word
=$2
8485 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8487 if test "${ac_cv_path_aros_kernel_cc+set}" = set; then
8488 echo $ECHO_N "(cached) $ECHO_C" >&6
8490 case $aros_kernel_cc in
8492 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8499 test -z "$as_dir" && as_dir
=.
8500 for ac_exec_ext
in '' $ac_executable_extensions; do
8501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8502 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8513 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8514 if test -n "$aros_kernel_cc"; then
8515 { echo "$as_me:$LINENO: result: $aros_kernel_cc" >&5
8516 echo "${ECHO_T}$aros_kernel_cc" >&6; }
8518 { echo "$as_me:$LINENO: result: no" >&5
8519 echo "${ECHO_T}no" >&6; }
8524 # The default tools executables to be linked to.
8526 if test "$cross_compiling" = "yes" ; then
8527 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
8528 set dummy
${target_tool_prefix}as
; ac_word
=$2
8529 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8531 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
8532 echo $ECHO_N "(cached) $ECHO_C" >&6
8534 case $aros_target_as_ln in
8536 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8543 test -z "$as_dir" && as_dir
=.
8544 for ac_exec_ext
in '' $ac_executable_extensions; do
8545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8546 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8557 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8558 if test -n "$aros_target_as_ln"; then
8559 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
8560 echo "${ECHO_T}$aros_target_as_ln" >&6; }
8562 { echo "$as_me:$LINENO: result: no" >&5
8563 echo "${ECHO_T}no" >&6; }
8568 if test "$GCC" = "yes"; then
8569 aros_gcc_as
=`$CC -print-prog-name=as`
8570 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
8571 set dummy
`basename $aros_gcc_as`; ac_word
=$2
8572 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8573 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8574 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
8575 echo $ECHO_N "(cached) $ECHO_C" >&6
8577 case $aros_target_as_ln in
8579 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8583 for as_dir
in `dirname $aros_gcc_as`
8586 test -z "$as_dir" && as_dir
=.
8587 for ac_exec_ext
in '' $ac_executable_extensions; do
8588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8589 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8590 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8600 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8601 if test -n "$aros_target_as_ln"; then
8602 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
8603 echo "${ECHO_T}$aros_target_as_ln" >&6; }
8605 { echo "$as_me:$LINENO: result: no" >&5
8606 echo "${ECHO_T}no" >&6; }
8611 if test "$aros_target_as_ln" = ""; then
8612 # Extract the first word of "as", so it can be a program name with args.
8613 set dummy as
; ac_word
=$2
8614 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8616 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
8617 echo $ECHO_N "(cached) $ECHO_C" >&6
8619 case $aros_target_as_ln in
8621 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8628 test -z "$as_dir" && as_dir
=.
8629 for ac_exec_ext
in '' $ac_executable_extensions; do
8630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8631 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8642 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8643 if test -n "$aros_target_as_ln"; then
8644 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
8645 echo "${ECHO_T}$aros_target_as_ln" >&6; }
8647 { echo "$as_me:$LINENO: result: no" >&5
8648 echo "${ECHO_T}no" >&6; }
8655 if test "$aros_target_as_ln" = ""; then
8656 { { echo "$as_me:$LINENO: error: as is required to build AROS. Please install and run configure again." >&5
8657 echo "$as_me: error: as is required to build AROS. Please install and run configure again." >&2;}
8658 { (exit 1); exit 1; }; }
8661 if test "$cross_compiling" = "yes" ; then
8662 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
8663 set dummy
${target_tool_prefix}ld
; ac_word
=$2
8664 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8666 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
8667 echo $ECHO_N "(cached) $ECHO_C" >&6
8669 case $aros_kernel_ld in
8671 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8678 test -z "$as_dir" && as_dir
=.
8679 for ac_exec_ext
in '' $ac_executable_extensions; do
8680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8681 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8692 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8693 if test -n "$aros_kernel_ld"; then
8694 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
8695 echo "${ECHO_T}$aros_kernel_ld" >&6; }
8697 { echo "$as_me:$LINENO: result: no" >&5
8698 echo "${ECHO_T}no" >&6; }
8703 if test "$GCC" = "yes"; then
8704 aros_gcc_ld
=`$CC -print-prog-name=ld`
8705 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
8706 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
8707 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8709 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
8710 echo $ECHO_N "(cached) $ECHO_C" >&6
8712 case $aros_kernel_ld in
8714 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8718 for as_dir
in `dirname $aros_gcc_ld`
8721 test -z "$as_dir" && as_dir
=.
8722 for ac_exec_ext
in '' $ac_executable_extensions; do
8723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8724 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8735 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8736 if test -n "$aros_kernel_ld"; then
8737 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
8738 echo "${ECHO_T}$aros_kernel_ld" >&6; }
8740 { echo "$as_me:$LINENO: result: no" >&5
8741 echo "${ECHO_T}no" >&6; }
8746 if test "$aros_kernel_ld" = ""; then
8747 # Extract the first word of "ld", so it can be a program name with args.
8748 set dummy ld
; ac_word
=$2
8749 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8751 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
8752 echo $ECHO_N "(cached) $ECHO_C" >&6
8754 case $aros_kernel_ld in
8756 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8763 test -z "$as_dir" && as_dir
=.
8764 for ac_exec_ext
in '' $ac_executable_extensions; do
8765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8766 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8777 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8778 if test -n "$aros_kernel_ld"; then
8779 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
8780 echo "${ECHO_T}$aros_kernel_ld" >&6; }
8782 { echo "$as_me:$LINENO: result: no" >&5
8783 echo "${ECHO_T}no" >&6; }
8790 if test "$aros_kernel_ld" = ""; then
8791 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
8792 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
8793 { (exit 1); exit 1; }; }
8796 if test "$cross_compiling" = "yes" ; then
8797 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
8798 set dummy
${target_tool_prefix}ar; ac_word
=$2
8799 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8801 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
8802 echo $ECHO_N "(cached) $ECHO_C" >&6
8804 case $aros_target_ar_ln in
8806 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8813 test -z "$as_dir" && as_dir
=.
8814 for ac_exec_ext
in '' $ac_executable_extensions; do
8815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8816 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8827 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
8828 if test -n "$aros_target_ar_ln"; then
8829 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
8830 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
8832 { echo "$as_me:$LINENO: result: no" >&5
8833 echo "${ECHO_T}no" >&6; }
8838 if test "$GCC" = "yes"; then
8839 aros_gcc_ar
=`$CC -print-prog-name=ar`
8840 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
8841 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
8842 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8844 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
8845 echo $ECHO_N "(cached) $ECHO_C" >&6
8847 case $aros_target_ar_ln in
8849 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8853 for as_dir
in `dirname $aros_gcc_ar`
8856 test -z "$as_dir" && as_dir
=.
8857 for ac_exec_ext
in '' $ac_executable_extensions; do
8858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8859 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8870 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
8871 if test -n "$aros_target_ar_ln"; then
8872 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
8873 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
8875 { echo "$as_me:$LINENO: result: no" >&5
8876 echo "${ECHO_T}no" >&6; }
8881 if test "$aros_target_ar_ln" = ""; then
8882 # Extract the first word of "ar", so it can be a program name with args.
8883 set dummy
ar; ac_word
=$2
8884 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8886 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
8887 echo $ECHO_N "(cached) $ECHO_C" >&6
8889 case $aros_target_ar_ln in
8891 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8898 test -z "$as_dir" && as_dir
=.
8899 for ac_exec_ext
in '' $ac_executable_extensions; do
8900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8901 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8912 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
8913 if test -n "$aros_target_ar_ln"; then
8914 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
8915 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
8917 { echo "$as_me:$LINENO: result: no" >&5
8918 echo "${ECHO_T}no" >&6; }
8925 if test "$aros_target_ar_ln" = ""; then
8926 { { echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
8927 echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
8928 { (exit 1); exit 1; }; }
8931 if test "$cross_compiling" = "yes" ; then
8932 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
8933 set dummy
${target_tool_prefix}nm
; ac_word
=$2
8934 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8936 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
8937 echo $ECHO_N "(cached) $ECHO_C" >&6
8939 case $aros_target_nm_ln in
8941 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8948 test -z "$as_dir" && as_dir
=.
8949 for ac_exec_ext
in '' $ac_executable_extensions; do
8950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8951 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8962 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8963 if test -n "$aros_target_nm_ln"; then
8964 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
8965 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
8967 { echo "$as_me:$LINENO: result: no" >&5
8968 echo "${ECHO_T}no" >&6; }
8973 if test "$GCC" = "yes"; then
8974 aros_gcc_nm
=`$CC -print-prog-name=nm`
8975 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
8976 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
8977 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8979 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
8980 echo $ECHO_N "(cached) $ECHO_C" >&6
8982 case $aros_target_nm_ln in
8984 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8988 for as_dir
in `dirname $aros_gcc_nm`
8991 test -z "$as_dir" && as_dir
=.
8992 for ac_exec_ext
in '' $ac_executable_extensions; do
8993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8994 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9005 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9006 if test -n "$aros_target_nm_ln"; then
9007 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
9008 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
9010 { echo "$as_me:$LINENO: result: no" >&5
9011 echo "${ECHO_T}no" >&6; }
9016 if test "$aros_target_nm_ln" = ""; then
9017 # Extract the first word of "nm", so it can be a program name with args.
9018 set dummy nm
; ac_word
=$2
9019 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9021 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
9022 echo $ECHO_N "(cached) $ECHO_C" >&6
9024 case $aros_target_nm_ln in
9026 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9033 test -z "$as_dir" && as_dir
=.
9034 for ac_exec_ext
in '' $ac_executable_extensions; do
9035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9036 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9047 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9048 if test -n "$aros_target_nm_ln"; then
9049 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
9050 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
9052 { echo "$as_me:$LINENO: result: no" >&5
9053 echo "${ECHO_T}no" >&6; }
9060 if test "$aros_target_nm_ln" = ""; then
9061 { { echo "$as_me:$LINENO: error: nm is required to build AROS. Please install and run configure again." >&5
9062 echo "$as_me: error: nm is required to build AROS. Please install and run configure again." >&2;}
9063 { (exit 1); exit 1; }; }
9066 if test "$cross_compiling" = "yes" ; then
9067 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
9068 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
9069 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9071 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
9072 echo $ECHO_N "(cached) $ECHO_C" >&6
9074 case $aros_target_objcopy_ln in
9076 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
9079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9083 test -z "$as_dir" && as_dir
=.
9084 for ac_exec_ext
in '' $ac_executable_extensions; do
9085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9086 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
9087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9097 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
9098 if test -n "$aros_target_objcopy_ln"; then
9099 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
9100 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
9102 { echo "$as_me:$LINENO: result: no" >&5
9103 echo "${ECHO_T}no" >&6; }
9108 if test "$GCC" = "yes"; then
9109 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
9110 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
9111 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
9112 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9114 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
9115 echo $ECHO_N "(cached) $ECHO_C" >&6
9117 case $aros_target_objcopy_ln in
9119 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
9122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9123 for as_dir
in `dirname $aros_gcc_objcopy`
9126 test -z "$as_dir" && as_dir
=.
9127 for ac_exec_ext
in '' $ac_executable_extensions; do
9128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9129 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
9130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9140 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
9141 if test -n "$aros_target_objcopy_ln"; then
9142 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
9143 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
9145 { echo "$as_me:$LINENO: result: no" >&5
9146 echo "${ECHO_T}no" >&6; }
9151 if test "$aros_target_objcopy_ln" = ""; then
9152 # Extract the first word of "objcopy", so it can be a program name with args.
9153 set dummy objcopy
; ac_word
=$2
9154 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9156 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
9157 echo $ECHO_N "(cached) $ECHO_C" >&6
9159 case $aros_target_objcopy_ln in
9161 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
9164 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9168 test -z "$as_dir" && as_dir
=.
9169 for ac_exec_ext
in '' $ac_executable_extensions; do
9170 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9171 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
9172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9182 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
9183 if test -n "$aros_target_objcopy_ln"; then
9184 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
9185 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
9187 { echo "$as_me:$LINENO: result: no" >&5
9188 echo "${ECHO_T}no" >&6; }
9195 if test "$aros_target_objcopy_ln" = ""; then
9196 { { echo "$as_me:$LINENO: error: objcopy is required to build AROS. Please install and run configure again." >&5
9197 echo "$as_me: error: objcopy is required to build AROS. Please install and run configure again." >&2;}
9198 { (exit 1); exit 1; }; }
9201 if test "$cross_compiling" = "yes" ; then
9202 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
9203 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
9204 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9206 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
9207 echo $ECHO_N "(cached) $ECHO_C" >&6
9209 case $aros_target_objdump_ln in
9211 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9218 test -z "$as_dir" && as_dir
=.
9219 for ac_exec_ext
in '' $ac_executable_extensions; do
9220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9221 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9232 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9233 if test -n "$aros_target_objdump_ln"; then
9234 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
9235 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
9237 { echo "$as_me:$LINENO: result: no" >&5
9238 echo "${ECHO_T}no" >&6; }
9243 if test "$GCC" = "yes"; then
9244 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
9245 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
9246 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
9247 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9249 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
9250 echo $ECHO_N "(cached) $ECHO_C" >&6
9252 case $aros_target_objdump_ln in
9254 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9258 for as_dir
in `dirname $aros_gcc_objdump`
9261 test -z "$as_dir" && as_dir
=.
9262 for ac_exec_ext
in '' $ac_executable_extensions; do
9263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9264 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9275 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9276 if test -n "$aros_target_objdump_ln"; then
9277 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
9278 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
9280 { echo "$as_me:$LINENO: result: no" >&5
9281 echo "${ECHO_T}no" >&6; }
9286 if test "$aros_target_objdump_ln" = ""; then
9287 # Extract the first word of "objdump", so it can be a program name with args.
9288 set dummy objdump
; ac_word
=$2
9289 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9291 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
9292 echo $ECHO_N "(cached) $ECHO_C" >&6
9294 case $aros_target_objdump_ln in
9296 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9303 test -z "$as_dir" && as_dir
=.
9304 for ac_exec_ext
in '' $ac_executable_extensions; do
9305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9306 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9317 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9318 if test -n "$aros_target_objdump_ln"; then
9319 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
9320 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
9322 { echo "$as_me:$LINENO: result: no" >&5
9323 echo "${ECHO_T}no" >&6; }
9330 if test "$aros_target_objdump_ln" = ""; then
9331 { { echo "$as_me:$LINENO: error: objdump is required to build AROS. Please install and run configure again." >&5
9332 echo "$as_me: error: objdump is required to build AROS. Please install and run configure again." >&2;}
9333 { (exit 1); exit 1; }; }
9336 if test "$cross_compiling" = "yes" ; then
9337 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
9338 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
9339 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9341 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
9342 echo $ECHO_N "(cached) $ECHO_C" >&6
9344 case $aros_target_ranlib_ln in
9346 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9353 test -z "$as_dir" && as_dir
=.
9354 for ac_exec_ext
in '' $ac_executable_extensions; do
9355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9356 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9367 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9368 if test -n "$aros_target_ranlib_ln"; then
9369 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
9370 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
9372 { echo "$as_me:$LINENO: result: no" >&5
9373 echo "${ECHO_T}no" >&6; }
9378 if test "$GCC" = "yes"; then
9379 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
9380 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
9381 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
9382 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9384 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
9385 echo $ECHO_N "(cached) $ECHO_C" >&6
9387 case $aros_target_ranlib_ln in
9389 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9393 for as_dir
in `dirname $aros_gcc_ranlib`
9396 test -z "$as_dir" && as_dir
=.
9397 for ac_exec_ext
in '' $ac_executable_extensions; do
9398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9399 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9410 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9411 if test -n "$aros_target_ranlib_ln"; then
9412 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
9413 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
9415 { echo "$as_me:$LINENO: result: no" >&5
9416 echo "${ECHO_T}no" >&6; }
9421 if test "$aros_target_ranlib_ln" = ""; then
9422 # Extract the first word of "ranlib", so it can be a program name with args.
9423 set dummy ranlib
; ac_word
=$2
9424 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9426 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
9427 echo $ECHO_N "(cached) $ECHO_C" >&6
9429 case $aros_target_ranlib_ln in
9431 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9438 test -z "$as_dir" && as_dir
=.
9439 for ac_exec_ext
in '' $ac_executable_extensions; do
9440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9441 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9452 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9453 if test -n "$aros_target_ranlib_ln"; then
9454 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
9455 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
9457 { echo "$as_me:$LINENO: result: no" >&5
9458 echo "${ECHO_T}no" >&6; }
9465 if test "$aros_target_ranlib_ln" = ""; then
9466 { { echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
9467 echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
9468 { (exit 1); exit 1; }; }
9471 if test "$cross_compiling" = "yes" ; then
9472 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
9473 set dummy
${target_tool_prefix}strip
; ac_word
=$2
9474 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9475 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9476 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
9477 echo $ECHO_N "(cached) $ECHO_C" >&6
9479 case $aros_target_strip_ln in
9481 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9488 test -z "$as_dir" && as_dir
=.
9489 for ac_exec_ext
in '' $ac_executable_extensions; do
9490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9491 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9502 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9503 if test -n "$aros_target_strip_ln"; then
9504 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
9505 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
9507 { echo "$as_me:$LINENO: result: no" >&5
9508 echo "${ECHO_T}no" >&6; }
9513 if test "$GCC" = "yes"; then
9514 aros_gcc_strip
=`$CC -print-prog-name=strip`
9515 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
9516 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
9517 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9519 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
9520 echo $ECHO_N "(cached) $ECHO_C" >&6
9522 case $aros_target_strip_ln in
9524 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9527 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9528 for as_dir
in `dirname $aros_gcc_strip`
9531 test -z "$as_dir" && as_dir
=.
9532 for ac_exec_ext
in '' $ac_executable_extensions; do
9533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9534 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9545 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9546 if test -n "$aros_target_strip_ln"; then
9547 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
9548 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
9550 { echo "$as_me:$LINENO: result: no" >&5
9551 echo "${ECHO_T}no" >&6; }
9556 if test "$aros_target_strip_ln" = ""; then
9557 # Extract the first word of "strip", so it can be a program name with args.
9558 set dummy strip
; ac_word
=$2
9559 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9561 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
9562 echo $ECHO_N "(cached) $ECHO_C" >&6
9564 case $aros_target_strip_ln in
9566 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9573 test -z "$as_dir" && as_dir
=.
9574 for ac_exec_ext
in '' $ac_executable_extensions; do
9575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9576 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9577 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9587 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9588 if test -n "$aros_target_strip_ln"; then
9589 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
9590 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
9592 { echo "$as_me:$LINENO: result: no" >&5
9593 echo "${ECHO_T}no" >&6; }
9600 if test "$aros_target_strip_ln" = ""; then
9601 { { echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
9602 echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
9603 { (exit 1); exit 1; }; }
9606 if test "$GCC" = "yes"; then
9607 aros_target_cc_path
=`$aros_kernel_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
9610 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
9611 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
9612 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
9613 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
9614 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
9615 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
9616 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
9618 # aros_cc_pre is a variable that is added to the front of the compiler name
9619 # in the generated aros-gcc shell script. We need this to enable the cache
9620 # to work across cleaned builds. Also, support DISTCC using the correct
9621 # environment variable.
9624 if test "x${DISTCC}" != "x" ; then
9625 if test "x${CCACHE}" != "x" ; then
9626 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
9628 aros_cc_pre
="${DISTCC} "
9631 if test "x${CCACHE}" != "x" ; then
9632 aros_cc_pre
="${CCACHE} "
9636 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
9638 aros_target_nostdinc_cflags
=-nostdinc
9640 aros_target_nostartup_ldflags
=-nostartfiles
9642 aros_target_nix_ldflags
=-nix
9644 aros_target_detach_ldflags
=-detach
9646 aros_target_nostdlib_ldflags
=-nostdlib
9650 aros_target_cc
="${prefix}-gcc"
9651 aros_target_as
="${prefix}-as"
9652 aros_target_ld
="${prefix}-ld"
9653 aros_target_ar
="${prefix}-ar $aros_target_ar_flags"
9654 aros_target_objcopy
=${prefix}-objcopy
9655 aros_target_objdump
=${prefix}-objdump
9656 aros_target_ranlib
="${prefix}-ranlib $aros_target_ranlib_flags"
9657 aros_target_nm
="${prefix}-nm $aros_target_nm_flags"
9658 aros_kernel_nm
="${prefix}-nm"
9659 aros_target_strip
=${prefix}-strip
9662 # Find the system include path. We can suggest that an alternative is
9663 # used if we don't get it correct. The default is to use /usr/include.
9664 # Which is set in the aros_target_incl_def variable.
9666 # Check whether --enable-includes was given.
9667 if test "${enable_includes+set}" = set; then
9668 enableval
=$enable_includes; aros_target_incl
=$enable_includes
9670 aros_target_incl
=$aros_target_incl_def
9674 { echo "$as_me:$LINENO: checking for the target compiler's include path" >&5
9675 echo $ECHO_N "checking for the target compiler's include path... $ECHO_C" >&6; }
9676 if test "$aros_target_cc_includes" = "" ; then
9677 #try to guess where the directory is
9678 aros_target_cc_includes
=`dirname \`${aros_kernel_cc} -print-libgcc-file-name\
``/include
9679 if ! test -d $aros_target_cc_includes; then
9680 #the directory doesn't exist, we need to do some more work
9681 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
9683 #these are the headers we're looling for
9684 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
9685 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
9689 for h
in $headers; do
9690 #which other headers each of the above headers needs?
9691 deps
=$
(echo "#include <$h>" | \
9692 $aros_host_cc -E -M - 2>/dev
/null | \
9693 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
9695 #copy all the needed headers to a directory beneath gendir
9698 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
9699 sed -n "s,^.*/include\(/.*\),\1,p")
9700 ! test -d $dir && mkdir
-p $dir
9701 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
9706 { echo "$as_me:$LINENO: result: $aros_target_cc_includes" >&5
9707 echo "${ECHO_T}$aros_target_cc_includes" >&6; }
9709 { echo "$as_me:$LINENO: checking for default resolution of WBScreen" >&5
9710 echo $ECHO_N "checking for default resolution of WBScreen... $ECHO_C" >&6; }
9712 # Check whether --with-resolution was given.
9713 if test "${with_resolution+set}" = set; then
9714 withval
=$with_resolution; resolution
=$withval
9719 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
9720 if test "$resolution" = "yes" ; then
9723 if test "$resolution" = "no" ; then
9726 if test "$resolution" != "none" ; then
9727 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
9728 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
9729 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
9731 { echo "$as_me:$LINENO: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
9732 echo "${ECHO_T}$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
9733 aros_cv_default_wbwidth
=$aros_default_wbwidth
9734 aros_cv_default_wbheight
=$aros_default_wbheight
9735 aros_cv_default_wbdepth
=$aros_default_wbdepth
9737 { echo "$as_me:$LINENO: checking if bochs hack is enabled" >&5
9738 echo $ECHO_N "checking if bochs hack is enabled... $ECHO_C" >&6; }
9739 # Check whether --enable-bochs_hack was given.
9740 if test "${enable_bochs_hack+set}" = set; then
9741 enableval
=$enable_bochs_hack; bochs_hack
="yes"
9746 if test "$bochs_hack" = "yes" ; then
9749 { echo "$as_me:$LINENO: result: $bochs_hack" >&5
9750 echo "${ECHO_T}$bochs_hack" >&6; }
9752 { echo "$as_me:$LINENO: checking if serial debug is enabled" >&5
9753 echo $ECHO_N "checking if serial debug is enabled... $ECHO_C" >&6; }
9755 # Check whether --with-serial-debug was given.
9756 if test "${with_serial_debug+set}" = set; then
9757 withval
=$with_serial_debug; serial_debug
=$withval
9762 if test "$serial_debug" = "yes" ; then
9765 if test "$serial_debug" = "no" ; then
9768 if test "$serial_debug" != "none" ; then
9769 aros_serial_debug
=$serial_debug
9770 { echo "$as_me:$LINENO: result: on port $serial_debug" >&5
9771 echo "${ECHO_T}on port $serial_debug" >&6; }
9773 { echo "$as_me:$LINENO: result: no" >&5
9774 echo "${ECHO_T}no" >&6; }
9777 { echo "$as_me:$LINENO: checking if palm debug hack is enabled" >&5
9778 echo $ECHO_N "checking if palm debug hack is enabled... $ECHO_C" >&6; }
9779 # Check whether --enable-palm_debug_hack was given.
9780 if test "${enable_palm_debug_hack+set}" = set; then
9781 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
9783 palm_debug_hack
="no"
9786 if test "$palm_debug_hack" = "yes" ; then
9787 aros_palm_debug_hack
="1"
9789 { echo "$as_me:$LINENO: result: $palm_debug_hack" >&5
9790 echo "${ECHO_T}$palm_debug_hack" >&6; }
9793 { echo "$as_me:$LINENO: checking if nesting supervisor support is enabled" >&5
9794 echo $ECHO_N "checking if nesting supervisor support is enabled... $ECHO_C" >&6; }
9795 # Check whether --enable-nesting_supervisor was given.
9796 if test "${enable_nesting_supervisor+set}" = set; then
9797 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
9799 nesting_supervisor
="no"
9802 if test "$nesting_supervisor" = "yes" ; then
9803 aros_nesting_supervisor
="1"
9805 { echo "$as_me:$LINENO: result: $nesting_supervisor" >&5
9806 echo "${ECHO_T}$nesting_supervisor" >&6; }
9809 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9811 { echo "$as_me:$LINENO: checking for dlopen" >&5
9812 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
9813 if test "${ac_cv_func_dlopen+set}" = set; then
9814 echo $ECHO_N "(cached) $ECHO_C" >&6
9816 cat >conftest.
$ac_ext <<_ACEOF
9819 cat confdefs.h
>>conftest.
$ac_ext
9820 cat >>conftest.
$ac_ext <<_ACEOF
9821 /* end confdefs.h. */
9822 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9824 #define dlopen innocuous_dlopen
9826 /* System header to define __stub macros and hopefully few prototypes,
9827 which can conflict with char dlopen (); below.
9828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9829 <limits.h> exists even on freestanding compilers. */
9832 # include <limits.h>
9834 # include <assert.h>
9839 /* Override any GCC internal prototype to avoid an error.
9840 Use char because int might match the return type of a GCC
9841 builtin and then its argument prototype would still apply. */
9846 /* The GNU C library defines this for functions which it implements
9847 to always fail with ENOSYS. Some functions are actually named
9848 something starting with __ and the normal name is an alias. */
9849 #if defined __stub_dlopen || defined __stub___dlopen
9861 rm -f conftest.
$ac_objext conftest
$ac_exeext
9862 if { (ac_try
="$ac_link"
9864 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9865 *) ac_try_echo=$ac_try;;
9867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9868 (eval "$ac_link") 2>conftest.er1
9870 grep -v '^ *+' conftest.er1 >conftest.err
9872 cat conftest.err >&5
9873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9874 (exit $ac_status); } && {
9875 test -z "$ac_c_werror_flag" ||
9876 test ! -s conftest.err
9877 } && test -s conftest$ac_exeext &&
9878 $as_test_x conftest$ac_exeext; then
9879 ac_cv_func_dlopen=yes
9881 echo "$as_me: failed program was:" >&5
9882 sed 's/^/| /' conftest.$ac_ext >&5
9884 ac_cv_func_dlopen=no
9887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9888 conftest$ac_exeext conftest.$ac_ext
9890 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9891 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
9892 if test $ac_cv_func_dlopen = yes; then
9898 if test "x-$have_dl" = "x-no" ; then
9899 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9900 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
9901 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9902 echo $ECHO_N "(cached) $ECHO_C" >&6
9904 ac_check_lib_save_LIBS=$LIBS
9906 cat >conftest.$ac_ext <<_ACEOF
9909 cat confdefs.h >>conftest.$ac_ext
9910 cat >>conftest.$ac_ext <<_ACEOF
9911 /* end confdefs.h. */
9913 /* Override any GCC internal prototype to avoid an error.
9914 Use char because int might match the return type of a GCC
9915 builtin and then its argument prototype would still apply. */
9928 rm -f conftest.$ac_objext conftest$ac_exeext
9929 if { (ac_try="$ac_link"
9931 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9932 *) ac_try_echo
=$ac_try;;
9934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9935 (eval "$ac_link") 2>conftest.er1
9937 grep -v '^ *+' conftest.er1
>conftest.err
9939 cat conftest.err
>&5
9940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9941 (exit $ac_status); } && {
9942 test -z "$ac_c_werror_flag" ||
9943 test ! -s conftest.err
9944 } && test -s conftest
$ac_exeext &&
9945 $as_test_x conftest
$ac_exeext; then
9946 ac_cv_lib_dl_dlopen
=yes
9948 echo "$as_me: failed program was:" >&5
9949 sed 's/^/| /' conftest.
$ac_ext >&5
9951 ac_cv_lib_dl_dlopen
=no
9954 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9955 conftest
$ac_exeext conftest.
$ac_ext
9956 LIBS
=$ac_check_lib_save_LIBS
9958 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9959 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
9960 if test $ac_cv_lib_dl_dlopen = yes; then
9962 aros_host_ldflags
="$aros_host_ldflags -ldl"
9968 if test "x-$have_dl" = "x-no" ; then
9969 { { echo "$as_me:$LINENO: error: dlopen() dynamic linker functions not available" >&5
9970 echo "$as_me: error: dlopen() dynamic linker functions not available" >&2;}
9971 { (exit 1); exit 1; }; }
9975 # Check whether --enable-x11_hidd was given.
9976 if test "${enable_x11_hidd+set}" = set; then
9977 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
9982 case "x-$x11_hidd" in
9983 x-yes|x-no|x-auto
) ;;
9984 *) x11_hidd
="auto" ;;
9987 if test "x-$x11_hidd" != "x-no" ; then
9989 { echo "$as_me:$LINENO: checking for X" >&5
9990 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
9993 # Check whether --with-x was given.
9994 if test "${with_x+set}" = set; then
9998 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9999 if test "x$with_x" = xno
; then
10000 # The user explicitly disabled X.
10003 case $x_includes,$x_libraries in #(
10004 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
10005 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
10006 { (exit 1); exit 1; }; };; #(
10007 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then
10008 echo $ECHO_N "(cached) $ECHO_C" >&6
10010 # One or both of the vars are not set, and there is no cached value.
10011 ac_x_includes
=no ac_x_libraries
=no
10012 rm -f -r conftest.dir
10013 if mkdir conftest.dir
; then
10015 cat >Imakefile
<<'_ACEOF'
10017 @echo incroot='${INCROOT}'
10019 @echo usrlibdir='${USRLIBDIR}'
10021 @echo libdir='${LIBDIR}'
10023 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
10024 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10025 for ac_var
in incroot usrlibdir libdir
; do
10026 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10028 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10029 for ac_extension
in a so sl
; do
10030 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10031 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10032 ac_im_usrlibdir
=$ac_im_libdir; break
10035 # Screen out bogus values from the imake configuration. They are
10036 # bogus both because they are the default anyway, and because
10037 # using them would break gcc on systems where it needs fixed includes.
10038 case $ac_im_incroot in
10039 /usr
/include
) ac_x_includes
= ;;
10040 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
10042 case $ac_im_usrlibdir in
10043 /usr
/lib |
/lib
) ;;
10044 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
10048 rm -f -r conftest.dir
10051 # Standard set of common directories for X headers.
10052 # Check X11 before X11Rn because it is often a symlink to the current release.
10064 /usr/local/X11/include
10065 /usr/local/X11R6/include
10066 /usr/local/X11R5/include
10067 /usr/local/X11R4/include
10069 /usr/local/include/X11
10070 /usr/local/include/X11R6
10071 /usr/local/include/X11R5
10072 /usr/local/include/X11R4
10076 /usr/XFree86/include/X11
10080 /usr/unsupported/include
10081 /usr/athena/include
10082 /usr/local/x11r5/include
10083 /usr/lpp/Xamples/include
10085 /usr/openwin/include
10086 /usr/openwin/share/include'
10088 if test "$ac_x_includes" = no
; then
10089 # Guess where to find include files, by looking for Xlib.h.
10090 # First, try using that file with no special directory specified.
10091 cat >conftest.
$ac_ext <<_ACEOF
10094 cat confdefs.h
>>conftest.
$ac_ext
10095 cat >>conftest.
$ac_ext <<_ACEOF
10096 /* end confdefs.h. */
10097 #include <X11/Xlib.h>
10099 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10100 case "(($ac_try" in
10101 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10102 *) ac_try_echo=$ac_try;;
10104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10105 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10107 grep -v '^ *+' conftest.er1 >conftest.err
10109 cat conftest.err >&5
10110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10111 (exit $ac_status); } >/dev/null && {
10112 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10113 test ! -s conftest.err
10115 # We can compile using X headers with no special include directory.
10118 echo "$as_me: failed program was:" >&5
10119 sed 's/^/| /' conftest.$ac_ext >&5
10121 for ac_dir in $ac_x_header_dirs; do
10122 if test -r "$ac_dir/X11/Xlib.h"; then
10123 ac_x_includes=$ac_dir
10129 rm -f conftest.err conftest.$ac_ext
10130 fi # $ac_x_includes = no
10132 if test "$ac_x_libraries" = no; then
10133 # Check for the libraries.
10134 # See if we find them without any special options.
10135 # Don't add to $LIBS permanently.
10138 cat >conftest.$ac_ext <<_ACEOF
10141 cat confdefs.h >>conftest.$ac_ext
10142 cat >>conftest.$ac_ext <<_ACEOF
10143 /* end confdefs.h. */
10144 #include <X11/Xlib.h>
10153 rm -f conftest.$ac_objext conftest$ac_exeext
10154 if { (ac_try="$ac_link"
10155 case "(($ac_try" in
10156 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10157 *) ac_try_echo
=$ac_try;;
10159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10160 (eval "$ac_link") 2>conftest.er1
10162 grep -v '^ *+' conftest.er1
>conftest.err
10164 cat conftest.err
>&5
10165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10166 (exit $ac_status); } && {
10167 test -z "$ac_c_werror_flag" ||
10168 test ! -s conftest.err
10169 } && test -s conftest
$ac_exeext &&
10170 $as_test_x conftest
$ac_exeext; then
10172 # We can link X programs with no special library path.
10175 echo "$as_me: failed program was:" >&5
10176 sed 's/^/| /' conftest.
$ac_ext >&5
10179 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10181 # Don't even attempt the hair of trying to link an X program!
10182 for ac_extension
in a so sl
; do
10183 if test -r "$ac_dir/libX11.$ac_extension"; then
10184 ac_x_libraries
=$ac_dir
10191 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10192 conftest
$ac_exeext conftest.
$ac_ext
10193 fi # $ac_x_libraries = no
10195 case $ac_x_includes,$ac_x_libraries in #(
10196 no
,* |
*,no |
*\'*)
10197 # Didn't find X, or a directory has "'" in its name.
10198 ac_cv_have_x
="have_x=no";; #(
10200 # Record where we found X for the cache.
10201 ac_cv_have_x
="have_x=yes\
10202 ac_x_includes='$ac_x_includes'\
10203 ac_x_libraries='$ac_x_libraries'"
10209 eval "$ac_cv_have_x"
10212 if test "$have_x" != yes; then
10213 { echo "$as_me:$LINENO: result: $have_x" >&5
10214 echo "${ECHO_T}$have_x" >&6; }
10217 # If each of the values was on the command line, it overrides each guess.
10218 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
10219 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
10220 # Update the cache value to reflect the command line values.
10221 ac_cv_have_x
="have_x=yes\
10222 ac_x_includes='$x_includes'\
10223 ac_x_libraries='$x_libraries'"
10224 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
10225 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
10229 if test "x-$no_x" = "x-yes" ; then
10231 if test "x-$x11_hidd" != "x-auto" ; then
10232 { { echo "$as_me:$LINENO: error: X11 libs/headers not found, cannot build X11 hidd as requested" >&5
10233 echo "$as_me: error: X11 libs/headers not found, cannot build X11 hidd as requested" >&2;}
10234 { (exit 1); exit 1; }; }
10238 x11_hidd_target
=kernel-x11gfx
10241 # Check whether --enable-x11_shm was given.
10242 if test "${enable_x11_shm+set}" = set; then
10243 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
10245 x11_hidd_shm
="auto"
10248 case "x-$x11_hidd_shm" in
10249 x-yes|x-no|x-auto
) ;;
10250 *) x11_hidd_shm
="auto" ;;
10255 if test "x-$x11_hidd_shm" != "x-no" ; then
10258 for ac_header
in sys
/ipc.h
10260 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10261 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10262 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10263 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10264 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10265 echo $ECHO_N "(cached) $ECHO_C" >&6
10267 ac_res
=`eval echo '${'$as_ac_Header'}'`
10268 { echo "$as_me:$LINENO: result: $ac_res" >&5
10269 echo "${ECHO_T}$ac_res" >&6; }
10271 # Is the header compilable?
10272 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10273 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10274 cat >conftest.
$ac_ext <<_ACEOF
10277 cat confdefs.h
>>conftest.
$ac_ext
10278 cat >>conftest.
$ac_ext <<_ACEOF
10279 /* end confdefs.h. */
10280 $ac_includes_default
10281 #include <$ac_header>
10283 rm -f conftest.
$ac_objext
10284 if { (ac_try
="$ac_compile"
10285 case "(($ac_try" in
10286 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10287 *) ac_try_echo=$ac_try;;
10289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10290 (eval "$ac_compile") 2>conftest.er1
10292 grep -v '^ *+' conftest.er1 >conftest.err
10294 cat conftest.err >&5
10295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10296 (exit $ac_status); } && {
10297 test -z "$ac_c_werror_flag" ||
10298 test ! -s conftest.err
10299 } && test -s conftest.$ac_objext; then
10300 ac_header_compiler=yes
10302 echo "$as_me: failed program was:" >&5
10303 sed 's/^/| /' conftest.$ac_ext >&5
10305 ac_header_compiler=no
10308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10309 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10310 echo "${ECHO_T}$ac_header_compiler" >&6; }
10312 # Is the header present?
10313 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10314 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10315 cat >conftest.$ac_ext <<_ACEOF
10318 cat confdefs.h >>conftest.$ac_ext
10319 cat >>conftest.$ac_ext <<_ACEOF
10320 /* end confdefs.h. */
10321 #include <$ac_header>
10323 if { (ac_try="$ac_cpp conftest.$ac_ext"
10324 case "(($ac_try" in
10325 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10326 *) ac_try_echo
=$ac_try;;
10328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10329 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10331 grep -v '^ *+' conftest.er1
>conftest.err
10333 cat conftest.err
>&5
10334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10335 (exit $ac_status); } >/dev
/null
&& {
10336 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10337 test ! -s conftest.err
10339 ac_header_preproc
=yes
10341 echo "$as_me: failed program was:" >&5
10342 sed 's/^/| /' conftest.
$ac_ext >&5
10344 ac_header_preproc
=no
10347 rm -f conftest.err conftest.
$ac_ext
10348 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10349 echo "${ECHO_T}$ac_header_preproc" >&6; }
10351 # So? What about this header?
10352 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10354 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10355 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10356 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10357 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10358 ac_header_preproc
=yes
10361 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10362 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10363 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10364 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10365 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10366 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10367 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10368 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10369 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10370 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10371 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10372 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10376 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10377 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10378 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10379 echo $ECHO_N "(cached) $ECHO_C" >&6
10381 eval "$as_ac_Header=\$ac_header_preproc"
10383 ac_res
=`eval echo '${'$as_ac_Header'}'`
10384 { echo "$as_me:$LINENO: result: $ac_res" >&5
10385 echo "${ECHO_T}$ac_res" >&6; }
10388 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10389 cat >>confdefs.h
<<_ACEOF
10390 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10398 for ac_header
in sys
/shm.h
10400 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10401 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10402 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10403 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10404 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10405 echo $ECHO_N "(cached) $ECHO_C" >&6
10407 ac_res
=`eval echo '${'$as_ac_Header'}'`
10408 { echo "$as_me:$LINENO: result: $ac_res" >&5
10409 echo "${ECHO_T}$ac_res" >&6; }
10411 # Is the header compilable?
10412 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10413 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10414 cat >conftest.
$ac_ext <<_ACEOF
10417 cat confdefs.h
>>conftest.
$ac_ext
10418 cat >>conftest.
$ac_ext <<_ACEOF
10419 /* end confdefs.h. */
10420 $ac_includes_default
10421 #include <$ac_header>
10423 rm -f conftest.
$ac_objext
10424 if { (ac_try
="$ac_compile"
10425 case "(($ac_try" in
10426 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10427 *) ac_try_echo=$ac_try;;
10429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10430 (eval "$ac_compile") 2>conftest.er1
10432 grep -v '^ *+' conftest.er1 >conftest.err
10434 cat conftest.err >&5
10435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436 (exit $ac_status); } && {
10437 test -z "$ac_c_werror_flag" ||
10438 test ! -s conftest.err
10439 } && test -s conftest.$ac_objext; then
10440 ac_header_compiler=yes
10442 echo "$as_me: failed program was:" >&5
10443 sed 's/^/| /' conftest.$ac_ext >&5
10445 ac_header_compiler=no
10448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10449 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10450 echo "${ECHO_T}$ac_header_compiler" >&6; }
10452 # Is the header present?
10453 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10454 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10455 cat >conftest.$ac_ext <<_ACEOF
10458 cat confdefs.h >>conftest.$ac_ext
10459 cat >>conftest.$ac_ext <<_ACEOF
10460 /* end confdefs.h. */
10461 #include <$ac_header>
10463 if { (ac_try="$ac_cpp conftest.$ac_ext"
10464 case "(($ac_try" in
10465 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10466 *) ac_try_echo
=$ac_try;;
10468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10469 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10471 grep -v '^ *+' conftest.er1
>conftest.err
10473 cat conftest.err
>&5
10474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10475 (exit $ac_status); } >/dev
/null
&& {
10476 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10477 test ! -s conftest.err
10479 ac_header_preproc
=yes
10481 echo "$as_me: failed program was:" >&5
10482 sed 's/^/| /' conftest.
$ac_ext >&5
10484 ac_header_preproc
=no
10487 rm -f conftest.err conftest.
$ac_ext
10488 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10489 echo "${ECHO_T}$ac_header_preproc" >&6; }
10491 # So? What about this header?
10492 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10494 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10495 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10496 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10497 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10498 ac_header_preproc
=yes
10501 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10502 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10503 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10504 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10505 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10506 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10507 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10508 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10509 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10510 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10511 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10512 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10516 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10517 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10518 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10519 echo $ECHO_N "(cached) $ECHO_C" >&6
10521 eval "$as_ac_Header=\$ac_header_preproc"
10523 ac_res
=`eval echo '${'$as_ac_Header'}'`
10524 { echo "$as_me:$LINENO: result: $ac_res" >&5
10525 echo "${ECHO_T}$ac_res" >&6; }
10528 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10529 cat >>confdefs.h
<<_ACEOF
10530 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10538 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
10541 save_cflags
="$CFLAGS"
10542 LIBS
="$x_libraries"
10543 CFLAGS
="$x_includes"
10544 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
10545 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
10546 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
10547 echo $ECHO_N "(cached) $ECHO_C" >&6
10549 ac_check_lib_save_LIBS
=$LIBS
10550 LIBS
="-lXext $LIBS"
10551 cat >conftest.
$ac_ext <<_ACEOF
10554 cat confdefs.h
>>conftest.
$ac_ext
10555 cat >>conftest.
$ac_ext <<_ACEOF
10556 /* end confdefs.h. */
10558 /* Override any GCC internal prototype to avoid an error.
10559 Use char because int might match the return type of a GCC
10560 builtin and then its argument prototype would still apply. */
10564 char XShmQueryExtension ();
10568 return XShmQueryExtension ();
10573 rm -f conftest.
$ac_objext conftest
$ac_exeext
10574 if { (ac_try
="$ac_link"
10575 case "(($ac_try" in
10576 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10577 *) ac_try_echo=$ac_try;;
10579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10580 (eval "$ac_link") 2>conftest.er1
10582 grep -v '^ *+' conftest.er1 >conftest.err
10584 cat conftest.err >&5
10585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10586 (exit $ac_status); } && {
10587 test -z "$ac_c_werror_flag" ||
10588 test ! -s conftest.err
10589 } && test -s conftest$ac_exeext &&
10590 $as_test_x conftest$ac_exeext; then
10591 ac_cv_lib_Xext_XShmQueryExtension=yes
10593 echo "$as_me: failed program was:" >&5
10594 sed 's/^/| /' conftest.$ac_ext >&5
10596 ac_cv_lib_Xext_XShmQueryExtension=no
10599 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10600 conftest$ac_exeext conftest.$ac_ext
10601 LIBS=$ac_check_lib_save_LIBS
10603 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10604 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10605 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
10610 CFLAGS="$save_cflags"
10614 if test "x-$have_xshm" = "x-yes" ; then
10615 DO_XSHM_SUPPORT="1"
10616 elif test "x-$x11_hidd_shm" = "x-yes" ; then
10617 { { echo "$as_me:$LINENO: error: X11 has no support for shared memory, cannot enable it as requested" >&5
10618 echo "$as_me: error: X11 has no support for shared memory, cannot enable it as requested" >&2;}
10619 { (exit 1); exit 1; }; }
10621 DO_XSHM_SUPPORT="0"
10625 # Check whether --enable-x11_vidmode was given.
10626 if test "${enable_x11_vidmode+set}" = set; then
10627 enableval=$enable_x11_vidmode; x11_hidd_vidmode="$enableval"
10629 x11_hidd_vidmode="auto"
10632 case "x-$x11_hidd_vidmode" in
10633 x-yes|x-no|x-auto) ;;
10634 *) x11_hidd_vidmode="auto" ;;
10639 if test "x-$x11_hidd_vidmode" != "x-no" ; then
10642 save_cflags="$CFLAGS"
10643 LIBS="$x_libraries"
10644 CFLAGS="$x_includes"
10645 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
10646 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
10647 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
10648 echo $ECHO_N "(cached) $ECHO_C" >&6
10650 ac_check_lib_save_LIBS=$LIBS
10651 LIBS="-lXxf86vm $LIBS"
10652 cat >conftest.$ac_ext <<_ACEOF
10655 cat confdefs.h >>conftest.$ac_ext
10656 cat >>conftest.$ac_ext <<_ACEOF
10657 /* end confdefs.h. */
10659 /* Override any GCC internal prototype to avoid an error.
10660 Use char because int might match the return type of a GCC
10661 builtin and then its argument prototype would still apply. */
10665 char XF86VidModeQueryExtension ();
10669 return XF86VidModeQueryExtension ();
10674 rm -f conftest.$ac_objext conftest$ac_exeext
10675 if { (ac_try="$ac_link"
10676 case "(($ac_try" in
10677 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10678 *) ac_try_echo
=$ac_try;;
10680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10681 (eval "$ac_link") 2>conftest.er1
10683 grep -v '^ *+' conftest.er1
>conftest.err
10685 cat conftest.err
>&5
10686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10687 (exit $ac_status); } && {
10688 test -z "$ac_c_werror_flag" ||
10689 test ! -s conftest.err
10690 } && test -s conftest
$ac_exeext &&
10691 $as_test_x conftest
$ac_exeext; then
10692 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
10694 echo "$as_me: failed program was:" >&5
10695 sed 's/^/| /' conftest.
$ac_ext >&5
10697 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
10700 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10701 conftest
$ac_exeext conftest.
$ac_ext
10702 LIBS
=$ac_check_lib_save_LIBS
10704 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10705 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10706 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
10711 CFLAGS
="$save_cflags"
10714 if test "x-$have_vidmode" = "x-yes" ; then
10715 DO_VIDMODE_SUPPORT
="1"
10716 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
10717 { { echo "$as_me:$LINENO: error: X11 vidmode extension not available, cannot enable it as requested" >&5
10718 echo "$as_me: error: X11 vidmode extension not available, cannot enable it as requested" >&2;}
10719 { (exit 1); exit 1; }; }
10721 DO_VIDMODE_SUPPORT
="0"
10728 # Check whether --enable-sdl_hidd was given.
10729 if test "${enable_sdl_hidd+set}" = set; then
10730 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
10735 case "x-$sdl_hidd" in
10736 x-yes|x-no|x-auto
) ;;
10737 *) sdl_hidd
="auto" ;;
10740 if test "x-$sdl_hidd" != "x-no" ; then
10743 # Check whether --with-sdl-prefix was given.
10744 if test "${with_sdl_prefix+set}" = set; then
10745 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
10751 # Check whether --with-sdl-exec-prefix was given.
10752 if test "${with_sdl_exec_prefix+set}" = set; then
10753 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
10758 # Check whether --enable-sdltest was given.
10759 if test "${enable_sdltest+set}" = set; then
10760 enableval
=$enable_sdltest;
10766 if test x
$sdl_exec_prefix != x
; then
10767 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
10768 if test x
${SDL_CONFIG+set} != xset
; then
10769 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
10772 if test x
$sdl_prefix != x
; then
10773 sdl_args
="$sdl_args --prefix=$sdl_prefix"
10774 if test x
${SDL_CONFIG+set} != xset
; then
10775 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
10779 if test "x$prefix" != xNONE
; then
10780 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
10782 # Extract the first word of "sdl-config", so it can be a program name with args.
10783 set dummy sdl-config
; ac_word
=$2
10784 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10785 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10786 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
10787 echo $ECHO_N "(cached) $ECHO_C" >&6
10789 case $SDL_CONFIG in
10791 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
10794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10795 for as_dir
in $PATH
10798 test -z "$as_dir" && as_dir
=.
10799 for ac_exec_ext
in '' $ac_executable_extensions; do
10800 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10801 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10809 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
10813 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
10814 if test -n "$SDL_CONFIG"; then
10815 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
10816 echo "${ECHO_T}$SDL_CONFIG" >&6; }
10818 { echo "$as_me:$LINENO: result: no" >&5
10819 echo "${ECHO_T}no" >&6; }
10823 min_sdl_version
=1.2.10
10824 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
10825 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
10827 if test "$SDL_CONFIG" = "no" ; then
10830 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
10831 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
10833 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
10834 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10835 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
10836 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10837 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
10838 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10839 if test "x$enable_sdltest" = "xyes" ; then
10840 ac_save_CFLAGS
="$CFLAGS"
10841 ac_save_CXXFLAGS
="$CXXFLAGS"
10842 ac_save_LIBS
="$LIBS"
10843 CFLAGS
="$CFLAGS $SDL_CFLAGS"
10844 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
10845 LIBS
="$LIBS $SDL_LIBS"
10847 if test "$cross_compiling" = yes; then
10848 echo $ac_n "cross compiling; assumed OK... $ac_c"
10850 cat >conftest.
$ac_ext <<_ACEOF
10853 cat confdefs.h
>>conftest.
$ac_ext
10854 cat >>conftest.
$ac_ext <<_ACEOF
10855 /* end confdefs.h. */
10858 #include <stdlib.h>
10859 #include <string.h>
10863 my_strdup (char *str)
10869 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
10870 strcpy (new_str, str);
10878 int main (int argc, char *argv[])
10880 int major, minor, micro;
10883 /* This hangs on some systems (?)
10884 system ("touch conf.sdltest");
10886 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
10888 /* HP/UX 9 (%@#!) writes to sscanf strings */
10889 tmp_version = my_strdup("$min_sdl_version");
10890 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10891 printf("%s, bad version string\n", "$min_sdl_version");
10895 if (($sdl_major_version > major) ||
10896 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
10897 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
10903 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
10904 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
10905 printf("*** best to upgrade to the required version.\n");
10906 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
10907 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
10908 printf("*** config.cache before re-running configure\n");
10915 rm -f conftest
$ac_exeext
10916 if { (ac_try
="$ac_link"
10917 case "(($ac_try" in
10918 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10919 *) ac_try_echo=$ac_try;;
10921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10922 (eval "$ac_link") 2>&5
10924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10925 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10926 { (case "(($ac_try" in
10927 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10928 *) ac_try_echo
=$ac_try;;
10930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10931 (eval "$ac_try") 2>&5
10933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10934 (exit $ac_status); }; }; then
10937 echo "$as_me: program exited with status $ac_status" >&5
10938 echo "$as_me: failed program was:" >&5
10939 sed 's/^/| /' conftest.
$ac_ext >&5
10941 ( exit $ac_status )
10944 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10948 CFLAGS
="$ac_save_CFLAGS"
10949 CXXFLAGS
="$ac_save_CXXFLAGS"
10950 LIBS
="$ac_save_LIBS"
10953 if test "x$no_sdl" = x
; then
10954 { echo "$as_me:$LINENO: result: yes" >&5
10955 echo "${ECHO_T}yes" >&6; }
10958 { echo "$as_me:$LINENO: result: no" >&5
10959 echo "${ECHO_T}no" >&6; }
10960 if test "$SDL_CONFIG" = "no" ; then
10961 echo "*** The sdl-config script installed by SDL could not be found"
10962 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
10963 echo "*** your path, or set the SDL_CONFIG environment variable to the"
10964 echo "*** full path to sdl-config."
10966 if test -f conf.sdltest
; then
10969 echo "*** Could not run SDL test program, checking why..."
10970 CFLAGS
="$CFLAGS $SDL_CFLAGS"
10971 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
10972 LIBS
="$LIBS $SDL_LIBS"
10973 cat >conftest.
$ac_ext <<_ACEOF
10976 cat confdefs.h
>>conftest.
$ac_ext
10977 cat >>conftest.
$ac_ext <<_ACEOF
10978 /* end confdefs.h. */
10983 int main(int argc, char *argv[])
10986 #define main K_and_R_C_main
10996 rm -f conftest.
$ac_objext conftest
$ac_exeext
10997 if { (ac_try
="$ac_link"
10998 case "(($ac_try" in
10999 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11000 *) ac_try_echo=$ac_try;;
11002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11003 (eval "$ac_link") 2>conftest.er1
11005 grep -v '^ *+' conftest.er1 >conftest.err
11007 cat conftest.err >&5
11008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11009 (exit $ac_status); } && {
11010 test -z "$ac_c_werror_flag" ||
11011 test ! -s conftest.err
11012 } && test -s conftest$ac_exeext &&
11013 $as_test_x conftest$ac_exeext; then
11014 echo "*** The test program compiled, but did not run. This usually means"
11015 echo "*** that the run-time linker is not finding SDL or finding the wrong"
11016 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
11017 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
11018 echo "*** to the installed location Also, make sure you have run ldconfig if that"
11019 echo "*** is required on your system"
11021 echo "*** If you have an old version installed, it is best to remove it, although"
11022 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
11024 echo "$as_me: failed program was:" >&5
11025 sed 's/^/| /' conftest.$ac_ext >&5
11027 echo "*** The test program failed to compile or link. See the file config.log for the"
11028 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
11029 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
11030 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
11033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11034 conftest$ac_exeext conftest.$ac_ext
11035 CFLAGS="$ac_save_CFLAGS"
11036 CXXFLAGS="$ac_save_CXXFLAGS"
11037 LIBS="$ac_save_LIBS"
11049 if test "x-$have_sdl" != "x-yes" ; then
11051 if test "x-$sdl_hidd" != "x-auto" ; then
11052 { { echo "$as_me:$LINENO: error: SDL libs/headers not found, cannot build SDL hidd as requested" >&5
11053 echo "$as_me: error: SDL libs/headers not found, cannot build SDL hidd as requested" >&2;}
11054 { (exit 1); exit 1; }; }
11058 sdl_hidd_target=kernel-hidd-sdl
11065 { echo "$as_me:$LINENO: checking if building of dbus.library is enabled" >&5
11066 echo $ECHO_N "checking if building of dbus.library is enabled... $ECHO_C" >&6; }
11067 # Check whether --enable-dbus was given.
11068 if test "${enable_dbus+set}" = set; then
11069 enableval=$enable_dbus; dbus="yes"
11074 if test "$dbus" = "yes" ; then
11076 DBUS_CFLAGS=`pkg-config
--cflags dbus-1
`
11077 DBUS_LIBFLAGS=`pkg-config
--libs dbus-1
`
11078 KERNEL_DBUS_KOBJ=kernel-dbus-kobj
11079 KERNEL_DBUS_INCLUDES=kernel-dbus-includes
11083 { echo "$as_me:$LINENO: result: $dbus" >&5
11084 echo "${ECHO_T}$dbus" >&6; }
11173 # Native version related
11177 # Palm native version related
11180 # Unix/Hosted version related
11196 # Collect-aros stuff: "-ius" to ignore undefined symbols
11199 # C compiler related
11202 case "$aros_flavour" in
11203 emulation) aros_flavour_uc="AROS_FLAVOUR_EMULATION"
11204 aros_flavour="emulation" ;;
11205 emulcompat) aros_flavour_uc="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
11206 aros_flavour="emulation" ;;
11207 standalone) aros_flavour_uc="AROS_FLAVOUR_STANDALONE"
11208 aros_flavour="standalone";;
11209 native) aros_flavour_uc="AROS_FLAVOUR_NATIVE"
11210 aros_flavour="native" ;;
11211 nativecompat) aros_flavour_uc="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
11212 aros_flavour="native" ;;
11213 linklib) aros_flavour_uc="AROS_FLAVOUR_LINKLIB"
11214 aros_flavour="linklib" ;;
11215 palmnative) aros_flavour_uc="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
11216 aros_flavour="palmnative" ;;
11217 mac68knative) aros_flavour_uc="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
11218 aros_flavour="mac68knative" ;;
11219 ppcnative) aros_flavour_uc="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
11220 aros_flavour="ppcnative" ;;
11225 if test ! -d ${aros_inc_dir} ; then
11226 ${MKDIR} ${aros_inc_dir}
11228 if test ! -d ${aros_geninc_dir} ; then
11229 ${MKDIR} ${aros_geninc_dir}
11231 if test ! -d ${aros_hostcfg_dir} ; then
11232 ${MKDIR} ${aros_hostcfg_dir}
11234 if test ! -d ${aros_targetcfg_dir} ; then
11235 ${MKDIR} ${aros_targetcfg_dir}
11237 if test ! -d ${aros_tools_dir} ; then
11238 ${MKDIR} ${aros_tools_dir}
11240 if test ! -d ${aros_scripts_dir} ; then
11241 ${MKDIR} ${aros_scripts_dir}
11244 ac_config_headers="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
11247 ac_config_commands="$ac_config_commands compiler_executable"
11249 ac_config_commands="$ac_config_commands genshared_executable"
11251 ac_config_commands="$ac_config_commands genmf_executable"
11253 ac_config_commands="$ac_config_commands adflib_myaros.conf_executable"
11256 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"
11259 cat >confcache <<\_ACEOF
11260 # This file is a shell script that caches the results of configure
11261 # tests run on this system so they can be shared between configure
11262 # scripts and configure runs, see configure's option --config-cache.
11263 # It is not useful on other systems. If it contains results you don't
11264 # want to keep, you may remove or edit it.
11266 # config.status only pays attention to the cache file if you give it
11267 # the --recheck option to rerun configure.
11269 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
11270 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11271 # following values.
11275 # The following way of writing the cache mishandles newlines in values,
11276 # but we know of no workaround that is simple, portable, and efficient.
11277 # So, we kill variables containing newlines.
11278 # Ultrix sh set writes to stderr and can't be redirected directly,
11279 # and sets the high bit in the cache file unless we assign to the vars.
11281 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11282 eval ac_val
=\$
$ac_var
11286 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
11287 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
11290 _ | IFS | as_nl
) ;; #(
11291 *) $as_unset $ac_var ;;
11297 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11298 *${as_nl}ac_space
=\
*)
11299 # `set' does not quote correctly, so add quotes (double-quote
11300 # substitution turns \\\\ into \\, and sed turns \\ into \).
11303 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11306 # `set' quotes correctly as required by POSIX, so do not add quotes.
11307 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11316 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11318 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11320 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11321 if test -w "$cache_file"; then
11322 test "x$cache_file" != "x/dev/null" &&
11323 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
11324 echo "$as_me: updating cache $cache_file" >&6;}
11325 cat confcache
>$cache_file
11327 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
11328 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11333 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11334 # Let make expand exec_prefix.
11335 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11337 DEFS
=-DHAVE_CONFIG_H
11341 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11342 # 1. Remove the extension, and $U if already installed.
11343 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
11344 ac_i
=`echo "$ac_i" | sed "$ac_script"`
11345 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11346 # will be set to the directory where LIBOBJS objects are built.
11347 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11348 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
11350 LIBOBJS
=$ac_libobjs
11352 LTLIBOBJS
=$ac_ltlibobjs
11356 : ${CONFIG_STATUS=./config.status}
11357 ac_clean_files_save
=$ac_clean_files
11358 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11359 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
11360 echo "$as_me: creating $CONFIG_STATUS" >&6;}
11361 cat >$CONFIG_STATUS <<_ACEOF
11363 # Generated by $as_me.
11364 # Run this file to recreate the current configuration.
11365 # Compiler output produced by configure, useful for debugging
11366 # configure, is in config.log if it exists.
11369 ac_cs_recheck=false
11371 SHELL=\${CONFIG_SHELL-$SHELL}
11374 cat >>$CONFIG_STATUS <<\_ACEOF
11375 ## --------------------- ##
11376 ## M4sh Initialization. ##
11377 ## --------------------- ##
11379 # Be more Bourne compatible
11380 DUALCASE
=1; export DUALCASE
# for MKS sh
11381 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
11384 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
11385 # is contrary to our usage. Disable this feature.
11386 alias -g '${1+"$@"}'='"$@"'
11387 setopt NO_GLOB_SUBST
11389 case `(set -o) 2>/dev/null` in
11390 *posix
*) set -o posix
;;
11399 # Avoid depending upon Character Ranges.
11400 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11401 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11402 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11403 as_cr_digits
='0123456789'
11404 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11406 # The user is always right.
11407 if test "${PATH_SEPARATOR+set}" != set; then
11408 echo "#! /bin/sh" >conf$$.sh
11409 echo "exit 0" >>conf$$.sh
11411 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
11419 # Support unset when possible.
11420 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
11428 # We need space, tab and new line, in precisely that order. Quoting is
11429 # there to prevent editors from complaining about space-tab.
11430 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11431 # splitting by setting IFS to empty value.)
11436 # Find who we are. Look in the path if we contain no directory separator.
11438 *[\\/]* ) as_myself
=$0 ;;
11439 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11440 for as_dir
in $PATH
11443 test -z "$as_dir" && as_dir
=.
11444 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
11450 # We did not find ourselves, most probably we were run as `sh COMMAND'
11451 # in which case we are not to be found in the path.
11452 if test "x$as_myself" = x
; then
11455 if test ! -f "$as_myself"; then
11456 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11457 { (exit 1); exit 1; }
11460 # Work around bugs in pre-3.0 UWIN ksh.
11461 for as_var
in ENV MAIL MAILPATH
11462 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
11470 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
11471 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
11472 LC_TELEPHONE LC_TIME
11474 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
11475 eval $as_var=C
; export $as_var
11477 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
11481 # Required to use basename.
11482 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
11483 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
11489 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11490 as_basename
=basename
11496 # Name of the executable.
11497 as_me
=`$as_basename -- "$0" ||
11498 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11499 X"$0" : 'X\(//\)$' \| \
11500 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11502 sed '/^.*\/\([^/][^/]*\)\/*$/{
11521 as_lineno_1
=$LINENO
11522 as_lineno_2
=$LINENO
11523 test "x$as_lineno_1" != "x$as_lineno_2" &&
11524 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
11526 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
11527 # uniformly replaced by the line number. The first 'sed' inserts a
11528 # line-number line after each line using $LINENO; the second 'sed'
11529 # does the real work. The second script uses 'N' to pair each
11530 # line-number line with the line containing $LINENO, and appends
11531 # trailing '-' during substitution so that $LINENO is not a special
11532 # case at line end.
11533 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
11534 # scripts with optimization help from Paolo Bonzini. Blame Lee
11535 # E. McMahon (1931-1989) for sed's syntax. :-)
11547 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
11550 ' >$as_me.lineno
&&
11551 chmod +x
"$as_me.lineno" ||
11552 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
11553 { (exit 1); exit 1; }; }
11555 # Don't try to exec as it changes $[0], causing all sort of problems
11556 # (the dirname of $[0] is not the place where we might find the
11557 # original and so on. Autoconf is especially sensitive to this).
11558 .
"./$as_me.lineno"
11559 # Exit status is that of the last command.
11564 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
11570 ECHO_C
= ECHO_N
= ECHO_T
=
11571 case `echo -n x` in
11573 case `echo 'x\c'` in
11574 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
11581 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
11582 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
11588 rm -f conf$$ conf$$.exe conf$$.
file
11589 if test -d conf$$.dir
; then
11590 rm -f conf$$.dir
/conf$$.
file
11596 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11598 # ... but there are two gotchas:
11599 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11600 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11601 # In both cases, we have to default to `cp -p'.
11602 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
11604 elif ln conf$$.
file conf$$
2>/dev
/null
; then
11609 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
11610 rmdir conf$$.dir
2>/dev
/null
11612 if mkdir
-p .
2>/dev
/null
; then
11615 test -d .
/-p && rmdir .
/-p
11619 if test -x / >/dev
/null
2>&1; then
11620 as_test_x
='test -x'
11622 if ls -dL / >/dev
/null
2>&1; then
11629 if test -d "$1"; then
11635 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
11636 ???[sx]*):;;*)false;;esac;fi
11640 as_executable_p
=$as_test_x
11642 # Sed expression to map a string onto a valid CPP name.
11643 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11645 # Sed expression to map a string onto a valid variable name.
11646 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11651 # Save the log message, to keep $[0] and so on meaningful, and to
11652 # report actual input values of CONFIG_FILES etc. instead of their
11653 # values after options handling.
11655 This file was extended by $as_me, which was
11656 generated by GNU Autoconf 2.61. Invocation command line was
11658 CONFIG_FILES = $CONFIG_FILES
11659 CONFIG_HEADERS = $CONFIG_HEADERS
11660 CONFIG_LINKS = $CONFIG_LINKS
11661 CONFIG_COMMANDS = $CONFIG_COMMANDS
11664 on `(hostname || uname -n) 2>/dev/null | sed 1q`
11669 cat >>$CONFIG_STATUS <<_ACEOF
11670 # Files that config.status was made for.
11671 config_files="$ac_config_files"
11672 config_headers="$ac_config_headers"
11673 config_commands="$ac_config_commands"
11677 cat >>$CONFIG_STATUS <<\_ACEOF
11679 \`$as_me' instantiates files from templates according to the
11680 current configuration.
11682 Usage: $0 [OPTIONS] [FILE]...
11684 -h, --help print this help, then exit
11685 -V, --version print version number and configuration settings, then exit
11686 -q, --quiet do not print progress messages
11687 -d, --debug don't remove temporary files
11688 --recheck update $as_me by reconfiguring in the same conditions
11689 --file=FILE[:TEMPLATE]
11690 instantiate the configuration file FILE
11691 --header=FILE[:TEMPLATE]
11692 instantiate the configuration header FILE
11694 Configuration files:
11697 Configuration headers:
11700 Configuration commands:
11703 Report bugs to <bug-autoconf@gnu.org>."
11706 cat >>$CONFIG_STATUS <<_ACEOF
11709 configured by $0, generated by GNU Autoconf 2.61,
11710 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
11712 Copyright (C) 2006 Free Software Foundation, Inc.
11713 This config.status script is free software; the Free Software Foundation
11714 gives unlimited permission to copy, distribute and modify it."
11720 cat >>$CONFIG_STATUS <<\_ACEOF
11721 # If no file are specified by the user, then we need to provide default
11722 # value. By we need to know if files were specified by the user.
11728 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
11729 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
11740 # Handling of the options.
11741 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
11743 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
11744 echo "$ac_cs_version"; exit ;;
11745 --debug |
--debu |
--deb |
--de |
--d |
-d )
11747 --file |
--fil |
--fi |
--f )
11749 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
11750 ac_need_defaults
=false
;;
11751 --header |
--heade |
--head |
--hea )
11753 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
11754 ac_need_defaults
=false
;;
11756 # Conflict between --help and --header
11757 { echo "$as_me: error: ambiguous option: $1
11758 Try \`$0 --help' for more information." >&2
11759 { (exit 1); exit 1; }; };;
11760 --help |
--hel |
-h )
11761 echo "$ac_cs_usage"; exit ;;
11762 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
11763 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
11766 # This is an error.
11767 -*) { echo "$as_me: error: unrecognized option: $1
11768 Try \`$0 --help' for more information." >&2
11769 { (exit 1); exit 1; }; } ;;
11771 *) ac_config_targets
="$ac_config_targets $1"
11772 ac_need_defaults
=false
;;
11778 ac_configure_extra_args
=
11780 if $ac_cs_silent; then
11782 ac_configure_extra_args
="$ac_configure_extra_args --silent"
11786 cat >>$CONFIG_STATUS <<_ACEOF
11787 if \$ac_cs_recheck; then
11788 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
11789 CONFIG_SHELL=$SHELL
11790 export CONFIG_SHELL
11791 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11795 cat >>$CONFIG_STATUS <<\_ACEOF
11799 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11800 ## Running $as_me. ##
11806 cat >>$CONFIG_STATUS <<_ACEOF
11811 aros_tools_dir=${aros_tools_dir}
11812 aros_target_cpu=${aros_target_cpu}
11813 aros_target_arch=${aros_target_arch}
11814 aros_target_suffix=${aros_target_suffix}
11815 aros_target_nm_ln=${aros_target_nm_ln}
11816 aros_target_as_ln=${aros_target_as_ln}
11817 aros_target_ar_ln=${aros_target_ar_ln}
11818 aros_target_ranlib_ln=${aros_target_ranlib_ln}
11819 aros_target_objdump_ln=${aros_target_objdump_ln}
11820 aros_target_objcopy_ln=${aros_target_objcopy_ln}
11821 aros_target_strip_ln=${aros_target_strip_ln}
11824 aros_scripts_dir=${aros_scripts_dir}
11826 aros_tools_dir=${aros_tools_dir}
11831 cat >>$CONFIG_STATUS <<\_ACEOF
11833 # Handling of arguments.
11834 for ac_config_target
in $ac_config_targets
11836 case $ac_config_target in
11837 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
11838 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
11839 "genshared_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genshared_executable" ;;
11840 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
11841 "adflib_myaros.conf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS adflib_myaros.conf_executable" ;;
11842 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
11843 "rom/mmakefile") CONFIG_FILES
="$CONFIG_FILES rom/mmakefile" ;;
11844 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
11845 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
11846 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
11847 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
11848 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
11849 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
11850 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
11851 "${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" ;;
11852 "${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" ;;
11853 "${aros_scripts_dir}/genshared") CONFIG_FILES
="$CONFIG_FILES ${aros_scripts_dir}/genshared:compiler/c_lib/source/lib_source/genshared.in" ;;
11854 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
11855 "tools/adflib/myconf.aros") CONFIG_FILES
="$CONFIG_FILES tools/adflib/myconf.aros" ;;
11856 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
11858 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11859 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11860 { (exit 1); exit 1; }; };;
11865 # If the user did not use the arguments to specify the items to instantiate,
11866 # then the envvar interface is used. Set only those that are not.
11867 # We use the long form for the default assignment because of an extremely
11868 # bizarre bug on SunOS 4.1.3.
11869 if $ac_need_defaults; then
11870 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
11871 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
11872 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
11875 # Have a temporary directory for convenience. Make it in the build tree
11876 # simply because there is no reason against having it here, and in addition,
11877 # creating and moving files from /tmp can sometimes cause problems.
11878 # Hook for its removal unless debugging.
11879 # Note that there is a small window in which the directory will not be cleaned:
11880 # after its creation but before its name has been assigned to `$tmp'.
11884 trap 'exit_status=$?
11885 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
11887 trap '{ (exit 1); exit 1; }' 1 2 13 15
11889 # Create a (secure) tmp directory for tmp files.
11892 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
11893 test -n "$tmp" && test -d "$tmp"
11896 tmp
=.
/conf$$
-$RANDOM
11897 (umask 077 && mkdir
"$tmp")
11900 echo "$me: cannot create a temporary directory in ." >&2
11901 { (exit 1); exit 1; }
11905 # Set up the sed scripts for CONFIG_FILES section.
11908 # No need to generate the scripts if there are no CONFIG_FILES.
11909 # This happens for instance when ./config.status config.h
11910 if test -n "$CONFIG_FILES"; then
11917 for ac_last_try
in false false false false false
:; do
11918 cat >conf$
$subs.
sed <<_ACEOF
11919 SHELL!$SHELL$ac_delim
11920 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
11921 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
11922 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
11923 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
11924 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
11925 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
11926 exec_prefix!$exec_prefix$ac_delim
11927 prefix!$prefix$ac_delim
11928 program_transform_name!$program_transform_name$ac_delim
11929 bindir!$bindir$ac_delim
11930 sbindir!$sbindir$ac_delim
11931 libexecdir!$libexecdir$ac_delim
11932 datarootdir!$datarootdir$ac_delim
11933 datadir!$datadir$ac_delim
11934 sysconfdir!$sysconfdir$ac_delim
11935 sharedstatedir!$sharedstatedir$ac_delim
11936 localstatedir!$localstatedir$ac_delim
11937 includedir!$includedir$ac_delim
11938 oldincludedir!$oldincludedir$ac_delim
11939 docdir!$docdir$ac_delim
11940 infodir!$infodir$ac_delim
11941 htmldir!$htmldir$ac_delim
11942 dvidir!$dvidir$ac_delim
11943 pdfdir!$pdfdir$ac_delim
11944 psdir!$psdir$ac_delim
11945 libdir!$libdir$ac_delim
11946 localedir!$localedir$ac_delim
11947 mandir!$mandir$ac_delim
11948 DEFS!$DEFS$ac_delim
11949 ECHO_C!$ECHO_C$ac_delim
11950 ECHO_N!$ECHO_N$ac_delim
11951 ECHO_T!$ECHO_T$ac_delim
11952 LIBS!$LIBS$ac_delim
11953 build_alias!$build_alias$ac_delim
11954 host_alias!$host_alias$ac_delim
11955 target_alias!$target_alias$ac_delim
11956 build!$build$ac_delim
11957 build_cpu!$build_cpu$ac_delim
11958 build_vendor!$build_vendor$ac_delim
11959 build_os!$build_os$ac_delim
11960 host!$host$ac_delim
11961 host_cpu!$host_cpu$ac_delim
11962 host_vendor!$host_vendor$ac_delim
11963 host_os!$host_os$ac_delim
11965 CFLAGS!$CFLAGS$ac_delim
11966 LDFLAGS!$LDFLAGS$ac_delim
11967 CPPFLAGS!$CPPFLAGS$ac_delim
11968 ac_ct_CC!$ac_ct_CC$ac_delim
11969 EXEEXT!$EXEEXT$ac_delim
11970 OBJEXT!$OBJEXT$ac_delim
11973 MMAKE!$MMAKE$ac_delim
11974 aros_host_ld!$aros_host_ld$ac_delim
11975 aros_host_aclocal!$aros_host_aclocal$ac_delim
11976 aros_host_autoconf!$aros_host_autoconf$ac_delim
11977 aros_host_autoheader!$aros_host_autoheader$ac_delim
11978 aros_host_automake!$aros_host_automake$ac_delim
11979 aros_host_ar!$aros_host_ar$ac_delim
11980 aros_host_ranlib!$aros_host_ranlib$ac_delim
11981 aros_host_strip!$aros_host_strip$ac_delim
11985 ECHO!$ECHO$ac_delim
11986 MKDIR!$MKDIR$ac_delim
11987 TOUCH!$TOUCH$ac_delim
11988 SORT!$SORT$ac_delim
11989 UNIQ!$UNIQ$ac_delim
11992 BISON!$BISON$ac_delim
11993 FLEX!$FLEX$ac_delim
11994 PNGTOPNM!$PNGTOPNM$ac_delim
11995 PPMTOILBM!$PPMTOILBM$ac_delim
11997 CHMOD!$CHMOD$ac_delim
11998 PYTHON!$PYTHON$ac_delim
11999 PYTHON_VERSION!$PYTHON_VERSION$ac_delim
12000 PYTHON_PREFIX!$PYTHON_PREFIX$ac_delim
12001 PYTHON_EXEC_PREFIX!$PYTHON_EXEC_PREFIX$ac_delim
12002 PYTHON_PLATFORM!$PYTHON_PLATFORM$ac_delim
12003 pythondir!$pythondir$ac_delim
12004 pkgpythondir!$pkgpythondir$ac_delim
12005 pyexecdir!$pyexecdir$ac_delim
12006 pkgpyexecdir!$pkgpyexecdir$ac_delim
12009 TEST!$TEST$ac_delim
12011 GREP!$GREP$ac_delim
12012 EGREP!$EGREP$ac_delim
12013 LIBOBJS!$LIBOBJS$ac_delim
12014 DISTCC!$DISTCC$ac_delim
12015 CCACHE!$CCACHE$ac_delim
12018 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
12020 elif $ac_last_try; then
12021 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12022 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12023 { (exit 1); exit 1; }; }
12025 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
12029 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
12030 if test -n "$ac_eof"; then
12031 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
12032 ac_eof
=`expr $ac_eof + 1`
12035 cat >>$CONFIG_STATUS <<_ACEOF
12036 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
12037 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12040 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
12041 s/^/s,@/; s/!/@,|#_!!_#|/
12044 s/'"$ac_delim"'$/,g/; t
12046 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
12047 ' >>$CONFIG_STATUS <conf$
$subs.
sed
12048 rm -f conf$
$subs.
sed
12049 cat >>$CONFIG_STATUS <<_ACEOF
12055 for ac_last_try
in false false false false false
:; do
12056 cat >conf$
$subs.
sed <<_ACEOF
12057 aros_kernel_cc!$aros_kernel_cc$ac_delim
12058 aros_target_as_ln!$aros_target_as_ln$ac_delim
12059 aros_kernel_ld!$aros_kernel_ld$ac_delim
12060 aros_target_ar_ln!$aros_target_ar_ln$ac_delim
12061 aros_target_nm_ln!$aros_target_nm_ln$ac_delim
12062 aros_target_objcopy_ln!$aros_target_objcopy_ln$ac_delim
12063 aros_target_objdump_ln!$aros_target_objdump_ln$ac_delim
12064 aros_target_ranlib_ln!$aros_target_ranlib_ln$ac_delim
12065 aros_target_strip_ln!$aros_target_strip_ln$ac_delim
12066 aros_target_nostdinc_cflags!$aros_target_nostdinc_cflags$ac_delim
12067 aros_target_nostartup_ldflags!$aros_target_nostartup_ldflags$ac_delim
12068 aros_target_nix_ldflags!$aros_target_nix_ldflags$ac_delim
12069 aros_target_detach_ldflags!$aros_target_detach_ldflags$ac_delim
12070 aros_target_nostdlib_ldflags!$aros_target_nostdlib_ldflags$ac_delim
12071 XMKMF!$XMKMF$ac_delim
12072 SDL_CONFIG!$SDL_CONFIG$ac_delim
12073 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
12074 SDL_LIBS!$SDL_LIBS$ac_delim
12075 aros_arch!$aros_arch$ac_delim
12076 aros_cpu!$aros_cpu$ac_delim
12077 aros_flavour!$aros_flavour$ac_delim
12078 aros_flavour_uc!$aros_flavour_uc$ac_delim
12079 TOPDIR!$TOPDIR$ac_delim
12080 aros_cc_pre!$aros_cc_pre$ac_delim
12081 aros_host_arch!$aros_host_arch$ac_delim
12082 aros_host_cpu!$aros_host_cpu$ac_delim
12083 aros_host_cc!$aros_host_cc$ac_delim
12084 aros_host_make!$aros_host_make$ac_delim
12085 aros_host_cflags!$aros_host_cflags$ac_delim
12086 aros_host_ldflags!$aros_host_ldflags$ac_delim
12087 aros_host_debug!$aros_host_debug$ac_delim
12088 aros_host_mkdep!$aros_host_mkdep$ac_delim
12089 aros_host_mkargs!$aros_host_mkargs$ac_delim
12090 aros_host_exe_suffix!$aros_host_exe_suffix$ac_delim
12091 aros_host_lib_suffix!$aros_host_lib_suffix$ac_delim
12092 aros_tools_dir!$aros_tools_dir$ac_delim
12093 aros_target_arch!$aros_target_arch$ac_delim
12094 aros_target_cpu!$aros_target_cpu$ac_delim
12095 aros_target_variant!$aros_target_variant$ac_delim
12096 aros_target_suffix!$aros_target_suffix$ac_delim
12097 aros_target_incl!$aros_target_incl$ac_delim
12098 aros_target_ar!$aros_target_ar$ac_delim
12099 aros_target_ranlib!$aros_target_ranlib$ac_delim
12100 aros_kernel_nm!$aros_kernel_nm$ac_delim
12101 aros_target_cc!$aros_target_cc$ac_delim
12102 aros_target_as!$aros_target_as$ac_delim
12103 aros_target_ld!$aros_target_ld$ac_delim
12104 aros_target_cc_includes!$aros_target_cc_includes$ac_delim
12105 aros_target_cc_path!$aros_target_cc_path$ac_delim
12106 aros_target_objdump!$aros_target_objdump$ac_delim
12107 aros_target_objcopy!$aros_target_objcopy$ac_delim
12108 aros_target_strip!$aros_target_strip$ac_delim
12109 aros_target_nm!$aros_target_nm$ac_delim
12110 aros_shared_default!$aros_shared_default$ac_delim
12111 aros_shared_ld!$aros_shared_ld$ac_delim
12112 aros_object_format!$aros_object_format$ac_delim
12113 aros_compiler_libs!$aros_compiler_libs$ac_delim
12114 aros_config_cflags!$aros_config_cflags$ac_delim
12115 aros_config_aflags!$aros_config_aflags$ac_delim
12116 aros_config_ldflags!$aros_config_ldflags$ac_delim
12117 aros_shared_cflags!$aros_shared_cflags$ac_delim
12118 aros_shared_aflags!$aros_shared_aflags$ac_delim
12119 aros_shared_ldflags!$aros_shared_ldflags$ac_delim
12120 aros_kernel_ldflags!$aros_kernel_ldflags$ac_delim
12121 aros_debug_cflags!$aros_debug_cflags$ac_delim
12122 aros_debug_aflags!$aros_debug_aflags$ac_delim
12123 aros_debug_ldflags!$aros_debug_ldflags$ac_delim
12124 aros_target_genmap!$aros_target_genmap$ac_delim
12125 aros_target_strip_flags!$aros_target_strip_flags$ac_delim
12126 aros_gui_libdir!$aros_gui_libdir$ac_delim
12127 aros_gui_ldflags!$aros_gui_ldflags$ac_delim
12128 aros_gui_libflags!$aros_gui_libflags$ac_delim
12129 aros_gui_incdir!$aros_gui_incdir$ac_delim
12130 aros_gui_ccflags!$aros_gui_ccflags$ac_delim
12131 x11_hidd_target!$x11_hidd_target$ac_delim
12132 sdl_hidd_target!$sdl_hidd_target$ac_delim
12133 aros_default_wbwidth!$aros_default_wbwidth$ac_delim
12134 aros_default_wbheight!$aros_default_wbheight$ac_delim
12135 aros_default_wbdepth!$aros_default_wbdepth$ac_delim
12136 DO_XSHM_SUPPORT!$DO_XSHM_SUPPORT$ac_delim
12137 DO_VIDMODE_SUPPORT!$DO_VIDMODE_SUPPORT$ac_delim
12138 aros_bochs_hack!$aros_bochs_hack$ac_delim
12139 aros_serial_debug!$aros_serial_debug$ac_delim
12140 aros_palm_debug_hack!$aros_palm_debug_hack$ac_delim
12141 aros_nesting_supervisor!$aros_nesting_supervisor$ac_delim
12142 ENABLE_DBUS!$ENABLE_DBUS$ac_delim
12143 DBUS_CFLAGS!$DBUS_CFLAGS$ac_delim
12144 DBUS_LIBFLAGS!$DBUS_LIBFLAGS$ac_delim
12145 KERNEL_DBUS_KOBJ!$KERNEL_DBUS_KOBJ$ac_delim
12146 KERNEL_DBUS_INCLUDES!$KERNEL_DBUS_INCLUDES$ac_delim
12147 aros_debug!$aros_debug$ac_delim
12148 aros_mungwall_debug!$aros_mungwall_debug$ac_delim
12149 aros_stack_debug!$aros_stack_debug$ac_delim
12150 aros_modules_debug!$aros_modules_debug$ac_delim
12151 ignore_undefined_symbols!$ignore_undefined_symbols$ac_delim
12152 gcc_target_cpu!$gcc_target_cpu$ac_delim
12153 LTLIBOBJS!$LTLIBOBJS$ac_delim
12156 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
12158 elif $ac_last_try; then
12159 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12160 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12161 { (exit 1); exit 1; }; }
12163 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
12167 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
12168 if test -n "$ac_eof"; then
12169 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
12170 ac_eof
=`expr $ac_eof + 1`
12173 cat >>$CONFIG_STATUS <<_ACEOF
12174 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
12175 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
12178 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
12179 s/^/s,@/; s/!/@,|#_!!_#|/
12182 s/'"$ac_delim"'$/,g/; t
12184 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
12185 ' >>$CONFIG_STATUS <conf$
$subs.
sed
12186 rm -f conf$
$subs.
sed
12187 cat >>$CONFIG_STATUS <<_ACEOF
12192 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12193 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
12194 # trailing colons and then remove the whole line if VPATH becomes empty
12195 # (actually we leave an empty line to preserve line numbers).
12196 if test "x$srcdir" = x.
; then
12197 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
12198 s/:*\$(srcdir):*/:/
12199 s/:*\${srcdir}:*/:/
12201 s/^\([^=]*=[ ]*\):*/\1/
12207 cat >>$CONFIG_STATUS <<\_ACEOF
12208 fi # test -n "$CONFIG_FILES"
12211 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
12214 :[FHLC
]) ac_mode
=$ac_tag; continue;;
12216 case $ac_mode$ac_tag in
12218 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
12219 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
12220 { (exit 1); exit 1; }; };;
12221 :[FH
]-) ac_tag
=-:-;;
12222 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
12239 -) ac_f
="$tmp/stdin";;
12240 *) # Look for the file first in the build tree, then in the source tree
12241 # (if the path is not absolute). The absolute path cannot be DOS-style,
12242 # because $ac_f cannot contain `:'.
12246 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
12248 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
12249 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
12250 { (exit 1); exit 1; }; };;
12252 ac_file_inputs
="$ac_file_inputs $ac_f"
12255 # Let's still pretend it is `configure' which instantiates (i.e., don't
12256 # use $as_me), people would be surprised to read:
12257 # /* config.h. Generated by config.status. */
12258 configure_input
="Generated from "`IFS=:
12259 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
12260 if test x
"$ac_file" != x-
; then
12261 configure_input
="$ac_file. $configure_input"
12262 { echo "$as_me:$LINENO: creating $ac_file" >&5
12263 echo "$as_me: creating $ac_file" >&6;}
12267 *:-:* |
*:-) cat >"$tmp/stdin";;
12272 ac_dir
=`$as_dirname -- "$ac_file" ||
12273 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12274 X"$ac_file" : 'X\(//\)[^/]' \| \
12275 X"$ac_file" : 'X\(//\)$' \| \
12276 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12278 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12282 /^X\(\/\/\)[^/].*/{
12297 -*) as_dir
=.
/$as_dir;;
12299 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
12303 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
12304 *) as_qdir
=$as_dir;;
12306 as_dirs
="'$as_qdir' $as_dirs"
12307 as_dir
=`$as_dirname -- "$as_dir" ||
12308 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12309 X"$as_dir" : 'X\(//\)[^/]' \| \
12310 X"$as_dir" : 'X\(//\)$' \| \
12311 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12313 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12317 /^X\(\/\/\)[^/].*/{
12330 test -d "$as_dir" && break
12332 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12333 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
12334 echo "$as_me: error: cannot create directory $as_dir" >&2;}
12335 { (exit 1); exit 1; }; }; }
12339 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12341 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
12342 # A ".." for each directory in $ac_dir_suffix.
12343 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
12344 case $ac_top_builddir_sub in
12345 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12346 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
12349 ac_abs_top_builddir
=$ac_pwd
12350 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
12351 # for backward compatibility:
12352 ac_top_builddir
=$ac_top_build_prefix
12355 .
) # We are building in place.
12357 ac_top_srcdir
=$ac_top_builddir_sub
12358 ac_abs_top_srcdir
=$ac_pwd ;;
12359 [\\/]* | ?
:[\\/]* ) # Absolute name.
12360 ac_srcdir
=$srcdir$ac_dir_suffix;
12361 ac_top_srcdir
=$srcdir
12362 ac_abs_top_srcdir
=$srcdir ;;
12363 *) # Relative name.
12364 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
12365 ac_top_srcdir
=$ac_top_build_prefix$srcdir
12366 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
12368 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
12379 cat >>$CONFIG_STATUS <<\_ACEOF
12380 # If the template does not know about datarootdir, expand it.
12381 # FIXME: This hack should be removed a few years after 2.60.
12382 ac_datarootdir_hack
=; ac_datarootdir_seen
=
12384 case `sed -n '/datarootdir/ {
12393 ' $ac_file_inputs` in
12394 *datarootdir
*) ac_datarootdir_seen
=yes;;
12395 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
12396 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12397 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12399 cat >>$CONFIG_STATUS <<_ACEOF
12400 ac_datarootdir_hack='
12401 s&@datadir@&$datadir&g
12402 s&@docdir@&$docdir&g
12403 s&@infodir@&$infodir&g
12404 s&@localedir@&$localedir&g
12405 s&@mandir@&$mandir&g
12406 s&\\\${datarootdir}&$datarootdir&g' ;;
12410 # Neutralize VPATH when `$srcdir' = `.'.
12411 # Shell code in configure.ac might set extrasub.
12412 # FIXME: do we really want to maintain this feature?
12413 cat >>$CONFIG_STATUS <<_ACEOF
12417 cat >>$CONFIG_STATUS <<\_ACEOF
12419 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12420 s
&@configure_input@
&$configure_input&;t t
12421 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
12422 s
&@srcdir@
&$ac_srcdir&;t t
12423 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
12424 s
&@top_srcdir@
&$ac_top_srcdir&;t t
12425 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
12426 s
&@builddir@
&$ac_builddir&;t t
12427 s
&@abs_builddir@
&$ac_abs_builddir&;t t
12428 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
12429 $ac_datarootdir_hack
12430 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" | sed 's/|#_!!_#|//g' >$tmp/out
12432 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12433 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
12434 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
12435 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
12436 which seems to be undefined. Please make sure it is defined." >&5
12437 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
12438 which seems to be undefined. Please make sure it is defined." >&2;}
12442 -) cat "$tmp/out"; rm -f "$tmp/out";;
12443 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
12452 # Transform confdefs.h into a sed script `conftest.defines', that
12453 # substitutes the proper values into config.h.in to produce config.h.
12454 rm -f conftest.defines conftest.
tail
12455 # First, append a space to every undef/define line, to ease matching.
12456 echo 's/$/ /' >conftest.defines
12457 # Then, protect against being on the right side of a sed subst, or in
12458 # an unquoted here document, in config.status. If some macros were
12459 # called several times there might be several #defines for the same
12460 # symbol, which is useless. But do not sort them, since the last
12461 # AC_DEFINE must be honored.
12462 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
12463 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
12464 # NAME is the cpp macro being defined, VALUE is the value it is being given.
12465 # PARAMS is the parameter list in the macro definition--in most cases, it's
12466 # just an empty string.
12467 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
12468 ac_dB
='\\)[ (].*,\\1define\\2'
12476 s/^[ ]*#[ ]*define[ ][ ]*//
12481 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
12482 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
12483 ' >>conftest.defines
12485 # Remove the space that was appended to ease matching.
12486 # Then replace #undef with comments. This is necessary, for
12487 # example, in the case of _POSIX_SOURCE, which is predefined and required
12488 # on some systems where configure will not decide to define it.
12489 # (The regexp can be short, since the line contains either #define or #undef.)
12491 s,^[ #]*u.*,/* & */,' >>conftest.defines
12493 # Break up conftest.defines:
12494 ac_max_sed_lines
=50
12496 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
12497 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
12498 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
12500 ac_in
='$ac_file_inputs'
12501 ac_out
='"$tmp/out1"'
12502 ac_nxt
='"$tmp/out2"'
12506 # Write a here document:
12507 cat >>$CONFIG_STATUS <<_ACEOF
12508 # First, check the format of the line:
12509 cat >"\$tmp/defines.sed" <<\\CEOF
12510 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
12511 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
12515 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
12517 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
12518 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
12519 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
12520 grep . conftest.
tail >/dev
/null ||
break
12521 rm -f conftest.defines
12522 mv conftest.
tail conftest.defines
12524 rm -f conftest.defines conftest.
tail
12526 echo "ac_result=$ac_in" >>$CONFIG_STATUS
12527 cat >>$CONFIG_STATUS <<\_ACEOF
12528 if test x
"$ac_file" != x-
; then
12529 echo "/* $configure_input */" >"$tmp/config.h"
12530 cat "$ac_result" >>"$tmp/config.h"
12531 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
12532 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
12533 echo "$as_me: $ac_file is unchanged" >&6;}
12536 mv "$tmp/config.h" $ac_file
12539 echo "/* $configure_input */"
12545 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
12546 echo "$as_me: executing $ac_file commands" >&6;}
12551 case $ac_file$ac_mode in
12552 "compiler_executable":C
)
12553 prefix
=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
12555 prefix
="${prefix}/${aros_target_cpu}-aros"
12556 prefix2
=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
12560 chmod a
+x
${prefix2}-gcc ${prefix2}-ld
12562 ln -sf ${prefix2}-gcc ${prefix}-gcc
12563 ln -sf ${prefix2}-ld ${prefix}-ld
12565 ln -sf $aros_target_as_ln ${prefix}-as
12566 ln -sf $aros_target_nm_ln ${prefix}-nm
12567 ln -sf $aros_target_ar_ln ${prefix}-ar
12568 ln -sf $aros_target_ranlib_ln ${prefix}-ranlib
12569 ln -sf $aros_target_objcopy_ln ${prefix}-objcopy
12570 ln -sf $aros_target_objdump_ln ${prefix}-objdump
12571 ln -sf $aros_target_strip_ln ${prefix}-strip
12573 ln -sf $aros_target_as_ln ${prefix2}-as
12574 ln -sf $aros_target_nm_ln ${prefix2}-nm
12575 ln -sf $aros_target_ar_ln ${prefix2}-ar
12576 ln -sf $aros_target_ranlib_ln ${prefix2}-ranlib
12577 ln -sf $aros_target_objcopy_ln ${prefix2}-objcopy
12578 ln -sf $aros_target_objdump_ln ${prefix2}-objdump
12579 ln -sf $aros_target_strip_ln ${prefix2}-strip
12581 "genshared_executable":C
) chmod a
+x
${aros_scripts_dir}/genshared
;;
12582 "genmf_executable":C
) chmod a
+x
${aros_tools_dir}/genmf.py
;;
12583 "adflib_myaros.conf_executable":C
) chmod a
+x tools
/adflib
/myconf.aros
12590 { (exit 0); exit 0; }
12592 chmod +x
$CONFIG_STATUS
12593 ac_clean_files
=$ac_clean_files_save
12596 # configure is writing to config.log, and then calls config.status.
12597 # config.status does its own redirection, appending to config.log.
12598 # Unfortunately, on DOS this fails, as config.log is still kept open
12599 # by configure, so config.status won't be able to write to it; its
12600 # output is simply discarded. So we exec the FD to /dev/null,
12601 # effectively closing config.log, so it can be properly (re)opened and
12602 # appended to by config.status. When coming back to configure, we
12603 # need to make the FD available again.
12604 if test "$no_create" != yes; then
12606 ac_config_status_args
=
12607 test "$silent" = yes &&
12608 ac_config_status_args
="$ac_config_status_args --quiet"
12610 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
12612 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12613 # would make configure fail if this is the last instruction.
12614 $ac_cs_success ||
{ (exit 1); exit 1; }
12619 #XXX compatability...
12620 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
12622 if test -n "$aros_shared_cflags" ; then
12623 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
12624 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg