2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 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 # Pre-4.2 versions of Zsh do 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
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
90 # We need space, tab and new line, in precisely that order. Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
96 # Find who we are. Look in the path if we contain no directory separator.
98 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110 # We did not find ourselves, most probably we were run as `sh COMMAND'
111 # in which case we are not to be found in the path.
112 if test "x$as_myself" = x
; then
115 if test ! -f "$as_myself"; then
116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 { (exit 1); exit 1; }
120 # Work around bugs in pre-3.0 UWIN ksh.
121 for as_var
in ENV MAIL MAILPATH
122 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
134 # Required to use basename.
135 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
142 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149 # Name of the executable.
150 as_me
=`$as_basename -- "$0" ||
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152 X"$0" : 'X\(//\)$' \| \
153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155 sed '/^.*\/\([^/][^/]*\)\/*$/{
173 if test "x$CONFIG_SHELL" = x
; then
174 if (eval ":") 2>/dev
/null
; then
180 if test $as_have_required = yes && (eval ":
190 as_func_ret_success () {
193 as_func_ret_failure () {
198 if as_func_success; then
202 echo as_func_success failed.
205 if as_func_failure; then
207 echo as_func_failure succeeded.
210 if as_func_ret_success; then
214 echo as_func_ret_success failed.
217 if as_func_ret_failure; then
219 echo as_func_ret_failure succeeded.
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226 echo positional parameters were not saved.
229 test \$exitcode = 0) || { (exit 1); exit 1; }
234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236 ") 2> /dev
/null
; then
240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
241 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
244 test -z "$as_dir" && as_dir
=.
247 for as_base
in sh bash ksh sh5
; do
248 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
255 for as_shell
in $as_candidate_shells $SHELL; do
256 # Try only shells that exist, to save several forks.
257 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
258 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
259 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in
268 *posix
*) set -o posix
;;
277 CONFIG_SHELL
=$as_shell
279 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284 # is contrary to our usage. Disable this feature.
285 alias -g '${1+"$@"}'='"$@"'
288 case `(set -o) 2>/dev/null` in
289 *posix
*) set -o posix
;;
305 as_func_ret_success
() {
308 as_func_ret_failure
() {
313 if as_func_success
; then
317 echo as_func_success failed.
320 if as_func_failure
; then
322 echo as_func_failure succeeded.
325 if as_func_ret_success
; then
329 echo as_func_ret_success failed.
332 if as_func_ret_failure
; then
334 echo as_func_ret_failure succeeded.
337 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
341 echo positional parameters were not saved.
344 test $exitcode = 0) ||
{ (exit 1); exit 1; }
349 test "x$as_lineno_1" != "x$as_lineno_2" &&
350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
361 if test "x$CONFIG_SHELL" != x
; then
362 for as_var
in BASH_ENV ENV
363 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370 if test $as_have_required = no
; then
371 echo This
script requires a shell
more modern than all the
372 echo shells that I found on your system. Please
install a
373 echo modern shell
, or manually run the
script under such a
374 echo shell
if you
do have one.
375 { (exit 1); exit 1; }
385 (eval "as_func_return () {
394 as_func_ret_success () {
397 as_func_ret_failure () {
402 if as_func_success; then
406 echo as_func_success failed.
409 if as_func_failure; then
411 echo as_func_failure succeeded.
414 if as_func_ret_success; then
418 echo as_func_ret_success failed.
421 if as_func_ret_failure; then
423 echo as_func_ret_failure succeeded.
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430 echo positional parameters were not saved.
433 test \$exitcode = 0") ||
{
434 echo No shell found that supports shell functions.
435 echo Please tell bug-autoconf@gnu.org about your system
,
436 echo including any error possibly output before this message.
437 echo This can
help us improve future autoconf versions.
438 echo Configuration will now proceed without shell functions.
445 test "x$as_lineno_1" != "x$as_lineno_2" &&
446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449 # uniformly replaced by the line number. The first 'sed' inserts a
450 # line-number line after each line using $LINENO; the second 'sed'
451 # does the real work. The second script uses 'N' to pair each
452 # line-number line with the line containing $LINENO, and appends
453 # trailing '-' during substitution so that $LINENO is not a special
455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456 # scripts with optimization help from Paolo Bonzini. Blame Lee
457 # E. McMahon (1931-1989) for sed's syntax. :-)
469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
473 chmod +x
"$as_me.lineno" ||
474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475 { (exit 1); exit 1; }; }
477 # Don't try to exec as it changes $[0], causing all sort of problems
478 # (the dirname of $[0] is not the place where we might find the
479 # original and so on. Autoconf is especially sensitive to this).
481 # Exit status is that of the last command.
486 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
492 ECHO_C
= ECHO_N
= ECHO_T
=
496 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
502 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
509 rm -f conf$$ conf$$.exe conf$$.
file
510 if test -d conf$$.dir
; then
511 rm -f conf$$.dir
/conf$$.
file
514 mkdir conf$$.dir
2>/dev
/null
516 if (echo >conf$$.
file) 2>/dev
/null
; then
517 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
519 # ... but there are two gotchas:
520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522 # In both cases, we have to default to `cp -p'.
523 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
525 elif ln conf$$.
file conf$$
2>/dev
/null
; then
533 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
534 rmdir conf$$.dir
2>/dev
/null
536 if mkdir
-p .
2>/dev
/null
; then
539 test -d .
/-p && rmdir .
/-p
543 if test -x / >/dev
/null
2>&1; then
546 if ls -dL / >/dev
/null
2>&1; then
553 if test -d "$1"; then
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 ???[sx]*):;;*)false;;esac;fi
564 as_executable_p
=$as_test_x
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
574 exec 7<&0 </dev
/null
6>&1
577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
578 # so uname gets run too.
579 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
584 ac_default_prefix
=/usr
/local
586 ac_config_libobj_dir
=.
592 SHELL
=${CONFIG_SHELL-/bin/sh}
594 # Identity of this package.
601 ac_unique_file
="mmakefile"
602 # Factoring default headers for most tests.
603 ac_includes_default
="\
605 #ifdef HAVE_SYS_TYPES_H
606 # include <sys/types.h>
608 #ifdef HAVE_SYS_STAT_H
609 # include <sys/stat.h>
615 # ifdef HAVE_STDLIB_H
620 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
625 #ifdef HAVE_STRINGS_H
626 # include <strings.h>
628 #ifdef HAVE_INTTYPES_H
629 # include <inttypes.h>
638 ac_subst_vars
='LTLIBOBJS
640 ignore_undefined_symbols
651 aros_nesting_supervisor
657 aros_host_x11_libdirs
658 aros_host_x11_includes
662 aros_default_wbheight
666 aros_target_strip_flags
689 aros_target_cc_includes
701 aros_target_bootloader
729 aros_cflags_iquote_end
731 kernel_cflags_iquote_end
733 host_cflags_iquote_end
735 aros_target_nostdlib_ldflags
736 aros_target_detach_ldflags
737 aros_target_nix_ldflags
738 aros_target_nostartup_ldflags
739 aros_target_nostdinc_cflags
742 aros_target_ranlib_ln
743 aros_target_objdump_ln
744 aros_target_objcopy_ln
839 program_transform_name
851 enable_option_checking
858 enable_target_variant
867 enable_palm_debug_hack
868 enable_nesting_supervisor
879 ac_precious_vars
='build_alias
891 # Initialize some variables set by options.
893 ac_init_version
=false
894 ac_unrecognized_opts
=
896 # The variables have the same names as the options, with
897 # dashes changed to underlines.
905 program_transform_name
=s
,x
,x
,
913 # Installation directory options.
914 # These are left unexpanded so users can "make install exec_prefix=/foo"
915 # and all the variables that are supposed to be based on exec_prefix
916 # by default will actually change.
917 # Use braces instead of parens because sh, perl, etc. also accept them.
918 # (The list follows the same order as the GNU Coding Standards.)
919 bindir
='${exec_prefix}/bin'
920 sbindir
='${exec_prefix}/sbin'
921 libexecdir
='${exec_prefix}/libexec'
922 datarootdir
='${prefix}/share'
923 datadir
='${datarootdir}'
924 sysconfdir
='${prefix}/etc'
925 sharedstatedir
='${prefix}/com'
926 localstatedir
='${prefix}/var'
927 includedir
='${prefix}/include'
928 oldincludedir
='/usr/include'
929 docdir
='${datarootdir}/doc/${PACKAGE}'
930 infodir
='${datarootdir}/info'
935 libdir
='${exec_prefix}/lib'
936 localedir
='${datarootdir}/locale'
937 mandir
='${datarootdir}/man'
943 # If the previous option needs an argument, assign it.
944 if test -n "$ac_prev"; then
945 eval $ac_prev=\
$ac_option
951 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
955 # Accept the important Cygnus configure options, so we can diagnose typos.
957 case $ac_dashdash$ac_option in
961 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
963 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
966 -build |
--build |
--buil |
--bui |
--bu)
967 ac_prev
=build_alias
;;
968 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
969 build_alias
=$ac_optarg ;;
971 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
972 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
973 ac_prev
=cache_file
;;
974 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
975 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
976 cache_file
=$ac_optarg ;;
979 cache_file
=config.cache
;;
981 -datadir |
--datadir |
--datadi |
--datad)
983 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
984 datadir
=$ac_optarg ;;
986 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
987 |
--dataroo |
--dataro |
--datar)
988 ac_prev
=datarootdir
;;
989 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
990 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
991 datarootdir
=$ac_optarg ;;
993 -disable-* |
--disable-*)
994 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
995 # Reject names that are not valid shell variable names.
996 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
997 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
998 { (exit 1); exit 1; }; }
999 ac_useropt_orig
=$ac_useropt
1000 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1001 case $ac_user_opts in
1003 "enable_
$ac_useropt"
1005 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1006 ac_unrecognized_sep
=', ';;
1008 eval enable_
$ac_useropt=no
;;
1010 -docdir |
--docdir |
--docdi |
--doc |
--do)
1012 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1013 docdir
=$ac_optarg ;;
1015 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1017 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1018 dvidir
=$ac_optarg ;;
1020 -enable-* |
--enable-*)
1021 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1022 # Reject names that are not valid shell variable names.
1023 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1024 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1025 { (exit 1); exit 1; }; }
1026 ac_useropt_orig
=$ac_useropt
1027 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1028 case $ac_user_opts in
1030 "enable_
$ac_useropt"
1032 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1033 ac_unrecognized_sep
=', ';;
1035 eval enable_
$ac_useropt=\
$ac_optarg ;;
1037 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1038 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1039 |
--exec |
--exe |
--ex)
1040 ac_prev
=exec_prefix
;;
1041 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1042 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1043 |
--exec=* |
--exe=* |
--ex=*)
1044 exec_prefix
=$ac_optarg ;;
1046 -gas |
--gas |
--ga |
--g)
1047 # Obsolete; use --with-gas.
1050 -help |
--help |
--hel |
--he |
-h)
1051 ac_init_help
=long
;;
1052 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1053 ac_init_help
=recursive
;;
1054 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1055 ac_init_help
=short
;;
1057 -host |
--host |
--hos |
--ho)
1058 ac_prev
=host_alias
;;
1059 -host=* |
--host=* |
--hos=* |
--ho=*)
1060 host_alias
=$ac_optarg ;;
1062 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1064 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1066 htmldir
=$ac_optarg ;;
1068 -includedir |
--includedir |
--includedi |
--included |
--include \
1069 |
--includ |
--inclu |
--incl |
--inc)
1070 ac_prev
=includedir
;;
1071 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1072 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1073 includedir
=$ac_optarg ;;
1075 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1077 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1078 infodir
=$ac_optarg ;;
1080 -libdir |
--libdir |
--libdi |
--libd)
1082 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1083 libdir
=$ac_optarg ;;
1085 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1086 |
--libexe |
--libex |
--libe)
1087 ac_prev
=libexecdir
;;
1088 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1089 |
--libexe=* |
--libex=* |
--libe=*)
1090 libexecdir
=$ac_optarg ;;
1092 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1093 ac_prev
=localedir
;;
1094 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1095 localedir
=$ac_optarg ;;
1097 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1098 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1099 ac_prev
=localstatedir
;;
1100 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1101 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1102 localstatedir
=$ac_optarg ;;
1104 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1106 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1107 mandir
=$ac_optarg ;;
1109 -nfp |
--nfp |
--nf)
1110 # Obsolete; use --without-fp.
1113 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1114 |
--no-cr |
--no-c |
-n)
1117 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1118 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1121 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1122 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1123 |
--oldin |
--oldi |
--old |
--ol |
--o)
1124 ac_prev
=oldincludedir
;;
1125 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1126 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1127 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1128 oldincludedir
=$ac_optarg ;;
1130 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1132 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1133 prefix
=$ac_optarg ;;
1135 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1136 |
--program-pre |
--program-pr |
--program-p)
1137 ac_prev
=program_prefix
;;
1138 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1139 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1140 program_prefix
=$ac_optarg ;;
1142 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1143 |
--program-suf |
--program-su |
--program-s)
1144 ac_prev
=program_suffix
;;
1145 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1146 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1147 program_suffix
=$ac_optarg ;;
1149 -program-transform-name |
--program-transform-name \
1150 |
--program-transform-nam |
--program-transform-na \
1151 |
--program-transform-n |
--program-transform- \
1152 |
--program-transform |
--program-transfor \
1153 |
--program-transfo |
--program-transf \
1154 |
--program-trans |
--program-tran \
1155 |
--progr-tra |
--program-tr |
--program-t)
1156 ac_prev
=program_transform_name
;;
1157 -program-transform-name=* |
--program-transform-name=* \
1158 |
--program-transform-nam=* |
--program-transform-na=* \
1159 |
--program-transform-n=* |
--program-transform-=* \
1160 |
--program-transform=* |
--program-transfor=* \
1161 |
--program-transfo=* |
--program-transf=* \
1162 |
--program-trans=* |
--program-tran=* \
1163 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1164 program_transform_name
=$ac_optarg ;;
1166 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1168 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1169 pdfdir
=$ac_optarg ;;
1171 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1173 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1176 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1177 |
-silent |
--silent |
--silen |
--sile |
--sil)
1180 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1182 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1184 sbindir
=$ac_optarg ;;
1186 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1187 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1188 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1190 ac_prev
=sharedstatedir
;;
1191 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1192 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1193 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1195 sharedstatedir
=$ac_optarg ;;
1197 -site |
--site |
--sit)
1199 -site=* |
--site=* |
--sit=*)
1202 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1204 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1205 srcdir
=$ac_optarg ;;
1207 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1208 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1209 ac_prev
=sysconfdir
;;
1210 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1211 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1212 sysconfdir
=$ac_optarg ;;
1214 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1215 ac_prev
=target_alias
;;
1216 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1217 target_alias
=$ac_optarg ;;
1219 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1222 -version |
--version |
--versio |
--versi |
--vers |
-V)
1223 ac_init_version
=: ;;
1226 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1227 # Reject names that are not valid shell variable names.
1228 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1229 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1230 { (exit 1); exit 1; }; }
1231 ac_useropt_orig
=$ac_useropt
1232 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1233 case $ac_user_opts in
1237 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1238 ac_unrecognized_sep
=', ';;
1240 eval with_
$ac_useropt=\
$ac_optarg ;;
1242 -without-* |
--without-*)
1243 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1244 # Reject names that are not valid shell variable names.
1245 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1246 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1247 { (exit 1); exit 1; }; }
1248 ac_useropt_orig
=$ac_useropt
1249 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1250 case $ac_user_opts in
1254 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1255 ac_unrecognized_sep
=', ';;
1257 eval with_
$ac_useropt=no
;;
1260 # Obsolete; use --with-x.
1263 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1264 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1265 ac_prev
=x_includes
;;
1266 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1267 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1268 x_includes
=$ac_optarg ;;
1270 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1271 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1272 ac_prev
=x_libraries
;;
1273 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1274 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1275 x_libraries
=$ac_optarg ;;
1277 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1278 Try \`$0 --help' for more information." >&2
1279 { (exit 1); exit 1; }; }
1283 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1284 # Reject names that are not valid shell variable names.
1285 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1286 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1287 { (exit 1); exit 1; }; }
1288 eval $ac_envvar=\
$ac_optarg
1289 export $ac_envvar ;;
1292 # FIXME: should be removed in autoconf 3.0.
1293 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1294 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1295 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1296 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1302 if test -n "$ac_prev"; then
1303 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1304 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1305 { (exit 1); exit 1; }; }
1308 if test -n "$ac_unrecognized_opts"; then
1309 case $enable_option_checking in
1311 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1312 { (exit 1); exit 1; }; } ;;
1313 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1317 # Check all directory arguments for consistency.
1318 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1319 datadir sysconfdir sharedstatedir localstatedir includedir \
1320 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1321 libdir localedir mandir
1323 eval ac_val
=\$
$ac_var
1324 # Remove trailing slashes.
1327 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1328 eval $ac_var=\
$ac_val;;
1330 # Be sure to have absolute directory names.
1332 [\\/$
]* | ?
:[\\/]* ) continue;;
1333 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1335 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1336 { (exit 1); exit 1; }; }
1339 # There might be people who depend on the old broken behavior: `$host'
1340 # used to hold the argument of --host etc.
1341 # FIXME: To remove some day.
1344 target
=$target_alias
1346 # FIXME: To remove some day.
1347 if test "x$host_alias" != x
; then
1348 if test "x$build_alias" = x
; then
1349 cross_compiling
=maybe
1350 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1351 If a cross compiler is detected then cross compile mode will be used." >&2
1352 elif test "x$build_alias" != "x$host_alias"; then
1358 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1360 test "$silent" = yes && exec 6>/dev
/null
1363 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1364 ac_ls_di
=`ls -di .` &&
1365 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1366 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1367 { (exit 1); exit 1; }; }
1368 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1369 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1370 { (exit 1); exit 1; }; }
1373 # Find the source files, if location was not specified.
1374 if test -z "$srcdir"; then
1375 ac_srcdir_defaulted
=yes
1376 # Try the directory containing this script, then the parent directory.
1377 ac_confdir
=`$as_dirname -- "$as_myself" ||
1378 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1379 X"$as_myself" : 'X\(//\)[^/]' \| \
1380 X"$as_myself" : 'X\(//\)$' \| \
1381 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1382 $as_echo X"$as_myself" |
1383 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1401 if test ! -r "$srcdir/$ac_unique_file"; then
1405 ac_srcdir_defaulted
=no
1407 if test ! -r "$srcdir/$ac_unique_file"; then
1408 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1409 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1410 { (exit 1); exit 1; }; }
1412 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1414 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1415 { (exit 1); exit 1; }; }
1417 # When building in place, set srcdir=.
1418 if test "$ac_abs_confdir" = "$ac_pwd"; then
1421 # Remove unnecessary trailing slashes from srcdir.
1422 # Double slashes in file names in object file debugging info
1423 # mess up M-x gdb in Emacs.
1425 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1427 for ac_var
in $ac_precious_vars; do
1428 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1429 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1430 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1431 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1435 # Report the --help message.
1437 if test "$ac_init_help" = "long"; then
1438 # Omit some internal or obsolete options to make the list less imposing.
1439 # This message is too long to be a string in the A/UX 3.1 sh.
1441 \`configure' configures this package to adapt to many kinds of systems.
1443 Usage: $0 [OPTION]... [VAR=VALUE]...
1445 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1446 VAR=VALUE. See below for descriptions of some of the useful variables.
1448 Defaults for the options are specified in brackets.
1451 -h, --help display this help and exit
1452 --help=short display options specific to this package
1453 --help=recursive display the short help of all the included packages
1454 -V, --version display version information and exit
1455 -q, --quiet, --silent do not print \`checking...' messages
1456 --cache-file=FILE cache test results in FILE [disabled]
1457 -C, --config-cache alias for \`--cache-file=config.cache'
1458 -n, --no-create do not create output files
1459 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1461 Installation directories:
1462 --prefix=PREFIX install architecture-independent files in PREFIX
1463 [$ac_default_prefix]
1464 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1467 By default, \`make install' will install all the files in
1468 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1469 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1470 for instance \`--prefix=\$HOME'.
1472 For better control, use the options below.
1474 Fine tuning of the installation directories:
1475 --bindir=DIR user executables [EPREFIX/bin]
1476 --sbindir=DIR system admin executables [EPREFIX/sbin]
1477 --libexecdir=DIR program executables [EPREFIX/libexec]
1478 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1479 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1480 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1481 --libdir=DIR object code libraries [EPREFIX/lib]
1482 --includedir=DIR C header files [PREFIX/include]
1483 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1484 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1485 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1486 --infodir=DIR info documentation [DATAROOTDIR/info]
1487 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1488 --mandir=DIR man documentation [DATAROOTDIR/man]
1489 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1490 --htmldir=DIR html documentation [DOCDIR]
1491 --dvidir=DIR dvi documentation [DOCDIR]
1492 --pdfdir=DIR pdf documentation [DOCDIR]
1493 --psdir=DIR ps documentation [DOCDIR]
1499 --x-includes=DIR X include files are
in DIR
1500 --x-libraries=DIR X library files are
in DIR
1503 --build=BUILD configure
for building on BUILD
[guessed
]
1504 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1508 if test -n "$ac_init_help"; then
1513 --disable-option-checking ignore unrecognized
--enable/--with options
1514 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1515 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1516 --enable-build-type=TYPE
1517 Select the build
type. Available types are
:
1518 personal
, nightly
, snapshot
, milestone
, release. Do
1519 NOT use this option unless you know what you are
1520 doing
! (default
=personal
)
1521 --enable-debug=list Enable different types of debug. Commas or
1522 whitespaces can be used to separate the items
in the
1523 list. Available types of debug are
: all
, none
,
1524 messages
, stack
, mungwall
, modules
, symbols. If no
1525 list is provided
then "all" is assumed.
1527 --enable-crosstools Build cross-compiler toolchains
if necessary
1529 --enable-distcc Use distcc as a front end to the compiler
1531 --enable-ccache Use ccache as a front end to the compiler
1533 --enable-target-variant=NAME
1534 Enable a specific target variant
(default
=none
)
1535 --enable-includes=dir Alternative system include directory
1536 --enable-bochs-hack Enable hacks to
make BOCHS
(partly
) work
1538 --enable-palm-debug-hack
1539 Enable palm debug output hack
in palm native
1541 --enable-nesting-supervisor
1542 Enable nesting supervisor support
in unix
1544 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1545 --enable-x11-shm use X11 shared memory
(default
=auto
)
1546 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1547 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1548 --disable-sdltest Do not try to compile and run a
test SDL program
1549 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1552 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1553 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1554 --with-optimization=FLAGS
1555 Use optimization flags FLAGS
(default
=-O2).
1556 --with-portssources=DIR Where to download sourcecode
for external ports
1557 --with-bootloader=NAME Use a specific bootloader
1558 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1559 --with-theme=NAME Use a specific GUI Theme
1560 --with-resolution=XRESxYRESxDEPTH
1561 Default resolution of the initial WorkbenchScreen
1562 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1563 --with-x use the X Window System
1564 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1565 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1567 Some influential environment variables
:
1568 CC C compiler
command
1569 CFLAGS C compiler flags
1570 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1571 nonstandard directory
<lib dir
>
1572 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1573 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1574 you have headers
in a nonstandard directory
<include dir
>
1576 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1578 Use these variables to override the choices made by
`configure' or to help
1579 it to find libraries and programs with nonstandard names/locations.
1585 if test "$ac_init_help" = "recursive"; then
1586 # If there are subdirs, report their specific --help.
1587 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1588 test -d "$ac_dir" ||
1589 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1594 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1596 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1597 # A ".." for each directory in $ac_dir_suffix.
1598 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1599 case $ac_top_builddir_sub in
1600 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1601 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1604 ac_abs_top_builddir=$ac_pwd
1605 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1606 # for backward compatibility:
1607 ac_top_builddir=$ac_top_build_prefix
1610 .) # We are building in place.
1612 ac_top_srcdir=$ac_top_builddir_sub
1613 ac_abs_top_srcdir=$ac_pwd ;;
1614 [\\/]* | ?:[\\/]* ) # Absolute name.
1615 ac_srcdir=$srcdir$ac_dir_suffix;
1616 ac_top_srcdir=$srcdir
1617 ac_abs_top_srcdir=$srcdir ;;
1619 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1620 ac_top_srcdir=$ac_top_build_prefix$srcdir
1621 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1623 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1625 cd "$ac_dir" || { ac_status=$?; continue; }
1626 # Check for guested configure.
1627 if test -f "$ac_srcdir/configure.gnu"; then
1629 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1630 elif test -f "$ac_srcdir/configure"; then
1632 $SHELL "$ac_srcdir/configure" --help=recursive
1634 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1636 cd "$ac_pwd" || { ac_status=$?; break; }
1640 test -n "$ac_init_help" && exit $ac_status
1641 if $ac_init_version; then
1644 generated by GNU Autoconf 2.63
1646 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1647 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1648 This configure script is free software; the Free Software Foundation
1649 gives unlimited permission to copy, distribute and modify it.
1653 cat >config.log <<_ACEOF
1654 This file contains any messages produced by compilers while
1655 running configure, to aid debugging if configure makes a mistake.
1657 It was created by $as_me, which was
1658 generated by GNU Autoconf 2.63. Invocation command line was
1670 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1671 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1672 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1673 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1674 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1676 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1677 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1679 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1680 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1681 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1682 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1683 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1684 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1685 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1693 test -z "$as_dir" && as_dir=.
1694 $as_echo "PATH: $as_dir"
1710 # Keep a trace of the command line.
1711 # Strip out --no-create and --no-recursion so they do not pile up.
1712 # Strip out --silent because we don't want to record it for future runs.
1713 # Also quote any args containing shell meta-characters.
1714 # Make two passes to allow for proper duplicate-argument suppression.
1718 ac_must_keep_next=false
1724 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1725 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1726 | -silent | --silent | --silen | --sile | --sil)
1729 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1732 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1734 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1735 if test $ac_must_keep_next = true; then
1736 ac_must_keep_next=false # Got value, back to normal.
1739 *=* | --config-cache | -C | -disable-* | --disable-* \
1740 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1741 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1742 | -with-* | --with-* | -without-* | --without-* | --x)
1743 case "$ac_configure_args0 " in
1744 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1747 -* ) ac_must_keep_next=true ;;
1750 ac_configure_args="$ac_configure_args '$ac_arg'"
1755 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1756 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1758 # When interrupted or exit'd, cleanup temporary files, and complete
1759 # config.log. We remove comments because anyway the quotes in there
1760 # would cause problems or look ugly.
1761 # WARNING: Use '\'' to represent an apostrophe within the trap.
1762 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1763 trap 'exit_status=$?
1764 # Save into config.log some information that might help in debugging.
1769 ## ---------------- ##
1770 ## Cache variables. ##
1771 ## ---------------- ##
1774 # The following way of writing the cache mishandles newlines in values,
1776 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1777 eval ac_val=\$$ac_var
1781 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1782 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1785 _ | IFS | as_nl) ;; #(
1786 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1787 *) $as_unset $ac_var ;;
1792 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1793 *${as_nl}ac_space=\ *)
1795 "s/'\''/'\''\\\\'\'''\''/g;
1796 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1799 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1807 ## ----------------- ##
1808 ## Output variables. ##
1809 ## ----------------- ##
1812 for ac_var in $ac_subst_vars
1814 eval ac_val=\$$ac_var
1816 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1818 $as_echo "$ac_var='\''$ac_val'\''"
1822 if test -n "$ac_subst_files"; then
1824 ## ------------------- ##
1825 ## File substitutions. ##
1826 ## ------------------- ##
1829 for ac_var in $ac_subst_files
1831 eval ac_val=\$$ac_var
1833 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1835 $as_echo "$ac_var='\''$ac_val'\''"
1840 if test -s confdefs.h; then
1850 test "$ac_signal" != 0 &&
1851 $as_echo "$as_me: caught signal $ac_signal"
1852 $as_echo "$as_me: exit $exit_status"
1854 rm -f core *.core core.conftest.* &&
1855 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1858 for ac_signal in 1 2 13 15; do
1859 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1863 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1864 rm -f -r conftest* confdefs.h
1866 # Predefined preprocessor variables.
1868 cat >>confdefs.h <<_ACEOF
1869 #define PACKAGE_NAME "$PACKAGE_NAME"
1873 cat >>confdefs.h <<_ACEOF
1874 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1878 cat >>confdefs.h <<_ACEOF
1879 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1883 cat >>confdefs.h <<_ACEOF
1884 #define PACKAGE_STRING "$PACKAGE_STRING"
1888 cat >>confdefs.h <<_ACEOF
1889 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1893 # Let the site file select an alternate cache file if it wants to.
1894 # Prefer an explicitly selected file to automatically selected ones.
1897 if test -n "$CONFIG_SITE"; then
1898 ac_site_file1=$CONFIG_SITE
1899 elif test "x$prefix" != xNONE; then
1900 ac_site_file1=$prefix/share/config.site
1901 ac_site_file2=$prefix/etc/config.site
1903 ac_site_file1=$ac_default_prefix/share/config.site
1904 ac_site_file2=$ac_default_prefix/etc/config.site
1906 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1908 test "x$ac_site_file" = xNONE && continue
1909 if test -r "$ac_site_file"; then
1910 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1911 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1912 sed 's/^/| /' "$ac_site_file" >&5
1917 if test -r "$cache_file"; then
1918 # Some versions of bash will fail to source /dev/null (special
1919 # files actually), so we avoid doing that.
1920 if test -f "$cache_file"; then
1921 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1922 $as_echo "$as_me: loading cache $cache_file" >&6;}
1924 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1925 *) . "./$cache_file";;
1929 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1930 $as_echo "$as_me: creating cache $cache_file" >&6;}
1934 # Check that the precious variables saved in the cache have kept the same
1936 ac_cache_corrupted=false
1937 for ac_var in $ac_precious_vars; do
1938 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1939 eval ac_new_set=\$ac_env_${ac_var}_set
1940 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1941 eval ac_new_val=\$ac_env_${ac_var}_value
1942 case $ac_old_set,$ac_new_set in
1944 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1945 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1946 ac_cache_corrupted=: ;;
1948 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1949 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1950 ac_cache_corrupted=: ;;
1953 if test "x$ac_old_val" != "x$ac_new_val"; then
1954 # differences in whitespace do not lead to failure.
1955 ac_old_val_w=`echo x
$ac_old_val`
1956 ac_new_val_w=`echo x
$ac_new_val`
1957 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1958 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1959 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1960 ac_cache_corrupted=:
1962 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1963 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1964 eval $ac_var=\$ac_old_val
1966 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1967 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1968 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1969 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1972 # Pass precious variables to config.status.
1973 if test "$ac_new_set" = set; then
1975 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1976 *) ac_arg=$ac_var=$ac_new_val ;;
1978 case " $ac_configure_args " in
1979 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1980 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1984 if $ac_cache_corrupted; then
1985 { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
1986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1987 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1988 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1989 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&5
1990 $as_echo "$as_me: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&2;}
1991 { (exit 1); exit 1; }; }
2011 ac_cpp='$CPP $CPPFLAGS'
2012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2019 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
2020 if test -f "$ac_dir/install-sh
"; then
2022 ac_install_sh="$ac_aux_dir/install-sh
-c"
2024 elif test -f "$ac_dir/install.sh
"; then
2026 ac_install_sh="$ac_aux_dir/install.sh
-c"
2028 elif test -f "$ac_dir/shtool
"; then
2030 ac_install_sh="$ac_aux_dir/shtool
install -c"
2034 if test -z "$ac_aux_dir"; then
2035 { { $as_echo "$as_me:$LINENO: error
: cannot
find install-sh or
install.sh
in scripts
/autoconf
\"$srcdir\"/scripts
/autoconf
" >&5
2036 $as_echo "$as_me: error
: cannot
find install-sh or
install.sh
in scripts
/autoconf
\"$srcdir\"/scripts
/autoconf
" >&2;}
2037 { (exit 1); exit 1; }; }
2040 # These three variables are undocumented and unsupported,
2041 # and are intended to be withdrawn in a future Autoconf release.
2042 # They can cause serious problems if a builder's source tree is in a directory
2043 # whose full name contains unusual characters.
2044 ac_config_guess="$SHELL $ac_aux_dir/config.guess
" # Please don't use this var.
2045 ac_config_sub="$SHELL $ac_aux_dir/config.sub
" # Please don't use this var.
2046 ac_configure="$SHELL $ac_aux_dir/configure
" # Please don't use this var.
2050 # Check what host we are running on.
2051 # If a target is not suggested, we use this one.
2052 # Note that what we call a target, Autoconf calls a host.
2053 # Make sure we can run config.sub.
2054 $SHELL "$ac_aux_dir/config.sub
" sun4 >/dev/null 2>&1 ||
2055 { { $as_echo "$as_me:$LINENO: error
: cannot run
$SHELL $ac_aux_dir/config.sub
" >&5
2056 $as_echo "$as_me: error
: cannot run
$SHELL $ac_aux_dir/config.sub
" >&2;}
2057 { (exit 1); exit 1; }; }
2059 { $as_echo "$as_me:$LINENO: checking build system
type" >&5
2060 $as_echo_n "checking build system
type...
" >&6; }
2061 if test "${ac_cv_build+set}" = set; then
2062 $as_echo_n "(cached
) " >&6
2064 ac_build_alias=$build_alias
2065 test "x
$ac_build_alias" = x &&
2066 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess
"`
2067 test "x
$ac_build_alias" = x &&
2068 { { $as_echo "$as_me:$LINENO: error
: cannot guess build
type; you must specify one
" >&5
2069 $as_echo "$as_me: error
: cannot guess build
type; you must specify one
" >&2;}
2070 { (exit 1); exit 1; }; }
2071 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub
" $ac_build_alias` ||
2072 { { $as_echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$ac_build_alias failed
" >&5
2073 $as_echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$ac_build_alias failed
" >&2;}
2074 { (exit 1); exit 1; }; }
2077 { $as_echo "$as_me:$LINENO: result
: $ac_cv_build" >&5
2078 $as_echo "$ac_cv_build" >&6; }
2079 case $ac_cv_build in
2081 *) { { $as_echo "$as_me:$LINENO: error
: invalid value of canonical build
" >&5
2082 $as_echo "$as_me: error
: invalid value of canonical build
" >&2;}
2083 { (exit 1); exit 1; }; };;
2086 ac_save_IFS=$IFS; IFS='-'
2092 # Remember, the first character of IFS is used to create $*,
2093 # except with old shells:
2096 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2099 { $as_echo "$as_me:$LINENO: checking
host system
type" >&5
2100 $as_echo_n "checking
host system
type...
" >&6; }
2101 if test "${ac_cv_host+set}" = set; then
2102 $as_echo_n "(cached
) " >&6
2104 if test "x
$host_alias" = x; then
2105 ac_cv_host=$ac_cv_build
2107 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub
" $host_alias` ||
2108 { { $as_echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$host_alias failed
" >&5
2109 $as_echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$host_alias failed
" >&2;}
2110 { (exit 1); exit 1; }; }
2114 { $as_echo "$as_me:$LINENO: result
: $ac_cv_host" >&5
2115 $as_echo "$ac_cv_host" >&6; }
2118 *) { { $as_echo "$as_me:$LINENO: error
: invalid value of canonical
host" >&5
2119 $as_echo "$as_me: error
: invalid value of canonical
host" >&2;}
2120 { (exit 1); exit 1; }; };;
2123 ac_save_IFS=$IFS; IFS='-'
2129 # Remember, the first character of IFS is used to create $*,
2130 # except with old shells:
2133 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2137 # The AROS target is slightly different to the normal GNU style
2138 # format. We don't have the middle part, and we reverse the order
2139 # of the $(CPU) and $(OS) bits.
2141 # Don't strip the version of the target yet, it might be
2142 # useful on some systems.
2144 { $as_echo "$as_me:$LINENO: checking
for AROS style target
" >&5
2145 $as_echo_n "checking
for AROS style target...
" >&6; }
2147 if test "$target" = "NONE
" ; then
2148 target=$host_os-$host_cpu
2151 if test "$target" = "" ; then
2152 target=$host_os-$host_cpu
2158 { $as_echo "$as_me:$LINENO: result
: $target" >&5
2159 $as_echo "$target" >&6; }
2161 #don't know where else to put this...
2162 { $as_echo "$as_me:$LINENO: checking Building AROS
in ..
" >&5
2163 $as_echo_n "checking Building AROS
in .. ...
" >&6; }
2165 { $as_echo "$as_me:$LINENO: result
: $AROS_BUILDDIR" >&5
2166 $as_echo "$AROS_BUILDDIR" >&6; }
2167 AROS_BUILDDIR_NATIVE=$AROS_BUILDDIR
2169 { $as_echo "$as_me:$LINENO: checking AROS Source
in ..
" >&5
2170 $as_echo_n "checking AROS Source
in .. ...
" >&6; }
2171 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2173 { $as_echo "$as_me:$LINENO: result
: $SRCDIR" >&5
2174 $as_echo "$SRCDIR" >&6; }
2176 # Parse the target field into something useful.
2178 target_os=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\1/'`
2179 target_cpu=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\2/'`
2182 aros_default_wbwidth=800
2183 aros_default_wbheight=600
2184 aros_default_wbdepth=4
2187 # The first step is to find the host binaries.
2188 # Check for a compiler.
2190 ac_cpp='$CPP $CPPFLAGS'
2191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2194 if test -n "$ac_tool_prefix"; then
2195 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
2196 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2197 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2198 $as_echo_n "checking
for $ac_word...
" >&6; }
2199 if test "${ac_cv_prog_CC+set}" = set; then
2200 $as_echo_n "(cached
) " >&6
2202 if test -n "$CC"; then
2203 ac_cv_prog_CC="$CC" # Let the user override the test.
2205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2209 test -z "$as_dir" && as_dir=.
2210 for ac_exec_ext in '' $ac_executable_extensions; do
2211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2212 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
2213 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2223 if test -n "$CC"; then
2224 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2225 $as_echo "$CC" >&6; }
2227 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2228 $as_echo "no
" >&6; }
2233 if test -z "$ac_cv_prog_CC"; then
2235 # Extract the first word of "gcc
", so it can be a program name with args.
2236 set dummy gcc; ac_word=$2
2237 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2238 $as_echo_n "checking
for $ac_word...
" >&6; }
2239 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2240 $as_echo_n "(cached
) " >&6
2242 if test -n "$ac_ct_CC"; then
2243 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2249 test -z "$as_dir" && as_dir=.
2250 for ac_exec_ext in '' $ac_executable_extensions; do
2251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2252 ac_cv_prog_ac_ct_CC="gcc
"
2253 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2262 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2263 if test -n "$ac_ct_CC"; then
2264 { $as_echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
2265 $as_echo "$ac_ct_CC" >&6; }
2267 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2268 $as_echo "no
" >&6; }
2271 if test "x
$ac_ct_CC" = x; then
2274 case $cross_compiling:$ac_tool_warned in
2276 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2277 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2278 ac_tool_warned=yes ;;
2286 if test -z "$CC"; then
2287 if test -n "$ac_tool_prefix"; then
2288 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
2289 set dummy ${ac_tool_prefix}cc; ac_word=$2
2290 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2291 $as_echo_n "checking
for $ac_word...
" >&6; }
2292 if test "${ac_cv_prog_CC+set}" = set; then
2293 $as_echo_n "(cached
) " >&6
2295 if test -n "$CC"; then
2296 ac_cv_prog_CC="$CC" # Let the user override the test.
2298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2302 test -z "$as_dir" && as_dir=.
2303 for ac_exec_ext in '' $ac_executable_extensions; do
2304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2305 ac_cv_prog_CC="${ac_tool_prefix}cc
"
2306 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2316 if test -n "$CC"; then
2317 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2318 $as_echo "$CC" >&6; }
2320 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2321 $as_echo "no
" >&6; }
2327 if test -z "$CC"; then
2328 # Extract the first word of "cc
", so it can be a program name with args.
2329 set dummy cc; ac_word=$2
2330 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2331 $as_echo_n "checking
for $ac_word...
" >&6; }
2332 if test "${ac_cv_prog_CC+set}" = set; then
2333 $as_echo_n "(cached
) " >&6
2335 if test -n "$CC"; then
2336 ac_cv_prog_CC="$CC" # Let the user override the test.
2339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2343 test -z "$as_dir" && as_dir=.
2344 for ac_exec_ext in '' $ac_executable_extensions; do
2345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2346 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
2347 ac_prog_rejected=yes
2351 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2358 if test $ac_prog_rejected = yes; then
2359 # We found a bogon in the path, so make sure we never use it.
2360 set dummy $ac_cv_prog_CC
2362 if test $# != 0; then
2363 # We chose a different compiler from the bogus one.
2364 # However, it has the same basename, so the bogon will be chosen
2365 # first if we set CC to just the basename; use the full file name.
2367 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
2373 if test -n "$CC"; then
2374 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2375 $as_echo "$CC" >&6; }
2377 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2378 $as_echo "no
" >&6; }
2383 if test -z "$CC"; then
2384 if test -n "$ac_tool_prefix"; then
2385 for ac_prog in cl.exe
2387 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2388 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2389 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2390 $as_echo_n "checking
for $ac_word...
" >&6; }
2391 if test "${ac_cv_prog_CC+set}" = set; then
2392 $as_echo_n "(cached
) " >&6
2394 if test -n "$CC"; then
2395 ac_cv_prog_CC="$CC" # Let the user override the test.
2397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2401 test -z "$as_dir" && as_dir=.
2402 for ac_exec_ext in '' $ac_executable_extensions; do
2403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2404 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2405 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2415 if test -n "$CC"; then
2416 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2417 $as_echo "$CC" >&6; }
2419 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2420 $as_echo "no
" >&6; }
2424 test -n "$CC" && break
2427 if test -z "$CC"; then
2429 for ac_prog in cl.exe
2431 # Extract the first word of "$ac_prog", so it can be a program name with args.
2432 set dummy $ac_prog; ac_word=$2
2433 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2434 $as_echo_n "checking
for $ac_word...
" >&6; }
2435 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2436 $as_echo_n "(cached
) " >&6
2438 if test -n "$ac_ct_CC"; then
2439 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2445 test -z "$as_dir" && as_dir=.
2446 for ac_exec_ext in '' $ac_executable_extensions; do
2447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2448 ac_cv_prog_ac_ct_CC="$ac_prog"
2449 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2458 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2459 if test -n "$ac_ct_CC"; then
2460 { $as_echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
2461 $as_echo "$ac_ct_CC" >&6; }
2463 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2464 $as_echo "no
" >&6; }
2468 test -n "$ac_ct_CC" && break
2471 if test "x
$ac_ct_CC" = x; then
2474 case $cross_compiling:$ac_tool_warned in
2476 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2477 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2478 ac_tool_warned=yes ;;
2487 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2488 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2489 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2490 See \`config.log' for more details.
" >&5
2491 $as_echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
2492 See \
`config.log' for more details." >&2;}
2493 { (exit 1); exit 1; }; }; }
2495 # Provide some information about the compiler.
2496 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2499 { (ac_try="$ac_compiler --version >&5"
2501 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2502 *) ac_try_echo
=$ac_try;;
2504 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2505 $as_echo "$ac_try_echo") >&5
2506 (eval "$ac_compiler --version >&5") 2>&5
2508 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2509 (exit $ac_status); }
2510 { (ac_try
="$ac_compiler -v >&5"
2512 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2513 *) ac_try_echo=$ac_try;;
2515 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2516 $as_echo "$ac_try_echo") >&5
2517 (eval "$ac_compiler -v >&5") 2>&5
2519 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2520 (exit $ac_status); }
2521 { (ac_try="$ac_compiler -V >&5"
2523 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2524 *) ac_try_echo
=$ac_try;;
2526 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2527 $as_echo "$ac_try_echo") >&5
2528 (eval "$ac_compiler -V >&5") 2>&5
2530 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2531 (exit $ac_status); }
2533 cat >conftest.
$ac_ext <<_ACEOF
2536 cat confdefs.h
>>conftest.
$ac_ext
2537 cat >>conftest.
$ac_ext <<_ACEOF
2538 /* end confdefs.h. */
2548 ac_clean_files_save
=$ac_clean_files
2549 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2550 # Try to create an executable without -o first, disregard a.out.
2551 # It will help us diagnose broken compilers, and finding out an intuition
2553 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2554 $as_echo_n "checking for C compiler default output file name... " >&6; }
2555 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2557 # The possible output files:
2558 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2561 for ac_file
in $ac_files
2564 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2565 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2570 if { (ac_try
="$ac_link_default"
2572 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2573 *) ac_try_echo=$ac_try;;
2575 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2576 $as_echo "$ac_try_echo") >&5
2577 (eval "$ac_link_default") 2>&5
2579 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2580 (exit $ac_status); }; then
2581 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2582 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2583 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2584 # so that the user can short-circuit this test for compilers unknown to
2586 for ac_file in $ac_files ''
2588 test -f "$ac_file" || continue
2590 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2593 # We found the default executable, but exeext='' is most
2597 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2599 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2601 # We set ac_cv_exeext here because the later test for it is not
2602 # safe: cross compilers may not add the suffix if given an `-o'
2603 # argument, so we may need to know it at that point already.
2604 # Even if this section looks crufty: it has the advantage of
2611 test "$ac_cv_exeext" = no && ac_cv_exeext=
2617 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2618 $as_echo "$ac_file" >&6; }
2619 if test -z "$ac_file"; then
2620 $as_echo "$as_me: failed program was:" >&5
2621 sed 's
/^
/|
/' conftest.$ac_ext >&5
2623 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2624 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2625 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2626 See \`config.log
' for more details." >&5
2627 $as_echo "$as_me: error: C compiler cannot create executables
2628 See \`config.log' for more details.
" >&2;}
2629 { (exit 77); exit 77; }; }; }
2632 ac_exeext=$ac_cv_exeext
2634 # Check that the compiler produces executables we can run. If not, either
2635 # the compiler is broken, or we cross compile.
2636 { $as_echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
2637 $as_echo_n "checking whether the C compiler works...
" >&6; }
2638 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2639 # If not cross compiling, check that we can run a simple program.
2640 if test "$cross_compiling" != yes; then
2641 if { ac_try='./$ac_file'
2642 { (case "(($ac_try" in
2643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2644 *) ac_try_echo=$ac_try;;
2646 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2647 $as_echo "$ac_try_echo") >&5
2648 (eval "$ac_try") 2>&5
2650 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2651 (exit $ac_status); }; }; then
2654 if test "$cross_compiling" = maybe; then
2657 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2658 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2659 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2660 If you meant to cross compile, use \`--host'.
2661 See \
`config.log' for more details." >&5
2662 $as_echo "$as_me: error: cannot run C compiled programs.
2663 If you meant to cross compile, use \`--host'.
2664 See \`config.log' for more details.
" >&2;}
2665 { (exit 1); exit 1; }; }; }
2669 { $as_echo "$as_me:$LINENO: result
: yes" >&5
2670 $as_echo "yes" >&6; }
2672 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2673 ac_clean_files=$ac_clean_files_save
2674 # Check that the compiler produces executables we can run. If not, either
2675 # the compiler is broken, or we cross compile.
2676 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2677 $as_echo_n "checking whether we are cross compiling...
" >&6; }
2678 { $as_echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2679 $as_echo "$cross_compiling" >&6; }
2681 { $as_echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2682 $as_echo_n "checking
for suffix of executables...
" >&6; }
2683 if { (ac_try="$ac_link"
2685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2686 *) ac_try_echo=$ac_try;;
2688 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2689 $as_echo "$ac_try_echo") >&5
2690 (eval "$ac_link") 2>&5
2692 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2693 (exit $ac_status); }; then
2694 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2695 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2696 # work properly (i.e., refer to `conftest.exe'), while it won't with
2698 for ac_file in conftest.exe conftest conftest.*; do
2699 test -f "$ac_file" || continue
2701 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2702 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2708 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2709 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2710 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2711 See \`config.log' for more details.
" >&5
2712 $as_echo "$as_me: error
: cannot compute suffix of executables
: cannot compile and link
2713 See \
`config.log' for more details." >&2;}
2714 { (exit 1); exit 1; }; }; }
2717 rm -f conftest$ac_cv_exeext
2718 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2719 $as_echo "$ac_cv_exeext" >&6; }
2721 rm -f conftest.$ac_ext
2722 EXEEXT=$ac_cv_exeext
2724 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2725 $as_echo_n "checking for suffix of object files... " >&6; }
2726 if test "${ac_cv_objext+set}" = set; then
2727 $as_echo_n "(cached) " >&6
2729 cat >conftest.$ac_ext <<_ACEOF
2732 cat confdefs.h >>conftest.$ac_ext
2733 cat >>conftest.$ac_ext <<_ACEOF
2734 /* end confdefs.h. */
2744 rm -f conftest.o conftest.obj
2745 if { (ac_try="$ac_compile"
2747 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2748 *) ac_try_echo
=$ac_try;;
2750 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2751 $as_echo "$ac_try_echo") >&5
2752 (eval "$ac_compile") 2>&5
2754 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2755 (exit $ac_status); }; then
2756 for ac_file
in conftest.o conftest.obj conftest.
*; do
2757 test -f "$ac_file" ||
continue;
2759 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM
) ;;
2760 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2765 $as_echo "$as_me: failed program was:" >&5
2766 sed 's/^/| /' conftest.
$ac_ext >&5
2768 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2769 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2770 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2771 See \`config.log' for more details." >&5
2772 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2773 See \`config.log' for more details." >&2;}
2774 { (exit 1); exit 1; }; }; }
2777 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2779 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2780 $as_echo "$ac_cv_objext" >&6; }
2781 OBJEXT
=$ac_cv_objext
2783 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2784 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2785 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2786 $as_echo_n "(cached) " >&6
2788 cat >conftest.
$ac_ext <<_ACEOF
2791 cat confdefs.h
>>conftest.
$ac_ext
2792 cat >>conftest.
$ac_ext <<_ACEOF
2793 /* end confdefs.h. */
2806 rm -f conftest.
$ac_objext
2807 if { (ac_try
="$ac_compile"
2809 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2810 *) ac_try_echo=$ac_try;;
2812 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2813 $as_echo "$ac_try_echo") >&5
2814 (eval "$ac_compile") 2>conftest.er1
2816 grep -v '^ *+' conftest.er1 >conftest.err
2818 cat conftest.err >&5
2819 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2820 (exit $ac_status); } && {
2821 test -z "$ac_c_werror_flag" ||
2822 test ! -s conftest.err
2823 } && test -s conftest.$ac_objext; then
2826 $as_echo "$as_me: failed program was:" >&5
2827 sed 's/^/| /' conftest.$ac_ext >&5
2832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2833 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2836 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2837 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2838 if test $ac_compiler_gnu = yes; then
2843 ac_test_CFLAGS=${CFLAGS+set}
2844 ac_save_CFLAGS=$CFLAGS
2845 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2846 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2847 if test "${ac_cv_prog_cc_g+set}" = set; then
2848 $as_echo_n "(cached) " >&6
2850 ac_save_c_werror_flag=$ac_c_werror_flag
2851 ac_c_werror_flag=yes
2854 cat >conftest.$ac_ext <<_ACEOF
2857 cat confdefs.h >>conftest.$ac_ext
2858 cat >>conftest.$ac_ext <<_ACEOF
2859 /* end confdefs.h. */
2869 rm -f conftest.$ac_objext
2870 if { (ac_try="$ac_compile"
2872 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2873 *) ac_try_echo
=$ac_try;;
2875 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2876 $as_echo "$ac_try_echo") >&5
2877 (eval "$ac_compile") 2>conftest.er1
2879 grep -v '^ *+' conftest.er1
>conftest.err
2881 cat conftest.err
>&5
2882 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2883 (exit $ac_status); } && {
2884 test -z "$ac_c_werror_flag" ||
2885 test ! -s conftest.err
2886 } && test -s conftest.
$ac_objext; then
2889 $as_echo "$as_me: failed program was:" >&5
2890 sed 's/^/| /' conftest.
$ac_ext >&5
2893 cat >conftest.
$ac_ext <<_ACEOF
2896 cat confdefs.h
>>conftest.
$ac_ext
2897 cat >>conftest.
$ac_ext <<_ACEOF
2898 /* end confdefs.h. */
2908 rm -f conftest.
$ac_objext
2909 if { (ac_try
="$ac_compile"
2911 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2912 *) ac_try_echo=$ac_try;;
2914 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2915 $as_echo "$ac_try_echo") >&5
2916 (eval "$ac_compile") 2>conftest.er1
2918 grep -v '^ *+' conftest.er1 >conftest.err
2920 cat conftest.err >&5
2921 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2922 (exit $ac_status); } && {
2923 test -z "$ac_c_werror_flag" ||
2924 test ! -s conftest.err
2925 } && test -s conftest.$ac_objext; then
2928 $as_echo "$as_me: failed program was:" >&5
2929 sed 's/^/| /' conftest.$ac_ext >&5
2931 ac_c_werror_flag=$ac_save_c_werror_flag
2933 cat >conftest.$ac_ext <<_ACEOF
2936 cat confdefs.h >>conftest.$ac_ext
2937 cat >>conftest.$ac_ext <<_ACEOF
2938 /* end confdefs.h. */
2948 rm -f conftest.$ac_objext
2949 if { (ac_try="$ac_compile"
2951 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2952 *) ac_try_echo
=$ac_try;;
2954 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2955 $as_echo "$ac_try_echo") >&5
2956 (eval "$ac_compile") 2>conftest.er1
2958 grep -v '^ *+' conftest.er1
>conftest.err
2960 cat conftest.err
>&5
2961 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2962 (exit $ac_status); } && {
2963 test -z "$ac_c_werror_flag" ||
2964 test ! -s conftest.err
2965 } && test -s conftest.
$ac_objext; then
2968 $as_echo "$as_me: failed program was:" >&5
2969 sed 's/^/| /' conftest.
$ac_ext >&5
2974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2977 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2980 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2981 ac_c_werror_flag
=$ac_save_c_werror_flag
2983 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2984 $as_echo "$ac_cv_prog_cc_g" >&6; }
2985 if test "$ac_test_CFLAGS" = set; then
2986 CFLAGS
=$ac_save_CFLAGS
2987 elif test $ac_cv_prog_cc_g = yes; then
2988 if test "$GCC" = yes; then
2994 if test "$GCC" = yes; then
3000 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3001 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3002 if test "${ac_cv_prog_cc_c89+set}" = set; then
3003 $as_echo_n "(cached) " >&6
3005 ac_cv_prog_cc_c89
=no
3007 cat >conftest.
$ac_ext <<_ACEOF
3010 cat confdefs.h
>>conftest.
$ac_ext
3011 cat >>conftest.
$ac_ext <<_ACEOF
3012 /* end confdefs.h. */
3015 #include <sys/types.h>
3016 #include <sys/stat.h>
3017 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3018 struct buf { int x; };
3019 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3020 static char *e (p, i)
3026 static char *f (char * (*g) (char **, int), char **p, ...)
3031 s = g (p, va_arg (v,int));
3036 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3037 function prototypes and stuff, but not '\xHH' hex character constants.
3038 These don't provoke an error unfortunately, instead are silently treated
3039 as 'x'. The following induces an error, until -std is added to get
3040 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3041 array size at least. It's necessary to write '\x00'==0 to get something
3042 that's true only with -std. */
3043 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3045 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3046 inside strings and character constants. */
3048 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3050 int test (int i, double x);
3051 struct s1 {int (*f) (int a);};
3052 struct s2 {int (*f) (double a);};
3053 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3059 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3064 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3065 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3067 CC
="$ac_save_CC $ac_arg"
3068 rm -f conftest.
$ac_objext
3069 if { (ac_try
="$ac_compile"
3071 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3072 *) ac_try_echo=$ac_try;;
3074 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3075 $as_echo "$ac_try_echo") >&5
3076 (eval "$ac_compile") 2>conftest.er1
3078 grep -v '^ *+' conftest.er1 >conftest.err
3080 cat conftest.err >&5
3081 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3082 (exit $ac_status); } && {
3083 test -z "$ac_c_werror_flag" ||
3084 test ! -s conftest.err
3085 } && test -s conftest.$ac_objext; then
3086 ac_cv_prog_cc_c89=$ac_arg
3088 $as_echo "$as_me: failed program was:" >&5
3089 sed 's/^/| /' conftest.$ac_ext >&5
3094 rm -f core conftest.err conftest.$ac_objext
3095 test "x$ac_cv_prog_cc_c89" != "xno" && break
3097 rm -f conftest.$ac_ext
3102 case "x$ac_cv_prog_cc_c89" in
3104 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3105 $as_echo "none needed" >&6; } ;;
3107 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3108 $as_echo "unsupported" >&6; } ;;
3110 CC="$CC $ac_cv_prog_cc_c89"
3111 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3112 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3117 ac_cpp='$CPP $CPPFLAGS'
3118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3122 case $ac_cv_prog_cc_stdc in
3123 no) ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;;
3124 *) { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
3125 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3126 if test "${ac_cv_prog_cc_c99+set}" = set; then
3127 $as_echo_n "(cached) " >&6
3129 ac_cv_prog_cc_c99=no
3131 cat >conftest.$ac_ext <<_ACEOF
3134 cat confdefs.h >>conftest.$ac_ext
3135 cat >>conftest.$ac_ext <<_ACEOF
3136 /* end confdefs.h. */
3138 #include <stdbool.h>
3143 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3144 #define debug(...) fprintf (stderr, __VA_ARGS__)
3145 #define showlist(...) puts (#__VA_ARGS__)
3146 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3148 test_varargs_macros (void)
3153 debug ("X = %d\n", x);
3154 showlist (The first, second, and third items.);
3155 report (x>y, "x is %d but y is %d", x, y);
3158 // Check long long types.
3159 #define BIG64 18446744073709551615ull
3160 #define BIG32 4294967295ul
3161 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3163 your preprocessor is broken;
3167 your preprocessor is broken;
3169 static long long int bignum = -9223372036854775807LL;
3170 static unsigned long long int ubignum = BIG64;
3172 struct incomplete_array
3180 const wchar_t *name;
3184 typedef const char *ccp;
3187 test_restrict (ccp restrict text)
3189 // See if C++-style comments work.
3190 // Iterate through items via the restricted pointer.
3191 // Also check for declarations in for loops.
3192 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3197 // Check varargs and va_copy.
3199 test_varargs (const char *format, ...)
3202 va_start (args, format);
3204 va_copy (args_copy, args);
3215 str = va_arg (args_copy, const char *);
3218 number = va_arg (args_copy, int);
3221 fnumber = va_arg (args_copy, double);
3236 _Bool success = false;
3239 if (test_restrict ("String literal") == 0)
3241 char *restrict newvar = "Another string";
3244 test_varargs ("s, d' f .", "string", 65, 34.234);
3245 test_varargs_macros ();
3247 // Check flexible array members.
3248 struct incomplete_array *ia =
3249 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3251 for (int i = 0; i < ia->datasize; ++i)
3252 ia->data[i] = i * 1.234;
3254 // Check named initializers.
3255 struct named_init ni = {
3257 .name = L"Test wide string",
3258 .average = 543.34343,
3263 int dynamic_array[ni.number];
3264 dynamic_array[ni.number - 1] = 543;
3266 // work around unused variable warnings
3267 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3268 || dynamic_array[ni.number - 1] != 543);
3274 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3276 CC="$ac_save_CC $ac_arg"
3277 rm -f conftest.$ac_objext
3278 if { (ac_try="$ac_compile"
3280 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3281 *) ac_try_echo
=$ac_try;;
3283 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3284 $as_echo "$ac_try_echo") >&5
3285 (eval "$ac_compile") 2>conftest.er1
3287 grep -v '^ *+' conftest.er1
>conftest.err
3289 cat conftest.err
>&5
3290 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3291 (exit $ac_status); } && {
3292 test -z "$ac_c_werror_flag" ||
3293 test ! -s conftest.err
3294 } && test -s conftest.
$ac_objext; then
3295 ac_cv_prog_cc_c99
=$ac_arg
3297 $as_echo "$as_me: failed program was:" >&5
3298 sed 's/^/| /' conftest.
$ac_ext >&5
3303 rm -f core conftest.err conftest.
$ac_objext
3304 test "x$ac_cv_prog_cc_c99" != "xno" && break
3306 rm -f conftest.
$ac_ext
3311 case "x$ac_cv_prog_cc_c99" in
3313 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3314 $as_echo "none needed" >&6; } ;;
3316 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3317 $as_echo "unsupported" >&6; } ;;
3319 CC
="$CC $ac_cv_prog_cc_c99"
3320 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
3321 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3323 if test "x$ac_cv_prog_cc_c99" != xno
; then
3324 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c99
3326 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3327 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3328 if test "${ac_cv_prog_cc_c89+set}" = set; then
3329 $as_echo_n "(cached) " >&6
3331 ac_cv_prog_cc_c89
=no
3333 cat >conftest.
$ac_ext <<_ACEOF
3336 cat confdefs.h
>>conftest.
$ac_ext
3337 cat >>conftest.
$ac_ext <<_ACEOF
3338 /* end confdefs.h. */
3341 #include <sys/types.h>
3342 #include <sys/stat.h>
3343 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3344 struct buf { int x; };
3345 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3346 static char *e (p, i)
3352 static char *f (char * (*g) (char **, int), char **p, ...)
3357 s = g (p, va_arg (v,int));
3362 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3363 function prototypes and stuff, but not '\xHH' hex character constants.
3364 These don't provoke an error unfortunately, instead are silently treated
3365 as 'x'. The following induces an error, until -std is added to get
3366 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3367 array size at least. It's necessary to write '\x00'==0 to get something
3368 that's true only with -std. */
3369 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3371 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3372 inside strings and character constants. */
3374 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3376 int test (int i, double x);
3377 struct s1 {int (*f) (int a);};
3378 struct s2 {int (*f) (double a);};
3379 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3385 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3390 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3391 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3393 CC
="$ac_save_CC $ac_arg"
3394 rm -f conftest.
$ac_objext
3395 if { (ac_try
="$ac_compile"
3397 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3398 *) ac_try_echo=$ac_try;;
3400 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3401 $as_echo "$ac_try_echo") >&5
3402 (eval "$ac_compile") 2>conftest.er1
3404 grep -v '^ *+' conftest.er1 >conftest.err
3406 cat conftest.err >&5
3407 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3408 (exit $ac_status); } && {
3409 test -z "$ac_c_werror_flag" ||
3410 test ! -s conftest.err
3411 } && test -s conftest.$ac_objext; then
3412 ac_cv_prog_cc_c89=$ac_arg
3414 $as_echo "$as_me: failed program was:" >&5
3415 sed 's/^/| /' conftest.$ac_ext >&5
3420 rm -f core conftest.err conftest.$ac_objext
3421 test "x$ac_cv_prog_cc_c89" != "xno" && break
3423 rm -f conftest.$ac_ext
3428 case "x$ac_cv_prog_cc_c89" in
3430 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3431 $as_echo "none needed" >&6; } ;;
3433 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3434 $as_echo "unsupported" >&6; } ;;
3436 CC="$CC $ac_cv_prog_cc_c89"
3437 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3438 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3440 if test "x$ac_cv_prog_cc_c89" != xno; then
3441 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3443 ac_cv_prog_cc_stdc=no
3451 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5
3452 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
3453 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3454 $as_echo_n "(cached) " >&6
3457 case $ac_cv_prog_cc_stdc in
3458 no) { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3459 $as_echo "unsupported" >&6; } ;;
3460 '') { $as_echo "$as_me:$LINENO: result: none needed" >&5
3461 $as_echo "none needed" >&6; } ;;
3462 *) { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3463 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
3468 ac_cpp='$CPP $CPPFLAGS'
3469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3472 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3473 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3474 # On Suns, sometimes $CPP names a directory.
3475 if test -n "$CPP" && test -d "$CPP"; then
3478 if test -z "$CPP"; then
3479 if test "${ac_cv_prog_CPP+set}" = set; then
3480 $as_echo_n "(cached) " >&6
3482 # Double quotes because CPP needs to be expanded
3483 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3486 for ac_c_preproc_warn_flag in '' yes
3488 # Use a header file that comes with gcc, so configuring glibc
3489 # with a fresh cross-compiler works.
3490 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3491 # <limits.h> exists even on freestanding compilers.
3492 # On the NeXT, cc -E runs the code through the compiler's parser,
3493 # not just through cpp. "Syntax error" is here to catch this case.
3494 cat >conftest.$ac_ext <<_ACEOF
3497 cat confdefs.h >>conftest.$ac_ext
3498 cat >>conftest.$ac_ext <<_ACEOF
3499 /* end confdefs.h. */
3501 # include <limits.h>
3503 # include <assert.h>
3507 if { (ac_try="$ac_cpp conftest.$ac_ext"
3509 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3510 *) ac_try_echo
=$ac_try;;
3512 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3513 $as_echo "$ac_try_echo") >&5
3514 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3516 grep -v '^ *+' conftest.er1
>conftest.err
3518 cat conftest.err
>&5
3519 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3520 (exit $ac_status); } >/dev
/null
&& {
3521 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3522 test ! -s conftest.err
3526 $as_echo "$as_me: failed program was:" >&5
3527 sed 's/^/| /' conftest.
$ac_ext >&5
3529 # Broken: fails on valid input.
3533 rm -f conftest.err conftest.
$ac_ext
3535 # OK, works on sane cases. Now check whether nonexistent headers
3536 # can be detected and how.
3537 cat >conftest.
$ac_ext <<_ACEOF
3540 cat confdefs.h
>>conftest.
$ac_ext
3541 cat >>conftest.
$ac_ext <<_ACEOF
3542 /* end confdefs.h. */
3543 #include <ac_nonexistent.h>
3545 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3547 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3548 *) ac_try_echo=$ac_try;;
3550 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3551 $as_echo "$ac_try_echo") >&5
3552 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3554 grep -v '^ *+' conftest.er1 >conftest.err
3556 cat conftest.err >&5
3557 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3558 (exit $ac_status); } >/dev/null && {
3559 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3560 test ! -s conftest.err
3562 # Broken: success on invalid input.
3565 $as_echo "$as_me: failed program was:" >&5
3566 sed 's/^/| /' conftest.$ac_ext >&5
3568 # Passes both tests.
3573 rm -f conftest.err conftest.$ac_ext
3576 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3577 rm -f conftest.err conftest.
$ac_ext
3578 if $ac_preproc_ok; then
3590 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3591 $as_echo "$CPP" >&6; }
3593 for ac_c_preproc_warn_flag
in '' yes
3595 # Use a header file that comes with gcc, so configuring glibc
3596 # with a fresh cross-compiler works.
3597 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3598 # <limits.h> exists even on freestanding compilers.
3599 # On the NeXT, cc -E runs the code through the compiler's parser,
3600 # not just through cpp. "Syntax error" is here to catch this case.
3601 cat >conftest.
$ac_ext <<_ACEOF
3604 cat confdefs.h
>>conftest.
$ac_ext
3605 cat >>conftest.
$ac_ext <<_ACEOF
3606 /* end confdefs.h. */
3608 # include <limits.h>
3610 # include <assert.h>
3614 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3616 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3617 *) ac_try_echo=$ac_try;;
3619 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3620 $as_echo "$ac_try_echo") >&5
3621 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3623 grep -v '^ *+' conftest.er1 >conftest.err
3625 cat conftest.err >&5
3626 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3627 (exit $ac_status); } >/dev/null && {
3628 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3629 test ! -s conftest.err
3633 $as_echo "$as_me: failed program was:" >&5
3634 sed 's/^/| /' conftest.$ac_ext >&5
3636 # Broken: fails on valid input.
3640 rm -f conftest.err conftest.$ac_ext
3642 # OK, works on sane cases. Now check whether nonexistent headers
3643 # can be detected and how.
3644 cat >conftest.$ac_ext <<_ACEOF
3647 cat confdefs.h >>conftest.$ac_ext
3648 cat >>conftest.$ac_ext <<_ACEOF
3649 /* end confdefs.h. */
3650 #include <ac_nonexistent.h>
3652 if { (ac_try="$ac_cpp conftest.$ac_ext"
3654 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3655 *) ac_try_echo
=$ac_try;;
3657 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3658 $as_echo "$ac_try_echo") >&5
3659 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3661 grep -v '^ *+' conftest.er1
>conftest.err
3663 cat conftest.err
>&5
3664 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3665 (exit $ac_status); } >/dev
/null
&& {
3666 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3667 test ! -s conftest.err
3669 # Broken: success on invalid input.
3672 $as_echo "$as_me: failed program was:" >&5
3673 sed 's/^/| /' conftest.
$ac_ext >&5
3675 # Passes both tests.
3680 rm -f conftest.err conftest.
$ac_ext
3683 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3684 rm -f conftest.err conftest.
$ac_ext
3685 if $ac_preproc_ok; then
3688 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3689 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3690 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3691 See \`config.log' for more details." >&5
3692 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3693 See \`config.log' for more details." >&2;}
3694 { (exit 1); exit 1; }; }; }
3698 ac_cpp
='$CPP $CPPFLAGS'
3699 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3700 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3701 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3704 # Check for a compatible awk
3705 for ac_prog
in gawk nawk
3707 # Extract the first word of "$ac_prog", so it can be a program name with args.
3708 set dummy
$ac_prog; ac_word
=$2
3709 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3710 $as_echo_n "checking for $ac_word... " >&6; }
3711 if test "${ac_cv_prog_AWK+set}" = set; then
3712 $as_echo_n "(cached) " >&6
3714 if test -n "$AWK"; then
3715 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3721 test -z "$as_dir" && as_dir
=.
3722 for ac_exec_ext
in '' $ac_executable_extensions; do
3723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3724 ac_cv_prog_AWK
="$ac_prog"
3725 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3735 if test -n "$AWK"; then
3736 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
3737 $as_echo "$AWK" >&6; }
3739 { $as_echo "$as_me:$LINENO: result: no" >&5
3740 $as_echo "no" >&6; }
3744 test -n "$AWK" && break
3747 if test "$AWK" = ""; then
3748 { { $as_echo "$as_me:$LINENO: error: gawk is required to build AROS. Please install and run configure again." >&5
3749 $as_echo "$as_me: error: gawk is required to build AROS. Please install and run configure again." >&2;}
3750 { (exit 1); exit 1; }; }
3752 # Extract the first word of "mmake", so it can be a program name with args.
3753 set dummy mmake
; ac_word
=$2
3754 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3755 $as_echo_n "checking for $ac_word... " >&6; }
3756 if test "${ac_cv_prog_MMAKE+set}" = set; then
3757 $as_echo_n "(cached) " >&6
3759 if test -n "$MMAKE"; then
3760 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
3762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3766 test -z "$as_dir" && as_dir
=.
3767 for ac_exec_ext
in '' $ac_executable_extensions; do
3768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3769 ac_cv_prog_MMAKE
="mmake "
3770 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3779 MMAKE
=$ac_cv_prog_MMAKE
3780 if test -n "$MMAKE"; then
3781 { $as_echo "$as_me:$LINENO: result: $MMAKE" >&5
3782 $as_echo "$MMAKE" >&6; }
3784 { $as_echo "$as_me:$LINENO: result: no" >&5
3785 $as_echo "no" >&6; }
3790 # Perform some default variable assignments. Note all of these will be
3791 # Regenerated from the script, so there is no need to cache them.
3794 if test "$GCC" = "yes"; then
3795 aros_gcc_ld
=`$CC -print-prog-name=ld`
3796 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
3797 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
3798 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3799 $as_echo_n "checking for $ac_word... " >&6; }
3800 if test "${ac_cv_path_aros_host_ld+set}" = set; then
3801 $as_echo_n "(cached) " >&6
3803 case $aros_host_ld in
3805 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3809 for as_dir
in `dirname $aros_gcc_ld`
3812 test -z "$as_dir" && as_dir
=.
3813 for ac_exec_ext
in '' $ac_executable_extensions; do
3814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3815 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3816 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3826 aros_host_ld
=$ac_cv_path_aros_host_ld
3827 if test -n "$aros_host_ld"; then
3828 { $as_echo "$as_me:$LINENO: result: $aros_host_ld" >&5
3829 $as_echo "$aros_host_ld" >&6; }
3831 { $as_echo "$as_me:$LINENO: result: no" >&5
3832 $as_echo "no" >&6; }
3837 if test "$aros_host_ld" = ""; then
3838 # Extract the first word of "ld", so it can be a program name with args.
3839 set dummy ld
; ac_word
=$2
3840 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3841 $as_echo_n "checking for $ac_word... " >&6; }
3842 if test "${ac_cv_path_aros_host_ld+set}" = set; then
3843 $as_echo_n "(cached) " >&6
3845 case $aros_host_ld in
3847 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3854 test -z "$as_dir" && as_dir
=.
3855 for ac_exec_ext
in '' $ac_executable_extensions; do
3856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3857 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3858 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3868 aros_host_ld
=$ac_cv_path_aros_host_ld
3869 if test -n "$aros_host_ld"; then
3870 { $as_echo "$as_me:$LINENO: result: $aros_host_ld" >&5
3871 $as_echo "$aros_host_ld" >&6; }
3873 { $as_echo "$as_me:$LINENO: result: no" >&5
3874 $as_echo "no" >&6; }
3879 if test "$aros_host_ld" = ""; then
3880 { { $as_echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
3881 $as_echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
3882 { (exit 1); exit 1; }; }
3884 aros_host_make
="make"
3885 aros_host_cflags
=$CFLAGS
3886 aros_host_ldflags
=$LDFLAGS
3887 aros_host_debug
="-g -O0"
3888 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
3889 aros_host_mkargs
="--no-print-directory"
3890 aros_host_incl
="/usr/include"
3891 aros_host_exe_suffix
="$EXEEXT"
3892 aros_host_lib_suffix
=""
3894 for ac_prog
in aclocal aclocal19 aclocal-1.9
3896 # Extract the first word of "$ac_prog", so it can be a program name with args.
3897 set dummy
$ac_prog; ac_word
=$2
3898 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3899 $as_echo_n "checking for $ac_word... " >&6; }
3900 if test "${ac_cv_prog_aros_host_aclocal+set}" = set; then
3901 $as_echo_n "(cached) " >&6
3903 if test -n "$aros_host_aclocal"; then
3904 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
3906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3910 test -z "$as_dir" && as_dir
=.
3911 for ac_exec_ext
in '' $ac_executable_extensions; do
3912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3913 ac_cv_prog_aros_host_aclocal
="$ac_prog"
3914 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3923 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
3924 if test -n "$aros_host_aclocal"; then
3925 { $as_echo "$as_me:$LINENO: result: $aros_host_aclocal" >&5
3926 $as_echo "$aros_host_aclocal" >&6; }
3928 { $as_echo "$as_me:$LINENO: result: no" >&5
3929 $as_echo "no" >&6; }
3933 test -n "$aros_host_aclocal" && break
3936 for ac_prog
in autoconf autoconf259 autoconf253
3938 # Extract the first word of "$ac_prog", so it can be a program name with args.
3939 set dummy
$ac_prog; ac_word
=$2
3940 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3941 $as_echo_n "checking for $ac_word... " >&6; }
3942 if test "${ac_cv_prog_aros_host_autoconf+set}" = set; then
3943 $as_echo_n "(cached) " >&6
3945 if test -n "$aros_host_autoconf"; then
3946 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
3948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3952 test -z "$as_dir" && as_dir
=.
3953 for ac_exec_ext
in '' $ac_executable_extensions; do
3954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3955 ac_cv_prog_aros_host_autoconf
="$ac_prog"
3956 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3965 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
3966 if test -n "$aros_host_autoconf"; then
3967 { $as_echo "$as_me:$LINENO: result: $aros_host_autoconf" >&5
3968 $as_echo "$aros_host_autoconf" >&6; }
3970 { $as_echo "$as_me:$LINENO: result: no" >&5
3971 $as_echo "no" >&6; }
3975 test -n "$aros_host_autoconf" && break
3978 for ac_prog
in autoheader autoheader259 autoheader253
3980 # Extract the first word of "$ac_prog", so it can be a program name with args.
3981 set dummy
$ac_prog; ac_word
=$2
3982 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3983 $as_echo_n "checking for $ac_word... " >&6; }
3984 if test "${ac_cv_prog_aros_host_autoheader+set}" = set; then
3985 $as_echo_n "(cached) " >&6
3987 if test -n "$aros_host_autoheader"; then
3988 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
3990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3994 test -z "$as_dir" && as_dir
=.
3995 for ac_exec_ext
in '' $ac_executable_extensions; do
3996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3997 ac_cv_prog_aros_host_autoheader
="$ac_prog"
3998 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4007 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4008 if test -n "$aros_host_autoheader"; then
4009 { $as_echo "$as_me:$LINENO: result: $aros_host_autoheader" >&5
4010 $as_echo "$aros_host_autoheader" >&6; }
4012 { $as_echo "$as_me:$LINENO: result: no" >&5
4013 $as_echo "no" >&6; }
4017 test -n "$aros_host_autoheader" && break
4020 for ac_prog
in automake automake19 automake-1.9
4022 # Extract the first word of "$ac_prog", so it can be a program name with args.
4023 set dummy
$ac_prog; ac_word
=$2
4024 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4025 $as_echo_n "checking for $ac_word... " >&6; }
4026 if test "${ac_cv_prog_aros_host_automake+set}" = set; then
4027 $as_echo_n "(cached) " >&6
4029 if test -n "$aros_host_automake"; then
4030 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4036 test -z "$as_dir" && as_dir
=.
4037 for ac_exec_ext
in '' $ac_executable_extensions; do
4038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4039 ac_cv_prog_aros_host_automake
="$ac_prog"
4040 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4049 aros_host_automake
=$ac_cv_prog_aros_host_automake
4050 if test -n "$aros_host_automake"; then
4051 { $as_echo "$as_me:$LINENO: result: $aros_host_automake" >&5
4052 $as_echo "$aros_host_automake" >&6; }
4054 { $as_echo "$as_me:$LINENO: result: no" >&5
4055 $as_echo "no" >&6; }
4059 test -n "$aros_host_automake" && break
4063 if test "$aros_host_aclocal" = ""; then
4064 { { $as_echo "$as_me:$LINENO: error: aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." >&5
4065 $as_echo "$as_me: error: aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." >&2;}
4066 { (exit 1); exit 1; }; }
4068 if test "$aros_host_automake" = ""; then
4069 { { $as_echo "$as_me:$LINENO: error: automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." >&5
4070 $as_echo "$as_me: error: automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." >&2;}
4071 { (exit 1); exit 1; }; }
4074 case "$aros_host_cc" in
4076 aros_host_cc_pipe
="-pipe"
4079 aros_host_cc_pipe
=""
4082 aros_host_cc_pipe
=""
4086 aros_target_cc_includes
=""
4088 # This is the main host configuration section. It is where the host
4089 # can change the values of any variables it needs to change. We do
4090 # not look at anything that compiles to the target yet, we'll get
4095 aros_host_arch
="aros"
4096 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4099 aros_host_cpu
="i386"
4102 aros_host_cpu
="x86_64"
4105 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4106 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4107 aros_host_cpu
="$host_cpu"
4113 aros_host_arch
="linux"
4114 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4117 aros_host_cpu
="i386"
4120 aros_host_cpu
="x86_64"
4123 aros_host_cpu
="m68k"
4129 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4130 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4131 aros_host_cpu
="$host_cpu"
4137 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4138 aros_host_make
="gmake"
4139 aros_host_arch
="freebsd"
4140 aros_host_cpu
="i386"
4142 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4147 aros_object_format
="elf_i386"
4151 aros_object_format
="elf_i386_fbsd"
4158 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4159 aros_host_arch
="darwin"
4162 aros_host_cpu
="i386"
4168 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4169 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4170 aros_host_cpu
="$host_cpu"
4174 aros_host_ldflags
="$aros_host_ldflags -liconv"
4179 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4180 aros_host_make
="gmake"
4181 aros_host_arch
="dragonfly"
4184 aros_host_cpu
="i386"
4187 aros_host_cpu
="x86_64"
4190 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4191 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4192 aros_host_cpu
="$host_cpu"
4198 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4199 aros_host_make
="gmake"
4200 aros_host_arch
="netbsd"
4203 aros_host_cpu
="i386"
4206 aros_host_cpu
="m68k"
4209 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4210 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4211 aros_host_cpu
="$host_cpu"
4214 aros_host_lib_suffix
=".0.0"
4218 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4219 aros_host_make
="gmake"
4220 aros_host_arch
="openbsd"
4223 aros_host_cpu
="i386"
4226 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4227 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4228 aros_host_cpu
="$host_cpu"
4234 aros_host_arch
="solaris"
4235 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4238 aros_host_cpu
="i386"
4241 aros_host_cpu
="sparc"
4244 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4245 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4246 aros_host_cpu
="$host_cpu"
4252 aros_host_arch
="morphos"
4257 aros_host_arch
="amiga"
4262 TOUCH
="/gg/bin/touch"
4265 aros_host_cpu
="m68k"
4271 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4272 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4273 aros_host_cpu
="$host_cpu"
4279 aros_host_arch
="cygwin"
4280 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4283 aros_host_cpu
="i386"
4286 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4287 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4288 aros_host_cpu
="$host_cpu"
4294 aros_host_arch
="mingw32"
4295 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4296 AROS_BUILDDIR_NATIVE
=`pwd -W`
4299 aros_host_cpu
="i386"
4302 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4303 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4304 aros_host_cpu
="$host_cpu"
4309 { { $as_echo "$as_me:$LINENO: error: Unsupported host architecture $host" >&5
4310 $as_echo "$as_me: error: Unsupported host architecture $host" >&2;}
4311 { (exit 1); exit 1; }; }
4315 # Extract the first word of "ar", so it can be a program name with args.
4316 set dummy
ar; ac_word
=$2
4317 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4318 $as_echo_n "checking for $ac_word... " >&6; }
4319 if test "${ac_cv_prog_aros_host_ar+set}" = set; then
4320 $as_echo_n "(cached) " >&6
4322 if test -n "$aros_host_ar"; then
4323 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4325 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4329 test -z "$as_dir" && as_dir
=.
4330 for ac_exec_ext
in '' $ac_executable_extensions; do
4331 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4332 ac_cv_prog_aros_host_ar
="ar cr"
4333 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4342 aros_host_ar
=$ac_cv_prog_aros_host_ar
4343 if test -n "$aros_host_ar"; then
4344 { $as_echo "$as_me:$LINENO: result: $aros_host_ar" >&5
4345 $as_echo "$aros_host_ar" >&6; }
4347 { $as_echo "$as_me:$LINENO: result: no" >&5
4348 $as_echo "no" >&6; }
4352 if test "$aros_host_ar" = ""; then
4353 { { $as_echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
4354 $as_echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
4355 { (exit 1); exit 1; }; }
4357 # Extract the first word of "ranlib", so it can be a program name with args.
4358 set dummy ranlib
; ac_word
=$2
4359 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4360 $as_echo_n "checking for $ac_word... " >&6; }
4361 if test "${ac_cv_prog_aros_host_ranlib+set}" = set; then
4362 $as_echo_n "(cached) " >&6
4364 if test -n "$aros_host_ranlib"; then
4365 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4371 test -z "$as_dir" && as_dir
=.
4372 for ac_exec_ext
in '' $ac_executable_extensions; do
4373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4374 ac_cv_prog_aros_host_ranlib
="ranlib "
4375 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4384 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4385 if test -n "$aros_host_ranlib"; then
4386 { $as_echo "$as_me:$LINENO: result: $aros_host_ranlib" >&5
4387 $as_echo "$aros_host_ranlib" >&6; }
4389 { $as_echo "$as_me:$LINENO: result: no" >&5
4390 $as_echo "no" >&6; }
4394 if test "$aros_host_ranlib" = ""; then
4395 { { $as_echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
4396 $as_echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
4397 { (exit 1); exit 1; }; }
4399 # Extract the first word of "strip", so it can be a program name with args.
4400 set dummy strip
; ac_word
=$2
4401 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4402 $as_echo_n "checking for $ac_word... " >&6; }
4403 if test "${ac_cv_prog_aros_host_strip+set}" = set; then
4404 $as_echo_n "(cached) " >&6
4406 if test -n "$aros_host_strip"; then
4407 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4409 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4413 test -z "$as_dir" && as_dir
=.
4414 for ac_exec_ext
in '' $ac_executable_extensions; do
4415 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4416 ac_cv_prog_aros_host_strip
="strip "
4417 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4426 aros_host_strip
=$ac_cv_prog_aros_host_strip
4427 if test -n "$aros_host_strip"; then
4428 { $as_echo "$as_me:$LINENO: result: $aros_host_strip" >&5
4429 $as_echo "$aros_host_strip" >&6; }
4431 { $as_echo "$as_me:$LINENO: result: no" >&5
4432 $as_echo "no" >&6; }
4436 if test "$aros_host_strip" = ""; then
4437 { { $as_echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
4438 $as_echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
4439 { (exit 1); exit 1; }; }
4442 # Extract the first word of "rm", so it can be a program name with args.
4443 set dummy
rm; ac_word
=$2
4444 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4445 $as_echo_n "checking for $ac_word... " >&6; }
4446 if test "${ac_cv_prog_RM+set}" = set; then
4447 $as_echo_n "(cached) " >&6
4449 if test -n "$RM"; then
4450 ac_cv_prog_RM
="$RM" # Let the user override the test.
4452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4456 test -z "$as_dir" && as_dir
=.
4457 for ac_exec_ext
in '' $ac_executable_extensions; do
4458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4459 ac_cv_prog_RM
="rm -rf"
4460 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4470 if test -n "$RM"; then
4471 { $as_echo "$as_me:$LINENO: result: $RM" >&5
4472 $as_echo "$RM" >&6; }
4474 { $as_echo "$as_me:$LINENO: result: no" >&5
4475 $as_echo "no" >&6; }
4479 if test "$RM" = ""; then
4480 { { $as_echo "$as_me:$LINENO: error: rm is required to build AROS. Please install and run configure again." >&5
4481 $as_echo "$as_me: error: rm is required to build AROS. Please install and run configure again." >&2;}
4482 { (exit 1); exit 1; }; }
4484 # Extract the first word of "cp", so it can be a program name with args.
4485 set dummy
cp; ac_word
=$2
4486 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4487 $as_echo_n "checking for $ac_word... " >&6; }
4488 if test "${ac_cv_prog_CP+set}" = set; then
4489 $as_echo_n "(cached) " >&6
4491 if test -n "$CP"; then
4492 ac_cv_prog_CP
="$CP" # Let the user override the test.
4494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4498 test -z "$as_dir" && as_dir
=.
4499 for ac_exec_ext
in '' $ac_executable_extensions; do
4500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4502 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4512 if test -n "$CP"; then
4513 { $as_echo "$as_me:$LINENO: result: $CP" >&5
4514 $as_echo "$CP" >&6; }
4516 { $as_echo "$as_me:$LINENO: result: no" >&5
4517 $as_echo "no" >&6; }
4521 if test "$CP" = ""; then
4522 { { $as_echo "$as_me:$LINENO: error: cp is required to build AROS. Please install and run configure again." >&5
4523 $as_echo "$as_me: error: cp is required to build AROS. Please install and run configure again." >&2;}
4524 { (exit 1); exit 1; }; }
4526 # Extract the first word of "mv", so it can be a program name with args.
4527 set dummy
mv; ac_word
=$2
4528 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4529 $as_echo_n "checking for $ac_word... " >&6; }
4530 if test "${ac_cv_prog_MV+set}" = set; then
4531 $as_echo_n "(cached) " >&6
4533 if test -n "$MV"; then
4534 ac_cv_prog_MV
="$MV" # Let the user override the test.
4536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4540 test -z "$as_dir" && as_dir
=.
4541 for ac_exec_ext
in '' $ac_executable_extensions; do
4542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4544 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4554 if test -n "$MV"; then
4555 { $as_echo "$as_me:$LINENO: result: $MV" >&5
4556 $as_echo "$MV" >&6; }
4558 { $as_echo "$as_me:$LINENO: result: no" >&5
4559 $as_echo "no" >&6; }
4563 if test "$MV" = ""; then
4564 { { $as_echo "$as_me:$LINENO: error: mv is required to build AROS. Please install and run configure again." >&5
4565 $as_echo "$as_me: error: mv is required to build AROS. Please install and run configure again." >&2;}
4566 { (exit 1); exit 1; }; }
4568 # Extract the first word of "echo", so it can be a program name with args.
4569 set dummy
echo; ac_word
=$2
4570 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4571 $as_echo_n "checking for $ac_word... " >&6; }
4572 if test "${ac_cv_prog_ECHO+set}" = set; then
4573 $as_echo_n "(cached) " >&6
4575 if test -n "$ECHO"; then
4576 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
4578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4582 test -z "$as_dir" && as_dir
=.
4583 for ac_exec_ext
in '' $ac_executable_extensions; do
4584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4585 ac_cv_prog_ECHO
="echo "
4586 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4595 ECHO
=$ac_cv_prog_ECHO
4596 if test -n "$ECHO"; then
4597 { $as_echo "$as_me:$LINENO: result: $ECHO" >&5
4598 $as_echo "$ECHO" >&6; }
4600 { $as_echo "$as_me:$LINENO: result: no" >&5
4601 $as_echo "no" >&6; }
4605 if test "$ECHO" = ""; then
4606 { { $as_echo "$as_me:$LINENO: error: echo is required to build AROS. Please install and run configure again." >&5
4607 $as_echo "$as_me: error: echo is required to build AROS. Please install and run configure again." >&2;}
4608 { (exit 1); exit 1; }; }
4610 # Extract the first word of "mkdir", so it can be a program name with args.
4611 set dummy mkdir
; ac_word
=$2
4612 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4613 $as_echo_n "checking for $ac_word... " >&6; }
4614 if test "${ac_cv_prog_MKDIR+set}" = set; then
4615 $as_echo_n "(cached) " >&6
4617 if test -n "$MKDIR"; then
4618 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
4620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4624 test -z "$as_dir" && as_dir
=.
4625 for ac_exec_ext
in '' $ac_executable_extensions; do
4626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4627 ac_cv_prog_MKDIR
="mkdir -p"
4628 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4637 MKDIR
=$ac_cv_prog_MKDIR
4638 if test -n "$MKDIR"; then
4639 { $as_echo "$as_me:$LINENO: result: $MKDIR" >&5
4640 $as_echo "$MKDIR" >&6; }
4642 { $as_echo "$as_me:$LINENO: result: no" >&5
4643 $as_echo "no" >&6; }
4647 if test "$MKDIR" = ""; then
4648 { { $as_echo "$as_me:$LINENO: error: mkdir is required to build AROS. Please install and run configure again." >&5
4649 $as_echo "$as_me: error: mkdir is required to build AROS. Please install and run configure again." >&2;}
4650 { (exit 1); exit 1; }; }
4652 # Extract the first word of "touch", so it can be a program name with args.
4653 set dummy
touch; ac_word
=$2
4654 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4655 $as_echo_n "checking for $ac_word... " >&6; }
4656 if test "${ac_cv_prog_TOUCH+set}" = set; then
4657 $as_echo_n "(cached) " >&6
4659 if test -n "$TOUCH"; then
4660 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
4662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4666 test -z "$as_dir" && as_dir
=.
4667 for ac_exec_ext
in '' $ac_executable_extensions; do
4668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4669 ac_cv_prog_TOUCH
="touch "
4670 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4679 TOUCH
=$ac_cv_prog_TOUCH
4680 if test -n "$TOUCH"; then
4681 { $as_echo "$as_me:$LINENO: result: $TOUCH" >&5
4682 $as_echo "$TOUCH" >&6; }
4684 { $as_echo "$as_me:$LINENO: result: no" >&5
4685 $as_echo "no" >&6; }
4689 if test "$TOUCH" = ""; then
4690 { { $as_echo "$as_me:$LINENO: error: touch is required to build AROS. Please install and run configure again." >&5
4691 $as_echo "$as_me: error: touch is required to build AROS. Please install and run configure again." >&2;}
4692 { (exit 1); exit 1; }; }
4694 # Extract the first word of "sort", so it can be a program name with args.
4695 set dummy
sort; ac_word
=$2
4696 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4697 $as_echo_n "checking for $ac_word... " >&6; }
4698 if test "${ac_cv_prog_SORT+set}" = set; then
4699 $as_echo_n "(cached) " >&6
4701 if test -n "$SORT"; then
4702 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
4704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4708 test -z "$as_dir" && as_dir
=.
4709 for ac_exec_ext
in '' $ac_executable_extensions; do
4710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4711 ac_cv_prog_SORT
="sort "
4712 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4721 SORT
=$ac_cv_prog_SORT
4722 if test -n "$SORT"; then
4723 { $as_echo "$as_me:$LINENO: result: $SORT" >&5
4724 $as_echo "$SORT" >&6; }
4726 { $as_echo "$as_me:$LINENO: result: no" >&5
4727 $as_echo "no" >&6; }
4731 if test "$SORT" = ""; then
4732 { { $as_echo "$as_me:$LINENO: error: sort is required to build AROS. Please install and run configure again." >&5
4733 $as_echo "$as_me: error: sort is required to build AROS. Please install and run configure again." >&2;}
4734 { (exit 1); exit 1; }; }
4736 # Extract the first word of "uniq", so it can be a program name with args.
4737 set dummy
uniq; ac_word
=$2
4738 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4739 $as_echo_n "checking for $ac_word... " >&6; }
4740 if test "${ac_cv_prog_UNIQ+set}" = set; then
4741 $as_echo_n "(cached) " >&6
4743 if test -n "$UNIQ"; then
4744 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
4746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4750 test -z "$as_dir" && as_dir
=.
4751 for ac_exec_ext
in '' $ac_executable_extensions; do
4752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4753 ac_cv_prog_UNIQ
="uniq "
4754 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4763 UNIQ
=$ac_cv_prog_UNIQ
4764 if test -n "$UNIQ"; then
4765 { $as_echo "$as_me:$LINENO: result: $UNIQ" >&5
4766 $as_echo "$UNIQ" >&6; }
4768 { $as_echo "$as_me:$LINENO: result: no" >&5
4769 $as_echo "no" >&6; }
4773 if test "$UNIQ" = ""; then
4774 { { $as_echo "$as_me:$LINENO: error: uniq is required to build AROS. Please install and run configure again." >&5
4775 $as_echo "$as_me: error: uniq is required to build AROS. Please install and run configure again." >&2;}
4776 { (exit 1); exit 1; }; }
4778 # Extract the first word of "true", so it can be a program name with args.
4779 set dummy true
; ac_word
=$2
4780 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4781 $as_echo_n "checking for $ac_word... " >&6; }
4782 if test "${ac_cv_prog_NOP+set}" = set; then
4783 $as_echo_n "(cached) " >&6
4785 if test -n "$NOP"; then
4786 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
4788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4792 test -z "$as_dir" && as_dir
=.
4793 for ac_exec_ext
in '' $ac_executable_extensions; do
4794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4795 ac_cv_prog_NOP
="true "
4796 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4806 if test -n "$NOP"; then
4807 { $as_echo "$as_me:$LINENO: result: $NOP" >&5
4808 $as_echo "$NOP" >&6; }
4810 { $as_echo "$as_me:$LINENO: result: no" >&5
4811 $as_echo "no" >&6; }
4815 if test "$NOP" = ""; then
4816 { { $as_echo "$as_me:$LINENO: error: true is required to build AROS. Please install and run configure again." >&5
4817 $as_echo "$as_me: error: true is required to build AROS. Please install and run configure again." >&2;}
4818 { (exit 1); exit 1; }; }
4820 # Extract the first word of "cat", so it can be a program name with args.
4821 set dummy
cat; ac_word
=$2
4822 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4823 $as_echo_n "checking for $ac_word... " >&6; }
4824 if test "${ac_cv_prog_CAT+set}" = set; then
4825 $as_echo_n "(cached) " >&6
4827 if test -n "$CAT"; then
4828 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
4830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4834 test -z "$as_dir" && as_dir
=.
4835 for ac_exec_ext
in '' $ac_executable_extensions; do
4836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4837 ac_cv_prog_CAT
="cat "
4838 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4848 if test -n "$CAT"; then
4849 { $as_echo "$as_me:$LINENO: result: $CAT" >&5
4850 $as_echo "$CAT" >&6; }
4852 { $as_echo "$as_me:$LINENO: result: no" >&5
4853 $as_echo "no" >&6; }
4857 if test "$CAT" = ""; then
4858 { { $as_echo "$as_me:$LINENO: error: cat is required to build AROS. Please install and run configure again." >&5
4859 $as_echo "$as_me: error: cat is required to build AROS. Please install and run configure again." >&2;}
4860 { (exit 1); exit 1; }; }
4862 # Extract the first word of "bison", so it can be a program name with args.
4863 set dummy bison
; ac_word
=$2
4864 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4865 $as_echo_n "checking for $ac_word... " >&6; }
4866 if test "${ac_cv_prog_BISON+set}" = set; then
4867 $as_echo_n "(cached) " >&6
4869 if test -n "$BISON"; then
4870 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4876 test -z "$as_dir" && as_dir
=.
4877 for ac_exec_ext
in '' $ac_executable_extensions; do
4878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4879 ac_cv_prog_BISON
="bison "
4880 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4889 BISON
=$ac_cv_prog_BISON
4890 if test -n "$BISON"; then
4891 { $as_echo "$as_me:$LINENO: result: $BISON" >&5
4892 $as_echo "$BISON" >&6; }
4894 { $as_echo "$as_me:$LINENO: result: no" >&5
4895 $as_echo "no" >&6; }
4899 if test "$BISON" = ""; then
4900 { { $as_echo "$as_me:$LINENO: error: bison is required to build AROS. Please install and run configure again." >&5
4901 $as_echo "$as_me: error: bison is required to build AROS. Please install and run configure again." >&2;}
4902 { (exit 1); exit 1; }; }
4904 # Extract the first word of "flex", so it can be a program name with args.
4905 set dummy flex
; ac_word
=$2
4906 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4907 $as_echo_n "checking for $ac_word... " >&6; }
4908 if test "${ac_cv_prog_FLEX+set}" = set; then
4909 $as_echo_n "(cached) " >&6
4911 if test -n "$FLEX"; then
4912 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4918 test -z "$as_dir" && as_dir
=.
4919 for ac_exec_ext
in '' $ac_executable_extensions; do
4920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4921 ac_cv_prog_FLEX
="flex "
4922 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4931 FLEX
=$ac_cv_prog_FLEX
4932 if test -n "$FLEX"; then
4933 { $as_echo "$as_me:$LINENO: result: $FLEX" >&5
4934 $as_echo "$FLEX" >&6; }
4936 { $as_echo "$as_me:$LINENO: result: no" >&5
4937 $as_echo "no" >&6; }
4941 if test "$FLEX" = ""; then
4942 { { $as_echo "$as_me:$LINENO: error: flex is required to build AROS. Please install and run configure again." >&5
4943 $as_echo "$as_me: error: flex is required to build AROS. Please install and run configure again." >&2;}
4944 { (exit 1); exit 1; }; }
4946 # Extract the first word of "pngtopnm", so it can be a program name with args.
4947 set dummy pngtopnm
; ac_word
=$2
4948 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4949 $as_echo_n "checking for $ac_word... " >&6; }
4950 if test "${ac_cv_prog_PNGTOPNM+set}" = set; then
4951 $as_echo_n "(cached) " >&6
4953 if test -n "$PNGTOPNM"; then
4954 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
4956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4960 test -z "$as_dir" && as_dir
=.
4961 for ac_exec_ext
in '' $ac_executable_extensions; do
4962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4963 ac_cv_prog_PNGTOPNM
="pngtopnm "
4964 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4973 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
4974 if test -n "$PNGTOPNM"; then
4975 { $as_echo "$as_me:$LINENO: result: $PNGTOPNM" >&5
4976 $as_echo "$PNGTOPNM" >&6; }
4978 { $as_echo "$as_me:$LINENO: result: no" >&5
4979 $as_echo "no" >&6; }
4983 if test "$PNGTOPNM" = ""; then
4984 { { $as_echo "$as_me:$LINENO: error: pngtopnm is required to build AROS. Please install and run configure again." >&5
4985 $as_echo "$as_me: error: pngtopnm is required to build AROS. Please install and run configure again." >&2;}
4986 { (exit 1); exit 1; }; }
4988 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
4989 set dummy ppmtoilbm
; ac_word
=$2
4990 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4991 $as_echo_n "checking for $ac_word... " >&6; }
4992 if test "${ac_cv_prog_PPMTOILBM+set}" = set; then
4993 $as_echo_n "(cached) " >&6
4995 if test -n "$PPMTOILBM"; then
4996 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
4998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5002 test -z "$as_dir" && as_dir
=.
5003 for ac_exec_ext
in '' $ac_executable_extensions; do
5004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5005 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5006 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5015 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5016 if test -n "$PPMTOILBM"; then
5017 { $as_echo "$as_me:$LINENO: result: $PPMTOILBM" >&5
5018 $as_echo "$PPMTOILBM" >&6; }
5020 { $as_echo "$as_me:$LINENO: result: no" >&5
5021 $as_echo "no" >&6; }
5025 if test "$PPMTOILBM" = ""; then
5026 { { $as_echo "$as_me:$LINENO: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&5
5027 $as_echo "$as_me: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&2;}
5028 { (exit 1); exit 1; }; }
5030 # Extract the first word of "sed", so it can be a program name with args.
5031 set dummy
sed; ac_word
=$2
5032 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5033 $as_echo_n "checking for $ac_word... " >&6; }
5034 if test "${ac_cv_prog_SED+set}" = set; then
5035 $as_echo_n "(cached) " >&6
5037 if test -n "$SED"; then
5038 ac_cv_prog_SED
="$SED" # Let the user override the test.
5040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5044 test -z "$as_dir" && as_dir
=.
5045 for ac_exec_ext
in '' $ac_executable_extensions; do
5046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5047 ac_cv_prog_SED
="sed "
5048 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5058 if test -n "$SED"; then
5059 { $as_echo "$as_me:$LINENO: result: $SED" >&5
5060 $as_echo "$SED" >&6; }
5062 { $as_echo "$as_me:$LINENO: result: no" >&5
5063 $as_echo "no" >&6; }
5067 if test "$SED" = ""; then
5068 { { $as_echo "$as_me:$LINENO: error: sed is required to build AROS. Please install and run configure again." >&5
5069 $as_echo "$as_me: error: sed is required to build AROS. Please install and run configure again." >&2;}
5070 { (exit 1); exit 1; }; }
5072 # Extract the first word of "chmod", so it can be a program name with args.
5073 set dummy
chmod; ac_word
=$2
5074 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5075 $as_echo_n "checking for $ac_word... " >&6; }
5076 if test "${ac_cv_prog_CHMOD+set}" = set; then
5077 $as_echo_n "(cached) " >&6
5079 if test -n "$CHMOD"; then
5080 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5086 test -z "$as_dir" && as_dir
=.
5087 for ac_exec_ext
in '' $ac_executable_extensions; do
5088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5089 ac_cv_prog_CHMOD
="chmod "
5090 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5099 CHMOD
=$ac_cv_prog_CHMOD
5100 if test -n "$CHMOD"; then
5101 { $as_echo "$as_me:$LINENO: result: $CHMOD" >&5
5102 $as_echo "$CHMOD" >&6; }
5104 { $as_echo "$as_me:$LINENO: result: no" >&5
5105 $as_echo "no" >&6; }
5109 if test "$CHMOD" = ""; then
5110 { { $as_echo "$as_me:$LINENO: error: chmod is required to build AROS. Please install and run configure again." >&5
5111 $as_echo "$as_me: error: chmod is required to build AROS. Please install and run configure again." >&2;}
5112 { (exit 1); exit 1; }; }
5119 if test -n "$PYTHON"; then
5120 # If the user set $PYTHON, use it and don't search something else.
5121 { $as_echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.2.1" >&5
5122 $as_echo_n "checking whether $PYTHON version >= 2.2.1... " >&6; }
5123 prog
="import sys, string
5124 # split strings by '.' and convert to numeric. Append some zeros
5125 # because we need at least 4 digits for the hex conversion.
5126 minver = map(int, string.split('2.2.1', '.')) + [0, 0, 0]
5128 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5129 sys.exit(sys.hexversion < minverhex)"
5130 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5131 ($PYTHON -c "$prog") >&5 2>&5
5133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5134 (exit $ac_status); }; then
5135 { $as_echo "$as_me:$LINENO: result: yes" >&5
5136 $as_echo "yes" >&6; }
5138 { { $as_echo "$as_me:$LINENO: error: too old" >&5
5139 $as_echo "$as_me: error: too old" >&2;}
5140 { (exit 1); exit 1; }; }
5143 am_display_PYTHON
=$PYTHON
5145 # Otherwise, try each interpreter until we find one that satisfies
5147 { $as_echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.2.1" >&5
5148 $as_echo_n "checking for a Python interpreter with version >= 2.2.1... " >&6; }
5149 if test "${am_cv_pathless_PYTHON+set}" = set; then
5150 $as_echo_n "(cached) " >&6
5153 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
5154 test "$am_cv_pathless_PYTHON" = none
&& break
5155 prog
="import sys, string
5156 # split strings by '.' and convert to numeric. Append some zeros
5157 # because we need at least 4 digits for the hex conversion.
5158 minver = map(int, string.split('2.2.1', '.')) + [0, 0, 0]
5160 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5161 sys.exit(sys.hexversion < minverhex)"
5162 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5163 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5166 (exit $ac_status); }; then
5172 { $as_echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
5173 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5174 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5175 if test "$am_cv_pathless_PYTHON" = none
; then
5178 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5179 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5180 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5181 $as_echo_n "checking for $ac_word... " >&6; }
5182 if test "${ac_cv_path_PYTHON+set}" = set; then
5183 $as_echo_n "(cached) " >&6
5187 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5194 test -z "$as_dir" && as_dir
=.
5195 for ac_exec_ext
in '' $ac_executable_extensions; do
5196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5197 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5198 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5208 PYTHON
=$ac_cv_path_PYTHON
5209 if test -n "$PYTHON"; then
5210 { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
5211 $as_echo "$PYTHON" >&6; }
5213 { $as_echo "$as_me:$LINENO: result: no" >&5
5214 $as_echo "no" >&6; }
5219 am_display_PYTHON
=$am_cv_pathless_PYTHON
5223 if test "$PYTHON" = :; then
5224 { { $as_echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
5225 $as_echo "$as_me: error: no suitable Python interpreter found" >&2;}
5226 { (exit 1); exit 1; }; }
5230 { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
5231 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5232 if test "${am_cv_python_version+set}" = set; then
5233 $as_echo_n "(cached) " >&6
5235 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
5237 { $as_echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
5238 $as_echo "$am_cv_python_version" >&6; }
5239 PYTHON_VERSION
=$am_cv_python_version
5243 PYTHON_PREFIX
='${prefix}'
5245 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5249 { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
5250 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5251 if test "${am_cv_python_platform+set}" = set; then
5252 $as_echo_n "(cached) " >&6
5254 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
5256 { $as_echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
5257 $as_echo "$am_cv_python_platform" >&6; }
5258 PYTHON_PLATFORM
=$am_cv_python_platform
5263 { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
5264 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5265 if test "${am_cv_python_pythondir+set}" = set; then
5266 $as_echo_n "(cached) " >&6
5268 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5269 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5271 { $as_echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
5272 $as_echo "$am_cv_python_pythondir" >&6; }
5273 pythondir
=$am_cv_python_pythondir
5277 pkgpythondir
=\
${pythondir}/$PACKAGE
5280 { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
5281 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5282 if test "${am_cv_python_pyexecdir+set}" = set; then
5283 $as_echo_n "(cached) " >&6
5285 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5286 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5288 { $as_echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
5289 $as_echo "$am_cv_python_pyexecdir" >&6; }
5290 pyexecdir
=$am_cv_python_pyexecdir
5294 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5312 # Check for some includes for the X11 HIDD and the kernel
5315 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5316 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5317 if test "${ac_cv_path_GREP+set}" = set; then
5318 $as_echo_n "(cached) " >&6
5320 if test -z "$GREP"; then
5321 ac_path_GREP_found
=false
5322 # Loop through the user's path and test for each of PROGNAME-LIST
5323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5324 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5327 test -z "$as_dir" && as_dir
=.
5328 for ac_prog
in grep ggrep
; do
5329 for ac_exec_ext
in '' $ac_executable_extensions; do
5330 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5331 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5332 # Check for GNU ac_path_GREP and select it if it is found.
5333 # Check for GNU $ac_path_GREP
5334 case `"$ac_path_GREP" --version 2>&1` in
5336 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5339 $as_echo_n 0123456789 >"conftest.in"
5342 cat "conftest.in" "conftest.in" >"conftest.tmp"
5343 mv "conftest.tmp" "conftest.in"
5344 cp "conftest.in" "conftest.nl"
5345 $as_echo 'GREP' >> "conftest.nl"
5346 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5347 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5348 ac_count
=`expr $ac_count + 1`
5349 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5350 # Best one so far, save it but keep looking for a better one
5351 ac_cv_path_GREP
="$ac_path_GREP"
5352 ac_path_GREP_max
=$ac_count
5354 # 10*(2^10) chars as input seems more than enough
5355 test $ac_count -gt 10 && break
5357 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5360 $ac_path_GREP_found && break 3
5365 if test -z "$ac_cv_path_GREP"; then
5366 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5367 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5368 { (exit 1); exit 1; }; }
5371 ac_cv_path_GREP
=$GREP
5375 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5376 $as_echo "$ac_cv_path_GREP" >&6; }
5377 GREP
="$ac_cv_path_GREP"
5380 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
5381 $as_echo_n "checking for egrep... " >&6; }
5382 if test "${ac_cv_path_EGREP+set}" = set; then
5383 $as_echo_n "(cached) " >&6
5385 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5386 then ac_cv_path_EGREP
="$GREP -E"
5388 if test -z "$EGREP"; then
5389 ac_path_EGREP_found
=false
5390 # Loop through the user's path and test for each of PROGNAME-LIST
5391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5392 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5395 test -z "$as_dir" && as_dir
=.
5396 for ac_prog
in egrep; do
5397 for ac_exec_ext
in '' $ac_executable_extensions; do
5398 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5399 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5400 # Check for GNU ac_path_EGREP and select it if it is found.
5401 # Check for GNU $ac_path_EGREP
5402 case `"$ac_path_EGREP" --version 2>&1` in
5404 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5407 $as_echo_n 0123456789 >"conftest.in"
5410 cat "conftest.in" "conftest.in" >"conftest.tmp"
5411 mv "conftest.tmp" "conftest.in"
5412 cp "conftest.in" "conftest.nl"
5413 $as_echo 'EGREP' >> "conftest.nl"
5414 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5415 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5416 ac_count
=`expr $ac_count + 1`
5417 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5418 # Best one so far, save it but keep looking for a better one
5419 ac_cv_path_EGREP
="$ac_path_EGREP"
5420 ac_path_EGREP_max
=$ac_count
5422 # 10*(2^10) chars as input seems more than enough
5423 test $ac_count -gt 10 && break
5425 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5428 $ac_path_EGREP_found && break 3
5433 if test -z "$ac_cv_path_EGREP"; then
5434 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5435 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5436 { (exit 1); exit 1; }; }
5439 ac_cv_path_EGREP
=$EGREP
5444 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5445 $as_echo "$ac_cv_path_EGREP" >&6; }
5446 EGREP
="$ac_cv_path_EGREP"
5449 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5450 $as_echo_n "checking for ANSI C header files... " >&6; }
5451 if test "${ac_cv_header_stdc+set}" = set; then
5452 $as_echo_n "(cached) " >&6
5454 cat >conftest.
$ac_ext <<_ACEOF
5457 cat confdefs.h
>>conftest.
$ac_ext
5458 cat >>conftest.
$ac_ext <<_ACEOF
5459 /* end confdefs.h. */
5473 rm -f conftest.
$ac_objext
5474 if { (ac_try
="$ac_compile"
5476 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5477 *) ac_try_echo=$ac_try;;
5479 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5480 $as_echo "$ac_try_echo") >&5
5481 (eval "$ac_compile") 2>conftest.er1
5483 grep -v '^ *+' conftest.er1 >conftest.err
5485 cat conftest.err >&5
5486 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5487 (exit $ac_status); } && {
5488 test -z "$ac_c_werror_flag" ||
5489 test ! -s conftest.err
5490 } && test -s conftest.$ac_objext; then
5491 ac_cv_header_stdc=yes
5493 $as_echo "$as_me: failed program was:" >&5
5494 sed 's/^/| /' conftest.$ac_ext >&5
5496 ac_cv_header_stdc=no
5499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5501 if test $ac_cv_header_stdc = yes; then
5502 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5503 cat >conftest.$ac_ext <<_ACEOF
5506 cat confdefs.h >>conftest.$ac_ext
5507 cat >>conftest.$ac_ext <<_ACEOF
5508 /* end confdefs.h. */
5512 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5513 $EGREP "memchr" >/dev/null 2>&1; then
5516 ac_cv_header_stdc=no
5522 if test $ac_cv_header_stdc = yes; then
5523 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5524 cat >conftest.$ac_ext <<_ACEOF
5527 cat confdefs.h >>conftest.$ac_ext
5528 cat >>conftest.$ac_ext <<_ACEOF
5529 /* end confdefs.h. */
5533 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5534 $EGREP "free" >/dev/null 2>&1; then
5537 ac_cv_header_stdc=no
5543 if test $ac_cv_header_stdc = yes; then
5544 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5545 if test "$cross_compiling" = yes; then
5548 cat >conftest.$ac_ext <<_ACEOF
5551 cat confdefs.h >>conftest.$ac_ext
5552 cat >>conftest.$ac_ext <<_ACEOF
5553 /* end confdefs.h. */
5556 #if ((' ' & 0x0FF) == 0x020)
5557 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5558 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5560 # define ISLOWER(c) \
5561 (('a' <= (c) && (c) <= 'i') \
5562 || ('j' <= (c) && (c) <= 'r') \
5563 || ('s' <= (c) && (c) <= 'z'))
5564 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5567 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5572 for (i = 0; i < 256; i++)
5573 if (XOR (islower (i), ISLOWER (i))
5574 || toupper (i) != TOUPPER (i))
5579 rm -f conftest$ac_exeext
5580 if { (ac_try="$ac_link"
5582 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5583 *) ac_try_echo
=$ac_try;;
5585 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5586 $as_echo "$ac_try_echo") >&5
5587 (eval "$ac_link") 2>&5
5589 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5590 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5591 { (case "(($ac_try" in
5592 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5593 *) ac_try_echo=$ac_try;;
5595 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5596 $as_echo "$ac_try_echo") >&5
5597 (eval "$ac_try") 2>&5
5599 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5600 (exit $ac_status); }; }; then
5603 $as_echo "$as_me: program exited with status $ac_status" >&5
5604 $as_echo "$as_me: failed program was:" >&5
5605 sed 's/^/| /' conftest.$ac_ext >&5
5608 ac_cv_header_stdc=no
5610 rm -rf conftest.dSYM
5611 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5617 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5618 $as_echo "$ac_cv_header_stdc" >&6; }
5619 if test $ac_cv_header_stdc = yes; then
5621 cat >>confdefs.h <<\_ACEOF
5622 #define STDC_HEADERS 1
5627 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5637 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5638 inttypes.h stdint.h unistd.h
5640 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5641 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5642 $as_echo_n "checking for $ac_header... " >&6; }
5643 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5644 $as_echo_n "(cached) " >&6
5646 cat >conftest.$ac_ext <<_ACEOF
5649 cat confdefs.h >>conftest.$ac_ext
5650 cat >>conftest.$ac_ext <<_ACEOF
5651 /* end confdefs.h. */
5652 $ac_includes_default
5654 #include <$ac_header>
5656 rm -f conftest.$ac_objext
5657 if { (ac_try="$ac_compile"
5659 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5660 *) ac_try_echo
=$ac_try;;
5662 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5663 $as_echo "$ac_try_echo") >&5
5664 (eval "$ac_compile") 2>conftest.er1
5666 grep -v '^ *+' conftest.er1
>conftest.err
5668 cat conftest.err
>&5
5669 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5670 (exit $ac_status); } && {
5671 test -z "$ac_c_werror_flag" ||
5672 test ! -s conftest.err
5673 } && test -s conftest.
$ac_objext; then
5674 eval "$as_ac_Header=yes"
5676 $as_echo "$as_me: failed program was:" >&5
5677 sed 's/^/| /' conftest.
$ac_ext >&5
5679 eval "$as_ac_Header=no"
5682 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5684 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5685 $as_echo "$as_val"'`
5686 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5687 $as_echo "$ac_res" >&6; }
5688 as_val
=`eval 'as_val=${'$as_ac_Header'}
5689 $as_echo "$as_val"'`
5690 if test "x$as_val" = x
""yes; then
5691 cat >>confdefs.h
<<_ACEOF
5692 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5709 for ac_header
in sys
/ipc.h sys
/shm.h \
5710 sys
/mmap.h sys
/mman.h sysexits.h \
5711 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
5714 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5715 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5716 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5717 $as_echo_n "checking for $ac_header... " >&6; }
5718 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5719 $as_echo_n "(cached) " >&6
5721 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5722 $as_echo "$as_val"'`
5723 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5724 $as_echo "$ac_res" >&6; }
5726 # Is the header compilable?
5727 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5728 $as_echo_n "checking $ac_header usability... " >&6; }
5729 cat >conftest.
$ac_ext <<_ACEOF
5732 cat confdefs.h
>>conftest.
$ac_ext
5733 cat >>conftest.
$ac_ext <<_ACEOF
5734 /* end confdefs.h. */
5735 $ac_includes_default
5736 #include <$ac_header>
5738 rm -f conftest.
$ac_objext
5739 if { (ac_try
="$ac_compile"
5741 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5742 *) ac_try_echo=$ac_try;;
5744 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5745 $as_echo "$ac_try_echo") >&5
5746 (eval "$ac_compile") 2>conftest.er1
5748 grep -v '^ *+' conftest.er1 >conftest.err
5750 cat conftest.err >&5
5751 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5752 (exit $ac_status); } && {
5753 test -z "$ac_c_werror_flag" ||
5754 test ! -s conftest.err
5755 } && test -s conftest.$ac_objext; then
5756 ac_header_compiler=yes
5758 $as_echo "$as_me: failed program was:" >&5
5759 sed 's/^/| /' conftest.$ac_ext >&5
5761 ac_header_compiler=no
5764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5765 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5766 $as_echo "$ac_header_compiler" >&6; }
5768 # Is the header present?
5769 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5770 $as_echo_n "checking $ac_header presence... " >&6; }
5771 cat >conftest.$ac_ext <<_ACEOF
5774 cat confdefs.h >>conftest.$ac_ext
5775 cat >>conftest.$ac_ext <<_ACEOF
5776 /* end confdefs.h. */
5777 #include <$ac_header>
5779 if { (ac_try="$ac_cpp conftest.$ac_ext"
5781 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5782 *) ac_try_echo
=$ac_try;;
5784 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5785 $as_echo "$ac_try_echo") >&5
5786 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5788 grep -v '^ *+' conftest.er1
>conftest.err
5790 cat conftest.err
>&5
5791 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5792 (exit $ac_status); } >/dev
/null
&& {
5793 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5794 test ! -s conftest.err
5796 ac_header_preproc
=yes
5798 $as_echo "$as_me: failed program was:" >&5
5799 sed 's/^/| /' conftest.
$ac_ext >&5
5801 ac_header_preproc
=no
5804 rm -f conftest.err conftest.
$ac_ext
5805 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5806 $as_echo "$ac_header_preproc" >&6; }
5808 # So? What about this header?
5809 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5811 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5812 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5813 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5814 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5815 ac_header_preproc
=yes
5818 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5819 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5820 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5821 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5822 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5823 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5824 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5825 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5826 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5827 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5828 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5829 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5833 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5834 $as_echo_n "checking for $ac_header... " >&6; }
5835 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5836 $as_echo_n "(cached) " >&6
5838 eval "$as_ac_Header=\$ac_header_preproc"
5840 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5841 $as_echo "$as_val"'`
5842 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5843 $as_echo "$ac_res" >&6; }
5846 as_val
=`eval 'as_val=${'$as_ac_Header'}
5847 $as_echo "$as_val"'`
5848 if test "x$as_val" = x
""yes; then
5849 cat >>confdefs.h
<<_ACEOF
5850 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5859 for ac_header
in sys
/mount.h
5861 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5862 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5863 $as_echo_n "checking for $ac_header... " >&6; }
5864 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5865 $as_echo_n "(cached) " >&6
5867 cat >conftest.
$ac_ext <<_ACEOF
5870 cat confdefs.h
>>conftest.
$ac_ext
5871 cat >>conftest.
$ac_ext <<_ACEOF
5872 /* end confdefs.h. */
5873 #include <sys/param.h>
5875 #include <$ac_header>
5877 rm -f conftest.
$ac_objext
5878 if { (ac_try
="$ac_compile"
5880 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5881 *) ac_try_echo=$ac_try;;
5883 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5884 $as_echo "$ac_try_echo") >&5
5885 (eval "$ac_compile") 2>conftest.er1
5887 grep -v '^ *+' conftest.er1 >conftest.err
5889 cat conftest.err >&5
5890 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5891 (exit $ac_status); } && {
5892 test -z "$ac_c_werror_flag" ||
5893 test ! -s conftest.err
5894 } && test -s conftest.$ac_objext; then
5895 eval "$as_ac_Header=yes"
5897 $as_echo "$as_me: failed program was:" >&5
5898 sed 's/^/| /' conftest.$ac_ext >&5
5900 eval "$as_ac_Header=no"
5903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5905 ac_res=`eval 'as_val=${'$as_ac_Header'}
5906 $as_echo "$as_val"'`
5907 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5908 $as_echo "$ac_res" >&6; }
5909 as_val=`eval 'as_val=${'$as_ac_Header'}
5910 $as_echo "$as_val"'`
5911 if test "x$as_val" = x""yes; then
5912 cat >>confdefs.h <<_ACEOF
5913 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5927 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
5928 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
5929 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
5930 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
5931 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5932 $as_echo_n "(cached) " >&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>
5952 rm -f conftest.$ac_objext
5953 if { (ac_try="$ac_compile"
5955 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5956 *) ac_try_echo
=$ac_try;;
5958 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5959 $as_echo "$ac_try_echo") >&5
5960 (eval "$ac_compile") 2>conftest.er1
5962 grep -v '^ *+' conftest.er1
>conftest.err
5964 cat conftest.err
>&5
5965 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5966 (exit $ac_status); } && {
5967 test -z "$ac_c_werror_flag" ||
5968 test ! -s conftest.err
5969 } && test -s conftest.
$ac_objext; then
5970 eval "$as_ac_Header=yes"
5972 $as_echo "$as_me: failed program was:" >&5
5973 sed 's/^/| /' conftest.
$ac_ext >&5
5975 eval "$as_ac_Header=no"
5978 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5980 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5981 $as_echo "$as_val"'`
5982 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5983 $as_echo "$ac_res" >&6; }
5984 as_val
=`eval 'as_val=${'$as_ac_Header'}
5985 $as_echo "$as_val"'`
5986 if test "x$as_val" = x
""yes; then
5987 cat >>confdefs.h
<<_ACEOF
5988 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5991 ac_header_dirent
=$ac_hdr; break
5995 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5996 if test $ac_header_dirent = dirent.h
; then
5997 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
5998 $as_echo_n "checking for library containing opendir... " >&6; }
5999 if test "${ac_cv_search_opendir+set}" = set; then
6000 $as_echo_n "(cached) " >&6
6002 ac_func_search_save_LIBS
=$LIBS
6003 cat >conftest.
$ac_ext <<_ACEOF
6006 cat confdefs.h
>>conftest.
$ac_ext
6007 cat >>conftest.
$ac_ext <<_ACEOF
6008 /* end confdefs.h. */
6010 /* Override any GCC internal prototype to avoid an error.
6011 Use char because int might match the return type of a GCC
6012 builtin and then its argument prototype would still apply. */
6025 for ac_lib
in '' dir
; do
6026 if test -z "$ac_lib"; then
6027 ac_res
="none required"
6030 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6032 rm -f conftest.
$ac_objext conftest
$ac_exeext
6033 if { (ac_try
="$ac_link"
6035 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6036 *) ac_try_echo=$ac_try;;
6038 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6039 $as_echo "$ac_try_echo") >&5
6040 (eval "$ac_link") 2>conftest.er1
6042 grep -v '^ *+' conftest.er1 >conftest.err
6044 cat conftest.err >&5
6045 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6046 (exit $ac_status); } && {
6047 test -z "$ac_c_werror_flag" ||
6048 test ! -s conftest.err
6049 } && test -s conftest$ac_exeext && {
6050 test "$cross_compiling" = yes ||
6051 $as_test_x conftest$ac_exeext
6053 ac_cv_search_opendir=$ac_res
6055 $as_echo "$as_me: failed program was:" >&5
6056 sed 's/^/| /' conftest.$ac_ext >&5
6061 rm -rf conftest.dSYM
6062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6064 if test "${ac_cv_search_opendir+set}" = set; then
6068 if test "${ac_cv_search_opendir+set}" = set; then
6071 ac_cv_search_opendir=no
6074 LIBS=$ac_func_search_save_LIBS
6076 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6077 $as_echo "$ac_cv_search_opendir" >&6; }
6078 ac_res=$ac_cv_search_opendir
6079 if test "$ac_res" != no; then
6080 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6085 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
6086 $as_echo_n "checking for library containing opendir... " >&6; }
6087 if test "${ac_cv_search_opendir+set}" = set; then
6088 $as_echo_n "(cached) " >&6
6090 ac_func_search_save_LIBS=$LIBS
6091 cat >conftest.$ac_ext <<_ACEOF
6094 cat confdefs.h >>conftest.$ac_ext
6095 cat >>conftest.$ac_ext <<_ACEOF
6096 /* end confdefs.h. */
6098 /* Override any GCC internal prototype to avoid an error.
6099 Use char because int might match the return type of a GCC
6100 builtin and then its argument prototype would still apply. */
6113 for ac_lib in '' x; do
6114 if test -z "$ac_lib"; then
6115 ac_res="none required"
6118 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6120 rm -f conftest.$ac_objext conftest$ac_exeext
6121 if { (ac_try="$ac_link"
6123 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6124 *) ac_try_echo
=$ac_try;;
6126 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6127 $as_echo "$ac_try_echo") >&5
6128 (eval "$ac_link") 2>conftest.er1
6130 grep -v '^ *+' conftest.er1
>conftest.err
6132 cat conftest.err
>&5
6133 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6134 (exit $ac_status); } && {
6135 test -z "$ac_c_werror_flag" ||
6136 test ! -s conftest.err
6137 } && test -s conftest
$ac_exeext && {
6138 test "$cross_compiling" = yes ||
6139 $as_test_x conftest
$ac_exeext
6141 ac_cv_search_opendir
=$ac_res
6143 $as_echo "$as_me: failed program was:" >&5
6144 sed 's/^/| /' conftest.
$ac_ext >&5
6149 rm -rf conftest.dSYM
6150 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6152 if test "${ac_cv_search_opendir+set}" = set; then
6156 if test "${ac_cv_search_opendir+set}" = set; then
6159 ac_cv_search_opendir
=no
6162 LIBS
=$ac_func_search_save_LIBS
6164 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6165 $as_echo "$ac_cv_search_opendir" >&6; }
6166 ac_res
=$ac_cv_search_opendir
6167 if test "$ac_res" != no
; then
6168 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6174 { $as_echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
6175 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6176 if test "${ac_cv_header_stat_broken+set}" = set; then
6177 $as_echo_n "(cached) " >&6
6179 cat >conftest.
$ac_ext <<_ACEOF
6182 cat confdefs.h
>>conftest.
$ac_ext
6183 cat >>conftest.
$ac_ext <<_ACEOF
6184 /* end confdefs.h. */
6185 #include <sys/types.h>
6186 #include <sys/stat.h>
6188 #if defined S_ISBLK && defined S_IFDIR
6189 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6192 #if defined S_ISBLK && defined S_IFCHR
6193 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6196 #if defined S_ISLNK && defined S_IFREG
6197 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6200 #if defined S_ISSOCK && defined S_IFREG
6201 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6205 rm -f conftest.
$ac_objext
6206 if { (ac_try
="$ac_compile"
6208 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6209 *) ac_try_echo=$ac_try;;
6211 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6212 $as_echo "$ac_try_echo") >&5
6213 (eval "$ac_compile") 2>conftest.er1
6215 grep -v '^ *+' conftest.er1 >conftest.err
6217 cat conftest.err >&5
6218 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6219 (exit $ac_status); } && {
6220 test -z "$ac_c_werror_flag" ||
6221 test ! -s conftest.err
6222 } && test -s conftest.$ac_objext; then
6223 ac_cv_header_stat_broken=no
6225 $as_echo "$as_me: failed program was:" >&5
6226 sed 's/^/| /' conftest.$ac_ext >&5
6228 ac_cv_header_stat_broken=yes
6231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6233 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
6234 $as_echo "$ac_cv_header_stat_broken" >&6; }
6235 if test $ac_cv_header_stat_broken = yes; then
6237 cat >>confdefs.h <<\_ACEOF
6238 #define STAT_MACROS_BROKEN 1
6243 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6244 $as_echo_n "checking for ANSI C header files... " >&6; }
6245 if test "${ac_cv_header_stdc+set}" = set; then
6246 $as_echo_n "(cached) " >&6
6248 cat >conftest.$ac_ext <<_ACEOF
6251 cat confdefs.h >>conftest.$ac_ext
6252 cat >>conftest.$ac_ext <<_ACEOF
6253 /* end confdefs.h. */
6267 rm -f conftest.$ac_objext
6268 if { (ac_try="$ac_compile"
6270 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6271 *) ac_try_echo
=$ac_try;;
6273 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6274 $as_echo "$ac_try_echo") >&5
6275 (eval "$ac_compile") 2>conftest.er1
6277 grep -v '^ *+' conftest.er1
>conftest.err
6279 cat conftest.err
>&5
6280 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6281 (exit $ac_status); } && {
6282 test -z "$ac_c_werror_flag" ||
6283 test ! -s conftest.err
6284 } && test -s conftest.
$ac_objext; then
6285 ac_cv_header_stdc
=yes
6287 $as_echo "$as_me: failed program was:" >&5
6288 sed 's/^/| /' conftest.
$ac_ext >&5
6290 ac_cv_header_stdc
=no
6293 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6295 if test $ac_cv_header_stdc = yes; then
6296 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6297 cat >conftest.
$ac_ext <<_ACEOF
6300 cat confdefs.h
>>conftest.
$ac_ext
6301 cat >>conftest.
$ac_ext <<_ACEOF
6302 /* end confdefs.h. */
6306 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6307 $EGREP "memchr" >/dev
/null
2>&1; then
6310 ac_cv_header_stdc
=no
6316 if test $ac_cv_header_stdc = yes; then
6317 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6318 cat >conftest.
$ac_ext <<_ACEOF
6321 cat confdefs.h
>>conftest.
$ac_ext
6322 cat >>conftest.
$ac_ext <<_ACEOF
6323 /* end confdefs.h. */
6327 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6328 $EGREP "free" >/dev
/null
2>&1; then
6331 ac_cv_header_stdc
=no
6337 if test $ac_cv_header_stdc = yes; then
6338 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6339 if test "$cross_compiling" = yes; then
6342 cat >conftest.
$ac_ext <<_ACEOF
6345 cat confdefs.h
>>conftest.
$ac_ext
6346 cat >>conftest.
$ac_ext <<_ACEOF
6347 /* end confdefs.h. */
6350 #if ((' ' & 0x0FF) == 0x020)
6351 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6352 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6354 # define ISLOWER(c) \
6355 (('a' <= (c) && (c) <= 'i') \
6356 || ('j' <= (c) && (c) <= 'r') \
6357 || ('s' <= (c) && (c) <= 'z'))
6358 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6361 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6366 for (i = 0; i < 256; i++)
6367 if (XOR (islower (i), ISLOWER (i))
6368 || toupper (i) != TOUPPER (i))
6373 rm -f conftest
$ac_exeext
6374 if { (ac_try
="$ac_link"
6376 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6377 *) ac_try_echo=$ac_try;;
6379 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6380 $as_echo "$ac_try_echo") >&5
6381 (eval "$ac_link") 2>&5
6383 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6384 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6385 { (case "(($ac_try" in
6386 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6387 *) ac_try_echo
=$ac_try;;
6389 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6390 $as_echo "$ac_try_echo") >&5
6391 (eval "$ac_try") 2>&5
6393 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6394 (exit $ac_status); }; }; then
6397 $as_echo "$as_me: program exited with status $ac_status" >&5
6398 $as_echo "$as_me: failed program was:" >&5
6399 sed 's/^/| /' conftest.
$ac_ext >&5
6402 ac_cv_header_stdc
=no
6404 rm -rf conftest.dSYM
6405 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6411 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6412 $as_echo "$ac_cv_header_stdc" >&6; }
6413 if test $ac_cv_header_stdc = yes; then
6415 cat >>confdefs.h
<<\_ACEOF
6416 #define STDC_HEADERS 1
6421 { $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
6422 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6423 if test "${ac_cv_header_sys_wait_h+set}" = set; then
6424 $as_echo_n "(cached) " >&6
6426 cat >conftest.
$ac_ext <<_ACEOF
6429 cat confdefs.h
>>conftest.
$ac_ext
6430 cat >>conftest.
$ac_ext <<_ACEOF
6431 /* end confdefs.h. */
6432 #include <sys/types.h>
6433 #include <sys/wait.h>
6435 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6438 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6446 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6451 rm -f conftest.
$ac_objext
6452 if { (ac_try
="$ac_compile"
6454 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6455 *) ac_try_echo=$ac_try;;
6457 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6458 $as_echo "$ac_try_echo") >&5
6459 (eval "$ac_compile") 2>conftest.er1
6461 grep -v '^ *+' conftest.er1 >conftest.err
6463 cat conftest.err >&5
6464 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6465 (exit $ac_status); } && {
6466 test -z "$ac_c_werror_flag" ||
6467 test ! -s conftest.err
6468 } && test -s conftest.$ac_objext; then
6469 ac_cv_header_sys_wait_h=yes
6471 $as_echo "$as_me: failed program was:" >&5
6472 sed 's/^/| /' conftest.$ac_ext >&5
6474 ac_cv_header_sys_wait_h=no
6477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6479 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
6480 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6481 if test $ac_cv_header_sys_wait_h = yes; then
6483 cat >>confdefs.h <<\_ACEOF
6484 #define HAVE_SYS_WAIT_H 1
6489 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6490 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6491 if test "${ac_cv_header_time+set}" = set; then
6492 $as_echo_n "(cached) " >&6
6494 cat >conftest.$ac_ext <<_ACEOF
6497 cat confdefs.h >>conftest.$ac_ext
6498 cat >>conftest.$ac_ext <<_ACEOF
6499 /* end confdefs.h. */
6500 #include <sys/types.h>
6501 #include <sys/time.h>
6507 if ((struct tm *) 0)
6513 rm -f conftest.$ac_objext
6514 if { (ac_try="$ac_compile"
6516 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6517 *) ac_try_echo
=$ac_try;;
6519 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6520 $as_echo "$ac_try_echo") >&5
6521 (eval "$ac_compile") 2>conftest.er1
6523 grep -v '^ *+' conftest.er1
>conftest.err
6525 cat conftest.err
>&5
6526 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6527 (exit $ac_status); } && {
6528 test -z "$ac_c_werror_flag" ||
6529 test ! -s conftest.err
6530 } && test -s conftest.
$ac_objext; then
6531 ac_cv_header_time
=yes
6533 $as_echo "$as_me: failed program was:" >&5
6534 sed 's/^/| /' conftest.
$ac_ext >&5
6536 ac_cv_header_time
=no
6539 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6541 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6542 $as_echo "$ac_cv_header_time" >&6; }
6543 if test $ac_cv_header_time = yes; then
6545 cat >>confdefs.h
<<\_ACEOF
6546 #define TIME_WITH_SYS_TIME 1
6551 { $as_echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6552 $as_echo_n "checking for struct stat.st_blksize... " >&6; }
6553 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6554 $as_echo_n "(cached) " >&6
6556 cat >conftest.
$ac_ext <<_ACEOF
6559 cat confdefs.h
>>conftest.
$ac_ext
6560 cat >>conftest.
$ac_ext <<_ACEOF
6561 /* end confdefs.h. */
6562 $ac_includes_default
6566 static struct stat ac_aggr;
6567 if (ac_aggr.st_blksize)
6573 rm -f conftest.
$ac_objext
6574 if { (ac_try
="$ac_compile"
6576 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6577 *) ac_try_echo=$ac_try;;
6579 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6580 $as_echo "$ac_try_echo") >&5
6581 (eval "$ac_compile") 2>conftest.er1
6583 grep -v '^ *+' conftest.er1 >conftest.err
6585 cat conftest.err >&5
6586 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6587 (exit $ac_status); } && {
6588 test -z "$ac_c_werror_flag" ||
6589 test ! -s conftest.err
6590 } && test -s conftest.$ac_objext; then
6591 ac_cv_member_struct_stat_st_blksize=yes
6593 $as_echo "$as_me: failed program was:" >&5
6594 sed 's/^/| /' conftest.$ac_ext >&5
6596 cat >conftest.$ac_ext <<_ACEOF
6599 cat confdefs.h >>conftest.$ac_ext
6600 cat >>conftest.$ac_ext <<_ACEOF
6601 /* end confdefs.h. */
6602 $ac_includes_default
6606 static struct stat ac_aggr;
6607 if (sizeof ac_aggr.st_blksize)
6613 rm -f conftest.$ac_objext
6614 if { (ac_try="$ac_compile"
6616 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6617 *) ac_try_echo
=$ac_try;;
6619 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6620 $as_echo "$ac_try_echo") >&5
6621 (eval "$ac_compile") 2>conftest.er1
6623 grep -v '^ *+' conftest.er1
>conftest.err
6625 cat conftest.err
>&5
6626 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6627 (exit $ac_status); } && {
6628 test -z "$ac_c_werror_flag" ||
6629 test ! -s conftest.err
6630 } && test -s conftest.
$ac_objext; then
6631 ac_cv_member_struct_stat_st_blksize
=yes
6633 $as_echo "$as_me: failed program was:" >&5
6634 sed 's/^/| /' conftest.
$ac_ext >&5
6636 ac_cv_member_struct_stat_st_blksize
=no
6639 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6642 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6644 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
6645 $as_echo "$ac_cv_member_struct_stat_st_blksize" >&6; }
6646 if test "x$ac_cv_member_struct_stat_st_blksize" = x
""yes; then
6648 cat >>confdefs.h
<<_ACEOF
6649 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6653 cat >>confdefs.h
<<\_ACEOF
6654 #define HAVE_ST_BLKSIZE 1
6660 { $as_echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
6661 $as_echo_n "checking for struct stat.st_blocks... " >&6; }
6662 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
6663 $as_echo_n "(cached) " >&6
6665 cat >conftest.
$ac_ext <<_ACEOF
6668 cat confdefs.h
>>conftest.
$ac_ext
6669 cat >>conftest.
$ac_ext <<_ACEOF
6670 /* end confdefs.h. */
6671 $ac_includes_default
6675 static struct stat ac_aggr;
6676 if (ac_aggr.st_blocks)
6682 rm -f conftest.
$ac_objext
6683 if { (ac_try
="$ac_compile"
6685 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6686 *) ac_try_echo=$ac_try;;
6688 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6689 $as_echo "$ac_try_echo") >&5
6690 (eval "$ac_compile") 2>conftest.er1
6692 grep -v '^ *+' conftest.er1 >conftest.err
6694 cat conftest.err >&5
6695 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696 (exit $ac_status); } && {
6697 test -z "$ac_c_werror_flag" ||
6698 test ! -s conftest.err
6699 } && test -s conftest.$ac_objext; then
6700 ac_cv_member_struct_stat_st_blocks=yes
6702 $as_echo "$as_me: failed program was:" >&5
6703 sed 's/^/| /' conftest.$ac_ext >&5
6705 cat >conftest.$ac_ext <<_ACEOF
6708 cat confdefs.h >>conftest.$ac_ext
6709 cat >>conftest.$ac_ext <<_ACEOF
6710 /* end confdefs.h. */
6711 $ac_includes_default
6715 static struct stat ac_aggr;
6716 if (sizeof ac_aggr.st_blocks)
6722 rm -f conftest.$ac_objext
6723 if { (ac_try="$ac_compile"
6725 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6726 *) ac_try_echo
=$ac_try;;
6728 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6729 $as_echo "$ac_try_echo") >&5
6730 (eval "$ac_compile") 2>conftest.er1
6732 grep -v '^ *+' conftest.er1
>conftest.err
6734 cat conftest.err
>&5
6735 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6736 (exit $ac_status); } && {
6737 test -z "$ac_c_werror_flag" ||
6738 test ! -s conftest.err
6739 } && test -s conftest.
$ac_objext; then
6740 ac_cv_member_struct_stat_st_blocks
=yes
6742 $as_echo "$as_me: failed program was:" >&5
6743 sed 's/^/| /' conftest.
$ac_ext >&5
6745 ac_cv_member_struct_stat_st_blocks
=no
6748 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6751 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6753 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
6754 $as_echo "$ac_cv_member_struct_stat_st_blocks" >&6; }
6755 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then
6757 cat >>confdefs.h
<<_ACEOF
6758 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6762 cat >>confdefs.h
<<\_ACEOF
6763 #define HAVE_ST_BLOCKS 1
6767 case " $LIBOBJS " in
6768 *" fileblocks.$ac_objext "* ) ;;
6769 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6776 { $as_echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6777 $as_echo_n "checking for struct stat.st_rdev... " >&6; }
6778 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6779 $as_echo_n "(cached) " >&6
6781 cat >conftest.
$ac_ext <<_ACEOF
6784 cat confdefs.h
>>conftest.
$ac_ext
6785 cat >>conftest.
$ac_ext <<_ACEOF
6786 /* end confdefs.h. */
6787 $ac_includes_default
6791 static struct stat ac_aggr;
6792 if (ac_aggr.st_rdev)
6798 rm -f conftest.
$ac_objext
6799 if { (ac_try
="$ac_compile"
6801 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6802 *) ac_try_echo=$ac_try;;
6804 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6805 $as_echo "$ac_try_echo") >&5
6806 (eval "$ac_compile") 2>conftest.er1
6808 grep -v '^ *+' conftest.er1 >conftest.err
6810 cat conftest.err >&5
6811 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6812 (exit $ac_status); } && {
6813 test -z "$ac_c_werror_flag" ||
6814 test ! -s conftest.err
6815 } && test -s conftest.$ac_objext; then
6816 ac_cv_member_struct_stat_st_rdev=yes
6818 $as_echo "$as_me: failed program was:" >&5
6819 sed 's/^/| /' conftest.$ac_ext >&5
6821 cat >conftest.$ac_ext <<_ACEOF
6824 cat confdefs.h >>conftest.$ac_ext
6825 cat >>conftest.$ac_ext <<_ACEOF
6826 /* end confdefs.h. */
6827 $ac_includes_default
6831 static struct stat ac_aggr;
6832 if (sizeof ac_aggr.st_rdev)
6838 rm -f conftest.$ac_objext
6839 if { (ac_try="$ac_compile"
6841 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6842 *) ac_try_echo
=$ac_try;;
6844 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6845 $as_echo "$ac_try_echo") >&5
6846 (eval "$ac_compile") 2>conftest.er1
6848 grep -v '^ *+' conftest.er1
>conftest.err
6850 cat conftest.err
>&5
6851 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6852 (exit $ac_status); } && {
6853 test -z "$ac_c_werror_flag" ||
6854 test ! -s conftest.err
6855 } && test -s conftest.
$ac_objext; then
6856 ac_cv_member_struct_stat_st_rdev
=yes
6858 $as_echo "$as_me: failed program was:" >&5
6859 sed 's/^/| /' conftest.
$ac_ext >&5
6861 ac_cv_member_struct_stat_st_rdev
=no
6864 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6867 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6869 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
6870 $as_echo "$ac_cv_member_struct_stat_st_rdev" >&6; }
6871 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then
6873 cat >>confdefs.h
<<_ACEOF
6874 #define HAVE_STRUCT_STAT_ST_RDEV 1
6878 cat >>confdefs.h
<<\_ACEOF
6879 #define HAVE_ST_RDEV 1
6885 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6886 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6887 if test "${ac_cv_struct_tm+set}" = set; then
6888 $as_echo_n "(cached) " >&6
6890 cat >conftest.
$ac_ext <<_ACEOF
6893 cat confdefs.h
>>conftest.
$ac_ext
6894 cat >>conftest.
$ac_ext <<_ACEOF
6895 /* end confdefs.h. */
6896 #include <sys/types.h>
6903 int *p = &tm.tm_sec;
6909 rm -f conftest.
$ac_objext
6910 if { (ac_try
="$ac_compile"
6912 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6913 *) ac_try_echo=$ac_try;;
6915 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6916 $as_echo "$ac_try_echo") >&5
6917 (eval "$ac_compile") 2>conftest.er1
6919 grep -v '^ *+' conftest.er1 >conftest.err
6921 cat conftest.err >&5
6922 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6923 (exit $ac_status); } && {
6924 test -z "$ac_c_werror_flag" ||
6925 test ! -s conftest.err
6926 } && test -s conftest.$ac_objext; then
6927 ac_cv_struct_tm=time.h
6929 $as_echo "$as_me: failed program was:" >&5
6930 sed 's/^/| /' conftest.$ac_ext >&5
6932 ac_cv_struct_tm=sys/time.h
6935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6937 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6938 $as_echo "$ac_cv_struct_tm" >&6; }
6939 if test $ac_cv_struct_tm = sys/time.h; then
6941 cat >>confdefs.h <<\_ACEOF
6942 #define TM_IN_SYS_TIME 1
6947 { $as_echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
6948 $as_echo_n "checking for struct tm.tm_zone... " >&6; }
6949 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
6950 $as_echo_n "(cached) " >&6
6952 cat >conftest.$ac_ext <<_ACEOF
6955 cat confdefs.h >>conftest.$ac_ext
6956 cat >>conftest.$ac_ext <<_ACEOF
6957 /* end confdefs.h. */
6958 #include <sys/types.h>
6959 #include <$ac_cv_struct_tm>
6965 static struct tm ac_aggr;
6966 if (ac_aggr.tm_zone)
6972 rm -f conftest.$ac_objext
6973 if { (ac_try="$ac_compile"
6975 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6976 *) ac_try_echo
=$ac_try;;
6978 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6979 $as_echo "$ac_try_echo") >&5
6980 (eval "$ac_compile") 2>conftest.er1
6982 grep -v '^ *+' conftest.er1
>conftest.err
6984 cat conftest.err
>&5
6985 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6986 (exit $ac_status); } && {
6987 test -z "$ac_c_werror_flag" ||
6988 test ! -s conftest.err
6989 } && test -s conftest.
$ac_objext; then
6990 ac_cv_member_struct_tm_tm_zone
=yes
6992 $as_echo "$as_me: failed program was:" >&5
6993 sed 's/^/| /' conftest.
$ac_ext >&5
6995 cat >conftest.
$ac_ext <<_ACEOF
6998 cat confdefs.h
>>conftest.
$ac_ext
6999 cat >>conftest.
$ac_ext <<_ACEOF
7000 /* end confdefs.h. */
7001 #include <sys/types.h>
7002 #include <$ac_cv_struct_tm>
7008 static struct tm ac_aggr;
7009 if (sizeof ac_aggr.tm_zone)
7015 rm -f conftest.
$ac_objext
7016 if { (ac_try
="$ac_compile"
7018 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7019 *) ac_try_echo=$ac_try;;
7021 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7022 $as_echo "$ac_try_echo") >&5
7023 (eval "$ac_compile") 2>conftest.er1
7025 grep -v '^ *+' conftest.er1 >conftest.err
7027 cat conftest.err >&5
7028 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7029 (exit $ac_status); } && {
7030 test -z "$ac_c_werror_flag" ||
7031 test ! -s conftest.err
7032 } && test -s conftest.$ac_objext; then
7033 ac_cv_member_struct_tm_tm_zone=yes
7035 $as_echo "$as_me: failed program was:" >&5
7036 sed 's/^/| /' conftest.$ac_ext >&5
7038 ac_cv_member_struct_tm_tm_zone=no
7041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7046 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
7047 $as_echo "$ac_cv_member_struct_tm_tm_zone" >&6; }
7048 if test "x$ac_cv_member_struct_tm_tm_zone" = x""yes; then
7050 cat >>confdefs.h <<_ACEOF
7051 #define HAVE_STRUCT_TM_TM_ZONE 1
7057 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
7059 cat >>confdefs.h <<\_ACEOF
7060 #define HAVE_TM_ZONE 1
7064 { $as_echo "$as_me:$LINENO: checking whether tzname is declared" >&5
7065 $as_echo_n "checking whether tzname is declared... " >&6; }
7066 if test "${ac_cv_have_decl_tzname+set}" = set; then
7067 $as_echo_n "(cached) " >&6
7069 cat >conftest.$ac_ext <<_ACEOF
7072 cat confdefs.h >>conftest.$ac_ext
7073 cat >>conftest.$ac_ext <<_ACEOF
7074 /* end confdefs.h. */
7088 rm -f conftest.$ac_objext
7089 if { (ac_try="$ac_compile"
7091 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7092 *) ac_try_echo
=$ac_try;;
7094 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7095 $as_echo "$ac_try_echo") >&5
7096 (eval "$ac_compile") 2>conftest.er1
7098 grep -v '^ *+' conftest.er1
>conftest.err
7100 cat conftest.err
>&5
7101 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7102 (exit $ac_status); } && {
7103 test -z "$ac_c_werror_flag" ||
7104 test ! -s conftest.err
7105 } && test -s conftest.
$ac_objext; then
7106 ac_cv_have_decl_tzname
=yes
7108 $as_echo "$as_me: failed program was:" >&5
7109 sed 's/^/| /' conftest.
$ac_ext >&5
7111 ac_cv_have_decl_tzname
=no
7114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7116 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5
7117 $as_echo "$ac_cv_have_decl_tzname" >&6; }
7118 if test "x$ac_cv_have_decl_tzname" = x
""yes; then
7120 cat >>confdefs.h
<<_ACEOF
7121 #define HAVE_DECL_TZNAME 1
7126 cat >>confdefs.h
<<_ACEOF
7127 #define HAVE_DECL_TZNAME 0
7134 { $as_echo "$as_me:$LINENO: checking for tzname" >&5
7135 $as_echo_n "checking for tzname... " >&6; }
7136 if test "${ac_cv_var_tzname+set}" = set; then
7137 $as_echo_n "(cached) " >&6
7139 cat >conftest.
$ac_ext <<_ACEOF
7142 cat confdefs.h
>>conftest.
$ac_ext
7143 cat >>conftest.
$ac_ext <<_ACEOF
7144 /* end confdefs.h. */
7146 #if !HAVE_DECL_TZNAME
7147 extern char *tzname[];
7153 return tzname[0][0];
7158 rm -f conftest.
$ac_objext conftest
$ac_exeext
7159 if { (ac_try
="$ac_link"
7161 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7162 *) ac_try_echo=$ac_try;;
7164 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7165 $as_echo "$ac_try_echo") >&5
7166 (eval "$ac_link") 2>conftest.er1
7168 grep -v '^ *+' conftest.er1 >conftest.err
7170 cat conftest.err >&5
7171 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7172 (exit $ac_status); } && {
7173 test -z "$ac_c_werror_flag" ||
7174 test ! -s conftest.err
7175 } && test -s conftest$ac_exeext && {
7176 test "$cross_compiling" = yes ||
7177 $as_test_x conftest$ac_exeext
7179 ac_cv_var_tzname=yes
7181 $as_echo "$as_me: failed program was:" >&5
7182 sed 's/^/| /' conftest.$ac_ext >&5
7187 rm -rf conftest.dSYM
7188 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7189 conftest$ac_exeext conftest.$ac_ext
7191 { $as_echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
7192 $as_echo "$ac_cv_var_tzname" >&6; }
7193 if test $ac_cv_var_tzname = yes; then
7195 cat >>confdefs.h <<\_ACEOF
7196 #define HAVE_TZNAME 1
7202 { $as_echo "$as_me:$LINENO: checking for off_t" >&5
7203 $as_echo_n "checking for off_t... " >&6; }
7204 if test "${ac_cv_type_off_t+set}" = set; then
7205 $as_echo_n "(cached) " >&6
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
7224 rm -f conftest.$ac_objext
7225 if { (ac_try="$ac_compile"
7227 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7228 *) ac_try_echo
=$ac_try;;
7230 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7231 $as_echo "$ac_try_echo") >&5
7232 (eval "$ac_compile") 2>conftest.er1
7234 grep -v '^ *+' conftest.er1
>conftest.err
7236 cat conftest.err
>&5
7237 $as_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 cat >conftest.
$ac_ext <<_ACEOF
7245 cat confdefs.h
>>conftest.
$ac_ext
7246 cat >>conftest.
$ac_ext <<_ACEOF
7247 /* end confdefs.h. */
7248 $ac_includes_default
7252 if (sizeof ((off_t)))
7258 rm -f conftest.
$ac_objext
7259 if { (ac_try
="$ac_compile"
7261 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7262 *) ac_try_echo=$ac_try;;
7264 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7265 $as_echo "$ac_try_echo") >&5
7266 (eval "$ac_compile") 2>conftest.er1
7268 grep -v '^ *+' conftest.er1 >conftest.err
7270 cat conftest.err >&5
7271 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7272 (exit $ac_status); } && {
7273 test -z "$ac_c_werror_flag" ||
7274 test ! -s conftest.err
7275 } && test -s conftest.$ac_objext; then
7278 $as_echo "$as_me: failed program was:" >&5
7279 sed 's/^/| /' conftest.$ac_ext >&5
7281 ac_cv_type_off_t=yes
7284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7286 $as_echo "$as_me: failed program was:" >&5
7287 sed 's/^/| /' conftest.$ac_ext >&5
7292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7294 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
7295 $as_echo "$ac_cv_type_off_t" >&6; }
7296 if test "x$ac_cv_type_off_t" = x""yes; then
7300 cat >>confdefs.h <<_ACEOF
7301 #define off_t long int
7306 { $as_echo "$as_me:$LINENO: checking for pid_t" >&5
7307 $as_echo_n "checking for pid_t... " >&6; }
7308 if test "${ac_cv_type_pid_t+set}" = set; then
7309 $as_echo_n "(cached) " >&6
7312 cat >conftest.$ac_ext <<_ACEOF
7315 cat confdefs.h >>conftest.$ac_ext
7316 cat >>conftest.$ac_ext <<_ACEOF
7317 /* end confdefs.h. */
7318 $ac_includes_default
7328 rm -f conftest.$ac_objext
7329 if { (ac_try="$ac_compile"
7331 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7332 *) ac_try_echo
=$ac_try;;
7334 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7335 $as_echo "$ac_try_echo") >&5
7336 (eval "$ac_compile") 2>conftest.er1
7338 grep -v '^ *+' conftest.er1
>conftest.err
7340 cat conftest.err
>&5
7341 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7342 (exit $ac_status); } && {
7343 test -z "$ac_c_werror_flag" ||
7344 test ! -s conftest.err
7345 } && test -s conftest.
$ac_objext; then
7346 cat >conftest.
$ac_ext <<_ACEOF
7349 cat confdefs.h
>>conftest.
$ac_ext
7350 cat >>conftest.
$ac_ext <<_ACEOF
7351 /* end confdefs.h. */
7352 $ac_includes_default
7356 if (sizeof ((pid_t)))
7362 rm -f conftest.
$ac_objext
7363 if { (ac_try
="$ac_compile"
7365 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7366 *) ac_try_echo=$ac_try;;
7368 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7369 $as_echo "$ac_try_echo") >&5
7370 (eval "$ac_compile") 2>conftest.er1
7372 grep -v '^ *+' conftest.er1 >conftest.err
7374 cat conftest.err >&5
7375 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7376 (exit $ac_status); } && {
7377 test -z "$ac_c_werror_flag" ||
7378 test ! -s conftest.err
7379 } && test -s conftest.$ac_objext; then
7382 $as_echo "$as_me: failed program was:" >&5
7383 sed 's/^/| /' conftest.$ac_ext >&5
7385 ac_cv_type_pid_t=yes
7388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7390 $as_echo "$as_me: failed program was:" >&5
7391 sed 's/^/| /' conftest.$ac_ext >&5
7396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7398 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
7399 $as_echo "$ac_cv_type_pid_t" >&6; }
7400 if test "x$ac_cv_type_pid_t" = x""yes; then
7404 cat >>confdefs.h <<_ACEOF
7410 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
7411 $as_echo_n "checking for size_t... " >&6; }
7412 if test "${ac_cv_type_size_t+set}" = set; then
7413 $as_echo_n "(cached) " >&6
7415 ac_cv_type_size_t=no
7416 cat >conftest.$ac_ext <<_ACEOF
7419 cat confdefs.h >>conftest.$ac_ext
7420 cat >>conftest.$ac_ext <<_ACEOF
7421 /* end confdefs.h. */
7422 $ac_includes_default
7426 if (sizeof (size_t))
7432 rm -f conftest.$ac_objext
7433 if { (ac_try="$ac_compile"
7435 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7436 *) ac_try_echo
=$ac_try;;
7438 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7439 $as_echo "$ac_try_echo") >&5
7440 (eval "$ac_compile") 2>conftest.er1
7442 grep -v '^ *+' conftest.er1
>conftest.err
7444 cat conftest.err
>&5
7445 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7446 (exit $ac_status); } && {
7447 test -z "$ac_c_werror_flag" ||
7448 test ! -s conftest.err
7449 } && test -s conftest.
$ac_objext; then
7450 cat >conftest.
$ac_ext <<_ACEOF
7453 cat confdefs.h
>>conftest.
$ac_ext
7454 cat >>conftest.
$ac_ext <<_ACEOF
7455 /* end confdefs.h. */
7456 $ac_includes_default
7460 if (sizeof ((size_t)))
7466 rm -f conftest.
$ac_objext
7467 if { (ac_try
="$ac_compile"
7469 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7470 *) ac_try_echo=$ac_try;;
7472 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7473 $as_echo "$ac_try_echo") >&5
7474 (eval "$ac_compile") 2>conftest.er1
7476 grep -v '^ *+' conftest.er1 >conftest.err
7478 cat conftest.err >&5
7479 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7480 (exit $ac_status); } && {
7481 test -z "$ac_c_werror_flag" ||
7482 test ! -s conftest.err
7483 } && test -s conftest.$ac_objext; then
7486 $as_echo "$as_me: failed program was:" >&5
7487 sed 's/^/| /' conftest.$ac_ext >&5
7489 ac_cv_type_size_t=yes
7492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7494 $as_echo "$as_me: failed program was:" >&5
7495 sed 's/^/| /' conftest.$ac_ext >&5
7500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7502 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
7503 $as_echo "$ac_cv_type_size_t" >&6; }
7504 if test "x$ac_cv_type_size_t" = x""yes; then
7508 cat >>confdefs.h <<_ACEOF
7509 #define size_t unsigned int
7514 { $as_echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
7515 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
7516 if test "${ac_cv_type_uid_t+set}" = set; then
7517 $as_echo_n "(cached) " >&6
7519 cat >conftest.$ac_ext <<_ACEOF
7522 cat confdefs.h >>conftest.$ac_ext
7523 cat >>conftest.$ac_ext <<_ACEOF
7524 /* end confdefs.h. */
7525 #include <sys/types.h>
7528 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7529 $EGREP "uid_t" >/dev/null 2>&1; then
7530 ac_cv_type_uid_t=yes
7537 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
7538 $as_echo "$ac_cv_type_uid_t" >&6; }
7539 if test $ac_cv_type_uid_t = no; then
7541 cat >>confdefs.h <<\_ACEOF
7546 cat >>confdefs.h <<\_ACEOF
7553 { $as_echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
7554 $as_echo_n "checking for struct tm.tm_gmtoff... " >&6; }
7555 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
7556 $as_echo_n "(cached) " >&6
7558 cat >conftest.$ac_ext <<_ACEOF
7561 cat confdefs.h >>conftest.$ac_ext
7562 cat >>conftest.$ac_ext <<_ACEOF
7563 /* end confdefs.h. */
7564 $ac_includes_default
7568 static struct tm ac_aggr;
7569 if (ac_aggr.tm_gmtoff)
7575 rm -f conftest.$ac_objext
7576 if { (ac_try="$ac_compile"
7578 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7579 *) ac_try_echo
=$ac_try;;
7581 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7582 $as_echo "$ac_try_echo") >&5
7583 (eval "$ac_compile") 2>conftest.er1
7585 grep -v '^ *+' conftest.er1
>conftest.err
7587 cat conftest.err
>&5
7588 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7589 (exit $ac_status); } && {
7590 test -z "$ac_c_werror_flag" ||
7591 test ! -s conftest.err
7592 } && test -s conftest.
$ac_objext; then
7593 ac_cv_member_struct_tm_tm_gmtoff
=yes
7595 $as_echo "$as_me: failed program was:" >&5
7596 sed 's/^/| /' conftest.
$ac_ext >&5
7598 cat >conftest.
$ac_ext <<_ACEOF
7601 cat confdefs.h
>>conftest.
$ac_ext
7602 cat >>conftest.
$ac_ext <<_ACEOF
7603 /* end confdefs.h. */
7604 $ac_includes_default
7608 static struct tm ac_aggr;
7609 if (sizeof ac_aggr.tm_gmtoff)
7615 rm -f conftest.
$ac_objext
7616 if { (ac_try
="$ac_compile"
7618 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7619 *) ac_try_echo=$ac_try;;
7621 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7622 $as_echo "$ac_try_echo") >&5
7623 (eval "$ac_compile") 2>conftest.er1
7625 grep -v '^ *+' conftest.er1 >conftest.err
7627 cat conftest.err >&5
7628 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7629 (exit $ac_status); } && {
7630 test -z "$ac_c_werror_flag" ||
7631 test ! -s conftest.err
7632 } && test -s conftest.$ac_objext; then
7633 ac_cv_member_struct_tm_tm_gmtoff=yes
7635 $as_echo "$as_me: failed program was:" >&5
7636 sed 's/^/| /' conftest.$ac_ext >&5
7638 ac_cv_member_struct_tm_tm_gmtoff=no
7641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7646 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
7647 $as_echo "$ac_cv_member_struct_tm_tm_gmtoff" >&6; }
7648 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x""yes; then
7650 cat >>confdefs.h <<_ACEOF
7651 #define HAVE_STRUCT_TM_TM_GMTOFF 1
7658 # Look for some functions
7673 for ac_func in getpagesize kqueue statfs statvfs \
7674 clone kse_create rfork_thread thr_create sa_register \
7675 getcontext makecontext setcontext sigaltstack swapcontext
7677 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
7678 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
7679 $as_echo_n "checking for $ac_func... " >&6; }
7680 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7681 $as_echo_n "(cached) " >&6
7683 cat >conftest.$ac_ext <<_ACEOF
7686 cat confdefs.h >>conftest.$ac_ext
7687 cat >>conftest.$ac_ext <<_ACEOF
7688 /* end confdefs.h. */
7689 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7690 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7691 #define $ac_func innocuous_$ac_func
7693 /* System header to define __stub macros and hopefully few prototypes,
7694 which can conflict with char $ac_func (); below.
7695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7696 <limits.h> exists even on freestanding compilers. */
7699 # include <limits.h>
7701 # include <assert.h>
7706 /* Override any GCC internal prototype to avoid an error.
7707 Use char because int might match the return type of a GCC
7708 builtin and then its argument prototype would still apply. */
7713 /* The GNU C library defines this for functions which it implements
7714 to always fail with ENOSYS. Some functions are actually named
7715 something starting with __ and the normal name is an alias. */
7716 #if defined __stub_$ac_func || defined __stub___$ac_func
7728 rm -f conftest.$ac_objext conftest$ac_exeext
7729 if { (ac_try="$ac_link"
7731 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7732 *) ac_try_echo
=$ac_try;;
7734 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7735 $as_echo "$ac_try_echo") >&5
7736 (eval "$ac_link") 2>conftest.er1
7738 grep -v '^ *+' conftest.er1
>conftest.err
7740 cat conftest.err
>&5
7741 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7742 (exit $ac_status); } && {
7743 test -z "$ac_c_werror_flag" ||
7744 test ! -s conftest.err
7745 } && test -s conftest
$ac_exeext && {
7746 test "$cross_compiling" = yes ||
7747 $as_test_x conftest
$ac_exeext
7749 eval "$as_ac_var=yes"
7751 $as_echo "$as_me: failed program was:" >&5
7752 sed 's/^/| /' conftest.
$ac_ext >&5
7754 eval "$as_ac_var=no"
7757 rm -rf conftest.dSYM
7758 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7759 conftest
$ac_exeext conftest.
$ac_ext
7761 ac_res
=`eval 'as_val=${'$as_ac_var'}
7762 $as_echo "$as_val"'`
7763 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7764 $as_echo "$ac_res" >&6; }
7765 as_val
=`eval 'as_val=${'$as_ac_var'}
7766 $as_echo "$as_val"'`
7767 if test "x$as_val" = x
""yes; then
7768 cat >>confdefs.h
<<_ACEOF
7769 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7778 for ac_header
in stdlib.h unistd.h
7780 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7781 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7782 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7783 $as_echo_n "checking for $ac_header... " >&6; }
7784 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7785 $as_echo_n "(cached) " >&6
7787 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7788 $as_echo "$as_val"'`
7789 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7790 $as_echo "$ac_res" >&6; }
7792 # Is the header compilable?
7793 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7794 $as_echo_n "checking $ac_header usability... " >&6; }
7795 cat >conftest.
$ac_ext <<_ACEOF
7798 cat confdefs.h
>>conftest.
$ac_ext
7799 cat >>conftest.
$ac_ext <<_ACEOF
7800 /* end confdefs.h. */
7801 $ac_includes_default
7802 #include <$ac_header>
7804 rm -f conftest.
$ac_objext
7805 if { (ac_try
="$ac_compile"
7807 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7808 *) ac_try_echo=$ac_try;;
7810 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7811 $as_echo "$ac_try_echo") >&5
7812 (eval "$ac_compile") 2>conftest.er1
7814 grep -v '^ *+' conftest.er1 >conftest.err
7816 cat conftest.err >&5
7817 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7818 (exit $ac_status); } && {
7819 test -z "$ac_c_werror_flag" ||
7820 test ! -s conftest.err
7821 } && test -s conftest.$ac_objext; then
7822 ac_header_compiler=yes
7824 $as_echo "$as_me: failed program was:" >&5
7825 sed 's/^/| /' conftest.$ac_ext >&5
7827 ac_header_compiler=no
7830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7831 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7832 $as_echo "$ac_header_compiler" >&6; }
7834 # Is the header present?
7835 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7836 $as_echo_n "checking $ac_header presence... " >&6; }
7837 cat >conftest.$ac_ext <<_ACEOF
7840 cat confdefs.h >>conftest.$ac_ext
7841 cat >>conftest.$ac_ext <<_ACEOF
7842 /* end confdefs.h. */
7843 #include <$ac_header>
7845 if { (ac_try="$ac_cpp conftest.$ac_ext"
7847 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7848 *) ac_try_echo
=$ac_try;;
7850 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7851 $as_echo "$ac_try_echo") >&5
7852 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7854 grep -v '^ *+' conftest.er1
>conftest.err
7856 cat conftest.err
>&5
7857 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7858 (exit $ac_status); } >/dev
/null
&& {
7859 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7860 test ! -s conftest.err
7862 ac_header_preproc
=yes
7864 $as_echo "$as_me: failed program was:" >&5
7865 sed 's/^/| /' conftest.
$ac_ext >&5
7867 ac_header_preproc
=no
7870 rm -f conftest.err conftest.
$ac_ext
7871 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7872 $as_echo "$ac_header_preproc" >&6; }
7874 # So? What about this header?
7875 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7877 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7878 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7879 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7880 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7881 ac_header_preproc
=yes
7884 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7885 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7886 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7887 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7888 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7889 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7890 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7891 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7892 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7893 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7894 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7895 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7899 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7900 $as_echo_n "checking for $ac_header... " >&6; }
7901 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7902 $as_echo_n "(cached) " >&6
7904 eval "$as_ac_Header=\$ac_header_preproc"
7906 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7907 $as_echo "$as_val"'`
7908 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7909 $as_echo "$ac_res" >&6; }
7912 as_val
=`eval 'as_val=${'$as_ac_Header'}
7913 $as_echo "$as_val"'`
7914 if test "x$as_val" = x
""yes; then
7915 cat >>confdefs.h
<<_ACEOF
7916 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7924 for ac_func
in getpagesize
7926 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7927 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
7928 $as_echo_n "checking for $ac_func... " >&6; }
7929 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7930 $as_echo_n "(cached) " >&6
7932 cat >conftest.
$ac_ext <<_ACEOF
7935 cat confdefs.h
>>conftest.
$ac_ext
7936 cat >>conftest.
$ac_ext <<_ACEOF
7937 /* end confdefs.h. */
7938 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7940 #define $ac_func innocuous_$ac_func
7942 /* System header to define __stub macros and hopefully few prototypes,
7943 which can conflict with char $ac_func (); below.
7944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7945 <limits.h> exists even on freestanding compilers. */
7948 # include <limits.h>
7950 # include <assert.h>
7955 /* Override any GCC internal prototype to avoid an error.
7956 Use char because int might match the return type of a GCC
7957 builtin and then its argument prototype would still apply. */
7962 /* The GNU C library defines this for functions which it implements
7963 to always fail with ENOSYS. Some functions are actually named
7964 something starting with __ and the normal name is an alias. */
7965 #if defined __stub_$ac_func || defined __stub___$ac_func
7977 rm -f conftest.
$ac_objext conftest
$ac_exeext
7978 if { (ac_try
="$ac_link"
7980 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7981 *) ac_try_echo=$ac_try;;
7983 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7984 $as_echo "$ac_try_echo") >&5
7985 (eval "$ac_link") 2>conftest.er1
7987 grep -v '^ *+' conftest.er1 >conftest.err
7989 cat conftest.err >&5
7990 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7991 (exit $ac_status); } && {
7992 test -z "$ac_c_werror_flag" ||
7993 test ! -s conftest.err
7994 } && test -s conftest$ac_exeext && {
7995 test "$cross_compiling" = yes ||
7996 $as_test_x conftest$ac_exeext
7998 eval "$as_ac_var=yes"
8000 $as_echo "$as_me: failed program was:" >&5
8001 sed 's/^/| /' conftest.$ac_ext >&5
8003 eval "$as_ac_var=no"
8006 rm -rf conftest.dSYM
8007 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8008 conftest$ac_exeext conftest.$ac_ext
8010 ac_res=`eval 'as_val=${'$as_ac_var'}
8011 $as_echo "$as_val"'`
8012 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8013 $as_echo "$ac_res" >&6; }
8014 as_val=`eval 'as_val=${'$as_ac_var'}
8015 $as_echo "$as_val"'`
8016 if test "x$as_val" = x""yes; then
8017 cat >>confdefs.h <<_ACEOF
8018 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
8024 { $as_echo "$as_me:$LINENO: checking for working mmap" >&5
8025 $as_echo_n "checking for working mmap... " >&6; }
8026 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
8027 $as_echo_n "(cached) " >&6
8029 if test "$cross_compiling" = yes; then
8030 ac_cv_func_mmap_fixed_mapped=no
8032 cat >conftest.$ac_ext <<_ACEOF
8035 cat confdefs.h >>conftest.$ac_ext
8036 cat >>conftest.$ac_ext <<_ACEOF
8037 /* end confdefs.h. */
8038 $ac_includes_default
8039 /* malloc might have been renamed as rpl_malloc. */
8042 /* Thanks to Mike Haertel and Jim Avera for this test.
8043 Here is a matrix of mmap possibilities:
8044 mmap private not fixed
8045 mmap private fixed at somewhere currently unmapped
8046 mmap private fixed at somewhere already mapped
8047 mmap shared not fixed
8048 mmap shared fixed at somewhere currently unmapped
8049 mmap shared fixed at somewhere already mapped
8050 For private mappings, we should verify that changes cannot be read()
8051 back from the file, nor mmap's back from the file at a different
8052 address. (There have been systems where private was not correctly
8053 implemented like the infamous i386 svr4.0, and systems where the
8054 VM page cache was not coherent with the file system buffer cache
8055 like early versions of FreeBSD and possibly contemporary NetBSD.)
8056 For shared mappings, we should conversely verify that changes get
8057 propagated back to all the places they're supposed to be.
8059 Grep wants private fixed already mapped.
8060 The main things grep needs to know about mmap are:
8061 * does it exist and is it safe to write into the mmap'd area
8062 * how to use it (BSD variants) */
8065 #include <sys/mman.h>
8067 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
8071 /* This mess was copied from the GNU getpagesize.h. */
8072 #ifndef HAVE_GETPAGESIZE
8073 /* Assume that all systems that can run configure have sys/param.h. */
8074 # ifndef HAVE_SYS_PARAM_H
8075 # define HAVE_SYS_PARAM_H 1
8078 # ifdef _SC_PAGESIZE
8079 # define getpagesize() sysconf(_SC_PAGESIZE)
8080 # else /* no _SC_PAGESIZE */
8081 # ifdef HAVE_SYS_PARAM_H
8082 # include <sys/param.h>
8083 # ifdef EXEC_PAGESIZE
8084 # define getpagesize() EXEC_PAGESIZE
8085 # else /* no EXEC_PAGESIZE */
8087 # define getpagesize() NBPG * CLSIZE
8090 # endif /* no CLSIZE */
8091 # else /* no NBPG */
8093 # define getpagesize() NBPC
8094 # else /* no NBPC */
8096 # define getpagesize() PAGESIZE
8097 # endif /* PAGESIZE */
8098 # endif /* no NBPC */
8099 # endif /* no NBPG */
8100 # endif /* no EXEC_PAGESIZE */
8101 # else /* no HAVE_SYS_PARAM_H */
8102 # define getpagesize() 8192 /* punt totally */
8103 # endif /* no HAVE_SYS_PARAM_H */
8104 # endif /* no _SC_PAGESIZE */
8106 #endif /* no HAVE_GETPAGESIZE */
8111 char *data, *data2, *data3;
8115 pagesize = getpagesize ();
8117 /* First, make a file with some known garbage in it. */
8118 data = (char *) malloc (pagesize);
8121 for (i = 0; i < pagesize; ++i)
8122 *(data + i) = rand ();
8124 fd = creat ("conftest.mmap", 0600);
8127 if (write (fd, data, pagesize) != pagesize)
8131 /* Next, try to mmap the file at a fixed address which already has
8132 something else allocated at it. If we can, also make sure that
8133 we see the same garbage. */
8134 fd = open ("conftest.mmap", O_RDWR);
8137 data2 = (char *) malloc (2 * pagesize);
8140 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
8141 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
8142 MAP_PRIVATE | MAP_FIXED, fd, 0L))
8144 for (i = 0; i < pagesize; ++i)
8145 if (*(data + i) != *(data2 + i))
8148 /* Finally, make sure that changes to the mapped area do not
8149 percolate back to the file as seen by read(). (This is a bug on
8150 some variants of i386 svr4.0.) */
8151 for (i = 0; i < pagesize; ++i)
8152 *(data2 + i) = *(data2 + i) + 1;
8153 data3 = (char *) malloc (pagesize);
8156 if (read (fd, data3, pagesize) != pagesize)
8158 for (i = 0; i < pagesize; ++i)
8159 if (*(data + i) != *(data3 + i))
8165 rm -f conftest$ac_exeext
8166 if { (ac_try="$ac_link"
8168 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8169 *) ac_try_echo
=$ac_try;;
8171 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8172 $as_echo "$ac_try_echo") >&5
8173 (eval "$ac_link") 2>&5
8175 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8176 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8177 { (case "(($ac_try" in
8178 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8179 *) ac_try_echo=$ac_try;;
8181 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8182 $as_echo "$ac_try_echo") >&5
8183 (eval "$ac_try") 2>&5
8185 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8186 (exit $ac_status); }; }; then
8187 ac_cv_func_mmap_fixed_mapped=yes
8189 $as_echo "$as_me: program exited with status $ac_status" >&5
8190 $as_echo "$as_me: failed program was:" >&5
8191 sed 's/^/| /' conftest.$ac_ext >&5
8194 ac_cv_func_mmap_fixed_mapped=no
8196 rm -rf conftest.dSYM
8197 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8202 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
8203 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
8204 if test $ac_cv_func_mmap_fixed_mapped = yes; then
8206 cat >>confdefs.h <<\_ACEOF
8216 aros_config_cflags="-Wall -Werror-implicit-function-declaration"
8217 aros_config_aflags="-Wall -x assembler-with-cpp -c"
8218 aros_config_ldflags=""
8220 aros_shared_default=yes
8222 aros_shared_cflags="-fPIC"
8223 aros_shared_aflags=""
8224 aros_shared_ldflags="-Wl,-rpath,./lib -shared"
8225 aros_kernel_ldflags="-Wl,-rpath,./lib"
8227 aros_target_ar_flags="cr"
8228 aros_target_nm_flags="-C -ul"
8229 aros_target_strip_flags="--strip-unneeded -R.comment"
8234 aros_target_genmap="-Wl,-Map -Xlinker"
8236 # Native flavour stuff
8238 aros_serial_debug="0"
8240 # Palm native flavour stuff
8241 aros_palm_debug_hack="0"
8243 # Unix flavour stuff
8244 aros_nesting_supervisor="0"
8246 # Collect-aros stuff: "-ius" to ignore undefined symbols
8247 ignore_undefined_symbols=""
8249 #-----------------------------------------------------------------------------
8252 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
8253 # it switched on by default, and we use the host compiler, so it compiles AROS
8254 # code with this enabled resulting in link failures as we don't have support
8257 # We use two methods to disable it. For the host compiler (used to compile
8258 # some hosted modules), we test to see if the compiler supports stack
8259 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
8260 # work on all platforms.
8262 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
8263 # (this is done unconditionally, as it should have no effect on compilers
8264 # without the stack protection feature). This may be specific to the way that
8265 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
8266 # strong enough to disable it in a generic way though, so we'll live with it
8267 # until another vendor ships GCC with it enabled in a different way, and deal
8271 { $as_echo "$as_me:$LINENO: checking whether ${CC} accepts -fno-stack-protector" >&5
8272 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
8274 save_cflags="$CFLAGS"
8275 CFLAGS="$CFLAGS -fno-stack-protector"
8276 cat >conftest.$ac_ext <<_ACEOF
8279 cat confdefs.h >>conftest.$ac_ext
8280 cat >>conftest.$ac_ext <<_ACEOF
8281 /* end confdefs.h. */
8291 rm -f conftest.$ac_objext
8292 if { (ac_try="$ac_compile"
8294 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8295 *) ac_try_echo
=$ac_try;;
8297 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8298 $as_echo "$ac_try_echo") >&5
8299 (eval "$ac_compile") 2>conftest.er1
8301 grep -v '^ *+' conftest.er1
>conftest.err
8303 cat conftest.err
>&5
8304 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8305 (exit $ac_status); } && {
8306 test -z "$ac_c_werror_flag" ||
8307 test ! -s conftest.err
8308 } && test -s conftest.
$ac_objext; then
8309 use_no_stack_protector
="yes"
8311 $as_echo "$as_me: failed program was:" >&5
8312 sed 's/^/| /' conftest.
$ac_ext >&5
8314 use_no_stack_protector
="no"
8317 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8318 { $as_echo "$as_me:$LINENO: result: $use_no_stack_protector" >&5
8319 $as_echo "$use_no_stack_protector" >&6; }
8320 if test "x-$use_no_stack_protector" = "x-yes" ; then
8321 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
8323 if test "x-$cross_compiling" = "x-yes"; then
8324 CC
="$aros_kernel_cc"
8325 { $as_echo "$as_me:$LINENO: checking whether ${CC} accepts -fno-stack-protector" >&5
8326 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
8327 cat >conftest.
$ac_ext <<_ACEOF
8330 cat confdefs.h
>>conftest.
$ac_ext
8331 cat >>conftest.
$ac_ext <<_ACEOF
8332 /* end confdefs.h. */
8342 rm -f conftest.
$ac_objext
8343 if { (ac_try
="$ac_compile"
8345 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8346 *) ac_try_echo=$ac_try;;
8348 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8349 $as_echo "$ac_try_echo") >&5
8350 (eval "$ac_compile") 2>conftest.er1
8352 grep -v '^ *+' conftest.er1 >conftest.err
8354 cat conftest.err >&5
8355 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8356 (exit $ac_status); } && {
8357 test -z "$ac_c_werror_flag" ||
8358 test ! -s conftest.err
8359 } && test -s conftest.$ac_objext; then
8360 use_no_stack_protector="yes"
8362 $as_echo "$as_me: failed program was:" >&5
8363 sed 's/^/| /' conftest.$ac_ext >&5
8365 use_no_stack_protector="no"
8368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8369 { $as_echo "$as_me:$LINENO: result: $use_no_stack_protector" >&5
8370 $as_echo "$use_no_stack_protector" >&6; }
8372 if test "x-$use_no_stack_protector" = "x-yes" ; then
8373 aros_kernel_cflags="$aros_kernel_cflags -fno-stack-protector"
8376 CFLAGS="$save_cflags"
8379 #-----------------------------------------------------------------------------
8381 # Check if we can explicitly choose older version of symbol hashing
8383 save_cflags="$CFLAGS"
8384 CFLAGS="$CFLAGS -Wl,--hash-style=sysv"
8385 { $as_echo "$as_me:$LINENO: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
8386 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
8387 cat >conftest.$ac_ext <<_ACEOF
8390 cat confdefs.h >>conftest.$ac_ext
8391 cat >>conftest.$ac_ext <<_ACEOF
8392 /* end confdefs.h. */
8402 rm -f conftest.$ac_objext conftest$ac_exeext
8403 if { (ac_try="$ac_link"
8405 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8406 *) ac_try_echo
=$ac_try;;
8408 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8409 $as_echo "$ac_try_echo") >&5
8410 (eval "$ac_link") 2>conftest.er1
8412 grep -v '^ *+' conftest.er1
>conftest.err
8414 cat conftest.err
>&5
8415 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8416 (exit $ac_status); } && {
8417 test -z "$ac_c_werror_flag" ||
8418 test ! -s conftest.err
8419 } && test -s conftest
$ac_exeext && {
8420 test "$cross_compiling" = yes ||
8421 $as_test_x conftest
$ac_exeext
8423 use_hash_style
="yes"
8425 $as_echo "$as_me: failed program was:" >&5
8426 sed 's/^/| /' conftest.
$ac_ext >&5
8431 rm -rf conftest.dSYM
8432 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8433 conftest
$ac_exeext conftest.
$ac_ext
8434 { $as_echo "$as_me:$LINENO: result: $use_hash_style" >&5
8435 $as_echo "$use_hash_style" >&6; }
8436 if test "x-$use_hash_style" = "x-yes" ; then
8437 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
8439 CFLAGS
="$save_cflags"
8442 #-----------------------------------------------------------------------------
8444 # Disable pointer-signedness warnings if the compiler recognises the option
8445 # (this only works for the host compiler at the moment)
8447 { $as_echo "$as_me:$LINENO: checking whether ${CC} accepts -Wno-pointer-sign" >&5
8448 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
8449 save_cflags
="$CFLAGS"
8450 CFLAGS
="$CFLAGS -Wno-pointer-sign"
8451 cat >conftest.
$ac_ext <<_ACEOF
8454 cat confdefs.h
>>conftest.
$ac_ext
8455 cat >>conftest.
$ac_ext <<_ACEOF
8456 /* end confdefs.h. */
8466 rm -f conftest.
$ac_objext
8467 if { (ac_try
="$ac_compile"
8469 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8470 *) ac_try_echo=$ac_try;;
8472 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8473 $as_echo "$ac_try_echo") >&5
8474 (eval "$ac_compile") 2>conftest.er1
8476 grep -v '^ *+' conftest.er1 >conftest.err
8478 cat conftest.err >&5
8479 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8480 (exit $ac_status); } && {
8481 test -z "$ac_c_werror_flag" ||
8482 test ! -s conftest.err
8483 } && test -s conftest.$ac_objext; then
8484 use_no_sign_warning="yes"
8486 $as_echo "$as_me: failed program was:" >&5
8487 sed 's/^/| /' conftest.$ac_ext >&5
8489 use_no_sign_warning="no"
8492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8493 { $as_echo "$as_me:$LINENO: result: $use_no_sign_warning" >&5
8494 $as_echo "$use_no_sign_warning" >&6; }
8495 if test "x-$use_no_sign_warning" = "x-yes" ; then
8496 aros_host_cflags="$aros_host_cflags -Wno-pointer-sign"
8498 CFLAGS="$save_cflags"
8500 #-----------------------------------------------------------------------------
8502 { $as_echo "$as_me:$LINENO: checking for type of build" >&5
8503 $as_echo_n "checking for type of build... " >&6; }
8504 # Check whether --enable-build_type was given.
8505 if test "${enable_build_type+set}" = set; then
8506 enableval=$enable_build_type; build_type=$enableval
8508 build_type="personal"
8512 if test "$build_type" = "nightly"; then
8513 build_type_string="NIGHTLY"
8514 elif test "$build_type" = "snapshot"; then
8515 build_type_string="SNAPSHOT"
8516 elif test "$build_type" = "milestone"; then
8517 build_type_string="MILESTONE"
8518 elif test "$build_type" = "release"; then
8519 build_type_string="RELEASE"
8521 build_type_string="PERSONAL"
8522 build_type="personal"
8525 aros_config_cflags="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
8527 { $as_echo "$as_me:$LINENO: result: $build_type" >&5
8528 $as_echo "$build_type" >&6; }
8530 #-----------------------------------------------------------------------------
8531 all_debug_types="messages stack mungwall modules symbols"
8533 { $as_echo "$as_me:$LINENO: checking which debug types to enable" >&5
8534 $as_echo_n "checking which debug types to enable... " >&6; }
8535 # Check whether --enable-debug was given.
8536 if test "${enable_debug+set}" = set; then
8537 enableval=$enable_debug; debug="$enableval"
8543 if test "$debug" = "" -o "$debug" = "no"; then
8545 elif test "$debug" = "yes"; then
8549 if test "$debug" = "all" ; then
8550 debug=$all_debug_types
8551 for d in $all_debug_types; do
8552 export aros_${d}_debug="1"
8555 for d in $all_debug_types; do
8556 export aros_${d}_debug="0"
8560 if test "$debug" != "none"; then
8561 debug=`echo $debug |
sed s
/,/\
/g
`
8564 for d2 in $all_debug_types; do
8565 if test "$d2" = "$d"; then
8570 if test "$found" = "0"; then
8571 { { $as_echo "$as_me:$LINENO: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&5
8572 $as_echo "$as_me: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&2;}
8573 { (exit 1); exit 1; }; }
8575 export aros_${d}_debug="1"
8579 { $as_echo "$as_me:$LINENO: result: $debug" >&5
8580 $as_echo "$debug" >&6; }
8582 if test "$aros_messages_debug" = "1"; then
8583 aros_messages_debug="-DADEBUG=1 -DMDEBUG=1"
8585 aros_messages_debug=""
8587 if test "$aros_symbols_debug" = "1"; then
8588 aros_symbols_debug="-g"
8590 aros_symbols_debug=""
8593 # These are the flags to pass when compiling debugged programs
8594 aros_debug_cflags="$aros_symbols_debug $aros_messages_debug"
8595 aros_debug_aflags=""
8596 aros_debug_ldflags="$aros_symbols_debug"
8598 aros_crosstools="no"
8600 #-----------------------------------------------------------------------------
8601 # Checking if we should build crosstools..
8602 { $as_echo "$as_me:$LINENO: checking whether to build crosstools" >&5
8603 $as_echo_n "checking whether to build crosstools... " >&6; }
8604 # Check whether --enable-crosstools was given.
8605 if test "${enable_crosstools+set}" = set; then
8606 enableval=$enable_crosstools; crosstools="$enableval"
8611 if test "$crosstools" != "" -a "$crosstools" != "no"; then
8612 { $as_echo "$as_me:$LINENO: result: yes" >&5
8613 $as_echo "yes" >&6; }
8614 aros_crosstools="yes"
8616 { $as_echo "$as_me:$LINENO: result: no" >&5
8617 $as_echo "no" >&6; }
8620 #-----------------------------------------------------------------------------
8621 # Checking for distcc and ccache.
8623 # Always apply the transforms in this particular order. Basically you should
8624 # always run 'ccache distcc compiler' in that order for the best performance.
8626 { $as_echo "$as_me:$LINENO: checking whether to enable distcc" >&5
8627 $as_echo_n "checking whether to enable distcc... " >&6; }
8628 # Check whether --enable-distcc was given.
8629 if test "${enable_distcc+set}" = set; then
8630 enableval=$enable_distcc; distcc="$enableval"
8635 if test "$distcc" != "" -a "$distcc" != "no"; then
8636 # AC_CHECK_PROG will print out the result in this case
8637 # Extract the first word of "distcc", so it can be a program name with args.
8638 set dummy distcc; ac_word=$2
8639 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8640 $as_echo_n "checking for $ac_word... " >&6; }
8641 if test "${ac_cv_path_DISTCC+set}" = set; then
8642 $as_echo_n "(cached) " >&6
8646 ac_cv_path_DISTCC="$DISTCC" # Let the user override the test with a path.
8649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8653 test -z "$as_dir" && as_dir=.
8654 for ac_exec_ext in '' $ac_executable_extensions; do
8655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8656 ac_cv_path_DISTCC="$as_dir/$ac_word$ac_exec_ext"
8657 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8664 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC="distcc"
8668 DISTCC=$ac_cv_path_DISTCC
8669 if test -n "$DISTCC"; then
8670 { $as_echo "$as_me:$LINENO: result: $DISTCC" >&5
8671 $as_echo "$DISTCC" >&6; }
8673 { $as_echo "$as_me:$LINENO: result: no" >&5
8674 $as_echo "no" >&6; }
8679 { $as_echo "$as_me:$LINENO: result: no" >&5
8680 $as_echo "no" >&6; }
8683 { $as_echo "$as_me:$LINENO: checking whether to enable ccache" >&5
8684 $as_echo_n "checking whether to enable ccache... " >&6; }
8685 # Check whether --enable-ccache was given.
8686 if test "${enable_ccache+set}" = set; then
8687 enableval=$enable_ccache; ccache="$enableval"
8692 if test "$ccache" != "" -a "$ccache" != "no"; then
8693 # AC_CHECK_PROG will print out the result in this case
8694 # Extract the first word of "ccache", so it can be a program name with args.
8695 set dummy ccache; ac_word=$2
8696 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8697 $as_echo_n "checking for $ac_word... " >&6; }
8698 if test "${ac_cv_prog_CCACHE+set}" = set; then
8699 $as_echo_n "(cached) " >&6
8701 if test -n "$CCACHE"; then
8702 ac_cv_prog_CCACHE="$CCACHE" # Let the user override the test.
8704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8708 test -z "$as_dir" && as_dir=.
8709 for ac_exec_ext in '' $ac_executable_extensions; do
8710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8711 ac_cv_prog_CCACHE="ccache"
8712 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8721 CCACHE=$ac_cv_prog_CCACHE
8722 if test -n "$CCACHE"; then
8723 { $as_echo "$as_me:$LINENO: result: $CCACHE" >&5
8724 $as_echo "$CCACHE" >&6; }
8726 { $as_echo "$as_me:$LINENO: result: no" >&5
8727 $as_echo "no" >&6; }
8732 { $as_echo "$as_me:$LINENO: result: no" >&5
8733 $as_echo "no" >&6; }
8736 #-----------------------------------------------------------------------------
8737 { $as_echo "$as_me:$LINENO: checking what optimization flags to use" >&5
8738 $as_echo_n "checking what optimization flags to use... " >&6; }
8740 # Check whether --with-optimization was given.
8741 if test "${with_optimization+set}" = set; then
8742 withval=$with_optimization; optimization="$withval"
8744 optimization="unknown"
8747 if test "$optimization" = "unknown"; then
8748 if test "$debug" != "none"; then
8754 aros_config_cflags="$aros_config_cflags $optimization"
8755 { $as_echo "$as_me:$LINENO: result: $optimization" >&5
8756 $as_echo "$optimization" >&6; }
8758 #-----------------------------------------------------------------------------
8759 { $as_echo "$as_me:$LINENO: checking what target variant to enable" >&5
8760 $as_echo_n "checking what target variant to enable... " >&6; }
8761 # Check whether --enable-target_variant was given.
8762 if test "${enable_target_variant+set}" = set; then
8763 enableval=$enable_target_variant; target_variant=$enableval
8765 target_variant="none"
8768 if test "$target_variant" = "none"; then
8769 aros_target_variant=""
8770 aros_target_suffix=""
8772 aros_target_variant="$target_variant"
8773 aros_target_suffix="-$target_variant"
8775 { $as_echo "$as_me:$LINENO: result: $enableval" >&5
8776 $as_echo "$enableval" >&6; }
8778 target_bootloader="none"
8780 #-----------------------------------------------------------------------------
8781 # This is the target configuration switch.
8782 case "$target_os" in
8784 aros_target_arch="linux"
8785 case "$target_cpu" in
8787 aros_target_cpu="m68k"
8788 aros_object_format="m68kelf"
8789 aros_flavour="emulcompat"
8790 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
8791 aros_shared_ldflags="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
8792 aros_kernel_ldflags="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
8793 gcc_target_cpu="mc68000"
8796 aros_target_cpu="i386"
8797 aros_object_format="elf_i386"
8798 aros_flavour="emulation"
8799 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
8800 aros_config_cflags="$aros_config_cflags -m32"
8801 aros_kernel_cflags="$aros_kernel_cflags -m32"
8802 aros_config_aflags="$aros_config_aflags -m32"
8803 aros_config_ldflags="-m32"
8804 aros_kernel_ldflags="-melf_i386"
8805 aros_default_wbdepth=8
8806 gcc_target_cpu="i386"
8809 aros_target_cpu="x86_64"
8810 aros_object_format="elf_x86_64"
8811 aros_flavour="emulation"
8812 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
8813 aros_config_cflags="$aros_config_cflags -mno-red-zone"
8814 aros_default_wbdepth=8
8815 gcc_target_cpu="x86_64"
8818 aros_target_cpu="ppc"
8819 aros_object_format="elf32ppc"
8820 aros_flavour="emulation"
8821 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8822 aros_default_wbdepth=8
8823 gcc_target_cpu="ppc"
8826 # Same as powerpc, but I need this for the nightly build to work again.
8827 # Actually, the nightly should be made working with powerpc target.
8828 # That just was too much work for the moment, another week or two.
8830 aros_target_cpu="ppc"
8831 aros_object_format="elf32ppc"
8832 aros_flavour="emulation"
8833 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8834 aros_default_wbdepth=8
8835 gcc_target_cpu="ppc"
8838 { { $as_echo "$as_me:$LINENO: error: \"Unknown CPU for Linux -- $target_cpu\"" >&5
8839 $as_echo "$as_me: error: \"Unknown CPU for Linux -- $target_cpu\"" >&2;}
8840 { (exit 1); exit 1; }; }
8846 aros_target_arch="pc"
8847 aros_shared_default="no"
8848 target_bootloader="grub2"
8849 case "$target_cpu" in
8851 aros_target_cpu="i386"
8854 if test "$aros_object_format" = "" ; then
8855 aros_object_format="elf_i386"
8857 aros_flavour="standalone"
8858 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386"
8859 aros_config_cflags="$aros_config_cflags -m32"
8860 aros_kernel_cflags="$aros_kernel_cflags -m32"
8861 aros_config_aflags="$aros_config_aflags -m32"
8862 aros_config_ldflags="-m32"
8863 aros_kernel_ldflags="-melf_i386"
8864 aros_default_wbwidth=640
8865 aros_default_wbheight=480
8866 gcc_target_cpu="i386"
8869 aros_target_cpu="x86_64"
8871 if test "$aros_object_format" = "" ; then
8872 aros_object_format="elf_x86_64"
8874 aros_flavour="standalone"
8875 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8876 aros_config_cflags="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone"
8877 aros_kernel_ldflags=""
8878 aros_default_wbwidth=640
8879 aros_default_wbheight=480
8880 gcc_target_cpu="x86_64"
8883 { { $as_echo "$as_me:$LINENO: error: \"Unknown native CPU -- $target_cpu\"" >&5
8884 $as_echo "$as_me: error: \"Unknown native CPU -- $target_cpu\"" >&2;}
8885 { (exit 1); exit 1; }; }
8891 aros_target_arch="prep"
8892 aros_shared_default="no"
8893 aros_target_cpu="ppc"
8894 aros_object_format="elf32ppc"
8895 aros_flavour="ppcnative"
8896 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc"
8897 aros_kernel_ldflags=""
8898 aros_default_wbwidth=640
8899 aros_default_wbheight=480
8900 gcc_target_cpu="ppc"
8904 aros_target_arch="freebsd"
8905 aros_target_cpu="i386"
8906 aros_flavour="emulation"
8907 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386"
8908 gcc_target_cpu="i386"
8910 aros_target_strip_flags="-x"
8914 aros_target_arch="darwin"
8915 aros_flavour="emulation"
8917 case "$target_cpu" in
8919 aros_target_cpu="i386"
8920 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386"
8921 gcc_target_cpu="i386"
8922 aros_object_format="elf_i386"
8923 aros_target_strip_flags="-x"
8926 { { $as_echo "$as_me:$LINENO: error: \"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" >&5
8927 $as_echo "$as_me: error: \"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" >&2;}
8928 { (exit 1); exit 1; }; }
8934 aros_target_arch="dragonfly"
8935 aros_flavour="emulation"
8936 case "$target_cpu" in
8938 aros_target_cpu="i386"
8939 aros_object_format="elf_i386"
8940 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
8943 aros_target_cpu="x86_64"
8944 aros_object_format="elf_x86_64"
8945 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
8948 { { $as_echo "$as_me:$LINENO: error: \"Unknown CPU for DragonFly -- $target_cpu\"" >&5
8949 $as_echo "$as_me: error: \"Unknown CPU for DragonFly -- $target_cpu\"" >&2;}
8950 { (exit 1); exit 1; }; }
8956 aros_target_arch="netbsd"
8957 case "$target_cpu" in
8959 aros_target_cpu="m68k"
8960 aros_object_format="m68kelf"
8961 aros_flavour="emulcompat"
8962 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8963 gcc_target_cpu="mc68000"
8966 aros_target_cpu="i386"
8967 aros_object_format="elf_i386"
8968 aros_flavour="emulation"
8969 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8970 aros_default_wbdepth=8
8971 gcc_target_cpu="i386"
8974 { { $as_echo "$as_me:$LINENO: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&5
8975 $as_echo "$as_me: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&2;}
8976 { (exit 1); exit 1; }; }
8979 aros_target_genmap="-Wl,-M -Xlinker >"
8980 aros_flavour="emulation"
8981 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386"
8985 aros_target_arch="openbsd"
8986 case "$target_cpu" in
8988 aros_target_cpu="i386"
8989 aros_object_format="elf_i386"
8990 aros_flavour="emulation"
8991 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8992 gcc_target_cpu="i386"
8995 { { $as_echo "$as_me:$LINENO: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&5
8996 $as_echo "$as_me: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&2;}
8997 { (exit 1); exit 1; }; }
9000 aros_target_genmap="-Wl,-M -Xlinker >"
9001 aros_target_nm_flags="-u"
9002 aros_flavour="emulation"
9006 aros_target_arch="solaris"
9007 case "$target_cpu" in
9009 aros_target_cpu="i386"
9010 aros_object_format="elf_i386"
9011 aros_flavour="emulation"
9012 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
9013 aros_default_wbdepth=8
9014 gcc_target_cpu="i386"
9017 aros_target_cpu="sparc"
9018 aros_object_format="elf_sparc"
9019 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
9020 gcc_target_cpu="sparc"
9023 { { $as_echo "$as_me:$LINENO: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&5
9024 $as_echo "$as_me: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&2;}
9025 { (exit 1); exit 1; }; }
9028 aros_config_cflags="$aros_config_cflags -D$aros_target_cpu"
9029 aros_flavour="emulation"
9033 aros_target_arch="morphos"
9034 aros_shared_default="no"
9035 aros_target_cpu="ppc"
9036 aros_object_format="elf_ppc"
9037 aros_flavour="nativecompat"
9038 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc"
9039 gcc_target_cpu="ppc"
9043 aros_target_arch="sam440"
9044 aros_shared_default="no"
9045 aros_target_cpu="ppc"
9046 aros_object_format="elf32ppc"
9047 aros_flavour="ppcnative"
9048 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc"
9049 aros_kernel_ldflags=""
9050 aros_default_wbwidth=640
9051 aros_default_wbheight=480
9052 aros_config_cflags="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
9053 gcc_target_cpu="powerpc"
9057 aros_target_arch="efika"
9058 aros_shared_default="no"
9059 aros_target_cpu="arm"
9060 aros_object_format="armelf_linux_eabi"
9061 aros_flavour="standalone"
9062 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Darm"
9063 aros_kernel_ldflags=""
9064 aros_default_wbwidth=1024
9065 aros_default_wbheight=600
9066 aros_arch_libs="-laeabi"
9067 aros_config_cflags="$aros_config_cflags -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
9068 aros_config_aflags="$aros_config_aflags -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
9072 aros_target_arch="chrp"
9073 aros_shared_default="no"
9074 aros_target_cpu="ppc"
9075 aros_object_format="elf32ppc"
9076 aros_flavour="ppcnative"
9077 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc"
9078 aros_kernel_ldflags=""
9079 aros_default_wbwidth=640
9080 aros_default_wbheight=480
9081 aros_config_cflags="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
9082 gcc_target_cpu="powerpc"
9083 case "$aros_target_variant" in
9085 aros_config_cflags="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
9091 aros_target_arch="amiga"
9092 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
9093 aros_shared_default="no"
9095 aros_config_cflags="$aros_config_cflags -fomit-frame-pointer -fbuiltin -ffreestanding"
9097 case "$target_cpu" in
9099 aros_target_cpu="m68k"
9100 aros_object_format="m68kelf"
9101 aros_flavour="nativecompat"
9102 gcc_target_cpu="mc68000"
9106 aros_flavour="native"
9107 gcc_target_cpu="ppc"
9110 { { $as_echo "$as_me:$LINENO: error: \"Unknown CPU for Amiga $target_cpu\"" >&5
9111 $as_echo "$as_me: error: \"Unknown CPU for Amiga $target_cpu\"" >&2;}
9112 { (exit 1); exit 1; }; }
9118 aros_target_arch="mingw32"
9119 aros_shared_default="no"
9122 case "$target_cpu" in
9124 aros_target_cpu="i386"
9125 aros_object_format="elf_i386"
9126 aros_flavour="emulation"
9127 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386"
9128 aros_shared_cflags=""
9129 aros_default_wbdepth=8
9130 gcc_target_cpu="i386"
9131 aros_target_cc="i386-aros-gcc"
9132 aros_target_ld="i386-aros-ld"
9133 aros_target_as="i386-aros-as"
9134 aros_target_ar="i386-aros-ar"
9135 aros_target_ranlib="i386-aros-ranlib"
9136 aros_target_nm="i386-aros-nm"
9137 aros_target_strip="i386-aros-strip"
9138 aros_target_objcopy="i386-aros-objcopy"
9139 aros_target_objdump="i386-aros-objdump"
9140 target_tool_prefix="i386-mingw32-"
9143 { { $as_echo "$as_me:$LINENO: error: \"Unknown CPU for Mingw32 -- $target_cpu\"" >&5
9144 $as_echo "$as_me: error: \"Unknown CPU for Mingw32 -- $target_cpu\"" >&2;}
9145 { (exit 1); exit 1; }; }
9148 if test $host_os = "cygwin"; then
9149 aros_kernel_cflags="-mno-cygwin"
9153 aros_target_arch="pp"
9154 aros_shared_default="no"
9155 case "$target_cpu" in
9157 aros_target_cpu="m68k"
9158 aros_object_format="m68kelf"
9159 aros_flavour="palmnative"
9160 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dm68k"
9161 aros_default_wbwidth=160
9162 aros_default_wbheight=160
9163 aros_default_wbdepth=1
9164 aros_target_ar_flags="cru"
9165 aros_compiler_libs="-lgcc1"
9166 aros_shared_default=no
9167 aros_shared_cflags="-fpic"
9168 aros_shared_aflags=""
9169 aros_shared_ldflags="-Wl,-rpath,./lib -shared"
9170 aros_kernel_ldflags="-Wl,-rpath,./lib"
9171 aros_debug_cflags="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
9172 aros_debug_aflags=""
9173 aros_debug_ldflags="$aros_symbols_debug"
9174 aros_mungwall_debug="0"
9175 aros_modules_debug="0"
9176 gcc_target_cpu="mc68000"
9177 ignore_undefined_symbols="-ius"
9180 { { $as_echo "$as_me:$LINENO: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&5
9181 $as_echo "$as_me: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&2;}
9182 { (exit 1); exit 1; }; }
9188 aros_target_arch="mac"
9189 aros_shared_default="no"
9190 case "$target_cpu" in
9192 aros_target_cpu="m68k"
9193 aros_object_format="m68kelf"
9194 aros_flavour="mac68knative"
9195 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dm68k"
9196 aros_default_wbwidth=512
9197 aros_default_wbheight=384
9198 aros_default_wbdepth=8
9199 aros_target_ar_flags="cru"
9200 aros_compiler_libs="-lgcc1"
9201 aros_shared_default=no
9202 aros_shared_cflags="-fpic"
9203 aros_shared_aflags=""
9204 aros_shared_ldflags="-Wl,-rpath,./lib -shared"
9205 aros_kernel_ldflags="-Wl,-rpath,./lib"
9206 aros_debug_cflags="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000"
9207 aros_debug_aflags=""
9208 aros_debug_ldflags="$aros_symbols_debug"
9209 aros_mungwall_debug="0"
9210 aros_modules_debug="0"
9211 gcc_target_cpu="mc68000"
9212 ignore_undefined_symbols="-ius"
9215 { { $as_echo "$as_me:$LINENO: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&5
9216 $as_echo "$as_me: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&2;}
9217 { (exit 1); exit 1; }; }
9223 { { $as_echo "$as_me:$LINENO: error: Unsupported target architecture $target" >&5
9224 $as_echo "$as_me: error: Unsupported target architecture $target" >&2;}
9225 { (exit 1); exit 1; }; }
9229 { $as_echo "$as_me:$LINENO: checking Where to download sourcecode for external ports" >&5
9230 $as_echo_n "checking Where to download sourcecode for external ports... " >&6; }
9232 # Check whether --with-portssources was given.
9233 if test "${with_portssources+set}" = set; then
9234 withval=$with_portssources; with_portssrcdir=$withval
9236 with_portssrcdir="default"
9239 if test "$with_portssrcdir" = "default"; then
9240 AROS_PORTSSRCDIR="$AROS_BUILDDIR/bin/Sources"
9242 AROS_PORTSSRCDIR="$with_portssrcdir"
9244 { $as_echo "$as_me:$LINENO: result: $AROS_PORTSSRCDIR" >&5
9245 $as_echo "$AROS_PORTSSRCDIR" >&6; }
9247 { $as_echo "$as_me:$LINENO: checking which bootloader to use" >&5
9248 $as_echo_n "checking which bootloader to use... " >&6; }
9250 # Check whether --with-bootloader was given.
9251 if test "${with_bootloader+set}" = set; then
9252 withval=$with_bootloader; target_bootloader=$withval
9254 target_bootloader=$target_bootloader
9257 if test "$target_bootloader" = "none"; then
9258 aros_target_bootloader=""
9260 aros_target_bootloader="$target_bootloader"
9262 { $as_echo "$as_me:$LINENO: result: $target_bootloader" >&5
9263 $as_echo "$target_bootloader" >&6; }
9265 { $as_echo "$as_me:$LINENO: checking which icon-set to use" >&5
9266 $as_echo_n "checking which icon-set to use... " >&6; }
9268 # Check whether --with-iconset was given.
9269 if test "${with_iconset+set}" = set; then
9270 withval=$with_iconset; target_iconset=$withval
9272 target_iconset="default"
9275 if test "$target_iconset" = "default"; then
9276 aros_target_iconset="Gorilla"
9277 target_iconset="default (Gorilla)"
9279 aros_target_iconset="$target_iconset"
9281 { $as_echo "$as_me:$LINENO: result: $target_iconset" >&5
9282 $as_echo "$target_iconset" >&6; }
9284 { $as_echo "$as_me:$LINENO: checking which GUI Theme to use" >&5
9285 $as_echo_n "checking which GUI Theme to use... " >&6; }
9287 # Check whether --with-theme was given.
9288 if test "${with_theme+set}" = set; then
9289 withval=$with_theme; target_guitheme=$withval
9291 target_guitheme="default"
9294 if test "$target_guitheme" = "default"; then
9295 aros_target_guitheme="Ice"
9297 aros_target_guitheme="$target_guitheme"
9299 { $as_echo "$as_me:$LINENO: result: $aros_target_guitheme" >&5
9300 $as_echo "$aros_target_guitheme" >&6; }
9302 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
9305 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
9308 if test "$aros_host_cpu" == "x86_64" ; then
9309 if test "$aros_target_cpu" == "i386" ; then
9313 if test "$aros_host_arch" == "darwin" ; then
9317 # Set prefix for target compiler etc. if we're cross-compiling
9318 # (should possibly be earlier but needs to be after AC_PROG_CC)
9319 if test "$cross_compiling" = "yes" ; then
9320 if test "$target_tool_prefix" = ""; then
9321 target_tool_prefix=${target_cpu}-elf-
9323 CC=${target_tool_prefix}gcc
9326 #-----------------------------------------------------------------------------
9328 # Disable pointer-signedness warnings if the compiler recognises the option
9330 { $as_echo "$as_me:$LINENO: checking whether ${CC} accepts -Wno-pointer-sign" >&5
9331 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
9332 save_cflags="$CFLAGS"
9333 CFLAGS="$CFLAGS -Wno-pointer-sign"
9334 cat >conftest.$ac_ext <<_ACEOF
9337 cat confdefs.h >>conftest.$ac_ext
9338 cat >>conftest.$ac_ext <<_ACEOF
9339 /* end confdefs.h. */
9349 rm -f conftest.$ac_objext
9350 if { (ac_try="$ac_compile"
9352 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9353 *) ac_try_echo
=$ac_try;;
9355 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9356 $as_echo "$ac_try_echo") >&5
9357 (eval "$ac_compile") 2>conftest.er1
9359 grep -v '^ *+' conftest.er1
>conftest.err
9361 cat conftest.err
>&5
9362 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9363 (exit $ac_status); } && {
9364 test -z "$ac_c_werror_flag" ||
9365 test ! -s conftest.err
9366 } && test -s conftest.
$ac_objext; then
9367 use_no_sign_warning
="yes"
9369 $as_echo "$as_me: failed program was:" >&5
9370 sed 's/^/| /' conftest.
$ac_ext >&5
9372 use_no_sign_warning
="no"
9375 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9376 { $as_echo "$as_me:$LINENO: result: $use_no_sign_warning" >&5
9377 $as_echo "$use_no_sign_warning" >&6; }
9378 if test "x-$use_no_sign_warning" = "x-yes" ; then
9379 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
9381 CFLAGS
="$save_cflags"
9383 #-----------------------------------------------------------------------------
9385 # Find all the tools we need to compile. This could be cross-compiling
9386 # though! If that is the case we use the GNU form of the target and
9387 # simply add this to the front of the binary name. This is rather simple,
9388 # but it should work under most circumstances.
9390 # The default tools are to use the same as the host, but only if the
9391 # host and target CPU are the same. With GCC this is normally enough.
9395 aros_shared_ld
="$aros_host_ld"
9397 aros_target_mkdep
="$aros_host_mkdep"
9398 aros_target_incl_def
="$aros_host_incl"
9400 # Extract the first word of "$CC", so it can be a program name with args.
9401 set dummy
$CC; ac_word
=$2
9402 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9403 $as_echo_n "checking for $ac_word... " >&6; }
9404 if test "${ac_cv_path_aros_kernel_cc+set}" = set; then
9405 $as_echo_n "(cached) " >&6
9407 case $aros_kernel_cc in
9409 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9416 test -z "$as_dir" && as_dir
=.
9417 for ac_exec_ext
in '' $ac_executable_extensions; do
9418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9419 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9420 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9430 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9431 if test -n "$aros_kernel_cc"; then
9432 { $as_echo "$as_me:$LINENO: result: $aros_kernel_cc" >&5
9433 $as_echo "$aros_kernel_cc" >&6; }
9435 { $as_echo "$as_me:$LINENO: result: no" >&5
9436 $as_echo "no" >&6; }
9441 # The default tools executables to be linked to.
9442 if test "$aros_target_cc" != ""; then
9443 # Extract the first word of "$aros_target_cc", so it can be a program name with args.
9444 set dummy
$aros_target_cc; ac_word
=$2
9445 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9446 $as_echo_n "checking for $ac_word... " >&6; }
9447 if test "${ac_cv_path_aros_target_cc+set}" = set; then
9448 $as_echo_n "(cached) " >&6
9450 case $aros_target_cc in
9452 ac_cv_path_aros_target_cc
="$aros_target_cc" # Let the user override the test with a path.
9455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9459 test -z "$as_dir" && as_dir
=.
9460 for ac_exec_ext
in '' $ac_executable_extensions; do
9461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9462 ac_cv_path_aros_target_cc
="$as_dir/$ac_word$ac_exec_ext"
9463 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9473 aros_target_cc
=$ac_cv_path_aros_target_cc
9474 if test -n "$aros_target_cc"; then
9475 { $as_echo "$as_me:$LINENO: result: $aros_target_cc" >&5
9476 $as_echo "$aros_target_cc" >&6; }
9478 { $as_echo "$as_me:$LINENO: result: no" >&5
9479 $as_echo "no" >&6; }
9483 if test "$aros_target_cc" = ""; then
9484 { { $as_echo "$as_me:$LINENO: error: gcc is required to build AROS. Please install and run configure again." >&5
9485 $as_echo "$as_me: error: gcc is required to build AROS. Please install and run configure again." >&2;}
9486 { (exit 1); exit 1; }; }
9489 if test "$aros_target_ld" != ""; then
9490 # Extract the first word of "$aros_target_ld", so it can be a program name with args.
9491 set dummy
$aros_target_ld; ac_word
=$2
9492 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9493 $as_echo_n "checking for $ac_word... " >&6; }
9494 if test "${ac_cv_path_aros_target_ld+set}" = set; then
9495 $as_echo_n "(cached) " >&6
9497 case $aros_target_ld in
9499 ac_cv_path_aros_target_ld
="$aros_target_ld" # Let the user override the test with a path.
9502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9506 test -z "$as_dir" && as_dir
=.
9507 for ac_exec_ext
in '' $ac_executable_extensions; do
9508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9509 ac_cv_path_aros_target_ld
="$as_dir/$ac_word$ac_exec_ext"
9510 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9520 aros_target_ld
=$ac_cv_path_aros_target_ld
9521 if test -n "$aros_target_ld"; then
9522 { $as_echo "$as_me:$LINENO: result: $aros_target_ld" >&5
9523 $as_echo "$aros_target_ld" >&6; }
9525 { $as_echo "$as_me:$LINENO: result: no" >&5
9526 $as_echo "no" >&6; }
9530 if test "$aros_target_ld" = ""; then
9531 { { $as_echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
9532 $as_echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
9533 { (exit 1); exit 1; }; }
9537 if test "$crosstools" != "yes"; then
9539 if test "$aros_target_as" = ""; then
9540 if test "$cross_compiling" = "yes" ; then
9541 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
9542 set dummy
${target_tool_prefix}as
; ac_word
=$2
9543 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9544 $as_echo_n "checking for $ac_word... " >&6; }
9545 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9546 $as_echo_n "(cached) " >&6
9548 case $aros_target_as_ln in
9550 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
9553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9557 test -z "$as_dir" && as_dir
=.
9558 for ac_exec_ext
in '' $ac_executable_extensions; do
9559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9560 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
9561 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9571 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
9572 if test -n "$aros_target_as_ln"; then
9573 { $as_echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9574 $as_echo "$aros_target_as_ln" >&6; }
9576 { $as_echo "$as_me:$LINENO: result: no" >&5
9577 $as_echo "no" >&6; }
9582 if test "$GCC" = "yes"; then
9583 aros_gcc_as
=`$CC -print-prog-name=as`
9584 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
9585 set dummy
`basename $aros_gcc_as`; ac_word
=$2
9586 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9587 $as_echo_n "checking for $ac_word... " >&6; }
9588 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9589 $as_echo_n "(cached) " >&6
9591 case $aros_target_as_ln in
9593 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
9596 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9597 for as_dir
in `dirname $aros_gcc_as`
9600 test -z "$as_dir" && as_dir
=.
9601 for ac_exec_ext
in '' $ac_executable_extensions; do
9602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9603 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
9604 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9614 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
9615 if test -n "$aros_target_as_ln"; then
9616 { $as_echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9617 $as_echo "$aros_target_as_ln" >&6; }
9619 { $as_echo "$as_me:$LINENO: result: no" >&5
9620 $as_echo "no" >&6; }
9625 if test "$aros_target_as_ln" = ""; then
9626 # Extract the first word of "as", so it can be a program name with args.
9627 set dummy as
; ac_word
=$2
9628 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9629 $as_echo_n "checking for $ac_word... " >&6; }
9630 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9631 $as_echo_n "(cached) " >&6
9633 case $aros_target_as_ln in
9635 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
9638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9642 test -z "$as_dir" && as_dir
=.
9643 for ac_exec_ext
in '' $ac_executable_extensions; do
9644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9645 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
9646 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9656 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
9657 if test -n "$aros_target_as_ln"; then
9658 { $as_echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9659 $as_echo "$aros_target_as_ln" >&6; }
9661 { $as_echo "$as_me:$LINENO: result: no" >&5
9662 $as_echo "no" >&6; }
9669 # Extract the first word of "$aros_target_as", so it can be a program name with args.
9670 set dummy
$aros_target_as; ac_word
=$2
9671 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9672 $as_echo_n "checking for $ac_word... " >&6; }
9673 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9674 $as_echo_n "(cached) " >&6
9676 case $aros_target_as_ln in
9678 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
9681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9685 test -z "$as_dir" && as_dir
=.
9686 for ac_exec_ext
in '' $ac_executable_extensions; do
9687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9688 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
9689 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9699 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
9700 if test -n "$aros_target_as_ln"; then
9701 { $as_echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9702 $as_echo "$aros_target_as_ln" >&6; }
9704 { $as_echo "$as_me:$LINENO: result: no" >&5
9705 $as_echo "no" >&6; }
9711 if test "$aros_target_as_ln" = ""; then
9712 { { $as_echo "$as_me:$LINENO: error: as is required to build AROS. Please install and run configure again." >&5
9713 $as_echo "$as_me: error: as is required to build AROS. Please install and run configure again." >&2;}
9714 { (exit 1); exit 1; }; }
9717 if test "$aros_kernel_ld" = ""; then
9718 if test "$cross_compiling" = "yes" ; then
9719 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
9720 set dummy
${target_tool_prefix}ld
; ac_word
=$2
9721 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9722 $as_echo_n "checking for $ac_word... " >&6; }
9723 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9724 $as_echo_n "(cached) " >&6
9726 case $aros_kernel_ld in
9728 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9735 test -z "$as_dir" && as_dir
=.
9736 for ac_exec_ext
in '' $ac_executable_extensions; do
9737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9738 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9739 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9749 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9750 if test -n "$aros_kernel_ld"; then
9751 { $as_echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9752 $as_echo "$aros_kernel_ld" >&6; }
9754 { $as_echo "$as_me:$LINENO: result: no" >&5
9755 $as_echo "no" >&6; }
9760 if test "$GCC" = "yes"; then
9761 aros_gcc_ld
=`$CC -print-prog-name=ld`
9762 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
9763 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
9764 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9765 $as_echo_n "checking for $ac_word... " >&6; }
9766 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9767 $as_echo_n "(cached) " >&6
9769 case $aros_kernel_ld in
9771 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9775 for as_dir
in `dirname $aros_gcc_ld`
9778 test -z "$as_dir" && as_dir
=.
9779 for ac_exec_ext
in '' $ac_executable_extensions; do
9780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9781 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9782 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9792 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9793 if test -n "$aros_kernel_ld"; then
9794 { $as_echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9795 $as_echo "$aros_kernel_ld" >&6; }
9797 { $as_echo "$as_me:$LINENO: result: no" >&5
9798 $as_echo "no" >&6; }
9803 if test "$aros_kernel_ld" = ""; then
9804 # Extract the first word of "ld", so it can be a program name with args.
9805 set dummy ld
; ac_word
=$2
9806 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9807 $as_echo_n "checking for $ac_word... " >&6; }
9808 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9809 $as_echo_n "(cached) " >&6
9811 case $aros_kernel_ld in
9813 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9820 test -z "$as_dir" && as_dir
=.
9821 for ac_exec_ext
in '' $ac_executable_extensions; do
9822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9823 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9824 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9834 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9835 if test -n "$aros_kernel_ld"; then
9836 { $as_echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9837 $as_echo "$aros_kernel_ld" >&6; }
9839 { $as_echo "$as_me:$LINENO: result: no" >&5
9840 $as_echo "no" >&6; }
9847 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
9848 set dummy
$aros_kernel_ld; ac_word
=$2
9849 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9850 $as_echo_n "checking for $ac_word... " >&6; }
9851 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9852 $as_echo_n "(cached) " >&6
9854 case $aros_kernel_ld in
9856 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9863 test -z "$as_dir" && as_dir
=.
9864 for ac_exec_ext
in '' $ac_executable_extensions; do
9865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9866 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9867 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9877 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9878 if test -n "$aros_kernel_ld"; then
9879 { $as_echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9880 $as_echo "$aros_kernel_ld" >&6; }
9882 { $as_echo "$as_me:$LINENO: result: no" >&5
9883 $as_echo "no" >&6; }
9889 if test "$aros_kernel_ld" = ""; then
9890 { { $as_echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
9891 $as_echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
9892 { (exit 1); exit 1; }; }
9895 if test "$aros_target_ar" = ""; then
9896 if test "$cross_compiling" = "yes" ; then
9897 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
9898 set dummy
${target_tool_prefix}ar; ac_word
=$2
9899 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9900 $as_echo_n "checking for $ac_word... " >&6; }
9901 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9902 $as_echo_n "(cached) " >&6
9904 case $aros_target_ar_ln in
9906 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9909 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9913 test -z "$as_dir" && as_dir
=.
9914 for ac_exec_ext
in '' $ac_executable_extensions; do
9915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9916 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9917 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9927 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9928 if test -n "$aros_target_ar_ln"; then
9929 { $as_echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9930 $as_echo "$aros_target_ar_ln" >&6; }
9932 { $as_echo "$as_me:$LINENO: result: no" >&5
9933 $as_echo "no" >&6; }
9938 if test "$GCC" = "yes"; then
9939 aros_gcc_ar
=`$CC -print-prog-name=ar`
9940 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9941 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
9942 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9943 $as_echo_n "checking for $ac_word... " >&6; }
9944 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9945 $as_echo_n "(cached) " >&6
9947 case $aros_target_ar_ln in
9949 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9953 for as_dir
in `dirname $aros_gcc_ar`
9956 test -z "$as_dir" && as_dir
=.
9957 for ac_exec_ext
in '' $ac_executable_extensions; do
9958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9959 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9960 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9970 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9971 if test -n "$aros_target_ar_ln"; then
9972 { $as_echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9973 $as_echo "$aros_target_ar_ln" >&6; }
9975 { $as_echo "$as_me:$LINENO: result: no" >&5
9976 $as_echo "no" >&6; }
9981 if test "$aros_target_ar_ln" = ""; then
9982 # Extract the first word of "ar", so it can be a program name with args.
9983 set dummy
ar; ac_word
=$2
9984 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9985 $as_echo_n "checking for $ac_word... " >&6; }
9986 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9987 $as_echo_n "(cached) " >&6
9989 case $aros_target_ar_ln in
9991 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9998 test -z "$as_dir" && as_dir
=.
9999 for ac_exec_ext
in '' $ac_executable_extensions; do
10000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10001 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
10002 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10012 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
10013 if test -n "$aros_target_ar_ln"; then
10014 { $as_echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
10015 $as_echo "$aros_target_ar_ln" >&6; }
10017 { $as_echo "$as_me:$LINENO: result: no" >&5
10018 $as_echo "no" >&6; }
10025 # Extract the first word of "$aros_target_ar", so it can be a program name with args.
10026 set dummy
$aros_target_ar; ac_word
=$2
10027 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10028 $as_echo_n "checking for $ac_word... " >&6; }
10029 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
10030 $as_echo_n "(cached) " >&6
10032 case $aros_target_ar_ln in
10034 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
10037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10038 for as_dir
in $PATH
10041 test -z "$as_dir" && as_dir
=.
10042 for ac_exec_ext
in '' $ac_executable_extensions; do
10043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10044 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
10045 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10055 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
10056 if test -n "$aros_target_ar_ln"; then
10057 { $as_echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
10058 $as_echo "$aros_target_ar_ln" >&6; }
10060 { $as_echo "$as_me:$LINENO: result: no" >&5
10061 $as_echo "no" >&6; }
10067 if test "$aros_target_ar_ln" = ""; then
10068 { { $as_echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
10069 $as_echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
10070 { (exit 1); exit 1; }; }
10073 if test "$aros_target_nm" = ""; then
10074 if test "$cross_compiling" = "yes" ; then
10075 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
10076 set dummy
${target_tool_prefix}nm
; ac_word
=$2
10077 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10078 $as_echo_n "checking for $ac_word... " >&6; }
10079 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
10080 $as_echo_n "(cached) " >&6
10082 case $aros_target_nm_ln in
10084 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
10087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10088 for as_dir
in $PATH
10091 test -z "$as_dir" && as_dir
=.
10092 for ac_exec_ext
in '' $ac_executable_extensions; do
10093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10094 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
10095 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10105 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
10106 if test -n "$aros_target_nm_ln"; then
10107 { $as_echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10108 $as_echo "$aros_target_nm_ln" >&6; }
10110 { $as_echo "$as_me:$LINENO: result: no" >&5
10111 $as_echo "no" >&6; }
10116 if test "$GCC" = "yes"; then
10117 aros_gcc_nm
=`$CC -print-prog-name=nm`
10118 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
10119 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
10120 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10121 $as_echo_n "checking for $ac_word... " >&6; }
10122 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
10123 $as_echo_n "(cached) " >&6
10125 case $aros_target_nm_ln in
10127 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
10130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10131 for as_dir
in `dirname $aros_gcc_nm`
10134 test -z "$as_dir" && as_dir
=.
10135 for ac_exec_ext
in '' $ac_executable_extensions; do
10136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10137 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
10138 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10148 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
10149 if test -n "$aros_target_nm_ln"; then
10150 { $as_echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10151 $as_echo "$aros_target_nm_ln" >&6; }
10153 { $as_echo "$as_me:$LINENO: result: no" >&5
10154 $as_echo "no" >&6; }
10159 if test "$aros_target_nm_ln" = ""; then
10160 # Extract the first word of "nm", so it can be a program name with args.
10161 set dummy nm
; ac_word
=$2
10162 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10163 $as_echo_n "checking for $ac_word... " >&6; }
10164 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
10165 $as_echo_n "(cached) " >&6
10167 case $aros_target_nm_ln in
10169 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
10172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10173 for as_dir
in $PATH
10176 test -z "$as_dir" && as_dir
=.
10177 for ac_exec_ext
in '' $ac_executable_extensions; do
10178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10179 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
10180 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10190 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
10191 if test -n "$aros_target_nm_ln"; then
10192 { $as_echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10193 $as_echo "$aros_target_nm_ln" >&6; }
10195 { $as_echo "$as_me:$LINENO: result: no" >&5
10196 $as_echo "no" >&6; }
10203 # Extract the first word of "$aros_target_nm", so it can be a program name with args.
10204 set dummy
$aros_target_nm; ac_word
=$2
10205 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10206 $as_echo_n "checking for $ac_word... " >&6; }
10207 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
10208 $as_echo_n "(cached) " >&6
10210 case $aros_target_nm_ln in
10212 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
10215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10216 for as_dir
in $PATH
10219 test -z "$as_dir" && as_dir
=.
10220 for ac_exec_ext
in '' $ac_executable_extensions; do
10221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10222 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
10223 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10233 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
10234 if test -n "$aros_target_nm_ln"; then
10235 { $as_echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10236 $as_echo "$aros_target_nm_ln" >&6; }
10238 { $as_echo "$as_me:$LINENO: result: no" >&5
10239 $as_echo "no" >&6; }
10245 if test "$aros_target_nm_ln" = ""; then
10246 { { $as_echo "$as_me:$LINENO: error: nm is required to build AROS. Please install and run configure again." >&5
10247 $as_echo "$as_me: error: nm is required to build AROS. Please install and run configure again." >&2;}
10248 { (exit 1); exit 1; }; }
10251 if test "$aros_target_objcopy" = ""; then
10252 if test "$cross_compiling" = "yes" ; then
10253 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
10254 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
10255 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10256 $as_echo_n "checking for $ac_word... " >&6; }
10257 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10258 $as_echo_n "(cached) " >&6
10260 case $aros_target_objcopy_ln in
10262 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
10265 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10266 for as_dir
in $PATH
10269 test -z "$as_dir" && as_dir
=.
10270 for ac_exec_ext
in '' $ac_executable_extensions; do
10271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10272 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
10273 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10283 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
10284 if test -n "$aros_target_objcopy_ln"; then
10285 { $as_echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10286 $as_echo "$aros_target_objcopy_ln" >&6; }
10288 { $as_echo "$as_me:$LINENO: result: no" >&5
10289 $as_echo "no" >&6; }
10294 if test "$GCC" = "yes"; then
10295 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
10296 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
10297 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
10298 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10299 $as_echo_n "checking for $ac_word... " >&6; }
10300 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10301 $as_echo_n "(cached) " >&6
10303 case $aros_target_objcopy_ln in
10305 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
10308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10309 for as_dir
in `dirname $aros_gcc_objcopy`
10312 test -z "$as_dir" && as_dir
=.
10313 for ac_exec_ext
in '' $ac_executable_extensions; do
10314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10315 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
10316 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10326 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
10327 if test -n "$aros_target_objcopy_ln"; then
10328 { $as_echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10329 $as_echo "$aros_target_objcopy_ln" >&6; }
10331 { $as_echo "$as_me:$LINENO: result: no" >&5
10332 $as_echo "no" >&6; }
10337 if test "$aros_target_objcopy_ln" = ""; then
10338 # Extract the first word of "objcopy", so it can be a program name with args.
10339 set dummy objcopy
; ac_word
=$2
10340 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10341 $as_echo_n "checking for $ac_word... " >&6; }
10342 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10343 $as_echo_n "(cached) " >&6
10345 case $aros_target_objcopy_ln in
10347 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
10350 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10351 for as_dir
in $PATH
10354 test -z "$as_dir" && as_dir
=.
10355 for ac_exec_ext
in '' $ac_executable_extensions; do
10356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10357 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
10358 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10368 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
10369 if test -n "$aros_target_objcopy_ln"; then
10370 { $as_echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10371 $as_echo "$aros_target_objcopy_ln" >&6; }
10373 { $as_echo "$as_me:$LINENO: result: no" >&5
10374 $as_echo "no" >&6; }
10381 # Extract the first word of "$aros_target_objcopy", so it can be a program name with args.
10382 set dummy
$aros_target_objcopy; ac_word
=$2
10383 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10384 $as_echo_n "checking for $ac_word... " >&6; }
10385 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10386 $as_echo_n "(cached) " >&6
10388 case $aros_target_objcopy_ln in
10390 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
10393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10394 for as_dir
in $PATH
10397 test -z "$as_dir" && as_dir
=.
10398 for ac_exec_ext
in '' $ac_executable_extensions; do
10399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10400 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
10401 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10411 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
10412 if test -n "$aros_target_objcopy_ln"; then
10413 { $as_echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10414 $as_echo "$aros_target_objcopy_ln" >&6; }
10416 { $as_echo "$as_me:$LINENO: result: no" >&5
10417 $as_echo "no" >&6; }
10423 if test "$aros_target_objcopy_ln" = ""; then
10424 { { $as_echo "$as_me:$LINENO: error: objcopy is required to build AROS. Please install and run configure again." >&5
10425 $as_echo "$as_me: error: objcopy is required to build AROS. Please install and run configure again." >&2;}
10426 { (exit 1); exit 1; }; }
10429 if test "$aros_target_objdump" = ""; then
10430 if test "$cross_compiling" = "yes" ; then
10431 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
10432 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
10433 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10434 $as_echo_n "checking for $ac_word... " >&6; }
10435 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10436 $as_echo_n "(cached) " >&6
10438 case $aros_target_objdump_ln in
10440 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
10443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10444 for as_dir
in $PATH
10447 test -z "$as_dir" && as_dir
=.
10448 for ac_exec_ext
in '' $ac_executable_extensions; do
10449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10450 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
10451 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10461 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
10462 if test -n "$aros_target_objdump_ln"; then
10463 { $as_echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10464 $as_echo "$aros_target_objdump_ln" >&6; }
10466 { $as_echo "$as_me:$LINENO: result: no" >&5
10467 $as_echo "no" >&6; }
10472 if test "$GCC" = "yes"; then
10473 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
10474 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
10475 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
10476 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10477 $as_echo_n "checking for $ac_word... " >&6; }
10478 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10479 $as_echo_n "(cached) " >&6
10481 case $aros_target_objdump_ln in
10483 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
10486 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10487 for as_dir
in `dirname $aros_gcc_objdump`
10490 test -z "$as_dir" && as_dir
=.
10491 for ac_exec_ext
in '' $ac_executable_extensions; do
10492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10493 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
10494 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10504 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
10505 if test -n "$aros_target_objdump_ln"; then
10506 { $as_echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10507 $as_echo "$aros_target_objdump_ln" >&6; }
10509 { $as_echo "$as_me:$LINENO: result: no" >&5
10510 $as_echo "no" >&6; }
10515 if test "$aros_target_objdump_ln" = ""; then
10516 # Extract the first word of "objdump", so it can be a program name with args.
10517 set dummy objdump
; ac_word
=$2
10518 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10519 $as_echo_n "checking for $ac_word... " >&6; }
10520 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10521 $as_echo_n "(cached) " >&6
10523 case $aros_target_objdump_ln in
10525 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
10528 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10529 for as_dir
in $PATH
10532 test -z "$as_dir" && as_dir
=.
10533 for ac_exec_ext
in '' $ac_executable_extensions; do
10534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10535 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
10536 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10546 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
10547 if test -n "$aros_target_objdump_ln"; then
10548 { $as_echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10549 $as_echo "$aros_target_objdump_ln" >&6; }
10551 { $as_echo "$as_me:$LINENO: result: no" >&5
10552 $as_echo "no" >&6; }
10559 # Extract the first word of "$aros_target_objdump", so it can be a program name with args.
10560 set dummy
$aros_target_objdump; ac_word
=$2
10561 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10562 $as_echo_n "checking for $ac_word... " >&6; }
10563 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10564 $as_echo_n "(cached) " >&6
10566 case $aros_target_objdump_ln in
10568 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
10571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10572 for as_dir
in $PATH
10575 test -z "$as_dir" && as_dir
=.
10576 for ac_exec_ext
in '' $ac_executable_extensions; do
10577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10578 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
10579 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10589 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
10590 if test -n "$aros_target_objdump_ln"; then
10591 { $as_echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10592 $as_echo "$aros_target_objdump_ln" >&6; }
10594 { $as_echo "$as_me:$LINENO: result: no" >&5
10595 $as_echo "no" >&6; }
10601 if test "$aros_target_objdump_ln" = ""; then
10602 { { $as_echo "$as_me:$LINENO: error: objdump is required to build AROS. Please install and run configure again." >&5
10603 $as_echo "$as_me: error: objdump is required to build AROS. Please install and run configure again." >&2;}
10604 { (exit 1); exit 1; }; }
10607 if test "$aros_target_ranlib" = ""; then
10608 if test "$cross_compiling" = "yes" ; then
10609 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
10610 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
10611 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10612 $as_echo_n "checking for $ac_word... " >&6; }
10613 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10614 $as_echo_n "(cached) " >&6
10616 case $aros_target_ranlib_ln in
10618 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
10621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10622 for as_dir
in $PATH
10625 test -z "$as_dir" && as_dir
=.
10626 for ac_exec_ext
in '' $ac_executable_extensions; do
10627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10628 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
10629 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10639 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
10640 if test -n "$aros_target_ranlib_ln"; then
10641 { $as_echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10642 $as_echo "$aros_target_ranlib_ln" >&6; }
10644 { $as_echo "$as_me:$LINENO: result: no" >&5
10645 $as_echo "no" >&6; }
10650 if test "$GCC" = "yes"; then
10651 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
10652 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
10653 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
10654 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10655 $as_echo_n "checking for $ac_word... " >&6; }
10656 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10657 $as_echo_n "(cached) " >&6
10659 case $aros_target_ranlib_ln in
10661 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
10664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10665 for as_dir
in `dirname $aros_gcc_ranlib`
10668 test -z "$as_dir" && as_dir
=.
10669 for ac_exec_ext
in '' $ac_executable_extensions; do
10670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10671 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
10672 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10682 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
10683 if test -n "$aros_target_ranlib_ln"; then
10684 { $as_echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10685 $as_echo "$aros_target_ranlib_ln" >&6; }
10687 { $as_echo "$as_me:$LINENO: result: no" >&5
10688 $as_echo "no" >&6; }
10693 if test "$aros_target_ranlib_ln" = ""; then
10694 # Extract the first word of "ranlib", so it can be a program name with args.
10695 set dummy ranlib
; ac_word
=$2
10696 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10697 $as_echo_n "checking for $ac_word... " >&6; }
10698 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10699 $as_echo_n "(cached) " >&6
10701 case $aros_target_ranlib_ln in
10703 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
10706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10707 for as_dir
in $PATH
10710 test -z "$as_dir" && as_dir
=.
10711 for ac_exec_ext
in '' $ac_executable_extensions; do
10712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10713 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
10714 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10724 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
10725 if test -n "$aros_target_ranlib_ln"; then
10726 { $as_echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10727 $as_echo "$aros_target_ranlib_ln" >&6; }
10729 { $as_echo "$as_me:$LINENO: result: no" >&5
10730 $as_echo "no" >&6; }
10737 # Extract the first word of "$aros_target_ranlib", so it can be a program name with args.
10738 set dummy
$aros_target_ranlib; ac_word
=$2
10739 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10740 $as_echo_n "checking for $ac_word... " >&6; }
10741 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10742 $as_echo_n "(cached) " >&6
10744 case $aros_target_ranlib_ln in
10746 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
10749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10750 for as_dir
in $PATH
10753 test -z "$as_dir" && as_dir
=.
10754 for ac_exec_ext
in '' $ac_executable_extensions; do
10755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10756 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
10757 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10767 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
10768 if test -n "$aros_target_ranlib_ln"; then
10769 { $as_echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10770 $as_echo "$aros_target_ranlib_ln" >&6; }
10772 { $as_echo "$as_me:$LINENO: result: no" >&5
10773 $as_echo "no" >&6; }
10779 if test "$aros_target_ranlib_ln" = ""; then
10780 { { $as_echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
10781 $as_echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
10782 { (exit 1); exit 1; }; }
10785 if test "$aros_target_strip" = ""; then
10786 if test "$cross_compiling" = "yes" ; then
10787 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
10788 set dummy
${target_tool_prefix}strip
; ac_word
=$2
10789 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10790 $as_echo_n "checking for $ac_word... " >&6; }
10791 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10792 $as_echo_n "(cached) " >&6
10794 case $aros_target_strip_ln in
10796 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
10799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10800 for as_dir
in $PATH
10803 test -z "$as_dir" && as_dir
=.
10804 for ac_exec_ext
in '' $ac_executable_extensions; do
10805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10806 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
10807 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10817 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
10818 if test -n "$aros_target_strip_ln"; then
10819 { $as_echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10820 $as_echo "$aros_target_strip_ln" >&6; }
10822 { $as_echo "$as_me:$LINENO: result: no" >&5
10823 $as_echo "no" >&6; }
10828 if test "$GCC" = "yes"; then
10829 aros_gcc_strip
=`$CC -print-prog-name=strip`
10830 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
10831 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
10832 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10833 $as_echo_n "checking for $ac_word... " >&6; }
10834 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10835 $as_echo_n "(cached) " >&6
10837 case $aros_target_strip_ln in
10839 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
10842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10843 for as_dir
in `dirname $aros_gcc_strip`
10846 test -z "$as_dir" && as_dir
=.
10847 for ac_exec_ext
in '' $ac_executable_extensions; do
10848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10849 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
10850 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10860 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
10861 if test -n "$aros_target_strip_ln"; then
10862 { $as_echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10863 $as_echo "$aros_target_strip_ln" >&6; }
10865 { $as_echo "$as_me:$LINENO: result: no" >&5
10866 $as_echo "no" >&6; }
10871 if test "$aros_target_strip_ln" = ""; then
10872 # Extract the first word of "strip", so it can be a program name with args.
10873 set dummy strip
; ac_word
=$2
10874 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10875 $as_echo_n "checking for $ac_word... " >&6; }
10876 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10877 $as_echo_n "(cached) " >&6
10879 case $aros_target_strip_ln in
10881 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
10884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10885 for as_dir
in $PATH
10888 test -z "$as_dir" && as_dir
=.
10889 for ac_exec_ext
in '' $ac_executable_extensions; do
10890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10891 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
10892 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10902 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
10903 if test -n "$aros_target_strip_ln"; then
10904 { $as_echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10905 $as_echo "$aros_target_strip_ln" >&6; }
10907 { $as_echo "$as_me:$LINENO: result: no" >&5
10908 $as_echo "no" >&6; }
10915 # Extract the first word of "$aros_target_strip", so it can be a program name with args.
10916 set dummy
$aros_target_strip; ac_word
=$2
10917 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10918 $as_echo_n "checking for $ac_word... " >&6; }
10919 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10920 $as_echo_n "(cached) " >&6
10922 case $aros_target_strip_ln in
10924 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
10927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10928 for as_dir
in $PATH
10931 test -z "$as_dir" && as_dir
=.
10932 for ac_exec_ext
in '' $ac_executable_extensions; do
10933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10934 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
10935 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10945 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
10946 if test -n "$aros_target_strip_ln"; then
10947 { $as_echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10948 $as_echo "$aros_target_strip_ln" >&6; }
10950 { $as_echo "$as_me:$LINENO: result: no" >&5
10951 $as_echo "no" >&6; }
10957 if test "$aros_target_strip_ln" = ""; then
10958 { { $as_echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
10959 $as_echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
10960 { (exit 1); exit 1; }; }
10964 if test "$rescomp" != ""; then
10965 if test "$cross_compiling" = "yes" ; then
10966 rescomp
=${target_tool_prefix}${rescomp}
10968 # Extract the first word of "$rescomp", so it can be a program name with args.
10969 set dummy
$rescomp; ac_word
=$2
10970 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10971 $as_echo_n "checking for $ac_word... " >&6; }
10972 if test "${ac_cv_path_aros_kernel_rescomp+set}" = set; then
10973 $as_echo_n "(cached) " >&6
10975 case $aros_kernel_rescomp in
10977 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
10980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10981 for as_dir
in $PATH
10984 test -z "$as_dir" && as_dir
=.
10985 for ac_exec_ext
in '' $ac_executable_extensions; do
10986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10987 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
10988 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10998 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
10999 if test -n "$aros_kernel_rescomp"; then
11000 { $as_echo "$as_me:$LINENO: result: $aros_kernel_rescomp" >&5
11001 $as_echo "$aros_kernel_rescomp" >&6; }
11003 { $as_echo "$as_me:$LINENO: result: no" >&5
11004 $as_echo "no" >&6; }
11008 if test "$aros_kernel_rescomp" = ""; then
11009 { { $as_echo "$as_me:$LINENO: error: $rescomp is required to build AROS. Please install and run configure again." >&5
11010 $as_echo "$as_me: error: $rescomp is required to build AROS. Please install and run configure again." >&2;}
11011 { (exit 1); exit 1; }; }
11015 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
11016 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
11017 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
11018 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
11019 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
11020 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
11021 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
11023 # aros_cc_pre is a variable that is added to the front of the compiler name
11024 # in the generated aros-gcc shell script. We need this to enable the cache
11025 # to work across cleaned builds. Also, support DISTCC using the correct
11026 # environment variable.
11029 if test "x${DISTCC}" != "x" ; then
11030 if test "x${CCACHE}" != "x" ; then
11031 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
11033 aros_cc_pre
="${DISTCC} "
11036 if test "x${CCACHE}" != "x" ; then
11037 aros_cc_pre
="${CCACHE} "
11041 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
11043 aros_target_nostdinc_cflags
=-nostdinc
11045 aros_target_nostartup_ldflags
=-nostartfiles
11047 aros_target_nix_ldflags
=-nix
11049 aros_target_detach_ldflags
=-detach
11051 aros_target_nostdlib_ldflags
=-nostdlib
11055 if test "$aros_target_cc" = ""; then
11056 orig_target_cc
=$aros_kernel_cc
11058 orig_target_cc
=$aros_target_cc
11060 if test "$aros_target_ld" = ""; then
11061 orig_target_ld
=$aros_kernel_ld
11063 orig_target_ld
=$aros_target_ld
11065 if test "$GCC" = "yes"; then
11066 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
11068 aros_target_cc
="${prefix}-gcc"
11069 aros_target_as
="${prefix}-as"
11070 aros_target_ld
="${prefix}-ld"
11071 aros_target_ar
="${prefix}-ar $aros_target_ar_flags"
11072 aros_target_objcopy
=${prefix}-objcopy
11073 aros_target_objdump
=${prefix}-objdump
11074 aros_target_ranlib
="${prefix}-ranlib $aros_target_ranlib_flags"
11075 aros_target_nm
="${prefix}-nm $aros_target_nm_flags"
11076 aros_kernel_nm
="${prefix}-nm"
11077 aros_target_strip
=${prefix}-strip
11079 # Find the system include path. We can suggest that an alternative is
11080 # used if we don't get it correct. The default is to use /usr/include.
11081 # Which is set in the aros_target_incl_def variable.
11083 # Check whether --enable-includes was given.
11084 if test "${enable_includes+set}" = set; then
11085 enableval
=$enable_includes; aros_target_incl
=$enable_includes
11087 aros_target_incl
=$aros_target_incl_def
11091 { $as_echo "$as_me:$LINENO: checking for the target compiler's include path" >&5
11092 $as_echo_n "checking for the target compiler's include path... " >&6; }
11093 if test "$aros_target_cc_includes" = "" ; then
11094 #try to guess where the directory is
11095 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
11096 if ! test -d $aros_target_cc_includes; then
11097 #the directory doesn't exist, we need to do some more work
11098 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
11100 #these are the headers we're looling for
11101 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
11102 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
11106 for h
in $headers; do
11107 #which other headers each of the above headers needs?
11108 deps
=$
(echo "#include <$h>" | \
11109 $aros_host_cc -E -M - 2>/dev
/null | \
11110 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
11112 #copy all the needed headers to a directory beneath gendir
11115 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
11116 sed -n "s,^.*/include\(/.*\),\1,p")
11117 ! test -d $dir && mkdir
-p $dir
11118 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
11123 { $as_echo "$as_me:$LINENO: result: $aros_target_cc_includes" >&5
11124 $as_echo "$aros_target_cc_includes" >&6; }
11127 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
11128 # On GCC >= 4.0 -iquote should be used
11132 save_cflags
="$CFLAGS"
11134 { $as_echo "$as_me:$LINENO: checking whether ${CC} accepts -iquote" >&5
11135 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
11136 cat >conftest.
$ac_ext <<_ACEOF
11139 cat confdefs.h
>>conftest.
$ac_ext
11140 cat >>conftest.
$ac_ext <<_ACEOF
11141 /* end confdefs.h. */
11151 rm -f conftest.
$ac_objext
11152 if { (ac_try
="$ac_compile"
11153 case "(($ac_try" in
11154 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11155 *) ac_try_echo=$ac_try;;
11157 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11158 $as_echo "$ac_try_echo") >&5
11159 (eval "$ac_compile") 2>conftest.er1
11161 grep -v '^ *+' conftest.er1 >conftest.err
11163 cat conftest.err >&5
11164 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11165 (exit $ac_status); } && {
11166 test -z "$ac_c_werror_flag" ||
11167 test ! -s conftest.err
11168 } && test -s conftest.$ac_objext; then
11171 $as_echo "$as_me: failed program was:" >&5
11172 sed 's/^/| /' conftest.$ac_ext >&5
11177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11178 { $as_echo "$as_me:$LINENO: result: $has_iquote" >&5
11179 $as_echo "$has_iquote" >&6; }
11180 if test "x-$has_iquote" = "x-yes" ; then
11181 host_cflags_iquote=-iquote
11182 host_cflags_iquote_end=
11184 host_cflags_iquote=-I
11185 host_cflags_iquote_end=-I-
11187 kernel_cflags_iquote=$host_cflags_iquote
11188 kernel_cflags_iquote_end=$host_cflags_iquote_end
11189 if test "x-$cross_compiling" = "x-yes"; then
11190 CC="$aros_kernel_cc"
11191 { $as_echo "$as_me:$LINENO: checking whether ${CC} accepts -iquote" >&5
11192 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
11193 cat >conftest.$ac_ext <<_ACEOF
11196 cat confdefs.h >>conftest.$ac_ext
11197 cat >>conftest.$ac_ext <<_ACEOF
11198 /* end confdefs.h. */
11208 rm -f conftest.$ac_objext
11209 if { (ac_try="$ac_compile"
11210 case "(($ac_try" in
11211 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11212 *) ac_try_echo
=$ac_try;;
11214 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11215 $as_echo "$ac_try_echo") >&5
11216 (eval "$ac_compile") 2>conftest.er1
11218 grep -v '^ *+' conftest.er1
>conftest.err
11220 cat conftest.err
>&5
11221 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11222 (exit $ac_status); } && {
11223 test -z "$ac_c_werror_flag" ||
11224 test ! -s conftest.err
11225 } && test -s conftest.
$ac_objext; then
11228 $as_echo "$as_me: failed program was:" >&5
11229 sed 's/^/| /' conftest.
$ac_ext >&5
11234 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11235 { $as_echo "$as_me:$LINENO: result: $has_iquote" >&5
11236 $as_echo "$has_iquote" >&6; }
11237 if test "x-$has_iquote" = "x-yes" ; then
11238 kernel_cflags_iquote
=-iquote
11239 kernel_cflags_iquote_end
=
11241 kernel_cflags_iquote
=-I
11242 kernel_cflags_iquote_end
=-I-
11245 aros_cflags_iquote
=$kernel_cflags_iquote
11246 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
11247 if test "$orig_target_cc" != "$aros_kernel_cc"; then
11248 CC
="$orig_target_cc"
11249 { $as_echo "$as_me:$LINENO: checking whether ${CC} accepts -iquote" >&5
11250 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
11251 cat >conftest.
$ac_ext <<_ACEOF
11254 cat confdefs.h
>>conftest.
$ac_ext
11255 cat >>conftest.
$ac_ext <<_ACEOF
11256 /* end confdefs.h. */
11266 rm -f conftest.
$ac_objext
11267 if { (ac_try
="$ac_compile"
11268 case "(($ac_try" in
11269 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11270 *) ac_try_echo=$ac_try;;
11272 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11273 $as_echo "$ac_try_echo") >&5
11274 (eval "$ac_compile") 2>conftest.er1
11276 grep -v '^ *+' conftest.er1 >conftest.err
11278 cat conftest.err >&5
11279 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11280 (exit $ac_status); } && {
11281 test -z "$ac_c_werror_flag" ||
11282 test ! -s conftest.err
11283 } && test -s conftest.$ac_objext; then
11286 $as_echo "$as_me: failed program was:" >&5
11287 sed 's/^/| /' conftest.$ac_ext >&5
11292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11293 { $as_echo "$as_me:$LINENO: result: $has_iquote" >&5
11294 $as_echo "$has_iquote" >&6; }
11295 if test "x-$has_iquote" = "x-yes" ; then
11296 aros_cflags_iquote=-iquote
11297 aros_cflags_iquote_end=
11299 aros_cflags_iquote=-I
11300 aros_cflags_iquote_end=-I-
11304 CFLAGS="$save_cflags"
11314 { $as_echo "$as_me:$LINENO: checking for default resolution of WBScreen" >&5
11315 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
11317 # Check whether --with-resolution was given.
11318 if test "${with_resolution+set}" = set; then
11319 withval=$with_resolution; resolution=$withval
11324 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
11325 if test "$resolution" = "yes" ; then
11328 if test "$resolution" = "no" ; then
11331 if test "$resolution" != "none" ; then
11332 aros_default_wbwidth=`echo $resolution | cut
-d'x' -f1`
11333 aros_default_wbheight=`echo $resolution | cut
-d'x' -f2`
11334 aros_default_wbdepth=`echo $resolution | cut
-d'x' -f3`
11336 { $as_echo "$as_me:$LINENO: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
11337 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
11338 aros_cv_default_wbwidth=$aros_default_wbwidth
11339 aros_cv_default_wbheight=$aros_default_wbheight
11340 aros_cv_default_wbdepth=$aros_default_wbdepth
11342 { $as_echo "$as_me:$LINENO: checking if bochs hack is enabled" >&5
11343 $as_echo_n "checking if bochs hack is enabled... " >&6; }
11344 # Check whether --enable-bochs_hack was given.
11345 if test "${enable_bochs_hack+set}" = set; then
11346 enableval=$enable_bochs_hack; bochs_hack="yes"
11351 if test "$bochs_hack" = "yes" ; then
11352 aros_bochs_hack="1"
11354 { $as_echo "$as_me:$LINENO: result: $bochs_hack" >&5
11355 $as_echo "$bochs_hack" >&6; }
11357 { $as_echo "$as_me:$LINENO: checking if serial debug is enabled" >&5
11358 $as_echo_n "checking if serial debug is enabled... " >&6; }
11360 # Check whether --with-serial-debug was given.
11361 if test "${with_serial_debug+set}" = set; then
11362 withval=$with_serial_debug; serial_debug=$withval
11367 if test "$aros_serial_debug" = 0 ; then
11368 serial_debug_forced=""
11369 if test "$serial_debug" = "yes" ; then
11372 if test "$serial_debug" = "no" ; then
11373 serial_debug="none"
11376 serial_debug_forced="(forced)"
11377 serial_debug=$aros_serial_debug
11379 if test "$serial_debug" != "none" ; then
11380 aros_serial_debug=$serial_debug
11381 { $as_echo "$as_me:$LINENO: result: $serial_debug_forced on port $serial_debug" >&5
11382 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
11384 { $as_echo "$as_me:$LINENO: result: no" >&5
11385 $as_echo "no" >&6; }
11388 { $as_echo "$as_me:$LINENO: checking if palm debug hack is enabled" >&5
11389 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
11390 # Check whether --enable-palm_debug_hack was given.
11391 if test "${enable_palm_debug_hack+set}" = set; then
11392 enableval=$enable_palm_debug_hack; palm_debug_hack="yes"
11394 palm_debug_hack="no"
11397 if test "$palm_debug_hack" = "yes" ; then
11398 aros_palm_debug_hack="1"
11400 { $as_echo "$as_me:$LINENO: result: $palm_debug_hack" >&5
11401 $as_echo "$palm_debug_hack" >&6; }
11404 { $as_echo "$as_me:$LINENO: checking if nesting supervisor support is enabled" >&5
11405 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
11406 # Check whether --enable-nesting_supervisor was given.
11407 if test "${enable_nesting_supervisor+set}" = set; then
11408 enableval=$enable_nesting_supervisor; nesting_supervisor="yes"
11410 nesting_supervisor="no"
11413 if test "$nesting_supervisor" = "yes" ; then
11414 aros_nesting_supervisor="1"
11416 { $as_echo "$as_me:$LINENO: result: $nesting_supervisor" >&5
11417 $as_echo "$nesting_supervisor" >&6; }
11420 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
11422 if test "x-$need_dlopen" != "x-no" ; then
11423 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
11424 $as_echo_n "checking for dlopen... " >&6; }
11425 if test "${ac_cv_func_dlopen+set}" = set; then
11426 $as_echo_n "(cached) " >&6
11428 cat >conftest.$ac_ext <<_ACEOF
11431 cat confdefs.h >>conftest.$ac_ext
11432 cat >>conftest.$ac_ext <<_ACEOF
11433 /* end confdefs.h. */
11434 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11435 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11436 #define dlopen innocuous_dlopen
11438 /* System header to define __stub macros and hopefully few prototypes,
11439 which can conflict with char dlopen (); below.
11440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11441 <limits.h> exists even on freestanding compilers. */
11444 # include <limits.h>
11446 # include <assert.h>
11451 /* Override any GCC internal prototype to avoid an error.
11452 Use char because int might match the return type of a GCC
11453 builtin and then its argument prototype would still apply. */
11458 /* The GNU C library defines this for functions which it implements
11459 to always fail with ENOSYS. Some functions are actually named
11460 something starting with __ and the normal name is an alias. */
11461 #if defined __stub_dlopen || defined __stub___dlopen
11473 rm -f conftest.$ac_objext conftest$ac_exeext
11474 if { (ac_try="$ac_link"
11475 case "(($ac_try" in
11476 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11477 *) ac_try_echo
=$ac_try;;
11479 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11480 $as_echo "$ac_try_echo") >&5
11481 (eval "$ac_link") 2>conftest.er1
11483 grep -v '^ *+' conftest.er1
>conftest.err
11485 cat conftest.err
>&5
11486 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11487 (exit $ac_status); } && {
11488 test -z "$ac_c_werror_flag" ||
11489 test ! -s conftest.err
11490 } && test -s conftest
$ac_exeext && {
11491 test "$cross_compiling" = yes ||
11492 $as_test_x conftest
$ac_exeext
11494 ac_cv_func_dlopen
=yes
11496 $as_echo "$as_me: failed program was:" >&5
11497 sed 's/^/| /' conftest.
$ac_ext >&5
11499 ac_cv_func_dlopen
=no
11502 rm -rf conftest.dSYM
11503 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11504 conftest
$ac_exeext conftest.
$ac_ext
11506 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11507 $as_echo "$ac_cv_func_dlopen" >&6; }
11508 if test "x$ac_cv_func_dlopen" = x
""yes; then
11514 if test "x-$have_dl" = "x-no" ; then
11515 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11516 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11517 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11518 $as_echo_n "(cached) " >&6
11520 ac_check_lib_save_LIBS
=$LIBS
11522 cat >conftest.
$ac_ext <<_ACEOF
11525 cat confdefs.h
>>conftest.
$ac_ext
11526 cat >>conftest.
$ac_ext <<_ACEOF
11527 /* end confdefs.h. */
11529 /* Override any GCC internal prototype to avoid an error.
11530 Use char because int might match the return type of a GCC
11531 builtin and then its argument prototype would still apply. */
11544 rm -f conftest.
$ac_objext conftest
$ac_exeext
11545 if { (ac_try
="$ac_link"
11546 case "(($ac_try" in
11547 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11548 *) ac_try_echo=$ac_try;;
11550 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11551 $as_echo "$ac_try_echo") >&5
11552 (eval "$ac_link") 2>conftest.er1
11554 grep -v '^ *+' conftest.er1 >conftest.err
11556 cat conftest.err >&5
11557 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11558 (exit $ac_status); } && {
11559 test -z "$ac_c_werror_flag" ||
11560 test ! -s conftest.err
11561 } && test -s conftest$ac_exeext && {
11562 test "$cross_compiling" = yes ||
11563 $as_test_x conftest$ac_exeext
11565 ac_cv_lib_dl_dlopen=yes
11567 $as_echo "$as_me: failed program was:" >&5
11568 sed 's/^/| /' conftest.$ac_ext >&5
11570 ac_cv_lib_dl_dlopen=no
11573 rm -rf conftest.dSYM
11574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11575 conftest$ac_exeext conftest.$ac_ext
11576 LIBS=$ac_check_lib_save_LIBS
11578 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11579 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11580 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
11582 aros_host_ldflags="$aros_host_ldflags -ldl"
11588 if test "x-$have_dl" = "x-no" ; then
11589 { { $as_echo "$as_me:$LINENO: error: dlopen() dynamic linker functions not available" >&5
11590 $as_echo "$as_me: error: dlopen() dynamic linker functions not available" >&2;}
11591 { (exit 1); exit 1; }; }
11596 # Check whether --enable-x11_hidd was given.
11597 if test "${enable_x11_hidd+set}" = set; then
11598 enableval=$enable_x11_hidd; x11_hidd="$enableval"
11603 case "x-$x11_hidd" in
11604 x-yes|x-no|x-auto) ;;
11605 *) x11_hidd="auto" ;;
11610 if test "x-$x11_hidd" != "x-no" ; then
11612 { $as_echo "$as_me:$LINENO: checking for X" >&5
11613 $as_echo_n "checking for X... " >&6; }
11616 # Check whether --with-x was given.
11617 if test "${with_x+set}" = set; then
11621 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11622 if test "x$with_x" = xno; then
11623 # The user explicitly disabled X.
11626 case $x_includes,$x_libraries in #(
11627 *\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5
11628 $as_echo "$as_me: error: cannot use X directory names containing '" >&2;}
11629 { (exit 1); exit 1; }; };; #(
11630 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
11631 $as_echo_n "(cached) " >&6
11633 # One or both of the vars are not set, and there is no cached value.
11634 ac_x_includes=no ac_x_libraries=no
11635 rm -f -r conftest.dir
11636 if mkdir conftest.dir; then
11638 cat >Imakefile <<'_ACEOF'
11640 @echo incroot='${INCROOT}'
11642 @echo usrlibdir='${USRLIBDIR}'
11644 @echo libdir='${LIBDIR}'
11646 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
11647 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11648 for ac_var in incroot usrlibdir libdir; do
11649 eval "ac_im_$ac_var=\`\
${MAKE-make} $ac_var 2>/dev
/null |
sed -n 's/^$ac_var=//p'\
`"
11651 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11652 for ac_extension in a so sl dylib la dll; do
11653 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
11654 test -f "$ac_im_libdir/libX11.$ac_extension"; then
11655 ac_im_usrlibdir=$ac_im_libdir; break
11658 # Screen out bogus values from the imake configuration. They are
11659 # bogus both because they are the default anyway, and because
11660 # using them would break gcc on systems where it needs fixed includes.
11661 case $ac_im_incroot in
11662 /usr/include) ac_x_includes= ;;
11663 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
11665 case $ac_im_usrlibdir in
11666 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
11667 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
11671 rm -f -r conftest.dir
11674 # Standard set of common directories for X headers.
11675 # Check X11 before X11Rn because it is often a symlink to the current release.
11687 /usr/local/X11/include
11688 /usr/local/X11R6/include
11689 /usr/local/X11R5/include
11690 /usr/local/X11R4/include
11692 /usr/local/include/X11
11693 /usr/local/include/X11R6
11694 /usr/local/include/X11R5
11695 /usr/local/include/X11R4
11699 /usr/XFree86/include/X11
11703 /usr/unsupported/include
11704 /usr/athena/include
11705 /usr/local/x11r5/include
11706 /usr/lpp/Xamples/include
11708 /usr/openwin/include
11709 /usr/openwin/share/include'
11711 if test "$ac_x_includes" = no; then
11712 # Guess where to find include files, by looking for Xlib.h.
11713 # First, try using that file with no special directory specified.
11714 cat >conftest.$ac_ext <<_ACEOF
11717 cat confdefs.h >>conftest.$ac_ext
11718 cat >>conftest.$ac_ext <<_ACEOF
11719 /* end confdefs.h. */
11720 #include <X11/Xlib.h>
11722 if { (ac_try="$ac_cpp conftest.$ac_ext"
11723 case "(($ac_try" in
11724 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11725 *) ac_try_echo
=$ac_try;;
11727 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11728 $as_echo "$ac_try_echo") >&5
11729 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11731 grep -v '^ *+' conftest.er1
>conftest.err
11733 cat conftest.err
>&5
11734 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11735 (exit $ac_status); } >/dev
/null
&& {
11736 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11737 test ! -s conftest.err
11739 # We can compile using X headers with no special include directory.
11742 $as_echo "$as_me: failed program was:" >&5
11743 sed 's/^/| /' conftest.
$ac_ext >&5
11745 for ac_dir
in $ac_x_header_dirs; do
11746 if test -r "$ac_dir/X11/Xlib.h"; then
11747 ac_x_includes
=$ac_dir
11753 rm -f conftest.err conftest.
$ac_ext
11754 fi # $ac_x_includes = no
11756 if test "$ac_x_libraries" = no
; then
11757 # Check for the libraries.
11758 # See if we find them without any special options.
11759 # Don't add to $LIBS permanently.
11762 cat >conftest.
$ac_ext <<_ACEOF
11765 cat confdefs.h
>>conftest.
$ac_ext
11766 cat >>conftest.
$ac_ext <<_ACEOF
11767 /* end confdefs.h. */
11768 #include <X11/Xlib.h>
11777 rm -f conftest.
$ac_objext conftest
$ac_exeext
11778 if { (ac_try
="$ac_link"
11779 case "(($ac_try" in
11780 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11781 *) ac_try_echo=$ac_try;;
11783 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11784 $as_echo "$ac_try_echo") >&5
11785 (eval "$ac_link") 2>conftest.er1
11787 grep -v '^ *+' conftest.er1 >conftest.err
11789 cat conftest.err >&5
11790 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11791 (exit $ac_status); } && {
11792 test -z "$ac_c_werror_flag" ||
11793 test ! -s conftest.err
11794 } && test -s conftest$ac_exeext && {
11795 test "$cross_compiling" = yes ||
11796 $as_test_x conftest$ac_exeext
11799 # We can link X programs with no special library path.
11802 $as_echo "$as_me: failed program was:" >&5
11803 sed 's/^/| /' conftest.$ac_ext >&5
11806 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
11808 # Don't even attempt the hair of trying to link an X program!
11809 for ac_extension in a so sl dylib la dll; do
11810 if test -r "$ac_dir/libX11.$ac_extension"; then
11811 ac_x_libraries=$ac_dir
11818 rm -rf conftest.dSYM
11819 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11820 conftest$ac_exeext conftest.$ac_ext
11821 fi # $ac_x_libraries = no
11823 case $ac_x_includes,$ac_x_libraries in #(
11824 no,* | *,no | *\'*)
11825 # Didn't find X, or a directory has "'" in its name.
11826 ac_cv_have_x="have_x=no";; #(
11828 # Record where we found X for the cache.
11829 ac_cv_have_x="have_x=yes\
11830 ac_x_includes='$ac_x_includes'\
11831 ac_x_libraries='$ac_x_libraries'"
11837 eval "$ac_cv_have_x"
11840 if test "$have_x" != yes; then
11841 { $as_echo "$as_me:$LINENO: result: $have_x" >&5
11842 $as_echo "$have_x" >&6; }
11845 # If each of the values was on the command line, it overrides each guess.
11846 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11847 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11848 # Update the cache value to reflect the command line values.
11849 ac_cv_have_x="have_x=yes\
11850 ac_x_includes='$x_includes'\
11851 ac_x_libraries='$x_libraries'"
11852 { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
11853 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11858 for path in $x_libraries
11860 x_cflags="$x_cflags -L$path"
11863 for path in $x_includes
11865 x_cflags="$x_cflags -I$path"
11868 if test "x-$no_x" = "x-yes" ; then
11870 if test "x-$x11_hidd" != "x-auto" ; then
11871 { { $as_echo "$as_me:$LINENO: error: X11 libs/headers not found, cannot build X11 hidd as requested" >&5
11872 $as_echo "$as_me: error: X11 libs/headers not found, cannot build X11 hidd as requested" >&2;}
11873 { (exit 1); exit 1; }; }
11877 x11_hidd_target=kernel-x11gfx-kobj
11880 # Check whether --enable-x11_shm was given.
11881 if test "${enable_x11_shm+set}" = set; then
11882 enableval=$enable_x11_shm; x11_hidd_shm="$enableval"
11884 x11_hidd_shm="auto"
11887 case "x-$x11_hidd_shm" in
11888 x-yes|x-no|x-auto) ;;
11889 *) x11_hidd_shm="auto" ;;
11894 if test "x-$x11_hidd_shm" != "x-no" ; then
11897 for ac_header in sys/ipc.h
11899 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11900 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11901 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11902 $as_echo_n "checking for $ac_header... " >&6; }
11903 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11904 $as_echo_n "(cached) " >&6
11906 ac_res=`eval 'as_val=${'$as_ac_Header'}
11907 $as_echo "$as_val"'`
11908 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11909 $as_echo "$ac_res" >&6; }
11911 # Is the header compilable?
11912 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11913 $as_echo_n "checking $ac_header usability... " >&6; }
11914 cat >conftest.$ac_ext <<_ACEOF
11917 cat confdefs.h >>conftest.$ac_ext
11918 cat >>conftest.$ac_ext <<_ACEOF
11919 /* end confdefs.h. */
11920 $ac_includes_default
11921 #include <$ac_header>
11923 rm -f conftest.$ac_objext
11924 if { (ac_try="$ac_compile"
11925 case "(($ac_try" in
11926 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11927 *) ac_try_echo
=$ac_try;;
11929 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11930 $as_echo "$ac_try_echo") >&5
11931 (eval "$ac_compile") 2>conftest.er1
11933 grep -v '^ *+' conftest.er1
>conftest.err
11935 cat conftest.err
>&5
11936 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11937 (exit $ac_status); } && {
11938 test -z "$ac_c_werror_flag" ||
11939 test ! -s conftest.err
11940 } && test -s conftest.
$ac_objext; then
11941 ac_header_compiler
=yes
11943 $as_echo "$as_me: failed program was:" >&5
11944 sed 's/^/| /' conftest.
$ac_ext >&5
11946 ac_header_compiler
=no
11949 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11950 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11951 $as_echo "$ac_header_compiler" >&6; }
11953 # Is the header present?
11954 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11955 $as_echo_n "checking $ac_header presence... " >&6; }
11956 cat >conftest.
$ac_ext <<_ACEOF
11959 cat confdefs.h
>>conftest.
$ac_ext
11960 cat >>conftest.
$ac_ext <<_ACEOF
11961 /* end confdefs.h. */
11962 #include <$ac_header>
11964 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11965 case "(($ac_try" in
11966 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11967 *) ac_try_echo=$ac_try;;
11969 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11970 $as_echo "$ac_try_echo") >&5
11971 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11973 grep -v '^ *+' conftest.er1 >conftest.err
11975 cat conftest.err >&5
11976 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11977 (exit $ac_status); } >/dev/null && {
11978 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11979 test ! -s conftest.err
11981 ac_header_preproc=yes
11983 $as_echo "$as_me: failed program was:" >&5
11984 sed 's/^/| /' conftest.$ac_ext >&5
11986 ac_header_preproc=no
11989 rm -f conftest.err conftest.$ac_ext
11990 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11991 $as_echo "$ac_header_preproc" >&6; }
11993 # So? What about this header?
11994 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11996 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11997 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11998 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11999 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12000 ac_header_preproc=yes
12003 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12004 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12005 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12006 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12007 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12008 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12009 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12010 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12011 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12012 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12013 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12014 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12018 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12019 $as_echo_n "checking for $ac_header... " >&6; }
12020 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12021 $as_echo_n "(cached) " >&6
12023 eval "$as_ac_Header=\$ac_header_preproc"
12025 ac_res=`eval 'as_val=${'$as_ac_Header'}
12026 $as_echo "$as_val"'`
12027 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12028 $as_echo "$ac_res" >&6; }
12031 as_val=`eval 'as_val=${'$as_ac_Header'}
12032 $as_echo "$as_val"'`
12033 if test "x$as_val" = x""yes; then
12034 cat >>confdefs.h <<_ACEOF
12035 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12043 for ac_header in sys/shm.h
12045 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
12046 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12047 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12048 $as_echo_n "checking for $ac_header... " >&6; }
12049 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12050 $as_echo_n "(cached) " >&6
12052 ac_res=`eval 'as_val=${'$as_ac_Header'}
12053 $as_echo "$as_val"'`
12054 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12055 $as_echo "$ac_res" >&6; }
12057 # Is the header compilable?
12058 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12059 $as_echo_n "checking $ac_header usability... " >&6; }
12060 cat >conftest.$ac_ext <<_ACEOF
12063 cat confdefs.h >>conftest.$ac_ext
12064 cat >>conftest.$ac_ext <<_ACEOF
12065 /* end confdefs.h. */
12066 $ac_includes_default
12067 #include <$ac_header>
12069 rm -f conftest.$ac_objext
12070 if { (ac_try="$ac_compile"
12071 case "(($ac_try" in
12072 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12073 *) ac_try_echo
=$ac_try;;
12075 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12076 $as_echo "$ac_try_echo") >&5
12077 (eval "$ac_compile") 2>conftest.er1
12079 grep -v '^ *+' conftest.er1
>conftest.err
12081 cat conftest.err
>&5
12082 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12083 (exit $ac_status); } && {
12084 test -z "$ac_c_werror_flag" ||
12085 test ! -s conftest.err
12086 } && test -s conftest.
$ac_objext; then
12087 ac_header_compiler
=yes
12089 $as_echo "$as_me: failed program was:" >&5
12090 sed 's/^/| /' conftest.
$ac_ext >&5
12092 ac_header_compiler
=no
12095 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12096 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12097 $as_echo "$ac_header_compiler" >&6; }
12099 # Is the header present?
12100 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12101 $as_echo_n "checking $ac_header presence... " >&6; }
12102 cat >conftest.
$ac_ext <<_ACEOF
12105 cat confdefs.h
>>conftest.
$ac_ext
12106 cat >>conftest.
$ac_ext <<_ACEOF
12107 /* end confdefs.h. */
12108 #include <$ac_header>
12110 if { (ac_try
="$ac_cpp conftest.$ac_ext"
12111 case "(($ac_try" in
12112 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12113 *) ac_try_echo=$ac_try;;
12115 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12116 $as_echo "$ac_try_echo") >&5
12117 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12119 grep -v '^ *+' conftest.er1 >conftest.err
12121 cat conftest.err >&5
12122 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12123 (exit $ac_status); } >/dev/null && {
12124 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12125 test ! -s conftest.err
12127 ac_header_preproc=yes
12129 $as_echo "$as_me: failed program was:" >&5
12130 sed 's/^/| /' conftest.$ac_ext >&5
12132 ac_header_preproc=no
12135 rm -f conftest.err conftest.$ac_ext
12136 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12137 $as_echo "$ac_header_preproc" >&6; }
12139 # So? What about this header?
12140 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12142 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12143 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12144 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12145 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12146 ac_header_preproc=yes
12149 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12150 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12151 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12152 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12153 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12154 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12155 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12156 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12157 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12158 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12159 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12160 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12164 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12165 $as_echo_n "checking for $ac_header... " >&6; }
12166 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12167 $as_echo_n "(cached) " >&6
12169 eval "$as_ac_Header=\$ac_header_preproc"
12171 ac_res=`eval 'as_val=${'$as_ac_Header'}
12172 $as_echo "$as_val"'`
12173 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12174 $as_echo "$ac_res" >&6; }
12177 as_val=`eval 'as_val=${'$as_ac_Header'}
12178 $as_echo "$as_val"'`
12179 if test "x$as_val" = x""yes; then
12180 cat >>confdefs.h <<_ACEOF
12181 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12189 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
12191 save_cflags="$CFLAGS"
12192 CFLAGS="$CFLAGS $x_cflags"
12193 { $as_echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
12194 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
12195 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
12196 $as_echo_n "(cached) " >&6
12198 ac_check_lib_save_LIBS=$LIBS
12199 LIBS="-lXext $LIBS"
12200 cat >conftest.$ac_ext <<_ACEOF
12203 cat confdefs.h >>conftest.$ac_ext
12204 cat >>conftest.$ac_ext <<_ACEOF
12205 /* end confdefs.h. */
12207 /* Override any GCC internal prototype to avoid an error.
12208 Use char because int might match the return type of a GCC
12209 builtin and then its argument prototype would still apply. */
12213 char XShmQueryExtension ();
12217 return XShmQueryExtension ();
12222 rm -f conftest.$ac_objext conftest$ac_exeext
12223 if { (ac_try="$ac_link"
12224 case "(($ac_try" in
12225 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12226 *) ac_try_echo
=$ac_try;;
12228 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12229 $as_echo "$ac_try_echo") >&5
12230 (eval "$ac_link") 2>conftest.er1
12232 grep -v '^ *+' conftest.er1
>conftest.err
12234 cat conftest.err
>&5
12235 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12236 (exit $ac_status); } && {
12237 test -z "$ac_c_werror_flag" ||
12238 test ! -s conftest.err
12239 } && test -s conftest
$ac_exeext && {
12240 test "$cross_compiling" = yes ||
12241 $as_test_x conftest
$ac_exeext
12243 ac_cv_lib_Xext_XShmQueryExtension
=yes
12245 $as_echo "$as_me: failed program was:" >&5
12246 sed 's/^/| /' conftest.
$ac_ext >&5
12248 ac_cv_lib_Xext_XShmQueryExtension
=no
12251 rm -rf conftest.dSYM
12252 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12253 conftest
$ac_exeext conftest.
$ac_ext
12254 LIBS
=$ac_check_lib_save_LIBS
12256 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
12257 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
12258 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = x
""yes; then
12262 CFLAGS
="$save_cflags"
12266 if test "x-$have_xshm" = "x-yes" ; then
12267 DO_XSHM_SUPPORT
="1"
12268 elif test "x-$x11_hidd_shm" = "x-yes" ; then
12269 { { $as_echo "$as_me:$LINENO: error: X11 has no support for shared memory, cannot enable it as requested" >&5
12270 $as_echo "$as_me: error: X11 has no support for shared memory, cannot enable it as requested" >&2;}
12271 { (exit 1); exit 1; }; }
12273 DO_XSHM_SUPPORT
="0"
12277 # Check whether --enable-x11_vidmode was given.
12278 if test "${enable_x11_vidmode+set}" = set; then
12279 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
12281 x11_hidd_vidmode
="auto"
12284 case "x-$x11_hidd_vidmode" in
12285 x-yes|x-no|x-auto
) ;;
12286 *) x11_hidd_vidmode
="auto" ;;
12291 if test "x-$x11_hidd_vidmode" != "x-no" ; then
12293 save_cflags
="$CFLAGS"
12294 CFLAGS
="$CFLAGS $x_cflags"
12295 { $as_echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
12296 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
12297 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
12298 $as_echo_n "(cached) " >&6
12300 ac_check_lib_save_LIBS
=$LIBS
12301 LIBS
="-lXxf86vm $LIBS"
12302 cat >conftest.
$ac_ext <<_ACEOF
12305 cat confdefs.h
>>conftest.
$ac_ext
12306 cat >>conftest.
$ac_ext <<_ACEOF
12307 /* end confdefs.h. */
12309 /* Override any GCC internal prototype to avoid an error.
12310 Use char because int might match the return type of a GCC
12311 builtin and then its argument prototype would still apply. */
12315 char XF86VidModeQueryExtension ();
12319 return XF86VidModeQueryExtension ();
12324 rm -f conftest.
$ac_objext conftest
$ac_exeext
12325 if { (ac_try
="$ac_link"
12326 case "(($ac_try" in
12327 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12328 *) ac_try_echo=$ac_try;;
12330 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12331 $as_echo "$ac_try_echo") >&5
12332 (eval "$ac_link") 2>conftest.er1
12334 grep -v '^ *+' conftest.er1 >conftest.err
12336 cat conftest.err >&5
12337 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12338 (exit $ac_status); } && {
12339 test -z "$ac_c_werror_flag" ||
12340 test ! -s conftest.err
12341 } && test -s conftest$ac_exeext && {
12342 test "$cross_compiling" = yes ||
12343 $as_test_x conftest$ac_exeext
12345 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
12347 $as_echo "$as_me: failed program was:" >&5
12348 sed 's/^/| /' conftest.$ac_ext >&5
12350 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
12353 rm -rf conftest.dSYM
12354 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12355 conftest$ac_exeext conftest.$ac_ext
12356 LIBS=$ac_check_lib_save_LIBS
12358 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
12359 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
12360 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = x""yes; then
12364 CFLAGS="$save_cflags"
12367 if test "x-$have_vidmode" = "x-yes" ; then
12368 DO_VIDMODE_SUPPORT="1"
12369 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
12370 { { $as_echo "$as_me:$LINENO: error: X11 vidmode extension not available, cannot enable it as requested" >&5
12371 $as_echo "$as_me: error: X11 vidmode extension not available, cannot enable it as requested" >&2;}
12372 { (exit 1); exit 1; }; }
12374 DO_VIDMODE_SUPPORT="0"
12378 aros_host_x11_includes=$x_includes
12379 aros_host_x11_libdirs=$x_libraries
12383 # Check whether --enable-sdl_hidd was given.
12384 if test "${enable_sdl_hidd+set}" = set; then
12385 enableval=$enable_sdl_hidd; sdl_hidd="$enableval"
12390 case "x-$sdl_hidd" in
12391 x-yes|x-no|x-auto) ;;
12392 *) sdl_hidd="auto" ;;
12395 if test "x-$sdl_hidd" != "x-no" ; then
12398 # Check whether --with-sdl-prefix was given.
12399 if test "${with_sdl_prefix+set}" = set; then
12400 withval=$with_sdl_prefix; sdl_prefix="$withval"
12406 # Check whether --with-sdl-exec-prefix was given.
12407 if test "${with_sdl_exec_prefix+set}" = set; then
12408 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
12413 # Check whether --enable-sdltest was given.
12414 if test "${enable_sdltest+set}" = set; then
12415 enableval=$enable_sdltest;
12421 if test x$sdl_exec_prefix != x ; then
12422 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
12423 if test x${SDL_CONFIG+set} != xset ; then
12424 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
12427 if test x$sdl_prefix != x ; then
12428 sdl_args="$sdl_args --prefix=$sdl_prefix"
12429 if test x${SDL_CONFIG+set} != xset ; then
12430 SDL_CONFIG=$sdl_prefix/bin/sdl-config
12434 if test "x$prefix" != xNONE; then
12435 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
12437 # Extract the first word of "sdl-config", so it can be a program name with args.
12438 set dummy sdl-config; ac_word=$2
12439 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12440 $as_echo_n "checking for $ac_word... " >&6; }
12441 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
12442 $as_echo_n "(cached) " >&6
12444 case $SDL_CONFIG in
12446 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
12449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12450 for as_dir in $PATH
12453 test -z "$as_dir" && as_dir=.
12454 for ac_exec_ext in '' $ac_executable_extensions; do
12455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12456 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12457 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12464 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
12468 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
12469 if test -n "$SDL_CONFIG"; then
12470 { $as_echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
12471 $as_echo "$SDL_CONFIG" >&6; }
12473 { $as_echo "$as_me:$LINENO: result: no" >&5
12474 $as_echo "no" >&6; }
12478 min_sdl_version=1.2.10
12479 { $as_echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
12480 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
12482 if test "$SDL_CONFIG" = "no" ; then
12485 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
12486 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
12488 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
12489 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12490 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
12491 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12492 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
12493 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12494 if test "x$enable_sdltest" = "xyes" ; then
12495 ac_save_CFLAGS="$CFLAGS"
12496 ac_save_CXXFLAGS="$CXXFLAGS"
12497 ac_save_LIBS="$LIBS"
12498 CFLAGS="$CFLAGS $SDL_CFLAGS"
12499 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
12500 LIBS="$LIBS $SDL_LIBS"
12502 if test "$cross_compiling" = yes; then
12503 echo $ac_n "cross compiling; assumed OK... $ac_c"
12505 cat >conftest.$ac_ext <<_ACEOF
12508 cat confdefs.h >>conftest.$ac_ext
12509 cat >>conftest.$ac_ext <<_ACEOF
12510 /* end confdefs.h. */
12513 #include <stdlib.h>
12514 #include <string.h>
12518 my_strdup (char *str)
12524 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
12525 strcpy (new_str, str);
12533 int main (int argc, char *argv[])
12535 int major, minor, micro;
12538 /* This hangs on some systems (?)
12539 system ("touch conf.sdltest");
12541 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
12543 /* HP/UX 9 (%@#!) writes to sscanf strings */
12544 tmp_version = my_strdup("$min_sdl_version");
12545 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12546 printf("%s, bad version string\n", "$min_sdl_version");
12550 if (($sdl_major_version > major) ||
12551 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
12552 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
12558 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
12559 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
12560 printf("*** best to upgrade to the required version.\n");
12561 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
12562 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
12563 printf("*** config.cache before re-running configure\n");
12570 rm -f conftest$ac_exeext
12571 if { (ac_try="$ac_link"
12572 case "(($ac_try" in
12573 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12574 *) ac_try_echo
=$ac_try;;
12576 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12577 $as_echo "$ac_try_echo") >&5
12578 (eval "$ac_link") 2>&5
12580 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12581 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12582 { (case "(($ac_try" in
12583 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12584 *) ac_try_echo=$ac_try;;
12586 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12587 $as_echo "$ac_try_echo") >&5
12588 (eval "$ac_try") 2>&5
12590 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12591 (exit $ac_status); }; }; then
12594 $as_echo "$as_me: program exited with status $ac_status" >&5
12595 $as_echo "$as_me: failed program was:" >&5
12596 sed 's/^/| /' conftest.$ac_ext >&5
12598 ( exit $ac_status )
12601 rm -rf conftest.dSYM
12602 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12606 CFLAGS="$ac_save_CFLAGS"
12607 CXXFLAGS="$ac_save_CXXFLAGS"
12608 LIBS="$ac_save_LIBS"
12611 if test "x$no_sdl" = x ; then
12612 { $as_echo "$as_me:$LINENO: result: yes" >&5
12613 $as_echo "yes" >&6; }
12616 { $as_echo "$as_me:$LINENO: result: no" >&5
12617 $as_echo "no" >&6; }
12618 if test "$SDL_CONFIG" = "no" ; then
12619 echo "*** The sdl-config script installed by SDL could not be found"
12620 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
12621 echo "*** your path, or set the SDL_CONFIG environment variable to the"
12622 echo "*** full path to sdl-config."
12624 if test -f conf.sdltest ; then
12627 echo "*** Could not run SDL test program, checking why..."
12628 CFLAGS="$CFLAGS $SDL_CFLAGS"
12629 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
12630 LIBS="$LIBS $SDL_LIBS"
12631 cat >conftest.$ac_ext <<_ACEOF
12634 cat confdefs.h >>conftest.$ac_ext
12635 cat >>conftest.$ac_ext <<_ACEOF
12636 /* end confdefs.h. */
12641 int main(int argc, char *argv[])
12644 #define main K_and_R_C_main
12654 rm -f conftest.$ac_objext conftest$ac_exeext
12655 if { (ac_try="$ac_link"
12656 case "(($ac_try" in
12657 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12658 *) ac_try_echo
=$ac_try;;
12660 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12661 $as_echo "$ac_try_echo") >&5
12662 (eval "$ac_link") 2>conftest.er1
12664 grep -v '^ *+' conftest.er1
>conftest.err
12666 cat conftest.err
>&5
12667 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12668 (exit $ac_status); } && {
12669 test -z "$ac_c_werror_flag" ||
12670 test ! -s conftest.err
12671 } && test -s conftest
$ac_exeext && {
12672 test "$cross_compiling" = yes ||
12673 $as_test_x conftest
$ac_exeext
12675 echo "*** The test program compiled, but did not run. This usually means"
12676 echo "*** that the run-time linker is not finding SDL or finding the wrong"
12677 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
12678 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12679 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12680 echo "*** is required on your system"
12682 echo "*** If you have an old version installed, it is best to remove it, although"
12683 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12685 $as_echo "$as_me: failed program was:" >&5
12686 sed 's/^/| /' conftest.
$ac_ext >&5
12688 echo "*** The test program failed to compile or link. See the file config.log for the"
12689 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
12690 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
12691 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
12694 rm -rf conftest.dSYM
12695 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12696 conftest
$ac_exeext conftest.
$ac_ext
12697 CFLAGS
="$ac_save_CFLAGS"
12698 CXXFLAGS
="$ac_save_CXXFLAGS"
12699 LIBS
="$ac_save_LIBS"
12711 if test "x-$have_sdl" != "x-yes" ; then
12713 if test "x-$sdl_hidd" != "x-auto" ; then
12714 { { $as_echo "$as_me:$LINENO: error: SDL libs/headers not found, cannot build SDL hidd as requested" >&5
12715 $as_echo "$as_me: error: SDL libs/headers not found, cannot build SDL hidd as requested" >&2;}
12716 { (exit 1); exit 1; }; }
12720 sdl_hidd_target
=kernel-hidd-sdl
12721 aros_host_sdl_cflags
=SDL_CFLAGS
12722 aros_host_sdl_libs
=SDL_LIBS
12729 { $as_echo "$as_me:$LINENO: checking if building of dbus.library is enabled" >&5
12730 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
12731 # Check whether --enable-dbus was given.
12732 if test "${enable_dbus+set}" = set; then
12733 enableval
=$enable_dbus; dbus
="yes"
12738 if test "$dbus" = "yes" ; then
12740 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
12741 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
12742 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
12743 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
12747 { $as_echo "$as_me:$LINENO: result: $dbus" >&5
12748 $as_echo "$dbus" >&6; }
12847 # Native version related
12851 # Palm native version related
12854 # Unix/Hosted version related
12873 # Collect-aros stuff: "-ius" to ignore undefined symbols
12876 # C compiler related
12879 case "$aros_flavour" in
12880 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
12881 aros_flavour
="emulation" ;;
12882 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
12883 aros_flavour
="emulation" ;;
12884 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
12885 aros_flavour
="standalone";;
12886 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
12887 aros_flavour
="native" ;;
12888 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
12889 aros_flavour
="native" ;;
12890 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
12891 aros_flavour
="linklib" ;;
12892 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
12893 aros_flavour
="palmnative" ;;
12894 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
12895 aros_flavour
="mac68knative" ;;
12896 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
12897 aros_flavour
="ppcnative" ;;
12900 if test ! -d ${aros_inc_dir} ; then
12901 ${MKDIR} ${aros_inc_dir}
12903 if test ! -d ${aros_geninc_dir} ; then
12904 ${MKDIR} ${aros_geninc_dir}
12906 if test ! -d ${aros_hostcfg_dir} ; then
12907 ${MKDIR} ${aros_hostcfg_dir}
12909 if test ! -d ${aros_targetcfg_dir} ; then
12910 ${MKDIR} ${aros_targetcfg_dir}
12912 if test ! -d ${aros_tools_dir} ; then
12913 ${MKDIR} ${aros_tools_dir}
12915 if test ! -d ${aros_scripts_dir} ; then
12916 ${MKDIR} ${aros_scripts_dir}
12919 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
12922 ac_config_commands
="$ac_config_commands compiler_executable"
12924 ac_config_commands
="$ac_config_commands genshared_executable"
12926 ac_config_commands
="$ac_config_commands genmf_executable"
12929 ac_config_files
="$ac_config_files Makefile config/make.cfg ${aros_inc_dir}/config.h:config/config.h.in ${aros_geninc_dir}/config.h:config/config.h.in ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in mmake.config ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in ${aros_targetcfg_dir}/specs:config/specs.in ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-gcc:scripts/aros-gcc.in ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-ld:scripts/aros-ld.in ${aros_scripts_dir}/genshared:compiler/c_lib/source/lib_source/genshared.in ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py tools/collect-aros/env.h"
12932 cat >confcache
<<\_ACEOF
12933 # This file is a shell script that caches the results of configure
12934 # tests run on this system so they can be shared between configure
12935 # scripts and configure runs, see configure's option --config-cache.
12936 # It is not useful on other systems. If it contains results you don't
12937 # want to keep, you may remove or edit it.
12939 # config.status only pays attention to the cache file if you give it
12940 # the --recheck option to rerun configure.
12942 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12943 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12944 # following values.
12948 # The following way of writing the cache mishandles newlines in values,
12949 # but we know of no workaround that is simple, portable, and efficient.
12950 # So, we kill variables containing newlines.
12951 # Ultrix sh set writes to stderr and can't be redirected directly,
12952 # and sets the high bit in the cache file unless we assign to the vars.
12954 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12955 eval ac_val
=\$
$ac_var
12959 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
12960 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12963 _ | IFS | as_nl
) ;; #(
12964 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12965 *) $as_unset $ac_var ;;
12971 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12972 *${as_nl}ac_space
=\
*)
12973 # `set' does not quote correctly, so add quotes (double-quote
12974 # substitution turns \\\\ into \\, and sed turns \\ into \).
12977 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12980 # `set' quotes correctly as required by POSIX, so do not add quotes.
12981 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12990 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12992 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12994 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12995 if test -w "$cache_file"; then
12996 test "x$cache_file" != "x/dev/null" &&
12997 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
12998 $as_echo "$as_me: updating cache $cache_file" >&6;}
12999 cat confcache
>$cache_file
13001 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13002 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13007 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13008 # Let make expand exec_prefix.
13009 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13011 DEFS
=-DHAVE_CONFIG_H
13015 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13016 # 1. Remove the extension, and $U if already installed.
13017 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13018 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13019 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13020 # will be set to the directory where LIBOBJS objects are built.
13021 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13022 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
13024 LIBOBJS
=$ac_libobjs
13026 LTLIBOBJS
=$ac_ltlibobjs
13030 : ${CONFIG_STATUS=./config.status}
13032 ac_clean_files_save
=$ac_clean_files
13033 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13034 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13035 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13036 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13038 # Generated by $as_me.
13039 # Run this file to recreate the current configuration.
13040 # Compiler output produced by configure, useful for debugging
13041 # configure, is in config.log if it exists.
13044 ac_cs_recheck=false
13046 SHELL=\${CONFIG_SHELL-$SHELL}
13049 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13050 ## --------------------- ##
13051 ## M4sh Initialization. ##
13052 ## --------------------- ##
13054 # Be more Bourne compatible
13055 DUALCASE
=1; export DUALCASE
# for MKS sh
13056 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
13059 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13060 # is contrary to our usage. Disable this feature.
13061 alias -g '${1+"$@"}'='"$@"'
13062 setopt NO_GLOB_SUBST
13064 case `(set -o) 2>/dev/null` in
13065 *posix
*) set -o posix
;;
13074 # Avoid depending upon Character Ranges.
13075 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13076 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13077 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13078 as_cr_digits
='0123456789'
13079 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13084 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13085 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13086 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13087 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13088 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13089 as_echo='printf %s
\n'
13090 as_echo_n='printf %s
'
13092 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13093 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13094 as_echo_n='/usr
/ucb
/echo -n'
13096 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13097 as_echo_n_body='eval
13101 expr "X$arg" : "X\\(.*\\)$as_nl";
13102 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13104 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13106 export as_echo_n_body
13107 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13109 export as_echo_body
13110 as_echo='sh
-c $as_echo_body as_echo
'
13113 # The user is always right.
13114 if test "${PATH_SEPARATOR+set}" != set; then
13116 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13117 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13122 # Support unset when possible.
13123 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13131 # We need space, tab and new line, in precisely that order. Quoting is
13132 # there to prevent editors from complaining about space-tab.
13133 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13134 # splitting by setting IFS to empty value.)
13137 # Find who we are. Look in the path if we contain no directory separator.
13139 *[\\/]* ) as_myself=$0 ;;
13140 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13141 for as_dir in $PATH
13144 test -z "$as_dir" && as_dir=.
13145 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13151 # We did not find ourselves, most probably we were run as `sh COMMAND'
13152 # in which case we are not to be found in the path.
13153 if test "x$as_myself" = x
; then
13156 if test ! -f "$as_myself"; then
13157 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13158 { (exit 1); exit 1; }
13161 # Work around bugs in pre-3.0 UWIN ksh.
13162 for as_var
in ENV MAIL MAILPATH
13163 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
13175 # Required to use basename.
13176 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13177 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13183 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13184 as_basename
=basename
13190 # Name of the executable.
13191 as_me
=`$as_basename -- "$0" ||
13192 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13193 X"$0" : 'X\(//\)$' \| \
13194 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13196 sed '/^.*\/\([^/][^/]*\)\/*$/{
13215 as_lineno_1
=$LINENO
13216 as_lineno_2
=$LINENO
13217 test "x$as_lineno_1" != "x$as_lineno_2" &&
13218 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
13220 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13221 # uniformly replaced by the line number. The first 'sed' inserts a
13222 # line-number line after each line using $LINENO; the second 'sed'
13223 # does the real work. The second script uses 'N' to pair each
13224 # line-number line with the line containing $LINENO, and appends
13225 # trailing '-' during substitution so that $LINENO is not a special
13226 # case at line end.
13227 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13228 # scripts with optimization help from Paolo Bonzini. Blame Lee
13229 # E. McMahon (1931-1989) for sed's syntax. :-)
13241 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13244 ' >$as_me.lineno
&&
13245 chmod +x
"$as_me.lineno" ||
13246 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13247 { (exit 1); exit 1; }; }
13249 # Don't try to exec as it changes $[0], causing all sort of problems
13250 # (the dirname of $[0] is not the place where we might find the
13251 # original and so on. Autoconf is especially sensitive to this).
13252 .
"./$as_me.lineno"
13253 # Exit status is that of the last command.
13258 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13264 ECHO_C
= ECHO_N
= ECHO_T
=
13265 case `echo -n x` in
13267 case `echo 'x\c'` in
13268 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13274 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13275 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13281 rm -f conf$$ conf$$.exe conf$$.
file
13282 if test -d conf$$.dir
; then
13283 rm -f conf$$.dir
/conf$$.
file
13286 mkdir conf$$.dir
2>/dev
/null
13288 if (echo >conf$$.
file) 2>/dev
/null
; then
13289 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13291 # ... but there are two gotchas:
13292 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13293 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13294 # In both cases, we have to default to `cp -p'.
13295 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13297 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13305 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13306 rmdir conf$$.dir
2>/dev
/null
13308 if mkdir
-p .
2>/dev
/null
; then
13311 test -d .
/-p && rmdir .
/-p
13315 if test -x / >/dev
/null
2>&1; then
13316 as_test_x
='test -x'
13318 if ls -dL / >/dev
/null
2>&1; then
13325 if test -d "$1"; then
13331 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13332 ???[sx]*):;;*)false;;esac;fi
13336 as_executable_p
=$as_test_x
13338 # Sed expression to map a string onto a valid CPP name.
13339 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13341 # Sed expression to map a string onto a valid variable name.
13342 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13347 # Save the log message, to keep $[0] and so on meaningful, and to
13348 # report actual input values of CONFIG_FILES etc. instead of their
13349 # values after options handling.
13351 This file was extended by $as_me, which was
13352 generated by GNU Autoconf 2.63. Invocation command line was
13354 CONFIG_FILES = $CONFIG_FILES
13355 CONFIG_HEADERS = $CONFIG_HEADERS
13356 CONFIG_LINKS = $CONFIG_LINKS
13357 CONFIG_COMMANDS = $CONFIG_COMMANDS
13360 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13365 case $ac_config_files in *"
13366 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13369 case $ac_config_headers in *"
13370 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13374 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13375 # Files that config.status was made for.
13376 config_files="$ac_config_files"
13377 config_headers="$ac_config_headers"
13378 config_commands="$ac_config_commands"
13382 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13384 \`$as_me' instantiates files from templates according to the
13385 current configuration.
13387 Usage: $0 [OPTION]... [FILE]...
13389 -h, --help print this help, then exit
13390 -V, --version print version number and configuration settings, then exit
13391 -q, --quiet, --silent
13392 do not print progress messages
13393 -d, --debug don't remove temporary files
13394 --recheck update $as_me by reconfiguring in the same conditions
13395 --file=FILE[:TEMPLATE]
13396 instantiate the configuration file FILE
13397 --header=FILE[:TEMPLATE]
13398 instantiate the configuration header FILE
13400 Configuration files:
13403 Configuration headers:
13406 Configuration commands:
13409 Report bugs to <bug-autoconf@gnu.org>."
13412 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13415 configured by $0, generated by GNU Autoconf 2.63,
13416 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13418 Copyright (C) 2008 Free Software Foundation, Inc.
13419 This config.status script is free software; the Free Software Foundation
13420 gives unlimited permission to copy, distribute and modify it."
13424 test -n "\$AWK" || AWK=awk
13427 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13428 # The default lists apply if the user does not specify any file.
13434 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13435 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13446 # Handling of the options.
13447 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13449 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13450 $as_echo "$ac_cs_version"; exit ;;
13451 --debug |
--debu |
--deb |
--de |
--d |
-d )
13453 --file |
--fil |
--fi |
--f )
13456 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13458 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
13459 ac_need_defaults
=false
;;
13460 --header |
--heade |
--head |
--hea )
13463 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13465 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
13466 ac_need_defaults
=false
;;
13468 # Conflict between --help and --header
13469 { $as_echo "$as_me: error: ambiguous option: $1
13470 Try \`$0 --help' for more information." >&2
13471 { (exit 1); exit 1; }; };;
13472 --help |
--hel |
-h )
13473 $as_echo "$ac_cs_usage"; exit ;;
13474 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13475 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13478 # This is an error.
13479 -*) { $as_echo "$as_me: error: unrecognized option: $1
13480 Try \`$0 --help' for more information." >&2
13481 { (exit 1); exit 1; }; } ;;
13483 *) ac_config_targets
="$ac_config_targets $1"
13484 ac_need_defaults
=false
;;
13490 ac_configure_extra_args
=
13492 if $ac_cs_silent; then
13494 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13498 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13499 if \$ac_cs_recheck; then
13500 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13502 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13503 CONFIG_SHELL='$SHELL'
13504 export CONFIG_SHELL
13509 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13513 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13514 ## Running $as_me. ##
13520 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13525 aros_host_exe_suffix=${aros_host_exe_suffix}
13526 aros_tools_dir=${aros_tools_dir}
13527 aros_target_cpu=${aros_target_cpu}
13528 aros_target_arch=${aros_target_arch}
13529 aros_target_suffix=${aros_target_suffix}
13530 aros_target_nm_ln=${aros_target_nm_ln}
13531 aros_target_as_ln=${aros_target_as_ln}
13532 aros_target_ar_ln=${aros_target_ar_ln}
13533 aros_target_ranlib_ln=${aros_target_ranlib_ln}
13534 aros_target_objdump_ln=${aros_target_objdump_ln}
13535 aros_target_objcopy_ln=${aros_target_objcopy_ln}
13536 aros_target_strip_ln=${aros_target_strip_ln}
13539 aros_scripts_dir=${aros_scripts_dir}
13541 aros_tools_dir=${aros_tools_dir}
13546 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13548 # Handling of arguments.
13549 for ac_config_target
in $ac_config_targets
13551 case $ac_config_target in
13552 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
13553 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
13554 "genshared_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genshared_executable" ;;
13555 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
13556 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13557 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
13558 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
13559 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
13560 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
13561 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
13562 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
13563 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
13564 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
13565 "${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" ;;
13566 "${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" ;;
13567 "${aros_scripts_dir}/genshared") CONFIG_FILES
="$CONFIG_FILES ${aros_scripts_dir}/genshared:compiler/c_lib/source/lib_source/genshared.in" ;;
13568 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
13569 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
13571 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13572 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13573 { (exit 1); exit 1; }; };;
13578 # If the user did not use the arguments to specify the items to instantiate,
13579 # then the envvar interface is used. Set only those that are not.
13580 # We use the long form for the default assignment because of an extremely
13581 # bizarre bug on SunOS 4.1.3.
13582 if $ac_need_defaults; then
13583 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13584 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13585 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13588 # Have a temporary directory for convenience. Make it in the build tree
13589 # simply because there is no reason against having it here, and in addition,
13590 # creating and moving files from /tmp can sometimes cause problems.
13591 # Hook for its removal unless debugging.
13592 # Note that there is a small window in which the directory will not be cleaned:
13593 # after its creation but before its name has been assigned to `$tmp'.
13597 trap 'exit_status=$?
13598 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13600 trap '{ (exit 1); exit 1; }' 1 2 13 15
13602 # Create a (secure) tmp directory for tmp files.
13605 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13606 test -n "$tmp" && test -d "$tmp"
13609 tmp
=.
/conf$$
-$RANDOM
13610 (umask 077 && mkdir
"$tmp")
13613 $as_echo "$as_me: cannot create a temporary directory in ." >&2
13614 { (exit 1); exit 1; }
13617 # Set up the scripts for CONFIG_FILES section.
13618 # No need to generate them if there are no CONFIG_FILES.
13619 # This happens for instance with `./config.status config.h'.
13620 if test -n "$CONFIG_FILES"; then
13625 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13626 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13629 ac_cs_awk_cr
=$ac_cr
13632 echo 'BEGIN {' >"$tmp/subs1.awk" &&
13637 echo "cat >conf$$subs.awk <<_ACEOF" &&
13638 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13640 } >conf$$subs.sh ||
13641 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
13642 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
13643 { (exit 1); exit 1; }; }
13644 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13646 for ac_last_try in false false false false false :; do
13647 . ./conf$$subs.sh ||
13648 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
13649 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
13650 { (exit 1); exit 1; }; }
13652 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13653 if test $ac_delim_n = $ac_delim_num; then
13655 elif $ac_last_try; then
13656 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
13657 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
13658 { (exit 1); exit 1; }; }
13660 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13663 rm -f conf$$subs.sh
13665 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13666 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
13670 s/^/S["/; s
/!.
*/"]=/
13680 s/\(.\{148\}\).*/\1/
13682 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13687 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13694 s/\(.\{148\}\).*/\1/
13696 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13700 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13705 ' <conf$$subs.awk | sed '
13710 ' >>$CONFIG_STATUS || ac_write_fail=1
13711 rm -f conf$$subs.awk
13712 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13714 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
13715 for (key in S) S_is_set[key] = 1
13721 nfields = split(line, field, "@
")
13723 len = length(field[1])
13724 for (i = 2; i < nfields; i++) {
13726 keylen = length(key)
13727 if (S_is_set[key]) {
13729 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13730 len += length(value) + length(field[++i])
13741 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13742 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13743 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13746 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
13747 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
13748 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
13749 { (exit 1); exit 1; }; }
13752 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13753 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
13754 # trailing colons and then remove the whole line if VPATH becomes empty
13755 # (actually we leave an empty line to preserve line numbers).
13756 if test "x
$srcdir" = x.; then
13757 ac_vpsub='/^[ ]*VPATH[ ]*=/{
13758 s/:*\$(srcdir):*/:/
13759 s/:*\${srcdir}:*/:/
13761 s/^\([^=]*=[ ]*\):*/\1/
13767 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13768 fi # test -n "$CONFIG_FILES"
13770 # Set up the scripts for CONFIG_HEADERS section.
13771 # No need to generate them if there are no CONFIG_HEADERS.
13772 # This happens for instance with `./config.status Makefile'.
13773 if test -n "$CONFIG_HEADERS"; then
13774 cat >"$tmp/defines.
awk" <<\_ACAWK ||
13778 # Transform confdefs.h into an awk script `defines.awk', embedded as
13779 # here-document in config.status, that substitutes the proper values into
13780 # config.h.in to produce config.h.
13782 # Create a delimiter string that does not exist in confdefs.h, to ease
13783 # handling of long lines.
13785 for ac_last_try in false false :; do
13786 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
13787 if test -z "$ac_t"; then
13789 elif $ac_last_try; then
13790 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
13791 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
13792 { (exit 1); exit 1; }; }
13794 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13798 # For the awk script, D is an array of macro values keyed by name,
13799 # likewise P contains macro parameters if any. Preserve backslash
13800 # newline sequences.
13802 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13804 s/.\{148\}/&'"$ac_delim"'/g
13807 s/^[ ]*#[ ]*define[ ][ ]*/ /
13814 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13816 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13820 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13821 D["\
1"]=" \
3\\\\\\n
"\\/p
13823 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13828 s/.\{148\}/&'"$ac_delim"'/g
13833 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13836 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13838 ' <confdefs.h | sed '
13839 s/'"$ac_delim"'/"\\\
13840 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13842 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13843 for (key in D) D_is_set[key] = 1
13846 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13848 split(line, arg, " ")
13849 if (arg[1] == "#") {
13853 defundef
= substr
(arg
[1], 2)
13856 split(mac1
, mac2
, "(") #)
13858 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13859 if (D_is_set
[macro
]) {
13860 # Preserve the white space surrounding the "#".
13861 print prefix
"define", macro P
[macro
] D
[macro
]
13864 # Replace #undef with comments. This is necessary, for example,
13865 # in the case of _POSIX_SOURCE, which is predefined and required
13866 # on some systems where configure will not decide to define it.
13867 if (defundef
== "undef") {
13868 print
"/*", prefix defundef
, macro
, "*/"
13876 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13877 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
13878 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
13879 { (exit 1); exit 1; }; }
13880 fi # test -n "$CONFIG_HEADERS"
13883 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13888 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13890 case $ac_mode$ac_tag in
13892 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
13893 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
13894 { (exit 1); exit 1; }; };;
13895 :[FH
]-) ac_tag
=-:-;;
13896 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13913 -) ac_f
="$tmp/stdin";;
13914 *) # Look for the file first in the build tree, then in the source tree
13915 # (if the path is not absolute). The absolute path cannot be DOS-style,
13916 # because $ac_f cannot contain `:'.
13920 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13922 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
13923 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
13924 { (exit 1); exit 1; }; };;
13926 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13927 ac_file_inputs
="$ac_file_inputs '$ac_f'"
13930 # Let's still pretend it is `configure' which instantiates (i.e., don't
13931 # use $as_me), people would be surprised to read:
13932 # /* config.h. Generated by config.status. */
13933 configure_input
='Generated from '`
13934 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13936 if test x
"$ac_file" != x-
; then
13937 configure_input
="$ac_file. $configure_input"
13938 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
13939 $as_echo "$as_me: creating $ac_file" >&6;}
13941 # Neutralize special characters interpreted by sed in replacement strings.
13942 case $configure_input in #(
13943 *\
&* |
*\|
* |
*\\* )
13944 ac_sed_conf_input
=`$as_echo "$configure_input" |
13945 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13946 *) ac_sed_conf_input
=$configure_input;;
13950 *:-:* |
*:-) cat >"$tmp/stdin" \
13951 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13952 $as_echo "$as_me: error: could not create $ac_file" >&2;}
13953 { (exit 1); exit 1; }; } ;;
13958 ac_dir
=`$as_dirname -- "$ac_file" ||
13959 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13960 X"$ac_file" : 'X\(//\)[^/]' \| \
13961 X"$ac_file" : 'X\(//\)$' \| \
13962 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13963 $as_echo X"$ac_file" |
13964 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13968 /^X\(\/\/\)[^/].*/{
13983 -*) as_dir
=.
/$as_dir;;
13985 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
13989 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13990 *) as_qdir
=$as_dir;;
13992 as_dirs
="'$as_qdir' $as_dirs"
13993 as_dir
=`$as_dirname -- "$as_dir" ||
13994 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13995 X"$as_dir" : 'X\(//\)[^/]' \| \
13996 X"$as_dir" : 'X\(//\)$' \| \
13997 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13998 $as_echo X"$as_dir" |
13999 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14003 /^X\(\/\/\)[^/].*/{
14016 test -d "$as_dir" && break
14018 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14019 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14020 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
14021 { (exit 1); exit 1; }; }; }
14025 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14027 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14028 # A ".." for each directory in $ac_dir_suffix.
14029 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14030 case $ac_top_builddir_sub in
14031 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14032 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14035 ac_abs_top_builddir
=$ac_pwd
14036 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14037 # for backward compatibility:
14038 ac_top_builddir
=$ac_top_build_prefix
14041 .
) # We are building in place.
14043 ac_top_srcdir
=$ac_top_builddir_sub
14044 ac_abs_top_srcdir
=$ac_pwd ;;
14045 [\\/]* | ?
:[\\/]* ) # Absolute name.
14046 ac_srcdir
=$srcdir$ac_dir_suffix;
14047 ac_top_srcdir
=$srcdir
14048 ac_abs_top_srcdir
=$srcdir ;;
14049 *) # Relative name.
14050 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14051 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14052 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14054 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14065 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14066 # If the template does not know about datarootdir, expand it.
14067 # FIXME: This hack should be removed a few years after 2.60.
14068 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14081 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14082 *datarootdir
*) ac_datarootdir_seen
=yes;;
14083 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14084 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14085 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14087 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14088 ac_datarootdir_hack='
14089 s&@datadir@&$datadir&g
14090 s&@docdir@&$docdir&g
14091 s&@infodir@&$infodir&g
14092 s&@localedir@&$localedir&g
14093 s&@mandir@&$mandir&g
14094 s&\\\${datarootdir}&$datarootdir&g' ;;
14098 # Neutralize VPATH when `$srcdir' = `.'.
14099 # Shell code in configure.ac might set extrasub.
14100 # FIXME: do we really want to maintain this feature?
14101 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14102 ac_sed_extra="$ac_vpsub
14105 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14107 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14108 s|@configure_input@|
$ac_sed_conf_input|
;t t
14109 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14110 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14111 s
&@srcdir@
&$ac_srcdir&;t t
14112 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14113 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14114 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14115 s
&@builddir@
&$ac_builddir&;t t
14116 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14117 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14118 $ac_datarootdir_hack
14120 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
14121 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
14122 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
14123 { (exit 1); exit 1; }; }
14125 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14126 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
14127 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
14128 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14129 which seems to be undefined. Please make sure it is defined." >&5
14130 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14131 which seems to be undefined. Please make sure it is defined." >&2;}
14135 -) cat "$tmp/out" && rm -f "$tmp/out";;
14136 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14138 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14139 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14140 { (exit 1); exit 1; }; }
14146 if test x"$ac_file" != x-; then
14148 $as_echo "/* $configure_input */" \
14149 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14150 } >"$tmp/config.h" \
14151 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14152 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14153 { (exit 1); exit 1; }; }
14154 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14155 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14156 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14159 mv "$tmp/config.h" "$ac_file" \
14160 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14161 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14162 { (exit 1); exit 1; }; }
14165 $as_echo "/* $configure_input */" \
14166 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14167 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
14168 $as_echo "$as_me: error: could not create -" >&2;}
14169 { (exit 1); exit 1; }; }
14173 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
14174 $as_echo "$as_me: executing $ac_file commands" >&6;}
14179 case $ac_file$ac_mode in
14180 "compiler_executable":C)
14181 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
14183 prefix="${prefix}/${aros_target_cpu}-aros"
14184 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
14188 chmod a+x ${prefix2}-gcc ${prefix2}-ld
14190 ln -sf ${prefix2}-gcc ${prefix}-gcc
14191 ln -sf ${prefix2}-ld ${prefix}-ld
14193 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix}-as
14194 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix}-nm
14195 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix}-ar
14196 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix}-ranlib
14197 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix}-objcopy
14198 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix}-objdump
14199 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix}-strip
14201 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix2}-as
14202 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix2}-nm
14203 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix2}-ar
14204 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix2}-ranlib
14205 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix2}-objcopy
14206 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix2}-objdump
14207 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix2}-strip
14209 "genshared_executable":C) chmod a+x ${aros_scripts_dir}/genshared ;;
14210 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
14216 { (exit 0); exit 0; }
14218 chmod +x $CONFIG_STATUS
14219 ac_clean_files=$ac_clean_files_save
14221 test $ac_write_fail = 0 ||
14222 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
14223 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
14224 { (exit 1); exit 1; }; }
14227 # configure is writing to config.log, and then calls config.status.
14228 # config.status does its own redirection, appending to config.log.
14229 # Unfortunately, on DOS this fails, as config.log is still kept open
14230 # by configure, so config.status won't be able to
write to it
; its
14231 # output is simply discarded. So we exec the FD to /dev/null,
14232 # effectively closing config.log, so it can be properly (re)opened and
14233 # appended to by config.status. When coming back to configure, we
14234 # need to make the FD available again.
14235 if test "$no_create" != yes; then
14237 ac_config_status_args
=
14238 test "$silent" = yes &&
14239 ac_config_status_args
="$ac_config_status_args --quiet"
14241 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14243 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14244 # would make configure fail if this is the last instruction.
14245 $ac_cs_success ||
{ (exit 1); exit 1; }
14247 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
14248 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14249 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14254 #XXX compatability...
14255 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
14257 if test -n "$aros_shared_cflags" ; then
14258 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
14259 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg