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
688 aros_target_cc_includes
700 aros_target_bootloader
726 aros_cflags_iquote_end
728 aros_target_nostdlib_ldflags
729 aros_target_detach_ldflags
730 aros_target_nix_ldflags
731 aros_target_nostartup_ldflags
732 aros_target_nostdinc_cflags
735 aros_target_ranlib_ln
736 aros_target_objdump_ln
737 aros_target_objcopy_ln
833 program_transform_name
845 enable_option_checking
852 enable_target_variant
860 enable_palm_debug_hack
861 enable_nesting_supervisor
872 ac_precious_vars
='build_alias
884 # Initialize some variables set by options.
886 ac_init_version
=false
887 ac_unrecognized_opts
=
889 # The variables have the same names as the options, with
890 # dashes changed to underlines.
898 program_transform_name
=s
,x
,x
,
906 # Installation directory options.
907 # These are left unexpanded so users can "make install exec_prefix=/foo"
908 # and all the variables that are supposed to be based on exec_prefix
909 # by default will actually change.
910 # Use braces instead of parens because sh, perl, etc. also accept them.
911 # (The list follows the same order as the GNU Coding Standards.)
912 bindir
='${exec_prefix}/bin'
913 sbindir
='${exec_prefix}/sbin'
914 libexecdir
='${exec_prefix}/libexec'
915 datarootdir
='${prefix}/share'
916 datadir
='${datarootdir}'
917 sysconfdir
='${prefix}/etc'
918 sharedstatedir
='${prefix}/com'
919 localstatedir
='${prefix}/var'
920 includedir
='${prefix}/include'
921 oldincludedir
='/usr/include'
922 docdir
='${datarootdir}/doc/${PACKAGE}'
923 infodir
='${datarootdir}/info'
928 libdir
='${exec_prefix}/lib'
929 localedir
='${datarootdir}/locale'
930 mandir
='${datarootdir}/man'
936 # If the previous option needs an argument, assign it.
937 if test -n "$ac_prev"; then
938 eval $ac_prev=\
$ac_option
944 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
948 # Accept the important Cygnus configure options, so we can diagnose typos.
950 case $ac_dashdash$ac_option in
954 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
956 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
959 -build |
--build |
--buil |
--bui |
--bu)
960 ac_prev
=build_alias
;;
961 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
962 build_alias
=$ac_optarg ;;
964 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
965 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
966 ac_prev
=cache_file
;;
967 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
968 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
969 cache_file
=$ac_optarg ;;
972 cache_file
=config.cache
;;
974 -datadir |
--datadir |
--datadi |
--datad)
976 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
977 datadir
=$ac_optarg ;;
979 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
980 |
--dataroo |
--dataro |
--datar)
981 ac_prev
=datarootdir
;;
982 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
983 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
984 datarootdir
=$ac_optarg ;;
986 -disable-* |
--disable-*)
987 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
988 # Reject names that are not valid shell variable names.
989 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
990 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
991 { (exit 1); exit 1; }; }
992 ac_useropt_orig
=$ac_useropt
993 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
994 case $ac_user_opts in
998 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
999 ac_unrecognized_sep
=', ';;
1001 eval enable_
$ac_useropt=no
;;
1003 -docdir |
--docdir |
--docdi |
--doc |
--do)
1005 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1006 docdir
=$ac_optarg ;;
1008 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1010 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1011 dvidir
=$ac_optarg ;;
1013 -enable-* |
--enable-*)
1014 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1015 # Reject names that are not valid shell variable names.
1016 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1017 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1018 { (exit 1); exit 1; }; }
1019 ac_useropt_orig
=$ac_useropt
1020 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1021 case $ac_user_opts in
1023 "enable_
$ac_useropt"
1025 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1026 ac_unrecognized_sep
=', ';;
1028 eval enable_
$ac_useropt=\
$ac_optarg ;;
1030 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1031 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1032 |
--exec |
--exe |
--ex)
1033 ac_prev
=exec_prefix
;;
1034 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1035 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1036 |
--exec=* |
--exe=* |
--ex=*)
1037 exec_prefix
=$ac_optarg ;;
1039 -gas |
--gas |
--ga |
--g)
1040 # Obsolete; use --with-gas.
1043 -help |
--help |
--hel |
--he |
-h)
1044 ac_init_help
=long
;;
1045 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1046 ac_init_help
=recursive
;;
1047 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1048 ac_init_help
=short
;;
1050 -host |
--host |
--hos |
--ho)
1051 ac_prev
=host_alias
;;
1052 -host=* |
--host=* |
--hos=* |
--ho=*)
1053 host_alias
=$ac_optarg ;;
1055 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1057 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1059 htmldir
=$ac_optarg ;;
1061 -includedir |
--includedir |
--includedi |
--included |
--include \
1062 |
--includ |
--inclu |
--incl |
--inc)
1063 ac_prev
=includedir
;;
1064 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1065 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1066 includedir
=$ac_optarg ;;
1068 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1070 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1071 infodir
=$ac_optarg ;;
1073 -libdir |
--libdir |
--libdi |
--libd)
1075 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1076 libdir
=$ac_optarg ;;
1078 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1079 |
--libexe |
--libex |
--libe)
1080 ac_prev
=libexecdir
;;
1081 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1082 |
--libexe=* |
--libex=* |
--libe=*)
1083 libexecdir
=$ac_optarg ;;
1085 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1086 ac_prev
=localedir
;;
1087 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1088 localedir
=$ac_optarg ;;
1090 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1091 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1092 ac_prev
=localstatedir
;;
1093 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1094 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1095 localstatedir
=$ac_optarg ;;
1097 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1099 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1100 mandir
=$ac_optarg ;;
1102 -nfp |
--nfp |
--nf)
1103 # Obsolete; use --without-fp.
1106 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1107 |
--no-cr |
--no-c |
-n)
1110 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1111 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1114 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1115 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1116 |
--oldin |
--oldi |
--old |
--ol |
--o)
1117 ac_prev
=oldincludedir
;;
1118 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1119 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1120 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1121 oldincludedir
=$ac_optarg ;;
1123 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1125 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1126 prefix
=$ac_optarg ;;
1128 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1129 |
--program-pre |
--program-pr |
--program-p)
1130 ac_prev
=program_prefix
;;
1131 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1132 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1133 program_prefix
=$ac_optarg ;;
1135 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1136 |
--program-suf |
--program-su |
--program-s)
1137 ac_prev
=program_suffix
;;
1138 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1139 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1140 program_suffix
=$ac_optarg ;;
1142 -program-transform-name |
--program-transform-name \
1143 |
--program-transform-nam |
--program-transform-na \
1144 |
--program-transform-n |
--program-transform- \
1145 |
--program-transform |
--program-transfor \
1146 |
--program-transfo |
--program-transf \
1147 |
--program-trans |
--program-tran \
1148 |
--progr-tra |
--program-tr |
--program-t)
1149 ac_prev
=program_transform_name
;;
1150 -program-transform-name=* |
--program-transform-name=* \
1151 |
--program-transform-nam=* |
--program-transform-na=* \
1152 |
--program-transform-n=* |
--program-transform-=* \
1153 |
--program-transform=* |
--program-transfor=* \
1154 |
--program-transfo=* |
--program-transf=* \
1155 |
--program-trans=* |
--program-tran=* \
1156 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1157 program_transform_name
=$ac_optarg ;;
1159 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1161 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1162 pdfdir
=$ac_optarg ;;
1164 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1166 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1169 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1170 |
-silent |
--silent |
--silen |
--sile |
--sil)
1173 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1175 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1177 sbindir
=$ac_optarg ;;
1179 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1180 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1181 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1183 ac_prev
=sharedstatedir
;;
1184 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1185 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1186 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1188 sharedstatedir
=$ac_optarg ;;
1190 -site |
--site |
--sit)
1192 -site=* |
--site=* |
--sit=*)
1195 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1197 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1198 srcdir
=$ac_optarg ;;
1200 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1201 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1202 ac_prev
=sysconfdir
;;
1203 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1204 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1205 sysconfdir
=$ac_optarg ;;
1207 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1208 ac_prev
=target_alias
;;
1209 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1210 target_alias
=$ac_optarg ;;
1212 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1215 -version |
--version |
--versio |
--versi |
--vers |
-V)
1216 ac_init_version
=: ;;
1219 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1220 # Reject names that are not valid shell variable names.
1221 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1222 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1223 { (exit 1); exit 1; }; }
1224 ac_useropt_orig
=$ac_useropt
1225 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1226 case $ac_user_opts in
1230 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1231 ac_unrecognized_sep
=', ';;
1233 eval with_
$ac_useropt=\
$ac_optarg ;;
1235 -without-* |
--without-*)
1236 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1237 # Reject names that are not valid shell variable names.
1238 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1239 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1240 { (exit 1); exit 1; }; }
1241 ac_useropt_orig
=$ac_useropt
1242 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1243 case $ac_user_opts in
1247 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1248 ac_unrecognized_sep
=', ';;
1250 eval with_
$ac_useropt=no
;;
1253 # Obsolete; use --with-x.
1256 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1257 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1258 ac_prev
=x_includes
;;
1259 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1260 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1261 x_includes
=$ac_optarg ;;
1263 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1264 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1265 ac_prev
=x_libraries
;;
1266 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1267 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1268 x_libraries
=$ac_optarg ;;
1270 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1271 Try \`$0 --help' for more information." >&2
1272 { (exit 1); exit 1; }; }
1276 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1277 # Reject names that are not valid shell variable names.
1278 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1279 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1280 { (exit 1); exit 1; }; }
1281 eval $ac_envvar=\
$ac_optarg
1282 export $ac_envvar ;;
1285 # FIXME: should be removed in autoconf 3.0.
1286 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1287 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1288 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1289 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1295 if test -n "$ac_prev"; then
1296 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1297 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1298 { (exit 1); exit 1; }; }
1301 if test -n "$ac_unrecognized_opts"; then
1302 case $enable_option_checking in
1304 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1305 { (exit 1); exit 1; }; } ;;
1306 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1310 # Check all directory arguments for consistency.
1311 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1312 datadir sysconfdir sharedstatedir localstatedir includedir \
1313 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1314 libdir localedir mandir
1316 eval ac_val
=\$
$ac_var
1317 # Remove trailing slashes.
1320 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1321 eval $ac_var=\
$ac_val;;
1323 # Be sure to have absolute directory names.
1325 [\\/$
]* | ?
:[\\/]* ) continue;;
1326 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1328 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1329 { (exit 1); exit 1; }; }
1332 # There might be people who depend on the old broken behavior: `$host'
1333 # used to hold the argument of --host etc.
1334 # FIXME: To remove some day.
1337 target
=$target_alias
1339 # FIXME: To remove some day.
1340 if test "x$host_alias" != x
; then
1341 if test "x$build_alias" = x
; then
1342 cross_compiling
=maybe
1343 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1344 If a cross compiler is detected then cross compile mode will be used." >&2
1345 elif test "x$build_alias" != "x$host_alias"; then
1351 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1353 test "$silent" = yes && exec 6>/dev
/null
1356 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1357 ac_ls_di
=`ls -di .` &&
1358 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1359 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1360 { (exit 1); exit 1; }; }
1361 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1362 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1363 { (exit 1); exit 1; }; }
1366 # Find the source files, if location was not specified.
1367 if test -z "$srcdir"; then
1368 ac_srcdir_defaulted
=yes
1369 # Try the directory containing this script, then the parent directory.
1370 ac_confdir
=`$as_dirname -- "$as_myself" ||
1371 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1372 X"$as_myself" : 'X\(//\)[^/]' \| \
1373 X"$as_myself" : 'X\(//\)$' \| \
1374 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1375 $as_echo X"$as_myself" |
1376 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1394 if test ! -r "$srcdir/$ac_unique_file"; then
1398 ac_srcdir_defaulted
=no
1400 if test ! -r "$srcdir/$ac_unique_file"; then
1401 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1402 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1403 { (exit 1); exit 1; }; }
1405 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1407 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1408 { (exit 1); exit 1; }; }
1410 # When building in place, set srcdir=.
1411 if test "$ac_abs_confdir" = "$ac_pwd"; then
1414 # Remove unnecessary trailing slashes from srcdir.
1415 # Double slashes in file names in object file debugging info
1416 # mess up M-x gdb in Emacs.
1418 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1420 for ac_var
in $ac_precious_vars; do
1421 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1422 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1423 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1424 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1428 # Report the --help message.
1430 if test "$ac_init_help" = "long"; then
1431 # Omit some internal or obsolete options to make the list less imposing.
1432 # This message is too long to be a string in the A/UX 3.1 sh.
1434 \`configure' configures this package to adapt to many kinds of systems.
1436 Usage: $0 [OPTION]... [VAR=VALUE]...
1438 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1439 VAR=VALUE. See below for descriptions of some of the useful variables.
1441 Defaults for the options are specified in brackets.
1444 -h, --help display this help and exit
1445 --help=short display options specific to this package
1446 --help=recursive display the short help of all the included packages
1447 -V, --version display version information and exit
1448 -q, --quiet, --silent do not print \`checking...' messages
1449 --cache-file=FILE cache test results in FILE [disabled]
1450 -C, --config-cache alias for \`--cache-file=config.cache'
1451 -n, --no-create do not create output files
1452 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1454 Installation directories:
1455 --prefix=PREFIX install architecture-independent files in PREFIX
1456 [$ac_default_prefix]
1457 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1460 By default, \`make install' will install all the files in
1461 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1462 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1463 for instance \`--prefix=\$HOME'.
1465 For better control, use the options below.
1467 Fine tuning of the installation directories:
1468 --bindir=DIR user executables [EPREFIX/bin]
1469 --sbindir=DIR system admin executables [EPREFIX/sbin]
1470 --libexecdir=DIR program executables [EPREFIX/libexec]
1471 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1472 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1473 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1474 --libdir=DIR object code libraries [EPREFIX/lib]
1475 --includedir=DIR C header files [PREFIX/include]
1476 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1477 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1478 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1479 --infodir=DIR info documentation [DATAROOTDIR/info]
1480 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1481 --mandir=DIR man documentation [DATAROOTDIR/man]
1482 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1483 --htmldir=DIR html documentation [DOCDIR]
1484 --dvidir=DIR dvi documentation [DOCDIR]
1485 --pdfdir=DIR pdf documentation [DOCDIR]
1486 --psdir=DIR ps documentation [DOCDIR]
1492 --x-includes=DIR X include files are
in DIR
1493 --x-libraries=DIR X library files are
in DIR
1496 --build=BUILD configure
for building on BUILD
[guessed
]
1497 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1501 if test -n "$ac_init_help"; then
1506 --disable-option-checking ignore unrecognized
--enable/--with options
1507 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1508 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1509 --enable-build-type=TYPE
1510 Select the build
type. Available types are
:
1511 personal
, nightly
, snapshot
, milestone
, release. Do
1512 NOT use this option unless you know what you are
1513 doing
! (default
=personal
)
1514 --enable-debug=list Enable different types of debug. Commas or
1515 whitespaces can be used to separate the items
in the
1516 list. Available types of debug are
: all
, none
,
1517 messages
, stack
, mungwall
, modules
, symbols. If no
1518 list is provided
then "all" is assumed.
1520 --enable-crosstools Build cross-compiler toolchains
if necessary
1522 --enable-distcc Use distcc as a front end to the compiler
1524 --enable-ccache Use ccache as a front end to the compiler
1526 --enable-target-variant=NAME
1527 Enable a specific target variant
(default
=none
)
1528 --enable-includes=dir Alternative system include directory
1529 --enable-bochs-hack Enable hacks to
make BOCHS
(partly
) work
1531 --enable-palm-debug-hack
1532 Enable palm debug output hack
in palm native
1534 --enable-nesting-supervisor
1535 Enable nesting supervisor support
in unix
1537 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1538 --enable-x11-shm use X11 shared memory
(default
=auto
)
1539 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1540 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1541 --disable-sdltest Do not try to compile and run a
test SDL program
1542 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1545 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1546 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1547 --with-optimization=FLAGS
1548 Use optimization flags FLAGS
(default
=-O2).
1549 --with-portssources=DIR Where to download sourcecode
for external ports
1550 --with-bootloader=NAME Use a specific bootloader
1551 --with-theme=NAME Use a specific GUI Theme
1552 --with-resolution=XRESxYRESxDEPTH
1553 Default resolution of the initial WorkbenchScreen
1554 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1555 --with-x use the X Window System
1556 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1557 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1559 Some influential environment variables
:
1560 CC C compiler
command
1561 CFLAGS C compiler flags
1562 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1563 nonstandard directory
<lib dir
>
1564 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1565 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1566 you have headers
in a nonstandard directory
<include dir
>
1568 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1570 Use these variables to override the choices made by
`configure' or to help
1571 it to find libraries and programs with nonstandard names/locations.
1577 if test "$ac_init_help" = "recursive"; then
1578 # If there are subdirs, report their specific --help.
1579 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1580 test -d "$ac_dir" ||
1581 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1586 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1588 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1589 # A ".." for each directory in $ac_dir_suffix.
1590 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1591 case $ac_top_builddir_sub in
1592 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1593 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1596 ac_abs_top_builddir=$ac_pwd
1597 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1598 # for backward compatibility:
1599 ac_top_builddir=$ac_top_build_prefix
1602 .) # We are building in place.
1604 ac_top_srcdir=$ac_top_builddir_sub
1605 ac_abs_top_srcdir=$ac_pwd ;;
1606 [\\/]* | ?:[\\/]* ) # Absolute name.
1607 ac_srcdir=$srcdir$ac_dir_suffix;
1608 ac_top_srcdir=$srcdir
1609 ac_abs_top_srcdir=$srcdir ;;
1611 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1612 ac_top_srcdir=$ac_top_build_prefix$srcdir
1613 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1615 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1617 cd "$ac_dir" || { ac_status=$?; continue; }
1618 # Check for guested configure.
1619 if test -f "$ac_srcdir/configure.gnu"; then
1621 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1622 elif test -f "$ac_srcdir/configure"; then
1624 $SHELL "$ac_srcdir/configure" --help=recursive
1626 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1628 cd "$ac_pwd" || { ac_status=$?; break; }
1632 test -n "$ac_init_help" && exit $ac_status
1633 if $ac_init_version; then
1636 generated by GNU Autoconf 2.63
1638 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1639 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1640 This configure script is free software; the Free Software Foundation
1641 gives unlimited permission to copy, distribute and modify it.
1645 cat >config.log <<_ACEOF
1646 This file contains any messages produced by compilers while
1647 running configure, to aid debugging if configure makes a mistake.
1649 It was created by $as_me, which was
1650 generated by GNU Autoconf 2.63. Invocation command line was
1662 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1663 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1664 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1665 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1666 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1668 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1669 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1671 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1672 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1673 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1674 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1675 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1676 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1677 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1685 test -z "$as_dir" && as_dir=.
1686 $as_echo "PATH: $as_dir"
1702 # Keep a trace of the command line.
1703 # Strip out --no-create and --no-recursion so they do not pile up.
1704 # Strip out --silent because we don't want to record it for future runs.
1705 # Also quote any args containing shell meta-characters.
1706 # Make two passes to allow for proper duplicate-argument suppression.
1710 ac_must_keep_next=false
1716 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1717 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1718 | -silent | --silent | --silen | --sile | --sil)
1721 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1724 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1726 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1727 if test $ac_must_keep_next = true; then
1728 ac_must_keep_next=false # Got value, back to normal.
1731 *=* | --config-cache | -C | -disable-* | --disable-* \
1732 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1733 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1734 | -with-* | --with-* | -without-* | --without-* | --x)
1735 case "$ac_configure_args0 " in
1736 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1739 -* ) ac_must_keep_next=true ;;
1742 ac_configure_args="$ac_configure_args '$ac_arg'"
1747 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1748 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1750 # When interrupted or exit'd, cleanup temporary files, and complete
1751 # config.log. We remove comments because anyway the quotes in there
1752 # would cause problems or look ugly.
1753 # WARNING: Use '\'' to represent an apostrophe within the trap.
1754 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1755 trap 'exit_status=$?
1756 # Save into config.log some information that might help in debugging.
1761 ## ---------------- ##
1762 ## Cache variables. ##
1763 ## ---------------- ##
1766 # The following way of writing the cache mishandles newlines in values,
1768 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1769 eval ac_val=\$$ac_var
1773 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1774 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1777 _ | IFS | as_nl) ;; #(
1778 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1779 *) $as_unset $ac_var ;;
1784 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1785 *${as_nl}ac_space=\ *)
1787 "s/'\''/'\''\\\\'\'''\''/g;
1788 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1791 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1799 ## ----------------- ##
1800 ## Output variables. ##
1801 ## ----------------- ##
1804 for ac_var in $ac_subst_vars
1806 eval ac_val=\$$ac_var
1808 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1810 $as_echo "$ac_var='\''$ac_val'\''"
1814 if test -n "$ac_subst_files"; then
1816 ## ------------------- ##
1817 ## File substitutions. ##
1818 ## ------------------- ##
1821 for ac_var in $ac_subst_files
1823 eval ac_val=\$$ac_var
1825 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1827 $as_echo "$ac_var='\''$ac_val'\''"
1832 if test -s confdefs.h; then
1842 test "$ac_signal" != 0 &&
1843 $as_echo "$as_me: caught signal $ac_signal"
1844 $as_echo "$as_me: exit $exit_status"
1846 rm -f core *.core core.conftest.* &&
1847 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1850 for ac_signal in 1 2 13 15; do
1851 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1855 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1856 rm -f -r conftest* confdefs.h
1858 # Predefined preprocessor variables.
1860 cat >>confdefs.h <<_ACEOF
1861 #define PACKAGE_NAME "$PACKAGE_NAME"
1865 cat >>confdefs.h <<_ACEOF
1866 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1870 cat >>confdefs.h <<_ACEOF
1871 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1875 cat >>confdefs.h <<_ACEOF
1876 #define PACKAGE_STRING "$PACKAGE_STRING"
1880 cat >>confdefs.h <<_ACEOF
1881 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1885 # Let the site file select an alternate cache file if it wants to.
1886 # Prefer an explicitly selected file to automatically selected ones.
1889 if test -n "$CONFIG_SITE"; then
1890 ac_site_file1=$CONFIG_SITE
1891 elif test "x$prefix" != xNONE; then
1892 ac_site_file1=$prefix/share/config.site
1893 ac_site_file2=$prefix/etc/config.site
1895 ac_site_file1=$ac_default_prefix/share/config.site
1896 ac_site_file2=$ac_default_prefix/etc/config.site
1898 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1900 test "x$ac_site_file" = xNONE && continue
1901 if test -r "$ac_site_file"; then
1902 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1903 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1904 sed 's/^/| /' "$ac_site_file" >&5
1909 if test -r "$cache_file"; then
1910 # Some versions of bash will fail to source /dev/null (special
1911 # files actually), so we avoid doing that.
1912 if test -f "$cache_file"; then
1913 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1914 $as_echo "$as_me: loading cache $cache_file" >&6;}
1916 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1917 *) . "./$cache_file";;
1921 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1922 $as_echo "$as_me: creating cache $cache_file" >&6;}
1926 # Check that the precious variables saved in the cache have kept the same
1928 ac_cache_corrupted=false
1929 for ac_var in $ac_precious_vars; do
1930 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1931 eval ac_new_set=\$ac_env_${ac_var}_set
1932 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1933 eval ac_new_val=\$ac_env_${ac_var}_value
1934 case $ac_old_set,$ac_new_set in
1936 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1937 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1938 ac_cache_corrupted=: ;;
1940 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1941 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1942 ac_cache_corrupted=: ;;
1945 if test "x$ac_old_val" != "x$ac_new_val"; then
1946 # differences in whitespace do not lead to failure.
1947 ac_old_val_w=`echo x
$ac_old_val`
1948 ac_new_val_w=`echo x
$ac_new_val`
1949 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1950 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1951 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1952 ac_cache_corrupted=:
1954 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1955 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1956 eval $ac_var=\$ac_old_val
1958 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1959 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1960 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1961 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1964 # Pass precious variables to config.status.
1965 if test "$ac_new_set" = set; then
1967 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1968 *) ac_arg=$ac_var=$ac_new_val ;;
1970 case " $ac_configure_args " in
1971 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1972 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1976 if $ac_cache_corrupted; then
1977 { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
1978 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1979 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1980 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1981 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&5
1982 $as_echo "$as_me: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&2;}
1983 { (exit 1); exit 1; }; }
2003 ac_cpp='$CPP $CPPFLAGS'
2004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2011 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
2012 if test -f "$ac_dir/install-sh
"; then
2014 ac_install_sh="$ac_aux_dir/install-sh
-c"
2016 elif test -f "$ac_dir/install.sh
"; then
2018 ac_install_sh="$ac_aux_dir/install.sh
-c"
2020 elif test -f "$ac_dir/shtool
"; then
2022 ac_install_sh="$ac_aux_dir/shtool
install -c"
2026 if test -z "$ac_aux_dir"; then
2027 { { $as_echo "$as_me:$LINENO: error
: cannot
find install-sh or
install.sh
in scripts
/autoconf
\"$srcdir\"/scripts
/autoconf
" >&5
2028 $as_echo "$as_me: error
: cannot
find install-sh or
install.sh
in scripts
/autoconf
\"$srcdir\"/scripts
/autoconf
" >&2;}
2029 { (exit 1); exit 1; }; }
2032 # These three variables are undocumented and unsupported,
2033 # and are intended to be withdrawn in a future Autoconf release.
2034 # They can cause serious problems if a builder's source tree is in a directory
2035 # whose full name contains unusual characters.
2036 ac_config_guess="$SHELL $ac_aux_dir/config.guess
" # Please don't use this var.
2037 ac_config_sub="$SHELL $ac_aux_dir/config.sub
" # Please don't use this var.
2038 ac_configure="$SHELL $ac_aux_dir/configure
" # Please don't use this var.
2042 # Check what host we are running on.
2043 # If a target is not suggested, we use this one.
2044 # Note that what we call a target, Autoconf calls a host.
2045 # Make sure we can run config.sub.
2046 $SHELL "$ac_aux_dir/config.sub
" sun4 >/dev/null 2>&1 ||
2047 { { $as_echo "$as_me:$LINENO: error
: cannot run
$SHELL $ac_aux_dir/config.sub
" >&5
2048 $as_echo "$as_me: error
: cannot run
$SHELL $ac_aux_dir/config.sub
" >&2;}
2049 { (exit 1); exit 1; }; }
2051 { $as_echo "$as_me:$LINENO: checking build system
type" >&5
2052 $as_echo_n "checking build system
type...
" >&6; }
2053 if test "${ac_cv_build+set}" = set; then
2054 $as_echo_n "(cached
) " >&6
2056 ac_build_alias=$build_alias
2057 test "x
$ac_build_alias" = x &&
2058 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess
"`
2059 test "x
$ac_build_alias" = x &&
2060 { { $as_echo "$as_me:$LINENO: error
: cannot guess build
type; you must specify one
" >&5
2061 $as_echo "$as_me: error
: cannot guess build
type; you must specify one
" >&2;}
2062 { (exit 1); exit 1; }; }
2063 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub
" $ac_build_alias` ||
2064 { { $as_echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$ac_build_alias failed
" >&5
2065 $as_echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$ac_build_alias failed
" >&2;}
2066 { (exit 1); exit 1; }; }
2069 { $as_echo "$as_me:$LINENO: result
: $ac_cv_build" >&5
2070 $as_echo "$ac_cv_build" >&6; }
2071 case $ac_cv_build in
2073 *) { { $as_echo "$as_me:$LINENO: error
: invalid value of canonical build
" >&5
2074 $as_echo "$as_me: error
: invalid value of canonical build
" >&2;}
2075 { (exit 1); exit 1; }; };;
2078 ac_save_IFS=$IFS; IFS='-'
2084 # Remember, the first character of IFS is used to create $*,
2085 # except with old shells:
2088 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2091 { $as_echo "$as_me:$LINENO: checking
host system
type" >&5
2092 $as_echo_n "checking
host system
type...
" >&6; }
2093 if test "${ac_cv_host+set}" = set; then
2094 $as_echo_n "(cached
) " >&6
2096 if test "x
$host_alias" = x; then
2097 ac_cv_host=$ac_cv_build
2099 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub
" $host_alias` ||
2100 { { $as_echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$host_alias failed
" >&5
2101 $as_echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$host_alias failed
" >&2;}
2102 { (exit 1); exit 1; }; }
2106 { $as_echo "$as_me:$LINENO: result
: $ac_cv_host" >&5
2107 $as_echo "$ac_cv_host" >&6; }
2110 *) { { $as_echo "$as_me:$LINENO: error
: invalid value of canonical
host" >&5
2111 $as_echo "$as_me: error
: invalid value of canonical
host" >&2;}
2112 { (exit 1); exit 1; }; };;
2115 ac_save_IFS=$IFS; IFS='-'
2121 # Remember, the first character of IFS is used to create $*,
2122 # except with old shells:
2125 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2129 # The AROS target is slightly different to the normal GNU style
2130 # format. We don't have the middle part, and we reverse the order
2131 # of the $(CPU) and $(OS) bits.
2133 # Don't strip the version of the target yet, it might be
2134 # useful on some systems.
2136 { $as_echo "$as_me:$LINENO: checking
for AROS style target
" >&5
2137 $as_echo_n "checking
for AROS style target...
" >&6; }
2139 if test "$target" = "NONE
" ; then
2140 target=$host_os-$host_cpu
2143 if test "$target" = "" ; then
2144 target=$host_os-$host_cpu
2150 { $as_echo "$as_me:$LINENO: result
: $target" >&5
2151 $as_echo "$target" >&6; }
2153 #don't know where else to put this...
2154 { $as_echo "$as_me:$LINENO: checking Building AROS
in ..
" >&5
2155 $as_echo_n "checking Building AROS
in .. ...
" >&6; }
2157 { $as_echo "$as_me:$LINENO: result
: $AROS_BUILDDIR" >&5
2158 $as_echo "$AROS_BUILDDIR" >&6; }
2160 { $as_echo "$as_me:$LINENO: checking AROS Source
in ..
" >&5
2161 $as_echo_n "checking AROS Source
in .. ...
" >&6; }
2162 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2164 { $as_echo "$as_me:$LINENO: result
: $SRCDIR" >&5
2165 $as_echo "$SRCDIR" >&6; }
2167 # Parse the target field into something useful.
2169 target_os=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\1/'`
2170 target_cpu=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\2/'`
2173 aros_default_wbwidth=800
2174 aros_default_wbheight=600
2175 aros_default_wbdepth=4
2178 # The first step is to find the host binaries.
2179 # Check for a compiler.
2181 ac_cpp='$CPP $CPPFLAGS'
2182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2185 if test -n "$ac_tool_prefix"; then
2186 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
2187 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2188 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2189 $as_echo_n "checking
for $ac_word...
" >&6; }
2190 if test "${ac_cv_prog_CC+set}" = set; then
2191 $as_echo_n "(cached
) " >&6
2193 if test -n "$CC"; then
2194 ac_cv_prog_CC="$CC" # Let the user override the test.
2196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2200 test -z "$as_dir" && as_dir=.
2201 for ac_exec_ext in '' $ac_executable_extensions; do
2202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2203 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
2204 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2214 if test -n "$CC"; then
2215 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2216 $as_echo "$CC" >&6; }
2218 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2219 $as_echo "no
" >&6; }
2224 if test -z "$ac_cv_prog_CC"; then
2226 # Extract the first word of "gcc
", so it can be a program name with args.
2227 set dummy gcc; ac_word=$2
2228 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2229 $as_echo_n "checking
for $ac_word...
" >&6; }
2230 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2231 $as_echo_n "(cached
) " >&6
2233 if test -n "$ac_ct_CC"; then
2234 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2240 test -z "$as_dir" && as_dir=.
2241 for ac_exec_ext in '' $ac_executable_extensions; do
2242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2243 ac_cv_prog_ac_ct_CC="gcc
"
2244 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2253 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2254 if test -n "$ac_ct_CC"; then
2255 { $as_echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
2256 $as_echo "$ac_ct_CC" >&6; }
2258 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2259 $as_echo "no
" >&6; }
2262 if test "x
$ac_ct_CC" = x; then
2265 case $cross_compiling:$ac_tool_warned in
2267 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2268 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2269 ac_tool_warned=yes ;;
2277 if test -z "$CC"; then
2278 if test -n "$ac_tool_prefix"; then
2279 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
2280 set dummy ${ac_tool_prefix}cc; ac_word=$2
2281 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2282 $as_echo_n "checking
for $ac_word...
" >&6; }
2283 if test "${ac_cv_prog_CC+set}" = set; then
2284 $as_echo_n "(cached
) " >&6
2286 if test -n "$CC"; then
2287 ac_cv_prog_CC="$CC" # Let the user override the test.
2289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2293 test -z "$as_dir" && as_dir=.
2294 for ac_exec_ext in '' $ac_executable_extensions; do
2295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2296 ac_cv_prog_CC="${ac_tool_prefix}cc
"
2297 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2307 if test -n "$CC"; then
2308 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2309 $as_echo "$CC" >&6; }
2311 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2312 $as_echo "no
" >&6; }
2318 if test -z "$CC"; then
2319 # Extract the first word of "cc
", so it can be a program name with args.
2320 set dummy cc; ac_word=$2
2321 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2322 $as_echo_n "checking
for $ac_word...
" >&6; }
2323 if test "${ac_cv_prog_CC+set}" = set; then
2324 $as_echo_n "(cached
) " >&6
2326 if test -n "$CC"; then
2327 ac_cv_prog_CC="$CC" # Let the user override the test.
2330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2334 test -z "$as_dir" && as_dir=.
2335 for ac_exec_ext in '' $ac_executable_extensions; do
2336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2337 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
2338 ac_prog_rejected=yes
2342 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2349 if test $ac_prog_rejected = yes; then
2350 # We found a bogon in the path, so make sure we never use it.
2351 set dummy $ac_cv_prog_CC
2353 if test $# != 0; then
2354 # We chose a different compiler from the bogus one.
2355 # However, it has the same basename, so the bogon will be chosen
2356 # first if we set CC to just the basename; use the full file name.
2358 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
2364 if test -n "$CC"; then
2365 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2366 $as_echo "$CC" >&6; }
2368 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2369 $as_echo "no
" >&6; }
2374 if test -z "$CC"; then
2375 if test -n "$ac_tool_prefix"; then
2376 for ac_prog in cl.exe
2378 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2379 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2380 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2381 $as_echo_n "checking
for $ac_word...
" >&6; }
2382 if test "${ac_cv_prog_CC+set}" = set; then
2383 $as_echo_n "(cached
) " >&6
2385 if test -n "$CC"; then
2386 ac_cv_prog_CC="$CC" # Let the user override the test.
2388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2392 test -z "$as_dir" && as_dir=.
2393 for ac_exec_ext in '' $ac_executable_extensions; do
2394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2395 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2396 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2406 if test -n "$CC"; then
2407 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2408 $as_echo "$CC" >&6; }
2410 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2411 $as_echo "no
" >&6; }
2415 test -n "$CC" && break
2418 if test -z "$CC"; then
2420 for ac_prog in cl.exe
2422 # Extract the first word of "$ac_prog", so it can be a program name with args.
2423 set dummy $ac_prog; ac_word=$2
2424 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2425 $as_echo_n "checking
for $ac_word...
" >&6; }
2426 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2427 $as_echo_n "(cached
) " >&6
2429 if test -n "$ac_ct_CC"; then
2430 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2436 test -z "$as_dir" && as_dir=.
2437 for ac_exec_ext in '' $ac_executable_extensions; do
2438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2439 ac_cv_prog_ac_ct_CC="$ac_prog"
2440 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2449 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2450 if test -n "$ac_ct_CC"; then
2451 { $as_echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
2452 $as_echo "$ac_ct_CC" >&6; }
2454 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2455 $as_echo "no
" >&6; }
2459 test -n "$ac_ct_CC" && break
2462 if test "x
$ac_ct_CC" = x; then
2465 case $cross_compiling:$ac_tool_warned in
2467 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2468 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2469 ac_tool_warned=yes ;;
2478 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2479 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2480 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2481 See \`config.log' for more details.
" >&5
2482 $as_echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
2483 See \
`config.log' for more details." >&2;}
2484 { (exit 1); exit 1; }; }; }
2486 # Provide some information about the compiler.
2487 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2490 { (ac_try="$ac_compiler --version >&5"
2492 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2493 *) ac_try_echo
=$ac_try;;
2495 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2496 $as_echo "$ac_try_echo") >&5
2497 (eval "$ac_compiler --version >&5") 2>&5
2499 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2500 (exit $ac_status); }
2501 { (ac_try
="$ac_compiler -v >&5"
2503 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2504 *) ac_try_echo=$ac_try;;
2506 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2507 $as_echo "$ac_try_echo") >&5
2508 (eval "$ac_compiler -v >&5") 2>&5
2510 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2511 (exit $ac_status); }
2512 { (ac_try="$ac_compiler -V >&5"
2514 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2515 *) ac_try_echo
=$ac_try;;
2517 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2518 $as_echo "$ac_try_echo") >&5
2519 (eval "$ac_compiler -V >&5") 2>&5
2521 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2522 (exit $ac_status); }
2524 cat >conftest.
$ac_ext <<_ACEOF
2527 cat confdefs.h
>>conftest.
$ac_ext
2528 cat >>conftest.
$ac_ext <<_ACEOF
2529 /* end confdefs.h. */
2539 ac_clean_files_save
=$ac_clean_files
2540 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2541 # Try to create an executable without -o first, disregard a.out.
2542 # It will help us diagnose broken compilers, and finding out an intuition
2544 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2545 $as_echo_n "checking for C compiler default output file name... " >&6; }
2546 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2548 # The possible output files:
2549 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2552 for ac_file
in $ac_files
2555 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2556 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2561 if { (ac_try
="$ac_link_default"
2563 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2564 *) ac_try_echo=$ac_try;;
2566 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2567 $as_echo "$ac_try_echo") >&5
2568 (eval "$ac_link_default") 2>&5
2570 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2571 (exit $ac_status); }; then
2572 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2573 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2574 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2575 # so that the user can short-circuit this test for compilers unknown to
2577 for ac_file in $ac_files ''
2579 test -f "$ac_file" || continue
2581 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2584 # We found the default executable, but exeext='' is most
2588 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2590 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2592 # We set ac_cv_exeext here because the later test for it is not
2593 # safe: cross compilers may not add the suffix if given an `-o'
2594 # argument, so we may need to know it at that point already.
2595 # Even if this section looks crufty: it has the advantage of
2602 test "$ac_cv_exeext" = no && ac_cv_exeext=
2608 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2609 $as_echo "$ac_file" >&6; }
2610 if test -z "$ac_file"; then
2611 $as_echo "$as_me: failed program was:" >&5
2612 sed 's
/^
/|
/' conftest.$ac_ext >&5
2614 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2615 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2616 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2617 See \`config.log
' for more details." >&5
2618 $as_echo "$as_me: error: C compiler cannot create executables
2619 See \`config.log' for more details.
" >&2;}
2620 { (exit 77); exit 77; }; }; }
2623 ac_exeext=$ac_cv_exeext
2625 # Check that the compiler produces executables we can run. If not, either
2626 # the compiler is broken, or we cross compile.
2627 { $as_echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
2628 $as_echo_n "checking whether the C compiler works...
" >&6; }
2629 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2630 # If not cross compiling, check that we can run a simple program.
2631 if test "$cross_compiling" != yes; then
2632 if { ac_try='./$ac_file'
2633 { (case "(($ac_try" in
2634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2635 *) ac_try_echo=$ac_try;;
2637 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2638 $as_echo "$ac_try_echo") >&5
2639 (eval "$ac_try") 2>&5
2641 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2642 (exit $ac_status); }; }; then
2645 if test "$cross_compiling" = maybe; then
2648 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2649 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2650 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2651 If you meant to cross compile, use \`--host'.
2652 See \
`config.log' for more details." >&5
2653 $as_echo "$as_me: error: cannot run C compiled programs.
2654 If you meant to cross compile, use \`--host'.
2655 See \`config.log' for more details.
" >&2;}
2656 { (exit 1); exit 1; }; }; }
2660 { $as_echo "$as_me:$LINENO: result
: yes" >&5
2661 $as_echo "yes" >&6; }
2663 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2664 ac_clean_files=$ac_clean_files_save
2665 # Check that the compiler produces executables we can run. If not, either
2666 # the compiler is broken, or we cross compile.
2667 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2668 $as_echo_n "checking whether we are cross compiling...
" >&6; }
2669 { $as_echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2670 $as_echo "$cross_compiling" >&6; }
2672 { $as_echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2673 $as_echo_n "checking
for suffix of executables...
" >&6; }
2674 if { (ac_try="$ac_link"
2676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2677 *) ac_try_echo=$ac_try;;
2679 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2680 $as_echo "$ac_try_echo") >&5
2681 (eval "$ac_link") 2>&5
2683 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2684 (exit $ac_status); }; then
2685 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2686 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2687 # work properly (i.e., refer to `conftest.exe'), while it won't with
2689 for ac_file in conftest.exe conftest conftest.*; do
2690 test -f "$ac_file" || continue
2692 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2693 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2699 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2700 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2701 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2702 See \`config.log' for more details.
" >&5
2703 $as_echo "$as_me: error
: cannot compute suffix of executables
: cannot compile and link
2704 See \
`config.log' for more details." >&2;}
2705 { (exit 1); exit 1; }; }; }
2708 rm -f conftest$ac_cv_exeext
2709 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2710 $as_echo "$ac_cv_exeext" >&6; }
2712 rm -f conftest.$ac_ext
2713 EXEEXT=$ac_cv_exeext
2715 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2716 $as_echo_n "checking for suffix of object files... " >&6; }
2717 if test "${ac_cv_objext+set}" = set; then
2718 $as_echo_n "(cached) " >&6
2720 cat >conftest.$ac_ext <<_ACEOF
2723 cat confdefs.h >>conftest.$ac_ext
2724 cat >>conftest.$ac_ext <<_ACEOF
2725 /* end confdefs.h. */
2735 rm -f conftest.o conftest.obj
2736 if { (ac_try="$ac_compile"
2738 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2739 *) ac_try_echo
=$ac_try;;
2741 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2742 $as_echo "$ac_try_echo") >&5
2743 (eval "$ac_compile") 2>&5
2745 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2746 (exit $ac_status); }; then
2747 for ac_file
in conftest.o conftest.obj conftest.
*; do
2748 test -f "$ac_file" ||
continue;
2750 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM
) ;;
2751 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2756 $as_echo "$as_me: failed program was:" >&5
2757 sed 's/^/| /' conftest.
$ac_ext >&5
2759 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2760 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2761 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2762 See \`config.log' for more details." >&5
2763 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2764 See \`config.log' for more details." >&2;}
2765 { (exit 1); exit 1; }; }; }
2768 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2770 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2771 $as_echo "$ac_cv_objext" >&6; }
2772 OBJEXT
=$ac_cv_objext
2774 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2775 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2776 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2777 $as_echo_n "(cached) " >&6
2779 cat >conftest.
$ac_ext <<_ACEOF
2782 cat confdefs.h
>>conftest.
$ac_ext
2783 cat >>conftest.
$ac_ext <<_ACEOF
2784 /* end confdefs.h. */
2797 rm -f conftest.
$ac_objext
2798 if { (ac_try
="$ac_compile"
2800 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2801 *) ac_try_echo=$ac_try;;
2803 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2804 $as_echo "$ac_try_echo") >&5
2805 (eval "$ac_compile") 2>conftest.er1
2807 grep -v '^ *+' conftest.er1 >conftest.err
2809 cat conftest.err >&5
2810 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2811 (exit $ac_status); } && {
2812 test -z "$ac_c_werror_flag" ||
2813 test ! -s conftest.err
2814 } && test -s conftest.$ac_objext; then
2817 $as_echo "$as_me: failed program was:" >&5
2818 sed 's/^/| /' conftest.$ac_ext >&5
2823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2824 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2827 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2828 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2829 if test $ac_compiler_gnu = yes; then
2834 ac_test_CFLAGS=${CFLAGS+set}
2835 ac_save_CFLAGS=$CFLAGS
2836 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2837 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2838 if test "${ac_cv_prog_cc_g+set}" = set; then
2839 $as_echo_n "(cached) " >&6
2841 ac_save_c_werror_flag=$ac_c_werror_flag
2842 ac_c_werror_flag=yes
2845 cat >conftest.$ac_ext <<_ACEOF
2848 cat confdefs.h >>conftest.$ac_ext
2849 cat >>conftest.$ac_ext <<_ACEOF
2850 /* end confdefs.h. */
2860 rm -f conftest.$ac_objext
2861 if { (ac_try="$ac_compile"
2863 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2864 *) ac_try_echo
=$ac_try;;
2866 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2867 $as_echo "$ac_try_echo") >&5
2868 (eval "$ac_compile") 2>conftest.er1
2870 grep -v '^ *+' conftest.er1
>conftest.err
2872 cat conftest.err
>&5
2873 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874 (exit $ac_status); } && {
2875 test -z "$ac_c_werror_flag" ||
2876 test ! -s conftest.err
2877 } && test -s conftest.
$ac_objext; then
2880 $as_echo "$as_me: failed program was:" >&5
2881 sed 's/^/| /' conftest.
$ac_ext >&5
2884 cat >conftest.
$ac_ext <<_ACEOF
2887 cat confdefs.h
>>conftest.
$ac_ext
2888 cat >>conftest.
$ac_ext <<_ACEOF
2889 /* end confdefs.h. */
2899 rm -f conftest.
$ac_objext
2900 if { (ac_try
="$ac_compile"
2902 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2903 *) ac_try_echo=$ac_try;;
2905 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2906 $as_echo "$ac_try_echo") >&5
2907 (eval "$ac_compile") 2>conftest.er1
2909 grep -v '^ *+' conftest.er1 >conftest.err
2911 cat conftest.err >&5
2912 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2913 (exit $ac_status); } && {
2914 test -z "$ac_c_werror_flag" ||
2915 test ! -s conftest.err
2916 } && test -s conftest.$ac_objext; then
2919 $as_echo "$as_me: failed program was:" >&5
2920 sed 's/^/| /' conftest.$ac_ext >&5
2922 ac_c_werror_flag=$ac_save_c_werror_flag
2924 cat >conftest.$ac_ext <<_ACEOF
2927 cat confdefs.h >>conftest.$ac_ext
2928 cat >>conftest.$ac_ext <<_ACEOF
2929 /* end confdefs.h. */
2939 rm -f conftest.$ac_objext
2940 if { (ac_try="$ac_compile"
2942 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2943 *) ac_try_echo
=$ac_try;;
2945 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2946 $as_echo "$ac_try_echo") >&5
2947 (eval "$ac_compile") 2>conftest.er1
2949 grep -v '^ *+' conftest.er1
>conftest.err
2951 cat conftest.err
>&5
2952 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2953 (exit $ac_status); } && {
2954 test -z "$ac_c_werror_flag" ||
2955 test ! -s conftest.err
2956 } && test -s conftest.
$ac_objext; then
2959 $as_echo "$as_me: failed program was:" >&5
2960 sed 's/^/| /' conftest.
$ac_ext >&5
2965 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2968 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2971 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2972 ac_c_werror_flag
=$ac_save_c_werror_flag
2974 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2975 $as_echo "$ac_cv_prog_cc_g" >&6; }
2976 if test "$ac_test_CFLAGS" = set; then
2977 CFLAGS
=$ac_save_CFLAGS
2978 elif test $ac_cv_prog_cc_g = yes; then
2979 if test "$GCC" = yes; then
2985 if test "$GCC" = yes; then
2991 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2992 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2993 if test "${ac_cv_prog_cc_c89+set}" = set; then
2994 $as_echo_n "(cached) " >&6
2996 ac_cv_prog_cc_c89
=no
2998 cat >conftest.
$ac_ext <<_ACEOF
3001 cat confdefs.h
>>conftest.
$ac_ext
3002 cat >>conftest.
$ac_ext <<_ACEOF
3003 /* end confdefs.h. */
3006 #include <sys/types.h>
3007 #include <sys/stat.h>
3008 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3009 struct buf { int x; };
3010 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3011 static char *e (p, i)
3017 static char *f (char * (*g) (char **, int), char **p, ...)
3022 s = g (p, va_arg (v,int));
3027 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3028 function prototypes and stuff, but not '\xHH' hex character constants.
3029 These don't provoke an error unfortunately, instead are silently treated
3030 as 'x'. The following induces an error, until -std is added to get
3031 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3032 array size at least. It's necessary to write '\x00'==0 to get something
3033 that's true only with -std. */
3034 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3036 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3037 inside strings and character constants. */
3039 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3041 int test (int i, double x);
3042 struct s1 {int (*f) (int a);};
3043 struct s2 {int (*f) (double a);};
3044 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3050 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3055 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3056 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3058 CC
="$ac_save_CC $ac_arg"
3059 rm -f conftest.
$ac_objext
3060 if { (ac_try
="$ac_compile"
3062 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3063 *) ac_try_echo=$ac_try;;
3065 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3066 $as_echo "$ac_try_echo") >&5
3067 (eval "$ac_compile") 2>conftest.er1
3069 grep -v '^ *+' conftest.er1 >conftest.err
3071 cat conftest.err >&5
3072 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3073 (exit $ac_status); } && {
3074 test -z "$ac_c_werror_flag" ||
3075 test ! -s conftest.err
3076 } && test -s conftest.$ac_objext; then
3077 ac_cv_prog_cc_c89=$ac_arg
3079 $as_echo "$as_me: failed program was:" >&5
3080 sed 's/^/| /' conftest.$ac_ext >&5
3085 rm -f core conftest.err conftest.$ac_objext
3086 test "x$ac_cv_prog_cc_c89" != "xno" && break
3088 rm -f conftest.$ac_ext
3093 case "x$ac_cv_prog_cc_c89" in
3095 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3096 $as_echo "none needed" >&6; } ;;
3098 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3099 $as_echo "unsupported" >&6; } ;;
3101 CC="$CC $ac_cv_prog_cc_c89"
3102 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3103 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3108 ac_cpp='$CPP $CPPFLAGS'
3109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3113 case $ac_cv_prog_cc_stdc in
3114 no) ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;;
3115 *) { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
3116 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3117 if test "${ac_cv_prog_cc_c99+set}" = set; then
3118 $as_echo_n "(cached) " >&6
3120 ac_cv_prog_cc_c99=no
3122 cat >conftest.$ac_ext <<_ACEOF
3125 cat confdefs.h >>conftest.$ac_ext
3126 cat >>conftest.$ac_ext <<_ACEOF
3127 /* end confdefs.h. */
3129 #include <stdbool.h>
3134 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3135 #define debug(...) fprintf (stderr, __VA_ARGS__)
3136 #define showlist(...) puts (#__VA_ARGS__)
3137 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3139 test_varargs_macros (void)
3144 debug ("X = %d\n", x);
3145 showlist (The first, second, and third items.);
3146 report (x>y, "x is %d but y is %d", x, y);
3149 // Check long long types.
3150 #define BIG64 18446744073709551615ull
3151 #define BIG32 4294967295ul
3152 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3154 your preprocessor is broken;
3158 your preprocessor is broken;
3160 static long long int bignum = -9223372036854775807LL;
3161 static unsigned long long int ubignum = BIG64;
3163 struct incomplete_array
3171 const wchar_t *name;
3175 typedef const char *ccp;
3178 test_restrict (ccp restrict text)
3180 // See if C++-style comments work.
3181 // Iterate through items via the restricted pointer.
3182 // Also check for declarations in for loops.
3183 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3188 // Check varargs and va_copy.
3190 test_varargs (const char *format, ...)
3193 va_start (args, format);
3195 va_copy (args_copy, args);
3206 str = va_arg (args_copy, const char *);
3209 number = va_arg (args_copy, int);
3212 fnumber = va_arg (args_copy, double);
3227 _Bool success = false;
3230 if (test_restrict ("String literal") == 0)
3232 char *restrict newvar = "Another string";
3235 test_varargs ("s, d' f .", "string", 65, 34.234);
3236 test_varargs_macros ();
3238 // Check flexible array members.
3239 struct incomplete_array *ia =
3240 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3242 for (int i = 0; i < ia->datasize; ++i)
3243 ia->data[i] = i * 1.234;
3245 // Check named initializers.
3246 struct named_init ni = {
3248 .name = L"Test wide string",
3249 .average = 543.34343,
3254 int dynamic_array[ni.number];
3255 dynamic_array[ni.number - 1] = 543;
3257 // work around unused variable warnings
3258 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3259 || dynamic_array[ni.number - 1] != 543);
3265 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3267 CC="$ac_save_CC $ac_arg"
3268 rm -f conftest.$ac_objext
3269 if { (ac_try="$ac_compile"
3271 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3272 *) ac_try_echo
=$ac_try;;
3274 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3275 $as_echo "$ac_try_echo") >&5
3276 (eval "$ac_compile") 2>conftest.er1
3278 grep -v '^ *+' conftest.er1
>conftest.err
3280 cat conftest.err
>&5
3281 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3282 (exit $ac_status); } && {
3283 test -z "$ac_c_werror_flag" ||
3284 test ! -s conftest.err
3285 } && test -s conftest.
$ac_objext; then
3286 ac_cv_prog_cc_c99
=$ac_arg
3288 $as_echo "$as_me: failed program was:" >&5
3289 sed 's/^/| /' conftest.
$ac_ext >&5
3294 rm -f core conftest.err conftest.
$ac_objext
3295 test "x$ac_cv_prog_cc_c99" != "xno" && break
3297 rm -f conftest.
$ac_ext
3302 case "x$ac_cv_prog_cc_c99" in
3304 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3305 $as_echo "none needed" >&6; } ;;
3307 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3308 $as_echo "unsupported" >&6; } ;;
3310 CC
="$CC $ac_cv_prog_cc_c99"
3311 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
3312 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3314 if test "x$ac_cv_prog_cc_c99" != xno
; then
3315 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c99
3317 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3318 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3319 if test "${ac_cv_prog_cc_c89+set}" = set; then
3320 $as_echo_n "(cached) " >&6
3322 ac_cv_prog_cc_c89
=no
3324 cat >conftest.
$ac_ext <<_ACEOF
3327 cat confdefs.h
>>conftest.
$ac_ext
3328 cat >>conftest.
$ac_ext <<_ACEOF
3329 /* end confdefs.h. */
3332 #include <sys/types.h>
3333 #include <sys/stat.h>
3334 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3335 struct buf { int x; };
3336 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3337 static char *e (p, i)
3343 static char *f (char * (*g) (char **, int), char **p, ...)
3348 s = g (p, va_arg (v,int));
3353 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3354 function prototypes and stuff, but not '\xHH' hex character constants.
3355 These don't provoke an error unfortunately, instead are silently treated
3356 as 'x'. The following induces an error, until -std is added to get
3357 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3358 array size at least. It's necessary to write '\x00'==0 to get something
3359 that's true only with -std. */
3360 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3362 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3363 inside strings and character constants. */
3365 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3367 int test (int i, double x);
3368 struct s1 {int (*f) (int a);};
3369 struct s2 {int (*f) (double a);};
3370 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3376 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3381 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3382 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3384 CC
="$ac_save_CC $ac_arg"
3385 rm -f conftest.
$ac_objext
3386 if { (ac_try
="$ac_compile"
3388 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3389 *) ac_try_echo=$ac_try;;
3391 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3392 $as_echo "$ac_try_echo") >&5
3393 (eval "$ac_compile") 2>conftest.er1
3395 grep -v '^ *+' conftest.er1 >conftest.err
3397 cat conftest.err >&5
3398 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3399 (exit $ac_status); } && {
3400 test -z "$ac_c_werror_flag" ||
3401 test ! -s conftest.err
3402 } && test -s conftest.$ac_objext; then
3403 ac_cv_prog_cc_c89=$ac_arg
3405 $as_echo "$as_me: failed program was:" >&5
3406 sed 's/^/| /' conftest.$ac_ext >&5
3411 rm -f core conftest.err conftest.$ac_objext
3412 test "x$ac_cv_prog_cc_c89" != "xno" && break
3414 rm -f conftest.$ac_ext
3419 case "x$ac_cv_prog_cc_c89" in
3421 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3422 $as_echo "none needed" >&6; } ;;
3424 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3425 $as_echo "unsupported" >&6; } ;;
3427 CC="$CC $ac_cv_prog_cc_c89"
3428 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3429 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3431 if test "x$ac_cv_prog_cc_c89" != xno; then
3432 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3434 ac_cv_prog_cc_stdc=no
3442 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5
3443 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
3444 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3445 $as_echo_n "(cached) " >&6
3448 case $ac_cv_prog_cc_stdc in
3449 no) { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3450 $as_echo "unsupported" >&6; } ;;
3451 '') { $as_echo "$as_me:$LINENO: result: none needed" >&5
3452 $as_echo "none needed" >&6; } ;;
3453 *) { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3454 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
3459 ac_cpp='$CPP $CPPFLAGS'
3460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3463 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3464 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3465 # On Suns, sometimes $CPP names a directory.
3466 if test -n "$CPP" && test -d "$CPP"; then
3469 if test -z "$CPP"; then
3470 if test "${ac_cv_prog_CPP+set}" = set; then
3471 $as_echo_n "(cached) " >&6
3473 # Double quotes because CPP needs to be expanded
3474 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3477 for ac_c_preproc_warn_flag in '' yes
3479 # Use a header file that comes with gcc, so configuring glibc
3480 # with a fresh cross-compiler works.
3481 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3482 # <limits.h> exists even on freestanding compilers.
3483 # On the NeXT, cc -E runs the code through the compiler's parser,
3484 # not just through cpp. "Syntax error" is here to catch this case.
3485 cat >conftest.$ac_ext <<_ACEOF
3488 cat confdefs.h >>conftest.$ac_ext
3489 cat >>conftest.$ac_ext <<_ACEOF
3490 /* end confdefs.h. */
3492 # include <limits.h>
3494 # include <assert.h>
3498 if { (ac_try="$ac_cpp conftest.$ac_ext"
3500 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3501 *) ac_try_echo
=$ac_try;;
3503 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3504 $as_echo "$ac_try_echo") >&5
3505 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3507 grep -v '^ *+' conftest.er1
>conftest.err
3509 cat conftest.err
>&5
3510 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3511 (exit $ac_status); } >/dev
/null
&& {
3512 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3513 test ! -s conftest.err
3517 $as_echo "$as_me: failed program was:" >&5
3518 sed 's/^/| /' conftest.
$ac_ext >&5
3520 # Broken: fails on valid input.
3524 rm -f conftest.err conftest.
$ac_ext
3526 # OK, works on sane cases. Now check whether nonexistent headers
3527 # can be detected and how.
3528 cat >conftest.
$ac_ext <<_ACEOF
3531 cat confdefs.h
>>conftest.
$ac_ext
3532 cat >>conftest.
$ac_ext <<_ACEOF
3533 /* end confdefs.h. */
3534 #include <ac_nonexistent.h>
3536 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3538 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3539 *) ac_try_echo=$ac_try;;
3541 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3542 $as_echo "$ac_try_echo") >&5
3543 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3545 grep -v '^ *+' conftest.er1 >conftest.err
3547 cat conftest.err >&5
3548 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3549 (exit $ac_status); } >/dev/null && {
3550 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3551 test ! -s conftest.err
3553 # Broken: success on invalid input.
3556 $as_echo "$as_me: failed program was:" >&5
3557 sed 's/^/| /' conftest.$ac_ext >&5
3559 # Passes both tests.
3564 rm -f conftest.err conftest.$ac_ext
3567 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3568 rm -f conftest.err conftest.
$ac_ext
3569 if $ac_preproc_ok; then
3581 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3582 $as_echo "$CPP" >&6; }
3584 for ac_c_preproc_warn_flag
in '' yes
3586 # Use a header file that comes with gcc, so configuring glibc
3587 # with a fresh cross-compiler works.
3588 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3589 # <limits.h> exists even on freestanding compilers.
3590 # On the NeXT, cc -E runs the code through the compiler's parser,
3591 # not just through cpp. "Syntax error" is here to catch this case.
3592 cat >conftest.
$ac_ext <<_ACEOF
3595 cat confdefs.h
>>conftest.
$ac_ext
3596 cat >>conftest.
$ac_ext <<_ACEOF
3597 /* end confdefs.h. */
3599 # include <limits.h>
3601 # include <assert.h>
3605 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3607 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3608 *) ac_try_echo=$ac_try;;
3610 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3611 $as_echo "$ac_try_echo") >&5
3612 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3614 grep -v '^ *+' conftest.er1 >conftest.err
3616 cat conftest.err >&5
3617 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3618 (exit $ac_status); } >/dev/null && {
3619 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3620 test ! -s conftest.err
3624 $as_echo "$as_me: failed program was:" >&5
3625 sed 's/^/| /' conftest.$ac_ext >&5
3627 # Broken: fails on valid input.
3631 rm -f conftest.err conftest.$ac_ext
3633 # OK, works on sane cases. Now check whether nonexistent headers
3634 # can be detected and how.
3635 cat >conftest.$ac_ext <<_ACEOF
3638 cat confdefs.h >>conftest.$ac_ext
3639 cat >>conftest.$ac_ext <<_ACEOF
3640 /* end confdefs.h. */
3641 #include <ac_nonexistent.h>
3643 if { (ac_try="$ac_cpp conftest.$ac_ext"
3645 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3646 *) ac_try_echo
=$ac_try;;
3648 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3649 $as_echo "$ac_try_echo") >&5
3650 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3652 grep -v '^ *+' conftest.er1
>conftest.err
3654 cat conftest.err
>&5
3655 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3656 (exit $ac_status); } >/dev
/null
&& {
3657 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3658 test ! -s conftest.err
3660 # Broken: success on invalid input.
3663 $as_echo "$as_me: failed program was:" >&5
3664 sed 's/^/| /' conftest.
$ac_ext >&5
3666 # Passes both tests.
3671 rm -f conftest.err conftest.
$ac_ext
3674 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3675 rm -f conftest.err conftest.
$ac_ext
3676 if $ac_preproc_ok; then
3679 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3680 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3681 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3682 See \`config.log' for more details." >&5
3683 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3684 See \`config.log' for more details." >&2;}
3685 { (exit 1); exit 1; }; }; }
3689 ac_cpp
='$CPP $CPPFLAGS'
3690 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3691 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3692 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3695 # Check for a compatible awk
3696 for ac_prog
in gawk nawk
3698 # Extract the first word of "$ac_prog", so it can be a program name with args.
3699 set dummy
$ac_prog; ac_word
=$2
3700 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3701 $as_echo_n "checking for $ac_word... " >&6; }
3702 if test "${ac_cv_prog_AWK+set}" = set; then
3703 $as_echo_n "(cached) " >&6
3705 if test -n "$AWK"; then
3706 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3712 test -z "$as_dir" && as_dir
=.
3713 for ac_exec_ext
in '' $ac_executable_extensions; do
3714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3715 ac_cv_prog_AWK
="$ac_prog"
3716 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3726 if test -n "$AWK"; then
3727 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
3728 $as_echo "$AWK" >&6; }
3730 { $as_echo "$as_me:$LINENO: result: no" >&5
3731 $as_echo "no" >&6; }
3735 test -n "$AWK" && break
3738 if test "$AWK" = ""; then
3739 { { $as_echo "$as_me:$LINENO: error: gawk is required to build AROS. Please install and run configure again." >&5
3740 $as_echo "$as_me: error: gawk is required to build AROS. Please install and run configure again." >&2;}
3741 { (exit 1); exit 1; }; }
3743 # Extract the first word of "mmake", so it can be a program name with args.
3744 set dummy mmake
; ac_word
=$2
3745 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3746 $as_echo_n "checking for $ac_word... " >&6; }
3747 if test "${ac_cv_prog_MMAKE+set}" = set; then
3748 $as_echo_n "(cached) " >&6
3750 if test -n "$MMAKE"; then
3751 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
3753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3757 test -z "$as_dir" && as_dir
=.
3758 for ac_exec_ext
in '' $ac_executable_extensions; do
3759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3760 ac_cv_prog_MMAKE
="mmake "
3761 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3770 MMAKE
=$ac_cv_prog_MMAKE
3771 if test -n "$MMAKE"; then
3772 { $as_echo "$as_me:$LINENO: result: $MMAKE" >&5
3773 $as_echo "$MMAKE" >&6; }
3775 { $as_echo "$as_me:$LINENO: result: no" >&5
3776 $as_echo "no" >&6; }
3781 # Perform some default variable assignments. Note all of these will be
3782 # Regenerated from the script, so there is no need to cache them.
3785 if test "$GCC" = "yes"; then
3786 aros_gcc_ld
=`$CC -print-prog-name=ld`
3787 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
3788 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
3789 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3790 $as_echo_n "checking for $ac_word... " >&6; }
3791 if test "${ac_cv_path_aros_host_ld+set}" = set; then
3792 $as_echo_n "(cached) " >&6
3794 case $aros_host_ld in
3796 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3800 for as_dir
in `dirname $aros_gcc_ld`
3803 test -z "$as_dir" && as_dir
=.
3804 for ac_exec_ext
in '' $ac_executable_extensions; do
3805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3806 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3807 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3817 aros_host_ld
=$ac_cv_path_aros_host_ld
3818 if test -n "$aros_host_ld"; then
3819 { $as_echo "$as_me:$LINENO: result: $aros_host_ld" >&5
3820 $as_echo "$aros_host_ld" >&6; }
3822 { $as_echo "$as_me:$LINENO: result: no" >&5
3823 $as_echo "no" >&6; }
3828 if test "$aros_host_ld" = ""; then
3829 # Extract the first word of "ld", so it can be a program name with args.
3830 set dummy ld
; ac_word
=$2
3831 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3832 $as_echo_n "checking for $ac_word... " >&6; }
3833 if test "${ac_cv_path_aros_host_ld+set}" = set; then
3834 $as_echo_n "(cached) " >&6
3836 case $aros_host_ld in
3838 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3845 test -z "$as_dir" && as_dir
=.
3846 for ac_exec_ext
in '' $ac_executable_extensions; do
3847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3848 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3849 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3859 aros_host_ld
=$ac_cv_path_aros_host_ld
3860 if test -n "$aros_host_ld"; then
3861 { $as_echo "$as_me:$LINENO: result: $aros_host_ld" >&5
3862 $as_echo "$aros_host_ld" >&6; }
3864 { $as_echo "$as_me:$LINENO: result: no" >&5
3865 $as_echo "no" >&6; }
3870 if test "$aros_host_ld" = ""; then
3871 { { $as_echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
3872 $as_echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
3873 { (exit 1); exit 1; }; }
3875 aros_host_make
="make"
3876 aros_host_cflags
=$CFLAGS
3877 aros_host_ldflags
=$LDFLAGS
3878 aros_host_debug
="-g -O0"
3879 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
3880 aros_host_mkargs
="--no-print-directory"
3881 aros_host_incl
="/usr/include"
3882 aros_host_exe_suffix
="$EXEEXT"
3883 aros_host_lib_suffix
=""
3885 for ac_prog
in aclocal aclocal19 aclocal-1.9
3887 # Extract the first word of "$ac_prog", so it can be a program name with args.
3888 set dummy
$ac_prog; ac_word
=$2
3889 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3890 $as_echo_n "checking for $ac_word... " >&6; }
3891 if test "${ac_cv_prog_aros_host_aclocal+set}" = set; then
3892 $as_echo_n "(cached) " >&6
3894 if test -n "$aros_host_aclocal"; then
3895 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
3897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3901 test -z "$as_dir" && as_dir
=.
3902 for ac_exec_ext
in '' $ac_executable_extensions; do
3903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3904 ac_cv_prog_aros_host_aclocal
="$ac_prog"
3905 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3914 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
3915 if test -n "$aros_host_aclocal"; then
3916 { $as_echo "$as_me:$LINENO: result: $aros_host_aclocal" >&5
3917 $as_echo "$aros_host_aclocal" >&6; }
3919 { $as_echo "$as_me:$LINENO: result: no" >&5
3920 $as_echo "no" >&6; }
3924 test -n "$aros_host_aclocal" && break
3927 for ac_prog
in autoconf autoconf259 autoconf253
3929 # Extract the first word of "$ac_prog", so it can be a program name with args.
3930 set dummy
$ac_prog; ac_word
=$2
3931 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3932 $as_echo_n "checking for $ac_word... " >&6; }
3933 if test "${ac_cv_prog_aros_host_autoconf+set}" = set; then
3934 $as_echo_n "(cached) " >&6
3936 if test -n "$aros_host_autoconf"; then
3937 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
3939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3943 test -z "$as_dir" && as_dir
=.
3944 for ac_exec_ext
in '' $ac_executable_extensions; do
3945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3946 ac_cv_prog_aros_host_autoconf
="$ac_prog"
3947 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3956 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
3957 if test -n "$aros_host_autoconf"; then
3958 { $as_echo "$as_me:$LINENO: result: $aros_host_autoconf" >&5
3959 $as_echo "$aros_host_autoconf" >&6; }
3961 { $as_echo "$as_me:$LINENO: result: no" >&5
3962 $as_echo "no" >&6; }
3966 test -n "$aros_host_autoconf" && break
3969 for ac_prog
in autoheader autoheader259 autoheader253
3971 # Extract the first word of "$ac_prog", so it can be a program name with args.
3972 set dummy
$ac_prog; ac_word
=$2
3973 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3974 $as_echo_n "checking for $ac_word... " >&6; }
3975 if test "${ac_cv_prog_aros_host_autoheader+set}" = set; then
3976 $as_echo_n "(cached) " >&6
3978 if test -n "$aros_host_autoheader"; then
3979 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
3981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3985 test -z "$as_dir" && as_dir
=.
3986 for ac_exec_ext
in '' $ac_executable_extensions; do
3987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3988 ac_cv_prog_aros_host_autoheader
="$ac_prog"
3989 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3998 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
3999 if test -n "$aros_host_autoheader"; then
4000 { $as_echo "$as_me:$LINENO: result: $aros_host_autoheader" >&5
4001 $as_echo "$aros_host_autoheader" >&6; }
4003 { $as_echo "$as_me:$LINENO: result: no" >&5
4004 $as_echo "no" >&6; }
4008 test -n "$aros_host_autoheader" && break
4011 for ac_prog
in automake automake19 automake-1.9
4013 # Extract the first word of "$ac_prog", so it can be a program name with args.
4014 set dummy
$ac_prog; ac_word
=$2
4015 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4016 $as_echo_n "checking for $ac_word... " >&6; }
4017 if test "${ac_cv_prog_aros_host_automake+set}" = set; then
4018 $as_echo_n "(cached) " >&6
4020 if test -n "$aros_host_automake"; then
4021 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4027 test -z "$as_dir" && as_dir
=.
4028 for ac_exec_ext
in '' $ac_executable_extensions; do
4029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4030 ac_cv_prog_aros_host_automake
="$ac_prog"
4031 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4040 aros_host_automake
=$ac_cv_prog_aros_host_automake
4041 if test -n "$aros_host_automake"; then
4042 { $as_echo "$as_me:$LINENO: result: $aros_host_automake" >&5
4043 $as_echo "$aros_host_automake" >&6; }
4045 { $as_echo "$as_me:$LINENO: result: no" >&5
4046 $as_echo "no" >&6; }
4050 test -n "$aros_host_automake" && break
4054 if test "$aros_host_aclocal" = ""; then
4055 { { $as_echo "$as_me:$LINENO: error: aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." >&5
4056 $as_echo "$as_me: error: aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." >&2;}
4057 { (exit 1); exit 1; }; }
4059 if test "$aros_host_automake" = ""; then
4060 { { $as_echo "$as_me:$LINENO: error: automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." >&5
4061 $as_echo "$as_me: error: automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." >&2;}
4062 { (exit 1); exit 1; }; }
4065 case "$aros_host_cc" in
4067 aros_host_cc_pipe
="-pipe"
4070 aros_host_cc_pipe
=""
4073 aros_host_cc_pipe
=""
4077 aros_target_cc_includes
=""
4079 # This is the main host configuration section. It is where the host
4080 # can change the values of any variables it needs to change. We do
4081 # not look at anything that compiles to the target yet, we'll get
4086 aros_host_arch
="aros"
4087 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4090 aros_host_cpu
="i386"
4093 aros_host_cpu
="x86_64"
4096 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4097 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4098 aros_host_cpu
="$host_cpu"
4104 aros_host_arch
="linux"
4105 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4108 aros_host_cpu
="i386"
4111 aros_host_cpu
="x86_64"
4114 aros_host_cpu
="m68k"
4120 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4121 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4122 aros_host_cpu
="$host_cpu"
4128 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4129 aros_host_make
="gmake"
4130 aros_host_arch
="freebsd"
4131 aros_host_cpu
="i386"
4133 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4138 aros_object_format
="elf_i386"
4142 aros_object_format
="elf_i386_fbsd"
4149 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4150 aros_host_arch
="darwin"
4153 aros_host_cpu
="i386"
4159 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4160 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4161 aros_host_cpu
="$host_cpu"
4165 aros_host_ldflags
="$aros_host_ldflags -liconv"
4170 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4171 aros_host_make
="gmake"
4172 aros_host_arch
="netbsd"
4175 aros_host_cpu
="i386"
4178 aros_host_cpu
="m68k"
4181 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4182 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4183 aros_host_cpu
="$host_cpu"
4186 aros_host_lib_suffix
=".0.0"
4190 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4191 aros_host_make
="gmake"
4192 aros_host_arch
="openbsd"
4195 aros_host_cpu
="i386"
4198 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4199 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4200 aros_host_cpu
="$host_cpu"
4206 aros_host_arch
="solaris"
4207 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4210 aros_host_cpu
="i386"
4213 aros_host_cpu
="sparc"
4216 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4217 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4218 aros_host_cpu
="$host_cpu"
4224 aros_host_arch
="morphos"
4229 aros_host_arch
="amiga"
4234 TOUCH
="/gg/bin/touch"
4237 aros_host_cpu
="m68k"
4243 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4244 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4245 aros_host_cpu
="$host_cpu"
4251 aros_host_arch
="cygwin"
4252 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4255 aros_host_cpu
="i386"
4258 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4259 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4260 aros_host_cpu
="$host_cpu"
4266 aros_host_arch
="mingw32"
4267 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4270 aros_host_cpu
="i386"
4273 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4274 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4275 aros_host_cpu
="$host_cpu"
4280 { { $as_echo "$as_me:$LINENO: error: Unsupported host architecture $host" >&5
4281 $as_echo "$as_me: error: Unsupported host architecture $host" >&2;}
4282 { (exit 1); exit 1; }; }
4286 # Extract the first word of "ar", so it can be a program name with args.
4287 set dummy
ar; ac_word
=$2
4288 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4289 $as_echo_n "checking for $ac_word... " >&6; }
4290 if test "${ac_cv_prog_aros_host_ar+set}" = set; then
4291 $as_echo_n "(cached) " >&6
4293 if test -n "$aros_host_ar"; then
4294 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4296 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4300 test -z "$as_dir" && as_dir
=.
4301 for ac_exec_ext
in '' $ac_executable_extensions; do
4302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4303 ac_cv_prog_aros_host_ar
="ar cr"
4304 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4313 aros_host_ar
=$ac_cv_prog_aros_host_ar
4314 if test -n "$aros_host_ar"; then
4315 { $as_echo "$as_me:$LINENO: result: $aros_host_ar" >&5
4316 $as_echo "$aros_host_ar" >&6; }
4318 { $as_echo "$as_me:$LINENO: result: no" >&5
4319 $as_echo "no" >&6; }
4323 if test "$aros_host_ar" = ""; then
4324 { { $as_echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
4325 $as_echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
4326 { (exit 1); exit 1; }; }
4328 # Extract the first word of "ranlib", so it can be a program name with args.
4329 set dummy ranlib
; ac_word
=$2
4330 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4331 $as_echo_n "checking for $ac_word... " >&6; }
4332 if test "${ac_cv_prog_aros_host_ranlib+set}" = set; then
4333 $as_echo_n "(cached) " >&6
4335 if test -n "$aros_host_ranlib"; then
4336 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4338 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4342 test -z "$as_dir" && as_dir
=.
4343 for ac_exec_ext
in '' $ac_executable_extensions; do
4344 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4345 ac_cv_prog_aros_host_ranlib
="ranlib "
4346 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4355 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4356 if test -n "$aros_host_ranlib"; then
4357 { $as_echo "$as_me:$LINENO: result: $aros_host_ranlib" >&5
4358 $as_echo "$aros_host_ranlib" >&6; }
4360 { $as_echo "$as_me:$LINENO: result: no" >&5
4361 $as_echo "no" >&6; }
4365 if test "$aros_host_ranlib" = ""; then
4366 { { $as_echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
4367 $as_echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
4368 { (exit 1); exit 1; }; }
4370 # Extract the first word of "strip", so it can be a program name with args.
4371 set dummy strip
; ac_word
=$2
4372 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4373 $as_echo_n "checking for $ac_word... " >&6; }
4374 if test "${ac_cv_prog_aros_host_strip+set}" = set; then
4375 $as_echo_n "(cached) " >&6
4377 if test -n "$aros_host_strip"; then
4378 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4380 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4384 test -z "$as_dir" && as_dir
=.
4385 for ac_exec_ext
in '' $ac_executable_extensions; do
4386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4387 ac_cv_prog_aros_host_strip
="strip "
4388 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4397 aros_host_strip
=$ac_cv_prog_aros_host_strip
4398 if test -n "$aros_host_strip"; then
4399 { $as_echo "$as_me:$LINENO: result: $aros_host_strip" >&5
4400 $as_echo "$aros_host_strip" >&6; }
4402 { $as_echo "$as_me:$LINENO: result: no" >&5
4403 $as_echo "no" >&6; }
4407 if test "$aros_host_strip" = ""; then
4408 { { $as_echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
4409 $as_echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
4410 { (exit 1); exit 1; }; }
4413 # Extract the first word of "rm", so it can be a program name with args.
4414 set dummy
rm; ac_word
=$2
4415 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4416 $as_echo_n "checking for $ac_word... " >&6; }
4417 if test "${ac_cv_prog_RM+set}" = set; then
4418 $as_echo_n "(cached) " >&6
4420 if test -n "$RM"; then
4421 ac_cv_prog_RM
="$RM" # Let the user override the test.
4423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4427 test -z "$as_dir" && as_dir
=.
4428 for ac_exec_ext
in '' $ac_executable_extensions; do
4429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4430 ac_cv_prog_RM
="rm -rf"
4431 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4441 if test -n "$RM"; then
4442 { $as_echo "$as_me:$LINENO: result: $RM" >&5
4443 $as_echo "$RM" >&6; }
4445 { $as_echo "$as_me:$LINENO: result: no" >&5
4446 $as_echo "no" >&6; }
4450 if test "$RM" = ""; then
4451 { { $as_echo "$as_me:$LINENO: error: rm is required to build AROS. Please install and run configure again." >&5
4452 $as_echo "$as_me: error: rm is required to build AROS. Please install and run configure again." >&2;}
4453 { (exit 1); exit 1; }; }
4455 # Extract the first word of "cp", so it can be a program name with args.
4456 set dummy
cp; ac_word
=$2
4457 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4458 $as_echo_n "checking for $ac_word... " >&6; }
4459 if test "${ac_cv_prog_CP+set}" = set; then
4460 $as_echo_n "(cached) " >&6
4462 if test -n "$CP"; then
4463 ac_cv_prog_CP
="$CP" # Let the user override the test.
4465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4469 test -z "$as_dir" && as_dir
=.
4470 for ac_exec_ext
in '' $ac_executable_extensions; do
4471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4473 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4483 if test -n "$CP"; then
4484 { $as_echo "$as_me:$LINENO: result: $CP" >&5
4485 $as_echo "$CP" >&6; }
4487 { $as_echo "$as_me:$LINENO: result: no" >&5
4488 $as_echo "no" >&6; }
4492 if test "$CP" = ""; then
4493 { { $as_echo "$as_me:$LINENO: error: cp is required to build AROS. Please install and run configure again." >&5
4494 $as_echo "$as_me: error: cp is required to build AROS. Please install and run configure again." >&2;}
4495 { (exit 1); exit 1; }; }
4497 # Extract the first word of "mv", so it can be a program name with args.
4498 set dummy
mv; ac_word
=$2
4499 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4500 $as_echo_n "checking for $ac_word... " >&6; }
4501 if test "${ac_cv_prog_MV+set}" = set; then
4502 $as_echo_n "(cached) " >&6
4504 if test -n "$MV"; then
4505 ac_cv_prog_MV
="$MV" # Let the user override the test.
4507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4511 test -z "$as_dir" && as_dir
=.
4512 for ac_exec_ext
in '' $ac_executable_extensions; do
4513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4515 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4525 if test -n "$MV"; then
4526 { $as_echo "$as_me:$LINENO: result: $MV" >&5
4527 $as_echo "$MV" >&6; }
4529 { $as_echo "$as_me:$LINENO: result: no" >&5
4530 $as_echo "no" >&6; }
4534 if test "$MV" = ""; then
4535 { { $as_echo "$as_me:$LINENO: error: mv is required to build AROS. Please install and run configure again." >&5
4536 $as_echo "$as_me: error: mv is required to build AROS. Please install and run configure again." >&2;}
4537 { (exit 1); exit 1; }; }
4539 # Extract the first word of "echo", so it can be a program name with args.
4540 set dummy
echo; ac_word
=$2
4541 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4542 $as_echo_n "checking for $ac_word... " >&6; }
4543 if test "${ac_cv_prog_ECHO+set}" = set; then
4544 $as_echo_n "(cached) " >&6
4546 if test -n "$ECHO"; then
4547 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
4549 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4553 test -z "$as_dir" && as_dir
=.
4554 for ac_exec_ext
in '' $ac_executable_extensions; do
4555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4556 ac_cv_prog_ECHO
="echo "
4557 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4566 ECHO
=$ac_cv_prog_ECHO
4567 if test -n "$ECHO"; then
4568 { $as_echo "$as_me:$LINENO: result: $ECHO" >&5
4569 $as_echo "$ECHO" >&6; }
4571 { $as_echo "$as_me:$LINENO: result: no" >&5
4572 $as_echo "no" >&6; }
4576 if test "$ECHO" = ""; then
4577 { { $as_echo "$as_me:$LINENO: error: echo is required to build AROS. Please install and run configure again." >&5
4578 $as_echo "$as_me: error: echo is required to build AROS. Please install and run configure again." >&2;}
4579 { (exit 1); exit 1; }; }
4581 # Extract the first word of "mkdir", so it can be a program name with args.
4582 set dummy mkdir
; ac_word
=$2
4583 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4584 $as_echo_n "checking for $ac_word... " >&6; }
4585 if test "${ac_cv_prog_MKDIR+set}" = set; then
4586 $as_echo_n "(cached) " >&6
4588 if test -n "$MKDIR"; then
4589 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
4591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4595 test -z "$as_dir" && as_dir
=.
4596 for ac_exec_ext
in '' $ac_executable_extensions; do
4597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4598 ac_cv_prog_MKDIR
="mkdir -p"
4599 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4608 MKDIR
=$ac_cv_prog_MKDIR
4609 if test -n "$MKDIR"; then
4610 { $as_echo "$as_me:$LINENO: result: $MKDIR" >&5
4611 $as_echo "$MKDIR" >&6; }
4613 { $as_echo "$as_me:$LINENO: result: no" >&5
4614 $as_echo "no" >&6; }
4618 if test "$MKDIR" = ""; then
4619 { { $as_echo "$as_me:$LINENO: error: mkdir is required to build AROS. Please install and run configure again." >&5
4620 $as_echo "$as_me: error: mkdir is required to build AROS. Please install and run configure again." >&2;}
4621 { (exit 1); exit 1; }; }
4623 # Extract the first word of "touch", so it can be a program name with args.
4624 set dummy
touch; ac_word
=$2
4625 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4626 $as_echo_n "checking for $ac_word... " >&6; }
4627 if test "${ac_cv_prog_TOUCH+set}" = set; then
4628 $as_echo_n "(cached) " >&6
4630 if test -n "$TOUCH"; then
4631 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
4633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4637 test -z "$as_dir" && as_dir
=.
4638 for ac_exec_ext
in '' $ac_executable_extensions; do
4639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4640 ac_cv_prog_TOUCH
="touch "
4641 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4650 TOUCH
=$ac_cv_prog_TOUCH
4651 if test -n "$TOUCH"; then
4652 { $as_echo "$as_me:$LINENO: result: $TOUCH" >&5
4653 $as_echo "$TOUCH" >&6; }
4655 { $as_echo "$as_me:$LINENO: result: no" >&5
4656 $as_echo "no" >&6; }
4660 if test "$TOUCH" = ""; then
4661 { { $as_echo "$as_me:$LINENO: error: touch is required to build AROS. Please install and run configure again." >&5
4662 $as_echo "$as_me: error: touch is required to build AROS. Please install and run configure again." >&2;}
4663 { (exit 1); exit 1; }; }
4665 # Extract the first word of "sort", so it can be a program name with args.
4666 set dummy
sort; ac_word
=$2
4667 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4668 $as_echo_n "checking for $ac_word... " >&6; }
4669 if test "${ac_cv_prog_SORT+set}" = set; then
4670 $as_echo_n "(cached) " >&6
4672 if test -n "$SORT"; then
4673 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
4675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4679 test -z "$as_dir" && as_dir
=.
4680 for ac_exec_ext
in '' $ac_executable_extensions; do
4681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4682 ac_cv_prog_SORT
="sort "
4683 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4692 SORT
=$ac_cv_prog_SORT
4693 if test -n "$SORT"; then
4694 { $as_echo "$as_me:$LINENO: result: $SORT" >&5
4695 $as_echo "$SORT" >&6; }
4697 { $as_echo "$as_me:$LINENO: result: no" >&5
4698 $as_echo "no" >&6; }
4702 if test "$SORT" = ""; then
4703 { { $as_echo "$as_me:$LINENO: error: sort is required to build AROS. Please install and run configure again." >&5
4704 $as_echo "$as_me: error: sort is required to build AROS. Please install and run configure again." >&2;}
4705 { (exit 1); exit 1; }; }
4707 # Extract the first word of "uniq", so it can be a program name with args.
4708 set dummy
uniq; ac_word
=$2
4709 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4710 $as_echo_n "checking for $ac_word... " >&6; }
4711 if test "${ac_cv_prog_UNIQ+set}" = set; then
4712 $as_echo_n "(cached) " >&6
4714 if test -n "$UNIQ"; then
4715 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
4717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4721 test -z "$as_dir" && as_dir
=.
4722 for ac_exec_ext
in '' $ac_executable_extensions; do
4723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4724 ac_cv_prog_UNIQ
="uniq "
4725 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4734 UNIQ
=$ac_cv_prog_UNIQ
4735 if test -n "$UNIQ"; then
4736 { $as_echo "$as_me:$LINENO: result: $UNIQ" >&5
4737 $as_echo "$UNIQ" >&6; }
4739 { $as_echo "$as_me:$LINENO: result: no" >&5
4740 $as_echo "no" >&6; }
4744 if test "$UNIQ" = ""; then
4745 { { $as_echo "$as_me:$LINENO: error: uniq is required to build AROS. Please install and run configure again." >&5
4746 $as_echo "$as_me: error: uniq is required to build AROS. Please install and run configure again." >&2;}
4747 { (exit 1); exit 1; }; }
4749 # Extract the first word of "true", so it can be a program name with args.
4750 set dummy true
; ac_word
=$2
4751 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4752 $as_echo_n "checking for $ac_word... " >&6; }
4753 if test "${ac_cv_prog_NOP+set}" = set; then
4754 $as_echo_n "(cached) " >&6
4756 if test -n "$NOP"; then
4757 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
4759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4763 test -z "$as_dir" && as_dir
=.
4764 for ac_exec_ext
in '' $ac_executable_extensions; do
4765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4766 ac_cv_prog_NOP
="true "
4767 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4777 if test -n "$NOP"; then
4778 { $as_echo "$as_me:$LINENO: result: $NOP" >&5
4779 $as_echo "$NOP" >&6; }
4781 { $as_echo "$as_me:$LINENO: result: no" >&5
4782 $as_echo "no" >&6; }
4786 if test "$NOP" = ""; then
4787 { { $as_echo "$as_me:$LINENO: error: true is required to build AROS. Please install and run configure again." >&5
4788 $as_echo "$as_me: error: true is required to build AROS. Please install and run configure again." >&2;}
4789 { (exit 1); exit 1; }; }
4791 # Extract the first word of "cat", so it can be a program name with args.
4792 set dummy
cat; ac_word
=$2
4793 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4794 $as_echo_n "checking for $ac_word... " >&6; }
4795 if test "${ac_cv_prog_CAT+set}" = set; then
4796 $as_echo_n "(cached) " >&6
4798 if test -n "$CAT"; then
4799 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
4801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4805 test -z "$as_dir" && as_dir
=.
4806 for ac_exec_ext
in '' $ac_executable_extensions; do
4807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4808 ac_cv_prog_CAT
="cat "
4809 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4819 if test -n "$CAT"; then
4820 { $as_echo "$as_me:$LINENO: result: $CAT" >&5
4821 $as_echo "$CAT" >&6; }
4823 { $as_echo "$as_me:$LINENO: result: no" >&5
4824 $as_echo "no" >&6; }
4828 if test "$CAT" = ""; then
4829 { { $as_echo "$as_me:$LINENO: error: cat is required to build AROS. Please install and run configure again." >&5
4830 $as_echo "$as_me: error: cat is required to build AROS. Please install and run configure again." >&2;}
4831 { (exit 1); exit 1; }; }
4833 # Extract the first word of "bison", so it can be a program name with args.
4834 set dummy bison
; ac_word
=$2
4835 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4836 $as_echo_n "checking for $ac_word... " >&6; }
4837 if test "${ac_cv_prog_BISON+set}" = set; then
4838 $as_echo_n "(cached) " >&6
4840 if test -n "$BISON"; then
4841 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4847 test -z "$as_dir" && as_dir
=.
4848 for ac_exec_ext
in '' $ac_executable_extensions; do
4849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4850 ac_cv_prog_BISON
="bison "
4851 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4860 BISON
=$ac_cv_prog_BISON
4861 if test -n "$BISON"; then
4862 { $as_echo "$as_me:$LINENO: result: $BISON" >&5
4863 $as_echo "$BISON" >&6; }
4865 { $as_echo "$as_me:$LINENO: result: no" >&5
4866 $as_echo "no" >&6; }
4870 if test "$BISON" = ""; then
4871 { { $as_echo "$as_me:$LINENO: error: bison is required to build AROS. Please install and run configure again." >&5
4872 $as_echo "$as_me: error: bison is required to build AROS. Please install and run configure again." >&2;}
4873 { (exit 1); exit 1; }; }
4875 # Extract the first word of "flex", so it can be a program name with args.
4876 set dummy flex
; ac_word
=$2
4877 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4878 $as_echo_n "checking for $ac_word... " >&6; }
4879 if test "${ac_cv_prog_FLEX+set}" = set; then
4880 $as_echo_n "(cached) " >&6
4882 if test -n "$FLEX"; then
4883 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4889 test -z "$as_dir" && as_dir
=.
4890 for ac_exec_ext
in '' $ac_executable_extensions; do
4891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4892 ac_cv_prog_FLEX
="flex "
4893 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4902 FLEX
=$ac_cv_prog_FLEX
4903 if test -n "$FLEX"; then
4904 { $as_echo "$as_me:$LINENO: result: $FLEX" >&5
4905 $as_echo "$FLEX" >&6; }
4907 { $as_echo "$as_me:$LINENO: result: no" >&5
4908 $as_echo "no" >&6; }
4912 if test "$FLEX" = ""; then
4913 { { $as_echo "$as_me:$LINENO: error: flex is required to build AROS. Please install and run configure again." >&5
4914 $as_echo "$as_me: error: flex is required to build AROS. Please install and run configure again." >&2;}
4915 { (exit 1); exit 1; }; }
4917 # Extract the first word of "pngtopnm", so it can be a program name with args.
4918 set dummy pngtopnm
; ac_word
=$2
4919 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4920 $as_echo_n "checking for $ac_word... " >&6; }
4921 if test "${ac_cv_prog_PNGTOPNM+set}" = set; then
4922 $as_echo_n "(cached) " >&6
4924 if test -n "$PNGTOPNM"; then
4925 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
4927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4931 test -z "$as_dir" && as_dir
=.
4932 for ac_exec_ext
in '' $ac_executable_extensions; do
4933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4934 ac_cv_prog_PNGTOPNM
="pngtopnm "
4935 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4944 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
4945 if test -n "$PNGTOPNM"; then
4946 { $as_echo "$as_me:$LINENO: result: $PNGTOPNM" >&5
4947 $as_echo "$PNGTOPNM" >&6; }
4949 { $as_echo "$as_me:$LINENO: result: no" >&5
4950 $as_echo "no" >&6; }
4954 if test "$PNGTOPNM" = ""; then
4955 { { $as_echo "$as_me:$LINENO: error: pngtopnm is required to build AROS. Please install and run configure again." >&5
4956 $as_echo "$as_me: error: pngtopnm is required to build AROS. Please install and run configure again." >&2;}
4957 { (exit 1); exit 1; }; }
4959 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
4960 set dummy ppmtoilbm
; ac_word
=$2
4961 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4962 $as_echo_n "checking for $ac_word... " >&6; }
4963 if test "${ac_cv_prog_PPMTOILBM+set}" = set; then
4964 $as_echo_n "(cached) " >&6
4966 if test -n "$PPMTOILBM"; then
4967 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
4969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4973 test -z "$as_dir" && as_dir
=.
4974 for ac_exec_ext
in '' $ac_executable_extensions; do
4975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4976 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
4977 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4986 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
4987 if test -n "$PPMTOILBM"; then
4988 { $as_echo "$as_me:$LINENO: result: $PPMTOILBM" >&5
4989 $as_echo "$PPMTOILBM" >&6; }
4991 { $as_echo "$as_me:$LINENO: result: no" >&5
4992 $as_echo "no" >&6; }
4996 if test "$PPMTOILBM" = ""; then
4997 { { $as_echo "$as_me:$LINENO: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&5
4998 $as_echo "$as_me: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&2;}
4999 { (exit 1); exit 1; }; }
5001 # Extract the first word of "sed", so it can be a program name with args.
5002 set dummy
sed; ac_word
=$2
5003 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5004 $as_echo_n "checking for $ac_word... " >&6; }
5005 if test "${ac_cv_prog_SED+set}" = set; then
5006 $as_echo_n "(cached) " >&6
5008 if test -n "$SED"; then
5009 ac_cv_prog_SED
="$SED" # Let the user override the test.
5011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5015 test -z "$as_dir" && as_dir
=.
5016 for ac_exec_ext
in '' $ac_executable_extensions; do
5017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5018 ac_cv_prog_SED
="sed "
5019 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5029 if test -n "$SED"; then
5030 { $as_echo "$as_me:$LINENO: result: $SED" >&5
5031 $as_echo "$SED" >&6; }
5033 { $as_echo "$as_me:$LINENO: result: no" >&5
5034 $as_echo "no" >&6; }
5038 if test "$SED" = ""; then
5039 { { $as_echo "$as_me:$LINENO: error: sed is required to build AROS. Please install and run configure again." >&5
5040 $as_echo "$as_me: error: sed is required to build AROS. Please install and run configure again." >&2;}
5041 { (exit 1); exit 1; }; }
5043 # Extract the first word of "chmod", so it can be a program name with args.
5044 set dummy
chmod; ac_word
=$2
5045 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5046 $as_echo_n "checking for $ac_word... " >&6; }
5047 if test "${ac_cv_prog_CHMOD+set}" = set; then
5048 $as_echo_n "(cached) " >&6
5050 if test -n "$CHMOD"; then
5051 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5057 test -z "$as_dir" && as_dir
=.
5058 for ac_exec_ext
in '' $ac_executable_extensions; do
5059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5060 ac_cv_prog_CHMOD
="chmod "
5061 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5070 CHMOD
=$ac_cv_prog_CHMOD
5071 if test -n "$CHMOD"; then
5072 { $as_echo "$as_me:$LINENO: result: $CHMOD" >&5
5073 $as_echo "$CHMOD" >&6; }
5075 { $as_echo "$as_me:$LINENO: result: no" >&5
5076 $as_echo "no" >&6; }
5080 if test "$CHMOD" = ""; then
5081 { { $as_echo "$as_me:$LINENO: error: chmod is required to build AROS. Please install and run configure again." >&5
5082 $as_echo "$as_me: error: chmod is required to build AROS. Please install and run configure again." >&2;}
5083 { (exit 1); exit 1; }; }
5090 if test -n "$PYTHON"; then
5091 # If the user set $PYTHON, use it and don't search something else.
5092 { $as_echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.2.1" >&5
5093 $as_echo_n "checking whether $PYTHON version >= 2.2.1... " >&6; }
5094 prog
="import sys, string
5095 # split strings by '.' and convert to numeric. Append some zeros
5096 # because we need at least 4 digits for the hex conversion.
5097 minver = map(int, string.split('2.2.1', '.')) + [0, 0, 0]
5099 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5100 sys.exit(sys.hexversion < minverhex)"
5101 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5102 ($PYTHON -c "$prog") >&5 2>&5
5104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5105 (exit $ac_status); }; then
5106 { $as_echo "$as_me:$LINENO: result: yes" >&5
5107 $as_echo "yes" >&6; }
5109 { { $as_echo "$as_me:$LINENO: error: too old" >&5
5110 $as_echo "$as_me: error: too old" >&2;}
5111 { (exit 1); exit 1; }; }
5114 am_display_PYTHON
=$PYTHON
5116 # Otherwise, try each interpreter until we find one that satisfies
5118 { $as_echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.2.1" >&5
5119 $as_echo_n "checking for a Python interpreter with version >= 2.2.1... " >&6; }
5120 if test "${am_cv_pathless_PYTHON+set}" = set; then
5121 $as_echo_n "(cached) " >&6
5124 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
5125 test "$am_cv_pathless_PYTHON" = none
&& break
5126 prog
="import sys, string
5127 # split strings by '.' and convert to numeric. Append some zeros
5128 # because we need at least 4 digits for the hex conversion.
5129 minver = map(int, string.split('2.2.1', '.')) + [0, 0, 0]
5131 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5132 sys.exit(sys.hexversion < minverhex)"
5133 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5134 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5137 (exit $ac_status); }; then
5143 { $as_echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
5144 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5145 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5146 if test "$am_cv_pathless_PYTHON" = none
; then
5149 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5150 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5151 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5152 $as_echo_n "checking for $ac_word... " >&6; }
5153 if test "${ac_cv_path_PYTHON+set}" = set; then
5154 $as_echo_n "(cached) " >&6
5158 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5165 test -z "$as_dir" && as_dir
=.
5166 for ac_exec_ext
in '' $ac_executable_extensions; do
5167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5168 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5169 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5179 PYTHON
=$ac_cv_path_PYTHON
5180 if test -n "$PYTHON"; then
5181 { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
5182 $as_echo "$PYTHON" >&6; }
5184 { $as_echo "$as_me:$LINENO: result: no" >&5
5185 $as_echo "no" >&6; }
5190 am_display_PYTHON
=$am_cv_pathless_PYTHON
5194 if test "$PYTHON" = :; then
5195 { { $as_echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
5196 $as_echo "$as_me: error: no suitable Python interpreter found" >&2;}
5197 { (exit 1); exit 1; }; }
5201 { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
5202 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5203 if test "${am_cv_python_version+set}" = set; then
5204 $as_echo_n "(cached) " >&6
5206 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
5208 { $as_echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
5209 $as_echo "$am_cv_python_version" >&6; }
5210 PYTHON_VERSION
=$am_cv_python_version
5214 PYTHON_PREFIX
='${prefix}'
5216 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5220 { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
5221 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5222 if test "${am_cv_python_platform+set}" = set; then
5223 $as_echo_n "(cached) " >&6
5225 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
5227 { $as_echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
5228 $as_echo "$am_cv_python_platform" >&6; }
5229 PYTHON_PLATFORM
=$am_cv_python_platform
5234 { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
5235 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5236 if test "${am_cv_python_pythondir+set}" = set; then
5237 $as_echo_n "(cached) " >&6
5239 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5240 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5242 { $as_echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
5243 $as_echo "$am_cv_python_pythondir" >&6; }
5244 pythondir
=$am_cv_python_pythondir
5248 pkgpythondir
=\
${pythondir}/$PACKAGE
5251 { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
5252 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5253 if test "${am_cv_python_pyexecdir+set}" = set; then
5254 $as_echo_n "(cached) " >&6
5256 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5257 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5259 { $as_echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
5260 $as_echo "$am_cv_python_pyexecdir" >&6; }
5261 pyexecdir
=$am_cv_python_pyexecdir
5265 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5283 # Check for some includes for the X11 HIDD and the kernel
5286 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5287 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5288 if test "${ac_cv_path_GREP+set}" = set; then
5289 $as_echo_n "(cached) " >&6
5291 if test -z "$GREP"; then
5292 ac_path_GREP_found
=false
5293 # Loop through the user's path and test for each of PROGNAME-LIST
5294 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5295 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5298 test -z "$as_dir" && as_dir
=.
5299 for ac_prog
in grep ggrep
; do
5300 for ac_exec_ext
in '' $ac_executable_extensions; do
5301 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5302 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5303 # Check for GNU ac_path_GREP and select it if it is found.
5304 # Check for GNU $ac_path_GREP
5305 case `"$ac_path_GREP" --version 2>&1` in
5307 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5310 $as_echo_n 0123456789 >"conftest.in"
5313 cat "conftest.in" "conftest.in" >"conftest.tmp"
5314 mv "conftest.tmp" "conftest.in"
5315 cp "conftest.in" "conftest.nl"
5316 $as_echo 'GREP' >> "conftest.nl"
5317 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5318 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5319 ac_count
=`expr $ac_count + 1`
5320 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5321 # Best one so far, save it but keep looking for a better one
5322 ac_cv_path_GREP
="$ac_path_GREP"
5323 ac_path_GREP_max
=$ac_count
5325 # 10*(2^10) chars as input seems more than enough
5326 test $ac_count -gt 10 && break
5328 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5331 $ac_path_GREP_found && break 3
5336 if test -z "$ac_cv_path_GREP"; then
5337 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5338 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5339 { (exit 1); exit 1; }; }
5342 ac_cv_path_GREP
=$GREP
5346 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5347 $as_echo "$ac_cv_path_GREP" >&6; }
5348 GREP
="$ac_cv_path_GREP"
5351 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
5352 $as_echo_n "checking for egrep... " >&6; }
5353 if test "${ac_cv_path_EGREP+set}" = set; then
5354 $as_echo_n "(cached) " >&6
5356 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5357 then ac_cv_path_EGREP
="$GREP -E"
5359 if test -z "$EGREP"; then
5360 ac_path_EGREP_found
=false
5361 # Loop through the user's path and test for each of PROGNAME-LIST
5362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5363 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5366 test -z "$as_dir" && as_dir
=.
5367 for ac_prog
in egrep; do
5368 for ac_exec_ext
in '' $ac_executable_extensions; do
5369 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5370 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5371 # Check for GNU ac_path_EGREP and select it if it is found.
5372 # Check for GNU $ac_path_EGREP
5373 case `"$ac_path_EGREP" --version 2>&1` in
5375 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5378 $as_echo_n 0123456789 >"conftest.in"
5381 cat "conftest.in" "conftest.in" >"conftest.tmp"
5382 mv "conftest.tmp" "conftest.in"
5383 cp "conftest.in" "conftest.nl"
5384 $as_echo 'EGREP' >> "conftest.nl"
5385 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5386 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5387 ac_count
=`expr $ac_count + 1`
5388 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5389 # Best one so far, save it but keep looking for a better one
5390 ac_cv_path_EGREP
="$ac_path_EGREP"
5391 ac_path_EGREP_max
=$ac_count
5393 # 10*(2^10) chars as input seems more than enough
5394 test $ac_count -gt 10 && break
5396 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5399 $ac_path_EGREP_found && break 3
5404 if test -z "$ac_cv_path_EGREP"; then
5405 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5406 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5407 { (exit 1); exit 1; }; }
5410 ac_cv_path_EGREP
=$EGREP
5415 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5416 $as_echo "$ac_cv_path_EGREP" >&6; }
5417 EGREP
="$ac_cv_path_EGREP"
5420 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5421 $as_echo_n "checking for ANSI C header files... " >&6; }
5422 if test "${ac_cv_header_stdc+set}" = set; then
5423 $as_echo_n "(cached) " >&6
5425 cat >conftest.
$ac_ext <<_ACEOF
5428 cat confdefs.h
>>conftest.
$ac_ext
5429 cat >>conftest.
$ac_ext <<_ACEOF
5430 /* end confdefs.h. */
5444 rm -f conftest.
$ac_objext
5445 if { (ac_try
="$ac_compile"
5447 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5448 *) ac_try_echo=$ac_try;;
5450 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5451 $as_echo "$ac_try_echo") >&5
5452 (eval "$ac_compile") 2>conftest.er1
5454 grep -v '^ *+' conftest.er1 >conftest.err
5456 cat conftest.err >&5
5457 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5458 (exit $ac_status); } && {
5459 test -z "$ac_c_werror_flag" ||
5460 test ! -s conftest.err
5461 } && test -s conftest.$ac_objext; then
5462 ac_cv_header_stdc=yes
5464 $as_echo "$as_me: failed program was:" >&5
5465 sed 's/^/| /' conftest.$ac_ext >&5
5467 ac_cv_header_stdc=no
5470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5472 if test $ac_cv_header_stdc = yes; then
5473 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5474 cat >conftest.$ac_ext <<_ACEOF
5477 cat confdefs.h >>conftest.$ac_ext
5478 cat >>conftest.$ac_ext <<_ACEOF
5479 /* end confdefs.h. */
5483 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5484 $EGREP "memchr" >/dev/null 2>&1; then
5487 ac_cv_header_stdc=no
5493 if test $ac_cv_header_stdc = yes; then
5494 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5495 cat >conftest.$ac_ext <<_ACEOF
5498 cat confdefs.h >>conftest.$ac_ext
5499 cat >>conftest.$ac_ext <<_ACEOF
5500 /* end confdefs.h. */
5504 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5505 $EGREP "free" >/dev/null 2>&1; then
5508 ac_cv_header_stdc=no
5514 if test $ac_cv_header_stdc = yes; then
5515 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5516 if test "$cross_compiling" = yes; then
5519 cat >conftest.$ac_ext <<_ACEOF
5522 cat confdefs.h >>conftest.$ac_ext
5523 cat >>conftest.$ac_ext <<_ACEOF
5524 /* end confdefs.h. */
5527 #if ((' ' & 0x0FF) == 0x020)
5528 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5529 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5531 # define ISLOWER(c) \
5532 (('a' <= (c) && (c) <= 'i') \
5533 || ('j' <= (c) && (c) <= 'r') \
5534 || ('s' <= (c) && (c) <= 'z'))
5535 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5538 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5543 for (i = 0; i < 256; i++)
5544 if (XOR (islower (i), ISLOWER (i))
5545 || toupper (i) != TOUPPER (i))
5550 rm -f conftest$ac_exeext
5551 if { (ac_try="$ac_link"
5553 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5554 *) ac_try_echo
=$ac_try;;
5556 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5557 $as_echo "$ac_try_echo") >&5
5558 (eval "$ac_link") 2>&5
5560 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5561 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5562 { (case "(($ac_try" in
5563 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5564 *) ac_try_echo=$ac_try;;
5566 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5567 $as_echo "$ac_try_echo") >&5
5568 (eval "$ac_try") 2>&5
5570 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5571 (exit $ac_status); }; }; then
5574 $as_echo "$as_me: program exited with status $ac_status" >&5
5575 $as_echo "$as_me: failed program was:" >&5
5576 sed 's/^/| /' conftest.$ac_ext >&5
5579 ac_cv_header_stdc=no
5581 rm -rf conftest.dSYM
5582 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5588 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5589 $as_echo "$ac_cv_header_stdc" >&6; }
5590 if test $ac_cv_header_stdc = yes; then
5592 cat >>confdefs.h <<\_ACEOF
5593 #define STDC_HEADERS 1
5598 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5608 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5609 inttypes.h stdint.h unistd.h
5611 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5612 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5613 $as_echo_n "checking for $ac_header... " >&6; }
5614 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5615 $as_echo_n "(cached) " >&6
5617 cat >conftest.$ac_ext <<_ACEOF
5620 cat confdefs.h >>conftest.$ac_ext
5621 cat >>conftest.$ac_ext <<_ACEOF
5622 /* end confdefs.h. */
5623 $ac_includes_default
5625 #include <$ac_header>
5627 rm -f conftest.$ac_objext
5628 if { (ac_try="$ac_compile"
5630 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5631 *) ac_try_echo
=$ac_try;;
5633 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5634 $as_echo "$ac_try_echo") >&5
5635 (eval "$ac_compile") 2>conftest.er1
5637 grep -v '^ *+' conftest.er1
>conftest.err
5639 cat conftest.err
>&5
5640 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5641 (exit $ac_status); } && {
5642 test -z "$ac_c_werror_flag" ||
5643 test ! -s conftest.err
5644 } && test -s conftest.
$ac_objext; then
5645 eval "$as_ac_Header=yes"
5647 $as_echo "$as_me: failed program was:" >&5
5648 sed 's/^/| /' conftest.
$ac_ext >&5
5650 eval "$as_ac_Header=no"
5653 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5655 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5656 $as_echo "$as_val"'`
5657 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5658 $as_echo "$ac_res" >&6; }
5659 as_val
=`eval 'as_val=${'$as_ac_Header'}
5660 $as_echo "$as_val"'`
5661 if test "x$as_val" = x
""yes; then
5662 cat >>confdefs.h
<<_ACEOF
5663 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5680 for ac_header
in sys
/ipc.h sys
/shm.h \
5681 sys
/mmap.h sys
/mman.h sysexits.h \
5682 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
5685 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5686 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5687 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5688 $as_echo_n "checking for $ac_header... " >&6; }
5689 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5690 $as_echo_n "(cached) " >&6
5692 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5693 $as_echo "$as_val"'`
5694 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5695 $as_echo "$ac_res" >&6; }
5697 # Is the header compilable?
5698 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5699 $as_echo_n "checking $ac_header usability... " >&6; }
5700 cat >conftest.
$ac_ext <<_ACEOF
5703 cat confdefs.h
>>conftest.
$ac_ext
5704 cat >>conftest.
$ac_ext <<_ACEOF
5705 /* end confdefs.h. */
5706 $ac_includes_default
5707 #include <$ac_header>
5709 rm -f conftest.
$ac_objext
5710 if { (ac_try
="$ac_compile"
5712 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5713 *) ac_try_echo=$ac_try;;
5715 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5716 $as_echo "$ac_try_echo") >&5
5717 (eval "$ac_compile") 2>conftest.er1
5719 grep -v '^ *+' conftest.er1 >conftest.err
5721 cat conftest.err >&5
5722 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5723 (exit $ac_status); } && {
5724 test -z "$ac_c_werror_flag" ||
5725 test ! -s conftest.err
5726 } && test -s conftest.$ac_objext; then
5727 ac_header_compiler=yes
5729 $as_echo "$as_me: failed program was:" >&5
5730 sed 's/^/| /' conftest.$ac_ext >&5
5732 ac_header_compiler=no
5735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5736 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5737 $as_echo "$ac_header_compiler" >&6; }
5739 # Is the header present?
5740 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5741 $as_echo_n "checking $ac_header presence... " >&6; }
5742 cat >conftest.$ac_ext <<_ACEOF
5745 cat confdefs.h >>conftest.$ac_ext
5746 cat >>conftest.$ac_ext <<_ACEOF
5747 /* end confdefs.h. */
5748 #include <$ac_header>
5750 if { (ac_try="$ac_cpp conftest.$ac_ext"
5752 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5753 *) ac_try_echo
=$ac_try;;
5755 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5756 $as_echo "$ac_try_echo") >&5
5757 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5759 grep -v '^ *+' conftest.er1
>conftest.err
5761 cat conftest.err
>&5
5762 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5763 (exit $ac_status); } >/dev
/null
&& {
5764 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5765 test ! -s conftest.err
5767 ac_header_preproc
=yes
5769 $as_echo "$as_me: failed program was:" >&5
5770 sed 's/^/| /' conftest.
$ac_ext >&5
5772 ac_header_preproc
=no
5775 rm -f conftest.err conftest.
$ac_ext
5776 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5777 $as_echo "$ac_header_preproc" >&6; }
5779 # So? What about this header?
5780 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5782 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5783 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5784 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5785 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5786 ac_header_preproc
=yes
5789 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5790 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5791 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5792 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5793 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5794 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5795 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5796 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5797 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5798 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5799 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5800 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5804 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5805 $as_echo_n "checking for $ac_header... " >&6; }
5806 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5807 $as_echo_n "(cached) " >&6
5809 eval "$as_ac_Header=\$ac_header_preproc"
5811 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5812 $as_echo "$as_val"'`
5813 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5814 $as_echo "$ac_res" >&6; }
5817 as_val
=`eval 'as_val=${'$as_ac_Header'}
5818 $as_echo "$as_val"'`
5819 if test "x$as_val" = x
""yes; then
5820 cat >>confdefs.h
<<_ACEOF
5821 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5830 for ac_header
in sys
/mount.h
5832 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
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 cat >conftest.
$ac_ext <<_ACEOF
5841 cat confdefs.h
>>conftest.
$ac_ext
5842 cat >>conftest.
$ac_ext <<_ACEOF
5843 /* end confdefs.h. */
5844 #include <sys/param.h>
5846 #include <$ac_header>
5848 rm -f conftest.
$ac_objext
5849 if { (ac_try
="$ac_compile"
5851 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5852 *) ac_try_echo=$ac_try;;
5854 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5855 $as_echo "$ac_try_echo") >&5
5856 (eval "$ac_compile") 2>conftest.er1
5858 grep -v '^ *+' conftest.er1 >conftest.err
5860 cat conftest.err >&5
5861 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5862 (exit $ac_status); } && {
5863 test -z "$ac_c_werror_flag" ||
5864 test ! -s conftest.err
5865 } && test -s conftest.$ac_objext; then
5866 eval "$as_ac_Header=yes"
5868 $as_echo "$as_me: failed program was:" >&5
5869 sed 's/^/| /' conftest.$ac_ext >&5
5871 eval "$as_ac_Header=no"
5874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5876 ac_res=`eval 'as_val=${'$as_ac_Header'}
5877 $as_echo "$as_val"'`
5878 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5879 $as_echo "$ac_res" >&6; }
5880 as_val=`eval 'as_val=${'$as_ac_Header'}
5881 $as_echo "$as_val"'`
5882 if test "x$as_val" = x""yes; then
5883 cat >>confdefs.h <<_ACEOF
5884 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5898 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
5899 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
5900 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
5901 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
5902 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5903 $as_echo_n "(cached) " >&6
5905 cat >conftest.$ac_ext <<_ACEOF
5908 cat confdefs.h >>conftest.$ac_ext
5909 cat >>conftest.$ac_ext <<_ACEOF
5910 /* end confdefs.h. */
5911 #include <sys/types.h>
5923 rm -f conftest.$ac_objext
5924 if { (ac_try="$ac_compile"
5926 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5927 *) ac_try_echo
=$ac_try;;
5929 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5930 $as_echo "$ac_try_echo") >&5
5931 (eval "$ac_compile") 2>conftest.er1
5933 grep -v '^ *+' conftest.er1
>conftest.err
5935 cat conftest.err
>&5
5936 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5937 (exit $ac_status); } && {
5938 test -z "$ac_c_werror_flag" ||
5939 test ! -s conftest.err
5940 } && test -s conftest.
$ac_objext; then
5941 eval "$as_ac_Header=yes"
5943 $as_echo "$as_me: failed program was:" >&5
5944 sed 's/^/| /' conftest.
$ac_ext >&5
5946 eval "$as_ac_Header=no"
5949 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5951 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5952 $as_echo "$as_val"'`
5953 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5954 $as_echo "$ac_res" >&6; }
5955 as_val
=`eval 'as_val=${'$as_ac_Header'}
5956 $as_echo "$as_val"'`
5957 if test "x$as_val" = x
""yes; then
5958 cat >>confdefs.h
<<_ACEOF
5959 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5962 ac_header_dirent
=$ac_hdr; break
5966 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5967 if test $ac_header_dirent = dirent.h
; then
5968 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
5969 $as_echo_n "checking for library containing opendir... " >&6; }
5970 if test "${ac_cv_search_opendir+set}" = set; then
5971 $as_echo_n "(cached) " >&6
5973 ac_func_search_save_LIBS
=$LIBS
5974 cat >conftest.
$ac_ext <<_ACEOF
5977 cat confdefs.h
>>conftest.
$ac_ext
5978 cat >>conftest.
$ac_ext <<_ACEOF
5979 /* end confdefs.h. */
5981 /* Override any GCC internal prototype to avoid an error.
5982 Use char because int might match the return type of a GCC
5983 builtin and then its argument prototype would still apply. */
5996 for ac_lib
in '' dir
; do
5997 if test -z "$ac_lib"; then
5998 ac_res
="none required"
6001 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6003 rm -f conftest.
$ac_objext conftest
$ac_exeext
6004 if { (ac_try
="$ac_link"
6006 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6007 *) ac_try_echo=$ac_try;;
6009 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6010 $as_echo "$ac_try_echo") >&5
6011 (eval "$ac_link") 2>conftest.er1
6013 grep -v '^ *+' conftest.er1 >conftest.err
6015 cat conftest.err >&5
6016 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6017 (exit $ac_status); } && {
6018 test -z "$ac_c_werror_flag" ||
6019 test ! -s conftest.err
6020 } && test -s conftest$ac_exeext && {
6021 test "$cross_compiling" = yes ||
6022 $as_test_x conftest$ac_exeext
6024 ac_cv_search_opendir=$ac_res
6026 $as_echo "$as_me: failed program was:" >&5
6027 sed 's/^/| /' conftest.$ac_ext >&5
6032 rm -rf conftest.dSYM
6033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6035 if test "${ac_cv_search_opendir+set}" = set; then
6039 if test "${ac_cv_search_opendir+set}" = set; then
6042 ac_cv_search_opendir=no
6045 LIBS=$ac_func_search_save_LIBS
6047 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6048 $as_echo "$ac_cv_search_opendir" >&6; }
6049 ac_res=$ac_cv_search_opendir
6050 if test "$ac_res" != no; then
6051 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6056 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
6057 $as_echo_n "checking for library containing opendir... " >&6; }
6058 if test "${ac_cv_search_opendir+set}" = set; then
6059 $as_echo_n "(cached) " >&6
6061 ac_func_search_save_LIBS=$LIBS
6062 cat >conftest.$ac_ext <<_ACEOF
6065 cat confdefs.h >>conftest.$ac_ext
6066 cat >>conftest.$ac_ext <<_ACEOF
6067 /* end confdefs.h. */
6069 /* Override any GCC internal prototype to avoid an error.
6070 Use char because int might match the return type of a GCC
6071 builtin and then its argument prototype would still apply. */
6084 for ac_lib in '' x; do
6085 if test -z "$ac_lib"; then
6086 ac_res="none required"
6089 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6091 rm -f conftest.$ac_objext conftest$ac_exeext
6092 if { (ac_try="$ac_link"
6094 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6095 *) ac_try_echo
=$ac_try;;
6097 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6098 $as_echo "$ac_try_echo") >&5
6099 (eval "$ac_link") 2>conftest.er1
6101 grep -v '^ *+' conftest.er1
>conftest.err
6103 cat conftest.err
>&5
6104 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6105 (exit $ac_status); } && {
6106 test -z "$ac_c_werror_flag" ||
6107 test ! -s conftest.err
6108 } && test -s conftest
$ac_exeext && {
6109 test "$cross_compiling" = yes ||
6110 $as_test_x conftest
$ac_exeext
6112 ac_cv_search_opendir
=$ac_res
6114 $as_echo "$as_me: failed program was:" >&5
6115 sed 's/^/| /' conftest.
$ac_ext >&5
6120 rm -rf conftest.dSYM
6121 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6123 if test "${ac_cv_search_opendir+set}" = set; then
6127 if test "${ac_cv_search_opendir+set}" = set; then
6130 ac_cv_search_opendir
=no
6133 LIBS
=$ac_func_search_save_LIBS
6135 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6136 $as_echo "$ac_cv_search_opendir" >&6; }
6137 ac_res
=$ac_cv_search_opendir
6138 if test "$ac_res" != no
; then
6139 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6145 { $as_echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
6146 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6147 if test "${ac_cv_header_stat_broken+set}" = set; then
6148 $as_echo_n "(cached) " >&6
6150 cat >conftest.
$ac_ext <<_ACEOF
6153 cat confdefs.h
>>conftest.
$ac_ext
6154 cat >>conftest.
$ac_ext <<_ACEOF
6155 /* end confdefs.h. */
6156 #include <sys/types.h>
6157 #include <sys/stat.h>
6159 #if defined S_ISBLK && defined S_IFDIR
6160 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6163 #if defined S_ISBLK && defined S_IFCHR
6164 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6167 #if defined S_ISLNK && defined S_IFREG
6168 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6171 #if defined S_ISSOCK && defined S_IFREG
6172 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6176 rm -f conftest.
$ac_objext
6177 if { (ac_try
="$ac_compile"
6179 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6180 *) ac_try_echo=$ac_try;;
6182 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6183 $as_echo "$ac_try_echo") >&5
6184 (eval "$ac_compile") 2>conftest.er1
6186 grep -v '^ *+' conftest.er1 >conftest.err
6188 cat conftest.err >&5
6189 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6190 (exit $ac_status); } && {
6191 test -z "$ac_c_werror_flag" ||
6192 test ! -s conftest.err
6193 } && test -s conftest.$ac_objext; then
6194 ac_cv_header_stat_broken=no
6196 $as_echo "$as_me: failed program was:" >&5
6197 sed 's/^/| /' conftest.$ac_ext >&5
6199 ac_cv_header_stat_broken=yes
6202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6204 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
6205 $as_echo "$ac_cv_header_stat_broken" >&6; }
6206 if test $ac_cv_header_stat_broken = yes; then
6208 cat >>confdefs.h <<\_ACEOF
6209 #define STAT_MACROS_BROKEN 1
6214 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6215 $as_echo_n "checking for ANSI C header files... " >&6; }
6216 if test "${ac_cv_header_stdc+set}" = set; then
6217 $as_echo_n "(cached) " >&6
6219 cat >conftest.$ac_ext <<_ACEOF
6222 cat confdefs.h >>conftest.$ac_ext
6223 cat >>conftest.$ac_ext <<_ACEOF
6224 /* end confdefs.h. */
6238 rm -f conftest.$ac_objext
6239 if { (ac_try="$ac_compile"
6241 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6242 *) ac_try_echo
=$ac_try;;
6244 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6245 $as_echo "$ac_try_echo") >&5
6246 (eval "$ac_compile") 2>conftest.er1
6248 grep -v '^ *+' conftest.er1
>conftest.err
6250 cat conftest.err
>&5
6251 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6252 (exit $ac_status); } && {
6253 test -z "$ac_c_werror_flag" ||
6254 test ! -s conftest.err
6255 } && test -s conftest.
$ac_objext; then
6256 ac_cv_header_stdc
=yes
6258 $as_echo "$as_me: failed program was:" >&5
6259 sed 's/^/| /' conftest.
$ac_ext >&5
6261 ac_cv_header_stdc
=no
6264 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6266 if test $ac_cv_header_stdc = yes; then
6267 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6268 cat >conftest.
$ac_ext <<_ACEOF
6271 cat confdefs.h
>>conftest.
$ac_ext
6272 cat >>conftest.
$ac_ext <<_ACEOF
6273 /* end confdefs.h. */
6277 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6278 $EGREP "memchr" >/dev
/null
2>&1; then
6281 ac_cv_header_stdc
=no
6287 if test $ac_cv_header_stdc = yes; then
6288 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6289 cat >conftest.
$ac_ext <<_ACEOF
6292 cat confdefs.h
>>conftest.
$ac_ext
6293 cat >>conftest.
$ac_ext <<_ACEOF
6294 /* end confdefs.h. */
6298 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6299 $EGREP "free" >/dev
/null
2>&1; then
6302 ac_cv_header_stdc
=no
6308 if test $ac_cv_header_stdc = yes; then
6309 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6310 if test "$cross_compiling" = yes; then
6313 cat >conftest.
$ac_ext <<_ACEOF
6316 cat confdefs.h
>>conftest.
$ac_ext
6317 cat >>conftest.
$ac_ext <<_ACEOF
6318 /* end confdefs.h. */
6321 #if ((' ' & 0x0FF) == 0x020)
6322 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6323 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6325 # define ISLOWER(c) \
6326 (('a' <= (c) && (c) <= 'i') \
6327 || ('j' <= (c) && (c) <= 'r') \
6328 || ('s' <= (c) && (c) <= 'z'))
6329 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6332 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6337 for (i = 0; i < 256; i++)
6338 if (XOR (islower (i), ISLOWER (i))
6339 || toupper (i) != TOUPPER (i))
6344 rm -f conftest
$ac_exeext
6345 if { (ac_try
="$ac_link"
6347 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6348 *) ac_try_echo=$ac_try;;
6350 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6351 $as_echo "$ac_try_echo") >&5
6352 (eval "$ac_link") 2>&5
6354 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6355 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6356 { (case "(($ac_try" in
6357 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6358 *) ac_try_echo
=$ac_try;;
6360 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6361 $as_echo "$ac_try_echo") >&5
6362 (eval "$ac_try") 2>&5
6364 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6365 (exit $ac_status); }; }; then
6368 $as_echo "$as_me: program exited with status $ac_status" >&5
6369 $as_echo "$as_me: failed program was:" >&5
6370 sed 's/^/| /' conftest.
$ac_ext >&5
6373 ac_cv_header_stdc
=no
6375 rm -rf conftest.dSYM
6376 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6382 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6383 $as_echo "$ac_cv_header_stdc" >&6; }
6384 if test $ac_cv_header_stdc = yes; then
6386 cat >>confdefs.h
<<\_ACEOF
6387 #define STDC_HEADERS 1
6392 { $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
6393 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6394 if test "${ac_cv_header_sys_wait_h+set}" = set; then
6395 $as_echo_n "(cached) " >&6
6397 cat >conftest.
$ac_ext <<_ACEOF
6400 cat confdefs.h
>>conftest.
$ac_ext
6401 cat >>conftest.
$ac_ext <<_ACEOF
6402 /* end confdefs.h. */
6403 #include <sys/types.h>
6404 #include <sys/wait.h>
6406 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6409 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6417 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6422 rm -f conftest.
$ac_objext
6423 if { (ac_try
="$ac_compile"
6425 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6426 *) ac_try_echo=$ac_try;;
6428 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6429 $as_echo "$ac_try_echo") >&5
6430 (eval "$ac_compile") 2>conftest.er1
6432 grep -v '^ *+' conftest.er1 >conftest.err
6434 cat conftest.err >&5
6435 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6436 (exit $ac_status); } && {
6437 test -z "$ac_c_werror_flag" ||
6438 test ! -s conftest.err
6439 } && test -s conftest.$ac_objext; then
6440 ac_cv_header_sys_wait_h=yes
6442 $as_echo "$as_me: failed program was:" >&5
6443 sed 's/^/| /' conftest.$ac_ext >&5
6445 ac_cv_header_sys_wait_h=no
6448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6450 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
6451 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6452 if test $ac_cv_header_sys_wait_h = yes; then
6454 cat >>confdefs.h <<\_ACEOF
6455 #define HAVE_SYS_WAIT_H 1
6460 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6461 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6462 if test "${ac_cv_header_time+set}" = set; then
6463 $as_echo_n "(cached) " >&6
6465 cat >conftest.$ac_ext <<_ACEOF
6468 cat confdefs.h >>conftest.$ac_ext
6469 cat >>conftest.$ac_ext <<_ACEOF
6470 /* end confdefs.h. */
6471 #include <sys/types.h>
6472 #include <sys/time.h>
6478 if ((struct tm *) 0)
6484 rm -f conftest.$ac_objext
6485 if { (ac_try="$ac_compile"
6487 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6488 *) ac_try_echo
=$ac_try;;
6490 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6491 $as_echo "$ac_try_echo") >&5
6492 (eval "$ac_compile") 2>conftest.er1
6494 grep -v '^ *+' conftest.er1
>conftest.err
6496 cat conftest.err
>&5
6497 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6498 (exit $ac_status); } && {
6499 test -z "$ac_c_werror_flag" ||
6500 test ! -s conftest.err
6501 } && test -s conftest.
$ac_objext; then
6502 ac_cv_header_time
=yes
6504 $as_echo "$as_me: failed program was:" >&5
6505 sed 's/^/| /' conftest.
$ac_ext >&5
6507 ac_cv_header_time
=no
6510 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6512 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6513 $as_echo "$ac_cv_header_time" >&6; }
6514 if test $ac_cv_header_time = yes; then
6516 cat >>confdefs.h
<<\_ACEOF
6517 #define TIME_WITH_SYS_TIME 1
6522 { $as_echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6523 $as_echo_n "checking for struct stat.st_blksize... " >&6; }
6524 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6525 $as_echo_n "(cached) " >&6
6527 cat >conftest.
$ac_ext <<_ACEOF
6530 cat confdefs.h
>>conftest.
$ac_ext
6531 cat >>conftest.
$ac_ext <<_ACEOF
6532 /* end confdefs.h. */
6533 $ac_includes_default
6537 static struct stat ac_aggr;
6538 if (ac_aggr.st_blksize)
6544 rm -f conftest.
$ac_objext
6545 if { (ac_try
="$ac_compile"
6547 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6548 *) ac_try_echo=$ac_try;;
6550 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6551 $as_echo "$ac_try_echo") >&5
6552 (eval "$ac_compile") 2>conftest.er1
6554 grep -v '^ *+' conftest.er1 >conftest.err
6556 cat conftest.err >&5
6557 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6558 (exit $ac_status); } && {
6559 test -z "$ac_c_werror_flag" ||
6560 test ! -s conftest.err
6561 } && test -s conftest.$ac_objext; then
6562 ac_cv_member_struct_stat_st_blksize=yes
6564 $as_echo "$as_me: failed program was:" >&5
6565 sed 's/^/| /' conftest.$ac_ext >&5
6567 cat >conftest.$ac_ext <<_ACEOF
6570 cat confdefs.h >>conftest.$ac_ext
6571 cat >>conftest.$ac_ext <<_ACEOF
6572 /* end confdefs.h. */
6573 $ac_includes_default
6577 static struct stat ac_aggr;
6578 if (sizeof ac_aggr.st_blksize)
6584 rm -f conftest.$ac_objext
6585 if { (ac_try="$ac_compile"
6587 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6588 *) ac_try_echo
=$ac_try;;
6590 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6591 $as_echo "$ac_try_echo") >&5
6592 (eval "$ac_compile") 2>conftest.er1
6594 grep -v '^ *+' conftest.er1
>conftest.err
6596 cat conftest.err
>&5
6597 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6598 (exit $ac_status); } && {
6599 test -z "$ac_c_werror_flag" ||
6600 test ! -s conftest.err
6601 } && test -s conftest.
$ac_objext; then
6602 ac_cv_member_struct_stat_st_blksize
=yes
6604 $as_echo "$as_me: failed program was:" >&5
6605 sed 's/^/| /' conftest.
$ac_ext >&5
6607 ac_cv_member_struct_stat_st_blksize
=no
6610 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6613 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6615 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
6616 $as_echo "$ac_cv_member_struct_stat_st_blksize" >&6; }
6617 if test "x$ac_cv_member_struct_stat_st_blksize" = x
""yes; then
6619 cat >>confdefs.h
<<_ACEOF
6620 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6624 cat >>confdefs.h
<<\_ACEOF
6625 #define HAVE_ST_BLKSIZE 1
6631 { $as_echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
6632 $as_echo_n "checking for struct stat.st_blocks... " >&6; }
6633 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
6634 $as_echo_n "(cached) " >&6
6636 cat >conftest.
$ac_ext <<_ACEOF
6639 cat confdefs.h
>>conftest.
$ac_ext
6640 cat >>conftest.
$ac_ext <<_ACEOF
6641 /* end confdefs.h. */
6642 $ac_includes_default
6646 static struct stat ac_aggr;
6647 if (ac_aggr.st_blocks)
6653 rm -f conftest.
$ac_objext
6654 if { (ac_try
="$ac_compile"
6656 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6657 *) ac_try_echo=$ac_try;;
6659 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6660 $as_echo "$ac_try_echo") >&5
6661 (eval "$ac_compile") 2>conftest.er1
6663 grep -v '^ *+' conftest.er1 >conftest.err
6665 cat conftest.err >&5
6666 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6667 (exit $ac_status); } && {
6668 test -z "$ac_c_werror_flag" ||
6669 test ! -s conftest.err
6670 } && test -s conftest.$ac_objext; then
6671 ac_cv_member_struct_stat_st_blocks=yes
6673 $as_echo "$as_me: failed program was:" >&5
6674 sed 's/^/| /' conftest.$ac_ext >&5
6676 cat >conftest.$ac_ext <<_ACEOF
6679 cat confdefs.h >>conftest.$ac_ext
6680 cat >>conftest.$ac_ext <<_ACEOF
6681 /* end confdefs.h. */
6682 $ac_includes_default
6686 static struct stat ac_aggr;
6687 if (sizeof ac_aggr.st_blocks)
6693 rm -f conftest.$ac_objext
6694 if { (ac_try="$ac_compile"
6696 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6697 *) ac_try_echo
=$ac_try;;
6699 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6700 $as_echo "$ac_try_echo") >&5
6701 (eval "$ac_compile") 2>conftest.er1
6703 grep -v '^ *+' conftest.er1
>conftest.err
6705 cat conftest.err
>&5
6706 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6707 (exit $ac_status); } && {
6708 test -z "$ac_c_werror_flag" ||
6709 test ! -s conftest.err
6710 } && test -s conftest.
$ac_objext; then
6711 ac_cv_member_struct_stat_st_blocks
=yes
6713 $as_echo "$as_me: failed program was:" >&5
6714 sed 's/^/| /' conftest.
$ac_ext >&5
6716 ac_cv_member_struct_stat_st_blocks
=no
6719 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6722 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6724 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
6725 $as_echo "$ac_cv_member_struct_stat_st_blocks" >&6; }
6726 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then
6728 cat >>confdefs.h
<<_ACEOF
6729 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6733 cat >>confdefs.h
<<\_ACEOF
6734 #define HAVE_ST_BLOCKS 1
6738 case " $LIBOBJS " in
6739 *" fileblocks.$ac_objext "* ) ;;
6740 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6747 { $as_echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6748 $as_echo_n "checking for struct stat.st_rdev... " >&6; }
6749 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6750 $as_echo_n "(cached) " >&6
6752 cat >conftest.
$ac_ext <<_ACEOF
6755 cat confdefs.h
>>conftest.
$ac_ext
6756 cat >>conftest.
$ac_ext <<_ACEOF
6757 /* end confdefs.h. */
6758 $ac_includes_default
6762 static struct stat ac_aggr;
6763 if (ac_aggr.st_rdev)
6769 rm -f conftest.
$ac_objext
6770 if { (ac_try
="$ac_compile"
6772 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6773 *) ac_try_echo=$ac_try;;
6775 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6776 $as_echo "$ac_try_echo") >&5
6777 (eval "$ac_compile") 2>conftest.er1
6779 grep -v '^ *+' conftest.er1 >conftest.err
6781 cat conftest.err >&5
6782 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6783 (exit $ac_status); } && {
6784 test -z "$ac_c_werror_flag" ||
6785 test ! -s conftest.err
6786 } && test -s conftest.$ac_objext; then
6787 ac_cv_member_struct_stat_st_rdev=yes
6789 $as_echo "$as_me: failed program was:" >&5
6790 sed 's/^/| /' conftest.$ac_ext >&5
6792 cat >conftest.$ac_ext <<_ACEOF
6795 cat confdefs.h >>conftest.$ac_ext
6796 cat >>conftest.$ac_ext <<_ACEOF
6797 /* end confdefs.h. */
6798 $ac_includes_default
6802 static struct stat ac_aggr;
6803 if (sizeof ac_aggr.st_rdev)
6809 rm -f conftest.$ac_objext
6810 if { (ac_try="$ac_compile"
6812 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6813 *) ac_try_echo
=$ac_try;;
6815 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6816 $as_echo "$ac_try_echo") >&5
6817 (eval "$ac_compile") 2>conftest.er1
6819 grep -v '^ *+' conftest.er1
>conftest.err
6821 cat conftest.err
>&5
6822 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6823 (exit $ac_status); } && {
6824 test -z "$ac_c_werror_flag" ||
6825 test ! -s conftest.err
6826 } && test -s conftest.
$ac_objext; then
6827 ac_cv_member_struct_stat_st_rdev
=yes
6829 $as_echo "$as_me: failed program was:" >&5
6830 sed 's/^/| /' conftest.
$ac_ext >&5
6832 ac_cv_member_struct_stat_st_rdev
=no
6835 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6838 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6840 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
6841 $as_echo "$ac_cv_member_struct_stat_st_rdev" >&6; }
6842 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then
6844 cat >>confdefs.h
<<_ACEOF
6845 #define HAVE_STRUCT_STAT_ST_RDEV 1
6849 cat >>confdefs.h
<<\_ACEOF
6850 #define HAVE_ST_RDEV 1
6856 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6857 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6858 if test "${ac_cv_struct_tm+set}" = set; then
6859 $as_echo_n "(cached) " >&6
6861 cat >conftest.
$ac_ext <<_ACEOF
6864 cat confdefs.h
>>conftest.
$ac_ext
6865 cat >>conftest.
$ac_ext <<_ACEOF
6866 /* end confdefs.h. */
6867 #include <sys/types.h>
6874 int *p = &tm.tm_sec;
6880 rm -f conftest.
$ac_objext
6881 if { (ac_try
="$ac_compile"
6883 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6884 *) ac_try_echo=$ac_try;;
6886 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6887 $as_echo "$ac_try_echo") >&5
6888 (eval "$ac_compile") 2>conftest.er1
6890 grep -v '^ *+' conftest.er1 >conftest.err
6892 cat conftest.err >&5
6893 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6894 (exit $ac_status); } && {
6895 test -z "$ac_c_werror_flag" ||
6896 test ! -s conftest.err
6897 } && test -s conftest.$ac_objext; then
6898 ac_cv_struct_tm=time.h
6900 $as_echo "$as_me: failed program was:" >&5
6901 sed 's/^/| /' conftest.$ac_ext >&5
6903 ac_cv_struct_tm=sys/time.h
6906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6908 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6909 $as_echo "$ac_cv_struct_tm" >&6; }
6910 if test $ac_cv_struct_tm = sys/time.h; then
6912 cat >>confdefs.h <<\_ACEOF
6913 #define TM_IN_SYS_TIME 1
6918 { $as_echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
6919 $as_echo_n "checking for struct tm.tm_zone... " >&6; }
6920 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
6921 $as_echo_n "(cached) " >&6
6923 cat >conftest.$ac_ext <<_ACEOF
6926 cat confdefs.h >>conftest.$ac_ext
6927 cat >>conftest.$ac_ext <<_ACEOF
6928 /* end confdefs.h. */
6929 #include <sys/types.h>
6930 #include <$ac_cv_struct_tm>
6936 static struct tm ac_aggr;
6937 if (ac_aggr.tm_zone)
6943 rm -f conftest.$ac_objext
6944 if { (ac_try="$ac_compile"
6946 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6947 *) ac_try_echo
=$ac_try;;
6949 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6950 $as_echo "$ac_try_echo") >&5
6951 (eval "$ac_compile") 2>conftest.er1
6953 grep -v '^ *+' conftest.er1
>conftest.err
6955 cat conftest.err
>&5
6956 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6957 (exit $ac_status); } && {
6958 test -z "$ac_c_werror_flag" ||
6959 test ! -s conftest.err
6960 } && test -s conftest.
$ac_objext; then
6961 ac_cv_member_struct_tm_tm_zone
=yes
6963 $as_echo "$as_me: failed program was:" >&5
6964 sed 's/^/| /' conftest.
$ac_ext >&5
6966 cat >conftest.
$ac_ext <<_ACEOF
6969 cat confdefs.h
>>conftest.
$ac_ext
6970 cat >>conftest.
$ac_ext <<_ACEOF
6971 /* end confdefs.h. */
6972 #include <sys/types.h>
6973 #include <$ac_cv_struct_tm>
6979 static struct tm ac_aggr;
6980 if (sizeof ac_aggr.tm_zone)
6986 rm -f conftest.
$ac_objext
6987 if { (ac_try
="$ac_compile"
6989 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6990 *) ac_try_echo=$ac_try;;
6992 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6993 $as_echo "$ac_try_echo") >&5
6994 (eval "$ac_compile") 2>conftest.er1
6996 grep -v '^ *+' conftest.er1 >conftest.err
6998 cat conftest.err >&5
6999 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7000 (exit $ac_status); } && {
7001 test -z "$ac_c_werror_flag" ||
7002 test ! -s conftest.err
7003 } && test -s conftest.$ac_objext; then
7004 ac_cv_member_struct_tm_tm_zone=yes
7006 $as_echo "$as_me: failed program was:" >&5
7007 sed 's/^/| /' conftest.$ac_ext >&5
7009 ac_cv_member_struct_tm_tm_zone=no
7012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7017 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
7018 $as_echo "$ac_cv_member_struct_tm_tm_zone" >&6; }
7019 if test "x$ac_cv_member_struct_tm_tm_zone" = x""yes; then
7021 cat >>confdefs.h <<_ACEOF
7022 #define HAVE_STRUCT_TM_TM_ZONE 1
7028 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
7030 cat >>confdefs.h <<\_ACEOF
7031 #define HAVE_TM_ZONE 1
7035 { $as_echo "$as_me:$LINENO: checking whether tzname is declared" >&5
7036 $as_echo_n "checking whether tzname is declared... " >&6; }
7037 if test "${ac_cv_have_decl_tzname+set}" = set; then
7038 $as_echo_n "(cached) " >&6
7040 cat >conftest.$ac_ext <<_ACEOF
7043 cat confdefs.h >>conftest.$ac_ext
7044 cat >>conftest.$ac_ext <<_ACEOF
7045 /* end confdefs.h. */
7059 rm -f conftest.$ac_objext
7060 if { (ac_try="$ac_compile"
7062 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7063 *) ac_try_echo
=$ac_try;;
7065 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7066 $as_echo "$ac_try_echo") >&5
7067 (eval "$ac_compile") 2>conftest.er1
7069 grep -v '^ *+' conftest.er1
>conftest.err
7071 cat conftest.err
>&5
7072 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7073 (exit $ac_status); } && {
7074 test -z "$ac_c_werror_flag" ||
7075 test ! -s conftest.err
7076 } && test -s conftest.
$ac_objext; then
7077 ac_cv_have_decl_tzname
=yes
7079 $as_echo "$as_me: failed program was:" >&5
7080 sed 's/^/| /' conftest.
$ac_ext >&5
7082 ac_cv_have_decl_tzname
=no
7085 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7087 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5
7088 $as_echo "$ac_cv_have_decl_tzname" >&6; }
7089 if test "x$ac_cv_have_decl_tzname" = x
""yes; then
7091 cat >>confdefs.h
<<_ACEOF
7092 #define HAVE_DECL_TZNAME 1
7097 cat >>confdefs.h
<<_ACEOF
7098 #define HAVE_DECL_TZNAME 0
7105 { $as_echo "$as_me:$LINENO: checking for tzname" >&5
7106 $as_echo_n "checking for tzname... " >&6; }
7107 if test "${ac_cv_var_tzname+set}" = set; then
7108 $as_echo_n "(cached) " >&6
7110 cat >conftest.
$ac_ext <<_ACEOF
7113 cat confdefs.h
>>conftest.
$ac_ext
7114 cat >>conftest.
$ac_ext <<_ACEOF
7115 /* end confdefs.h. */
7117 #if !HAVE_DECL_TZNAME
7118 extern char *tzname[];
7124 return tzname[0][0];
7129 rm -f conftest.
$ac_objext conftest
$ac_exeext
7130 if { (ac_try
="$ac_link"
7132 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7133 *) ac_try_echo=$ac_try;;
7135 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7136 $as_echo "$ac_try_echo") >&5
7137 (eval "$ac_link") 2>conftest.er1
7139 grep -v '^ *+' conftest.er1 >conftest.err
7141 cat conftest.err >&5
7142 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7143 (exit $ac_status); } && {
7144 test -z "$ac_c_werror_flag" ||
7145 test ! -s conftest.err
7146 } && test -s conftest$ac_exeext && {
7147 test "$cross_compiling" = yes ||
7148 $as_test_x conftest$ac_exeext
7150 ac_cv_var_tzname=yes
7152 $as_echo "$as_me: failed program was:" >&5
7153 sed 's/^/| /' conftest.$ac_ext >&5
7158 rm -rf conftest.dSYM
7159 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7160 conftest$ac_exeext conftest.$ac_ext
7162 { $as_echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
7163 $as_echo "$ac_cv_var_tzname" >&6; }
7164 if test $ac_cv_var_tzname = yes; then
7166 cat >>confdefs.h <<\_ACEOF
7167 #define HAVE_TZNAME 1
7173 { $as_echo "$as_me:$LINENO: checking for off_t" >&5
7174 $as_echo_n "checking for off_t... " >&6; }
7175 if test "${ac_cv_type_off_t+set}" = set; then
7176 $as_echo_n "(cached) " >&6
7179 cat >conftest.$ac_ext <<_ACEOF
7182 cat confdefs.h >>conftest.$ac_ext
7183 cat >>conftest.$ac_ext <<_ACEOF
7184 /* end confdefs.h. */
7185 $ac_includes_default
7195 rm -f conftest.$ac_objext
7196 if { (ac_try="$ac_compile"
7198 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7199 *) ac_try_echo
=$ac_try;;
7201 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7202 $as_echo "$ac_try_echo") >&5
7203 (eval "$ac_compile") 2>conftest.er1
7205 grep -v '^ *+' conftest.er1
>conftest.err
7207 cat conftest.err
>&5
7208 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7209 (exit $ac_status); } && {
7210 test -z "$ac_c_werror_flag" ||
7211 test ! -s conftest.err
7212 } && test -s conftest.
$ac_objext; then
7213 cat >conftest.
$ac_ext <<_ACEOF
7216 cat confdefs.h
>>conftest.
$ac_ext
7217 cat >>conftest.
$ac_ext <<_ACEOF
7218 /* end confdefs.h. */
7219 $ac_includes_default
7223 if (sizeof ((off_t)))
7229 rm -f conftest.
$ac_objext
7230 if { (ac_try
="$ac_compile"
7232 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7233 *) ac_try_echo=$ac_try;;
7235 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7236 $as_echo "$ac_try_echo") >&5
7237 (eval "$ac_compile") 2>conftest.er1
7239 grep -v '^ *+' conftest.er1 >conftest.err
7241 cat conftest.err >&5
7242 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7243 (exit $ac_status); } && {
7244 test -z "$ac_c_werror_flag" ||
7245 test ! -s conftest.err
7246 } && test -s conftest.$ac_objext; then
7249 $as_echo "$as_me: failed program was:" >&5
7250 sed 's/^/| /' conftest.$ac_ext >&5
7252 ac_cv_type_off_t=yes
7255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7257 $as_echo "$as_me: failed program was:" >&5
7258 sed 's/^/| /' conftest.$ac_ext >&5
7263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7265 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
7266 $as_echo "$ac_cv_type_off_t" >&6; }
7267 if test "x$ac_cv_type_off_t" = x""yes; then
7271 cat >>confdefs.h <<_ACEOF
7272 #define off_t long int
7277 { $as_echo "$as_me:$LINENO: checking for pid_t" >&5
7278 $as_echo_n "checking for pid_t... " >&6; }
7279 if test "${ac_cv_type_pid_t+set}" = set; then
7280 $as_echo_n "(cached) " >&6
7283 cat >conftest.$ac_ext <<_ACEOF
7286 cat confdefs.h >>conftest.$ac_ext
7287 cat >>conftest.$ac_ext <<_ACEOF
7288 /* end confdefs.h. */
7289 $ac_includes_default
7299 rm -f conftest.$ac_objext
7300 if { (ac_try="$ac_compile"
7302 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7303 *) ac_try_echo
=$ac_try;;
7305 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7306 $as_echo "$ac_try_echo") >&5
7307 (eval "$ac_compile") 2>conftest.er1
7309 grep -v '^ *+' conftest.er1
>conftest.err
7311 cat conftest.err
>&5
7312 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7313 (exit $ac_status); } && {
7314 test -z "$ac_c_werror_flag" ||
7315 test ! -s conftest.err
7316 } && test -s conftest.
$ac_objext; then
7317 cat >conftest.
$ac_ext <<_ACEOF
7320 cat confdefs.h
>>conftest.
$ac_ext
7321 cat >>conftest.
$ac_ext <<_ACEOF
7322 /* end confdefs.h. */
7323 $ac_includes_default
7327 if (sizeof ((pid_t)))
7333 rm -f conftest.
$ac_objext
7334 if { (ac_try
="$ac_compile"
7336 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7337 *) ac_try_echo=$ac_try;;
7339 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7340 $as_echo "$ac_try_echo") >&5
7341 (eval "$ac_compile") 2>conftest.er1
7343 grep -v '^ *+' conftest.er1 >conftest.err
7345 cat conftest.err >&5
7346 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7347 (exit $ac_status); } && {
7348 test -z "$ac_c_werror_flag" ||
7349 test ! -s conftest.err
7350 } && test -s conftest.$ac_objext; then
7353 $as_echo "$as_me: failed program was:" >&5
7354 sed 's/^/| /' conftest.$ac_ext >&5
7356 ac_cv_type_pid_t=yes
7359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7361 $as_echo "$as_me: failed program was:" >&5
7362 sed 's/^/| /' conftest.$ac_ext >&5
7367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7369 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
7370 $as_echo "$ac_cv_type_pid_t" >&6; }
7371 if test "x$ac_cv_type_pid_t" = x""yes; then
7375 cat >>confdefs.h <<_ACEOF
7381 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
7382 $as_echo_n "checking for size_t... " >&6; }
7383 if test "${ac_cv_type_size_t+set}" = set; then
7384 $as_echo_n "(cached) " >&6
7386 ac_cv_type_size_t=no
7387 cat >conftest.$ac_ext <<_ACEOF
7390 cat confdefs.h >>conftest.$ac_ext
7391 cat >>conftest.$ac_ext <<_ACEOF
7392 /* end confdefs.h. */
7393 $ac_includes_default
7397 if (sizeof (size_t))
7403 rm -f conftest.$ac_objext
7404 if { (ac_try="$ac_compile"
7406 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7407 *) ac_try_echo
=$ac_try;;
7409 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7410 $as_echo "$ac_try_echo") >&5
7411 (eval "$ac_compile") 2>conftest.er1
7413 grep -v '^ *+' conftest.er1
>conftest.err
7415 cat conftest.err
>&5
7416 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7417 (exit $ac_status); } && {
7418 test -z "$ac_c_werror_flag" ||
7419 test ! -s conftest.err
7420 } && test -s conftest.
$ac_objext; then
7421 cat >conftest.
$ac_ext <<_ACEOF
7424 cat confdefs.h
>>conftest.
$ac_ext
7425 cat >>conftest.
$ac_ext <<_ACEOF
7426 /* end confdefs.h. */
7427 $ac_includes_default
7431 if (sizeof ((size_t)))
7437 rm -f conftest.
$ac_objext
7438 if { (ac_try
="$ac_compile"
7440 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7441 *) ac_try_echo=$ac_try;;
7443 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7444 $as_echo "$ac_try_echo") >&5
7445 (eval "$ac_compile") 2>conftest.er1
7447 grep -v '^ *+' conftest.er1 >conftest.err
7449 cat conftest.err >&5
7450 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7451 (exit $ac_status); } && {
7452 test -z "$ac_c_werror_flag" ||
7453 test ! -s conftest.err
7454 } && test -s conftest.$ac_objext; then
7457 $as_echo "$as_me: failed program was:" >&5
7458 sed 's/^/| /' conftest.$ac_ext >&5
7460 ac_cv_type_size_t=yes
7463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7465 $as_echo "$as_me: failed program was:" >&5
7466 sed 's/^/| /' conftest.$ac_ext >&5
7471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7473 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
7474 $as_echo "$ac_cv_type_size_t" >&6; }
7475 if test "x$ac_cv_type_size_t" = x""yes; then
7479 cat >>confdefs.h <<_ACEOF
7480 #define size_t unsigned int
7485 { $as_echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
7486 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
7487 if test "${ac_cv_type_uid_t+set}" = set; then
7488 $as_echo_n "(cached) " >&6
7490 cat >conftest.$ac_ext <<_ACEOF
7493 cat confdefs.h >>conftest.$ac_ext
7494 cat >>conftest.$ac_ext <<_ACEOF
7495 /* end confdefs.h. */
7496 #include <sys/types.h>
7499 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7500 $EGREP "uid_t" >/dev/null 2>&1; then
7501 ac_cv_type_uid_t=yes
7508 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
7509 $as_echo "$ac_cv_type_uid_t" >&6; }
7510 if test $ac_cv_type_uid_t = no; then
7512 cat >>confdefs.h <<\_ACEOF
7517 cat >>confdefs.h <<\_ACEOF
7524 { $as_echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
7525 $as_echo_n "checking for struct tm.tm_gmtoff... " >&6; }
7526 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
7527 $as_echo_n "(cached) " >&6
7529 cat >conftest.$ac_ext <<_ACEOF
7532 cat confdefs.h >>conftest.$ac_ext
7533 cat >>conftest.$ac_ext <<_ACEOF
7534 /* end confdefs.h. */
7535 $ac_includes_default
7539 static struct tm ac_aggr;
7540 if (ac_aggr.tm_gmtoff)
7546 rm -f conftest.$ac_objext
7547 if { (ac_try="$ac_compile"
7549 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7550 *) ac_try_echo
=$ac_try;;
7552 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7553 $as_echo "$ac_try_echo") >&5
7554 (eval "$ac_compile") 2>conftest.er1
7556 grep -v '^ *+' conftest.er1
>conftest.err
7558 cat conftest.err
>&5
7559 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7560 (exit $ac_status); } && {
7561 test -z "$ac_c_werror_flag" ||
7562 test ! -s conftest.err
7563 } && test -s conftest.
$ac_objext; then
7564 ac_cv_member_struct_tm_tm_gmtoff
=yes
7566 $as_echo "$as_me: failed program was:" >&5
7567 sed 's/^/| /' conftest.
$ac_ext >&5
7569 cat >conftest.
$ac_ext <<_ACEOF
7572 cat confdefs.h
>>conftest.
$ac_ext
7573 cat >>conftest.
$ac_ext <<_ACEOF
7574 /* end confdefs.h. */
7575 $ac_includes_default
7579 static struct tm ac_aggr;
7580 if (sizeof ac_aggr.tm_gmtoff)
7586 rm -f conftest.
$ac_objext
7587 if { (ac_try
="$ac_compile"
7589 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7590 *) ac_try_echo=$ac_try;;
7592 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7593 $as_echo "$ac_try_echo") >&5
7594 (eval "$ac_compile") 2>conftest.er1
7596 grep -v '^ *+' conftest.er1 >conftest.err
7598 cat conftest.err >&5
7599 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7600 (exit $ac_status); } && {
7601 test -z "$ac_c_werror_flag" ||
7602 test ! -s conftest.err
7603 } && test -s conftest.$ac_objext; then
7604 ac_cv_member_struct_tm_tm_gmtoff=yes
7606 $as_echo "$as_me: failed program was:" >&5
7607 sed 's/^/| /' conftest.$ac_ext >&5
7609 ac_cv_member_struct_tm_tm_gmtoff=no
7612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7617 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
7618 $as_echo "$ac_cv_member_struct_tm_tm_gmtoff" >&6; }
7619 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x""yes; then
7621 cat >>confdefs.h <<_ACEOF
7622 #define HAVE_STRUCT_TM_TM_GMTOFF 1
7629 # Look for some functions
7644 for ac_func in getpagesize kqueue statfs statvfs \
7645 clone kse_create rfork_thread thr_create sa_register \
7646 getcontext makecontext setcontext sigaltstack swapcontext
7648 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
7649 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
7650 $as_echo_n "checking for $ac_func... " >&6; }
7651 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7652 $as_echo_n "(cached) " >&6
7654 cat >conftest.$ac_ext <<_ACEOF
7657 cat confdefs.h >>conftest.$ac_ext
7658 cat >>conftest.$ac_ext <<_ACEOF
7659 /* end confdefs.h. */
7660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7662 #define $ac_func innocuous_$ac_func
7664 /* System header to define __stub macros and hopefully few prototypes,
7665 which can conflict with char $ac_func (); below.
7666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7667 <limits.h> exists even on freestanding compilers. */
7670 # include <limits.h>
7672 # include <assert.h>
7677 /* Override any GCC internal prototype to avoid an error.
7678 Use char because int might match the return type of a GCC
7679 builtin and then its argument prototype would still apply. */
7684 /* The GNU C library defines this for functions which it implements
7685 to always fail with ENOSYS. Some functions are actually named
7686 something starting with __ and the normal name is an alias. */
7687 #if defined __stub_$ac_func || defined __stub___$ac_func
7699 rm -f conftest.$ac_objext conftest$ac_exeext
7700 if { (ac_try="$ac_link"
7702 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7703 *) ac_try_echo
=$ac_try;;
7705 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7706 $as_echo "$ac_try_echo") >&5
7707 (eval "$ac_link") 2>conftest.er1
7709 grep -v '^ *+' conftest.er1
>conftest.err
7711 cat conftest.err
>&5
7712 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7713 (exit $ac_status); } && {
7714 test -z "$ac_c_werror_flag" ||
7715 test ! -s conftest.err
7716 } && test -s conftest
$ac_exeext && {
7717 test "$cross_compiling" = yes ||
7718 $as_test_x conftest
$ac_exeext
7720 eval "$as_ac_var=yes"
7722 $as_echo "$as_me: failed program was:" >&5
7723 sed 's/^/| /' conftest.
$ac_ext >&5
7725 eval "$as_ac_var=no"
7728 rm -rf conftest.dSYM
7729 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7730 conftest
$ac_exeext conftest.
$ac_ext
7732 ac_res
=`eval 'as_val=${'$as_ac_var'}
7733 $as_echo "$as_val"'`
7734 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7735 $as_echo "$ac_res" >&6; }
7736 as_val
=`eval 'as_val=${'$as_ac_var'}
7737 $as_echo "$as_val"'`
7738 if test "x$as_val" = x
""yes; then
7739 cat >>confdefs.h
<<_ACEOF
7740 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7749 for ac_header
in stdlib.h unistd.h
7751 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7752 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7753 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7754 $as_echo_n "checking for $ac_header... " >&6; }
7755 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7756 $as_echo_n "(cached) " >&6
7758 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7759 $as_echo "$as_val"'`
7760 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7761 $as_echo "$ac_res" >&6; }
7763 # Is the header compilable?
7764 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7765 $as_echo_n "checking $ac_header usability... " >&6; }
7766 cat >conftest.
$ac_ext <<_ACEOF
7769 cat confdefs.h
>>conftest.
$ac_ext
7770 cat >>conftest.
$ac_ext <<_ACEOF
7771 /* end confdefs.h. */
7772 $ac_includes_default
7773 #include <$ac_header>
7775 rm -f conftest.
$ac_objext
7776 if { (ac_try
="$ac_compile"
7778 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7779 *) ac_try_echo=$ac_try;;
7781 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7782 $as_echo "$ac_try_echo") >&5
7783 (eval "$ac_compile") 2>conftest.er1
7785 grep -v '^ *+' conftest.er1 >conftest.err
7787 cat conftest.err >&5
7788 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7789 (exit $ac_status); } && {
7790 test -z "$ac_c_werror_flag" ||
7791 test ! -s conftest.err
7792 } && test -s conftest.$ac_objext; then
7793 ac_header_compiler=yes
7795 $as_echo "$as_me: failed program was:" >&5
7796 sed 's/^/| /' conftest.$ac_ext >&5
7798 ac_header_compiler=no
7801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7802 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7803 $as_echo "$ac_header_compiler" >&6; }
7805 # Is the header present?
7806 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7807 $as_echo_n "checking $ac_header presence... " >&6; }
7808 cat >conftest.$ac_ext <<_ACEOF
7811 cat confdefs.h >>conftest.$ac_ext
7812 cat >>conftest.$ac_ext <<_ACEOF
7813 /* end confdefs.h. */
7814 #include <$ac_header>
7816 if { (ac_try="$ac_cpp conftest.$ac_ext"
7818 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7819 *) ac_try_echo
=$ac_try;;
7821 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7822 $as_echo "$ac_try_echo") >&5
7823 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7825 grep -v '^ *+' conftest.er1
>conftest.err
7827 cat conftest.err
>&5
7828 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7829 (exit $ac_status); } >/dev
/null
&& {
7830 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7831 test ! -s conftest.err
7833 ac_header_preproc
=yes
7835 $as_echo "$as_me: failed program was:" >&5
7836 sed 's/^/| /' conftest.
$ac_ext >&5
7838 ac_header_preproc
=no
7841 rm -f conftest.err conftest.
$ac_ext
7842 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7843 $as_echo "$ac_header_preproc" >&6; }
7845 # So? What about this header?
7846 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7848 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7849 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7850 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7851 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7852 ac_header_preproc
=yes
7855 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7856 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7857 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7858 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7859 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7860 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7861 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7862 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7863 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7864 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7865 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7866 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7870 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7871 $as_echo_n "checking for $ac_header... " >&6; }
7872 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7873 $as_echo_n "(cached) " >&6
7875 eval "$as_ac_Header=\$ac_header_preproc"
7877 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7878 $as_echo "$as_val"'`
7879 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7880 $as_echo "$ac_res" >&6; }
7883 as_val
=`eval 'as_val=${'$as_ac_Header'}
7884 $as_echo "$as_val"'`
7885 if test "x$as_val" = x
""yes; then
7886 cat >>confdefs.h
<<_ACEOF
7887 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7895 for ac_func
in getpagesize
7897 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7898 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
7899 $as_echo_n "checking for $ac_func... " >&6; }
7900 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7901 $as_echo_n "(cached) " >&6
7903 cat >conftest.
$ac_ext <<_ACEOF
7906 cat confdefs.h
>>conftest.
$ac_ext
7907 cat >>conftest.
$ac_ext <<_ACEOF
7908 /* end confdefs.h. */
7909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7911 #define $ac_func innocuous_$ac_func
7913 /* System header to define __stub macros and hopefully few prototypes,
7914 which can conflict with char $ac_func (); below.
7915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7916 <limits.h> exists even on freestanding compilers. */
7919 # include <limits.h>
7921 # include <assert.h>
7926 /* Override any GCC internal prototype to avoid an error.
7927 Use char because int might match the return type of a GCC
7928 builtin and then its argument prototype would still apply. */
7933 /* The GNU C library defines this for functions which it implements
7934 to always fail with ENOSYS. Some functions are actually named
7935 something starting with __ and the normal name is an alias. */
7936 #if defined __stub_$ac_func || defined __stub___$ac_func
7948 rm -f conftest.
$ac_objext conftest
$ac_exeext
7949 if { (ac_try
="$ac_link"
7951 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7952 *) ac_try_echo=$ac_try;;
7954 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7955 $as_echo "$ac_try_echo") >&5
7956 (eval "$ac_link") 2>conftest.er1
7958 grep -v '^ *+' conftest.er1 >conftest.err
7960 cat conftest.err >&5
7961 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7962 (exit $ac_status); } && {
7963 test -z "$ac_c_werror_flag" ||
7964 test ! -s conftest.err
7965 } && test -s conftest$ac_exeext && {
7966 test "$cross_compiling" = yes ||
7967 $as_test_x conftest$ac_exeext
7969 eval "$as_ac_var=yes"
7971 $as_echo "$as_me: failed program was:" >&5
7972 sed 's/^/| /' conftest.$ac_ext >&5
7974 eval "$as_ac_var=no"
7977 rm -rf conftest.dSYM
7978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7979 conftest$ac_exeext conftest.$ac_ext
7981 ac_res=`eval 'as_val=${'$as_ac_var'}
7982 $as_echo "$as_val"'`
7983 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7984 $as_echo "$ac_res" >&6; }
7985 as_val=`eval 'as_val=${'$as_ac_var'}
7986 $as_echo "$as_val"'`
7987 if test "x$as_val" = x""yes; then
7988 cat >>confdefs.h <<_ACEOF
7989 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7995 { $as_echo "$as_me:$LINENO: checking for working mmap" >&5
7996 $as_echo_n "checking for working mmap... " >&6; }
7997 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
7998 $as_echo_n "(cached) " >&6
8000 if test "$cross_compiling" = yes; then
8001 ac_cv_func_mmap_fixed_mapped=no
8003 cat >conftest.$ac_ext <<_ACEOF
8006 cat confdefs.h >>conftest.$ac_ext
8007 cat >>conftest.$ac_ext <<_ACEOF
8008 /* end confdefs.h. */
8009 $ac_includes_default
8010 /* malloc might have been renamed as rpl_malloc. */
8013 /* Thanks to Mike Haertel and Jim Avera for this test.
8014 Here is a matrix of mmap possibilities:
8015 mmap private not fixed
8016 mmap private fixed at somewhere currently unmapped
8017 mmap private fixed at somewhere already mapped
8018 mmap shared not fixed
8019 mmap shared fixed at somewhere currently unmapped
8020 mmap shared fixed at somewhere already mapped
8021 For private mappings, we should verify that changes cannot be read()
8022 back from the file, nor mmap's back from the file at a different
8023 address. (There have been systems where private was not correctly
8024 implemented like the infamous i386 svr4.0, and systems where the
8025 VM page cache was not coherent with the file system buffer cache
8026 like early versions of FreeBSD and possibly contemporary NetBSD.)
8027 For shared mappings, we should conversely verify that changes get
8028 propagated back to all the places they're supposed to be.
8030 Grep wants private fixed already mapped.
8031 The main things grep needs to know about mmap are:
8032 * does it exist and is it safe to write into the mmap'd area
8033 * how to use it (BSD variants) */
8036 #include <sys/mman.h>
8038 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
8042 /* This mess was copied from the GNU getpagesize.h. */
8043 #ifndef HAVE_GETPAGESIZE
8044 /* Assume that all systems that can run configure have sys/param.h. */
8045 # ifndef HAVE_SYS_PARAM_H
8046 # define HAVE_SYS_PARAM_H 1
8049 # ifdef _SC_PAGESIZE
8050 # define getpagesize() sysconf(_SC_PAGESIZE)
8051 # else /* no _SC_PAGESIZE */
8052 # ifdef HAVE_SYS_PARAM_H
8053 # include <sys/param.h>
8054 # ifdef EXEC_PAGESIZE
8055 # define getpagesize() EXEC_PAGESIZE
8056 # else /* no EXEC_PAGESIZE */
8058 # define getpagesize() NBPG * CLSIZE
8061 # endif /* no CLSIZE */
8062 # else /* no NBPG */
8064 # define getpagesize() NBPC
8065 # else /* no NBPC */
8067 # define getpagesize() PAGESIZE
8068 # endif /* PAGESIZE */
8069 # endif /* no NBPC */
8070 # endif /* no NBPG */
8071 # endif /* no EXEC_PAGESIZE */
8072 # else /* no HAVE_SYS_PARAM_H */
8073 # define getpagesize() 8192 /* punt totally */
8074 # endif /* no HAVE_SYS_PARAM_H */
8075 # endif /* no _SC_PAGESIZE */
8077 #endif /* no HAVE_GETPAGESIZE */
8082 char *data, *data2, *data3;
8086 pagesize = getpagesize ();
8088 /* First, make a file with some known garbage in it. */
8089 data = (char *) malloc (pagesize);
8092 for (i = 0; i < pagesize; ++i)
8093 *(data + i) = rand ();
8095 fd = creat ("conftest.mmap", 0600);
8098 if (write (fd, data, pagesize) != pagesize)
8102 /* Next, try to mmap the file at a fixed address which already has
8103 something else allocated at it. If we can, also make sure that
8104 we see the same garbage. */
8105 fd = open ("conftest.mmap", O_RDWR);
8108 data2 = (char *) malloc (2 * pagesize);
8111 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
8112 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
8113 MAP_PRIVATE | MAP_FIXED, fd, 0L))
8115 for (i = 0; i < pagesize; ++i)
8116 if (*(data + i) != *(data2 + i))
8119 /* Finally, make sure that changes to the mapped area do not
8120 percolate back to the file as seen by read(). (This is a bug on
8121 some variants of i386 svr4.0.) */
8122 for (i = 0; i < pagesize; ++i)
8123 *(data2 + i) = *(data2 + i) + 1;
8124 data3 = (char *) malloc (pagesize);
8127 if (read (fd, data3, pagesize) != pagesize)
8129 for (i = 0; i < pagesize; ++i)
8130 if (*(data + i) != *(data3 + i))
8136 rm -f conftest$ac_exeext
8137 if { (ac_try="$ac_link"
8139 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8140 *) ac_try_echo
=$ac_try;;
8142 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8143 $as_echo "$ac_try_echo") >&5
8144 (eval "$ac_link") 2>&5
8146 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8147 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8148 { (case "(($ac_try" in
8149 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8150 *) ac_try_echo=$ac_try;;
8152 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8153 $as_echo "$ac_try_echo") >&5
8154 (eval "$ac_try") 2>&5
8156 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8157 (exit $ac_status); }; }; then
8158 ac_cv_func_mmap_fixed_mapped=yes
8160 $as_echo "$as_me: program exited with status $ac_status" >&5
8161 $as_echo "$as_me: failed program was:" >&5
8162 sed 's/^/| /' conftest.$ac_ext >&5
8165 ac_cv_func_mmap_fixed_mapped=no
8167 rm -rf conftest.dSYM
8168 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8173 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
8174 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
8175 if test $ac_cv_func_mmap_fixed_mapped = yes; then
8177 cat >>confdefs.h <<\_ACEOF
8187 aros_config_cflags="-Wall -Werror-implicit-function-declaration"
8188 aros_config_aflags="-Wall -x assembler-with-cpp -c"
8189 aros_config_ldflags=""
8191 aros_shared_default=yes
8193 aros_shared_cflags="-fPIC"
8194 aros_shared_aflags=""
8195 aros_shared_ldflags="-Wl,-rpath,./lib -shared"
8196 aros_kernel_ldflags="-Wl,-rpath,./lib"
8198 aros_target_ar_flags="cr"
8199 aros_target_nm_flags="-C -ul"
8200 aros_target_strip_flags="--strip-unneeded -R.comment"
8204 aros_target_genmap="-Wl,-Map -Xlinker"
8206 # Native flavour stuff
8208 aros_serial_debug="0"
8210 # Palm native flavour stuff
8211 aros_palm_debug_hack="0"
8213 # Unix flavour stuff
8214 aros_nesting_supervisor="0"
8216 # Collect-aros stuff: "-ius" to ignore undefined symbols
8217 ignore_undefined_symbols=""
8219 #-----------------------------------------------------------------------------
8222 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
8223 # it switched on by default, and we use the host compiler, so it compiles AROS
8224 # code with this enabled resulting in link failures as we don't have support
8227 # We use two methods to disable it. For the host compiler (used to compile
8228 # some hosted modules), we test to see if the compiler supports stack
8229 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
8230 # work on all platforms.
8232 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
8233 # (this is done unconditionally, as it should have no effect on compilers
8234 # without the stack protection feature). This may be specific to the way that
8235 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
8236 # strong enough to disable it in a generic way though, so we'll live with it
8237 # until another vendor ships GCC with it enabled in a different way, and deal
8241 { $as_echo "$as_me:$LINENO: checking whether ${CC} accepts -fno-stack-protector" >&5
8242 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
8243 save_cflags="$CFLAGS"
8244 CFLAGS="$CFLAGS -fno-stack-protector"
8245 cat >conftest.$ac_ext <<_ACEOF
8248 cat confdefs.h >>conftest.$ac_ext
8249 cat >>conftest.$ac_ext <<_ACEOF
8250 /* end confdefs.h. */
8260 rm -f conftest.$ac_objext
8261 if { (ac_try="$ac_compile"
8263 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8264 *) ac_try_echo
=$ac_try;;
8266 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8267 $as_echo "$ac_try_echo") >&5
8268 (eval "$ac_compile") 2>conftest.er1
8270 grep -v '^ *+' conftest.er1
>conftest.err
8272 cat conftest.err
>&5
8273 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8274 (exit $ac_status); } && {
8275 test -z "$ac_c_werror_flag" ||
8276 test ! -s conftest.err
8277 } && test -s conftest.
$ac_objext; then
8278 use_no_stack_protector
="yes"
8280 $as_echo "$as_me: failed program was:" >&5
8281 sed 's/^/| /' conftest.
$ac_ext >&5
8283 use_no_stack_protector
="no"
8286 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8287 { $as_echo "$as_me:$LINENO: result: $use_no_stack_protector" >&5
8288 $as_echo "$use_no_stack_protector" >&6; }
8289 if test "x-$use_no_stack_protector" = "x-yes" ; then
8290 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
8292 CFLAGS
="$save_cflags"
8295 #-----------------------------------------------------------------------------
8297 # Disable pointer-signedness warnings if the compiler recognises the option
8298 # (this only works for the host compiler at the moment)
8300 { $as_echo "$as_me:$LINENO: checking whether ${CC} accepts -Wno-pointer-sign" >&5
8301 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
8302 save_cflags
="$CFLAGS"
8303 CFLAGS
="$CFLAGS -Wno-pointer-sign"
8304 cat >conftest.
$ac_ext <<_ACEOF
8307 cat confdefs.h
>>conftest.
$ac_ext
8308 cat >>conftest.
$ac_ext <<_ACEOF
8309 /* end confdefs.h. */
8319 rm -f conftest.
$ac_objext
8320 if { (ac_try
="$ac_compile"
8322 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8323 *) ac_try_echo=$ac_try;;
8325 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8326 $as_echo "$ac_try_echo") >&5
8327 (eval "$ac_compile") 2>conftest.er1
8329 grep -v '^ *+' conftest.er1 >conftest.err
8331 cat conftest.err >&5
8332 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8333 (exit $ac_status); } && {
8334 test -z "$ac_c_werror_flag" ||
8335 test ! -s conftest.err
8336 } && test -s conftest.$ac_objext; then
8337 use_no_sign_warning="yes"
8339 $as_echo "$as_me: failed program was:" >&5
8340 sed 's/^/| /' conftest.$ac_ext >&5
8342 use_no_sign_warning="no"
8345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8346 { $as_echo "$as_me:$LINENO: result: $use_no_sign_warning" >&5
8347 $as_echo "$use_no_sign_warning" >&6; }
8348 if test "x-$use_no_sign_warning" = "x-yes" ; then
8349 aros_host_cflags="$aros_host_cflags -Wno-pointer-sign"
8351 CFLAGS="$save_cflags"
8353 #-----------------------------------------------------------------------------
8355 { $as_echo "$as_me:$LINENO: checking for type of build" >&5
8356 $as_echo_n "checking for type of build... " >&6; }
8357 # Check whether --enable-build_type was given.
8358 if test "${enable_build_type+set}" = set; then
8359 enableval=$enable_build_type; build_type=$enableval
8361 build_type="personal"
8365 if test "$build_type" = "nightly"; then
8366 build_type_string="NIGHTLY"
8367 elif test "$build_type" = "snapshot"; then
8368 build_type_string="SNAPSHOT"
8369 elif test "$build_type" = "milestone"; then
8370 build_type_string="MILESTONE"
8371 elif test "$build_type" = "release"; then
8372 build_type_string="RELEASE"
8374 build_type_string="PERSONAL"
8375 build_type="personal"
8378 aros_config_cflags="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
8380 { $as_echo "$as_me:$LINENO: result: $build_type" >&5
8381 $as_echo "$build_type" >&6; }
8383 #-----------------------------------------------------------------------------
8384 all_debug_types="messages stack mungwall modules symbols"
8386 { $as_echo "$as_me:$LINENO: checking which debug types to enable" >&5
8387 $as_echo_n "checking which debug types to enable... " >&6; }
8388 # Check whether --enable-debug was given.
8389 if test "${enable_debug+set}" = set; then
8390 enableval=$enable_debug; debug="$enableval"
8396 if test "$debug" = "" -o "$debug" = "no"; then
8398 elif test "$debug" = "yes"; then
8402 if test "$debug" = "all" ; then
8403 debug=$all_debug_types
8404 for d in $all_debug_types; do
8405 export aros_${d}_debug="1"
8408 for d in $all_debug_types; do
8409 export aros_${d}_debug="0"
8413 if test "$debug" != "none"; then
8414 debug=`echo $debug |
sed s
/,/\
/g
`
8417 for d2 in $all_debug_types; do
8418 if test "$d2" = "$d"; then
8423 if test "$found" = "0"; then
8424 { { $as_echo "$as_me:$LINENO: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&5
8425 $as_echo "$as_me: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&2;}
8426 { (exit 1); exit 1; }; }
8428 export aros_${d}_debug="1"
8432 { $as_echo "$as_me:$LINENO: result: $debug" >&5
8433 $as_echo "$debug" >&6; }
8435 if test "$aros_messages_debug" = "1"; then
8436 aros_messages_debug="-DADEBUG=1 -DMDEBUG=1"
8438 aros_messages_debug=""
8440 if test "$aros_symbols_debug" = "1"; then
8441 aros_symbols_debug="-g"
8443 aros_symbols_debug=""
8446 # These are the flags to pass when compiling debugged programs
8447 aros_debug_cflags="$aros_symbols_debug $aros_messages_debug"
8448 aros_debug_aflags=""
8449 aros_debug_ldflags="$aros_symbols_debug"
8451 aros_crosstools="no"
8453 #-----------------------------------------------------------------------------
8454 # Checking if we should build crosstools..
8455 { $as_echo "$as_me:$LINENO: checking whether to build crosstools" >&5
8456 $as_echo_n "checking whether to build crosstools... " >&6; }
8457 # Check whether --enable-crosstools was given.
8458 if test "${enable_crosstools+set}" = set; then
8459 enableval=$enable_crosstools; crosstools="$enableval"
8464 if test "$crosstools" != "" -a "$crosstools" != "no"; then
8465 { $as_echo "$as_me:$LINENO: result: yes" >&5
8466 $as_echo "yes" >&6; }
8467 aros_crosstools="yes"
8469 { $as_echo "$as_me:$LINENO: result: no" >&5
8470 $as_echo "no" >&6; }
8473 #-----------------------------------------------------------------------------
8474 # Checking for distcc and ccache.
8476 # Always apply the transforms in this particular order. Basically you should
8477 # always run 'ccache distcc compiler' in that order for the best performance.
8479 { $as_echo "$as_me:$LINENO: checking whether to enable distcc" >&5
8480 $as_echo_n "checking whether to enable distcc... " >&6; }
8481 # Check whether --enable-distcc was given.
8482 if test "${enable_distcc+set}" = set; then
8483 enableval=$enable_distcc; distcc="$enableval"
8488 if test "$distcc" != "" -a "$distcc" != "no"; then
8489 # AC_CHECK_PROG will print out the result in this case
8490 # Extract the first word of "distcc", so it can be a program name with args.
8491 set dummy distcc; ac_word=$2
8492 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8493 $as_echo_n "checking for $ac_word... " >&6; }
8494 if test "${ac_cv_path_DISTCC+set}" = set; then
8495 $as_echo_n "(cached) " >&6
8499 ac_cv_path_DISTCC="$DISTCC" # Let the user override the test with a path.
8502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8506 test -z "$as_dir" && as_dir=.
8507 for ac_exec_ext in '' $ac_executable_extensions; do
8508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8509 ac_cv_path_DISTCC="$as_dir/$ac_word$ac_exec_ext"
8510 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8517 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC="distcc"
8521 DISTCC=$ac_cv_path_DISTCC
8522 if test -n "$DISTCC"; then
8523 { $as_echo "$as_me:$LINENO: result: $DISTCC" >&5
8524 $as_echo "$DISTCC" >&6; }
8526 { $as_echo "$as_me:$LINENO: result: no" >&5
8527 $as_echo "no" >&6; }
8532 { $as_echo "$as_me:$LINENO: result: no" >&5
8533 $as_echo "no" >&6; }
8536 { $as_echo "$as_me:$LINENO: checking whether to enable ccache" >&5
8537 $as_echo_n "checking whether to enable ccache... " >&6; }
8538 # Check whether --enable-ccache was given.
8539 if test "${enable_ccache+set}" = set; then
8540 enableval=$enable_ccache; ccache="$enableval"
8545 if test "$ccache" != "" -a "$ccache" != "no"; then
8546 # AC_CHECK_PROG will print out the result in this case
8547 # Extract the first word of "ccache", so it can be a program name with args.
8548 set dummy ccache; ac_word=$2
8549 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8550 $as_echo_n "checking for $ac_word... " >&6; }
8551 if test "${ac_cv_prog_CCACHE+set}" = set; then
8552 $as_echo_n "(cached) " >&6
8554 if test -n "$CCACHE"; then
8555 ac_cv_prog_CCACHE="$CCACHE" # Let the user override the test.
8557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8561 test -z "$as_dir" && as_dir=.
8562 for ac_exec_ext in '' $ac_executable_extensions; do
8563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8564 ac_cv_prog_CCACHE="ccache"
8565 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8574 CCACHE=$ac_cv_prog_CCACHE
8575 if test -n "$CCACHE"; then
8576 { $as_echo "$as_me:$LINENO: result: $CCACHE" >&5
8577 $as_echo "$CCACHE" >&6; }
8579 { $as_echo "$as_me:$LINENO: result: no" >&5
8580 $as_echo "no" >&6; }
8585 { $as_echo "$as_me:$LINENO: result: no" >&5
8586 $as_echo "no" >&6; }
8589 #-----------------------------------------------------------------------------
8590 { $as_echo "$as_me:$LINENO: checking what optimization flags to use" >&5
8591 $as_echo_n "checking what optimization flags to use... " >&6; }
8593 # Check whether --with-optimization was given.
8594 if test "${with_optimization+set}" = set; then
8595 withval=$with_optimization; optimization="$withval"
8597 optimization="unknown"
8600 if test "$optimization" = "unknown"; then
8601 if test "$debug" != "none"; then
8607 aros_config_cflags="$aros_config_cflags $optimization"
8608 { $as_echo "$as_me:$LINENO: result: $optimization" >&5
8609 $as_echo "$optimization" >&6; }
8611 #-----------------------------------------------------------------------------
8612 { $as_echo "$as_me:$LINENO: checking what target variant to enable" >&5
8613 $as_echo_n "checking what target variant to enable... " >&6; }
8614 # Check whether --enable-target_variant was given.
8615 if test "${enable_target_variant+set}" = set; then
8616 enableval=$enable_target_variant; target_variant=$enableval
8618 target_variant="none"
8621 if test "$target_variant" = "none"; then
8622 aros_target_variant=""
8623 aros_target_suffix=""
8625 aros_target_variant="$target_variant"
8626 aros_target_suffix="-$target_variant"
8628 { $as_echo "$as_me:$LINENO: result: $enableval" >&5
8629 $as_echo "$enableval" >&6; }
8631 target_bootloader="none"
8633 #-----------------------------------------------------------------------------
8634 # This is the target configuration switch.
8635 case "$target_os" in
8637 aros_target_arch="linux"
8638 case "$target_cpu" in
8640 aros_target_cpu="m68k"
8641 aros_object_format="m68kelf"
8642 aros_flavour="emulcompat"
8643 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
8644 aros_shared_ldflags="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
8645 aros_kernel_ldflags="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
8646 gcc_target_cpu="mc68000"
8649 aros_target_cpu="i386"
8650 aros_object_format="elf_i386"
8651 aros_flavour="emulation"
8652 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
8653 aros_default_wbdepth=8
8654 gcc_target_cpu="i386"
8657 aros_target_cpu="x86_64"
8658 aros_object_format="elf_x86_64"
8659 aros_flavour="emulation"
8660 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
8661 aros_config_cflags="$aros_config_cflags -mno-red-zone"
8662 aros_default_wbdepth=8
8663 gcc_target_cpu="x86_64"
8666 aros_target_cpu="ppc"
8667 aros_object_format="elf32ppc"
8668 aros_flavour="emulation"
8669 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8670 aros_default_wbdepth=8
8671 gcc_target_cpu="ppc"
8674 # Same as powerpc, but I need this for the nightly build to work again.
8675 # Actually, the nightly should be made working with powerpc target.
8676 # That just was too much work for the moment, another week or two.
8678 aros_target_cpu="ppc"
8679 aros_object_format="elf32ppc"
8680 aros_flavour="emulation"
8681 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8682 aros_default_wbdepth=8
8683 gcc_target_cpu="ppc"
8686 { { $as_echo "$as_me:$LINENO: error: \"Unknown CPU for Linux -- $target_cpu\"" >&5
8687 $as_echo "$as_me: error: \"Unknown CPU for Linux -- $target_cpu\"" >&2;}
8688 { (exit 1); exit 1; }; }
8694 aros_target_arch="pc"
8695 aros_shared_default="no"
8696 target_bootloader="grub2"
8697 case "$target_cpu" in
8699 aros_target_cpu="i386"
8702 if test "$aros_object_format" = "" ; then
8703 aros_object_format="elf_i386"
8705 aros_flavour="standalone"
8706 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386"
8707 aros_kernel_ldflags=""
8708 aros_default_wbwidth=640
8709 aros_default_wbheight=480
8710 gcc_target_cpu="i386"
8713 aros_target_cpu="x86_64"
8715 if test "$aros_object_format" = "" ; then
8716 aros_object_format="elf_x86_64"
8718 aros_flavour="standalone"
8719 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8720 aros_config_cflags="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone"
8721 aros_kernel_ldflags=""
8722 aros_default_wbwidth=640
8723 aros_default_wbheight=480
8724 gcc_target_cpu="x86_64"
8727 { { $as_echo "$as_me:$LINENO: error: \"Unknown native CPU -- $target_cpu\"" >&5
8728 $as_echo "$as_me: error: \"Unknown native CPU -- $target_cpu\"" >&2;}
8729 { (exit 1); exit 1; }; }
8735 aros_target_arch="prep"
8736 aros_shared_default="no"
8737 aros_target_cpu="ppc"
8738 aros_object_format="elf32ppc"
8739 aros_flavour="ppcnative"
8740 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc"
8741 aros_kernel_ldflags=""
8742 aros_default_wbwidth=640
8743 aros_default_wbheight=480
8744 gcc_target_cpu="ppc"
8748 aros_target_arch="freebsd"
8749 aros_target_cpu="i386"
8750 aros_flavour="emulation"
8751 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386"
8752 gcc_target_cpu="i386"
8754 aros_target_strip_flags="-x"
8758 aros_target_arch="darwin"
8759 aros_flavour="emulation"
8761 case "$target_cpu" in
8763 aros_target_cpu="i386"
8764 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386"
8765 gcc_target_cpu="i386"
8766 aros_object_format="elf_i386"
8767 aros_target_strip_flags="-x"
8770 { { $as_echo "$as_me:$LINENO: error: \"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" >&5
8771 $as_echo "$as_me: error: \"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" >&2;}
8772 { (exit 1); exit 1; }; }
8777 aros_target_arch="netbsd"
8778 case "$target_cpu" in
8780 aros_target_cpu="m68k"
8781 aros_object_format="m68kelf"
8782 aros_flavour="emulcompat"
8783 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8784 gcc_target_cpu="mc68000"
8787 aros_target_cpu="i386"
8788 aros_object_format="elf_i386"
8789 aros_flavour="emulation"
8790 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8791 aros_default_wbdepth=8
8792 gcc_target_cpu="i386"
8795 { { $as_echo "$as_me:$LINENO: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&5
8796 $as_echo "$as_me: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&2;}
8797 { (exit 1); exit 1; }; }
8800 aros_target_genmap="-Wl,-M -Xlinker >"
8801 aros_flavour="emulation"
8802 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386"
8806 aros_target_arch="openbsd"
8807 case "$target_cpu" in
8809 aros_target_cpu="i386"
8810 aros_object_format="elf_i386"
8811 aros_flavour="emulation"
8812 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8813 gcc_target_cpu="i386"
8816 { { $as_echo "$as_me:$LINENO: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&5
8817 $as_echo "$as_me: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&2;}
8818 { (exit 1); exit 1; }; }
8821 aros_target_genmap="-Wl,-M -Xlinker >"
8822 aros_target_nm_flags="-u"
8823 aros_flavour="emulation"
8827 aros_target_arch="solaris"
8828 case "$target_cpu" in
8830 aros_target_cpu="i386"
8831 aros_object_format="elf_i386"
8832 aros_flavour="emulation"
8833 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8834 aros_default_wbdepth=8
8835 gcc_target_cpu="i386"
8838 aros_target_cpu="sparc"
8839 aros_object_format="elf_sparc"
8840 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8841 gcc_target_cpu="sparc"
8844 { { $as_echo "$as_me:$LINENO: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&5
8845 $as_echo "$as_me: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&2;}
8846 { (exit 1); exit 1; }; }
8849 aros_config_cflags="$aros_config_cflags -D$aros_target_cpu"
8850 aros_flavour="emulation"
8854 aros_target_arch="morphos"
8855 aros_shared_default="no"
8856 aros_target_cpu="ppc"
8857 aros_object_format="elf_ppc"
8858 aros_flavour="nativecompat"
8859 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc"
8860 gcc_target_cpu="ppc"
8864 aros_target_arch="sam440"
8865 aros_shared_default="no"
8866 aros_target_cpu="ppc"
8867 aros_object_format="elf32ppc"
8868 aros_flavour="ppcnative"
8869 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc"
8870 aros_kernel_ldflags=""
8871 aros_default_wbwidth=640
8872 aros_default_wbheight=480
8873 aros_config_cflags="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8874 gcc_target_cpu="powerpc"
8878 aros_target_arch="chrp"
8879 aros_shared_default="no"
8880 aros_target_cpu="ppc"
8881 aros_object_format="elf32ppc"
8882 aros_flavour="ppcnative"
8883 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc"
8884 aros_kernel_ldflags=""
8885 aros_default_wbwidth=640
8886 aros_default_wbheight=480
8887 aros_config_cflags="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
8888 gcc_target_cpu="powerpc"
8889 case "$aros_target_variant" in
8891 aros_config_cflags="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
8897 aros_target_arch="amiga"
8898 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8899 aros_shared_default="no"
8901 aros_config_cflags="$aros_config_cflags -fomit-frame-pointer -fbuiltin -ffreestanding"
8903 case "$target_cpu" in
8905 aros_target_cpu="m68k"
8906 aros_object_format="m68kelf"
8907 aros_flavour="nativecompat"
8908 gcc_target_cpu="mc68000"
8912 aros_flavour="native"
8913 gcc_target_cpu="ppc"
8916 { { $as_echo "$as_me:$LINENO: error: \"Unknown CPU for Amiga $target_cpu\"" >&5
8917 $as_echo "$as_me: error: \"Unknown CPU for Amiga $target_cpu\"" >&2;}
8918 { (exit 1); exit 1; }; }
8924 aros_target_arch="cygwin"
8925 aros_shared_default="no"
8926 case "$target_cpu" in
8928 aros_target_cpu="i386"
8929 aros_object_format="elf_i386"
8930 aros_flavour="emulation"
8931 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386 -D__CYGWIN32__"
8932 aros_shared_cflags=""
8933 aros_default_wbdepth=8
8934 gcc_target_cpu="i386"
8935 aros_target_cc="i386-aros-gcc"
8936 aros_target_ld="i386-aros-ld"
8937 aros_target_as="i386-aros-as"
8938 aros_target_ar="i386-aros-ar"
8939 aros_target_ranlib="i386-aros-ranlib"
8940 aros_target_nm="i386-aros-nm"
8941 aros_target_strip="i386-aros-strip"
8942 aros_target_objcopy="i386-aros-objcopy"
8943 aros_target_objdump="i386-aros-objdump"
8946 { { $as_echo "$as_me:$LINENO: error: \"Unknown CPU for CygWin -- $target_cpu\"" >&5
8947 $as_echo "$as_me: error: \"Unknown CPU for CygWin -- $target_cpu\"" >&2;}
8948 { (exit 1); exit 1; }; }
8954 aros_target_arch="mingw32"
8955 aros_shared_default="no"
8958 case "$target_cpu" in
8960 aros_target_cpu="i386"
8961 aros_object_format="elf_i386"
8962 aros_flavour="emulation"
8963 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386"
8964 aros_shared_cflags=""
8965 aros_default_wbdepth=8
8966 gcc_target_cpu="i386"
8967 aros_target_cc="i386-aros-gcc"
8968 aros_target_ld="i386-aros-ld"
8969 aros_target_as="i386-aros-as"
8970 aros_target_ar="i386-aros-ar"
8971 aros_target_ranlib="i386-aros-ranlib"
8972 aros_target_nm="i386-aros-nm"
8973 aros_target_strip="i386-aros-strip"
8974 aros_target_objcopy="i386-aros-objcopy"
8975 aros_target_objdump="i386-aros-objdump"
8976 target_tool_prefix="i386-mingw32-"
8979 { { $as_echo "$as_me:$LINENO: error: \"Unknown CPU for Mingw32 -- $target_cpu\"" >&5
8980 $as_echo "$as_me: error: \"Unknown CPU for Mingw32 -- $target_cpu\"" >&2;}
8981 { (exit 1); exit 1; }; }
8984 if test $host_os = "cygwin"; then
8985 aros_kernel_cflags="-mno-cygwin"
8989 aros_target_arch="pp"
8990 aros_shared_default="no"
8991 case "$target_cpu" in
8993 aros_target_cpu="m68k"
8994 aros_object_format="m68kelf"
8995 aros_flavour="palmnative"
8996 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dm68k"
8997 aros_kernel_ldflags=""
8998 aros_default_wbwidth=160
8999 aros_default_wbheight=160
9000 aros_default_wbdepth=1
9001 aros_target_ar_flags="cru"
9002 aros_compiler_libs="-lgcc1"
9003 aros_shared_default=no
9004 aros_shared_cflags="-fpic"
9005 aros_shared_aflags=""
9006 aros_shared_ldflags="-Wl,-rpath,./lib -shared"
9007 aros_kernel_ldflags="-Wl,-rpath,./lib"
9008 aros_debug_cflags="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
9009 aros_debug_aflags=""
9010 aros_debug_ldflags="$aros_symbols_debug"
9011 aros_mungwall_debug="0"
9012 aros_modules_debug="0"
9013 gcc_target_cpu="mc68000"
9014 ignore_undefined_symbols="-ius"
9017 { { $as_echo "$as_me:$LINENO: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&5
9018 $as_echo "$as_me: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&2;}
9019 { (exit 1); exit 1; }; }
9025 aros_target_arch="mac"
9026 aros_shared_default="no"
9027 case "$target_cpu" in
9029 aros_target_cpu="m68k"
9030 aros_object_format="m68kelf"
9031 aros_flavour="mac68knative"
9032 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dm68k"
9033 aros_default_wbwidth=512
9034 aros_default_wbheight=384
9035 aros_default_wbdepth=8
9036 aros_target_ar_flags="cru"
9037 aros_compiler_libs="-lgcc1"
9038 aros_shared_default=no
9039 aros_shared_cflags="-fpic"
9040 aros_shared_aflags=""
9041 aros_shared_ldflags="-Wl,-rpath,./lib -shared"
9042 aros_kernel_ldflags="-Wl,-rpath,./lib"
9043 aros_debug_cflags="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000"
9044 aros_debug_aflags=""
9045 aros_debug_ldflags="$aros_symbols_debug"
9046 aros_mungwall_debug="0"
9047 aros_modules_debug="0"
9048 gcc_target_cpu="mc68000"
9049 ignore_undefined_symbols="-ius"
9052 { { $as_echo "$as_me:$LINENO: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&5
9053 $as_echo "$as_me: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&2;}
9054 { (exit 1); exit 1; }; }
9060 { { $as_echo "$as_me:$LINENO: error: Unsupported target architecture $target" >&5
9061 $as_echo "$as_me: error: Unsupported target architecture $target" >&2;}
9062 { (exit 1); exit 1; }; }
9066 { $as_echo "$as_me:$LINENO: checking Where to download sourcecode for external ports" >&5
9067 $as_echo_n "checking Where to download sourcecode for external ports... " >&6; }
9069 # Check whether --with-portssources was given.
9070 if test "${with_portssources+set}" = set; then
9071 withval=$with_portssources; with_portssrcdir=$withval
9073 with_portssrcdir="default"
9076 if test "$with_portssrcdir" = "default"; then
9077 AROS_PORTSSRCDIR="$AROS_BUILDDIR/bin/Sources"
9079 AROS_PORTSSRCDIR="$with_portssrcdir"
9081 { $as_echo "$as_me:$LINENO: result: $AROS_PORTSSRCDIR" >&5
9082 $as_echo "$AROS_PORTSSRCDIR" >&6; }
9084 { $as_echo "$as_me:$LINENO: checking which bootloader to use" >&5
9085 $as_echo_n "checking which bootloader to use... " >&6; }
9087 # Check whether --with-bootloader was given.
9088 if test "${with_bootloader+set}" = set; then
9089 withval=$with_bootloader; target_bootloader=$withval
9091 target_bootloader=$target_bootloader
9094 if test "$target_bootloader" = "none"; then
9095 aros_target_bootloader=""
9097 aros_target_bootloader="$target_bootloader"
9099 { $as_echo "$as_me:$LINENO: result: $target_bootloader" >&5
9100 $as_echo "$target_bootloader" >&6; }
9102 # Check LZO when compiling the grub2 bootloader on i386/x86_64.
9103 aros_liblzo_check="no"
9104 case "$aros_target_bootloader" in
9106 case "$target_cpu" in
9108 aros_liblzo_check="yes"
9111 aros_liblzo_check="yes"
9122 if test "$aros_liblzo_check" = "yes"; then
9123 # There are three possibilities. LZO version 2 installed with the name
9124 # liblzo2, with the name liblzo, and LZO version 1.
9125 { $as_echo "$as_me:$LINENO: checking for __lzo_init_v2 in -llzo2" >&5
9126 $as_echo_n "checking for __lzo_init_v2 in -llzo2... " >&6; }
9127 if test "${ac_cv_lib_lzo2___lzo_init_v2+set}" = set; then
9128 $as_echo_n "(cached) " >&6
9130 ac_check_lib_save_LIBS=$LIBS
9132 cat >conftest.$ac_ext <<_ACEOF
9135 cat confdefs.h >>conftest.$ac_ext
9136 cat >>conftest.$ac_ext <<_ACEOF
9137 /* end confdefs.h. */
9139 /* Override any GCC internal prototype to avoid an error.
9140 Use char because int might match the return type of a GCC
9141 builtin and then its argument prototype would still apply. */
9145 char __lzo_init_v2 ();
9149 return __lzo_init_v2 ();
9154 rm -f conftest.$ac_objext conftest$ac_exeext
9155 if { (ac_try="$ac_link"
9157 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9158 *) ac_try_echo
=$ac_try;;
9160 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9161 $as_echo "$ac_try_echo") >&5
9162 (eval "$ac_link") 2>conftest.er1
9164 grep -v '^ *+' conftest.er1
>conftest.err
9166 cat conftest.err
>&5
9167 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9168 (exit $ac_status); } && {
9169 test -z "$ac_c_werror_flag" ||
9170 test ! -s conftest.err
9171 } && test -s conftest
$ac_exeext && {
9172 test "$cross_compiling" = yes ||
9173 $as_test_x conftest
$ac_exeext
9175 ac_cv_lib_lzo2___lzo_init_v2
=yes
9177 $as_echo "$as_me: failed program was:" >&5
9178 sed 's/^/| /' conftest.
$ac_ext >&5
9180 ac_cv_lib_lzo2___lzo_init_v2
=no
9183 rm -rf conftest.dSYM
9184 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9185 conftest
$ac_exeext conftest.
$ac_ext
9186 LIBS
=$ac_check_lib_save_LIBS
9188 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lzo2___lzo_init_v2" >&5
9189 $as_echo "$ac_cv_lib_lzo2___lzo_init_v2" >&6; }
9190 if test "x$ac_cv_lib_lzo2___lzo_init_v2" = x
""yes; then
9193 { $as_echo "$as_me:$LINENO: checking for __lzo_init_v2 in -llzo" >&5
9194 $as_echo_n "checking for __lzo_init_v2 in -llzo... " >&6; }
9195 if test "${ac_cv_lib_lzo___lzo_init_v2+set}" = set; then
9196 $as_echo_n "(cached) " >&6
9198 ac_check_lib_save_LIBS
=$LIBS
9200 cat >conftest.
$ac_ext <<_ACEOF
9203 cat confdefs.h
>>conftest.
$ac_ext
9204 cat >>conftest.
$ac_ext <<_ACEOF
9205 /* end confdefs.h. */
9207 /* Override any GCC internal prototype to avoid an error.
9208 Use char because int might match the return type of a GCC
9209 builtin and then its argument prototype would still apply. */
9213 char __lzo_init_v2 ();
9217 return __lzo_init_v2 ();
9222 rm -f conftest.
$ac_objext conftest
$ac_exeext
9223 if { (ac_try
="$ac_link"
9225 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9226 *) ac_try_echo=$ac_try;;
9228 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9229 $as_echo "$ac_try_echo") >&5
9230 (eval "$ac_link") 2>conftest.er1
9232 grep -v '^ *+' conftest.er1 >conftest.err
9234 cat conftest.err >&5
9235 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9236 (exit $ac_status); } && {
9237 test -z "$ac_c_werror_flag" ||
9238 test ! -s conftest.err
9239 } && test -s conftest$ac_exeext && {
9240 test "$cross_compiling" = yes ||
9241 $as_test_x conftest$ac_exeext
9243 ac_cv_lib_lzo___lzo_init_v2=yes
9245 $as_echo "$as_me: failed program was:" >&5
9246 sed 's/^/| /' conftest.$ac_ext >&5
9248 ac_cv_lib_lzo___lzo_init_v2=no
9251 rm -rf conftest.dSYM
9252 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9253 conftest$ac_exeext conftest.$ac_ext
9254 LIBS=$ac_check_lib_save_LIBS
9256 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lzo___lzo_init_v2" >&5
9257 $as_echo "$ac_cv_lib_lzo___lzo_init_v2" >&6; }
9258 if test "x$ac_cv_lib_lzo___lzo_init_v2" = x""yes; then
9261 { $as_echo "$as_me:$LINENO: checking for __lzo_init2 in -llzo" >&5
9262 $as_echo_n "checking for __lzo_init2 in -llzo... " >&6; }
9263 if test "${ac_cv_lib_lzo___lzo_init2+set}" = set; then
9264 $as_echo_n "(cached) " >&6
9266 ac_check_lib_save_LIBS=$LIBS
9268 cat >conftest.$ac_ext <<_ACEOF
9271 cat confdefs.h >>conftest.$ac_ext
9272 cat >>conftest.$ac_ext <<_ACEOF
9273 /* end confdefs.h. */
9275 /* Override any GCC internal prototype to avoid an error.
9276 Use char because int might match the return type of a GCC
9277 builtin and then its argument prototype would still apply. */
9281 char __lzo_init2 ();
9285 return __lzo_init2 ();
9290 rm -f conftest.$ac_objext conftest$ac_exeext
9291 if { (ac_try="$ac_link"
9293 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9294 *) ac_try_echo
=$ac_try;;
9296 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9297 $as_echo "$ac_try_echo") >&5
9298 (eval "$ac_link") 2>conftest.er1
9300 grep -v '^ *+' conftest.er1
>conftest.err
9302 cat conftest.err
>&5
9303 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9304 (exit $ac_status); } && {
9305 test -z "$ac_c_werror_flag" ||
9306 test ! -s conftest.err
9307 } && test -s conftest
$ac_exeext && {
9308 test "$cross_compiling" = yes ||
9309 $as_test_x conftest
$ac_exeext
9311 ac_cv_lib_lzo___lzo_init2
=yes
9313 $as_echo "$as_me: failed program was:" >&5
9314 sed 's/^/| /' conftest.
$ac_ext >&5
9316 ac_cv_lib_lzo___lzo_init2
=no
9319 rm -rf conftest.dSYM
9320 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9321 conftest
$ac_exeext conftest.
$ac_ext
9322 LIBS
=$ac_check_lib_save_LIBS
9324 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lzo___lzo_init2" >&5
9325 $as_echo "$ac_cv_lib_lzo___lzo_init2" >&6; }
9326 if test "x$ac_cv_lib_lzo___lzo_init2" = x
""yes; then
9329 { { $as_echo "$as_me:$LINENO: error: LZO library version 1.02 or later is required" >&5
9330 $as_echo "$as_me: error: LZO library version 1.02 or later is required" >&2;}
9331 { (exit 1); exit 1; }; }
9340 LIBS
="$LIBS $LIBLZO"
9341 { $as_echo "$as_me:$LINENO: checking for lzo1x_999_compress" >&5
9342 $as_echo_n "checking for lzo1x_999_compress... " >&6; }
9343 if test "${ac_cv_func_lzo1x_999_compress+set}" = set; then
9344 $as_echo_n "(cached) " >&6
9346 cat >conftest.
$ac_ext <<_ACEOF
9349 cat confdefs.h
>>conftest.
$ac_ext
9350 cat >>conftest.
$ac_ext <<_ACEOF
9351 /* end confdefs.h. */
9352 /* Define lzo1x_999_compress to an innocuous variant, in case <limits.h> declares lzo1x_999_compress.
9353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9354 #define lzo1x_999_compress innocuous_lzo1x_999_compress
9356 /* System header to define __stub macros and hopefully few prototypes,
9357 which can conflict with char lzo1x_999_compress (); below.
9358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9359 <limits.h> exists even on freestanding compilers. */
9362 # include <limits.h>
9364 # include <assert.h>
9367 #undef lzo1x_999_compress
9369 /* Override any GCC internal prototype to avoid an error.
9370 Use char because int might match the return type of a GCC
9371 builtin and then its argument prototype would still apply. */
9375 char lzo1x_999_compress ();
9376 /* The GNU C library defines this for functions which it implements
9377 to always fail with ENOSYS. Some functions are actually named
9378 something starting with __ and the normal name is an alias. */
9379 #if defined __stub_lzo1x_999_compress || defined __stub___lzo1x_999_compress
9386 return lzo1x_999_compress ();
9391 rm -f conftest.
$ac_objext conftest
$ac_exeext
9392 if { (ac_try
="$ac_link"
9394 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9395 *) ac_try_echo=$ac_try;;
9397 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9398 $as_echo "$ac_try_echo") >&5
9399 (eval "$ac_link") 2>conftest.er1
9401 grep -v '^ *+' conftest.er1 >conftest.err
9403 cat conftest.err >&5
9404 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9405 (exit $ac_status); } && {
9406 test -z "$ac_c_werror_flag" ||
9407 test ! -s conftest.err
9408 } && test -s conftest$ac_exeext && {
9409 test "$cross_compiling" = yes ||
9410 $as_test_x conftest$ac_exeext
9412 ac_cv_func_lzo1x_999_compress=yes
9414 $as_echo "$as_me: failed program was:" >&5
9415 sed 's/^/| /' conftest.$ac_ext >&5
9417 ac_cv_func_lzo1x_999_compress=no
9420 rm -rf conftest.dSYM
9421 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9422 conftest$ac_exeext conftest.$ac_ext
9424 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_lzo1x_999_compress" >&5
9425 $as_echo "$ac_cv_func_lzo1x_999_compress" >&6; }
9426 if test "x$ac_cv_func_lzo1x_999_compress" = x""yes; then
9429 { { $as_echo "$as_me:$LINENO: error: LZO1X-999 must be enabled" >&5
9430 $as_echo "$as_me: error: LZO1X-999 must be enabled" >&2;}
9431 { (exit 1); exit 1; }; }
9435 # LZO version 2 uses lzo/lzo1x.h, while LZO version 1 uses lzo1x.h.
9438 for ac_header in lzo/lzo1x.h lzo1x.h
9440 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9441 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9442 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9443 $as_echo_n "checking for $ac_header... " >&6; }
9444 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9445 $as_echo_n "(cached) " >&6
9447 ac_res=`eval 'as_val=${'$as_ac_Header'}
9448 $as_echo "$as_val"'`
9449 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9450 $as_echo "$ac_res" >&6; }
9452 # Is the header compilable?
9453 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
9454 $as_echo_n "checking $ac_header usability... " >&6; }
9455 cat >conftest.$ac_ext <<_ACEOF
9458 cat confdefs.h >>conftest.$ac_ext
9459 cat >>conftest.$ac_ext <<_ACEOF
9460 /* end confdefs.h. */
9461 $ac_includes_default
9462 #include <$ac_header>
9464 rm -f conftest.$ac_objext
9465 if { (ac_try="$ac_compile"
9467 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9468 *) ac_try_echo
=$ac_try;;
9470 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9471 $as_echo "$ac_try_echo") >&5
9472 (eval "$ac_compile") 2>conftest.er1
9474 grep -v '^ *+' conftest.er1
>conftest.err
9476 cat conftest.err
>&5
9477 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9478 (exit $ac_status); } && {
9479 test -z "$ac_c_werror_flag" ||
9480 test ! -s conftest.err
9481 } && test -s conftest.
$ac_objext; then
9482 ac_header_compiler
=yes
9484 $as_echo "$as_me: failed program was:" >&5
9485 sed 's/^/| /' conftest.
$ac_ext >&5
9487 ac_header_compiler
=no
9490 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9491 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9492 $as_echo "$ac_header_compiler" >&6; }
9494 # Is the header present?
9495 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
9496 $as_echo_n "checking $ac_header presence... " >&6; }
9497 cat >conftest.
$ac_ext <<_ACEOF
9500 cat confdefs.h
>>conftest.
$ac_ext
9501 cat >>conftest.
$ac_ext <<_ACEOF
9502 /* end confdefs.h. */
9503 #include <$ac_header>
9505 if { (ac_try
="$ac_cpp conftest.$ac_ext"
9507 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9508 *) ac_try_echo=$ac_try;;
9510 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9511 $as_echo "$ac_try_echo") >&5
9512 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9514 grep -v '^ *+' conftest.er1 >conftest.err
9516 cat conftest.err >&5
9517 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9518 (exit $ac_status); } >/dev/null && {
9519 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9520 test ! -s conftest.err
9522 ac_header_preproc=yes
9524 $as_echo "$as_me: failed program was:" >&5
9525 sed 's/^/| /' conftest.$ac_ext >&5
9527 ac_header_preproc=no
9530 rm -f conftest.err conftest.$ac_ext
9531 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9532 $as_echo "$ac_header_preproc" >&6; }
9534 # So? What about this header?
9535 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9537 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9538 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9539 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9540 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9541 ac_header_preproc=yes
9544 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9545 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9546 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9547 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9548 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9549 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9550 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9551 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9552 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9553 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9554 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9555 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9559 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9560 $as_echo_n "checking for $ac_header... " >&6; }
9561 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9562 $as_echo_n "(cached) " >&6
9564 eval "$as_ac_Header=\$ac_header_preproc"
9566 ac_res=`eval 'as_val=${'$as_ac_Header'}
9567 $as_echo "$as_val"'`
9568 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9569 $as_echo "$ac_res" >&6; }
9572 as_val=`eval 'as_val=${'$as_ac_Header'}
9573 $as_echo "$as_val"'`
9574 if test "x$as_val" = x""yes; then
9575 cat >>confdefs.h <<_ACEOF
9576 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9585 { $as_echo "$as_me:$LINENO: checking which GUI Theme to use" >&5
9586 $as_echo_n "checking which GUI Theme to use... " >&6; }
9588 # Check whether --with-theme was given.
9589 if test "${with_theme+set}" = set; then
9590 withval=$with_theme; target_guitheme=$withval
9592 target_guitheme="default"
9595 if test "$target_guitheme" = "default"; then
9596 aros_target_guitheme="Ice"
9598 aros_target_guitheme="$target_guitheme"
9600 { $as_echo "$as_me:$LINENO: result: $aros_target_guitheme" >&5
9601 $as_echo "$aros_target_guitheme" >&6; }
9603 # Find out if we are cross-compiling (ie. if we can't use the host compiler
9606 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
9609 if test "$aros_host_arch" == "darwin" ; then
9613 # Set prefix for target compiler etc. if we're cross-compiling
9614 # (should possibly be earlier but needs to be after AC_PROG_CC)
9615 if test "$cross_compiling" = "yes" ; then
9616 if test "$target_tool_prefix" = ""; then
9617 target_tool_prefix=${target_cpu}-elf-
9619 CC=${target_tool_prefix}gcc
9622 #-----------------------------------------------------------------------------
9624 # Disable pointer-signedness warnings if the compiler recognises the option
9626 { $as_echo "$as_me:$LINENO: checking whether ${CC} accepts -Wno-pointer-sign" >&5
9627 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
9628 save_cflags="$CFLAGS"
9629 CFLAGS="$CFLAGS -Wno-pointer-sign"
9630 cat >conftest.$ac_ext <<_ACEOF
9633 cat confdefs.h >>conftest.$ac_ext
9634 cat >>conftest.$ac_ext <<_ACEOF
9635 /* end confdefs.h. */
9645 rm -f conftest.$ac_objext
9646 if { (ac_try="$ac_compile"
9648 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9649 *) ac_try_echo
=$ac_try;;
9651 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9652 $as_echo "$ac_try_echo") >&5
9653 (eval "$ac_compile") 2>conftest.er1
9655 grep -v '^ *+' conftest.er1
>conftest.err
9657 cat conftest.err
>&5
9658 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9659 (exit $ac_status); } && {
9660 test -z "$ac_c_werror_flag" ||
9661 test ! -s conftest.err
9662 } && test -s conftest.
$ac_objext; then
9663 use_no_sign_warning
="yes"
9665 $as_echo "$as_me: failed program was:" >&5
9666 sed 's/^/| /' conftest.
$ac_ext >&5
9668 use_no_sign_warning
="no"
9671 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9672 { $as_echo "$as_me:$LINENO: result: $use_no_sign_warning" >&5
9673 $as_echo "$use_no_sign_warning" >&6; }
9674 if test "x-$use_no_sign_warning" = "x-yes" ; then
9675 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
9677 CFLAGS
="$save_cflags"
9679 #-----------------------------------------------------------------------------
9681 # Find all the tools we need to compile. This could be cross-compiling
9682 # though! If that is the case we use the GNU form of the target and
9683 # simply add this to the front of the binary name. This is rather simple,
9684 # but it should work under most circumstances.
9686 # The default tools are to use the same as the host, but only if the
9687 # host and target CPU are the same. With GCC this is normally enough.
9691 aros_shared_ld
="$aros_host_ld"
9693 aros_target_mkdep
="$aros_host_mkdep"
9694 aros_target_incl_def
="$aros_host_incl"
9696 # Extract the first word of "$CC", so it can be a program name with args.
9697 set dummy
$CC; ac_word
=$2
9698 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9699 $as_echo_n "checking for $ac_word... " >&6; }
9700 if test "${ac_cv_path_aros_kernel_cc+set}" = set; then
9701 $as_echo_n "(cached) " >&6
9703 case $aros_kernel_cc in
9705 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9712 test -z "$as_dir" && as_dir
=.
9713 for ac_exec_ext
in '' $ac_executable_extensions; do
9714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9715 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9716 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9726 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9727 if test -n "$aros_kernel_cc"; then
9728 { $as_echo "$as_me:$LINENO: result: $aros_kernel_cc" >&5
9729 $as_echo "$aros_kernel_cc" >&6; }
9731 { $as_echo "$as_me:$LINENO: result: no" >&5
9732 $as_echo "no" >&6; }
9737 # The default tools executables to be linked to.
9738 if test "$aros_target_cc" != ""; then
9739 # Extract the first word of "$aros_target_cc", so it can be a program name with args.
9740 set dummy
$aros_target_cc; ac_word
=$2
9741 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9742 $as_echo_n "checking for $ac_word... " >&6; }
9743 if test "${ac_cv_path_aros_target_cc+set}" = set; then
9744 $as_echo_n "(cached) " >&6
9746 case $aros_target_cc in
9748 ac_cv_path_aros_target_cc
="$aros_target_cc" # Let the user override the test with a path.
9751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9755 test -z "$as_dir" && as_dir
=.
9756 for ac_exec_ext
in '' $ac_executable_extensions; do
9757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9758 ac_cv_path_aros_target_cc
="$as_dir/$ac_word$ac_exec_ext"
9759 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9769 aros_target_cc
=$ac_cv_path_aros_target_cc
9770 if test -n "$aros_target_cc"; then
9771 { $as_echo "$as_me:$LINENO: result: $aros_target_cc" >&5
9772 $as_echo "$aros_target_cc" >&6; }
9774 { $as_echo "$as_me:$LINENO: result: no" >&5
9775 $as_echo "no" >&6; }
9779 if test "$aros_target_cc" = ""; then
9780 { { $as_echo "$as_me:$LINENO: error: gcc is required to build AROS. Please install and run configure again." >&5
9781 $as_echo "$as_me: error: gcc is required to build AROS. Please install and run configure again." >&2;}
9782 { (exit 1); exit 1; }; }
9785 if test "$aros_target_ld" != ""; then
9786 # Extract the first word of "$aros_target_ld", so it can be a program name with args.
9787 set dummy
$aros_target_ld; ac_word
=$2
9788 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9789 $as_echo_n "checking for $ac_word... " >&6; }
9790 if test "${ac_cv_path_aros_target_ld+set}" = set; then
9791 $as_echo_n "(cached) " >&6
9793 case $aros_target_ld in
9795 ac_cv_path_aros_target_ld
="$aros_target_ld" # Let the user override the test with a path.
9798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9802 test -z "$as_dir" && as_dir
=.
9803 for ac_exec_ext
in '' $ac_executable_extensions; do
9804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9805 ac_cv_path_aros_target_ld
="$as_dir/$ac_word$ac_exec_ext"
9806 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9816 aros_target_ld
=$ac_cv_path_aros_target_ld
9817 if test -n "$aros_target_ld"; then
9818 { $as_echo "$as_me:$LINENO: result: $aros_target_ld" >&5
9819 $as_echo "$aros_target_ld" >&6; }
9821 { $as_echo "$as_me:$LINENO: result: no" >&5
9822 $as_echo "no" >&6; }
9826 if test "$aros_target_ld" = ""; then
9827 { { $as_echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
9828 $as_echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
9829 { (exit 1); exit 1; }; }
9833 if test "$crosstools" != "yes"; then
9835 if test "$aros_target_as" = ""; then
9836 if test "$cross_compiling" = "yes" ; then
9837 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
9838 set dummy
${target_tool_prefix}as
; ac_word
=$2
9839 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9840 $as_echo_n "checking for $ac_word... " >&6; }
9841 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9842 $as_echo_n "(cached) " >&6
9844 case $aros_target_as_ln in
9846 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
9849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9853 test -z "$as_dir" && as_dir
=.
9854 for ac_exec_ext
in '' $ac_executable_extensions; do
9855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9856 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
9857 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9867 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
9868 if test -n "$aros_target_as_ln"; then
9869 { $as_echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9870 $as_echo "$aros_target_as_ln" >&6; }
9872 { $as_echo "$as_me:$LINENO: result: no" >&5
9873 $as_echo "no" >&6; }
9878 if test "$GCC" = "yes"; then
9879 aros_gcc_as
=`$CC -print-prog-name=as`
9880 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
9881 set dummy
`basename $aros_gcc_as`; ac_word
=$2
9882 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9883 $as_echo_n "checking for $ac_word... " >&6; }
9884 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9885 $as_echo_n "(cached) " >&6
9887 case $aros_target_as_ln in
9889 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
9892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9893 for as_dir
in `dirname $aros_gcc_as`
9896 test -z "$as_dir" && as_dir
=.
9897 for ac_exec_ext
in '' $ac_executable_extensions; do
9898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9899 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
9900 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9910 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
9911 if test -n "$aros_target_as_ln"; then
9912 { $as_echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9913 $as_echo "$aros_target_as_ln" >&6; }
9915 { $as_echo "$as_me:$LINENO: result: no" >&5
9916 $as_echo "no" >&6; }
9921 if test "$aros_target_as_ln" = ""; then
9922 # Extract the first word of "as", so it can be a program name with args.
9923 set dummy as
; ac_word
=$2
9924 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9925 $as_echo_n "checking for $ac_word... " >&6; }
9926 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9927 $as_echo_n "(cached) " >&6
9929 case $aros_target_as_ln in
9931 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
9934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9938 test -z "$as_dir" && as_dir
=.
9939 for ac_exec_ext
in '' $ac_executable_extensions; do
9940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9941 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
9942 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9952 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
9953 if test -n "$aros_target_as_ln"; then
9954 { $as_echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9955 $as_echo "$aros_target_as_ln" >&6; }
9957 { $as_echo "$as_me:$LINENO: result: no" >&5
9958 $as_echo "no" >&6; }
9965 # Extract the first word of "$aros_target_as", so it can be a program name with args.
9966 set dummy
$aros_target_as; ac_word
=$2
9967 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9968 $as_echo_n "checking for $ac_word... " >&6; }
9969 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9970 $as_echo_n "(cached) " >&6
9972 case $aros_target_as_ln in
9974 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
9977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9981 test -z "$as_dir" && as_dir
=.
9982 for ac_exec_ext
in '' $ac_executable_extensions; do
9983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9984 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
9985 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9995 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
9996 if test -n "$aros_target_as_ln"; then
9997 { $as_echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9998 $as_echo "$aros_target_as_ln" >&6; }
10000 { $as_echo "$as_me:$LINENO: result: no" >&5
10001 $as_echo "no" >&6; }
10007 if test "$aros_target_as_ln" = ""; then
10008 { { $as_echo "$as_me:$LINENO: error: as is required to build AROS. Please install and run configure again." >&5
10009 $as_echo "$as_me: error: as is required to build AROS. Please install and run configure again." >&2;}
10010 { (exit 1); exit 1; }; }
10013 if test "$aros_kernel_ld" = ""; then
10014 if test "$cross_compiling" = "yes" ; then
10015 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
10016 set dummy
${target_tool_prefix}ld
; ac_word
=$2
10017 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10018 $as_echo_n "checking for $ac_word... " >&6; }
10019 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
10020 $as_echo_n "(cached) " >&6
10022 case $aros_kernel_ld in
10024 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10028 for as_dir
in $PATH
10031 test -z "$as_dir" && as_dir
=.
10032 for ac_exec_ext
in '' $ac_executable_extensions; do
10033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10034 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10035 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10045 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10046 if test -n "$aros_kernel_ld"; then
10047 { $as_echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
10048 $as_echo "$aros_kernel_ld" >&6; }
10050 { $as_echo "$as_me:$LINENO: result: no" >&5
10051 $as_echo "no" >&6; }
10056 if test "$GCC" = "yes"; then
10057 aros_gcc_ld
=`$CC -print-prog-name=ld`
10058 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
10059 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
10060 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10061 $as_echo_n "checking for $ac_word... " >&6; }
10062 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
10063 $as_echo_n "(cached) " >&6
10065 case $aros_kernel_ld in
10067 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10071 for as_dir
in `dirname $aros_gcc_ld`
10074 test -z "$as_dir" && as_dir
=.
10075 for ac_exec_ext
in '' $ac_executable_extensions; do
10076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10077 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10078 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10088 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10089 if test -n "$aros_kernel_ld"; then
10090 { $as_echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
10091 $as_echo "$aros_kernel_ld" >&6; }
10093 { $as_echo "$as_me:$LINENO: result: no" >&5
10094 $as_echo "no" >&6; }
10099 if test "$aros_kernel_ld" = ""; then
10100 # Extract the first word of "ld", so it can be a program name with args.
10101 set dummy ld
; ac_word
=$2
10102 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10103 $as_echo_n "checking for $ac_word... " >&6; }
10104 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
10105 $as_echo_n "(cached) " >&6
10107 case $aros_kernel_ld in
10109 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10113 for as_dir
in $PATH
10116 test -z "$as_dir" && as_dir
=.
10117 for ac_exec_ext
in '' $ac_executable_extensions; do
10118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10119 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10120 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10130 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10131 if test -n "$aros_kernel_ld"; then
10132 { $as_echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
10133 $as_echo "$aros_kernel_ld" >&6; }
10135 { $as_echo "$as_me:$LINENO: result: no" >&5
10136 $as_echo "no" >&6; }
10143 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
10144 set dummy
$aros_kernel_ld; ac_word
=$2
10145 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10146 $as_echo_n "checking for $ac_word... " >&6; }
10147 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
10148 $as_echo_n "(cached) " >&6
10150 case $aros_kernel_ld in
10152 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10156 for as_dir
in $PATH
10159 test -z "$as_dir" && as_dir
=.
10160 for ac_exec_ext
in '' $ac_executable_extensions; do
10161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10162 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10163 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10173 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10174 if test -n "$aros_kernel_ld"; then
10175 { $as_echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
10176 $as_echo "$aros_kernel_ld" >&6; }
10178 { $as_echo "$as_me:$LINENO: result: no" >&5
10179 $as_echo "no" >&6; }
10185 if test "$aros_kernel_ld" = ""; then
10186 { { $as_echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
10187 $as_echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
10188 { (exit 1); exit 1; }; }
10191 if test "$aros_target_ar" = ""; then
10192 if test "$cross_compiling" = "yes" ; then
10193 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
10194 set dummy
${target_tool_prefix}ar; ac_word
=$2
10195 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10196 $as_echo_n "checking for $ac_word... " >&6; }
10197 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
10198 $as_echo_n "(cached) " >&6
10200 case $aros_target_ar_ln in
10202 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
10205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10206 for as_dir
in $PATH
10209 test -z "$as_dir" && as_dir
=.
10210 for ac_exec_ext
in '' $ac_executable_extensions; do
10211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10212 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
10213 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10223 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
10224 if test -n "$aros_target_ar_ln"; then
10225 { $as_echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
10226 $as_echo "$aros_target_ar_ln" >&6; }
10228 { $as_echo "$as_me:$LINENO: result: no" >&5
10229 $as_echo "no" >&6; }
10234 if test "$GCC" = "yes"; then
10235 aros_gcc_ar
=`$CC -print-prog-name=ar`
10236 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
10237 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
10238 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10239 $as_echo_n "checking for $ac_word... " >&6; }
10240 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
10241 $as_echo_n "(cached) " >&6
10243 case $aros_target_ar_ln in
10245 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
10248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10249 for as_dir
in `dirname $aros_gcc_ar`
10252 test -z "$as_dir" && as_dir
=.
10253 for ac_exec_ext
in '' $ac_executable_extensions; do
10254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10255 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
10256 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10266 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
10267 if test -n "$aros_target_ar_ln"; then
10268 { $as_echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
10269 $as_echo "$aros_target_ar_ln" >&6; }
10271 { $as_echo "$as_me:$LINENO: result: no" >&5
10272 $as_echo "no" >&6; }
10277 if test "$aros_target_ar_ln" = ""; then
10278 # Extract the first word of "ar", so it can be a program name with args.
10279 set dummy
ar; ac_word
=$2
10280 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10281 $as_echo_n "checking for $ac_word... " >&6; }
10282 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
10283 $as_echo_n "(cached) " >&6
10285 case $aros_target_ar_ln in
10287 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
10290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10291 for as_dir
in $PATH
10294 test -z "$as_dir" && as_dir
=.
10295 for ac_exec_ext
in '' $ac_executable_extensions; do
10296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10297 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
10298 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10308 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
10309 if test -n "$aros_target_ar_ln"; then
10310 { $as_echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
10311 $as_echo "$aros_target_ar_ln" >&6; }
10313 { $as_echo "$as_me:$LINENO: result: no" >&5
10314 $as_echo "no" >&6; }
10321 # Extract the first word of "$aros_target_ar", so it can be a program name with args.
10322 set dummy
$aros_target_ar; ac_word
=$2
10323 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10324 $as_echo_n "checking for $ac_word... " >&6; }
10325 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
10326 $as_echo_n "(cached) " >&6
10328 case $aros_target_ar_ln in
10330 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
10333 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10334 for as_dir
in $PATH
10337 test -z "$as_dir" && as_dir
=.
10338 for ac_exec_ext
in '' $ac_executable_extensions; do
10339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10340 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
10341 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10351 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
10352 if test -n "$aros_target_ar_ln"; then
10353 { $as_echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
10354 $as_echo "$aros_target_ar_ln" >&6; }
10356 { $as_echo "$as_me:$LINENO: result: no" >&5
10357 $as_echo "no" >&6; }
10363 if test "$aros_target_ar_ln" = ""; then
10364 { { $as_echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
10365 $as_echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
10366 { (exit 1); exit 1; }; }
10369 if test "$aros_target_nm" = ""; then
10370 if test "$cross_compiling" = "yes" ; then
10371 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
10372 set dummy
${target_tool_prefix}nm
; ac_word
=$2
10373 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10374 $as_echo_n "checking for $ac_word... " >&6; }
10375 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
10376 $as_echo_n "(cached) " >&6
10378 case $aros_target_nm_ln in
10380 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
10383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10384 for as_dir
in $PATH
10387 test -z "$as_dir" && as_dir
=.
10388 for ac_exec_ext
in '' $ac_executable_extensions; do
10389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10390 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
10391 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10401 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
10402 if test -n "$aros_target_nm_ln"; then
10403 { $as_echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10404 $as_echo "$aros_target_nm_ln" >&6; }
10406 { $as_echo "$as_me:$LINENO: result: no" >&5
10407 $as_echo "no" >&6; }
10412 if test "$GCC" = "yes"; then
10413 aros_gcc_nm
=`$CC -print-prog-name=nm`
10414 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
10415 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
10416 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10417 $as_echo_n "checking for $ac_word... " >&6; }
10418 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
10419 $as_echo_n "(cached) " >&6
10421 case $aros_target_nm_ln in
10423 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
10426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10427 for as_dir
in `dirname $aros_gcc_nm`
10430 test -z "$as_dir" && as_dir
=.
10431 for ac_exec_ext
in '' $ac_executable_extensions; do
10432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10433 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
10434 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10444 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
10445 if test -n "$aros_target_nm_ln"; then
10446 { $as_echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10447 $as_echo "$aros_target_nm_ln" >&6; }
10449 { $as_echo "$as_me:$LINENO: result: no" >&5
10450 $as_echo "no" >&6; }
10455 if test "$aros_target_nm_ln" = ""; then
10456 # Extract the first word of "nm", so it can be a program name with args.
10457 set dummy nm
; ac_word
=$2
10458 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10459 $as_echo_n "checking for $ac_word... " >&6; }
10460 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
10461 $as_echo_n "(cached) " >&6
10463 case $aros_target_nm_ln in
10465 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
10468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10469 for as_dir
in $PATH
10472 test -z "$as_dir" && as_dir
=.
10473 for ac_exec_ext
in '' $ac_executable_extensions; do
10474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10475 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
10476 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10486 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
10487 if test -n "$aros_target_nm_ln"; then
10488 { $as_echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10489 $as_echo "$aros_target_nm_ln" >&6; }
10491 { $as_echo "$as_me:$LINENO: result: no" >&5
10492 $as_echo "no" >&6; }
10499 # Extract the first word of "$aros_target_nm", so it can be a program name with args.
10500 set dummy
$aros_target_nm; ac_word
=$2
10501 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10502 $as_echo_n "checking for $ac_word... " >&6; }
10503 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
10504 $as_echo_n "(cached) " >&6
10506 case $aros_target_nm_ln in
10508 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
10511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10512 for as_dir
in $PATH
10515 test -z "$as_dir" && as_dir
=.
10516 for ac_exec_ext
in '' $ac_executable_extensions; do
10517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10518 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
10519 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10529 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
10530 if test -n "$aros_target_nm_ln"; then
10531 { $as_echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10532 $as_echo "$aros_target_nm_ln" >&6; }
10534 { $as_echo "$as_me:$LINENO: result: no" >&5
10535 $as_echo "no" >&6; }
10541 if test "$aros_target_nm_ln" = ""; then
10542 { { $as_echo "$as_me:$LINENO: error: nm is required to build AROS. Please install and run configure again." >&5
10543 $as_echo "$as_me: error: nm is required to build AROS. Please install and run configure again." >&2;}
10544 { (exit 1); exit 1; }; }
10547 if test "$aros_target_objcopy" = ""; then
10548 if test "$cross_compiling" = "yes" ; then
10549 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
10550 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
10551 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10552 $as_echo_n "checking for $ac_word... " >&6; }
10553 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10554 $as_echo_n "(cached) " >&6
10556 case $aros_target_objcopy_ln in
10558 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
10561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10562 for as_dir
in $PATH
10565 test -z "$as_dir" && as_dir
=.
10566 for ac_exec_ext
in '' $ac_executable_extensions; do
10567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10568 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
10569 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10579 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
10580 if test -n "$aros_target_objcopy_ln"; then
10581 { $as_echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10582 $as_echo "$aros_target_objcopy_ln" >&6; }
10584 { $as_echo "$as_me:$LINENO: result: no" >&5
10585 $as_echo "no" >&6; }
10590 if test "$GCC" = "yes"; then
10591 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
10592 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
10593 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
10594 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10595 $as_echo_n "checking for $ac_word... " >&6; }
10596 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10597 $as_echo_n "(cached) " >&6
10599 case $aros_target_objcopy_ln in
10601 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
10604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10605 for as_dir
in `dirname $aros_gcc_objcopy`
10608 test -z "$as_dir" && as_dir
=.
10609 for ac_exec_ext
in '' $ac_executable_extensions; do
10610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10611 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
10612 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10622 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
10623 if test -n "$aros_target_objcopy_ln"; then
10624 { $as_echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10625 $as_echo "$aros_target_objcopy_ln" >&6; }
10627 { $as_echo "$as_me:$LINENO: result: no" >&5
10628 $as_echo "no" >&6; }
10633 if test "$aros_target_objcopy_ln" = ""; then
10634 # Extract the first word of "objcopy", so it can be a program name with args.
10635 set dummy objcopy
; ac_word
=$2
10636 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10637 $as_echo_n "checking for $ac_word... " >&6; }
10638 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10639 $as_echo_n "(cached) " >&6
10641 case $aros_target_objcopy_ln in
10643 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
10646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10647 for as_dir
in $PATH
10650 test -z "$as_dir" && as_dir
=.
10651 for ac_exec_ext
in '' $ac_executable_extensions; do
10652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10653 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
10654 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10664 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
10665 if test -n "$aros_target_objcopy_ln"; then
10666 { $as_echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10667 $as_echo "$aros_target_objcopy_ln" >&6; }
10669 { $as_echo "$as_me:$LINENO: result: no" >&5
10670 $as_echo "no" >&6; }
10677 # Extract the first word of "$aros_target_objcopy", so it can be a program name with args.
10678 set dummy
$aros_target_objcopy; ac_word
=$2
10679 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10680 $as_echo_n "checking for $ac_word... " >&6; }
10681 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10682 $as_echo_n "(cached) " >&6
10684 case $aros_target_objcopy_ln in
10686 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
10689 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10690 for as_dir
in $PATH
10693 test -z "$as_dir" && as_dir
=.
10694 for ac_exec_ext
in '' $ac_executable_extensions; do
10695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10696 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
10697 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10707 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
10708 if test -n "$aros_target_objcopy_ln"; then
10709 { $as_echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10710 $as_echo "$aros_target_objcopy_ln" >&6; }
10712 { $as_echo "$as_me:$LINENO: result: no" >&5
10713 $as_echo "no" >&6; }
10719 if test "$aros_target_objcopy_ln" = ""; then
10720 { { $as_echo "$as_me:$LINENO: error: objcopy is required to build AROS. Please install and run configure again." >&5
10721 $as_echo "$as_me: error: objcopy is required to build AROS. Please install and run configure again." >&2;}
10722 { (exit 1); exit 1; }; }
10725 if test "$aros_target_objdump" = ""; then
10726 if test "$cross_compiling" = "yes" ; then
10727 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
10728 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
10729 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10730 $as_echo_n "checking for $ac_word... " >&6; }
10731 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10732 $as_echo_n "(cached) " >&6
10734 case $aros_target_objdump_ln in
10736 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
10739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10740 for as_dir
in $PATH
10743 test -z "$as_dir" && as_dir
=.
10744 for ac_exec_ext
in '' $ac_executable_extensions; do
10745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10746 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
10747 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10757 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
10758 if test -n "$aros_target_objdump_ln"; then
10759 { $as_echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10760 $as_echo "$aros_target_objdump_ln" >&6; }
10762 { $as_echo "$as_me:$LINENO: result: no" >&5
10763 $as_echo "no" >&6; }
10768 if test "$GCC" = "yes"; then
10769 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
10770 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
10771 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
10772 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10773 $as_echo_n "checking for $ac_word... " >&6; }
10774 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10775 $as_echo_n "(cached) " >&6
10777 case $aros_target_objdump_ln in
10779 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
10782 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10783 for as_dir
in `dirname $aros_gcc_objdump`
10786 test -z "$as_dir" && as_dir
=.
10787 for ac_exec_ext
in '' $ac_executable_extensions; do
10788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10789 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
10790 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10800 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
10801 if test -n "$aros_target_objdump_ln"; then
10802 { $as_echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10803 $as_echo "$aros_target_objdump_ln" >&6; }
10805 { $as_echo "$as_me:$LINENO: result: no" >&5
10806 $as_echo "no" >&6; }
10811 if test "$aros_target_objdump_ln" = ""; then
10812 # Extract the first word of "objdump", so it can be a program name with args.
10813 set dummy objdump
; ac_word
=$2
10814 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10815 $as_echo_n "checking for $ac_word... " >&6; }
10816 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10817 $as_echo_n "(cached) " >&6
10819 case $aros_target_objdump_ln in
10821 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
10824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10825 for as_dir
in $PATH
10828 test -z "$as_dir" && as_dir
=.
10829 for ac_exec_ext
in '' $ac_executable_extensions; do
10830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10831 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
10832 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10842 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
10843 if test -n "$aros_target_objdump_ln"; then
10844 { $as_echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10845 $as_echo "$aros_target_objdump_ln" >&6; }
10847 { $as_echo "$as_me:$LINENO: result: no" >&5
10848 $as_echo "no" >&6; }
10855 # Extract the first word of "$aros_target_objdump", so it can be a program name with args.
10856 set dummy
$aros_target_objdump; ac_word
=$2
10857 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10858 $as_echo_n "checking for $ac_word... " >&6; }
10859 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10860 $as_echo_n "(cached) " >&6
10862 case $aros_target_objdump_ln in
10864 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
10867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10868 for as_dir
in $PATH
10871 test -z "$as_dir" && as_dir
=.
10872 for ac_exec_ext
in '' $ac_executable_extensions; do
10873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10874 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
10875 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10885 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
10886 if test -n "$aros_target_objdump_ln"; then
10887 { $as_echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10888 $as_echo "$aros_target_objdump_ln" >&6; }
10890 { $as_echo "$as_me:$LINENO: result: no" >&5
10891 $as_echo "no" >&6; }
10897 if test "$aros_target_objdump_ln" = ""; then
10898 { { $as_echo "$as_me:$LINENO: error: objdump is required to build AROS. Please install and run configure again." >&5
10899 $as_echo "$as_me: error: objdump is required to build AROS. Please install and run configure again." >&2;}
10900 { (exit 1); exit 1; }; }
10903 if test "$aros_target_ranlib" = ""; then
10904 if test "$cross_compiling" = "yes" ; then
10905 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
10906 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
10907 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10908 $as_echo_n "checking for $ac_word... " >&6; }
10909 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10910 $as_echo_n "(cached) " >&6
10912 case $aros_target_ranlib_ln in
10914 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
10917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10918 for as_dir
in $PATH
10921 test -z "$as_dir" && as_dir
=.
10922 for ac_exec_ext
in '' $ac_executable_extensions; do
10923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10924 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
10925 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10935 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
10936 if test -n "$aros_target_ranlib_ln"; then
10937 { $as_echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10938 $as_echo "$aros_target_ranlib_ln" >&6; }
10940 { $as_echo "$as_me:$LINENO: result: no" >&5
10941 $as_echo "no" >&6; }
10946 if test "$GCC" = "yes"; then
10947 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
10948 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
10949 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
10950 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10951 $as_echo_n "checking for $ac_word... " >&6; }
10952 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10953 $as_echo_n "(cached) " >&6
10955 case $aros_target_ranlib_ln in
10957 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
10960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10961 for as_dir
in `dirname $aros_gcc_ranlib`
10964 test -z "$as_dir" && as_dir
=.
10965 for ac_exec_ext
in '' $ac_executable_extensions; do
10966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10967 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
10968 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10978 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
10979 if test -n "$aros_target_ranlib_ln"; then
10980 { $as_echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10981 $as_echo "$aros_target_ranlib_ln" >&6; }
10983 { $as_echo "$as_me:$LINENO: result: no" >&5
10984 $as_echo "no" >&6; }
10989 if test "$aros_target_ranlib_ln" = ""; then
10990 # Extract the first word of "ranlib", so it can be a program name with args.
10991 set dummy ranlib
; ac_word
=$2
10992 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10993 $as_echo_n "checking for $ac_word... " >&6; }
10994 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10995 $as_echo_n "(cached) " >&6
10997 case $aros_target_ranlib_ln in
10999 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
11002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11003 for as_dir
in $PATH
11006 test -z "$as_dir" && as_dir
=.
11007 for ac_exec_ext
in '' $ac_executable_extensions; do
11008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11009 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
11010 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11020 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
11021 if test -n "$aros_target_ranlib_ln"; then
11022 { $as_echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
11023 $as_echo "$aros_target_ranlib_ln" >&6; }
11025 { $as_echo "$as_me:$LINENO: result: no" >&5
11026 $as_echo "no" >&6; }
11033 # Extract the first word of "$aros_target_ranlib", so it can be a program name with args.
11034 set dummy
$aros_target_ranlib; ac_word
=$2
11035 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11036 $as_echo_n "checking for $ac_word... " >&6; }
11037 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
11038 $as_echo_n "(cached) " >&6
11040 case $aros_target_ranlib_ln in
11042 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
11045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11046 for as_dir
in $PATH
11049 test -z "$as_dir" && as_dir
=.
11050 for ac_exec_ext
in '' $ac_executable_extensions; do
11051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11052 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
11053 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11063 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
11064 if test -n "$aros_target_ranlib_ln"; then
11065 { $as_echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
11066 $as_echo "$aros_target_ranlib_ln" >&6; }
11068 { $as_echo "$as_me:$LINENO: result: no" >&5
11069 $as_echo "no" >&6; }
11075 if test "$aros_target_ranlib_ln" = ""; then
11076 { { $as_echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
11077 $as_echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
11078 { (exit 1); exit 1; }; }
11081 if test "$aros_target_strip" = ""; then
11082 if test "$cross_compiling" = "yes" ; then
11083 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
11084 set dummy
${target_tool_prefix}strip
; ac_word
=$2
11085 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11086 $as_echo_n "checking for $ac_word... " >&6; }
11087 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
11088 $as_echo_n "(cached) " >&6
11090 case $aros_target_strip_ln in
11092 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
11095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11096 for as_dir
in $PATH
11099 test -z "$as_dir" && as_dir
=.
11100 for ac_exec_ext
in '' $ac_executable_extensions; do
11101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11102 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
11103 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11113 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
11114 if test -n "$aros_target_strip_ln"; then
11115 { $as_echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
11116 $as_echo "$aros_target_strip_ln" >&6; }
11118 { $as_echo "$as_me:$LINENO: result: no" >&5
11119 $as_echo "no" >&6; }
11124 if test "$GCC" = "yes"; then
11125 aros_gcc_strip
=`$CC -print-prog-name=strip`
11126 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
11127 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
11128 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11129 $as_echo_n "checking for $ac_word... " >&6; }
11130 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
11131 $as_echo_n "(cached) " >&6
11133 case $aros_target_strip_ln in
11135 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
11138 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11139 for as_dir
in `dirname $aros_gcc_strip`
11142 test -z "$as_dir" && as_dir
=.
11143 for ac_exec_ext
in '' $ac_executable_extensions; do
11144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11145 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
11146 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11156 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
11157 if test -n "$aros_target_strip_ln"; then
11158 { $as_echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
11159 $as_echo "$aros_target_strip_ln" >&6; }
11161 { $as_echo "$as_me:$LINENO: result: no" >&5
11162 $as_echo "no" >&6; }
11167 if test "$aros_target_strip_ln" = ""; then
11168 # Extract the first word of "strip", so it can be a program name with args.
11169 set dummy strip
; ac_word
=$2
11170 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11171 $as_echo_n "checking for $ac_word... " >&6; }
11172 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
11173 $as_echo_n "(cached) " >&6
11175 case $aros_target_strip_ln in
11177 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
11180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11181 for as_dir
in $PATH
11184 test -z "$as_dir" && as_dir
=.
11185 for ac_exec_ext
in '' $ac_executable_extensions; do
11186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11187 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
11188 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11198 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
11199 if test -n "$aros_target_strip_ln"; then
11200 { $as_echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
11201 $as_echo "$aros_target_strip_ln" >&6; }
11203 { $as_echo "$as_me:$LINENO: result: no" >&5
11204 $as_echo "no" >&6; }
11211 # Extract the first word of "$aros_target_strip", so it can be a program name with args.
11212 set dummy
$aros_target_strip; ac_word
=$2
11213 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11214 $as_echo_n "checking for $ac_word... " >&6; }
11215 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
11216 $as_echo_n "(cached) " >&6
11218 case $aros_target_strip_ln in
11220 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
11223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11224 for as_dir
in $PATH
11227 test -z "$as_dir" && as_dir
=.
11228 for ac_exec_ext
in '' $ac_executable_extensions; do
11229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11230 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
11231 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11241 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
11242 if test -n "$aros_target_strip_ln"; then
11243 { $as_echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
11244 $as_echo "$aros_target_strip_ln" >&6; }
11246 { $as_echo "$as_me:$LINENO: result: no" >&5
11247 $as_echo "no" >&6; }
11253 if test "$aros_target_strip_ln" = ""; then
11254 { { $as_echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
11255 $as_echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
11256 { (exit 1); exit 1; }; }
11260 if test "$rescomp" != ""; then
11261 if test "$cross_compiling" = "yes" ; then
11262 rescomp
=${target_tool_prefix}${rescomp}
11264 # Extract the first word of "$rescomp", so it can be a program name with args.
11265 set dummy
$rescomp; ac_word
=$2
11266 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11267 $as_echo_n "checking for $ac_word... " >&6; }
11268 if test "${ac_cv_path_aros_kernel_rescomp+set}" = set; then
11269 $as_echo_n "(cached) " >&6
11271 case $aros_kernel_rescomp in
11273 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
11276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11277 for as_dir
in $PATH
11280 test -z "$as_dir" && as_dir
=.
11281 for ac_exec_ext
in '' $ac_executable_extensions; do
11282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11283 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
11284 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11294 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
11295 if test -n "$aros_kernel_rescomp"; then
11296 { $as_echo "$as_me:$LINENO: result: $aros_kernel_rescomp" >&5
11297 $as_echo "$aros_kernel_rescomp" >&6; }
11299 { $as_echo "$as_me:$LINENO: result: no" >&5
11300 $as_echo "no" >&6; }
11304 if test "$aros_kernel_rescomp" = ""; then
11305 { { $as_echo "$as_me:$LINENO: error: $rescomp is required to build AROS. Please install and run configure again." >&5
11306 $as_echo "$as_me: error: $rescomp is required to build AROS. Please install and run configure again." >&2;}
11307 { (exit 1); exit 1; }; }
11311 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
11312 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
11313 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
11314 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
11315 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
11316 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
11317 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
11319 # aros_cc_pre is a variable that is added to the front of the compiler name
11320 # in the generated aros-gcc shell script. We need this to enable the cache
11321 # to work across cleaned builds. Also, support DISTCC using the correct
11322 # environment variable.
11325 if test "x${DISTCC}" != "x" ; then
11326 if test "x${CCACHE}" != "x" ; then
11327 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
11329 aros_cc_pre
="${DISTCC} "
11332 if test "x${CCACHE}" != "x" ; then
11333 aros_cc_pre
="${CCACHE} "
11337 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
11339 aros_target_nostdinc_cflags
=-nostdinc
11341 aros_target_nostartup_ldflags
=-nostartfiles
11343 aros_target_nix_ldflags
=-nix
11345 aros_target_detach_ldflags
=-detach
11347 aros_target_nostdlib_ldflags
=-nostdlib
11351 if test "$aros_target_cc" = ""; then
11352 orig_target_cc
=$aros_kernel_cc
11354 orig_target_cc
=$aros_target_cc
11356 if test "$aros_target_ld" = ""; then
11357 orig_target_ld
=$aros_kernel_ld
11359 orig_target_ld
=$aros_target_ld
11361 if test "$GCC" = "yes"; then
11362 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
11364 aros_target_cc
="${prefix}-gcc"
11365 aros_target_as
="${prefix}-as"
11366 aros_target_ld
="${prefix}-ld"
11367 aros_target_ar
="${prefix}-ar $aros_target_ar_flags"
11368 aros_target_objcopy
=${prefix}-objcopy
11369 aros_target_objdump
=${prefix}-objdump
11370 aros_target_ranlib
="${prefix}-ranlib $aros_target_ranlib_flags"
11371 aros_target_nm
="${prefix}-nm $aros_target_nm_flags"
11372 aros_kernel_nm
="${prefix}-nm"
11373 aros_target_strip
=${prefix}-strip
11375 # Find the system include path. We can suggest that an alternative is
11376 # used if we don't get it correct. The default is to use /usr/include.
11377 # Which is set in the aros_target_incl_def variable.
11379 # Check whether --enable-includes was given.
11380 if test "${enable_includes+set}" = set; then
11381 enableval
=$enable_includes; aros_target_incl
=$enable_includes
11383 aros_target_incl
=$aros_target_incl_def
11387 { $as_echo "$as_me:$LINENO: checking for the target compiler's include path" >&5
11388 $as_echo_n "checking for the target compiler's include path... " >&6; }
11389 if test "$aros_target_cc_includes" = "" ; then
11390 #try to guess where the directory is
11391 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
11392 if ! test -d $aros_target_cc_includes; then
11393 #the directory doesn't exist, we need to do some more work
11394 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
11396 #these are the headers we're looling for
11397 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
11398 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
11402 for h
in $headers; do
11403 #which other headers each of the above headers needs?
11404 deps
=$
(echo "#include <$h>" | \
11405 $aros_host_cc -E -M - 2>/dev
/null | \
11406 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
11408 #copy all the needed headers to a directory beneath gendir
11411 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
11412 sed -n "s,^.*/include\(/.*\),\1,p")
11413 ! test -d $dir && mkdir
-p $dir
11414 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
11419 { $as_echo "$as_me:$LINENO: result: $aros_target_cc_includes" >&5
11420 $as_echo "$aros_target_cc_includes" >&6; }
11423 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
11424 # On GCC >= 4.0 -iquote should be used
11428 save_cflags
="$CFLAGS"
11429 CC
="$aros_kernel_cc"
11431 { $as_echo "$as_me:$LINENO: checking whether ${CC} accepts -iquote" >&5
11432 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
11433 cat >conftest.
$ac_ext <<_ACEOF
11436 cat confdefs.h
>>conftest.
$ac_ext
11437 cat >>conftest.
$ac_ext <<_ACEOF
11438 /* end confdefs.h. */
11448 rm -f conftest.
$ac_objext
11449 if { (ac_try
="$ac_compile"
11450 case "(($ac_try" in
11451 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11452 *) ac_try_echo=$ac_try;;
11454 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11455 $as_echo "$ac_try_echo") >&5
11456 (eval "$ac_compile") 2>conftest.er1
11458 grep -v '^ *+' conftest.er1 >conftest.err
11460 cat conftest.err >&5
11461 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11462 (exit $ac_status); } && {
11463 test -z "$ac_c_werror_flag" ||
11464 test ! -s conftest.err
11465 } && test -s conftest.$ac_objext; then
11468 $as_echo "$as_me: failed program was:" >&5
11469 sed 's/^/| /' conftest.$ac_ext >&5
11474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11475 { $as_echo "$as_me:$LINENO: result: $has_iquote" >&5
11476 $as_echo "$has_iquote" >&6; }
11477 if test "x-$has_iquote" = "x-yes" ; then
11478 aros_cflags_iquote=-iquote
11479 aros_cflags_iquote_end=
11481 aros_cflags_iquote=-I
11482 aros_cflags_iquote_end=-I-
11485 CFLAGS="$save_cflags"
11491 { $as_echo "$as_me:$LINENO: checking for default resolution of WBScreen" >&5
11492 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
11494 # Check whether --with-resolution was given.
11495 if test "${with_resolution+set}" = set; then
11496 withval=$with_resolution; resolution=$withval
11501 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
11502 if test "$resolution" = "yes" ; then
11505 if test "$resolution" = "no" ; then
11508 if test "$resolution" != "none" ; then
11509 aros_default_wbwidth=`echo $resolution | cut
-d'x' -f1`
11510 aros_default_wbheight=`echo $resolution | cut
-d'x' -f2`
11511 aros_default_wbdepth=`echo $resolution | cut
-d'x' -f3`
11513 { $as_echo "$as_me:$LINENO: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
11514 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
11515 aros_cv_default_wbwidth=$aros_default_wbwidth
11516 aros_cv_default_wbheight=$aros_default_wbheight
11517 aros_cv_default_wbdepth=$aros_default_wbdepth
11519 { $as_echo "$as_me:$LINENO: checking if bochs hack is enabled" >&5
11520 $as_echo_n "checking if bochs hack is enabled... " >&6; }
11521 # Check whether --enable-bochs_hack was given.
11522 if test "${enable_bochs_hack+set}" = set; then
11523 enableval=$enable_bochs_hack; bochs_hack="yes"
11528 if test "$bochs_hack" = "yes" ; then
11529 aros_bochs_hack="1"
11531 { $as_echo "$as_me:$LINENO: result: $bochs_hack" >&5
11532 $as_echo "$bochs_hack" >&6; }
11534 { $as_echo "$as_me:$LINENO: checking if serial debug is enabled" >&5
11535 $as_echo_n "checking if serial debug is enabled... " >&6; }
11537 # Check whether --with-serial-debug was given.
11538 if test "${with_serial_debug+set}" = set; then
11539 withval=$with_serial_debug; serial_debug=$withval
11544 if test "$aros_serial_debug" = 0 ; then
11545 serial_debug_forced=""
11546 if test "$serial_debug" = "yes" ; then
11549 if test "$serial_debug" = "no" ; then
11550 serial_debug="none"
11553 serial_debug_forced="(forced)"
11554 serial_debug=$aros_serial_debug
11556 if test "$serial_debug" != "none" ; then
11557 aros_serial_debug=$serial_debug
11558 { $as_echo "$as_me:$LINENO: result: $serial_debug_forced on port $serial_debug" >&5
11559 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
11561 { $as_echo "$as_me:$LINENO: result: no" >&5
11562 $as_echo "no" >&6; }
11565 { $as_echo "$as_me:$LINENO: checking if palm debug hack is enabled" >&5
11566 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
11567 # Check whether --enable-palm_debug_hack was given.
11568 if test "${enable_palm_debug_hack+set}" = set; then
11569 enableval=$enable_palm_debug_hack; palm_debug_hack="yes"
11571 palm_debug_hack="no"
11574 if test "$palm_debug_hack" = "yes" ; then
11575 aros_palm_debug_hack="1"
11577 { $as_echo "$as_me:$LINENO: result: $palm_debug_hack" >&5
11578 $as_echo "$palm_debug_hack" >&6; }
11581 { $as_echo "$as_me:$LINENO: checking if nesting supervisor support is enabled" >&5
11582 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
11583 # Check whether --enable-nesting_supervisor was given.
11584 if test "${enable_nesting_supervisor+set}" = set; then
11585 enableval=$enable_nesting_supervisor; nesting_supervisor="yes"
11587 nesting_supervisor="no"
11590 if test "$nesting_supervisor" = "yes" ; then
11591 aros_nesting_supervisor="1"
11593 { $as_echo "$as_me:$LINENO: result: $nesting_supervisor" >&5
11594 $as_echo "$nesting_supervisor" >&6; }
11597 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
11599 if test "x-$need_dlopen" != "x-no" ; then
11600 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
11601 $as_echo_n "checking for dlopen... " >&6; }
11602 if test "${ac_cv_func_dlopen+set}" = set; then
11603 $as_echo_n "(cached) " >&6
11605 cat >conftest.$ac_ext <<_ACEOF
11608 cat confdefs.h >>conftest.$ac_ext
11609 cat >>conftest.$ac_ext <<_ACEOF
11610 /* end confdefs.h. */
11611 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11613 #define dlopen innocuous_dlopen
11615 /* System header to define __stub macros and hopefully few prototypes,
11616 which can conflict with char dlopen (); below.
11617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11618 <limits.h> exists even on freestanding compilers. */
11621 # include <limits.h>
11623 # include <assert.h>
11628 /* Override any GCC internal prototype to avoid an error.
11629 Use char because int might match the return type of a GCC
11630 builtin and then its argument prototype would still apply. */
11635 /* The GNU C library defines this for functions which it implements
11636 to always fail with ENOSYS. Some functions are actually named
11637 something starting with __ and the normal name is an alias. */
11638 #if defined __stub_dlopen || defined __stub___dlopen
11650 rm -f conftest.$ac_objext conftest$ac_exeext
11651 if { (ac_try="$ac_link"
11652 case "(($ac_try" in
11653 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11654 *) ac_try_echo
=$ac_try;;
11656 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11657 $as_echo "$ac_try_echo") >&5
11658 (eval "$ac_link") 2>conftest.er1
11660 grep -v '^ *+' conftest.er1
>conftest.err
11662 cat conftest.err
>&5
11663 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11664 (exit $ac_status); } && {
11665 test -z "$ac_c_werror_flag" ||
11666 test ! -s conftest.err
11667 } && test -s conftest
$ac_exeext && {
11668 test "$cross_compiling" = yes ||
11669 $as_test_x conftest
$ac_exeext
11671 ac_cv_func_dlopen
=yes
11673 $as_echo "$as_me: failed program was:" >&5
11674 sed 's/^/| /' conftest.
$ac_ext >&5
11676 ac_cv_func_dlopen
=no
11679 rm -rf conftest.dSYM
11680 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11681 conftest
$ac_exeext conftest.
$ac_ext
11683 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11684 $as_echo "$ac_cv_func_dlopen" >&6; }
11685 if test "x$ac_cv_func_dlopen" = x
""yes; then
11691 if test "x-$have_dl" = "x-no" ; then
11692 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11693 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11694 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11695 $as_echo_n "(cached) " >&6
11697 ac_check_lib_save_LIBS
=$LIBS
11699 cat >conftest.
$ac_ext <<_ACEOF
11702 cat confdefs.h
>>conftest.
$ac_ext
11703 cat >>conftest.
$ac_ext <<_ACEOF
11704 /* end confdefs.h. */
11706 /* Override any GCC internal prototype to avoid an error.
11707 Use char because int might match the return type of a GCC
11708 builtin and then its argument prototype would still apply. */
11721 rm -f conftest.
$ac_objext conftest
$ac_exeext
11722 if { (ac_try
="$ac_link"
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_link") 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); } && {
11736 test -z "$ac_c_werror_flag" ||
11737 test ! -s conftest.err
11738 } && test -s conftest$ac_exeext && {
11739 test "$cross_compiling" = yes ||
11740 $as_test_x conftest$ac_exeext
11742 ac_cv_lib_dl_dlopen=yes
11744 $as_echo "$as_me: failed program was:" >&5
11745 sed 's/^/| /' conftest.$ac_ext >&5
11747 ac_cv_lib_dl_dlopen=no
11750 rm -rf conftest.dSYM
11751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11752 conftest$ac_exeext conftest.$ac_ext
11753 LIBS=$ac_check_lib_save_LIBS
11755 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11756 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11757 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
11759 aros_host_ldflags="$aros_host_ldflags -ldl"
11765 if test "x-$have_dl" = "x-no" ; then
11766 { { $as_echo "$as_me:$LINENO: error: dlopen() dynamic linker functions not available" >&5
11767 $as_echo "$as_me: error: dlopen() dynamic linker functions not available" >&2;}
11768 { (exit 1); exit 1; }; }
11773 # Check whether --enable-x11_hidd was given.
11774 if test "${enable_x11_hidd+set}" = set; then
11775 enableval=$enable_x11_hidd; x11_hidd="$enableval"
11780 case "x-$x11_hidd" in
11781 x-yes|x-no|x-auto) ;;
11782 *) x11_hidd="auto" ;;
11785 if test "x-$x11_hidd" != "x-no" ; then
11787 { $as_echo "$as_me:$LINENO: checking for X" >&5
11788 $as_echo_n "checking for X... " >&6; }
11791 # Check whether --with-x was given.
11792 if test "${with_x+set}" = set; then
11796 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11797 if test "x$with_x" = xno; then
11798 # The user explicitly disabled X.
11801 case $x_includes,$x_libraries in #(
11802 *\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5
11803 $as_echo "$as_me: error: cannot use X directory names containing '" >&2;}
11804 { (exit 1); exit 1; }; };; #(
11805 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
11806 $as_echo_n "(cached) " >&6
11808 # One or both of the vars are not set, and there is no cached value.
11809 ac_x_includes=no ac_x_libraries=no
11810 rm -f -r conftest.dir
11811 if mkdir conftest.dir; then
11813 cat >Imakefile <<'_ACEOF'
11815 @echo incroot='${INCROOT}'
11817 @echo usrlibdir='${USRLIBDIR}'
11819 @echo libdir='${LIBDIR}'
11821 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
11822 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11823 for ac_var in incroot usrlibdir libdir; do
11824 eval "ac_im_$ac_var=\`\
${MAKE-make} $ac_var 2>/dev
/null |
sed -n 's/^$ac_var=//p'\
`"
11826 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11827 for ac_extension in a so sl dylib la dll; do
11828 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
11829 test -f "$ac_im_libdir/libX11.$ac_extension"; then
11830 ac_im_usrlibdir=$ac_im_libdir; break
11833 # Screen out bogus values from the imake configuration. They are
11834 # bogus both because they are the default anyway, and because
11835 # using them would break gcc on systems where it needs fixed includes.
11836 case $ac_im_incroot in
11837 /usr/include) ac_x_includes= ;;
11838 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
11840 case $ac_im_usrlibdir in
11841 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
11842 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
11846 rm -f -r conftest.dir
11849 # Standard set of common directories for X headers.
11850 # Check X11 before X11Rn because it is often a symlink to the current release.
11862 /usr/local/X11/include
11863 /usr/local/X11R6/include
11864 /usr/local/X11R5/include
11865 /usr/local/X11R4/include
11867 /usr/local/include/X11
11868 /usr/local/include/X11R6
11869 /usr/local/include/X11R5
11870 /usr/local/include/X11R4
11874 /usr/XFree86/include/X11
11878 /usr/unsupported/include
11879 /usr/athena/include
11880 /usr/local/x11r5/include
11881 /usr/lpp/Xamples/include
11883 /usr/openwin/include
11884 /usr/openwin/share/include'
11886 if test "$ac_x_includes" = no; then
11887 # Guess where to find include files, by looking for Xlib.h.
11888 # First, try using that file with no special directory specified.
11889 cat >conftest.$ac_ext <<_ACEOF
11892 cat confdefs.h >>conftest.$ac_ext
11893 cat >>conftest.$ac_ext <<_ACEOF
11894 /* end confdefs.h. */
11895 #include <X11/Xlib.h>
11897 if { (ac_try="$ac_cpp conftest.$ac_ext"
11898 case "(($ac_try" in
11899 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11900 *) ac_try_echo
=$ac_try;;
11902 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11903 $as_echo "$ac_try_echo") >&5
11904 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11906 grep -v '^ *+' conftest.er1
>conftest.err
11908 cat conftest.err
>&5
11909 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11910 (exit $ac_status); } >/dev
/null
&& {
11911 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11912 test ! -s conftest.err
11914 # We can compile using X headers with no special include directory.
11917 $as_echo "$as_me: failed program was:" >&5
11918 sed 's/^/| /' conftest.
$ac_ext >&5
11920 for ac_dir
in $ac_x_header_dirs; do
11921 if test -r "$ac_dir/X11/Xlib.h"; then
11922 ac_x_includes
=$ac_dir
11928 rm -f conftest.err conftest.
$ac_ext
11929 fi # $ac_x_includes = no
11931 if test "$ac_x_libraries" = no
; then
11932 # Check for the libraries.
11933 # See if we find them without any special options.
11934 # Don't add to $LIBS permanently.
11937 cat >conftest.
$ac_ext <<_ACEOF
11940 cat confdefs.h
>>conftest.
$ac_ext
11941 cat >>conftest.
$ac_ext <<_ACEOF
11942 /* end confdefs.h. */
11943 #include <X11/Xlib.h>
11952 rm -f conftest.
$ac_objext conftest
$ac_exeext
11953 if { (ac_try
="$ac_link"
11954 case "(($ac_try" in
11955 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11956 *) ac_try_echo=$ac_try;;
11958 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11959 $as_echo "$ac_try_echo") >&5
11960 (eval "$ac_link") 2>conftest.er1
11962 grep -v '^ *+' conftest.er1 >conftest.err
11964 cat conftest.err >&5
11965 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11966 (exit $ac_status); } && {
11967 test -z "$ac_c_werror_flag" ||
11968 test ! -s conftest.err
11969 } && test -s conftest$ac_exeext && {
11970 test "$cross_compiling" = yes ||
11971 $as_test_x conftest$ac_exeext
11974 # We can link X programs with no special library path.
11977 $as_echo "$as_me: failed program was:" >&5
11978 sed 's/^/| /' conftest.$ac_ext >&5
11981 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
11983 # Don't even attempt the hair of trying to link an X program!
11984 for ac_extension in a so sl dylib la dll; do
11985 if test -r "$ac_dir/libX11.$ac_extension"; then
11986 ac_x_libraries=$ac_dir
11993 rm -rf conftest.dSYM
11994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11995 conftest$ac_exeext conftest.$ac_ext
11996 fi # $ac_x_libraries = no
11998 case $ac_x_includes,$ac_x_libraries in #(
11999 no,* | *,no | *\'*)
12000 # Didn't find X, or a directory has "'" in its name.
12001 ac_cv_have_x="have_x=no";; #(
12003 # Record where we found X for the cache.
12004 ac_cv_have_x="have_x=yes\
12005 ac_x_includes='$ac_x_includes'\
12006 ac_x_libraries='$ac_x_libraries'"
12012 eval "$ac_cv_have_x"
12015 if test "$have_x" != yes; then
12016 { $as_echo "$as_me:$LINENO: result: $have_x" >&5
12017 $as_echo "$have_x" >&6; }
12020 # If each of the values was on the command line, it overrides each guess.
12021 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
12022 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
12023 # Update the cache value to reflect the command line values.
12024 ac_cv_have_x="have_x=yes\
12025 ac_x_includes='$x_includes'\
12026 ac_x_libraries='$x_libraries'"
12027 { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
12028 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
12033 for path in $x_libraries
12035 x_cflags="$x_cflags -L$path"
12038 for path in $x_includes
12040 x_cflags="$x_cflags -I$path"
12043 if test "x-$no_x" = "x-yes" ; then
12045 if test "x-$x11_hidd" != "x-auto" ; then
12046 { { $as_echo "$as_me:$LINENO: error: X11 libs/headers not found, cannot build X11 hidd as requested" >&5
12047 $as_echo "$as_me: error: X11 libs/headers not found, cannot build X11 hidd as requested" >&2;}
12048 { (exit 1); exit 1; }; }
12053 x11_hidd_target=kernel-x11gfx-kobj
12056 # Check whether --enable-x11_shm was given.
12057 if test "${enable_x11_shm+set}" = set; then
12058 enableval=$enable_x11_shm; x11_hidd_shm="$enableval"
12060 x11_hidd_shm="auto"
12063 case "x-$x11_hidd_shm" in
12064 x-yes|x-no|x-auto) ;;
12065 *) x11_hidd_shm="auto" ;;
12070 if test "x-$x11_hidd_shm" != "x-no" ; then
12073 for ac_header in sys/ipc.h
12075 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
12076 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12077 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12078 $as_echo_n "checking for $ac_header... " >&6; }
12079 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12080 $as_echo_n "(cached) " >&6
12082 ac_res=`eval 'as_val=${'$as_ac_Header'}
12083 $as_echo "$as_val"'`
12084 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12085 $as_echo "$ac_res" >&6; }
12087 # Is the header compilable?
12088 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12089 $as_echo_n "checking $ac_header usability... " >&6; }
12090 cat >conftest.$ac_ext <<_ACEOF
12093 cat confdefs.h >>conftest.$ac_ext
12094 cat >>conftest.$ac_ext <<_ACEOF
12095 /* end confdefs.h. */
12096 $ac_includes_default
12097 #include <$ac_header>
12099 rm -f conftest.$ac_objext
12100 if { (ac_try="$ac_compile"
12101 case "(($ac_try" in
12102 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12103 *) ac_try_echo
=$ac_try;;
12105 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12106 $as_echo "$ac_try_echo") >&5
12107 (eval "$ac_compile") 2>conftest.er1
12109 grep -v '^ *+' conftest.er1
>conftest.err
12111 cat conftest.err
>&5
12112 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12113 (exit $ac_status); } && {
12114 test -z "$ac_c_werror_flag" ||
12115 test ! -s conftest.err
12116 } && test -s conftest.
$ac_objext; then
12117 ac_header_compiler
=yes
12119 $as_echo "$as_me: failed program was:" >&5
12120 sed 's/^/| /' conftest.
$ac_ext >&5
12122 ac_header_compiler
=no
12125 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12126 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12127 $as_echo "$ac_header_compiler" >&6; }
12129 # Is the header present?
12130 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12131 $as_echo_n "checking $ac_header presence... " >&6; }
12132 cat >conftest.
$ac_ext <<_ACEOF
12135 cat confdefs.h
>>conftest.
$ac_ext
12136 cat >>conftest.
$ac_ext <<_ACEOF
12137 /* end confdefs.h. */
12138 #include <$ac_header>
12140 if { (ac_try
="$ac_cpp conftest.$ac_ext"
12141 case "(($ac_try" in
12142 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12143 *) ac_try_echo=$ac_try;;
12145 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12146 $as_echo "$ac_try_echo") >&5
12147 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12149 grep -v '^ *+' conftest.er1 >conftest.err
12151 cat conftest.err >&5
12152 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12153 (exit $ac_status); } >/dev/null && {
12154 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12155 test ! -s conftest.err
12157 ac_header_preproc=yes
12159 $as_echo "$as_me: failed program was:" >&5
12160 sed 's/^/| /' conftest.$ac_ext >&5
12162 ac_header_preproc=no
12165 rm -f conftest.err conftest.$ac_ext
12166 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12167 $as_echo "$ac_header_preproc" >&6; }
12169 # So? What about this header?
12170 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12172 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12173 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12174 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12175 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12176 ac_header_preproc=yes
12179 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12180 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12181 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12182 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12183 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12184 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12185 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12186 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12187 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12188 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12189 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12190 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12194 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12195 $as_echo_n "checking for $ac_header... " >&6; }
12196 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12197 $as_echo_n "(cached) " >&6
12199 eval "$as_ac_Header=\$ac_header_preproc"
12201 ac_res=`eval 'as_val=${'$as_ac_Header'}
12202 $as_echo "$as_val"'`
12203 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12204 $as_echo "$ac_res" >&6; }
12207 as_val=`eval 'as_val=${'$as_ac_Header'}
12208 $as_echo "$as_val"'`
12209 if test "x$as_val" = x""yes; then
12210 cat >>confdefs.h <<_ACEOF
12211 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12219 for ac_header in sys/shm.h
12221 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
12222 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12223 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12224 $as_echo_n "checking for $ac_header... " >&6; }
12225 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12226 $as_echo_n "(cached) " >&6
12228 ac_res=`eval 'as_val=${'$as_ac_Header'}
12229 $as_echo "$as_val"'`
12230 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12231 $as_echo "$ac_res" >&6; }
12233 # Is the header compilable?
12234 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12235 $as_echo_n "checking $ac_header usability... " >&6; }
12236 cat >conftest.$ac_ext <<_ACEOF
12239 cat confdefs.h >>conftest.$ac_ext
12240 cat >>conftest.$ac_ext <<_ACEOF
12241 /* end confdefs.h. */
12242 $ac_includes_default
12243 #include <$ac_header>
12245 rm -f conftest.$ac_objext
12246 if { (ac_try="$ac_compile"
12247 case "(($ac_try" in
12248 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12249 *) ac_try_echo
=$ac_try;;
12251 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12252 $as_echo "$ac_try_echo") >&5
12253 (eval "$ac_compile") 2>conftest.er1
12255 grep -v '^ *+' conftest.er1
>conftest.err
12257 cat conftest.err
>&5
12258 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12259 (exit $ac_status); } && {
12260 test -z "$ac_c_werror_flag" ||
12261 test ! -s conftest.err
12262 } && test -s conftest.
$ac_objext; then
12263 ac_header_compiler
=yes
12265 $as_echo "$as_me: failed program was:" >&5
12266 sed 's/^/| /' conftest.
$ac_ext >&5
12268 ac_header_compiler
=no
12271 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12272 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12273 $as_echo "$ac_header_compiler" >&6; }
12275 # Is the header present?
12276 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12277 $as_echo_n "checking $ac_header presence... " >&6; }
12278 cat >conftest.
$ac_ext <<_ACEOF
12281 cat confdefs.h
>>conftest.
$ac_ext
12282 cat >>conftest.
$ac_ext <<_ACEOF
12283 /* end confdefs.h. */
12284 #include <$ac_header>
12286 if { (ac_try
="$ac_cpp conftest.$ac_ext"
12287 case "(($ac_try" in
12288 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12289 *) ac_try_echo=$ac_try;;
12291 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12292 $as_echo "$ac_try_echo") >&5
12293 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12295 grep -v '^ *+' conftest.er1 >conftest.err
12297 cat conftest.err >&5
12298 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12299 (exit $ac_status); } >/dev/null && {
12300 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12301 test ! -s conftest.err
12303 ac_header_preproc=yes
12305 $as_echo "$as_me: failed program was:" >&5
12306 sed 's/^/| /' conftest.$ac_ext >&5
12308 ac_header_preproc=no
12311 rm -f conftest.err conftest.$ac_ext
12312 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12313 $as_echo "$ac_header_preproc" >&6; }
12315 # So? What about this header?
12316 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12318 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12319 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12320 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12321 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12322 ac_header_preproc=yes
12325 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12326 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12327 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12328 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12329 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12330 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12331 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12332 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12333 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12334 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12335 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12336 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12340 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12341 $as_echo_n "checking for $ac_header... " >&6; }
12342 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12343 $as_echo_n "(cached) " >&6
12345 eval "$as_ac_Header=\$ac_header_preproc"
12347 ac_res=`eval 'as_val=${'$as_ac_Header'}
12348 $as_echo "$as_val"'`
12349 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12350 $as_echo "$ac_res" >&6; }
12353 as_val=`eval 'as_val=${'$as_ac_Header'}
12354 $as_echo "$as_val"'`
12355 if test "x$as_val" = x""yes; then
12356 cat >>confdefs.h <<_ACEOF
12357 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12365 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
12367 save_cflags="$CFLAGS"
12368 CFLAGS="$CFLAGS $x_cflags"
12369 { $as_echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
12370 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
12371 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
12372 $as_echo_n "(cached) " >&6
12374 ac_check_lib_save_LIBS=$LIBS
12375 LIBS="-lXext $LIBS"
12376 cat >conftest.$ac_ext <<_ACEOF
12379 cat confdefs.h >>conftest.$ac_ext
12380 cat >>conftest.$ac_ext <<_ACEOF
12381 /* end confdefs.h. */
12383 /* Override any GCC internal prototype to avoid an error.
12384 Use char because int might match the return type of a GCC
12385 builtin and then its argument prototype would still apply. */
12389 char XShmQueryExtension ();
12393 return XShmQueryExtension ();
12398 rm -f conftest.$ac_objext conftest$ac_exeext
12399 if { (ac_try="$ac_link"
12400 case "(($ac_try" in
12401 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12402 *) ac_try_echo
=$ac_try;;
12404 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12405 $as_echo "$ac_try_echo") >&5
12406 (eval "$ac_link") 2>conftest.er1
12408 grep -v '^ *+' conftest.er1
>conftest.err
12410 cat conftest.err
>&5
12411 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12412 (exit $ac_status); } && {
12413 test -z "$ac_c_werror_flag" ||
12414 test ! -s conftest.err
12415 } && test -s conftest
$ac_exeext && {
12416 test "$cross_compiling" = yes ||
12417 $as_test_x conftest
$ac_exeext
12419 ac_cv_lib_Xext_XShmQueryExtension
=yes
12421 $as_echo "$as_me: failed program was:" >&5
12422 sed 's/^/| /' conftest.
$ac_ext >&5
12424 ac_cv_lib_Xext_XShmQueryExtension
=no
12427 rm -rf conftest.dSYM
12428 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12429 conftest
$ac_exeext conftest.
$ac_ext
12430 LIBS
=$ac_check_lib_save_LIBS
12432 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
12433 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
12434 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = x
""yes; then
12438 CFLAGS
="$save_cflags"
12442 if test "x-$have_xshm" = "x-yes" ; then
12443 DO_XSHM_SUPPORT
="1"
12444 elif test "x-$x11_hidd_shm" = "x-yes" ; then
12445 { { $as_echo "$as_me:$LINENO: error: X11 has no support for shared memory, cannot enable it as requested" >&5
12446 $as_echo "$as_me: error: X11 has no support for shared memory, cannot enable it as requested" >&2;}
12447 { (exit 1); exit 1; }; }
12449 DO_XSHM_SUPPORT
="0"
12453 # Check whether --enable-x11_vidmode was given.
12454 if test "${enable_x11_vidmode+set}" = set; then
12455 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
12457 x11_hidd_vidmode
="auto"
12460 case "x-$x11_hidd_vidmode" in
12461 x-yes|x-no|x-auto
) ;;
12462 *) x11_hidd_vidmode
="auto" ;;
12467 if test "x-$x11_hidd_vidmode" != "x-no" ; then
12469 save_cflags
="$CFLAGS"
12470 CFLAGS
="$CFLAGS $x_cflags"
12471 { $as_echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
12472 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
12473 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
12474 $as_echo_n "(cached) " >&6
12476 ac_check_lib_save_LIBS
=$LIBS
12477 LIBS
="-lXxf86vm $LIBS"
12478 cat >conftest.
$ac_ext <<_ACEOF
12481 cat confdefs.h
>>conftest.
$ac_ext
12482 cat >>conftest.
$ac_ext <<_ACEOF
12483 /* end confdefs.h. */
12485 /* Override any GCC internal prototype to avoid an error.
12486 Use char because int might match the return type of a GCC
12487 builtin and then its argument prototype would still apply. */
12491 char XF86VidModeQueryExtension ();
12495 return XF86VidModeQueryExtension ();
12500 rm -f conftest.
$ac_objext conftest
$ac_exeext
12501 if { (ac_try
="$ac_link"
12502 case "(($ac_try" in
12503 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12504 *) ac_try_echo=$ac_try;;
12506 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12507 $as_echo "$ac_try_echo") >&5
12508 (eval "$ac_link") 2>conftest.er1
12510 grep -v '^ *+' conftest.er1 >conftest.err
12512 cat conftest.err >&5
12513 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12514 (exit $ac_status); } && {
12515 test -z "$ac_c_werror_flag" ||
12516 test ! -s conftest.err
12517 } && test -s conftest$ac_exeext && {
12518 test "$cross_compiling" = yes ||
12519 $as_test_x conftest$ac_exeext
12521 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
12523 $as_echo "$as_me: failed program was:" >&5
12524 sed 's/^/| /' conftest.$ac_ext >&5
12526 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
12529 rm -rf conftest.dSYM
12530 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12531 conftest$ac_exeext conftest.$ac_ext
12532 LIBS=$ac_check_lib_save_LIBS
12534 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
12535 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
12536 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = x""yes; then
12540 CFLAGS="$save_cflags"
12543 if test "x-$have_vidmode" = "x-yes" ; then
12544 DO_VIDMODE_SUPPORT="1"
12545 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
12546 { { $as_echo "$as_me:$LINENO: error: X11 vidmode extension not available, cannot enable it as requested" >&5
12547 $as_echo "$as_me: error: X11 vidmode extension not available, cannot enable it as requested" >&2;}
12548 { (exit 1); exit 1; }; }
12550 DO_VIDMODE_SUPPORT="0"
12554 aros_host_x11_includes=$x_includes
12555 aros_host_x11_libdirs=$x_libraries
12559 # Check whether --enable-sdl_hidd was given.
12560 if test "${enable_sdl_hidd+set}" = set; then
12561 enableval=$enable_sdl_hidd; sdl_hidd="$enableval"
12566 case "x-$sdl_hidd" in
12567 x-yes|x-no|x-auto) ;;
12568 *) sdl_hidd="auto" ;;
12571 if test "x-$sdl_hidd" != "x-no" ; then
12574 # Check whether --with-sdl-prefix was given.
12575 if test "${with_sdl_prefix+set}" = set; then
12576 withval=$with_sdl_prefix; sdl_prefix="$withval"
12582 # Check whether --with-sdl-exec-prefix was given.
12583 if test "${with_sdl_exec_prefix+set}" = set; then
12584 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
12589 # Check whether --enable-sdltest was given.
12590 if test "${enable_sdltest+set}" = set; then
12591 enableval=$enable_sdltest;
12597 if test x$sdl_exec_prefix != x ; then
12598 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
12599 if test x${SDL_CONFIG+set} != xset ; then
12600 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
12603 if test x$sdl_prefix != x ; then
12604 sdl_args="$sdl_args --prefix=$sdl_prefix"
12605 if test x${SDL_CONFIG+set} != xset ; then
12606 SDL_CONFIG=$sdl_prefix/bin/sdl-config
12610 if test "x$prefix" != xNONE; then
12611 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
12613 # Extract the first word of "sdl-config", so it can be a program name with args.
12614 set dummy sdl-config; ac_word=$2
12615 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12616 $as_echo_n "checking for $ac_word... " >&6; }
12617 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
12618 $as_echo_n "(cached) " >&6
12620 case $SDL_CONFIG in
12622 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
12625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12626 for as_dir in $PATH
12629 test -z "$as_dir" && as_dir=.
12630 for ac_exec_ext in '' $ac_executable_extensions; do
12631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12632 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12633 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12640 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
12644 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
12645 if test -n "$SDL_CONFIG"; then
12646 { $as_echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
12647 $as_echo "$SDL_CONFIG" >&6; }
12649 { $as_echo "$as_me:$LINENO: result: no" >&5
12650 $as_echo "no" >&6; }
12654 min_sdl_version=1.2.10
12655 { $as_echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
12656 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
12658 if test "$SDL_CONFIG" = "no" ; then
12661 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
12662 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
12664 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
12665 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12666 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
12667 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12668 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
12669 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12670 if test "x$enable_sdltest" = "xyes" ; then
12671 ac_save_CFLAGS="$CFLAGS"
12672 ac_save_CXXFLAGS="$CXXFLAGS"
12673 ac_save_LIBS="$LIBS"
12674 CFLAGS="$CFLAGS $SDL_CFLAGS"
12675 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
12676 LIBS="$LIBS $SDL_LIBS"
12678 if test "$cross_compiling" = yes; then
12679 echo $ac_n "cross compiling; assumed OK... $ac_c"
12681 cat >conftest.$ac_ext <<_ACEOF
12684 cat confdefs.h >>conftest.$ac_ext
12685 cat >>conftest.$ac_ext <<_ACEOF
12686 /* end confdefs.h. */
12689 #include <stdlib.h>
12690 #include <string.h>
12694 my_strdup (char *str)
12700 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
12701 strcpy (new_str, str);
12709 int main (int argc, char *argv[])
12711 int major, minor, micro;
12714 /* This hangs on some systems (?)
12715 system ("touch conf.sdltest");
12717 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
12719 /* HP/UX 9 (%@#!) writes to sscanf strings */
12720 tmp_version = my_strdup("$min_sdl_version");
12721 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12722 printf("%s, bad version string\n", "$min_sdl_version");
12726 if (($sdl_major_version > major) ||
12727 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
12728 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
12734 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
12735 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
12736 printf("*** best to upgrade to the required version.\n");
12737 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
12738 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
12739 printf("*** config.cache before re-running configure\n");
12746 rm -f conftest$ac_exeext
12747 if { (ac_try="$ac_link"
12748 case "(($ac_try" in
12749 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12750 *) ac_try_echo
=$ac_try;;
12752 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12753 $as_echo "$ac_try_echo") >&5
12754 (eval "$ac_link") 2>&5
12756 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12757 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12758 { (case "(($ac_try" in
12759 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12760 *) ac_try_echo=$ac_try;;
12762 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12763 $as_echo "$ac_try_echo") >&5
12764 (eval "$ac_try") 2>&5
12766 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12767 (exit $ac_status); }; }; then
12770 $as_echo "$as_me: program exited with status $ac_status" >&5
12771 $as_echo "$as_me: failed program was:" >&5
12772 sed 's/^/| /' conftest.$ac_ext >&5
12774 ( exit $ac_status )
12777 rm -rf conftest.dSYM
12778 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12782 CFLAGS="$ac_save_CFLAGS"
12783 CXXFLAGS="$ac_save_CXXFLAGS"
12784 LIBS="$ac_save_LIBS"
12787 if test "x$no_sdl" = x ; then
12788 { $as_echo "$as_me:$LINENO: result: yes" >&5
12789 $as_echo "yes" >&6; }
12792 { $as_echo "$as_me:$LINENO: result: no" >&5
12793 $as_echo "no" >&6; }
12794 if test "$SDL_CONFIG" = "no" ; then
12795 echo "*** The sdl-config script installed by SDL could not be found"
12796 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
12797 echo "*** your path, or set the SDL_CONFIG environment variable to the"
12798 echo "*** full path to sdl-config."
12800 if test -f conf.sdltest ; then
12803 echo "*** Could not run SDL test program, checking why..."
12804 CFLAGS="$CFLAGS $SDL_CFLAGS"
12805 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
12806 LIBS="$LIBS $SDL_LIBS"
12807 cat >conftest.$ac_ext <<_ACEOF
12810 cat confdefs.h >>conftest.$ac_ext
12811 cat >>conftest.$ac_ext <<_ACEOF
12812 /* end confdefs.h. */
12817 int main(int argc, char *argv[])
12820 #define main K_and_R_C_main
12830 rm -f conftest.$ac_objext conftest$ac_exeext
12831 if { (ac_try="$ac_link"
12832 case "(($ac_try" in
12833 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12834 *) ac_try_echo
=$ac_try;;
12836 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12837 $as_echo "$ac_try_echo") >&5
12838 (eval "$ac_link") 2>conftest.er1
12840 grep -v '^ *+' conftest.er1
>conftest.err
12842 cat conftest.err
>&5
12843 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12844 (exit $ac_status); } && {
12845 test -z "$ac_c_werror_flag" ||
12846 test ! -s conftest.err
12847 } && test -s conftest
$ac_exeext && {
12848 test "$cross_compiling" = yes ||
12849 $as_test_x conftest
$ac_exeext
12851 echo "*** The test program compiled, but did not run. This usually means"
12852 echo "*** that the run-time linker is not finding SDL or finding the wrong"
12853 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
12854 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12855 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12856 echo "*** is required on your system"
12858 echo "*** If you have an old version installed, it is best to remove it, although"
12859 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12861 $as_echo "$as_me: failed program was:" >&5
12862 sed 's/^/| /' conftest.
$ac_ext >&5
12864 echo "*** The test program failed to compile or link. See the file config.log for the"
12865 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
12866 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
12867 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
12870 rm -rf conftest.dSYM
12871 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12872 conftest
$ac_exeext conftest.
$ac_ext
12873 CFLAGS
="$ac_save_CFLAGS"
12874 CXXFLAGS
="$ac_save_CXXFLAGS"
12875 LIBS
="$ac_save_LIBS"
12887 if test "x-$have_sdl" != "x-yes" ; then
12889 if test "x-$sdl_hidd" != "x-auto" ; then
12890 { { $as_echo "$as_me:$LINENO: error: SDL libs/headers not found, cannot build SDL hidd as requested" >&5
12891 $as_echo "$as_me: error: SDL libs/headers not found, cannot build SDL hidd as requested" >&2;}
12892 { (exit 1); exit 1; }; }
12896 sdl_hidd_target
=kernel-hidd-sdl
12897 aros_host_sdl_cflags
=SDL_CFLAGS
12898 aros_host_sdl_libs
=SDL_LIBS
12905 { $as_echo "$as_me:$LINENO: checking if building of dbus.library is enabled" >&5
12906 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
12907 # Check whether --enable-dbus was given.
12908 if test "${enable_dbus+set}" = set; then
12909 enableval
=$enable_dbus; dbus
="yes"
12914 if test "$dbus" = "yes" ; then
12916 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
12917 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
12918 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
12919 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
12923 { $as_echo "$as_me:$LINENO: result: $dbus" >&5
12924 $as_echo "$dbus" >&6; }
13020 # Native version related
13024 # Palm native version related
13027 # Unix/Hosted version related
13046 # Collect-aros stuff: "-ius" to ignore undefined symbols
13049 # C compiler related
13052 case "$aros_flavour" in
13053 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
13054 aros_flavour
="emulation" ;;
13055 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
13056 aros_flavour
="emulation" ;;
13057 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
13058 aros_flavour
="standalone";;
13059 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
13060 aros_flavour
="native" ;;
13061 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
13062 aros_flavour
="native" ;;
13063 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
13064 aros_flavour
="linklib" ;;
13065 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
13066 aros_flavour
="palmnative" ;;
13067 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
13068 aros_flavour
="mac68knative" ;;
13069 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
13070 aros_flavour
="ppcnative" ;;
13073 if test ! -d ${aros_inc_dir} ; then
13074 ${MKDIR} ${aros_inc_dir}
13076 if test ! -d ${aros_geninc_dir} ; then
13077 ${MKDIR} ${aros_geninc_dir}
13079 if test ! -d ${aros_hostcfg_dir} ; then
13080 ${MKDIR} ${aros_hostcfg_dir}
13082 if test ! -d ${aros_targetcfg_dir} ; then
13083 ${MKDIR} ${aros_targetcfg_dir}
13085 if test ! -d ${aros_tools_dir} ; then
13086 ${MKDIR} ${aros_tools_dir}
13088 if test ! -d ${aros_scripts_dir} ; then
13089 ${MKDIR} ${aros_scripts_dir}
13092 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
13095 ac_config_commands
="$ac_config_commands compiler_executable"
13097 ac_config_commands
="$ac_config_commands genshared_executable"
13099 ac_config_commands
="$ac_config_commands genmf_executable"
13101 ac_config_commands
="$ac_config_commands adflib_myaros.conf_executable"
13104 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/adflib/myconf.aros tools/collect-aros/env.h"
13107 cat >confcache
<<\_ACEOF
13108 # This file is a shell script that caches the results of configure
13109 # tests run on this system so they can be shared between configure
13110 # scripts and configure runs, see configure's option --config-cache.
13111 # It is not useful on other systems. If it contains results you don't
13112 # want to keep, you may remove or edit it.
13114 # config.status only pays attention to the cache file if you give it
13115 # the --recheck option to rerun configure.
13117 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13118 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13119 # following values.
13123 # The following way of writing the cache mishandles newlines in values,
13124 # but we know of no workaround that is simple, portable, and efficient.
13125 # So, we kill variables containing newlines.
13126 # Ultrix sh set writes to stderr and can't be redirected directly,
13127 # and sets the high bit in the cache file unless we assign to the vars.
13129 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13130 eval ac_val
=\$
$ac_var
13134 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
13135 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13138 _ | IFS | as_nl
) ;; #(
13139 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
13140 *) $as_unset $ac_var ;;
13146 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13147 *${as_nl}ac_space
=\
*)
13148 # `set' does not quote correctly, so add quotes (double-quote
13149 # substitution turns \\\\ into \\, and sed turns \\ into \).
13152 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13155 # `set' quotes correctly as required by POSIX, so do not add quotes.
13156 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13165 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13167 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13169 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13170 if test -w "$cache_file"; then
13171 test "x$cache_file" != "x/dev/null" &&
13172 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
13173 $as_echo "$as_me: updating cache $cache_file" >&6;}
13174 cat confcache
>$cache_file
13176 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13177 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13182 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13183 # Let make expand exec_prefix.
13184 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13186 DEFS
=-DHAVE_CONFIG_H
13190 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13191 # 1. Remove the extension, and $U if already installed.
13192 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13193 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13194 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13195 # will be set to the directory where LIBOBJS objects are built.
13196 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13197 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
13199 LIBOBJS
=$ac_libobjs
13201 LTLIBOBJS
=$ac_ltlibobjs
13205 : ${CONFIG_STATUS=./config.status}
13207 ac_clean_files_save
=$ac_clean_files
13208 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13209 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13210 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13211 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13213 # Generated by $as_me.
13214 # Run this file to recreate the current configuration.
13215 # Compiler output produced by configure, useful for debugging
13216 # configure, is in config.log if it exists.
13219 ac_cs_recheck=false
13221 SHELL=\${CONFIG_SHELL-$SHELL}
13224 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13225 ## --------------------- ##
13226 ## M4sh Initialization. ##
13227 ## --------------------- ##
13229 # Be more Bourne compatible
13230 DUALCASE
=1; export DUALCASE
# for MKS sh
13231 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
13234 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13235 # is contrary to our usage. Disable this feature.
13236 alias -g '${1+"$@"}'='"$@"'
13237 setopt NO_GLOB_SUBST
13239 case `(set -o) 2>/dev/null` in
13240 *posix
*) set -o posix
;;
13249 # Avoid depending upon Character Ranges.
13250 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13251 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13252 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13253 as_cr_digits
='0123456789'
13254 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13259 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13260 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13261 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13262 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13263 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13264 as_echo='printf %s
\n'
13265 as_echo_n='printf %s
'
13267 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13268 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13269 as_echo_n='/usr
/ucb
/echo -n'
13271 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13272 as_echo_n_body='eval
13276 expr "X$arg" : "X\\(.*\\)$as_nl";
13277 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13279 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13281 export as_echo_n_body
13282 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13284 export as_echo_body
13285 as_echo='sh
-c $as_echo_body as_echo
'
13288 # The user is always right.
13289 if test "${PATH_SEPARATOR+set}" != set; then
13291 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13292 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13297 # Support unset when possible.
13298 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13306 # We need space, tab and new line, in precisely that order. Quoting is
13307 # there to prevent editors from complaining about space-tab.
13308 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13309 # splitting by setting IFS to empty value.)
13312 # Find who we are. Look in the path if we contain no directory separator.
13314 *[\\/]* ) as_myself=$0 ;;
13315 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13316 for as_dir in $PATH
13319 test -z "$as_dir" && as_dir=.
13320 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13326 # We did not find ourselves, most probably we were run as `sh COMMAND'
13327 # in which case we are not to be found in the path.
13328 if test "x$as_myself" = x
; then
13331 if test ! -f "$as_myself"; then
13332 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13333 { (exit 1); exit 1; }
13336 # Work around bugs in pre-3.0 UWIN ksh.
13337 for as_var
in ENV MAIL MAILPATH
13338 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
13350 # Required to use basename.
13351 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13352 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13358 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13359 as_basename
=basename
13365 # Name of the executable.
13366 as_me
=`$as_basename -- "$0" ||
13367 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13368 X"$0" : 'X\(//\)$' \| \
13369 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13371 sed '/^.*\/\([^/][^/]*\)\/*$/{
13390 as_lineno_1
=$LINENO
13391 as_lineno_2
=$LINENO
13392 test "x$as_lineno_1" != "x$as_lineno_2" &&
13393 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
13395 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13396 # uniformly replaced by the line number. The first 'sed' inserts a
13397 # line-number line after each line using $LINENO; the second 'sed'
13398 # does the real work. The second script uses 'N' to pair each
13399 # line-number line with the line containing $LINENO, and appends
13400 # trailing '-' during substitution so that $LINENO is not a special
13401 # case at line end.
13402 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13403 # scripts with optimization help from Paolo Bonzini. Blame Lee
13404 # E. McMahon (1931-1989) for sed's syntax. :-)
13416 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13419 ' >$as_me.lineno
&&
13420 chmod +x
"$as_me.lineno" ||
13421 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13422 { (exit 1); exit 1; }; }
13424 # Don't try to exec as it changes $[0], causing all sort of problems
13425 # (the dirname of $[0] is not the place where we might find the
13426 # original and so on. Autoconf is especially sensitive to this).
13427 .
"./$as_me.lineno"
13428 # Exit status is that of the last command.
13433 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13439 ECHO_C
= ECHO_N
= ECHO_T
=
13440 case `echo -n x` in
13442 case `echo 'x\c'` in
13443 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13449 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13450 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13456 rm -f conf$$ conf$$.exe conf$$.
file
13457 if test -d conf$$.dir
; then
13458 rm -f conf$$.dir
/conf$$.
file
13461 mkdir conf$$.dir
2>/dev
/null
13463 if (echo >conf$$.
file) 2>/dev
/null
; then
13464 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13466 # ... but there are two gotchas:
13467 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13468 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13469 # In both cases, we have to default to `cp -p'.
13470 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13472 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13480 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13481 rmdir conf$$.dir
2>/dev
/null
13483 if mkdir
-p .
2>/dev
/null
; then
13486 test -d .
/-p && rmdir .
/-p
13490 if test -x / >/dev
/null
2>&1; then
13491 as_test_x
='test -x'
13493 if ls -dL / >/dev
/null
2>&1; then
13500 if test -d "$1"; then
13506 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13507 ???[sx]*):;;*)false;;esac;fi
13511 as_executable_p
=$as_test_x
13513 # Sed expression to map a string onto a valid CPP name.
13514 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13516 # Sed expression to map a string onto a valid variable name.
13517 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13522 # Save the log message, to keep $[0] and so on meaningful, and to
13523 # report actual input values of CONFIG_FILES etc. instead of their
13524 # values after options handling.
13526 This file was extended by $as_me, which was
13527 generated by GNU Autoconf 2.63. Invocation command line was
13529 CONFIG_FILES = $CONFIG_FILES
13530 CONFIG_HEADERS = $CONFIG_HEADERS
13531 CONFIG_LINKS = $CONFIG_LINKS
13532 CONFIG_COMMANDS = $CONFIG_COMMANDS
13535 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13540 case $ac_config_files in *"
13541 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13544 case $ac_config_headers in *"
13545 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13549 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13550 # Files that config.status was made for.
13551 config_files="$ac_config_files"
13552 config_headers="$ac_config_headers"
13553 config_commands="$ac_config_commands"
13557 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13559 \`$as_me' instantiates files from templates according to the
13560 current configuration.
13562 Usage: $0 [OPTION]... [FILE]...
13564 -h, --help print this help, then exit
13565 -V, --version print version number and configuration settings, then exit
13566 -q, --quiet, --silent
13567 do not print progress messages
13568 -d, --debug don't remove temporary files
13569 --recheck update $as_me by reconfiguring in the same conditions
13570 --file=FILE[:TEMPLATE]
13571 instantiate the configuration file FILE
13572 --header=FILE[:TEMPLATE]
13573 instantiate the configuration header FILE
13575 Configuration files:
13578 Configuration headers:
13581 Configuration commands:
13584 Report bugs to <bug-autoconf@gnu.org>."
13587 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13590 configured by $0, generated by GNU Autoconf 2.63,
13591 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13593 Copyright (C) 2008 Free Software Foundation, Inc.
13594 This config.status script is free software; the Free Software Foundation
13595 gives unlimited permission to copy, distribute and modify it."
13599 test -n "\$AWK" || AWK=awk
13602 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13603 # The default lists apply if the user does not specify any file.
13609 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13610 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13621 # Handling of the options.
13622 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13624 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13625 $as_echo "$ac_cs_version"; exit ;;
13626 --debug |
--debu |
--deb |
--de |
--d |
-d )
13628 --file |
--fil |
--fi |
--f )
13631 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13633 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
13634 ac_need_defaults
=false
;;
13635 --header |
--heade |
--head |
--hea )
13638 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13640 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
13641 ac_need_defaults
=false
;;
13643 # Conflict between --help and --header
13644 { $as_echo "$as_me: error: ambiguous option: $1
13645 Try \`$0 --help' for more information." >&2
13646 { (exit 1); exit 1; }; };;
13647 --help |
--hel |
-h )
13648 $as_echo "$ac_cs_usage"; exit ;;
13649 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13650 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13653 # This is an error.
13654 -*) { $as_echo "$as_me: error: unrecognized option: $1
13655 Try \`$0 --help' for more information." >&2
13656 { (exit 1); exit 1; }; } ;;
13658 *) ac_config_targets
="$ac_config_targets $1"
13659 ac_need_defaults
=false
;;
13665 ac_configure_extra_args
=
13667 if $ac_cs_silent; then
13669 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13673 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13674 if \$ac_cs_recheck; then
13675 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13677 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13678 CONFIG_SHELL='$SHELL'
13679 export CONFIG_SHELL
13684 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13688 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13689 ## Running $as_me. ##
13695 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13700 aros_tools_dir=${aros_tools_dir}
13701 aros_target_cpu=${aros_target_cpu}
13702 aros_target_arch=${aros_target_arch}
13703 aros_target_suffix=${aros_target_suffix}
13704 aros_target_nm_ln=${aros_target_nm_ln}
13705 aros_target_as_ln=${aros_target_as_ln}
13706 aros_target_ar_ln=${aros_target_ar_ln}
13707 aros_target_ranlib_ln=${aros_target_ranlib_ln}
13708 aros_target_objdump_ln=${aros_target_objdump_ln}
13709 aros_target_objcopy_ln=${aros_target_objcopy_ln}
13710 aros_target_strip_ln=${aros_target_strip_ln}
13713 aros_scripts_dir=${aros_scripts_dir}
13715 aros_tools_dir=${aros_tools_dir}
13720 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13722 # Handling of arguments.
13723 for ac_config_target
in $ac_config_targets
13725 case $ac_config_target in
13726 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
13727 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
13728 "genshared_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genshared_executable" ;;
13729 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
13730 "adflib_myaros.conf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS adflib_myaros.conf_executable" ;;
13731 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13732 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
13733 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
13734 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
13735 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
13736 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
13737 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
13738 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
13739 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
13740 "${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" ;;
13741 "${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" ;;
13742 "${aros_scripts_dir}/genshared") CONFIG_FILES
="$CONFIG_FILES ${aros_scripts_dir}/genshared:compiler/c_lib/source/lib_source/genshared.in" ;;
13743 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
13744 "tools/adflib/myconf.aros") CONFIG_FILES
="$CONFIG_FILES tools/adflib/myconf.aros" ;;
13745 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
13747 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13748 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13749 { (exit 1); exit 1; }; };;
13754 # If the user did not use the arguments to specify the items to instantiate,
13755 # then the envvar interface is used. Set only those that are not.
13756 # We use the long form for the default assignment because of an extremely
13757 # bizarre bug on SunOS 4.1.3.
13758 if $ac_need_defaults; then
13759 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13760 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13761 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13764 # Have a temporary directory for convenience. Make it in the build tree
13765 # simply because there is no reason against having it here, and in addition,
13766 # creating and moving files from /tmp can sometimes cause problems.
13767 # Hook for its removal unless debugging.
13768 # Note that there is a small window in which the directory will not be cleaned:
13769 # after its creation but before its name has been assigned to `$tmp'.
13773 trap 'exit_status=$?
13774 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13776 trap '{ (exit 1); exit 1; }' 1 2 13 15
13778 # Create a (secure) tmp directory for tmp files.
13781 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13782 test -n "$tmp" && test -d "$tmp"
13785 tmp
=.
/conf$$
-$RANDOM
13786 (umask 077 && mkdir
"$tmp")
13789 $as_echo "$as_me: cannot create a temporary directory in ." >&2
13790 { (exit 1); exit 1; }
13793 # Set up the scripts for CONFIG_FILES section.
13794 # No need to generate them if there are no CONFIG_FILES.
13795 # This happens for instance with `./config.status config.h'.
13796 if test -n "$CONFIG_FILES"; then
13801 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13802 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13805 ac_cs_awk_cr
=$ac_cr
13808 echo 'BEGIN {' >"$tmp/subs1.awk" &&
13813 echo "cat >conf$$subs.awk <<_ACEOF" &&
13814 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13816 } >conf$$subs.sh ||
13817 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
13818 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
13819 { (exit 1); exit 1; }; }
13820 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13822 for ac_last_try in false false false false false :; do
13823 . ./conf$$subs.sh ||
13824 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
13825 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
13826 { (exit 1); exit 1; }; }
13828 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13829 if test $ac_delim_n = $ac_delim_num; then
13831 elif $ac_last_try; then
13832 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
13833 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
13834 { (exit 1); exit 1; }; }
13836 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13839 rm -f conf$$subs.sh
13841 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13842 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
13846 s/^/S["/; s
/!.
*/"]=/
13856 s/\(.\{148\}\).*/\1/
13858 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13863 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13870 s/\(.\{148\}\).*/\1/
13872 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13876 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13881 ' <conf$$subs.awk | sed '
13886 ' >>$CONFIG_STATUS || ac_write_fail=1
13887 rm -f conf$$subs.awk
13888 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13890 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
13891 for (key in S) S_is_set[key] = 1
13897 nfields = split(line, field, "@
")
13899 len = length(field[1])
13900 for (i = 2; i < nfields; i++) {
13902 keylen = length(key)
13903 if (S_is_set[key]) {
13905 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13906 len += length(value) + length(field[++i])
13917 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13918 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13919 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13922 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
13923 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
13924 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
13925 { (exit 1); exit 1; }; }
13928 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13929 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
13930 # trailing colons and then remove the whole line if VPATH becomes empty
13931 # (actually we leave an empty line to preserve line numbers).
13932 if test "x
$srcdir" = x.; then
13933 ac_vpsub='/^[ ]*VPATH[ ]*=/{
13934 s/:*\$(srcdir):*/:/
13935 s/:*\${srcdir}:*/:/
13937 s/^\([^=]*=[ ]*\):*/\1/
13943 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13944 fi # test -n "$CONFIG_FILES"
13946 # Set up the scripts for CONFIG_HEADERS section.
13947 # No need to generate them if there are no CONFIG_HEADERS.
13948 # This happens for instance with `./config.status Makefile'.
13949 if test -n "$CONFIG_HEADERS"; then
13950 cat >"$tmp/defines.
awk" <<\_ACAWK ||
13954 # Transform confdefs.h into an awk script `defines.awk', embedded as
13955 # here-document in config.status, that substitutes the proper values into
13956 # config.h.in to produce config.h.
13958 # Create a delimiter string that does not exist in confdefs.h, to ease
13959 # handling of long lines.
13961 for ac_last_try in false false :; do
13962 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
13963 if test -z "$ac_t"; then
13965 elif $ac_last_try; then
13966 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
13967 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
13968 { (exit 1); exit 1; }; }
13970 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13974 # For the awk script, D is an array of macro values keyed by name,
13975 # likewise P contains macro parameters if any. Preserve backslash
13976 # newline sequences.
13978 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13980 s/.\{148\}/&'"$ac_delim"'/g
13983 s/^[ ]*#[ ]*define[ ][ ]*/ /
13990 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13992 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13996 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13997 D["\
1"]=" \
3\\\\\\n
"\\/p
13999 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14004 s/.\{148\}/&'"$ac_delim"'/g
14009 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14012 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14014 ' <confdefs.h | sed '
14015 s/'"$ac_delim"'/"\\\
14016 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14018 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14019 for (key in D) D_is_set[key] = 1
14022 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14024 split(line, arg, " ")
14025 if (arg[1] == "#") {
14029 defundef
= substr
(arg
[1], 2)
14032 split(mac1
, mac2
, "(") #)
14034 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14035 if (D_is_set
[macro
]) {
14036 # Preserve the white space surrounding the "#".
14037 print prefix
"define", macro P
[macro
] D
[macro
]
14040 # Replace #undef with comments. This is necessary, for example,
14041 # in the case of _POSIX_SOURCE, which is predefined and required
14042 # on some systems where configure will not decide to define it.
14043 if (defundef
== "undef") {
14044 print
"/*", prefix defundef
, macro
, "*/"
14052 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14053 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
14054 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
14055 { (exit 1); exit 1; }; }
14056 fi # test -n "$CONFIG_HEADERS"
14059 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14064 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14066 case $ac_mode$ac_tag in
14068 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
14069 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
14070 { (exit 1); exit 1; }; };;
14071 :[FH
]-) ac_tag
=-:-;;
14072 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14089 -) ac_f
="$tmp/stdin";;
14090 *) # Look for the file first in the build tree, then in the source tree
14091 # (if the path is not absolute). The absolute path cannot be DOS-style,
14092 # because $ac_f cannot contain `:'.
14096 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14098 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
14099 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
14100 { (exit 1); exit 1; }; };;
14102 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14103 ac_file_inputs
="$ac_file_inputs '$ac_f'"
14106 # Let's still pretend it is `configure' which instantiates (i.e., don't
14107 # use $as_me), people would be surprised to read:
14108 # /* config.h. Generated by config.status. */
14109 configure_input
='Generated from '`
14110 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14112 if test x
"$ac_file" != x-
; then
14113 configure_input
="$ac_file. $configure_input"
14114 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
14115 $as_echo "$as_me: creating $ac_file" >&6;}
14117 # Neutralize special characters interpreted by sed in replacement strings.
14118 case $configure_input in #(
14119 *\
&* |
*\|
* |
*\\* )
14120 ac_sed_conf_input
=`$as_echo "$configure_input" |
14121 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14122 *) ac_sed_conf_input
=$configure_input;;
14126 *:-:* |
*:-) cat >"$tmp/stdin" \
14127 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14128 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14129 { (exit 1); exit 1; }; } ;;
14134 ac_dir
=`$as_dirname -- "$ac_file" ||
14135 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14136 X"$ac_file" : 'X\(//\)[^/]' \| \
14137 X"$ac_file" : 'X\(//\)$' \| \
14138 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14139 $as_echo X"$ac_file" |
14140 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14144 /^X\(\/\/\)[^/].*/{
14159 -*) as_dir
=.
/$as_dir;;
14161 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
14165 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14166 *) as_qdir
=$as_dir;;
14168 as_dirs
="'$as_qdir' $as_dirs"
14169 as_dir
=`$as_dirname -- "$as_dir" ||
14170 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14171 X"$as_dir" : 'X\(//\)[^/]' \| \
14172 X"$as_dir" : 'X\(//\)$' \| \
14173 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14174 $as_echo X"$as_dir" |
14175 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14179 /^X\(\/\/\)[^/].*/{
14192 test -d "$as_dir" && break
14194 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14195 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14196 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
14197 { (exit 1); exit 1; }; }; }
14201 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14203 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14204 # A ".." for each directory in $ac_dir_suffix.
14205 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14206 case $ac_top_builddir_sub in
14207 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14208 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14211 ac_abs_top_builddir
=$ac_pwd
14212 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14213 # for backward compatibility:
14214 ac_top_builddir
=$ac_top_build_prefix
14217 .
) # We are building in place.
14219 ac_top_srcdir
=$ac_top_builddir_sub
14220 ac_abs_top_srcdir
=$ac_pwd ;;
14221 [\\/]* | ?
:[\\/]* ) # Absolute name.
14222 ac_srcdir
=$srcdir$ac_dir_suffix;
14223 ac_top_srcdir
=$srcdir
14224 ac_abs_top_srcdir
=$srcdir ;;
14225 *) # Relative name.
14226 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14227 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14228 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14230 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14241 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14242 # If the template does not know about datarootdir, expand it.
14243 # FIXME: This hack should be removed a few years after 2.60.
14244 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14257 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14258 *datarootdir
*) ac_datarootdir_seen
=yes;;
14259 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14260 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14261 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14263 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14264 ac_datarootdir_hack='
14265 s&@datadir@&$datadir&g
14266 s&@docdir@&$docdir&g
14267 s&@infodir@&$infodir&g
14268 s&@localedir@&$localedir&g
14269 s&@mandir@&$mandir&g
14270 s&\\\${datarootdir}&$datarootdir&g' ;;
14274 # Neutralize VPATH when `$srcdir' = `.'.
14275 # Shell code in configure.ac might set extrasub.
14276 # FIXME: do we really want to maintain this feature?
14277 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14278 ac_sed_extra="$ac_vpsub
14281 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14283 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14284 s|@configure_input@|
$ac_sed_conf_input|
;t t
14285 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14286 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14287 s
&@srcdir@
&$ac_srcdir&;t t
14288 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14289 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14290 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14291 s
&@builddir@
&$ac_builddir&;t t
14292 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14293 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14294 $ac_datarootdir_hack
14296 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
14297 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
14298 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
14299 { (exit 1); exit 1; }; }
14301 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14302 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
14303 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
14304 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14305 which seems to be undefined. Please make sure it is defined." >&5
14306 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14307 which seems to be undefined. Please make sure it is defined." >&2;}
14311 -) cat "$tmp/out" && rm -f "$tmp/out";;
14312 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14314 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14315 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14316 { (exit 1); exit 1; }; }
14322 if test x"$ac_file" != x-; then
14324 $as_echo "/* $configure_input */" \
14325 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14326 } >"$tmp/config.h" \
14327 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14328 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14329 { (exit 1); exit 1; }; }
14330 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14331 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14332 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14335 mv "$tmp/config.h" "$ac_file" \
14336 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14337 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14338 { (exit 1); exit 1; }; }
14341 $as_echo "/* $configure_input */" \
14342 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14343 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
14344 $as_echo "$as_me: error: could not create -" >&2;}
14345 { (exit 1); exit 1; }; }
14349 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
14350 $as_echo "$as_me: executing $ac_file commands" >&6;}
14355 case $ac_file$ac_mode in
14356 "compiler_executable":C)
14357 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
14359 prefix="${prefix}/${aros_target_cpu}-aros"
14360 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
14364 chmod a+x ${prefix2}-gcc ${prefix2}-ld
14366 ln -sf ${prefix2}-gcc ${prefix}-gcc
14367 ln -sf ${prefix2}-ld ${prefix}-ld
14369 ln -sf $aros_target_as_ln ${prefix}-as
14370 ln -sf $aros_target_nm_ln ${prefix}-nm
14371 ln -sf $aros_target_ar_ln ${prefix}-ar
14372 ln -sf $aros_target_ranlib_ln ${prefix}-ranlib
14373 ln -sf $aros_target_objcopy_ln ${prefix}-objcopy
14374 ln -sf $aros_target_objdump_ln ${prefix}-objdump
14375 ln -sf $aros_target_strip_ln ${prefix}-strip
14377 ln -sf $aros_target_as_ln ${prefix2}-as
14378 ln -sf $aros_target_nm_ln ${prefix2}-nm
14379 ln -sf $aros_target_ar_ln ${prefix2}-ar
14380 ln -sf $aros_target_ranlib_ln ${prefix2}-ranlib
14381 ln -sf $aros_target_objcopy_ln ${prefix2}-objcopy
14382 ln -sf $aros_target_objdump_ln ${prefix2}-objdump
14383 ln -sf $aros_target_strip_ln ${prefix2}-strip
14385 "genshared_executable":C) chmod a+x ${aros_scripts_dir}/genshared ;;
14386 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
14387 "adflib_myaros.conf_executable":C) chmod a+x tools/adflib/myconf.aros
14394 { (exit 0); exit 0; }
14396 chmod +x $CONFIG_STATUS
14397 ac_clean_files=$ac_clean_files_save
14399 test $ac_write_fail = 0 ||
14400 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
14401 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
14402 { (exit 1); exit 1; }; }
14405 # configure is writing to config.log, and then calls config.status.
14406 # config.status does its own redirection, appending to config.log.
14407 # Unfortunately, on DOS this fails, as config.log is still kept open
14408 # by configure, so config.status won't be able to
write to it
; its
14409 # output is simply discarded. So we exec the FD to /dev/null,
14410 # effectively closing config.log, so it can be properly (re)opened and
14411 # appended to by config.status. When coming back to configure, we
14412 # need to make the FD available again.
14413 if test "$no_create" != yes; then
14415 ac_config_status_args
=
14416 test "$silent" = yes &&
14417 ac_config_status_args
="$ac_config_status_args --quiet"
14419 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14421 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14422 # would make configure fail if this is the last instruction.
14423 $ac_cs_success ||
{ (exit 1); exit 1; }
14425 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
14426 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14427 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14432 #XXX compatability...
14433 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
14435 if test -n "$aros_shared_cflags" ; then
14436 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
14437 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg