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
727 aros_cflags_iquote_end
729 kernel_cflags_iquote_end
731 host_cflags_iquote_end
733 aros_target_nostdlib_ldflags
734 aros_target_detach_ldflags
735 aros_target_nix_ldflags
736 aros_target_nostartup_ldflags
737 aros_target_nostdinc_cflags
740 aros_target_ranlib_ln
741 aros_target_objdump_ln
742 aros_target_objcopy_ln
838 program_transform_name
850 enable_option_checking
857 enable_target_variant
866 enable_palm_debug_hack
867 enable_nesting_supervisor
878 ac_precious_vars
='build_alias
890 # Initialize some variables set by options.
892 ac_init_version
=false
893 ac_unrecognized_opts
=
895 # The variables have the same names as the options, with
896 # dashes changed to underlines.
904 program_transform_name
=s
,x
,x
,
912 # Installation directory options.
913 # These are left unexpanded so users can "make install exec_prefix=/foo"
914 # and all the variables that are supposed to be based on exec_prefix
915 # by default will actually change.
916 # Use braces instead of parens because sh, perl, etc. also accept them.
917 # (The list follows the same order as the GNU Coding Standards.)
918 bindir
='${exec_prefix}/bin'
919 sbindir
='${exec_prefix}/sbin'
920 libexecdir
='${exec_prefix}/libexec'
921 datarootdir
='${prefix}/share'
922 datadir
='${datarootdir}'
923 sysconfdir
='${prefix}/etc'
924 sharedstatedir
='${prefix}/com'
925 localstatedir
='${prefix}/var'
926 includedir
='${prefix}/include'
927 oldincludedir
='/usr/include'
928 docdir
='${datarootdir}/doc/${PACKAGE}'
929 infodir
='${datarootdir}/info'
934 libdir
='${exec_prefix}/lib'
935 localedir
='${datarootdir}/locale'
936 mandir
='${datarootdir}/man'
942 # If the previous option needs an argument, assign it.
943 if test -n "$ac_prev"; then
944 eval $ac_prev=\
$ac_option
950 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
954 # Accept the important Cygnus configure options, so we can diagnose typos.
956 case $ac_dashdash$ac_option in
960 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
962 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
965 -build |
--build |
--buil |
--bui |
--bu)
966 ac_prev
=build_alias
;;
967 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
968 build_alias
=$ac_optarg ;;
970 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
971 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
972 ac_prev
=cache_file
;;
973 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
974 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
975 cache_file
=$ac_optarg ;;
978 cache_file
=config.cache
;;
980 -datadir |
--datadir |
--datadi |
--datad)
982 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
983 datadir
=$ac_optarg ;;
985 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
986 |
--dataroo |
--dataro |
--datar)
987 ac_prev
=datarootdir
;;
988 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
989 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
990 datarootdir
=$ac_optarg ;;
992 -disable-* |
--disable-*)
993 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
994 # Reject names that are not valid shell variable names.
995 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
996 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
997 { (exit 1); exit 1; }; }
998 ac_useropt_orig
=$ac_useropt
999 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1000 case $ac_user_opts in
1002 "enable_
$ac_useropt"
1004 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1005 ac_unrecognized_sep
=', ';;
1007 eval enable_
$ac_useropt=no
;;
1009 -docdir |
--docdir |
--docdi |
--doc |
--do)
1011 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1012 docdir
=$ac_optarg ;;
1014 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1016 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1017 dvidir
=$ac_optarg ;;
1019 -enable-* |
--enable-*)
1020 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1021 # Reject names that are not valid shell variable names.
1022 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1023 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1024 { (exit 1); exit 1; }; }
1025 ac_useropt_orig
=$ac_useropt
1026 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1027 case $ac_user_opts in
1029 "enable_
$ac_useropt"
1031 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1032 ac_unrecognized_sep
=', ';;
1034 eval enable_
$ac_useropt=\
$ac_optarg ;;
1036 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1037 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1038 |
--exec |
--exe |
--ex)
1039 ac_prev
=exec_prefix
;;
1040 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1041 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1042 |
--exec=* |
--exe=* |
--ex=*)
1043 exec_prefix
=$ac_optarg ;;
1045 -gas |
--gas |
--ga |
--g)
1046 # Obsolete; use --with-gas.
1049 -help |
--help |
--hel |
--he |
-h)
1050 ac_init_help
=long
;;
1051 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1052 ac_init_help
=recursive
;;
1053 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1054 ac_init_help
=short
;;
1056 -host |
--host |
--hos |
--ho)
1057 ac_prev
=host_alias
;;
1058 -host=* |
--host=* |
--hos=* |
--ho=*)
1059 host_alias
=$ac_optarg ;;
1061 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1063 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1065 htmldir
=$ac_optarg ;;
1067 -includedir |
--includedir |
--includedi |
--included |
--include \
1068 |
--includ |
--inclu |
--incl |
--inc)
1069 ac_prev
=includedir
;;
1070 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1071 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1072 includedir
=$ac_optarg ;;
1074 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1076 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1077 infodir
=$ac_optarg ;;
1079 -libdir |
--libdir |
--libdi |
--libd)
1081 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1082 libdir
=$ac_optarg ;;
1084 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1085 |
--libexe |
--libex |
--libe)
1086 ac_prev
=libexecdir
;;
1087 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1088 |
--libexe=* |
--libex=* |
--libe=*)
1089 libexecdir
=$ac_optarg ;;
1091 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1092 ac_prev
=localedir
;;
1093 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1094 localedir
=$ac_optarg ;;
1096 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1097 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1098 ac_prev
=localstatedir
;;
1099 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1100 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1101 localstatedir
=$ac_optarg ;;
1103 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1105 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1106 mandir
=$ac_optarg ;;
1108 -nfp |
--nfp |
--nf)
1109 # Obsolete; use --without-fp.
1112 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1113 |
--no-cr |
--no-c |
-n)
1116 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1117 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1120 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1121 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1122 |
--oldin |
--oldi |
--old |
--ol |
--o)
1123 ac_prev
=oldincludedir
;;
1124 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1125 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1126 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1127 oldincludedir
=$ac_optarg ;;
1129 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1131 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1132 prefix
=$ac_optarg ;;
1134 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1135 |
--program-pre |
--program-pr |
--program-p)
1136 ac_prev
=program_prefix
;;
1137 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1138 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1139 program_prefix
=$ac_optarg ;;
1141 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1142 |
--program-suf |
--program-su |
--program-s)
1143 ac_prev
=program_suffix
;;
1144 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1145 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1146 program_suffix
=$ac_optarg ;;
1148 -program-transform-name |
--program-transform-name \
1149 |
--program-transform-nam |
--program-transform-na \
1150 |
--program-transform-n |
--program-transform- \
1151 |
--program-transform |
--program-transfor \
1152 |
--program-transfo |
--program-transf \
1153 |
--program-trans |
--program-tran \
1154 |
--progr-tra |
--program-tr |
--program-t)
1155 ac_prev
=program_transform_name
;;
1156 -program-transform-name=* |
--program-transform-name=* \
1157 |
--program-transform-nam=* |
--program-transform-na=* \
1158 |
--program-transform-n=* |
--program-transform-=* \
1159 |
--program-transform=* |
--program-transfor=* \
1160 |
--program-transfo=* |
--program-transf=* \
1161 |
--program-trans=* |
--program-tran=* \
1162 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1163 program_transform_name
=$ac_optarg ;;
1165 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1167 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1168 pdfdir
=$ac_optarg ;;
1170 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1172 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1175 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1176 |
-silent |
--silent |
--silen |
--sile |
--sil)
1179 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1181 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1183 sbindir
=$ac_optarg ;;
1185 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1186 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1187 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1189 ac_prev
=sharedstatedir
;;
1190 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1191 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1192 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1194 sharedstatedir
=$ac_optarg ;;
1196 -site |
--site |
--sit)
1198 -site=* |
--site=* |
--sit=*)
1201 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1203 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1204 srcdir
=$ac_optarg ;;
1206 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1207 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1208 ac_prev
=sysconfdir
;;
1209 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1210 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1211 sysconfdir
=$ac_optarg ;;
1213 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1214 ac_prev
=target_alias
;;
1215 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1216 target_alias
=$ac_optarg ;;
1218 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1221 -version |
--version |
--versio |
--versi |
--vers |
-V)
1222 ac_init_version
=: ;;
1225 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1226 # Reject names that are not valid shell variable names.
1227 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1228 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1229 { (exit 1); exit 1; }; }
1230 ac_useropt_orig
=$ac_useropt
1231 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1232 case $ac_user_opts in
1236 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1237 ac_unrecognized_sep
=', ';;
1239 eval with_
$ac_useropt=\
$ac_optarg ;;
1241 -without-* |
--without-*)
1242 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1243 # Reject names that are not valid shell variable names.
1244 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1245 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1246 { (exit 1); exit 1; }; }
1247 ac_useropt_orig
=$ac_useropt
1248 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1249 case $ac_user_opts in
1253 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1254 ac_unrecognized_sep
=', ';;
1256 eval with_
$ac_useropt=no
;;
1259 # Obsolete; use --with-x.
1262 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1263 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1264 ac_prev
=x_includes
;;
1265 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1266 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1267 x_includes
=$ac_optarg ;;
1269 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1270 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1271 ac_prev
=x_libraries
;;
1272 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1273 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1274 x_libraries
=$ac_optarg ;;
1276 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1277 Try \`$0 --help' for more information." >&2
1278 { (exit 1); exit 1; }; }
1282 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1283 # Reject names that are not valid shell variable names.
1284 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1285 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1286 { (exit 1); exit 1; }; }
1287 eval $ac_envvar=\
$ac_optarg
1288 export $ac_envvar ;;
1291 # FIXME: should be removed in autoconf 3.0.
1292 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1293 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1294 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1295 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1301 if test -n "$ac_prev"; then
1302 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1303 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1304 { (exit 1); exit 1; }; }
1307 if test -n "$ac_unrecognized_opts"; then
1308 case $enable_option_checking in
1310 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1311 { (exit 1); exit 1; }; } ;;
1312 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1316 # Check all directory arguments for consistency.
1317 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1318 datadir sysconfdir sharedstatedir localstatedir includedir \
1319 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1320 libdir localedir mandir
1322 eval ac_val
=\$
$ac_var
1323 # Remove trailing slashes.
1326 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1327 eval $ac_var=\
$ac_val;;
1329 # Be sure to have absolute directory names.
1331 [\\/$
]* | ?
:[\\/]* ) continue;;
1332 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1334 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1335 { (exit 1); exit 1; }; }
1338 # There might be people who depend on the old broken behavior: `$host'
1339 # used to hold the argument of --host etc.
1340 # FIXME: To remove some day.
1343 target
=$target_alias
1345 # FIXME: To remove some day.
1346 if test "x$host_alias" != x
; then
1347 if test "x$build_alias" = x
; then
1348 cross_compiling
=maybe
1349 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1350 If a cross compiler is detected then cross compile mode will be used." >&2
1351 elif test "x$build_alias" != "x$host_alias"; then
1357 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1359 test "$silent" = yes && exec 6>/dev
/null
1362 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1363 ac_ls_di
=`ls -di .` &&
1364 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1365 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1366 { (exit 1); exit 1; }; }
1367 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1368 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1369 { (exit 1); exit 1; }; }
1372 # Find the source files, if location was not specified.
1373 if test -z "$srcdir"; then
1374 ac_srcdir_defaulted
=yes
1375 # Try the directory containing this script, then the parent directory.
1376 ac_confdir
=`$as_dirname -- "$as_myself" ||
1377 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1378 X"$as_myself" : 'X\(//\)[^/]' \| \
1379 X"$as_myself" : 'X\(//\)$' \| \
1380 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1381 $as_echo X"$as_myself" |
1382 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1400 if test ! -r "$srcdir/$ac_unique_file"; then
1404 ac_srcdir_defaulted
=no
1406 if test ! -r "$srcdir/$ac_unique_file"; then
1407 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1408 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1409 { (exit 1); exit 1; }; }
1411 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1413 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1414 { (exit 1); exit 1; }; }
1416 # When building in place, set srcdir=.
1417 if test "$ac_abs_confdir" = "$ac_pwd"; then
1420 # Remove unnecessary trailing slashes from srcdir.
1421 # Double slashes in file names in object file debugging info
1422 # mess up M-x gdb in Emacs.
1424 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1426 for ac_var
in $ac_precious_vars; do
1427 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1428 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1429 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1430 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1434 # Report the --help message.
1436 if test "$ac_init_help" = "long"; then
1437 # Omit some internal or obsolete options to make the list less imposing.
1438 # This message is too long to be a string in the A/UX 3.1 sh.
1440 \`configure' configures this package to adapt to many kinds of systems.
1442 Usage: $0 [OPTION]... [VAR=VALUE]...
1444 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1445 VAR=VALUE. See below for descriptions of some of the useful variables.
1447 Defaults for the options are specified in brackets.
1450 -h, --help display this help and exit
1451 --help=short display options specific to this package
1452 --help=recursive display the short help of all the included packages
1453 -V, --version display version information and exit
1454 -q, --quiet, --silent do not print \`checking...' messages
1455 --cache-file=FILE cache test results in FILE [disabled]
1456 -C, --config-cache alias for \`--cache-file=config.cache'
1457 -n, --no-create do not create output files
1458 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1460 Installation directories:
1461 --prefix=PREFIX install architecture-independent files in PREFIX
1462 [$ac_default_prefix]
1463 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1466 By default, \`make install' will install all the files in
1467 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1468 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1469 for instance \`--prefix=\$HOME'.
1471 For better control, use the options below.
1473 Fine tuning of the installation directories:
1474 --bindir=DIR user executables [EPREFIX/bin]
1475 --sbindir=DIR system admin executables [EPREFIX/sbin]
1476 --libexecdir=DIR program executables [EPREFIX/libexec]
1477 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1478 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1479 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1480 --libdir=DIR object code libraries [EPREFIX/lib]
1481 --includedir=DIR C header files [PREFIX/include]
1482 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1483 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1484 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1485 --infodir=DIR info documentation [DATAROOTDIR/info]
1486 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1487 --mandir=DIR man documentation [DATAROOTDIR/man]
1488 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1489 --htmldir=DIR html documentation [DOCDIR]
1490 --dvidir=DIR dvi documentation [DOCDIR]
1491 --pdfdir=DIR pdf documentation [DOCDIR]
1492 --psdir=DIR ps documentation [DOCDIR]
1498 --x-includes=DIR X include files are
in DIR
1499 --x-libraries=DIR X library files are
in DIR
1502 --build=BUILD configure
for building on BUILD
[guessed
]
1503 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1507 if test -n "$ac_init_help"; then
1512 --disable-option-checking ignore unrecognized
--enable/--with options
1513 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1514 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1515 --enable-build-type=TYPE
1516 Select the build
type. Available types are
:
1517 personal
, nightly
, snapshot
, milestone
, release. Do
1518 NOT use this option unless you know what you are
1519 doing
! (default
=personal
)
1520 --enable-debug=list Enable different types of debug. Commas or
1521 whitespaces can be used to separate the items
in the
1522 list. Available types of debug are
: all
, none
,
1523 messages
, stack
, mungwall
, modules
, symbols. If no
1524 list is provided
then "all" is assumed.
1526 --enable-crosstools Build cross-compiler toolchains
if necessary
1528 --enable-distcc Use distcc as a front end to the compiler
1530 --enable-ccache Use ccache as a front end to the compiler
1532 --enable-target-variant=NAME
1533 Enable a specific target variant
(default
=none
)
1534 --enable-includes=dir Alternative system include directory
1535 --enable-bochs-hack Enable hacks to
make BOCHS
(partly
) work
1537 --enable-palm-debug-hack
1538 Enable palm debug output hack
in palm native
1540 --enable-nesting-supervisor
1541 Enable nesting supervisor support
in unix
1543 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1544 --enable-x11-shm use X11 shared memory
(default
=auto
)
1545 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1546 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1547 --disable-sdltest Do not try to compile and run a
test SDL program
1548 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1551 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1552 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1553 --with-optimization=FLAGS
1554 Use optimization flags FLAGS
(default
=-O2).
1555 --with-portssources=DIR Where to download sourcecode
for external ports
1556 --with-bootloader=NAME Use a specific bootloader
1557 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1558 --with-theme=NAME Use a specific GUI Theme
1559 --with-resolution=XRESxYRESxDEPTH
1560 Default resolution of the initial WorkbenchScreen
1561 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1562 --with-x use the X Window System
1563 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1564 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1566 Some influential environment variables
:
1567 CC C compiler
command
1568 CFLAGS C compiler flags
1569 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1570 nonstandard directory
<lib dir
>
1571 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1572 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1573 you have headers
in a nonstandard directory
<include dir
>
1575 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1577 Use these variables to override the choices made by
`configure' or to help
1578 it to find libraries and programs with nonstandard names/locations.
1584 if test "$ac_init_help" = "recursive"; then
1585 # If there are subdirs, report their specific --help.
1586 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1587 test -d "$ac_dir" ||
1588 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1593 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1595 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1596 # A ".." for each directory in $ac_dir_suffix.
1597 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1598 case $ac_top_builddir_sub in
1599 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1600 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1603 ac_abs_top_builddir=$ac_pwd
1604 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1605 # for backward compatibility:
1606 ac_top_builddir=$ac_top_build_prefix
1609 .) # We are building in place.
1611 ac_top_srcdir=$ac_top_builddir_sub
1612 ac_abs_top_srcdir=$ac_pwd ;;
1613 [\\/]* | ?:[\\/]* ) # Absolute name.
1614 ac_srcdir=$srcdir$ac_dir_suffix;
1615 ac_top_srcdir=$srcdir
1616 ac_abs_top_srcdir=$srcdir ;;
1618 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1619 ac_top_srcdir=$ac_top_build_prefix$srcdir
1620 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1622 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1624 cd "$ac_dir" || { ac_status=$?; continue; }
1625 # Check for guested configure.
1626 if test -f "$ac_srcdir/configure.gnu"; then
1628 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1629 elif test -f "$ac_srcdir/configure"; then
1631 $SHELL "$ac_srcdir/configure" --help=recursive
1633 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1635 cd "$ac_pwd" || { ac_status=$?; break; }
1639 test -n "$ac_init_help" && exit $ac_status
1640 if $ac_init_version; then
1643 generated by GNU Autoconf 2.63
1645 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1646 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1647 This configure script is free software; the Free Software Foundation
1648 gives unlimited permission to copy, distribute and modify it.
1652 cat >config.log <<_ACEOF
1653 This file contains any messages produced by compilers while
1654 running configure, to aid debugging if configure makes a mistake.
1656 It was created by $as_me, which was
1657 generated by GNU Autoconf 2.63. Invocation command line was
1669 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1670 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1671 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1672 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1673 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1675 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1676 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1678 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1679 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1680 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1681 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1682 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1683 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1684 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1692 test -z "$as_dir" && as_dir=.
1693 $as_echo "PATH: $as_dir"
1709 # Keep a trace of the command line.
1710 # Strip out --no-create and --no-recursion so they do not pile up.
1711 # Strip out --silent because we don't want to record it for future runs.
1712 # Also quote any args containing shell meta-characters.
1713 # Make two passes to allow for proper duplicate-argument suppression.
1717 ac_must_keep_next=false
1723 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1724 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1725 | -silent | --silent | --silen | --sile | --sil)
1728 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1731 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1733 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1734 if test $ac_must_keep_next = true; then
1735 ac_must_keep_next=false # Got value, back to normal.
1738 *=* | --config-cache | -C | -disable-* | --disable-* \
1739 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1740 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1741 | -with-* | --with-* | -without-* | --without-* | --x)
1742 case "$ac_configure_args0 " in
1743 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1746 -* ) ac_must_keep_next=true ;;
1749 ac_configure_args="$ac_configure_args '$ac_arg'"
1754 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1755 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1757 # When interrupted or exit'd, cleanup temporary files, and complete
1758 # config.log. We remove comments because anyway the quotes in there
1759 # would cause problems or look ugly.
1760 # WARNING: Use '\'' to represent an apostrophe within the trap.
1761 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1762 trap 'exit_status=$?
1763 # Save into config.log some information that might help in debugging.
1768 ## ---------------- ##
1769 ## Cache variables. ##
1770 ## ---------------- ##
1773 # The following way of writing the cache mishandles newlines in values,
1775 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1776 eval ac_val=\$$ac_var
1780 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1781 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1784 _ | IFS | as_nl) ;; #(
1785 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1786 *) $as_unset $ac_var ;;
1791 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1792 *${as_nl}ac_space=\ *)
1794 "s/'\''/'\''\\\\'\'''\''/g;
1795 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1798 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1806 ## ----------------- ##
1807 ## Output variables. ##
1808 ## ----------------- ##
1811 for ac_var in $ac_subst_vars
1813 eval ac_val=\$$ac_var
1815 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1817 $as_echo "$ac_var='\''$ac_val'\''"
1821 if test -n "$ac_subst_files"; then
1823 ## ------------------- ##
1824 ## File substitutions. ##
1825 ## ------------------- ##
1828 for ac_var in $ac_subst_files
1830 eval ac_val=\$$ac_var
1832 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1834 $as_echo "$ac_var='\''$ac_val'\''"
1839 if test -s confdefs.h; then
1849 test "$ac_signal" != 0 &&
1850 $as_echo "$as_me: caught signal $ac_signal"
1851 $as_echo "$as_me: exit $exit_status"
1853 rm -f core *.core core.conftest.* &&
1854 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1857 for ac_signal in 1 2 13 15; do
1858 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1862 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1863 rm -f -r conftest* confdefs.h
1865 # Predefined preprocessor variables.
1867 cat >>confdefs.h <<_ACEOF
1868 #define PACKAGE_NAME "$PACKAGE_NAME"
1872 cat >>confdefs.h <<_ACEOF
1873 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1877 cat >>confdefs.h <<_ACEOF
1878 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1882 cat >>confdefs.h <<_ACEOF
1883 #define PACKAGE_STRING "$PACKAGE_STRING"
1887 cat >>confdefs.h <<_ACEOF
1888 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1892 # Let the site file select an alternate cache file if it wants to.
1893 # Prefer an explicitly selected file to automatically selected ones.
1896 if test -n "$CONFIG_SITE"; then
1897 ac_site_file1=$CONFIG_SITE
1898 elif test "x$prefix" != xNONE; then
1899 ac_site_file1=$prefix/share/config.site
1900 ac_site_file2=$prefix/etc/config.site
1902 ac_site_file1=$ac_default_prefix/share/config.site
1903 ac_site_file2=$ac_default_prefix/etc/config.site
1905 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1907 test "x$ac_site_file" = xNONE && continue
1908 if test -r "$ac_site_file"; then
1909 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1910 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1911 sed 's/^/| /' "$ac_site_file" >&5
1916 if test -r "$cache_file"; then
1917 # Some versions of bash will fail to source /dev/null (special
1918 # files actually), so we avoid doing that.
1919 if test -f "$cache_file"; then
1920 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1921 $as_echo "$as_me: loading cache $cache_file" >&6;}
1923 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1924 *) . "./$cache_file";;
1928 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1929 $as_echo "$as_me: creating cache $cache_file" >&6;}
1933 # Check that the precious variables saved in the cache have kept the same
1935 ac_cache_corrupted=false
1936 for ac_var in $ac_precious_vars; do
1937 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1938 eval ac_new_set=\$ac_env_${ac_var}_set
1939 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1940 eval ac_new_val=\$ac_env_${ac_var}_value
1941 case $ac_old_set,$ac_new_set in
1943 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1944 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1945 ac_cache_corrupted=: ;;
1947 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1948 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1949 ac_cache_corrupted=: ;;
1952 if test "x$ac_old_val" != "x$ac_new_val"; then
1953 # differences in whitespace do not lead to failure.
1954 ac_old_val_w=`echo x
$ac_old_val`
1955 ac_new_val_w=`echo x
$ac_new_val`
1956 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1957 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1958 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1959 ac_cache_corrupted=:
1961 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1962 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1963 eval $ac_var=\$ac_old_val
1965 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1966 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1967 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1968 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1971 # Pass precious variables to config.status.
1972 if test "$ac_new_set" = set; then
1974 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1975 *) ac_arg=$ac_var=$ac_new_val ;;
1977 case " $ac_configure_args " in
1978 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1979 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1983 if $ac_cache_corrupted; then
1984 { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
1985 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1986 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1987 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1988 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&5
1989 $as_echo "$as_me: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&2;}
1990 { (exit 1); exit 1; }; }
2010 ac_cpp='$CPP $CPPFLAGS'
2011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2018 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
2019 if test -f "$ac_dir/install-sh
"; then
2021 ac_install_sh="$ac_aux_dir/install-sh
-c"
2023 elif test -f "$ac_dir/install.sh
"; then
2025 ac_install_sh="$ac_aux_dir/install.sh
-c"
2027 elif test -f "$ac_dir/shtool
"; then
2029 ac_install_sh="$ac_aux_dir/shtool
install -c"
2033 if test -z "$ac_aux_dir"; then
2034 { { $as_echo "$as_me:$LINENO: error
: cannot
find install-sh or
install.sh
in scripts
/autoconf
\"$srcdir\"/scripts
/autoconf
" >&5
2035 $as_echo "$as_me: error
: cannot
find install-sh or
install.sh
in scripts
/autoconf
\"$srcdir\"/scripts
/autoconf
" >&2;}
2036 { (exit 1); exit 1; }; }
2039 # These three variables are undocumented and unsupported,
2040 # and are intended to be withdrawn in a future Autoconf release.
2041 # They can cause serious problems if a builder's source tree is in a directory
2042 # whose full name contains unusual characters.
2043 ac_config_guess="$SHELL $ac_aux_dir/config.guess
" # Please don't use this var.
2044 ac_config_sub="$SHELL $ac_aux_dir/config.sub
" # Please don't use this var.
2045 ac_configure="$SHELL $ac_aux_dir/configure
" # Please don't use this var.
2049 # Check what host we are running on.
2050 # If a target is not suggested, we use this one.
2051 # Note that what we call a target, Autoconf calls a host.
2052 # Make sure we can run config.sub.
2053 $SHELL "$ac_aux_dir/config.sub
" sun4 >/dev/null 2>&1 ||
2054 { { $as_echo "$as_me:$LINENO: error
: cannot run
$SHELL $ac_aux_dir/config.sub
" >&5
2055 $as_echo "$as_me: error
: cannot run
$SHELL $ac_aux_dir/config.sub
" >&2;}
2056 { (exit 1); exit 1; }; }
2058 { $as_echo "$as_me:$LINENO: checking build system
type" >&5
2059 $as_echo_n "checking build system
type...
" >&6; }
2060 if test "${ac_cv_build+set}" = set; then
2061 $as_echo_n "(cached
) " >&6
2063 ac_build_alias=$build_alias
2064 test "x
$ac_build_alias" = x &&
2065 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess
"`
2066 test "x
$ac_build_alias" = x &&
2067 { { $as_echo "$as_me:$LINENO: error
: cannot guess build
type; you must specify one
" >&5
2068 $as_echo "$as_me: error
: cannot guess build
type; you must specify one
" >&2;}
2069 { (exit 1); exit 1; }; }
2070 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub
" $ac_build_alias` ||
2071 { { $as_echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$ac_build_alias failed
" >&5
2072 $as_echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$ac_build_alias failed
" >&2;}
2073 { (exit 1); exit 1; }; }
2076 { $as_echo "$as_me:$LINENO: result
: $ac_cv_build" >&5
2077 $as_echo "$ac_cv_build" >&6; }
2078 case $ac_cv_build in
2080 *) { { $as_echo "$as_me:$LINENO: error
: invalid value of canonical build
" >&5
2081 $as_echo "$as_me: error
: invalid value of canonical build
" >&2;}
2082 { (exit 1); exit 1; }; };;
2085 ac_save_IFS=$IFS; IFS='-'
2091 # Remember, the first character of IFS is used to create $*,
2092 # except with old shells:
2095 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2098 { $as_echo "$as_me:$LINENO: checking
host system
type" >&5
2099 $as_echo_n "checking
host system
type...
" >&6; }
2100 if test "${ac_cv_host+set}" = set; then
2101 $as_echo_n "(cached
) " >&6
2103 if test "x
$host_alias" = x; then
2104 ac_cv_host=$ac_cv_build
2106 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub
" $host_alias` ||
2107 { { $as_echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$host_alias failed
" >&5
2108 $as_echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$host_alias failed
" >&2;}
2109 { (exit 1); exit 1; }; }
2113 { $as_echo "$as_me:$LINENO: result
: $ac_cv_host" >&5
2114 $as_echo "$ac_cv_host" >&6; }
2117 *) { { $as_echo "$as_me:$LINENO: error
: invalid value of canonical
host" >&5
2118 $as_echo "$as_me: error
: invalid value of canonical
host" >&2;}
2119 { (exit 1); exit 1; }; };;
2122 ac_save_IFS=$IFS; IFS='-'
2128 # Remember, the first character of IFS is used to create $*,
2129 # except with old shells:
2132 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2136 # The AROS target is slightly different to the normal GNU style
2137 # format. We don't have the middle part, and we reverse the order
2138 # of the $(CPU) and $(OS) bits.
2140 # Don't strip the version of the target yet, it might be
2141 # useful on some systems.
2143 { $as_echo "$as_me:$LINENO: checking
for AROS style target
" >&5
2144 $as_echo_n "checking
for AROS style target...
" >&6; }
2146 if test "$target" = "NONE
" ; then
2147 target=$host_os-$host_cpu
2150 if test "$target" = "" ; then
2151 target=$host_os-$host_cpu
2157 { $as_echo "$as_me:$LINENO: result
: $target" >&5
2158 $as_echo "$target" >&6; }
2160 #don't know where else to put this...
2161 { $as_echo "$as_me:$LINENO: checking Building AROS
in ..
" >&5
2162 $as_echo_n "checking Building AROS
in .. ...
" >&6; }
2164 { $as_echo "$as_me:$LINENO: result
: $AROS_BUILDDIR" >&5
2165 $as_echo "$AROS_BUILDDIR" >&6; }
2167 { $as_echo "$as_me:$LINENO: checking AROS Source
in ..
" >&5
2168 $as_echo_n "checking AROS Source
in .. ...
" >&6; }
2169 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2171 { $as_echo "$as_me:$LINENO: result
: $SRCDIR" >&5
2172 $as_echo "$SRCDIR" >&6; }
2174 # Parse the target field into something useful.
2176 target_os=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\1/'`
2177 target_cpu=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\2/'`
2180 aros_default_wbwidth=800
2181 aros_default_wbheight=600
2182 aros_default_wbdepth=4
2185 # The first step is to find the host binaries.
2186 # Check for a compiler.
2188 ac_cpp='$CPP $CPPFLAGS'
2189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2192 if test -n "$ac_tool_prefix"; then
2193 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
2194 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2195 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2196 $as_echo_n "checking
for $ac_word...
" >&6; }
2197 if test "${ac_cv_prog_CC+set}" = set; then
2198 $as_echo_n "(cached
) " >&6
2200 if test -n "$CC"; then
2201 ac_cv_prog_CC="$CC" # Let the user override the test.
2203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2207 test -z "$as_dir" && as_dir=.
2208 for ac_exec_ext in '' $ac_executable_extensions; do
2209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2210 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
2211 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2221 if test -n "$CC"; then
2222 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2223 $as_echo "$CC" >&6; }
2225 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2226 $as_echo "no
" >&6; }
2231 if test -z "$ac_cv_prog_CC"; then
2233 # Extract the first word of "gcc
", so it can be a program name with args.
2234 set dummy gcc; ac_word=$2
2235 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2236 $as_echo_n "checking
for $ac_word...
" >&6; }
2237 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2238 $as_echo_n "(cached
) " >&6
2240 if test -n "$ac_ct_CC"; then
2241 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2247 test -z "$as_dir" && as_dir=.
2248 for ac_exec_ext in '' $ac_executable_extensions; do
2249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2250 ac_cv_prog_ac_ct_CC="gcc
"
2251 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2260 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2261 if test -n "$ac_ct_CC"; then
2262 { $as_echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
2263 $as_echo "$ac_ct_CC" >&6; }
2265 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2266 $as_echo "no
" >&6; }
2269 if test "x
$ac_ct_CC" = x; then
2272 case $cross_compiling:$ac_tool_warned in
2274 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2275 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2276 ac_tool_warned=yes ;;
2284 if test -z "$CC"; then
2285 if test -n "$ac_tool_prefix"; then
2286 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
2287 set dummy ${ac_tool_prefix}cc; ac_word=$2
2288 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2289 $as_echo_n "checking
for $ac_word...
" >&6; }
2290 if test "${ac_cv_prog_CC+set}" = set; then
2291 $as_echo_n "(cached
) " >&6
2293 if test -n "$CC"; then
2294 ac_cv_prog_CC="$CC" # Let the user override the test.
2296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2300 test -z "$as_dir" && as_dir=.
2301 for ac_exec_ext in '' $ac_executable_extensions; do
2302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2303 ac_cv_prog_CC="${ac_tool_prefix}cc
"
2304 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2314 if test -n "$CC"; then
2315 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2316 $as_echo "$CC" >&6; }
2318 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2319 $as_echo "no
" >&6; }
2325 if test -z "$CC"; then
2326 # Extract the first word of "cc
", so it can be a program name with args.
2327 set dummy cc; ac_word=$2
2328 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2329 $as_echo_n "checking
for $ac_word...
" >&6; }
2330 if test "${ac_cv_prog_CC+set}" = set; then
2331 $as_echo_n "(cached
) " >&6
2333 if test -n "$CC"; then
2334 ac_cv_prog_CC="$CC" # Let the user override the test.
2337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2341 test -z "$as_dir" && as_dir=.
2342 for ac_exec_ext in '' $ac_executable_extensions; do
2343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2344 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
2345 ac_prog_rejected=yes
2349 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2356 if test $ac_prog_rejected = yes; then
2357 # We found a bogon in the path, so make sure we never use it.
2358 set dummy $ac_cv_prog_CC
2360 if test $# != 0; then
2361 # We chose a different compiler from the bogus one.
2362 # However, it has the same basename, so the bogon will be chosen
2363 # first if we set CC to just the basename; use the full file name.
2365 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
2371 if test -n "$CC"; then
2372 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2373 $as_echo "$CC" >&6; }
2375 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2376 $as_echo "no
" >&6; }
2381 if test -z "$CC"; then
2382 if test -n "$ac_tool_prefix"; then
2383 for ac_prog in cl.exe
2385 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2386 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2387 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2388 $as_echo_n "checking
for $ac_word...
" >&6; }
2389 if test "${ac_cv_prog_CC+set}" = set; then
2390 $as_echo_n "(cached
) " >&6
2392 if test -n "$CC"; then
2393 ac_cv_prog_CC="$CC" # Let the user override the test.
2395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2399 test -z "$as_dir" && as_dir=.
2400 for ac_exec_ext in '' $ac_executable_extensions; do
2401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2402 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2403 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2413 if test -n "$CC"; then
2414 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2415 $as_echo "$CC" >&6; }
2417 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2418 $as_echo "no
" >&6; }
2422 test -n "$CC" && break
2425 if test -z "$CC"; then
2427 for ac_prog in cl.exe
2429 # Extract the first word of "$ac_prog", so it can be a program name with args.
2430 set dummy $ac_prog; ac_word=$2
2431 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2432 $as_echo_n "checking
for $ac_word...
" >&6; }
2433 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2434 $as_echo_n "(cached
) " >&6
2436 if test -n "$ac_ct_CC"; then
2437 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2443 test -z "$as_dir" && as_dir=.
2444 for ac_exec_ext in '' $ac_executable_extensions; do
2445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2446 ac_cv_prog_ac_ct_CC="$ac_prog"
2447 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2456 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2457 if test -n "$ac_ct_CC"; then
2458 { $as_echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
2459 $as_echo "$ac_ct_CC" >&6; }
2461 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2462 $as_echo "no
" >&6; }
2466 test -n "$ac_ct_CC" && break
2469 if test "x
$ac_ct_CC" = x; then
2472 case $cross_compiling:$ac_tool_warned in
2474 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2475 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2476 ac_tool_warned=yes ;;
2485 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2486 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2487 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2488 See \`config.log' for more details.
" >&5
2489 $as_echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
2490 See \
`config.log' for more details." >&2;}
2491 { (exit 1); exit 1; }; }; }
2493 # Provide some information about the compiler.
2494 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2497 { (ac_try="$ac_compiler --version >&5"
2499 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2500 *) ac_try_echo
=$ac_try;;
2502 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2503 $as_echo "$ac_try_echo") >&5
2504 (eval "$ac_compiler --version >&5") 2>&5
2506 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2507 (exit $ac_status); }
2508 { (ac_try
="$ac_compiler -v >&5"
2510 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2511 *) ac_try_echo=$ac_try;;
2513 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2514 $as_echo "$ac_try_echo") >&5
2515 (eval "$ac_compiler -v >&5") 2>&5
2517 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2518 (exit $ac_status); }
2519 { (ac_try="$ac_compiler -V >&5"
2521 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2522 *) ac_try_echo
=$ac_try;;
2524 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2525 $as_echo "$ac_try_echo") >&5
2526 (eval "$ac_compiler -V >&5") 2>&5
2528 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2529 (exit $ac_status); }
2531 cat >conftest.
$ac_ext <<_ACEOF
2534 cat confdefs.h
>>conftest.
$ac_ext
2535 cat >>conftest.
$ac_ext <<_ACEOF
2536 /* end confdefs.h. */
2546 ac_clean_files_save
=$ac_clean_files
2547 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2548 # Try to create an executable without -o first, disregard a.out.
2549 # It will help us diagnose broken compilers, and finding out an intuition
2551 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2552 $as_echo_n "checking for C compiler default output file name... " >&6; }
2553 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2555 # The possible output files:
2556 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2559 for ac_file
in $ac_files
2562 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2563 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2568 if { (ac_try
="$ac_link_default"
2570 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2571 *) ac_try_echo=$ac_try;;
2573 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2574 $as_echo "$ac_try_echo") >&5
2575 (eval "$ac_link_default") 2>&5
2577 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2578 (exit $ac_status); }; then
2579 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2580 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2581 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2582 # so that the user can short-circuit this test for compilers unknown to
2584 for ac_file in $ac_files ''
2586 test -f "$ac_file" || continue
2588 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2591 # We found the default executable, but exeext='' is most
2595 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2597 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2599 # We set ac_cv_exeext here because the later test for it is not
2600 # safe: cross compilers may not add the suffix if given an `-o'
2601 # argument, so we may need to know it at that point already.
2602 # Even if this section looks crufty: it has the advantage of
2609 test "$ac_cv_exeext" = no && ac_cv_exeext=
2615 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2616 $as_echo "$ac_file" >&6; }
2617 if test -z "$ac_file"; then
2618 $as_echo "$as_me: failed program was:" >&5
2619 sed 's
/^
/|
/' conftest.$ac_ext >&5
2621 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2622 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2623 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2624 See \`config.log
' for more details." >&5
2625 $as_echo "$as_me: error: C compiler cannot create executables
2626 See \`config.log' for more details.
" >&2;}
2627 { (exit 77); exit 77; }; }; }
2630 ac_exeext=$ac_cv_exeext
2632 # Check that the compiler produces executables we can run. If not, either
2633 # the compiler is broken, or we cross compile.
2634 { $as_echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
2635 $as_echo_n "checking whether the C compiler works...
" >&6; }
2636 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2637 # If not cross compiling, check that we can run a simple program.
2638 if test "$cross_compiling" != yes; then
2639 if { ac_try='./$ac_file'
2640 { (case "(($ac_try" in
2641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2642 *) ac_try_echo=$ac_try;;
2644 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2645 $as_echo "$ac_try_echo") >&5
2646 (eval "$ac_try") 2>&5
2648 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2649 (exit $ac_status); }; }; then
2652 if test "$cross_compiling" = maybe; then
2655 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2656 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2657 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2658 If you meant to cross compile, use \`--host'.
2659 See \
`config.log' for more details." >&5
2660 $as_echo "$as_me: error: cannot run C compiled programs.
2661 If you meant to cross compile, use \`--host'.
2662 See \`config.log' for more details.
" >&2;}
2663 { (exit 1); exit 1; }; }; }
2667 { $as_echo "$as_me:$LINENO: result
: yes" >&5
2668 $as_echo "yes" >&6; }
2670 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2671 ac_clean_files=$ac_clean_files_save
2672 # Check that the compiler produces executables we can run. If not, either
2673 # the compiler is broken, or we cross compile.
2674 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2675 $as_echo_n "checking whether we are cross compiling...
" >&6; }
2676 { $as_echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2677 $as_echo "$cross_compiling" >&6; }
2679 { $as_echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2680 $as_echo_n "checking
for suffix of executables...
" >&6; }
2681 if { (ac_try="$ac_link"
2683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2684 *) ac_try_echo=$ac_try;;
2686 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2687 $as_echo "$ac_try_echo") >&5
2688 (eval "$ac_link") 2>&5
2690 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2691 (exit $ac_status); }; then
2692 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2693 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2694 # work properly (i.e., refer to `conftest.exe'), while it won't with
2696 for ac_file in conftest.exe conftest conftest.*; do
2697 test -f "$ac_file" || continue
2699 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2700 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2706 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2707 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2708 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2709 See \`config.log' for more details.
" >&5
2710 $as_echo "$as_me: error
: cannot compute suffix of executables
: cannot compile and link
2711 See \
`config.log' for more details." >&2;}
2712 { (exit 1); exit 1; }; }; }
2715 rm -f conftest$ac_cv_exeext
2716 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2717 $as_echo "$ac_cv_exeext" >&6; }
2719 rm -f conftest.$ac_ext
2720 EXEEXT=$ac_cv_exeext
2722 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2723 $as_echo_n "checking for suffix of object files... " >&6; }
2724 if test "${ac_cv_objext+set}" = set; then
2725 $as_echo_n "(cached) " >&6
2727 cat >conftest.$ac_ext <<_ACEOF
2730 cat confdefs.h >>conftest.$ac_ext
2731 cat >>conftest.$ac_ext <<_ACEOF
2732 /* end confdefs.h. */
2742 rm -f conftest.o conftest.obj
2743 if { (ac_try="$ac_compile"
2745 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2746 *) ac_try_echo
=$ac_try;;
2748 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2749 $as_echo "$ac_try_echo") >&5
2750 (eval "$ac_compile") 2>&5
2752 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2753 (exit $ac_status); }; then
2754 for ac_file
in conftest.o conftest.obj conftest.
*; do
2755 test -f "$ac_file" ||
continue;
2757 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM
) ;;
2758 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2763 $as_echo "$as_me: failed program was:" >&5
2764 sed 's/^/| /' conftest.
$ac_ext >&5
2766 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2767 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2768 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2769 See \`config.log' for more details." >&5
2770 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2771 See \`config.log' for more details." >&2;}
2772 { (exit 1); exit 1; }; }; }
2775 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2777 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2778 $as_echo "$ac_cv_objext" >&6; }
2779 OBJEXT
=$ac_cv_objext
2781 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2782 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2783 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2784 $as_echo_n "(cached) " >&6
2786 cat >conftest.
$ac_ext <<_ACEOF
2789 cat confdefs.h
>>conftest.
$ac_ext
2790 cat >>conftest.
$ac_ext <<_ACEOF
2791 /* end confdefs.h. */
2804 rm -f conftest.
$ac_objext
2805 if { (ac_try
="$ac_compile"
2807 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2808 *) ac_try_echo=$ac_try;;
2810 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2811 $as_echo "$ac_try_echo") >&5
2812 (eval "$ac_compile") 2>conftest.er1
2814 grep -v '^ *+' conftest.er1 >conftest.err
2816 cat conftest.err >&5
2817 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2818 (exit $ac_status); } && {
2819 test -z "$ac_c_werror_flag" ||
2820 test ! -s conftest.err
2821 } && test -s conftest.$ac_objext; then
2824 $as_echo "$as_me: failed program was:" >&5
2825 sed 's/^/| /' conftest.$ac_ext >&5
2830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2831 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2834 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2835 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2836 if test $ac_compiler_gnu = yes; then
2841 ac_test_CFLAGS=${CFLAGS+set}
2842 ac_save_CFLAGS=$CFLAGS
2843 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2844 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2845 if test "${ac_cv_prog_cc_g+set}" = set; then
2846 $as_echo_n "(cached) " >&6
2848 ac_save_c_werror_flag=$ac_c_werror_flag
2849 ac_c_werror_flag=yes
2852 cat >conftest.$ac_ext <<_ACEOF
2855 cat confdefs.h >>conftest.$ac_ext
2856 cat >>conftest.$ac_ext <<_ACEOF
2857 /* end confdefs.h. */
2867 rm -f conftest.$ac_objext
2868 if { (ac_try="$ac_compile"
2870 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2871 *) ac_try_echo
=$ac_try;;
2873 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2874 $as_echo "$ac_try_echo") >&5
2875 (eval "$ac_compile") 2>conftest.er1
2877 grep -v '^ *+' conftest.er1
>conftest.err
2879 cat conftest.err
>&5
2880 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881 (exit $ac_status); } && {
2882 test -z "$ac_c_werror_flag" ||
2883 test ! -s conftest.err
2884 } && test -s conftest.
$ac_objext; then
2887 $as_echo "$as_me: failed program was:" >&5
2888 sed 's/^/| /' conftest.
$ac_ext >&5
2891 cat >conftest.
$ac_ext <<_ACEOF
2894 cat confdefs.h
>>conftest.
$ac_ext
2895 cat >>conftest.
$ac_ext <<_ACEOF
2896 /* end confdefs.h. */
2906 rm -f conftest.
$ac_objext
2907 if { (ac_try
="$ac_compile"
2909 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2910 *) ac_try_echo=$ac_try;;
2912 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2913 $as_echo "$ac_try_echo") >&5
2914 (eval "$ac_compile") 2>conftest.er1
2916 grep -v '^ *+' conftest.er1 >conftest.err
2918 cat conftest.err >&5
2919 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2920 (exit $ac_status); } && {
2921 test -z "$ac_c_werror_flag" ||
2922 test ! -s conftest.err
2923 } && test -s conftest.$ac_objext; then
2926 $as_echo "$as_me: failed program was:" >&5
2927 sed 's/^/| /' conftest.$ac_ext >&5
2929 ac_c_werror_flag=$ac_save_c_werror_flag
2931 cat >conftest.$ac_ext <<_ACEOF
2934 cat confdefs.h >>conftest.$ac_ext
2935 cat >>conftest.$ac_ext <<_ACEOF
2936 /* end confdefs.h. */
2946 rm -f conftest.$ac_objext
2947 if { (ac_try="$ac_compile"
2949 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2950 *) ac_try_echo
=$ac_try;;
2952 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2953 $as_echo "$ac_try_echo") >&5
2954 (eval "$ac_compile") 2>conftest.er1
2956 grep -v '^ *+' conftest.er1
>conftest.err
2958 cat conftest.err
>&5
2959 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2960 (exit $ac_status); } && {
2961 test -z "$ac_c_werror_flag" ||
2962 test ! -s conftest.err
2963 } && test -s conftest.
$ac_objext; then
2966 $as_echo "$as_me: failed program was:" >&5
2967 sed 's/^/| /' conftest.
$ac_ext >&5
2972 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2975 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2978 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2979 ac_c_werror_flag
=$ac_save_c_werror_flag
2981 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2982 $as_echo "$ac_cv_prog_cc_g" >&6; }
2983 if test "$ac_test_CFLAGS" = set; then
2984 CFLAGS
=$ac_save_CFLAGS
2985 elif test $ac_cv_prog_cc_g = yes; then
2986 if test "$GCC" = yes; then
2992 if test "$GCC" = yes; then
2998 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2999 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3000 if test "${ac_cv_prog_cc_c89+set}" = set; then
3001 $as_echo_n "(cached) " >&6
3003 ac_cv_prog_cc_c89
=no
3005 cat >conftest.
$ac_ext <<_ACEOF
3008 cat confdefs.h
>>conftest.
$ac_ext
3009 cat >>conftest.
$ac_ext <<_ACEOF
3010 /* end confdefs.h. */
3013 #include <sys/types.h>
3014 #include <sys/stat.h>
3015 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3016 struct buf { int x; };
3017 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3018 static char *e (p, i)
3024 static char *f (char * (*g) (char **, int), char **p, ...)
3029 s = g (p, va_arg (v,int));
3034 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3035 function prototypes and stuff, but not '\xHH' hex character constants.
3036 These don't provoke an error unfortunately, instead are silently treated
3037 as 'x'. The following induces an error, until -std is added to get
3038 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3039 array size at least. It's necessary to write '\x00'==0 to get something
3040 that's true only with -std. */
3041 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3043 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3044 inside strings and character constants. */
3046 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3048 int test (int i, double x);
3049 struct s1 {int (*f) (int a);};
3050 struct s2 {int (*f) (double a);};
3051 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3057 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3062 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3063 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3065 CC
="$ac_save_CC $ac_arg"
3066 rm -f conftest.
$ac_objext
3067 if { (ac_try
="$ac_compile"
3069 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3070 *) ac_try_echo=$ac_try;;
3072 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3073 $as_echo "$ac_try_echo") >&5
3074 (eval "$ac_compile") 2>conftest.er1
3076 grep -v '^ *+' conftest.er1 >conftest.err
3078 cat conftest.err >&5
3079 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3080 (exit $ac_status); } && {
3081 test -z "$ac_c_werror_flag" ||
3082 test ! -s conftest.err
3083 } && test -s conftest.$ac_objext; then
3084 ac_cv_prog_cc_c89=$ac_arg
3086 $as_echo "$as_me: failed program was:" >&5
3087 sed 's/^/| /' conftest.$ac_ext >&5
3092 rm -f core conftest.err conftest.$ac_objext
3093 test "x$ac_cv_prog_cc_c89" != "xno" && break
3095 rm -f conftest.$ac_ext
3100 case "x$ac_cv_prog_cc_c89" in
3102 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3103 $as_echo "none needed" >&6; } ;;
3105 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3106 $as_echo "unsupported" >&6; } ;;
3108 CC="$CC $ac_cv_prog_cc_c89"
3109 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3110 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3115 ac_cpp='$CPP $CPPFLAGS'
3116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3120 case $ac_cv_prog_cc_stdc in
3121 no) ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;;
3122 *) { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
3123 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3124 if test "${ac_cv_prog_cc_c99+set}" = set; then
3125 $as_echo_n "(cached) " >&6
3127 ac_cv_prog_cc_c99=no
3129 cat >conftest.$ac_ext <<_ACEOF
3132 cat confdefs.h >>conftest.$ac_ext
3133 cat >>conftest.$ac_ext <<_ACEOF
3134 /* end confdefs.h. */
3136 #include <stdbool.h>
3141 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3142 #define debug(...) fprintf (stderr, __VA_ARGS__)
3143 #define showlist(...) puts (#__VA_ARGS__)
3144 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3146 test_varargs_macros (void)
3151 debug ("X = %d\n", x);
3152 showlist (The first, second, and third items.);
3153 report (x>y, "x is %d but y is %d", x, y);
3156 // Check long long types.
3157 #define BIG64 18446744073709551615ull
3158 #define BIG32 4294967295ul
3159 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3161 your preprocessor is broken;
3165 your preprocessor is broken;
3167 static long long int bignum = -9223372036854775807LL;
3168 static unsigned long long int ubignum = BIG64;
3170 struct incomplete_array
3178 const wchar_t *name;
3182 typedef const char *ccp;
3185 test_restrict (ccp restrict text)
3187 // See if C++-style comments work.
3188 // Iterate through items via the restricted pointer.
3189 // Also check for declarations in for loops.
3190 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3195 // Check varargs and va_copy.
3197 test_varargs (const char *format, ...)
3200 va_start (args, format);
3202 va_copy (args_copy, args);
3213 str = va_arg (args_copy, const char *);
3216 number = va_arg (args_copy, int);
3219 fnumber = va_arg (args_copy, double);
3234 _Bool success = false;
3237 if (test_restrict ("String literal") == 0)
3239 char *restrict newvar = "Another string";
3242 test_varargs ("s, d' f .", "string", 65, 34.234);
3243 test_varargs_macros ();
3245 // Check flexible array members.
3246 struct incomplete_array *ia =
3247 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3249 for (int i = 0; i < ia->datasize; ++i)
3250 ia->data[i] = i * 1.234;
3252 // Check named initializers.
3253 struct named_init ni = {
3255 .name = L"Test wide string",
3256 .average = 543.34343,
3261 int dynamic_array[ni.number];
3262 dynamic_array[ni.number - 1] = 543;
3264 // work around unused variable warnings
3265 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3266 || dynamic_array[ni.number - 1] != 543);
3272 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3274 CC="$ac_save_CC $ac_arg"
3275 rm -f conftest.$ac_objext
3276 if { (ac_try="$ac_compile"
3278 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3279 *) ac_try_echo
=$ac_try;;
3281 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3282 $as_echo "$ac_try_echo") >&5
3283 (eval "$ac_compile") 2>conftest.er1
3285 grep -v '^ *+' conftest.er1
>conftest.err
3287 cat conftest.err
>&5
3288 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3289 (exit $ac_status); } && {
3290 test -z "$ac_c_werror_flag" ||
3291 test ! -s conftest.err
3292 } && test -s conftest.
$ac_objext; then
3293 ac_cv_prog_cc_c99
=$ac_arg
3295 $as_echo "$as_me: failed program was:" >&5
3296 sed 's/^/| /' conftest.
$ac_ext >&5
3301 rm -f core conftest.err conftest.
$ac_objext
3302 test "x$ac_cv_prog_cc_c99" != "xno" && break
3304 rm -f conftest.
$ac_ext
3309 case "x$ac_cv_prog_cc_c99" in
3311 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3312 $as_echo "none needed" >&6; } ;;
3314 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3315 $as_echo "unsupported" >&6; } ;;
3317 CC
="$CC $ac_cv_prog_cc_c99"
3318 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
3319 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3321 if test "x$ac_cv_prog_cc_c99" != xno
; then
3322 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c99
3324 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3325 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3326 if test "${ac_cv_prog_cc_c89+set}" = set; then
3327 $as_echo_n "(cached) " >&6
3329 ac_cv_prog_cc_c89
=no
3331 cat >conftest.
$ac_ext <<_ACEOF
3334 cat confdefs.h
>>conftest.
$ac_ext
3335 cat >>conftest.
$ac_ext <<_ACEOF
3336 /* end confdefs.h. */
3339 #include <sys/types.h>
3340 #include <sys/stat.h>
3341 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3342 struct buf { int x; };
3343 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3344 static char *e (p, i)
3350 static char *f (char * (*g) (char **, int), char **p, ...)
3355 s = g (p, va_arg (v,int));
3360 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3361 function prototypes and stuff, but not '\xHH' hex character constants.
3362 These don't provoke an error unfortunately, instead are silently treated
3363 as 'x'. The following induces an error, until -std is added to get
3364 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3365 array size at least. It's necessary to write '\x00'==0 to get something
3366 that's true only with -std. */
3367 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3369 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3370 inside strings and character constants. */
3372 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3374 int test (int i, double x);
3375 struct s1 {int (*f) (int a);};
3376 struct s2 {int (*f) (double a);};
3377 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3383 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3388 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3389 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3391 CC
="$ac_save_CC $ac_arg"
3392 rm -f conftest.
$ac_objext
3393 if { (ac_try
="$ac_compile"
3395 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3396 *) ac_try_echo=$ac_try;;
3398 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3399 $as_echo "$ac_try_echo") >&5
3400 (eval "$ac_compile") 2>conftest.er1
3402 grep -v '^ *+' conftest.er1 >conftest.err
3404 cat conftest.err >&5
3405 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3406 (exit $ac_status); } && {
3407 test -z "$ac_c_werror_flag" ||
3408 test ! -s conftest.err
3409 } && test -s conftest.$ac_objext; then
3410 ac_cv_prog_cc_c89=$ac_arg
3412 $as_echo "$as_me: failed program was:" >&5
3413 sed 's/^/| /' conftest.$ac_ext >&5
3418 rm -f core conftest.err conftest.$ac_objext
3419 test "x$ac_cv_prog_cc_c89" != "xno" && break
3421 rm -f conftest.$ac_ext
3426 case "x$ac_cv_prog_cc_c89" in
3428 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3429 $as_echo "none needed" >&6; } ;;
3431 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3432 $as_echo "unsupported" >&6; } ;;
3434 CC="$CC $ac_cv_prog_cc_c89"
3435 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3436 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3438 if test "x$ac_cv_prog_cc_c89" != xno; then
3439 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3441 ac_cv_prog_cc_stdc=no
3449 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5
3450 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
3451 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3452 $as_echo_n "(cached) " >&6
3455 case $ac_cv_prog_cc_stdc in
3456 no) { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3457 $as_echo "unsupported" >&6; } ;;
3458 '') { $as_echo "$as_me:$LINENO: result: none needed" >&5
3459 $as_echo "none needed" >&6; } ;;
3460 *) { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3461 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
3466 ac_cpp='$CPP $CPPFLAGS'
3467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3470 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3471 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3472 # On Suns, sometimes $CPP names a directory.
3473 if test -n "$CPP" && test -d "$CPP"; then
3476 if test -z "$CPP"; then
3477 if test "${ac_cv_prog_CPP+set}" = set; then
3478 $as_echo_n "(cached) " >&6
3480 # Double quotes because CPP needs to be expanded
3481 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3484 for ac_c_preproc_warn_flag in '' yes
3486 # Use a header file that comes with gcc, so configuring glibc
3487 # with a fresh cross-compiler works.
3488 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3489 # <limits.h> exists even on freestanding compilers.
3490 # On the NeXT, cc -E runs the code through the compiler's parser,
3491 # not just through cpp. "Syntax error" is here to catch this case.
3492 cat >conftest.$ac_ext <<_ACEOF
3495 cat confdefs.h >>conftest.$ac_ext
3496 cat >>conftest.$ac_ext <<_ACEOF
3497 /* end confdefs.h. */
3499 # include <limits.h>
3501 # include <assert.h>
3505 if { (ac_try="$ac_cpp conftest.$ac_ext"
3507 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3508 *) ac_try_echo
=$ac_try;;
3510 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3511 $as_echo "$ac_try_echo") >&5
3512 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3514 grep -v '^ *+' conftest.er1
>conftest.err
3516 cat conftest.err
>&5
3517 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3518 (exit $ac_status); } >/dev
/null
&& {
3519 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3520 test ! -s conftest.err
3524 $as_echo "$as_me: failed program was:" >&5
3525 sed 's/^/| /' conftest.
$ac_ext >&5
3527 # Broken: fails on valid input.
3531 rm -f conftest.err conftest.
$ac_ext
3533 # OK, works on sane cases. Now check whether nonexistent headers
3534 # can be detected and how.
3535 cat >conftest.
$ac_ext <<_ACEOF
3538 cat confdefs.h
>>conftest.
$ac_ext
3539 cat >>conftest.
$ac_ext <<_ACEOF
3540 /* end confdefs.h. */
3541 #include <ac_nonexistent.h>
3543 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3545 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3546 *) ac_try_echo=$ac_try;;
3548 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3549 $as_echo "$ac_try_echo") >&5
3550 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3552 grep -v '^ *+' conftest.er1 >conftest.err
3554 cat conftest.err >&5
3555 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3556 (exit $ac_status); } >/dev/null && {
3557 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3558 test ! -s conftest.err
3560 # Broken: success on invalid input.
3563 $as_echo "$as_me: failed program was:" >&5
3564 sed 's/^/| /' conftest.$ac_ext >&5
3566 # Passes both tests.
3571 rm -f conftest.err conftest.$ac_ext
3574 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3575 rm -f conftest.err conftest.
$ac_ext
3576 if $ac_preproc_ok; then
3588 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3589 $as_echo "$CPP" >&6; }
3591 for ac_c_preproc_warn_flag
in '' yes
3593 # Use a header file that comes with gcc, so configuring glibc
3594 # with a fresh cross-compiler works.
3595 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3596 # <limits.h> exists even on freestanding compilers.
3597 # On the NeXT, cc -E runs the code through the compiler's parser,
3598 # not just through cpp. "Syntax error" is here to catch this case.
3599 cat >conftest.
$ac_ext <<_ACEOF
3602 cat confdefs.h
>>conftest.
$ac_ext
3603 cat >>conftest.
$ac_ext <<_ACEOF
3604 /* end confdefs.h. */
3606 # include <limits.h>
3608 # include <assert.h>
3612 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3614 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3615 *) ac_try_echo=$ac_try;;
3617 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3618 $as_echo "$ac_try_echo") >&5
3619 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3621 grep -v '^ *+' conftest.er1 >conftest.err
3623 cat conftest.err >&5
3624 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3625 (exit $ac_status); } >/dev/null && {
3626 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3627 test ! -s conftest.err
3631 $as_echo "$as_me: failed program was:" >&5
3632 sed 's/^/| /' conftest.$ac_ext >&5
3634 # Broken: fails on valid input.
3638 rm -f conftest.err conftest.$ac_ext
3640 # OK, works on sane cases. Now check whether nonexistent headers
3641 # can be detected and how.
3642 cat >conftest.$ac_ext <<_ACEOF
3645 cat confdefs.h >>conftest.$ac_ext
3646 cat >>conftest.$ac_ext <<_ACEOF
3647 /* end confdefs.h. */
3648 #include <ac_nonexistent.h>
3650 if { (ac_try="$ac_cpp conftest.$ac_ext"
3652 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3653 *) ac_try_echo
=$ac_try;;
3655 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3656 $as_echo "$ac_try_echo") >&5
3657 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3659 grep -v '^ *+' conftest.er1
>conftest.err
3661 cat conftest.err
>&5
3662 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3663 (exit $ac_status); } >/dev
/null
&& {
3664 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3665 test ! -s conftest.err
3667 # Broken: success on invalid input.
3670 $as_echo "$as_me: failed program was:" >&5
3671 sed 's/^/| /' conftest.
$ac_ext >&5
3673 # Passes both tests.
3678 rm -f conftest.err conftest.
$ac_ext
3681 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3682 rm -f conftest.err conftest.
$ac_ext
3683 if $ac_preproc_ok; then
3686 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3687 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3688 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3689 See \`config.log' for more details." >&5
3690 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3691 See \`config.log' for more details." >&2;}
3692 { (exit 1); exit 1; }; }; }
3696 ac_cpp
='$CPP $CPPFLAGS'
3697 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3698 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3699 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3702 # Check for a compatible awk
3703 for ac_prog
in gawk nawk
3705 # Extract the first word of "$ac_prog", so it can be a program name with args.
3706 set dummy
$ac_prog; ac_word
=$2
3707 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3708 $as_echo_n "checking for $ac_word... " >&6; }
3709 if test "${ac_cv_prog_AWK+set}" = set; then
3710 $as_echo_n "(cached) " >&6
3712 if test -n "$AWK"; then
3713 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3719 test -z "$as_dir" && as_dir
=.
3720 for ac_exec_ext
in '' $ac_executable_extensions; do
3721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3722 ac_cv_prog_AWK
="$ac_prog"
3723 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3733 if test -n "$AWK"; then
3734 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
3735 $as_echo "$AWK" >&6; }
3737 { $as_echo "$as_me:$LINENO: result: no" >&5
3738 $as_echo "no" >&6; }
3742 test -n "$AWK" && break
3745 if test "$AWK" = ""; then
3746 { { $as_echo "$as_me:$LINENO: error: gawk is required to build AROS. Please install and run configure again." >&5
3747 $as_echo "$as_me: error: gawk is required to build AROS. Please install and run configure again." >&2;}
3748 { (exit 1); exit 1; }; }
3750 # Extract the first word of "mmake", so it can be a program name with args.
3751 set dummy mmake
; ac_word
=$2
3752 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3753 $as_echo_n "checking for $ac_word... " >&6; }
3754 if test "${ac_cv_prog_MMAKE+set}" = set; then
3755 $as_echo_n "(cached) " >&6
3757 if test -n "$MMAKE"; then
3758 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
3760 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3764 test -z "$as_dir" && as_dir
=.
3765 for ac_exec_ext
in '' $ac_executable_extensions; do
3766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3767 ac_cv_prog_MMAKE
="mmake "
3768 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3777 MMAKE
=$ac_cv_prog_MMAKE
3778 if test -n "$MMAKE"; then
3779 { $as_echo "$as_me:$LINENO: result: $MMAKE" >&5
3780 $as_echo "$MMAKE" >&6; }
3782 { $as_echo "$as_me:$LINENO: result: no" >&5
3783 $as_echo "no" >&6; }
3788 # Perform some default variable assignments. Note all of these will be
3789 # Regenerated from the script, so there is no need to cache them.
3792 if test "$GCC" = "yes"; then
3793 aros_gcc_ld
=`$CC -print-prog-name=ld`
3794 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
3795 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
3796 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3797 $as_echo_n "checking for $ac_word... " >&6; }
3798 if test "${ac_cv_path_aros_host_ld+set}" = set; then
3799 $as_echo_n "(cached) " >&6
3801 case $aros_host_ld in
3803 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3807 for as_dir
in `dirname $aros_gcc_ld`
3810 test -z "$as_dir" && as_dir
=.
3811 for ac_exec_ext
in '' $ac_executable_extensions; do
3812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3813 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3814 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3824 aros_host_ld
=$ac_cv_path_aros_host_ld
3825 if test -n "$aros_host_ld"; then
3826 { $as_echo "$as_me:$LINENO: result: $aros_host_ld" >&5
3827 $as_echo "$aros_host_ld" >&6; }
3829 { $as_echo "$as_me:$LINENO: result: no" >&5
3830 $as_echo "no" >&6; }
3835 if test "$aros_host_ld" = ""; then
3836 # Extract the first word of "ld", so it can be a program name with args.
3837 set dummy ld
; ac_word
=$2
3838 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3839 $as_echo_n "checking for $ac_word... " >&6; }
3840 if test "${ac_cv_path_aros_host_ld+set}" = set; then
3841 $as_echo_n "(cached) " >&6
3843 case $aros_host_ld in
3845 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3852 test -z "$as_dir" && as_dir
=.
3853 for ac_exec_ext
in '' $ac_executable_extensions; do
3854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3855 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3856 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3866 aros_host_ld
=$ac_cv_path_aros_host_ld
3867 if test -n "$aros_host_ld"; then
3868 { $as_echo "$as_me:$LINENO: result: $aros_host_ld" >&5
3869 $as_echo "$aros_host_ld" >&6; }
3871 { $as_echo "$as_me:$LINENO: result: no" >&5
3872 $as_echo "no" >&6; }
3877 if test "$aros_host_ld" = ""; then
3878 { { $as_echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
3879 $as_echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
3880 { (exit 1); exit 1; }; }
3882 aros_host_make
="make"
3883 aros_host_cflags
=$CFLAGS
3884 aros_host_ldflags
=$LDFLAGS
3885 aros_host_debug
="-g -O0"
3886 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
3887 aros_host_mkargs
="--no-print-directory"
3888 aros_host_incl
="/usr/include"
3889 aros_host_exe_suffix
="$EXEEXT"
3890 aros_host_lib_suffix
=""
3892 for ac_prog
in aclocal aclocal19 aclocal-1.9
3894 # Extract the first word of "$ac_prog", so it can be a program name with args.
3895 set dummy
$ac_prog; ac_word
=$2
3896 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3897 $as_echo_n "checking for $ac_word... " >&6; }
3898 if test "${ac_cv_prog_aros_host_aclocal+set}" = set; then
3899 $as_echo_n "(cached) " >&6
3901 if test -n "$aros_host_aclocal"; then
3902 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
3904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3908 test -z "$as_dir" && as_dir
=.
3909 for ac_exec_ext
in '' $ac_executable_extensions; do
3910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3911 ac_cv_prog_aros_host_aclocal
="$ac_prog"
3912 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3921 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
3922 if test -n "$aros_host_aclocal"; then
3923 { $as_echo "$as_me:$LINENO: result: $aros_host_aclocal" >&5
3924 $as_echo "$aros_host_aclocal" >&6; }
3926 { $as_echo "$as_me:$LINENO: result: no" >&5
3927 $as_echo "no" >&6; }
3931 test -n "$aros_host_aclocal" && break
3934 for ac_prog
in autoconf autoconf259 autoconf253
3936 # Extract the first word of "$ac_prog", so it can be a program name with args.
3937 set dummy
$ac_prog; ac_word
=$2
3938 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3939 $as_echo_n "checking for $ac_word... " >&6; }
3940 if test "${ac_cv_prog_aros_host_autoconf+set}" = set; then
3941 $as_echo_n "(cached) " >&6
3943 if test -n "$aros_host_autoconf"; then
3944 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
3946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3950 test -z "$as_dir" && as_dir
=.
3951 for ac_exec_ext
in '' $ac_executable_extensions; do
3952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3953 ac_cv_prog_aros_host_autoconf
="$ac_prog"
3954 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3963 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
3964 if test -n "$aros_host_autoconf"; then
3965 { $as_echo "$as_me:$LINENO: result: $aros_host_autoconf" >&5
3966 $as_echo "$aros_host_autoconf" >&6; }
3968 { $as_echo "$as_me:$LINENO: result: no" >&5
3969 $as_echo "no" >&6; }
3973 test -n "$aros_host_autoconf" && break
3976 for ac_prog
in autoheader autoheader259 autoheader253
3978 # Extract the first word of "$ac_prog", so it can be a program name with args.
3979 set dummy
$ac_prog; ac_word
=$2
3980 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3981 $as_echo_n "checking for $ac_word... " >&6; }
3982 if test "${ac_cv_prog_aros_host_autoheader+set}" = set; then
3983 $as_echo_n "(cached) " >&6
3985 if test -n "$aros_host_autoheader"; then
3986 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
3988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3992 test -z "$as_dir" && as_dir
=.
3993 for ac_exec_ext
in '' $ac_executable_extensions; do
3994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3995 ac_cv_prog_aros_host_autoheader
="$ac_prog"
3996 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4005 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4006 if test -n "$aros_host_autoheader"; then
4007 { $as_echo "$as_me:$LINENO: result: $aros_host_autoheader" >&5
4008 $as_echo "$aros_host_autoheader" >&6; }
4010 { $as_echo "$as_me:$LINENO: result: no" >&5
4011 $as_echo "no" >&6; }
4015 test -n "$aros_host_autoheader" && break
4018 for ac_prog
in automake automake19 automake-1.9
4020 # Extract the first word of "$ac_prog", so it can be a program name with args.
4021 set dummy
$ac_prog; ac_word
=$2
4022 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4023 $as_echo_n "checking for $ac_word... " >&6; }
4024 if test "${ac_cv_prog_aros_host_automake+set}" = set; then
4025 $as_echo_n "(cached) " >&6
4027 if test -n "$aros_host_automake"; then
4028 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4034 test -z "$as_dir" && as_dir
=.
4035 for ac_exec_ext
in '' $ac_executable_extensions; do
4036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4037 ac_cv_prog_aros_host_automake
="$ac_prog"
4038 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4047 aros_host_automake
=$ac_cv_prog_aros_host_automake
4048 if test -n "$aros_host_automake"; then
4049 { $as_echo "$as_me:$LINENO: result: $aros_host_automake" >&5
4050 $as_echo "$aros_host_automake" >&6; }
4052 { $as_echo "$as_me:$LINENO: result: no" >&5
4053 $as_echo "no" >&6; }
4057 test -n "$aros_host_automake" && break
4061 if test "$aros_host_aclocal" = ""; then
4062 { { $as_echo "$as_me:$LINENO: error: aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." >&5
4063 $as_echo "$as_me: error: aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." >&2;}
4064 { (exit 1); exit 1; }; }
4066 if test "$aros_host_automake" = ""; then
4067 { { $as_echo "$as_me:$LINENO: error: automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." >&5
4068 $as_echo "$as_me: error: automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." >&2;}
4069 { (exit 1); exit 1; }; }
4072 case "$aros_host_cc" in
4074 aros_host_cc_pipe
="-pipe"
4077 aros_host_cc_pipe
=""
4080 aros_host_cc_pipe
=""
4084 aros_target_cc_includes
=""
4086 # This is the main host configuration section. It is where the host
4087 # can change the values of any variables it needs to change. We do
4088 # not look at anything that compiles to the target yet, we'll get
4093 aros_host_arch
="aros"
4094 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4097 aros_host_cpu
="i386"
4100 aros_host_cpu
="x86_64"
4103 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4104 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4105 aros_host_cpu
="$host_cpu"
4111 aros_host_arch
="linux"
4112 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4115 aros_host_cpu
="i386"
4118 aros_host_cpu
="x86_64"
4121 aros_host_cpu
="m68k"
4127 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4128 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4129 aros_host_cpu
="$host_cpu"
4135 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4136 aros_host_make
="gmake"
4137 aros_host_arch
="freebsd"
4138 aros_host_cpu
="i386"
4140 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4145 aros_object_format
="elf_i386"
4149 aros_object_format
="elf_i386_fbsd"
4156 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4157 aros_host_arch
="darwin"
4160 aros_host_cpu
="i386"
4166 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4167 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4168 aros_host_cpu
="$host_cpu"
4172 aros_host_ldflags
="$aros_host_ldflags -liconv"
4177 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4178 aros_host_make
="gmake"
4179 aros_host_arch
="netbsd"
4182 aros_host_cpu
="i386"
4185 aros_host_cpu
="m68k"
4188 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4189 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4190 aros_host_cpu
="$host_cpu"
4193 aros_host_lib_suffix
=".0.0"
4197 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4198 aros_host_make
="gmake"
4199 aros_host_arch
="openbsd"
4202 aros_host_cpu
="i386"
4205 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4206 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4207 aros_host_cpu
="$host_cpu"
4213 aros_host_arch
="solaris"
4214 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4217 aros_host_cpu
="i386"
4220 aros_host_cpu
="sparc"
4223 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4224 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4225 aros_host_cpu
="$host_cpu"
4231 aros_host_arch
="morphos"
4236 aros_host_arch
="amiga"
4241 TOUCH
="/gg/bin/touch"
4244 aros_host_cpu
="m68k"
4250 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4251 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4252 aros_host_cpu
="$host_cpu"
4258 aros_host_arch
="cygwin"
4259 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4262 aros_host_cpu
="i386"
4265 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4266 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4267 aros_host_cpu
="$host_cpu"
4273 aros_host_arch
="mingw32"
4274 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4277 aros_host_cpu
="i386"
4280 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4281 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4282 aros_host_cpu
="$host_cpu"
4287 { { $as_echo "$as_me:$LINENO: error: Unsupported host architecture $host" >&5
4288 $as_echo "$as_me: error: Unsupported host architecture $host" >&2;}
4289 { (exit 1); exit 1; }; }
4293 # Extract the first word of "ar", so it can be a program name with args.
4294 set dummy
ar; ac_word
=$2
4295 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4296 $as_echo_n "checking for $ac_word... " >&6; }
4297 if test "${ac_cv_prog_aros_host_ar+set}" = set; then
4298 $as_echo_n "(cached) " >&6
4300 if test -n "$aros_host_ar"; then
4301 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4307 test -z "$as_dir" && as_dir
=.
4308 for ac_exec_ext
in '' $ac_executable_extensions; do
4309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4310 ac_cv_prog_aros_host_ar
="ar cr"
4311 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4320 aros_host_ar
=$ac_cv_prog_aros_host_ar
4321 if test -n "$aros_host_ar"; then
4322 { $as_echo "$as_me:$LINENO: result: $aros_host_ar" >&5
4323 $as_echo "$aros_host_ar" >&6; }
4325 { $as_echo "$as_me:$LINENO: result: no" >&5
4326 $as_echo "no" >&6; }
4330 if test "$aros_host_ar" = ""; then
4331 { { $as_echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
4332 $as_echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
4333 { (exit 1); exit 1; }; }
4335 # Extract the first word of "ranlib", so it can be a program name with args.
4336 set dummy ranlib
; ac_word
=$2
4337 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4338 $as_echo_n "checking for $ac_word... " >&6; }
4339 if test "${ac_cv_prog_aros_host_ranlib+set}" = set; then
4340 $as_echo_n "(cached) " >&6
4342 if test -n "$aros_host_ranlib"; then
4343 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4349 test -z "$as_dir" && as_dir
=.
4350 for ac_exec_ext
in '' $ac_executable_extensions; do
4351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4352 ac_cv_prog_aros_host_ranlib
="ranlib "
4353 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4362 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4363 if test -n "$aros_host_ranlib"; then
4364 { $as_echo "$as_me:$LINENO: result: $aros_host_ranlib" >&5
4365 $as_echo "$aros_host_ranlib" >&6; }
4367 { $as_echo "$as_me:$LINENO: result: no" >&5
4368 $as_echo "no" >&6; }
4372 if test "$aros_host_ranlib" = ""; then
4373 { { $as_echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
4374 $as_echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
4375 { (exit 1); exit 1; }; }
4377 # Extract the first word of "strip", so it can be a program name with args.
4378 set dummy strip
; ac_word
=$2
4379 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4380 $as_echo_n "checking for $ac_word... " >&6; }
4381 if test "${ac_cv_prog_aros_host_strip+set}" = set; then
4382 $as_echo_n "(cached) " >&6
4384 if test -n "$aros_host_strip"; then
4385 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4391 test -z "$as_dir" && as_dir
=.
4392 for ac_exec_ext
in '' $ac_executable_extensions; do
4393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4394 ac_cv_prog_aros_host_strip
="strip "
4395 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4404 aros_host_strip
=$ac_cv_prog_aros_host_strip
4405 if test -n "$aros_host_strip"; then
4406 { $as_echo "$as_me:$LINENO: result: $aros_host_strip" >&5
4407 $as_echo "$aros_host_strip" >&6; }
4409 { $as_echo "$as_me:$LINENO: result: no" >&5
4410 $as_echo "no" >&6; }
4414 if test "$aros_host_strip" = ""; then
4415 { { $as_echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
4416 $as_echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
4417 { (exit 1); exit 1; }; }
4420 # Extract the first word of "rm", so it can be a program name with args.
4421 set dummy
rm; ac_word
=$2
4422 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4423 $as_echo_n "checking for $ac_word... " >&6; }
4424 if test "${ac_cv_prog_RM+set}" = set; then
4425 $as_echo_n "(cached) " >&6
4427 if test -n "$RM"; then
4428 ac_cv_prog_RM
="$RM" # Let the user override the test.
4430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4434 test -z "$as_dir" && as_dir
=.
4435 for ac_exec_ext
in '' $ac_executable_extensions; do
4436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4437 ac_cv_prog_RM
="rm -rf"
4438 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4448 if test -n "$RM"; then
4449 { $as_echo "$as_me:$LINENO: result: $RM" >&5
4450 $as_echo "$RM" >&6; }
4452 { $as_echo "$as_me:$LINENO: result: no" >&5
4453 $as_echo "no" >&6; }
4457 if test "$RM" = ""; then
4458 { { $as_echo "$as_me:$LINENO: error: rm is required to build AROS. Please install and run configure again." >&5
4459 $as_echo "$as_me: error: rm is required to build AROS. Please install and run configure again." >&2;}
4460 { (exit 1); exit 1; }; }
4462 # Extract the first word of "cp", so it can be a program name with args.
4463 set dummy
cp; ac_word
=$2
4464 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4465 $as_echo_n "checking for $ac_word... " >&6; }
4466 if test "${ac_cv_prog_CP+set}" = set; then
4467 $as_echo_n "(cached) " >&6
4469 if test -n "$CP"; then
4470 ac_cv_prog_CP
="$CP" # Let the user override the test.
4472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4476 test -z "$as_dir" && as_dir
=.
4477 for ac_exec_ext
in '' $ac_executable_extensions; do
4478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4480 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4490 if test -n "$CP"; then
4491 { $as_echo "$as_me:$LINENO: result: $CP" >&5
4492 $as_echo "$CP" >&6; }
4494 { $as_echo "$as_me:$LINENO: result: no" >&5
4495 $as_echo "no" >&6; }
4499 if test "$CP" = ""; then
4500 { { $as_echo "$as_me:$LINENO: error: cp is required to build AROS. Please install and run configure again." >&5
4501 $as_echo "$as_me: error: cp is required to build AROS. Please install and run configure again." >&2;}
4502 { (exit 1); exit 1; }; }
4504 # Extract the first word of "mv", so it can be a program name with args.
4505 set dummy
mv; ac_word
=$2
4506 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4507 $as_echo_n "checking for $ac_word... " >&6; }
4508 if test "${ac_cv_prog_MV+set}" = set; then
4509 $as_echo_n "(cached) " >&6
4511 if test -n "$MV"; then
4512 ac_cv_prog_MV
="$MV" # Let the user override the test.
4514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4518 test -z "$as_dir" && as_dir
=.
4519 for ac_exec_ext
in '' $ac_executable_extensions; do
4520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4522 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4532 if test -n "$MV"; then
4533 { $as_echo "$as_me:$LINENO: result: $MV" >&5
4534 $as_echo "$MV" >&6; }
4536 { $as_echo "$as_me:$LINENO: result: no" >&5
4537 $as_echo "no" >&6; }
4541 if test "$MV" = ""; then
4542 { { $as_echo "$as_me:$LINENO: error: mv is required to build AROS. Please install and run configure again." >&5
4543 $as_echo "$as_me: error: mv is required to build AROS. Please install and run configure again." >&2;}
4544 { (exit 1); exit 1; }; }
4546 # Extract the first word of "echo", so it can be a program name with args.
4547 set dummy
echo; ac_word
=$2
4548 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4549 $as_echo_n "checking for $ac_word... " >&6; }
4550 if test "${ac_cv_prog_ECHO+set}" = set; then
4551 $as_echo_n "(cached) " >&6
4553 if test -n "$ECHO"; then
4554 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
4556 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4560 test -z "$as_dir" && as_dir
=.
4561 for ac_exec_ext
in '' $ac_executable_extensions; do
4562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4563 ac_cv_prog_ECHO
="echo "
4564 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4573 ECHO
=$ac_cv_prog_ECHO
4574 if test -n "$ECHO"; then
4575 { $as_echo "$as_me:$LINENO: result: $ECHO" >&5
4576 $as_echo "$ECHO" >&6; }
4578 { $as_echo "$as_me:$LINENO: result: no" >&5
4579 $as_echo "no" >&6; }
4583 if test "$ECHO" = ""; then
4584 { { $as_echo "$as_me:$LINENO: error: echo is required to build AROS. Please install and run configure again." >&5
4585 $as_echo "$as_me: error: echo is required to build AROS. Please install and run configure again." >&2;}
4586 { (exit 1); exit 1; }; }
4588 # Extract the first word of "mkdir", so it can be a program name with args.
4589 set dummy mkdir
; ac_word
=$2
4590 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4591 $as_echo_n "checking for $ac_word... " >&6; }
4592 if test "${ac_cv_prog_MKDIR+set}" = set; then
4593 $as_echo_n "(cached) " >&6
4595 if test -n "$MKDIR"; then
4596 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
4598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4602 test -z "$as_dir" && as_dir
=.
4603 for ac_exec_ext
in '' $ac_executable_extensions; do
4604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4605 ac_cv_prog_MKDIR
="mkdir -p"
4606 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4615 MKDIR
=$ac_cv_prog_MKDIR
4616 if test -n "$MKDIR"; then
4617 { $as_echo "$as_me:$LINENO: result: $MKDIR" >&5
4618 $as_echo "$MKDIR" >&6; }
4620 { $as_echo "$as_me:$LINENO: result: no" >&5
4621 $as_echo "no" >&6; }
4625 if test "$MKDIR" = ""; then
4626 { { $as_echo "$as_me:$LINENO: error: mkdir is required to build AROS. Please install and run configure again." >&5
4627 $as_echo "$as_me: error: mkdir is required to build AROS. Please install and run configure again." >&2;}
4628 { (exit 1); exit 1; }; }
4630 # Extract the first word of "touch", so it can be a program name with args.
4631 set dummy
touch; ac_word
=$2
4632 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4633 $as_echo_n "checking for $ac_word... " >&6; }
4634 if test "${ac_cv_prog_TOUCH+set}" = set; then
4635 $as_echo_n "(cached) " >&6
4637 if test -n "$TOUCH"; then
4638 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
4640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4644 test -z "$as_dir" && as_dir
=.
4645 for ac_exec_ext
in '' $ac_executable_extensions; do
4646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4647 ac_cv_prog_TOUCH
="touch "
4648 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4657 TOUCH
=$ac_cv_prog_TOUCH
4658 if test -n "$TOUCH"; then
4659 { $as_echo "$as_me:$LINENO: result: $TOUCH" >&5
4660 $as_echo "$TOUCH" >&6; }
4662 { $as_echo "$as_me:$LINENO: result: no" >&5
4663 $as_echo "no" >&6; }
4667 if test "$TOUCH" = ""; then
4668 { { $as_echo "$as_me:$LINENO: error: touch is required to build AROS. Please install and run configure again." >&5
4669 $as_echo "$as_me: error: touch is required to build AROS. Please install and run configure again." >&2;}
4670 { (exit 1); exit 1; }; }
4672 # Extract the first word of "sort", so it can be a program name with args.
4673 set dummy
sort; ac_word
=$2
4674 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4675 $as_echo_n "checking for $ac_word... " >&6; }
4676 if test "${ac_cv_prog_SORT+set}" = set; then
4677 $as_echo_n "(cached) " >&6
4679 if test -n "$SORT"; then
4680 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
4682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4686 test -z "$as_dir" && as_dir
=.
4687 for ac_exec_ext
in '' $ac_executable_extensions; do
4688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4689 ac_cv_prog_SORT
="sort "
4690 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4699 SORT
=$ac_cv_prog_SORT
4700 if test -n "$SORT"; then
4701 { $as_echo "$as_me:$LINENO: result: $SORT" >&5
4702 $as_echo "$SORT" >&6; }
4704 { $as_echo "$as_me:$LINENO: result: no" >&5
4705 $as_echo "no" >&6; }
4709 if test "$SORT" = ""; then
4710 { { $as_echo "$as_me:$LINENO: error: sort is required to build AROS. Please install and run configure again." >&5
4711 $as_echo "$as_me: error: sort is required to build AROS. Please install and run configure again." >&2;}
4712 { (exit 1); exit 1; }; }
4714 # Extract the first word of "uniq", so it can be a program name with args.
4715 set dummy
uniq; ac_word
=$2
4716 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4717 $as_echo_n "checking for $ac_word... " >&6; }
4718 if test "${ac_cv_prog_UNIQ+set}" = set; then
4719 $as_echo_n "(cached) " >&6
4721 if test -n "$UNIQ"; then
4722 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
4724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4728 test -z "$as_dir" && as_dir
=.
4729 for ac_exec_ext
in '' $ac_executable_extensions; do
4730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4731 ac_cv_prog_UNIQ
="uniq "
4732 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4741 UNIQ
=$ac_cv_prog_UNIQ
4742 if test -n "$UNIQ"; then
4743 { $as_echo "$as_me:$LINENO: result: $UNIQ" >&5
4744 $as_echo "$UNIQ" >&6; }
4746 { $as_echo "$as_me:$LINENO: result: no" >&5
4747 $as_echo "no" >&6; }
4751 if test "$UNIQ" = ""; then
4752 { { $as_echo "$as_me:$LINENO: error: uniq is required to build AROS. Please install and run configure again." >&5
4753 $as_echo "$as_me: error: uniq is required to build AROS. Please install and run configure again." >&2;}
4754 { (exit 1); exit 1; }; }
4756 # Extract the first word of "true", so it can be a program name with args.
4757 set dummy true
; ac_word
=$2
4758 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4759 $as_echo_n "checking for $ac_word... " >&6; }
4760 if test "${ac_cv_prog_NOP+set}" = set; then
4761 $as_echo_n "(cached) " >&6
4763 if test -n "$NOP"; then
4764 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
4766 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4770 test -z "$as_dir" && as_dir
=.
4771 for ac_exec_ext
in '' $ac_executable_extensions; do
4772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4773 ac_cv_prog_NOP
="true "
4774 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4784 if test -n "$NOP"; then
4785 { $as_echo "$as_me:$LINENO: result: $NOP" >&5
4786 $as_echo "$NOP" >&6; }
4788 { $as_echo "$as_me:$LINENO: result: no" >&5
4789 $as_echo "no" >&6; }
4793 if test "$NOP" = ""; then
4794 { { $as_echo "$as_me:$LINENO: error: true is required to build AROS. Please install and run configure again." >&5
4795 $as_echo "$as_me: error: true is required to build AROS. Please install and run configure again." >&2;}
4796 { (exit 1); exit 1; }; }
4798 # Extract the first word of "cat", so it can be a program name with args.
4799 set dummy
cat; ac_word
=$2
4800 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4801 $as_echo_n "checking for $ac_word... " >&6; }
4802 if test "${ac_cv_prog_CAT+set}" = set; then
4803 $as_echo_n "(cached) " >&6
4805 if test -n "$CAT"; then
4806 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
4808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4812 test -z "$as_dir" && as_dir
=.
4813 for ac_exec_ext
in '' $ac_executable_extensions; do
4814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4815 ac_cv_prog_CAT
="cat "
4816 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4826 if test -n "$CAT"; then
4827 { $as_echo "$as_me:$LINENO: result: $CAT" >&5
4828 $as_echo "$CAT" >&6; }
4830 { $as_echo "$as_me:$LINENO: result: no" >&5
4831 $as_echo "no" >&6; }
4835 if test "$CAT" = ""; then
4836 { { $as_echo "$as_me:$LINENO: error: cat is required to build AROS. Please install and run configure again." >&5
4837 $as_echo "$as_me: error: cat is required to build AROS. Please install and run configure again." >&2;}
4838 { (exit 1); exit 1; }; }
4840 # Extract the first word of "bison", so it can be a program name with args.
4841 set dummy bison
; ac_word
=$2
4842 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4843 $as_echo_n "checking for $ac_word... " >&6; }
4844 if test "${ac_cv_prog_BISON+set}" = set; then
4845 $as_echo_n "(cached) " >&6
4847 if test -n "$BISON"; then
4848 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4854 test -z "$as_dir" && as_dir
=.
4855 for ac_exec_ext
in '' $ac_executable_extensions; do
4856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4857 ac_cv_prog_BISON
="bison "
4858 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4867 BISON
=$ac_cv_prog_BISON
4868 if test -n "$BISON"; then
4869 { $as_echo "$as_me:$LINENO: result: $BISON" >&5
4870 $as_echo "$BISON" >&6; }
4872 { $as_echo "$as_me:$LINENO: result: no" >&5
4873 $as_echo "no" >&6; }
4877 if test "$BISON" = ""; then
4878 { { $as_echo "$as_me:$LINENO: error: bison is required to build AROS. Please install and run configure again." >&5
4879 $as_echo "$as_me: error: bison is required to build AROS. Please install and run configure again." >&2;}
4880 { (exit 1); exit 1; }; }
4882 # Extract the first word of "flex", so it can be a program name with args.
4883 set dummy flex
; ac_word
=$2
4884 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4885 $as_echo_n "checking for $ac_word... " >&6; }
4886 if test "${ac_cv_prog_FLEX+set}" = set; then
4887 $as_echo_n "(cached) " >&6
4889 if test -n "$FLEX"; then
4890 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4896 test -z "$as_dir" && as_dir
=.
4897 for ac_exec_ext
in '' $ac_executable_extensions; do
4898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4899 ac_cv_prog_FLEX
="flex "
4900 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4909 FLEX
=$ac_cv_prog_FLEX
4910 if test -n "$FLEX"; then
4911 { $as_echo "$as_me:$LINENO: result: $FLEX" >&5
4912 $as_echo "$FLEX" >&6; }
4914 { $as_echo "$as_me:$LINENO: result: no" >&5
4915 $as_echo "no" >&6; }
4919 if test "$FLEX" = ""; then
4920 { { $as_echo "$as_me:$LINENO: error: flex is required to build AROS. Please install and run configure again." >&5
4921 $as_echo "$as_me: error: flex is required to build AROS. Please install and run configure again." >&2;}
4922 { (exit 1); exit 1; }; }
4924 # Extract the first word of "pngtopnm", so it can be a program name with args.
4925 set dummy pngtopnm
; ac_word
=$2
4926 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4927 $as_echo_n "checking for $ac_word... " >&6; }
4928 if test "${ac_cv_prog_PNGTOPNM+set}" = set; then
4929 $as_echo_n "(cached) " >&6
4931 if test -n "$PNGTOPNM"; then
4932 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
4934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4938 test -z "$as_dir" && as_dir
=.
4939 for ac_exec_ext
in '' $ac_executable_extensions; do
4940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4941 ac_cv_prog_PNGTOPNM
="pngtopnm "
4942 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4951 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
4952 if test -n "$PNGTOPNM"; then
4953 { $as_echo "$as_me:$LINENO: result: $PNGTOPNM" >&5
4954 $as_echo "$PNGTOPNM" >&6; }
4956 { $as_echo "$as_me:$LINENO: result: no" >&5
4957 $as_echo "no" >&6; }
4961 if test "$PNGTOPNM" = ""; then
4962 { { $as_echo "$as_me:$LINENO: error: pngtopnm is required to build AROS. Please install and run configure again." >&5
4963 $as_echo "$as_me: error: pngtopnm is required to build AROS. Please install and run configure again." >&2;}
4964 { (exit 1); exit 1; }; }
4966 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
4967 set dummy ppmtoilbm
; ac_word
=$2
4968 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4969 $as_echo_n "checking for $ac_word... " >&6; }
4970 if test "${ac_cv_prog_PPMTOILBM+set}" = set; then
4971 $as_echo_n "(cached) " >&6
4973 if test -n "$PPMTOILBM"; then
4974 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
4976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4980 test -z "$as_dir" && as_dir
=.
4981 for ac_exec_ext
in '' $ac_executable_extensions; do
4982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4983 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
4984 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4993 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
4994 if test -n "$PPMTOILBM"; then
4995 { $as_echo "$as_me:$LINENO: result: $PPMTOILBM" >&5
4996 $as_echo "$PPMTOILBM" >&6; }
4998 { $as_echo "$as_me:$LINENO: result: no" >&5
4999 $as_echo "no" >&6; }
5003 if test "$PPMTOILBM" = ""; then
5004 { { $as_echo "$as_me:$LINENO: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&5
5005 $as_echo "$as_me: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&2;}
5006 { (exit 1); exit 1; }; }
5008 # Extract the first word of "sed", so it can be a program name with args.
5009 set dummy
sed; ac_word
=$2
5010 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5011 $as_echo_n "checking for $ac_word... " >&6; }
5012 if test "${ac_cv_prog_SED+set}" = set; then
5013 $as_echo_n "(cached) " >&6
5015 if test -n "$SED"; then
5016 ac_cv_prog_SED
="$SED" # Let the user override the test.
5018 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5022 test -z "$as_dir" && as_dir
=.
5023 for ac_exec_ext
in '' $ac_executable_extensions; do
5024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5025 ac_cv_prog_SED
="sed "
5026 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5036 if test -n "$SED"; then
5037 { $as_echo "$as_me:$LINENO: result: $SED" >&5
5038 $as_echo "$SED" >&6; }
5040 { $as_echo "$as_me:$LINENO: result: no" >&5
5041 $as_echo "no" >&6; }
5045 if test "$SED" = ""; then
5046 { { $as_echo "$as_me:$LINENO: error: sed is required to build AROS. Please install and run configure again." >&5
5047 $as_echo "$as_me: error: sed is required to build AROS. Please install and run configure again." >&2;}
5048 { (exit 1); exit 1; }; }
5050 # Extract the first word of "chmod", so it can be a program name with args.
5051 set dummy
chmod; ac_word
=$2
5052 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5053 $as_echo_n "checking for $ac_word... " >&6; }
5054 if test "${ac_cv_prog_CHMOD+set}" = set; then
5055 $as_echo_n "(cached) " >&6
5057 if test -n "$CHMOD"; then
5058 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5064 test -z "$as_dir" && as_dir
=.
5065 for ac_exec_ext
in '' $ac_executable_extensions; do
5066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5067 ac_cv_prog_CHMOD
="chmod "
5068 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5077 CHMOD
=$ac_cv_prog_CHMOD
5078 if test -n "$CHMOD"; then
5079 { $as_echo "$as_me:$LINENO: result: $CHMOD" >&5
5080 $as_echo "$CHMOD" >&6; }
5082 { $as_echo "$as_me:$LINENO: result: no" >&5
5083 $as_echo "no" >&6; }
5087 if test "$CHMOD" = ""; then
5088 { { $as_echo "$as_me:$LINENO: error: chmod is required to build AROS. Please install and run configure again." >&5
5089 $as_echo "$as_me: error: chmod is required to build AROS. Please install and run configure again." >&2;}
5090 { (exit 1); exit 1; }; }
5097 if test -n "$PYTHON"; then
5098 # If the user set $PYTHON, use it and don't search something else.
5099 { $as_echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.2.1" >&5
5100 $as_echo_n "checking whether $PYTHON version >= 2.2.1... " >&6; }
5101 prog
="import sys, string
5102 # split strings by '.' and convert to numeric. Append some zeros
5103 # because we need at least 4 digits for the hex conversion.
5104 minver = map(int, string.split('2.2.1', '.')) + [0, 0, 0]
5106 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5107 sys.exit(sys.hexversion < minverhex)"
5108 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5109 ($PYTHON -c "$prog") >&5 2>&5
5111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5112 (exit $ac_status); }; then
5113 { $as_echo "$as_me:$LINENO: result: yes" >&5
5114 $as_echo "yes" >&6; }
5116 { { $as_echo "$as_me:$LINENO: error: too old" >&5
5117 $as_echo "$as_me: error: too old" >&2;}
5118 { (exit 1); exit 1; }; }
5121 am_display_PYTHON
=$PYTHON
5123 # Otherwise, try each interpreter until we find one that satisfies
5125 { $as_echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.2.1" >&5
5126 $as_echo_n "checking for a Python interpreter with version >= 2.2.1... " >&6; }
5127 if test "${am_cv_pathless_PYTHON+set}" = set; then
5128 $as_echo_n "(cached) " >&6
5131 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
5132 test "$am_cv_pathless_PYTHON" = none
&& break
5133 prog
="import sys, string
5134 # split strings by '.' and convert to numeric. Append some zeros
5135 # because we need at least 4 digits for the hex conversion.
5136 minver = map(int, string.split('2.2.1', '.')) + [0, 0, 0]
5138 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5139 sys.exit(sys.hexversion < minverhex)"
5140 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5141 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5144 (exit $ac_status); }; then
5150 { $as_echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
5151 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5152 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5153 if test "$am_cv_pathless_PYTHON" = none
; then
5156 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5157 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5158 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5159 $as_echo_n "checking for $ac_word... " >&6; }
5160 if test "${ac_cv_path_PYTHON+set}" = set; then
5161 $as_echo_n "(cached) " >&6
5165 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5172 test -z "$as_dir" && as_dir
=.
5173 for ac_exec_ext
in '' $ac_executable_extensions; do
5174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5175 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5176 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5186 PYTHON
=$ac_cv_path_PYTHON
5187 if test -n "$PYTHON"; then
5188 { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
5189 $as_echo "$PYTHON" >&6; }
5191 { $as_echo "$as_me:$LINENO: result: no" >&5
5192 $as_echo "no" >&6; }
5197 am_display_PYTHON
=$am_cv_pathless_PYTHON
5201 if test "$PYTHON" = :; then
5202 { { $as_echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
5203 $as_echo "$as_me: error: no suitable Python interpreter found" >&2;}
5204 { (exit 1); exit 1; }; }
5208 { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
5209 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5210 if test "${am_cv_python_version+set}" = set; then
5211 $as_echo_n "(cached) " >&6
5213 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
5215 { $as_echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
5216 $as_echo "$am_cv_python_version" >&6; }
5217 PYTHON_VERSION
=$am_cv_python_version
5221 PYTHON_PREFIX
='${prefix}'
5223 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5227 { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
5228 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5229 if test "${am_cv_python_platform+set}" = set; then
5230 $as_echo_n "(cached) " >&6
5232 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
5234 { $as_echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
5235 $as_echo "$am_cv_python_platform" >&6; }
5236 PYTHON_PLATFORM
=$am_cv_python_platform
5241 { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
5242 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5243 if test "${am_cv_python_pythondir+set}" = set; then
5244 $as_echo_n "(cached) " >&6
5246 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5247 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5249 { $as_echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
5250 $as_echo "$am_cv_python_pythondir" >&6; }
5251 pythondir
=$am_cv_python_pythondir
5255 pkgpythondir
=\
${pythondir}/$PACKAGE
5258 { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
5259 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5260 if test "${am_cv_python_pyexecdir+set}" = set; then
5261 $as_echo_n "(cached) " >&6
5263 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5264 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5266 { $as_echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
5267 $as_echo "$am_cv_python_pyexecdir" >&6; }
5268 pyexecdir
=$am_cv_python_pyexecdir
5272 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5290 # Check for some includes for the X11 HIDD and the kernel
5293 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5294 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5295 if test "${ac_cv_path_GREP+set}" = set; then
5296 $as_echo_n "(cached) " >&6
5298 if test -z "$GREP"; then
5299 ac_path_GREP_found
=false
5300 # Loop through the user's path and test for each of PROGNAME-LIST
5301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5302 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5305 test -z "$as_dir" && as_dir
=.
5306 for ac_prog
in grep ggrep
; do
5307 for ac_exec_ext
in '' $ac_executable_extensions; do
5308 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5309 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5310 # Check for GNU ac_path_GREP and select it if it is found.
5311 # Check for GNU $ac_path_GREP
5312 case `"$ac_path_GREP" --version 2>&1` in
5314 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5317 $as_echo_n 0123456789 >"conftest.in"
5320 cat "conftest.in" "conftest.in" >"conftest.tmp"
5321 mv "conftest.tmp" "conftest.in"
5322 cp "conftest.in" "conftest.nl"
5323 $as_echo 'GREP' >> "conftest.nl"
5324 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5325 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5326 ac_count
=`expr $ac_count + 1`
5327 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5328 # Best one so far, save it but keep looking for a better one
5329 ac_cv_path_GREP
="$ac_path_GREP"
5330 ac_path_GREP_max
=$ac_count
5332 # 10*(2^10) chars as input seems more than enough
5333 test $ac_count -gt 10 && break
5335 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5338 $ac_path_GREP_found && break 3
5343 if test -z "$ac_cv_path_GREP"; then
5344 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5345 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5346 { (exit 1); exit 1; }; }
5349 ac_cv_path_GREP
=$GREP
5353 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5354 $as_echo "$ac_cv_path_GREP" >&6; }
5355 GREP
="$ac_cv_path_GREP"
5358 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
5359 $as_echo_n "checking for egrep... " >&6; }
5360 if test "${ac_cv_path_EGREP+set}" = set; then
5361 $as_echo_n "(cached) " >&6
5363 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5364 then ac_cv_path_EGREP
="$GREP -E"
5366 if test -z "$EGREP"; then
5367 ac_path_EGREP_found
=false
5368 # Loop through the user's path and test for each of PROGNAME-LIST
5369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5370 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5373 test -z "$as_dir" && as_dir
=.
5374 for ac_prog
in egrep; do
5375 for ac_exec_ext
in '' $ac_executable_extensions; do
5376 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5377 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5378 # Check for GNU ac_path_EGREP and select it if it is found.
5379 # Check for GNU $ac_path_EGREP
5380 case `"$ac_path_EGREP" --version 2>&1` in
5382 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5385 $as_echo_n 0123456789 >"conftest.in"
5388 cat "conftest.in" "conftest.in" >"conftest.tmp"
5389 mv "conftest.tmp" "conftest.in"
5390 cp "conftest.in" "conftest.nl"
5391 $as_echo 'EGREP' >> "conftest.nl"
5392 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5393 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5394 ac_count
=`expr $ac_count + 1`
5395 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5396 # Best one so far, save it but keep looking for a better one
5397 ac_cv_path_EGREP
="$ac_path_EGREP"
5398 ac_path_EGREP_max
=$ac_count
5400 # 10*(2^10) chars as input seems more than enough
5401 test $ac_count -gt 10 && break
5403 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5406 $ac_path_EGREP_found && break 3
5411 if test -z "$ac_cv_path_EGREP"; then
5412 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5413 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5414 { (exit 1); exit 1; }; }
5417 ac_cv_path_EGREP
=$EGREP
5422 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5423 $as_echo "$ac_cv_path_EGREP" >&6; }
5424 EGREP
="$ac_cv_path_EGREP"
5427 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5428 $as_echo_n "checking for ANSI C header files... " >&6; }
5429 if test "${ac_cv_header_stdc+set}" = set; then
5430 $as_echo_n "(cached) " >&6
5432 cat >conftest.
$ac_ext <<_ACEOF
5435 cat confdefs.h
>>conftest.
$ac_ext
5436 cat >>conftest.
$ac_ext <<_ACEOF
5437 /* end confdefs.h. */
5451 rm -f conftest.
$ac_objext
5452 if { (ac_try
="$ac_compile"
5454 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5455 *) ac_try_echo=$ac_try;;
5457 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5458 $as_echo "$ac_try_echo") >&5
5459 (eval "$ac_compile") 2>conftest.er1
5461 grep -v '^ *+' conftest.er1 >conftest.err
5463 cat conftest.err >&5
5464 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5465 (exit $ac_status); } && {
5466 test -z "$ac_c_werror_flag" ||
5467 test ! -s conftest.err
5468 } && test -s conftest.$ac_objext; then
5469 ac_cv_header_stdc=yes
5471 $as_echo "$as_me: failed program was:" >&5
5472 sed 's/^/| /' conftest.$ac_ext >&5
5474 ac_cv_header_stdc=no
5477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5479 if test $ac_cv_header_stdc = yes; then
5480 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5481 cat >conftest.$ac_ext <<_ACEOF
5484 cat confdefs.h >>conftest.$ac_ext
5485 cat >>conftest.$ac_ext <<_ACEOF
5486 /* end confdefs.h. */
5490 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5491 $EGREP "memchr" >/dev/null 2>&1; then
5494 ac_cv_header_stdc=no
5500 if test $ac_cv_header_stdc = yes; then
5501 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5502 cat >conftest.$ac_ext <<_ACEOF
5505 cat confdefs.h >>conftest.$ac_ext
5506 cat >>conftest.$ac_ext <<_ACEOF
5507 /* end confdefs.h. */
5511 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5512 $EGREP "free" >/dev/null 2>&1; then
5515 ac_cv_header_stdc=no
5521 if test $ac_cv_header_stdc = yes; then
5522 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5523 if test "$cross_compiling" = yes; then
5526 cat >conftest.$ac_ext <<_ACEOF
5529 cat confdefs.h >>conftest.$ac_ext
5530 cat >>conftest.$ac_ext <<_ACEOF
5531 /* end confdefs.h. */
5534 #if ((' ' & 0x0FF) == 0x020)
5535 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5536 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5538 # define ISLOWER(c) \
5539 (('a' <= (c) && (c) <= 'i') \
5540 || ('j' <= (c) && (c) <= 'r') \
5541 || ('s' <= (c) && (c) <= 'z'))
5542 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5545 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5550 for (i = 0; i < 256; i++)
5551 if (XOR (islower (i), ISLOWER (i))
5552 || toupper (i) != TOUPPER (i))
5557 rm -f conftest$ac_exeext
5558 if { (ac_try="$ac_link"
5560 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5561 *) ac_try_echo
=$ac_try;;
5563 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5564 $as_echo "$ac_try_echo") >&5
5565 (eval "$ac_link") 2>&5
5567 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5568 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5569 { (case "(($ac_try" in
5570 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5571 *) ac_try_echo=$ac_try;;
5573 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5574 $as_echo "$ac_try_echo") >&5
5575 (eval "$ac_try") 2>&5
5577 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5578 (exit $ac_status); }; }; then
5581 $as_echo "$as_me: program exited with status $ac_status" >&5
5582 $as_echo "$as_me: failed program was:" >&5
5583 sed 's/^/| /' conftest.$ac_ext >&5
5586 ac_cv_header_stdc=no
5588 rm -rf conftest.dSYM
5589 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5595 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5596 $as_echo "$ac_cv_header_stdc" >&6; }
5597 if test $ac_cv_header_stdc = yes; then
5599 cat >>confdefs.h <<\_ACEOF
5600 #define STDC_HEADERS 1
5605 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5615 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5616 inttypes.h stdint.h unistd.h
5618 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5619 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5620 $as_echo_n "checking for $ac_header... " >&6; }
5621 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5622 $as_echo_n "(cached) " >&6
5624 cat >conftest.$ac_ext <<_ACEOF
5627 cat confdefs.h >>conftest.$ac_ext
5628 cat >>conftest.$ac_ext <<_ACEOF
5629 /* end confdefs.h. */
5630 $ac_includes_default
5632 #include <$ac_header>
5634 rm -f conftest.$ac_objext
5635 if { (ac_try="$ac_compile"
5637 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5638 *) ac_try_echo
=$ac_try;;
5640 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5641 $as_echo "$ac_try_echo") >&5
5642 (eval "$ac_compile") 2>conftest.er1
5644 grep -v '^ *+' conftest.er1
>conftest.err
5646 cat conftest.err
>&5
5647 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5648 (exit $ac_status); } && {
5649 test -z "$ac_c_werror_flag" ||
5650 test ! -s conftest.err
5651 } && test -s conftest.
$ac_objext; then
5652 eval "$as_ac_Header=yes"
5654 $as_echo "$as_me: failed program was:" >&5
5655 sed 's/^/| /' conftest.
$ac_ext >&5
5657 eval "$as_ac_Header=no"
5660 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5662 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5663 $as_echo "$as_val"'`
5664 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5665 $as_echo "$ac_res" >&6; }
5666 as_val
=`eval 'as_val=${'$as_ac_Header'}
5667 $as_echo "$as_val"'`
5668 if test "x$as_val" = x
""yes; then
5669 cat >>confdefs.h
<<_ACEOF
5670 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5687 for ac_header
in sys
/ipc.h sys
/shm.h \
5688 sys
/mmap.h sys
/mman.h sysexits.h \
5689 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
5692 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5693 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5694 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5695 $as_echo_n "checking for $ac_header... " >&6; }
5696 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5697 $as_echo_n "(cached) " >&6
5699 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5700 $as_echo "$as_val"'`
5701 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5702 $as_echo "$ac_res" >&6; }
5704 # Is the header compilable?
5705 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5706 $as_echo_n "checking $ac_header usability... " >&6; }
5707 cat >conftest.
$ac_ext <<_ACEOF
5710 cat confdefs.h
>>conftest.
$ac_ext
5711 cat >>conftest.
$ac_ext <<_ACEOF
5712 /* end confdefs.h. */
5713 $ac_includes_default
5714 #include <$ac_header>
5716 rm -f conftest.
$ac_objext
5717 if { (ac_try
="$ac_compile"
5719 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5720 *) ac_try_echo=$ac_try;;
5722 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5723 $as_echo "$ac_try_echo") >&5
5724 (eval "$ac_compile") 2>conftest.er1
5726 grep -v '^ *+' conftest.er1 >conftest.err
5728 cat conftest.err >&5
5729 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5730 (exit $ac_status); } && {
5731 test -z "$ac_c_werror_flag" ||
5732 test ! -s conftest.err
5733 } && test -s conftest.$ac_objext; then
5734 ac_header_compiler=yes
5736 $as_echo "$as_me: failed program was:" >&5
5737 sed 's/^/| /' conftest.$ac_ext >&5
5739 ac_header_compiler=no
5742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5743 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5744 $as_echo "$ac_header_compiler" >&6; }
5746 # Is the header present?
5747 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5748 $as_echo_n "checking $ac_header presence... " >&6; }
5749 cat >conftest.$ac_ext <<_ACEOF
5752 cat confdefs.h >>conftest.$ac_ext
5753 cat >>conftest.$ac_ext <<_ACEOF
5754 /* end confdefs.h. */
5755 #include <$ac_header>
5757 if { (ac_try="$ac_cpp conftest.$ac_ext"
5759 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5760 *) ac_try_echo
=$ac_try;;
5762 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5763 $as_echo "$ac_try_echo") >&5
5764 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5766 grep -v '^ *+' conftest.er1
>conftest.err
5768 cat conftest.err
>&5
5769 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5770 (exit $ac_status); } >/dev
/null
&& {
5771 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5772 test ! -s conftest.err
5774 ac_header_preproc
=yes
5776 $as_echo "$as_me: failed program was:" >&5
5777 sed 's/^/| /' conftest.
$ac_ext >&5
5779 ac_header_preproc
=no
5782 rm -f conftest.err conftest.
$ac_ext
5783 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5784 $as_echo "$ac_header_preproc" >&6; }
5786 # So? What about this header?
5787 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5789 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5790 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5791 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5792 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5793 ac_header_preproc
=yes
5796 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5797 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5798 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5799 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5800 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5801 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5802 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5803 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5804 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5805 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5806 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5807 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5811 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5812 $as_echo_n "checking for $ac_header... " >&6; }
5813 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5814 $as_echo_n "(cached) " >&6
5816 eval "$as_ac_Header=\$ac_header_preproc"
5818 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5819 $as_echo "$as_val"'`
5820 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5821 $as_echo "$ac_res" >&6; }
5824 as_val
=`eval 'as_val=${'$as_ac_Header'}
5825 $as_echo "$as_val"'`
5826 if test "x$as_val" = x
""yes; then
5827 cat >>confdefs.h
<<_ACEOF
5828 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5837 for ac_header
in sys
/mount.h
5839 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5840 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5841 $as_echo_n "checking for $ac_header... " >&6; }
5842 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5843 $as_echo_n "(cached) " >&6
5845 cat >conftest.
$ac_ext <<_ACEOF
5848 cat confdefs.h
>>conftest.
$ac_ext
5849 cat >>conftest.
$ac_ext <<_ACEOF
5850 /* end confdefs.h. */
5851 #include <sys/param.h>
5853 #include <$ac_header>
5855 rm -f conftest.
$ac_objext
5856 if { (ac_try
="$ac_compile"
5858 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5859 *) ac_try_echo=$ac_try;;
5861 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5862 $as_echo "$ac_try_echo") >&5
5863 (eval "$ac_compile") 2>conftest.er1
5865 grep -v '^ *+' conftest.er1 >conftest.err
5867 cat conftest.err >&5
5868 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5869 (exit $ac_status); } && {
5870 test -z "$ac_c_werror_flag" ||
5871 test ! -s conftest.err
5872 } && test -s conftest.$ac_objext; then
5873 eval "$as_ac_Header=yes"
5875 $as_echo "$as_me: failed program was:" >&5
5876 sed 's/^/| /' conftest.$ac_ext >&5
5878 eval "$as_ac_Header=no"
5881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5883 ac_res=`eval 'as_val=${'$as_ac_Header'}
5884 $as_echo "$as_val"'`
5885 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5886 $as_echo "$ac_res" >&6; }
5887 as_val=`eval 'as_val=${'$as_ac_Header'}
5888 $as_echo "$as_val"'`
5889 if test "x$as_val" = x""yes; then
5890 cat >>confdefs.h <<_ACEOF
5891 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5905 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
5906 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
5907 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
5908 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
5909 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5910 $as_echo_n "(cached) " >&6
5912 cat >conftest.$ac_ext <<_ACEOF
5915 cat confdefs.h >>conftest.$ac_ext
5916 cat >>conftest.$ac_ext <<_ACEOF
5917 /* end confdefs.h. */
5918 #include <sys/types.h>
5930 rm -f conftest.$ac_objext
5931 if { (ac_try="$ac_compile"
5933 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5934 *) ac_try_echo
=$ac_try;;
5936 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5937 $as_echo "$ac_try_echo") >&5
5938 (eval "$ac_compile") 2>conftest.er1
5940 grep -v '^ *+' conftest.er1
>conftest.err
5942 cat conftest.err
>&5
5943 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5944 (exit $ac_status); } && {
5945 test -z "$ac_c_werror_flag" ||
5946 test ! -s conftest.err
5947 } && test -s conftest.
$ac_objext; then
5948 eval "$as_ac_Header=yes"
5950 $as_echo "$as_me: failed program was:" >&5
5951 sed 's/^/| /' conftest.
$ac_ext >&5
5953 eval "$as_ac_Header=no"
5956 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5958 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5959 $as_echo "$as_val"'`
5960 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5961 $as_echo "$ac_res" >&6; }
5962 as_val
=`eval 'as_val=${'$as_ac_Header'}
5963 $as_echo "$as_val"'`
5964 if test "x$as_val" = x
""yes; then
5965 cat >>confdefs.h
<<_ACEOF
5966 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5969 ac_header_dirent
=$ac_hdr; break
5973 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5974 if test $ac_header_dirent = dirent.h
; then
5975 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
5976 $as_echo_n "checking for library containing opendir... " >&6; }
5977 if test "${ac_cv_search_opendir+set}" = set; then
5978 $as_echo_n "(cached) " >&6
5980 ac_func_search_save_LIBS
=$LIBS
5981 cat >conftest.
$ac_ext <<_ACEOF
5984 cat confdefs.h
>>conftest.
$ac_ext
5985 cat >>conftest.
$ac_ext <<_ACEOF
5986 /* end confdefs.h. */
5988 /* Override any GCC internal prototype to avoid an error.
5989 Use char because int might match the return type of a GCC
5990 builtin and then its argument prototype would still apply. */
6003 for ac_lib
in '' dir
; do
6004 if test -z "$ac_lib"; then
6005 ac_res
="none required"
6008 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6010 rm -f conftest.
$ac_objext conftest
$ac_exeext
6011 if { (ac_try
="$ac_link"
6013 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6014 *) ac_try_echo=$ac_try;;
6016 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6017 $as_echo "$ac_try_echo") >&5
6018 (eval "$ac_link") 2>conftest.er1
6020 grep -v '^ *+' conftest.er1 >conftest.err
6022 cat conftest.err >&5
6023 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6024 (exit $ac_status); } && {
6025 test -z "$ac_c_werror_flag" ||
6026 test ! -s conftest.err
6027 } && test -s conftest$ac_exeext && {
6028 test "$cross_compiling" = yes ||
6029 $as_test_x conftest$ac_exeext
6031 ac_cv_search_opendir=$ac_res
6033 $as_echo "$as_me: failed program was:" >&5
6034 sed 's/^/| /' conftest.$ac_ext >&5
6039 rm -rf conftest.dSYM
6040 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6042 if test "${ac_cv_search_opendir+set}" = set; then
6046 if test "${ac_cv_search_opendir+set}" = set; then
6049 ac_cv_search_opendir=no
6052 LIBS=$ac_func_search_save_LIBS
6054 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6055 $as_echo "$ac_cv_search_opendir" >&6; }
6056 ac_res=$ac_cv_search_opendir
6057 if test "$ac_res" != no; then
6058 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6063 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
6064 $as_echo_n "checking for library containing opendir... " >&6; }
6065 if test "${ac_cv_search_opendir+set}" = set; then
6066 $as_echo_n "(cached) " >&6
6068 ac_func_search_save_LIBS=$LIBS
6069 cat >conftest.$ac_ext <<_ACEOF
6072 cat confdefs.h >>conftest.$ac_ext
6073 cat >>conftest.$ac_ext <<_ACEOF
6074 /* end confdefs.h. */
6076 /* Override any GCC internal prototype to avoid an error.
6077 Use char because int might match the return type of a GCC
6078 builtin and then its argument prototype would still apply. */
6091 for ac_lib in '' x; do
6092 if test -z "$ac_lib"; then
6093 ac_res="none required"
6096 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6098 rm -f conftest.$ac_objext conftest$ac_exeext
6099 if { (ac_try="$ac_link"
6101 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6102 *) ac_try_echo
=$ac_try;;
6104 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6105 $as_echo "$ac_try_echo") >&5
6106 (eval "$ac_link") 2>conftest.er1
6108 grep -v '^ *+' conftest.er1
>conftest.err
6110 cat conftest.err
>&5
6111 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6112 (exit $ac_status); } && {
6113 test -z "$ac_c_werror_flag" ||
6114 test ! -s conftest.err
6115 } && test -s conftest
$ac_exeext && {
6116 test "$cross_compiling" = yes ||
6117 $as_test_x conftest
$ac_exeext
6119 ac_cv_search_opendir
=$ac_res
6121 $as_echo "$as_me: failed program was:" >&5
6122 sed 's/^/| /' conftest.
$ac_ext >&5
6127 rm -rf conftest.dSYM
6128 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6130 if test "${ac_cv_search_opendir+set}" = set; then
6134 if test "${ac_cv_search_opendir+set}" = set; then
6137 ac_cv_search_opendir
=no
6140 LIBS
=$ac_func_search_save_LIBS
6142 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6143 $as_echo "$ac_cv_search_opendir" >&6; }
6144 ac_res
=$ac_cv_search_opendir
6145 if test "$ac_res" != no
; then
6146 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6152 { $as_echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
6153 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6154 if test "${ac_cv_header_stat_broken+set}" = set; then
6155 $as_echo_n "(cached) " >&6
6157 cat >conftest.
$ac_ext <<_ACEOF
6160 cat confdefs.h
>>conftest.
$ac_ext
6161 cat >>conftest.
$ac_ext <<_ACEOF
6162 /* end confdefs.h. */
6163 #include <sys/types.h>
6164 #include <sys/stat.h>
6166 #if defined S_ISBLK && defined S_IFDIR
6167 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6170 #if defined S_ISBLK && defined S_IFCHR
6171 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6174 #if defined S_ISLNK && defined S_IFREG
6175 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6178 #if defined S_ISSOCK && defined S_IFREG
6179 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6183 rm -f conftest.
$ac_objext
6184 if { (ac_try
="$ac_compile"
6186 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6187 *) ac_try_echo=$ac_try;;
6189 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6190 $as_echo "$ac_try_echo") >&5
6191 (eval "$ac_compile") 2>conftest.er1
6193 grep -v '^ *+' conftest.er1 >conftest.err
6195 cat conftest.err >&5
6196 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6197 (exit $ac_status); } && {
6198 test -z "$ac_c_werror_flag" ||
6199 test ! -s conftest.err
6200 } && test -s conftest.$ac_objext; then
6201 ac_cv_header_stat_broken=no
6203 $as_echo "$as_me: failed program was:" >&5
6204 sed 's/^/| /' conftest.$ac_ext >&5
6206 ac_cv_header_stat_broken=yes
6209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6211 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
6212 $as_echo "$ac_cv_header_stat_broken" >&6; }
6213 if test $ac_cv_header_stat_broken = yes; then
6215 cat >>confdefs.h <<\_ACEOF
6216 #define STAT_MACROS_BROKEN 1
6221 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6222 $as_echo_n "checking for ANSI C header files... " >&6; }
6223 if test "${ac_cv_header_stdc+set}" = set; then
6224 $as_echo_n "(cached) " >&6
6226 cat >conftest.$ac_ext <<_ACEOF
6229 cat confdefs.h >>conftest.$ac_ext
6230 cat >>conftest.$ac_ext <<_ACEOF
6231 /* end confdefs.h. */
6245 rm -f conftest.$ac_objext
6246 if { (ac_try="$ac_compile"
6248 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6249 *) ac_try_echo
=$ac_try;;
6251 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6252 $as_echo "$ac_try_echo") >&5
6253 (eval "$ac_compile") 2>conftest.er1
6255 grep -v '^ *+' conftest.er1
>conftest.err
6257 cat conftest.err
>&5
6258 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6259 (exit $ac_status); } && {
6260 test -z "$ac_c_werror_flag" ||
6261 test ! -s conftest.err
6262 } && test -s conftest.
$ac_objext; then
6263 ac_cv_header_stdc
=yes
6265 $as_echo "$as_me: failed program was:" >&5
6266 sed 's/^/| /' conftest.
$ac_ext >&5
6268 ac_cv_header_stdc
=no
6271 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6273 if test $ac_cv_header_stdc = yes; then
6274 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6275 cat >conftest.
$ac_ext <<_ACEOF
6278 cat confdefs.h
>>conftest.
$ac_ext
6279 cat >>conftest.
$ac_ext <<_ACEOF
6280 /* end confdefs.h. */
6284 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6285 $EGREP "memchr" >/dev
/null
2>&1; then
6288 ac_cv_header_stdc
=no
6294 if test $ac_cv_header_stdc = yes; then
6295 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6296 cat >conftest.
$ac_ext <<_ACEOF
6299 cat confdefs.h
>>conftest.
$ac_ext
6300 cat >>conftest.
$ac_ext <<_ACEOF
6301 /* end confdefs.h. */
6305 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6306 $EGREP "free" >/dev
/null
2>&1; then
6309 ac_cv_header_stdc
=no
6315 if test $ac_cv_header_stdc = yes; then
6316 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6317 if test "$cross_compiling" = yes; then
6320 cat >conftest.
$ac_ext <<_ACEOF
6323 cat confdefs.h
>>conftest.
$ac_ext
6324 cat >>conftest.
$ac_ext <<_ACEOF
6325 /* end confdefs.h. */
6328 #if ((' ' & 0x0FF) == 0x020)
6329 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6330 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6332 # define ISLOWER(c) \
6333 (('a' <= (c) && (c) <= 'i') \
6334 || ('j' <= (c) && (c) <= 'r') \
6335 || ('s' <= (c) && (c) <= 'z'))
6336 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6339 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6344 for (i = 0; i < 256; i++)
6345 if (XOR (islower (i), ISLOWER (i))
6346 || toupper (i) != TOUPPER (i))
6351 rm -f conftest
$ac_exeext
6352 if { (ac_try
="$ac_link"
6354 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6355 *) ac_try_echo=$ac_try;;
6357 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6358 $as_echo "$ac_try_echo") >&5
6359 (eval "$ac_link") 2>&5
6361 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6362 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6363 { (case "(($ac_try" in
6364 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6365 *) ac_try_echo
=$ac_try;;
6367 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6368 $as_echo "$ac_try_echo") >&5
6369 (eval "$ac_try") 2>&5
6371 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6372 (exit $ac_status); }; }; then
6375 $as_echo "$as_me: program exited with status $ac_status" >&5
6376 $as_echo "$as_me: failed program was:" >&5
6377 sed 's/^/| /' conftest.
$ac_ext >&5
6380 ac_cv_header_stdc
=no
6382 rm -rf conftest.dSYM
6383 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6389 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6390 $as_echo "$ac_cv_header_stdc" >&6; }
6391 if test $ac_cv_header_stdc = yes; then
6393 cat >>confdefs.h
<<\_ACEOF
6394 #define STDC_HEADERS 1
6399 { $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
6400 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6401 if test "${ac_cv_header_sys_wait_h+set}" = set; then
6402 $as_echo_n "(cached) " >&6
6404 cat >conftest.
$ac_ext <<_ACEOF
6407 cat confdefs.h
>>conftest.
$ac_ext
6408 cat >>conftest.
$ac_ext <<_ACEOF
6409 /* end confdefs.h. */
6410 #include <sys/types.h>
6411 #include <sys/wait.h>
6413 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6416 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6424 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6429 rm -f conftest.
$ac_objext
6430 if { (ac_try
="$ac_compile"
6432 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6433 *) ac_try_echo=$ac_try;;
6435 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6436 $as_echo "$ac_try_echo") >&5
6437 (eval "$ac_compile") 2>conftest.er1
6439 grep -v '^ *+' conftest.er1 >conftest.err
6441 cat conftest.err >&5
6442 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6443 (exit $ac_status); } && {
6444 test -z "$ac_c_werror_flag" ||
6445 test ! -s conftest.err
6446 } && test -s conftest.$ac_objext; then
6447 ac_cv_header_sys_wait_h=yes
6449 $as_echo "$as_me: failed program was:" >&5
6450 sed 's/^/| /' conftest.$ac_ext >&5
6452 ac_cv_header_sys_wait_h=no
6455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6457 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
6458 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6459 if test $ac_cv_header_sys_wait_h = yes; then
6461 cat >>confdefs.h <<\_ACEOF
6462 #define HAVE_SYS_WAIT_H 1
6467 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6468 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6469 if test "${ac_cv_header_time+set}" = set; then
6470 $as_echo_n "(cached) " >&6
6472 cat >conftest.$ac_ext <<_ACEOF
6475 cat confdefs.h >>conftest.$ac_ext
6476 cat >>conftest.$ac_ext <<_ACEOF
6477 /* end confdefs.h. */
6478 #include <sys/types.h>
6479 #include <sys/time.h>
6485 if ((struct tm *) 0)
6491 rm -f conftest.$ac_objext
6492 if { (ac_try="$ac_compile"
6494 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6495 *) ac_try_echo
=$ac_try;;
6497 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6498 $as_echo "$ac_try_echo") >&5
6499 (eval "$ac_compile") 2>conftest.er1
6501 grep -v '^ *+' conftest.er1
>conftest.err
6503 cat conftest.err
>&5
6504 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6505 (exit $ac_status); } && {
6506 test -z "$ac_c_werror_flag" ||
6507 test ! -s conftest.err
6508 } && test -s conftest.
$ac_objext; then
6509 ac_cv_header_time
=yes
6511 $as_echo "$as_me: failed program was:" >&5
6512 sed 's/^/| /' conftest.
$ac_ext >&5
6514 ac_cv_header_time
=no
6517 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6519 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6520 $as_echo "$ac_cv_header_time" >&6; }
6521 if test $ac_cv_header_time = yes; then
6523 cat >>confdefs.h
<<\_ACEOF
6524 #define TIME_WITH_SYS_TIME 1
6529 { $as_echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6530 $as_echo_n "checking for struct stat.st_blksize... " >&6; }
6531 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6532 $as_echo_n "(cached) " >&6
6534 cat >conftest.
$ac_ext <<_ACEOF
6537 cat confdefs.h
>>conftest.
$ac_ext
6538 cat >>conftest.
$ac_ext <<_ACEOF
6539 /* end confdefs.h. */
6540 $ac_includes_default
6544 static struct stat ac_aggr;
6545 if (ac_aggr.st_blksize)
6551 rm -f conftest.
$ac_objext
6552 if { (ac_try
="$ac_compile"
6554 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6555 *) ac_try_echo=$ac_try;;
6557 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6558 $as_echo "$ac_try_echo") >&5
6559 (eval "$ac_compile") 2>conftest.er1
6561 grep -v '^ *+' conftest.er1 >conftest.err
6563 cat conftest.err >&5
6564 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6565 (exit $ac_status); } && {
6566 test -z "$ac_c_werror_flag" ||
6567 test ! -s conftest.err
6568 } && test -s conftest.$ac_objext; then
6569 ac_cv_member_struct_stat_st_blksize=yes
6571 $as_echo "$as_me: failed program was:" >&5
6572 sed 's/^/| /' conftest.$ac_ext >&5
6574 cat >conftest.$ac_ext <<_ACEOF
6577 cat confdefs.h >>conftest.$ac_ext
6578 cat >>conftest.$ac_ext <<_ACEOF
6579 /* end confdefs.h. */
6580 $ac_includes_default
6584 static struct stat ac_aggr;
6585 if (sizeof ac_aggr.st_blksize)
6591 rm -f conftest.$ac_objext
6592 if { (ac_try="$ac_compile"
6594 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6595 *) ac_try_echo
=$ac_try;;
6597 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6598 $as_echo "$ac_try_echo") >&5
6599 (eval "$ac_compile") 2>conftest.er1
6601 grep -v '^ *+' conftest.er1
>conftest.err
6603 cat conftest.err
>&5
6604 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6605 (exit $ac_status); } && {
6606 test -z "$ac_c_werror_flag" ||
6607 test ! -s conftest.err
6608 } && test -s conftest.
$ac_objext; then
6609 ac_cv_member_struct_stat_st_blksize
=yes
6611 $as_echo "$as_me: failed program was:" >&5
6612 sed 's/^/| /' conftest.
$ac_ext >&5
6614 ac_cv_member_struct_stat_st_blksize
=no
6617 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6620 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6622 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
6623 $as_echo "$ac_cv_member_struct_stat_st_blksize" >&6; }
6624 if test "x$ac_cv_member_struct_stat_st_blksize" = x
""yes; then
6626 cat >>confdefs.h
<<_ACEOF
6627 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6631 cat >>confdefs.h
<<\_ACEOF
6632 #define HAVE_ST_BLKSIZE 1
6638 { $as_echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
6639 $as_echo_n "checking for struct stat.st_blocks... " >&6; }
6640 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
6641 $as_echo_n "(cached) " >&6
6643 cat >conftest.
$ac_ext <<_ACEOF
6646 cat confdefs.h
>>conftest.
$ac_ext
6647 cat >>conftest.
$ac_ext <<_ACEOF
6648 /* end confdefs.h. */
6649 $ac_includes_default
6653 static struct stat ac_aggr;
6654 if (ac_aggr.st_blocks)
6660 rm -f conftest.
$ac_objext
6661 if { (ac_try
="$ac_compile"
6663 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6664 *) ac_try_echo=$ac_try;;
6666 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6667 $as_echo "$ac_try_echo") >&5
6668 (eval "$ac_compile") 2>conftest.er1
6670 grep -v '^ *+' conftest.er1 >conftest.err
6672 cat conftest.err >&5
6673 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6674 (exit $ac_status); } && {
6675 test -z "$ac_c_werror_flag" ||
6676 test ! -s conftest.err
6677 } && test -s conftest.$ac_objext; then
6678 ac_cv_member_struct_stat_st_blocks=yes
6680 $as_echo "$as_me: failed program was:" >&5
6681 sed 's/^/| /' conftest.$ac_ext >&5
6683 cat >conftest.$ac_ext <<_ACEOF
6686 cat confdefs.h >>conftest.$ac_ext
6687 cat >>conftest.$ac_ext <<_ACEOF
6688 /* end confdefs.h. */
6689 $ac_includes_default
6693 static struct stat ac_aggr;
6694 if (sizeof ac_aggr.st_blocks)
6700 rm -f conftest.$ac_objext
6701 if { (ac_try="$ac_compile"
6703 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6704 *) ac_try_echo
=$ac_try;;
6706 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6707 $as_echo "$ac_try_echo") >&5
6708 (eval "$ac_compile") 2>conftest.er1
6710 grep -v '^ *+' conftest.er1
>conftest.err
6712 cat conftest.err
>&5
6713 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6714 (exit $ac_status); } && {
6715 test -z "$ac_c_werror_flag" ||
6716 test ! -s conftest.err
6717 } && test -s conftest.
$ac_objext; then
6718 ac_cv_member_struct_stat_st_blocks
=yes
6720 $as_echo "$as_me: failed program was:" >&5
6721 sed 's/^/| /' conftest.
$ac_ext >&5
6723 ac_cv_member_struct_stat_st_blocks
=no
6726 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6729 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6731 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
6732 $as_echo "$ac_cv_member_struct_stat_st_blocks" >&6; }
6733 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then
6735 cat >>confdefs.h
<<_ACEOF
6736 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6740 cat >>confdefs.h
<<\_ACEOF
6741 #define HAVE_ST_BLOCKS 1
6745 case " $LIBOBJS " in
6746 *" fileblocks.$ac_objext "* ) ;;
6747 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6754 { $as_echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6755 $as_echo_n "checking for struct stat.st_rdev... " >&6; }
6756 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6757 $as_echo_n "(cached) " >&6
6759 cat >conftest.
$ac_ext <<_ACEOF
6762 cat confdefs.h
>>conftest.
$ac_ext
6763 cat >>conftest.
$ac_ext <<_ACEOF
6764 /* end confdefs.h. */
6765 $ac_includes_default
6769 static struct stat ac_aggr;
6770 if (ac_aggr.st_rdev)
6776 rm -f conftest.
$ac_objext
6777 if { (ac_try
="$ac_compile"
6779 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6780 *) ac_try_echo=$ac_try;;
6782 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6783 $as_echo "$ac_try_echo") >&5
6784 (eval "$ac_compile") 2>conftest.er1
6786 grep -v '^ *+' conftest.er1 >conftest.err
6788 cat conftest.err >&5
6789 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6790 (exit $ac_status); } && {
6791 test -z "$ac_c_werror_flag" ||
6792 test ! -s conftest.err
6793 } && test -s conftest.$ac_objext; then
6794 ac_cv_member_struct_stat_st_rdev=yes
6796 $as_echo "$as_me: failed program was:" >&5
6797 sed 's/^/| /' conftest.$ac_ext >&5
6799 cat >conftest.$ac_ext <<_ACEOF
6802 cat confdefs.h >>conftest.$ac_ext
6803 cat >>conftest.$ac_ext <<_ACEOF
6804 /* end confdefs.h. */
6805 $ac_includes_default
6809 static struct stat ac_aggr;
6810 if (sizeof ac_aggr.st_rdev)
6816 rm -f conftest.$ac_objext
6817 if { (ac_try="$ac_compile"
6819 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6820 *) ac_try_echo
=$ac_try;;
6822 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6823 $as_echo "$ac_try_echo") >&5
6824 (eval "$ac_compile") 2>conftest.er1
6826 grep -v '^ *+' conftest.er1
>conftest.err
6828 cat conftest.err
>&5
6829 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6830 (exit $ac_status); } && {
6831 test -z "$ac_c_werror_flag" ||
6832 test ! -s conftest.err
6833 } && test -s conftest.
$ac_objext; then
6834 ac_cv_member_struct_stat_st_rdev
=yes
6836 $as_echo "$as_me: failed program was:" >&5
6837 sed 's/^/| /' conftest.
$ac_ext >&5
6839 ac_cv_member_struct_stat_st_rdev
=no
6842 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6845 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6847 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
6848 $as_echo "$ac_cv_member_struct_stat_st_rdev" >&6; }
6849 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then
6851 cat >>confdefs.h
<<_ACEOF
6852 #define HAVE_STRUCT_STAT_ST_RDEV 1
6856 cat >>confdefs.h
<<\_ACEOF
6857 #define HAVE_ST_RDEV 1
6863 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6864 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6865 if test "${ac_cv_struct_tm+set}" = set; then
6866 $as_echo_n "(cached) " >&6
6868 cat >conftest.
$ac_ext <<_ACEOF
6871 cat confdefs.h
>>conftest.
$ac_ext
6872 cat >>conftest.
$ac_ext <<_ACEOF
6873 /* end confdefs.h. */
6874 #include <sys/types.h>
6881 int *p = &tm.tm_sec;
6887 rm -f conftest.
$ac_objext
6888 if { (ac_try
="$ac_compile"
6890 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6891 *) ac_try_echo=$ac_try;;
6893 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6894 $as_echo "$ac_try_echo") >&5
6895 (eval "$ac_compile") 2>conftest.er1
6897 grep -v '^ *+' conftest.er1 >conftest.err
6899 cat conftest.err >&5
6900 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6901 (exit $ac_status); } && {
6902 test -z "$ac_c_werror_flag" ||
6903 test ! -s conftest.err
6904 } && test -s conftest.$ac_objext; then
6905 ac_cv_struct_tm=time.h
6907 $as_echo "$as_me: failed program was:" >&5
6908 sed 's/^/| /' conftest.$ac_ext >&5
6910 ac_cv_struct_tm=sys/time.h
6913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6915 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6916 $as_echo "$ac_cv_struct_tm" >&6; }
6917 if test $ac_cv_struct_tm = sys/time.h; then
6919 cat >>confdefs.h <<\_ACEOF
6920 #define TM_IN_SYS_TIME 1
6925 { $as_echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
6926 $as_echo_n "checking for struct tm.tm_zone... " >&6; }
6927 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
6928 $as_echo_n "(cached) " >&6
6930 cat >conftest.$ac_ext <<_ACEOF
6933 cat confdefs.h >>conftest.$ac_ext
6934 cat >>conftest.$ac_ext <<_ACEOF
6935 /* end confdefs.h. */
6936 #include <sys/types.h>
6937 #include <$ac_cv_struct_tm>
6943 static struct tm ac_aggr;
6944 if (ac_aggr.tm_zone)
6950 rm -f conftest.$ac_objext
6951 if { (ac_try="$ac_compile"
6953 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6954 *) ac_try_echo
=$ac_try;;
6956 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6957 $as_echo "$ac_try_echo") >&5
6958 (eval "$ac_compile") 2>conftest.er1
6960 grep -v '^ *+' conftest.er1
>conftest.err
6962 cat conftest.err
>&5
6963 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6964 (exit $ac_status); } && {
6965 test -z "$ac_c_werror_flag" ||
6966 test ! -s conftest.err
6967 } && test -s conftest.
$ac_objext; then
6968 ac_cv_member_struct_tm_tm_zone
=yes
6970 $as_echo "$as_me: failed program was:" >&5
6971 sed 's/^/| /' conftest.
$ac_ext >&5
6973 cat >conftest.
$ac_ext <<_ACEOF
6976 cat confdefs.h
>>conftest.
$ac_ext
6977 cat >>conftest.
$ac_ext <<_ACEOF
6978 /* end confdefs.h. */
6979 #include <sys/types.h>
6980 #include <$ac_cv_struct_tm>
6986 static struct tm ac_aggr;
6987 if (sizeof ac_aggr.tm_zone)
6993 rm -f conftest.
$ac_objext
6994 if { (ac_try
="$ac_compile"
6996 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6997 *) ac_try_echo=$ac_try;;
6999 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7000 $as_echo "$ac_try_echo") >&5
7001 (eval "$ac_compile") 2>conftest.er1
7003 grep -v '^ *+' conftest.er1 >conftest.err
7005 cat conftest.err >&5
7006 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7007 (exit $ac_status); } && {
7008 test -z "$ac_c_werror_flag" ||
7009 test ! -s conftest.err
7010 } && test -s conftest.$ac_objext; then
7011 ac_cv_member_struct_tm_tm_zone=yes
7013 $as_echo "$as_me: failed program was:" >&5
7014 sed 's/^/| /' conftest.$ac_ext >&5
7016 ac_cv_member_struct_tm_tm_zone=no
7019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7024 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
7025 $as_echo "$ac_cv_member_struct_tm_tm_zone" >&6; }
7026 if test "x$ac_cv_member_struct_tm_tm_zone" = x""yes; then
7028 cat >>confdefs.h <<_ACEOF
7029 #define HAVE_STRUCT_TM_TM_ZONE 1
7035 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
7037 cat >>confdefs.h <<\_ACEOF
7038 #define HAVE_TM_ZONE 1
7042 { $as_echo "$as_me:$LINENO: checking whether tzname is declared" >&5
7043 $as_echo_n "checking whether tzname is declared... " >&6; }
7044 if test "${ac_cv_have_decl_tzname+set}" = set; then
7045 $as_echo_n "(cached) " >&6
7047 cat >conftest.$ac_ext <<_ACEOF
7050 cat confdefs.h >>conftest.$ac_ext
7051 cat >>conftest.$ac_ext <<_ACEOF
7052 /* end confdefs.h. */
7066 rm -f conftest.$ac_objext
7067 if { (ac_try="$ac_compile"
7069 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7070 *) ac_try_echo
=$ac_try;;
7072 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7073 $as_echo "$ac_try_echo") >&5
7074 (eval "$ac_compile") 2>conftest.er1
7076 grep -v '^ *+' conftest.er1
>conftest.err
7078 cat conftest.err
>&5
7079 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7080 (exit $ac_status); } && {
7081 test -z "$ac_c_werror_flag" ||
7082 test ! -s conftest.err
7083 } && test -s conftest.
$ac_objext; then
7084 ac_cv_have_decl_tzname
=yes
7086 $as_echo "$as_me: failed program was:" >&5
7087 sed 's/^/| /' conftest.
$ac_ext >&5
7089 ac_cv_have_decl_tzname
=no
7092 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7094 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5
7095 $as_echo "$ac_cv_have_decl_tzname" >&6; }
7096 if test "x$ac_cv_have_decl_tzname" = x
""yes; then
7098 cat >>confdefs.h
<<_ACEOF
7099 #define HAVE_DECL_TZNAME 1
7104 cat >>confdefs.h
<<_ACEOF
7105 #define HAVE_DECL_TZNAME 0
7112 { $as_echo "$as_me:$LINENO: checking for tzname" >&5
7113 $as_echo_n "checking for tzname... " >&6; }
7114 if test "${ac_cv_var_tzname+set}" = set; then
7115 $as_echo_n "(cached) " >&6
7117 cat >conftest.
$ac_ext <<_ACEOF
7120 cat confdefs.h
>>conftest.
$ac_ext
7121 cat >>conftest.
$ac_ext <<_ACEOF
7122 /* end confdefs.h. */
7124 #if !HAVE_DECL_TZNAME
7125 extern char *tzname[];
7131 return tzname[0][0];
7136 rm -f conftest.
$ac_objext conftest
$ac_exeext
7137 if { (ac_try
="$ac_link"
7139 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7140 *) ac_try_echo=$ac_try;;
7142 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7143 $as_echo "$ac_try_echo") >&5
7144 (eval "$ac_link") 2>conftest.er1
7146 grep -v '^ *+' conftest.er1 >conftest.err
7148 cat conftest.err >&5
7149 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7150 (exit $ac_status); } && {
7151 test -z "$ac_c_werror_flag" ||
7152 test ! -s conftest.err
7153 } && test -s conftest$ac_exeext && {
7154 test "$cross_compiling" = yes ||
7155 $as_test_x conftest$ac_exeext
7157 ac_cv_var_tzname=yes
7159 $as_echo "$as_me: failed program was:" >&5
7160 sed 's/^/| /' conftest.$ac_ext >&5
7165 rm -rf conftest.dSYM
7166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7167 conftest$ac_exeext conftest.$ac_ext
7169 { $as_echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
7170 $as_echo "$ac_cv_var_tzname" >&6; }
7171 if test $ac_cv_var_tzname = yes; then
7173 cat >>confdefs.h <<\_ACEOF
7174 #define HAVE_TZNAME 1
7180 { $as_echo "$as_me:$LINENO: checking for off_t" >&5
7181 $as_echo_n "checking for off_t... " >&6; }
7182 if test "${ac_cv_type_off_t+set}" = set; then
7183 $as_echo_n "(cached) " >&6
7186 cat >conftest.$ac_ext <<_ACEOF
7189 cat confdefs.h >>conftest.$ac_ext
7190 cat >>conftest.$ac_ext <<_ACEOF
7191 /* end confdefs.h. */
7192 $ac_includes_default
7202 rm -f conftest.$ac_objext
7203 if { (ac_try="$ac_compile"
7205 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7206 *) ac_try_echo
=$ac_try;;
7208 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7209 $as_echo "$ac_try_echo") >&5
7210 (eval "$ac_compile") 2>conftest.er1
7212 grep -v '^ *+' conftest.er1
>conftest.err
7214 cat conftest.err
>&5
7215 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7216 (exit $ac_status); } && {
7217 test -z "$ac_c_werror_flag" ||
7218 test ! -s conftest.err
7219 } && test -s conftest.
$ac_objext; then
7220 cat >conftest.
$ac_ext <<_ACEOF
7223 cat confdefs.h
>>conftest.
$ac_ext
7224 cat >>conftest.
$ac_ext <<_ACEOF
7225 /* end confdefs.h. */
7226 $ac_includes_default
7230 if (sizeof ((off_t)))
7236 rm -f conftest.
$ac_objext
7237 if { (ac_try
="$ac_compile"
7239 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7240 *) ac_try_echo=$ac_try;;
7242 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7243 $as_echo "$ac_try_echo") >&5
7244 (eval "$ac_compile") 2>conftest.er1
7246 grep -v '^ *+' conftest.er1 >conftest.err
7248 cat conftest.err >&5
7249 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7250 (exit $ac_status); } && {
7251 test -z "$ac_c_werror_flag" ||
7252 test ! -s conftest.err
7253 } && test -s conftest.$ac_objext; then
7256 $as_echo "$as_me: failed program was:" >&5
7257 sed 's/^/| /' conftest.$ac_ext >&5
7259 ac_cv_type_off_t=yes
7262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7264 $as_echo "$as_me: failed program was:" >&5
7265 sed 's/^/| /' conftest.$ac_ext >&5
7270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7272 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
7273 $as_echo "$ac_cv_type_off_t" >&6; }
7274 if test "x$ac_cv_type_off_t" = x""yes; then
7278 cat >>confdefs.h <<_ACEOF
7279 #define off_t long int
7284 { $as_echo "$as_me:$LINENO: checking for pid_t" >&5
7285 $as_echo_n "checking for pid_t... " >&6; }
7286 if test "${ac_cv_type_pid_t+set}" = set; then
7287 $as_echo_n "(cached) " >&6
7290 cat >conftest.$ac_ext <<_ACEOF
7293 cat confdefs.h >>conftest.$ac_ext
7294 cat >>conftest.$ac_ext <<_ACEOF
7295 /* end confdefs.h. */
7296 $ac_includes_default
7306 rm -f conftest.$ac_objext
7307 if { (ac_try="$ac_compile"
7309 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7310 *) ac_try_echo
=$ac_try;;
7312 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7313 $as_echo "$ac_try_echo") >&5
7314 (eval "$ac_compile") 2>conftest.er1
7316 grep -v '^ *+' conftest.er1
>conftest.err
7318 cat conftest.err
>&5
7319 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7320 (exit $ac_status); } && {
7321 test -z "$ac_c_werror_flag" ||
7322 test ! -s conftest.err
7323 } && test -s conftest.
$ac_objext; then
7324 cat >conftest.
$ac_ext <<_ACEOF
7327 cat confdefs.h
>>conftest.
$ac_ext
7328 cat >>conftest.
$ac_ext <<_ACEOF
7329 /* end confdefs.h. */
7330 $ac_includes_default
7334 if (sizeof ((pid_t)))
7340 rm -f conftest.
$ac_objext
7341 if { (ac_try
="$ac_compile"
7343 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7344 *) ac_try_echo=$ac_try;;
7346 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7347 $as_echo "$ac_try_echo") >&5
7348 (eval "$ac_compile") 2>conftest.er1
7350 grep -v '^ *+' conftest.er1 >conftest.err
7352 cat conftest.err >&5
7353 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7354 (exit $ac_status); } && {
7355 test -z "$ac_c_werror_flag" ||
7356 test ! -s conftest.err
7357 } && test -s conftest.$ac_objext; then
7360 $as_echo "$as_me: failed program was:" >&5
7361 sed 's/^/| /' conftest.$ac_ext >&5
7363 ac_cv_type_pid_t=yes
7366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7368 $as_echo "$as_me: failed program was:" >&5
7369 sed 's/^/| /' conftest.$ac_ext >&5
7374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7376 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
7377 $as_echo "$ac_cv_type_pid_t" >&6; }
7378 if test "x$ac_cv_type_pid_t" = x""yes; then
7382 cat >>confdefs.h <<_ACEOF
7388 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
7389 $as_echo_n "checking for size_t... " >&6; }
7390 if test "${ac_cv_type_size_t+set}" = set; then
7391 $as_echo_n "(cached) " >&6
7393 ac_cv_type_size_t=no
7394 cat >conftest.$ac_ext <<_ACEOF
7397 cat confdefs.h >>conftest.$ac_ext
7398 cat >>conftest.$ac_ext <<_ACEOF
7399 /* end confdefs.h. */
7400 $ac_includes_default
7404 if (sizeof (size_t))
7410 rm -f conftest.$ac_objext
7411 if { (ac_try="$ac_compile"
7413 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7414 *) ac_try_echo
=$ac_try;;
7416 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7417 $as_echo "$ac_try_echo") >&5
7418 (eval "$ac_compile") 2>conftest.er1
7420 grep -v '^ *+' conftest.er1
>conftest.err
7422 cat conftest.err
>&5
7423 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7424 (exit $ac_status); } && {
7425 test -z "$ac_c_werror_flag" ||
7426 test ! -s conftest.err
7427 } && test -s conftest.
$ac_objext; then
7428 cat >conftest.
$ac_ext <<_ACEOF
7431 cat confdefs.h
>>conftest.
$ac_ext
7432 cat >>conftest.
$ac_ext <<_ACEOF
7433 /* end confdefs.h. */
7434 $ac_includes_default
7438 if (sizeof ((size_t)))
7444 rm -f conftest.
$ac_objext
7445 if { (ac_try
="$ac_compile"
7447 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7448 *) ac_try_echo=$ac_try;;
7450 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7451 $as_echo "$ac_try_echo") >&5
7452 (eval "$ac_compile") 2>conftest.er1
7454 grep -v '^ *+' conftest.er1 >conftest.err
7456 cat conftest.err >&5
7457 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7458 (exit $ac_status); } && {
7459 test -z "$ac_c_werror_flag" ||
7460 test ! -s conftest.err
7461 } && test -s conftest.$ac_objext; then
7464 $as_echo "$as_me: failed program was:" >&5
7465 sed 's/^/| /' conftest.$ac_ext >&5
7467 ac_cv_type_size_t=yes
7470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7472 $as_echo "$as_me: failed program was:" >&5
7473 sed 's/^/| /' conftest.$ac_ext >&5
7478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7480 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
7481 $as_echo "$ac_cv_type_size_t" >&6; }
7482 if test "x$ac_cv_type_size_t" = x""yes; then
7486 cat >>confdefs.h <<_ACEOF
7487 #define size_t unsigned int
7492 { $as_echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
7493 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
7494 if test "${ac_cv_type_uid_t+set}" = set; then
7495 $as_echo_n "(cached) " >&6
7497 cat >conftest.$ac_ext <<_ACEOF
7500 cat confdefs.h >>conftest.$ac_ext
7501 cat >>conftest.$ac_ext <<_ACEOF
7502 /* end confdefs.h. */
7503 #include <sys/types.h>
7506 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7507 $EGREP "uid_t" >/dev/null 2>&1; then
7508 ac_cv_type_uid_t=yes
7515 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
7516 $as_echo "$ac_cv_type_uid_t" >&6; }
7517 if test $ac_cv_type_uid_t = no; then
7519 cat >>confdefs.h <<\_ACEOF
7524 cat >>confdefs.h <<\_ACEOF
7531 { $as_echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
7532 $as_echo_n "checking for struct tm.tm_gmtoff... " >&6; }
7533 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
7534 $as_echo_n "(cached) " >&6
7536 cat >conftest.$ac_ext <<_ACEOF
7539 cat confdefs.h >>conftest.$ac_ext
7540 cat >>conftest.$ac_ext <<_ACEOF
7541 /* end confdefs.h. */
7542 $ac_includes_default
7546 static struct tm ac_aggr;
7547 if (ac_aggr.tm_gmtoff)
7553 rm -f conftest.$ac_objext
7554 if { (ac_try="$ac_compile"
7556 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7557 *) ac_try_echo
=$ac_try;;
7559 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7560 $as_echo "$ac_try_echo") >&5
7561 (eval "$ac_compile") 2>conftest.er1
7563 grep -v '^ *+' conftest.er1
>conftest.err
7565 cat conftest.err
>&5
7566 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7567 (exit $ac_status); } && {
7568 test -z "$ac_c_werror_flag" ||
7569 test ! -s conftest.err
7570 } && test -s conftest.
$ac_objext; then
7571 ac_cv_member_struct_tm_tm_gmtoff
=yes
7573 $as_echo "$as_me: failed program was:" >&5
7574 sed 's/^/| /' conftest.
$ac_ext >&5
7576 cat >conftest.
$ac_ext <<_ACEOF
7579 cat confdefs.h
>>conftest.
$ac_ext
7580 cat >>conftest.
$ac_ext <<_ACEOF
7581 /* end confdefs.h. */
7582 $ac_includes_default
7586 static struct tm ac_aggr;
7587 if (sizeof ac_aggr.tm_gmtoff)
7593 rm -f conftest.
$ac_objext
7594 if { (ac_try
="$ac_compile"
7596 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7597 *) ac_try_echo=$ac_try;;
7599 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7600 $as_echo "$ac_try_echo") >&5
7601 (eval "$ac_compile") 2>conftest.er1
7603 grep -v '^ *+' conftest.er1 >conftest.err
7605 cat conftest.err >&5
7606 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7607 (exit $ac_status); } && {
7608 test -z "$ac_c_werror_flag" ||
7609 test ! -s conftest.err
7610 } && test -s conftest.$ac_objext; then
7611 ac_cv_member_struct_tm_tm_gmtoff=yes
7613 $as_echo "$as_me: failed program was:" >&5
7614 sed 's/^/| /' conftest.$ac_ext >&5
7616 ac_cv_member_struct_tm_tm_gmtoff=no
7619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7624 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
7625 $as_echo "$ac_cv_member_struct_tm_tm_gmtoff" >&6; }
7626 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x""yes; then
7628 cat >>confdefs.h <<_ACEOF
7629 #define HAVE_STRUCT_TM_TM_GMTOFF 1
7636 # Look for some functions
7651 for ac_func in getpagesize kqueue statfs statvfs \
7652 clone kse_create rfork_thread thr_create sa_register \
7653 getcontext makecontext setcontext sigaltstack swapcontext
7655 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
7656 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
7657 $as_echo_n "checking for $ac_func... " >&6; }
7658 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7659 $as_echo_n "(cached) " >&6
7661 cat >conftest.$ac_ext <<_ACEOF
7664 cat confdefs.h >>conftest.$ac_ext
7665 cat >>conftest.$ac_ext <<_ACEOF
7666 /* end confdefs.h. */
7667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7669 #define $ac_func innocuous_$ac_func
7671 /* System header to define __stub macros and hopefully few prototypes,
7672 which can conflict with char $ac_func (); below.
7673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7674 <limits.h> exists even on freestanding compilers. */
7677 # include <limits.h>
7679 # include <assert.h>
7684 /* Override any GCC internal prototype to avoid an error.
7685 Use char because int might match the return type of a GCC
7686 builtin and then its argument prototype would still apply. */
7691 /* The GNU C library defines this for functions which it implements
7692 to always fail with ENOSYS. Some functions are actually named
7693 something starting with __ and the normal name is an alias. */
7694 #if defined __stub_$ac_func || defined __stub___$ac_func
7706 rm -f conftest.$ac_objext conftest$ac_exeext
7707 if { (ac_try="$ac_link"
7709 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7710 *) ac_try_echo
=$ac_try;;
7712 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7713 $as_echo "$ac_try_echo") >&5
7714 (eval "$ac_link") 2>conftest.er1
7716 grep -v '^ *+' conftest.er1
>conftest.err
7718 cat conftest.err
>&5
7719 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7720 (exit $ac_status); } && {
7721 test -z "$ac_c_werror_flag" ||
7722 test ! -s conftest.err
7723 } && test -s conftest
$ac_exeext && {
7724 test "$cross_compiling" = yes ||
7725 $as_test_x conftest
$ac_exeext
7727 eval "$as_ac_var=yes"
7729 $as_echo "$as_me: failed program was:" >&5
7730 sed 's/^/| /' conftest.
$ac_ext >&5
7732 eval "$as_ac_var=no"
7735 rm -rf conftest.dSYM
7736 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7737 conftest
$ac_exeext conftest.
$ac_ext
7739 ac_res
=`eval 'as_val=${'$as_ac_var'}
7740 $as_echo "$as_val"'`
7741 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7742 $as_echo "$ac_res" >&6; }
7743 as_val
=`eval 'as_val=${'$as_ac_var'}
7744 $as_echo "$as_val"'`
7745 if test "x$as_val" = x
""yes; then
7746 cat >>confdefs.h
<<_ACEOF
7747 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7756 for ac_header
in stdlib.h unistd.h
7758 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7759 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7760 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7761 $as_echo_n "checking for $ac_header... " >&6; }
7762 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7763 $as_echo_n "(cached) " >&6
7765 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7766 $as_echo "$as_val"'`
7767 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7768 $as_echo "$ac_res" >&6; }
7770 # Is the header compilable?
7771 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7772 $as_echo_n "checking $ac_header usability... " >&6; }
7773 cat >conftest.
$ac_ext <<_ACEOF
7776 cat confdefs.h
>>conftest.
$ac_ext
7777 cat >>conftest.
$ac_ext <<_ACEOF
7778 /* end confdefs.h. */
7779 $ac_includes_default
7780 #include <$ac_header>
7782 rm -f conftest.
$ac_objext
7783 if { (ac_try
="$ac_compile"
7785 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7786 *) ac_try_echo=$ac_try;;
7788 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7789 $as_echo "$ac_try_echo") >&5
7790 (eval "$ac_compile") 2>conftest.er1
7792 grep -v '^ *+' conftest.er1 >conftest.err
7794 cat conftest.err >&5
7795 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7796 (exit $ac_status); } && {
7797 test -z "$ac_c_werror_flag" ||
7798 test ! -s conftest.err
7799 } && test -s conftest.$ac_objext; then
7800 ac_header_compiler=yes
7802 $as_echo "$as_me: failed program was:" >&5
7803 sed 's/^/| /' conftest.$ac_ext >&5
7805 ac_header_compiler=no
7808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7809 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7810 $as_echo "$ac_header_compiler" >&6; }
7812 # Is the header present?
7813 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7814 $as_echo_n "checking $ac_header presence... " >&6; }
7815 cat >conftest.$ac_ext <<_ACEOF
7818 cat confdefs.h >>conftest.$ac_ext
7819 cat >>conftest.$ac_ext <<_ACEOF
7820 /* end confdefs.h. */
7821 #include <$ac_header>
7823 if { (ac_try="$ac_cpp conftest.$ac_ext"
7825 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7826 *) ac_try_echo
=$ac_try;;
7828 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7829 $as_echo "$ac_try_echo") >&5
7830 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7832 grep -v '^ *+' conftest.er1
>conftest.err
7834 cat conftest.err
>&5
7835 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7836 (exit $ac_status); } >/dev
/null
&& {
7837 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7838 test ! -s conftest.err
7840 ac_header_preproc
=yes
7842 $as_echo "$as_me: failed program was:" >&5
7843 sed 's/^/| /' conftest.
$ac_ext >&5
7845 ac_header_preproc
=no
7848 rm -f conftest.err conftest.
$ac_ext
7849 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7850 $as_echo "$ac_header_preproc" >&6; }
7852 # So? What about this header?
7853 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7855 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7856 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7857 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7858 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7859 ac_header_preproc
=yes
7862 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7863 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7864 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7865 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7866 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7867 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7868 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7869 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7870 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7871 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7872 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7873 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7877 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7878 $as_echo_n "checking for $ac_header... " >&6; }
7879 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7880 $as_echo_n "(cached) " >&6
7882 eval "$as_ac_Header=\$ac_header_preproc"
7884 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7885 $as_echo "$as_val"'`
7886 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7887 $as_echo "$ac_res" >&6; }
7890 as_val
=`eval 'as_val=${'$as_ac_Header'}
7891 $as_echo "$as_val"'`
7892 if test "x$as_val" = x
""yes; then
7893 cat >>confdefs.h
<<_ACEOF
7894 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7902 for ac_func
in getpagesize
7904 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7905 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
7906 $as_echo_n "checking for $ac_func... " >&6; }
7907 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7908 $as_echo_n "(cached) " >&6
7910 cat >conftest.
$ac_ext <<_ACEOF
7913 cat confdefs.h
>>conftest.
$ac_ext
7914 cat >>conftest.
$ac_ext <<_ACEOF
7915 /* end confdefs.h. */
7916 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7918 #define $ac_func innocuous_$ac_func
7920 /* System header to define __stub macros and hopefully few prototypes,
7921 which can conflict with char $ac_func (); below.
7922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7923 <limits.h> exists even on freestanding compilers. */
7926 # include <limits.h>
7928 # include <assert.h>
7933 /* Override any GCC internal prototype to avoid an error.
7934 Use char because int might match the return type of a GCC
7935 builtin and then its argument prototype would still apply. */
7940 /* The GNU C library defines this for functions which it implements
7941 to always fail with ENOSYS. Some functions are actually named
7942 something starting with __ and the normal name is an alias. */
7943 #if defined __stub_$ac_func || defined __stub___$ac_func
7955 rm -f conftest.
$ac_objext conftest
$ac_exeext
7956 if { (ac_try
="$ac_link"
7958 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7959 *) ac_try_echo=$ac_try;;
7961 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7962 $as_echo "$ac_try_echo") >&5
7963 (eval "$ac_link") 2>conftest.er1
7965 grep -v '^ *+' conftest.er1 >conftest.err
7967 cat conftest.err >&5
7968 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7969 (exit $ac_status); } && {
7970 test -z "$ac_c_werror_flag" ||
7971 test ! -s conftest.err
7972 } && test -s conftest$ac_exeext && {
7973 test "$cross_compiling" = yes ||
7974 $as_test_x conftest$ac_exeext
7976 eval "$as_ac_var=yes"
7978 $as_echo "$as_me: failed program was:" >&5
7979 sed 's/^/| /' conftest.$ac_ext >&5
7981 eval "$as_ac_var=no"
7984 rm -rf conftest.dSYM
7985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7986 conftest$ac_exeext conftest.$ac_ext
7988 ac_res=`eval 'as_val=${'$as_ac_var'}
7989 $as_echo "$as_val"'`
7990 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7991 $as_echo "$ac_res" >&6; }
7992 as_val=`eval 'as_val=${'$as_ac_var'}
7993 $as_echo "$as_val"'`
7994 if test "x$as_val" = x""yes; then
7995 cat >>confdefs.h <<_ACEOF
7996 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
8002 { $as_echo "$as_me:$LINENO: checking for working mmap" >&5
8003 $as_echo_n "checking for working mmap... " >&6; }
8004 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
8005 $as_echo_n "(cached) " >&6
8007 if test "$cross_compiling" = yes; then
8008 ac_cv_func_mmap_fixed_mapped=no
8010 cat >conftest.$ac_ext <<_ACEOF
8013 cat confdefs.h >>conftest.$ac_ext
8014 cat >>conftest.$ac_ext <<_ACEOF
8015 /* end confdefs.h. */
8016 $ac_includes_default
8017 /* malloc might have been renamed as rpl_malloc. */
8020 /* Thanks to Mike Haertel and Jim Avera for this test.
8021 Here is a matrix of mmap possibilities:
8022 mmap private not fixed
8023 mmap private fixed at somewhere currently unmapped
8024 mmap private fixed at somewhere already mapped
8025 mmap shared not fixed
8026 mmap shared fixed at somewhere currently unmapped
8027 mmap shared fixed at somewhere already mapped
8028 For private mappings, we should verify that changes cannot be read()
8029 back from the file, nor mmap's back from the file at a different
8030 address. (There have been systems where private was not correctly
8031 implemented like the infamous i386 svr4.0, and systems where the
8032 VM page cache was not coherent with the file system buffer cache
8033 like early versions of FreeBSD and possibly contemporary NetBSD.)
8034 For shared mappings, we should conversely verify that changes get
8035 propagated back to all the places they're supposed to be.
8037 Grep wants private fixed already mapped.
8038 The main things grep needs to know about mmap are:
8039 * does it exist and is it safe to write into the mmap'd area
8040 * how to use it (BSD variants) */
8043 #include <sys/mman.h>
8045 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
8049 /* This mess was copied from the GNU getpagesize.h. */
8050 #ifndef HAVE_GETPAGESIZE
8051 /* Assume that all systems that can run configure have sys/param.h. */
8052 # ifndef HAVE_SYS_PARAM_H
8053 # define HAVE_SYS_PARAM_H 1
8056 # ifdef _SC_PAGESIZE
8057 # define getpagesize() sysconf(_SC_PAGESIZE)
8058 # else /* no _SC_PAGESIZE */
8059 # ifdef HAVE_SYS_PARAM_H
8060 # include <sys/param.h>
8061 # ifdef EXEC_PAGESIZE
8062 # define getpagesize() EXEC_PAGESIZE
8063 # else /* no EXEC_PAGESIZE */
8065 # define getpagesize() NBPG * CLSIZE
8068 # endif /* no CLSIZE */
8069 # else /* no NBPG */
8071 # define getpagesize() NBPC
8072 # else /* no NBPC */
8074 # define getpagesize() PAGESIZE
8075 # endif /* PAGESIZE */
8076 # endif /* no NBPC */
8077 # endif /* no NBPG */
8078 # endif /* no EXEC_PAGESIZE */
8079 # else /* no HAVE_SYS_PARAM_H */
8080 # define getpagesize() 8192 /* punt totally */
8081 # endif /* no HAVE_SYS_PARAM_H */
8082 # endif /* no _SC_PAGESIZE */
8084 #endif /* no HAVE_GETPAGESIZE */
8089 char *data, *data2, *data3;
8093 pagesize = getpagesize ();
8095 /* First, make a file with some known garbage in it. */
8096 data = (char *) malloc (pagesize);
8099 for (i = 0; i < pagesize; ++i)
8100 *(data + i) = rand ();
8102 fd = creat ("conftest.mmap", 0600);
8105 if (write (fd, data, pagesize) != pagesize)
8109 /* Next, try to mmap the file at a fixed address which already has
8110 something else allocated at it. If we can, also make sure that
8111 we see the same garbage. */
8112 fd = open ("conftest.mmap", O_RDWR);
8115 data2 = (char *) malloc (2 * pagesize);
8118 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
8119 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
8120 MAP_PRIVATE | MAP_FIXED, fd, 0L))
8122 for (i = 0; i < pagesize; ++i)
8123 if (*(data + i) != *(data2 + i))
8126 /* Finally, make sure that changes to the mapped area do not
8127 percolate back to the file as seen by read(). (This is a bug on
8128 some variants of i386 svr4.0.) */
8129 for (i = 0; i < pagesize; ++i)
8130 *(data2 + i) = *(data2 + i) + 1;
8131 data3 = (char *) malloc (pagesize);
8134 if (read (fd, data3, pagesize) != pagesize)
8136 for (i = 0; i < pagesize; ++i)
8137 if (*(data + i) != *(data3 + i))
8143 rm -f conftest$ac_exeext
8144 if { (ac_try="$ac_link"
8146 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8147 *) ac_try_echo
=$ac_try;;
8149 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8150 $as_echo "$ac_try_echo") >&5
8151 (eval "$ac_link") 2>&5
8153 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8154 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8155 { (case "(($ac_try" in
8156 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8157 *) ac_try_echo=$ac_try;;
8159 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8160 $as_echo "$ac_try_echo") >&5
8161 (eval "$ac_try") 2>&5
8163 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8164 (exit $ac_status); }; }; then
8165 ac_cv_func_mmap_fixed_mapped=yes
8167 $as_echo "$as_me: program exited with status $ac_status" >&5
8168 $as_echo "$as_me: failed program was:" >&5
8169 sed 's/^/| /' conftest.$ac_ext >&5
8172 ac_cv_func_mmap_fixed_mapped=no
8174 rm -rf conftest.dSYM
8175 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8180 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
8181 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
8182 if test $ac_cv_func_mmap_fixed_mapped = yes; then
8184 cat >>confdefs.h <<\_ACEOF
8194 aros_config_cflags="-Wall -Werror-implicit-function-declaration"
8195 aros_config_aflags="-Wall -x assembler-with-cpp -c"
8196 aros_config_ldflags=""
8198 aros_shared_default=yes
8200 aros_shared_cflags="-fPIC"
8201 aros_shared_aflags=""
8202 aros_shared_ldflags="-Wl,-rpath,./lib -shared"
8203 aros_kernel_ldflags="-Wl,-rpath,./lib"
8205 aros_target_ar_flags="cr"
8206 aros_target_nm_flags="-C -ul"
8207 aros_target_strip_flags="--strip-unneeded -R.comment"
8211 aros_target_genmap="-Wl,-Map -Xlinker"
8213 # Native flavour stuff
8215 aros_serial_debug="0"
8217 # Palm native flavour stuff
8218 aros_palm_debug_hack="0"
8220 # Unix flavour stuff
8221 aros_nesting_supervisor="0"
8223 # Collect-aros stuff: "-ius" to ignore undefined symbols
8224 ignore_undefined_symbols=""
8226 #-----------------------------------------------------------------------------
8229 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
8230 # it switched on by default, and we use the host compiler, so it compiles AROS
8231 # code with this enabled resulting in link failures as we don't have support
8234 # We use two methods to disable it. For the host compiler (used to compile
8235 # some hosted modules), we test to see if the compiler supports stack
8236 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
8237 # work on all platforms.
8239 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
8240 # (this is done unconditionally, as it should have no effect on compilers
8241 # without the stack protection feature). This may be specific to the way that
8242 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
8243 # strong enough to disable it in a generic way though, so we'll live with it
8244 # until another vendor ships GCC with it enabled in a different way, and deal
8248 { $as_echo "$as_me:$LINENO: checking whether ${CC} accepts -fno-stack-protector" >&5
8249 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
8250 save_cflags="$CFLAGS"
8251 CFLAGS="$CFLAGS -fno-stack-protector"
8252 cat >conftest.$ac_ext <<_ACEOF
8255 cat confdefs.h >>conftest.$ac_ext
8256 cat >>conftest.$ac_ext <<_ACEOF
8257 /* end confdefs.h. */
8267 rm -f conftest.$ac_objext
8268 if { (ac_try="$ac_compile"
8270 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8271 *) ac_try_echo
=$ac_try;;
8273 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8274 $as_echo "$ac_try_echo") >&5
8275 (eval "$ac_compile") 2>conftest.er1
8277 grep -v '^ *+' conftest.er1
>conftest.err
8279 cat conftest.err
>&5
8280 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8281 (exit $ac_status); } && {
8282 test -z "$ac_c_werror_flag" ||
8283 test ! -s conftest.err
8284 } && test -s conftest.
$ac_objext; then
8285 use_no_stack_protector
="yes"
8287 $as_echo "$as_me: failed program was:" >&5
8288 sed 's/^/| /' conftest.
$ac_ext >&5
8290 use_no_stack_protector
="no"
8293 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8294 { $as_echo "$as_me:$LINENO: result: $use_no_stack_protector" >&5
8295 $as_echo "$use_no_stack_protector" >&6; }
8296 if test "x-$use_no_stack_protector" = "x-yes" ; then
8297 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
8299 CFLAGS
="$save_cflags"
8302 #-----------------------------------------------------------------------------
8304 # Disable pointer-signedness warnings if the compiler recognises the option
8305 # (this only works for the host compiler at the moment)
8307 { $as_echo "$as_me:$LINENO: checking whether ${CC} accepts -Wno-pointer-sign" >&5
8308 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
8309 save_cflags
="$CFLAGS"
8310 CFLAGS
="$CFLAGS -Wno-pointer-sign"
8311 cat >conftest.
$ac_ext <<_ACEOF
8314 cat confdefs.h
>>conftest.
$ac_ext
8315 cat >>conftest.
$ac_ext <<_ACEOF
8316 /* end confdefs.h. */
8326 rm -f conftest.
$ac_objext
8327 if { (ac_try
="$ac_compile"
8329 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8330 *) ac_try_echo=$ac_try;;
8332 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8333 $as_echo "$ac_try_echo") >&5
8334 (eval "$ac_compile") 2>conftest.er1
8336 grep -v '^ *+' conftest.er1 >conftest.err
8338 cat conftest.err >&5
8339 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8340 (exit $ac_status); } && {
8341 test -z "$ac_c_werror_flag" ||
8342 test ! -s conftest.err
8343 } && test -s conftest.$ac_objext; then
8344 use_no_sign_warning="yes"
8346 $as_echo "$as_me: failed program was:" >&5
8347 sed 's/^/| /' conftest.$ac_ext >&5
8349 use_no_sign_warning="no"
8352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8353 { $as_echo "$as_me:$LINENO: result: $use_no_sign_warning" >&5
8354 $as_echo "$use_no_sign_warning" >&6; }
8355 if test "x-$use_no_sign_warning" = "x-yes" ; then
8356 aros_host_cflags="$aros_host_cflags -Wno-pointer-sign"
8358 CFLAGS="$save_cflags"
8360 #-----------------------------------------------------------------------------
8362 { $as_echo "$as_me:$LINENO: checking for type of build" >&5
8363 $as_echo_n "checking for type of build... " >&6; }
8364 # Check whether --enable-build_type was given.
8365 if test "${enable_build_type+set}" = set; then
8366 enableval=$enable_build_type; build_type=$enableval
8368 build_type="personal"
8372 if test "$build_type" = "nightly"; then
8373 build_type_string="NIGHTLY"
8374 elif test "$build_type" = "snapshot"; then
8375 build_type_string="SNAPSHOT"
8376 elif test "$build_type" = "milestone"; then
8377 build_type_string="MILESTONE"
8378 elif test "$build_type" = "release"; then
8379 build_type_string="RELEASE"
8381 build_type_string="PERSONAL"
8382 build_type="personal"
8385 aros_config_cflags="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
8387 { $as_echo "$as_me:$LINENO: result: $build_type" >&5
8388 $as_echo "$build_type" >&6; }
8390 #-----------------------------------------------------------------------------
8391 all_debug_types="messages stack mungwall modules symbols"
8393 { $as_echo "$as_me:$LINENO: checking which debug types to enable" >&5
8394 $as_echo_n "checking which debug types to enable... " >&6; }
8395 # Check whether --enable-debug was given.
8396 if test "${enable_debug+set}" = set; then
8397 enableval=$enable_debug; debug="$enableval"
8403 if test "$debug" = "" -o "$debug" = "no"; then
8405 elif test "$debug" = "yes"; then
8409 if test "$debug" = "all" ; then
8410 debug=$all_debug_types
8411 for d in $all_debug_types; do
8412 export aros_${d}_debug="1"
8415 for d in $all_debug_types; do
8416 export aros_${d}_debug="0"
8420 if test "$debug" != "none"; then
8421 debug=`echo $debug |
sed s
/,/\
/g
`
8424 for d2 in $all_debug_types; do
8425 if test "$d2" = "$d"; then
8430 if test "$found" = "0"; then
8431 { { $as_echo "$as_me:$LINENO: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&5
8432 $as_echo "$as_me: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&2;}
8433 { (exit 1); exit 1; }; }
8435 export aros_${d}_debug="1"
8439 { $as_echo "$as_me:$LINENO: result: $debug" >&5
8440 $as_echo "$debug" >&6; }
8442 if test "$aros_messages_debug" = "1"; then
8443 aros_messages_debug="-DADEBUG=1 -DMDEBUG=1"
8445 aros_messages_debug=""
8447 if test "$aros_symbols_debug" = "1"; then
8448 aros_symbols_debug="-g"
8450 aros_symbols_debug=""
8453 # These are the flags to pass when compiling debugged programs
8454 aros_debug_cflags="$aros_symbols_debug $aros_messages_debug"
8455 aros_debug_aflags=""
8456 aros_debug_ldflags="$aros_symbols_debug"
8458 aros_crosstools="no"
8460 #-----------------------------------------------------------------------------
8461 # Checking if we should build crosstools..
8462 { $as_echo "$as_me:$LINENO: checking whether to build crosstools" >&5
8463 $as_echo_n "checking whether to build crosstools... " >&6; }
8464 # Check whether --enable-crosstools was given.
8465 if test "${enable_crosstools+set}" = set; then
8466 enableval=$enable_crosstools; crosstools="$enableval"
8471 if test "$crosstools" != "" -a "$crosstools" != "no"; then
8472 { $as_echo "$as_me:$LINENO: result: yes" >&5
8473 $as_echo "yes" >&6; }
8474 aros_crosstools="yes"
8476 { $as_echo "$as_me:$LINENO: result: no" >&5
8477 $as_echo "no" >&6; }
8480 #-----------------------------------------------------------------------------
8481 # Checking for distcc and ccache.
8483 # Always apply the transforms in this particular order. Basically you should
8484 # always run 'ccache distcc compiler' in that order for the best performance.
8486 { $as_echo "$as_me:$LINENO: checking whether to enable distcc" >&5
8487 $as_echo_n "checking whether to enable distcc... " >&6; }
8488 # Check whether --enable-distcc was given.
8489 if test "${enable_distcc+set}" = set; then
8490 enableval=$enable_distcc; distcc="$enableval"
8495 if test "$distcc" != "" -a "$distcc" != "no"; then
8496 # AC_CHECK_PROG will print out the result in this case
8497 # Extract the first word of "distcc", so it can be a program name with args.
8498 set dummy distcc; ac_word=$2
8499 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8500 $as_echo_n "checking for $ac_word... " >&6; }
8501 if test "${ac_cv_path_DISTCC+set}" = set; then
8502 $as_echo_n "(cached) " >&6
8506 ac_cv_path_DISTCC="$DISTCC" # Let the user override the test with a path.
8509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8513 test -z "$as_dir" && as_dir=.
8514 for ac_exec_ext in '' $ac_executable_extensions; do
8515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8516 ac_cv_path_DISTCC="$as_dir/$ac_word$ac_exec_ext"
8517 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8524 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC="distcc"
8528 DISTCC=$ac_cv_path_DISTCC
8529 if test -n "$DISTCC"; then
8530 { $as_echo "$as_me:$LINENO: result: $DISTCC" >&5
8531 $as_echo "$DISTCC" >&6; }
8533 { $as_echo "$as_me:$LINENO: result: no" >&5
8534 $as_echo "no" >&6; }
8539 { $as_echo "$as_me:$LINENO: result: no" >&5
8540 $as_echo "no" >&6; }
8543 { $as_echo "$as_me:$LINENO: checking whether to enable ccache" >&5
8544 $as_echo_n "checking whether to enable ccache... " >&6; }
8545 # Check whether --enable-ccache was given.
8546 if test "${enable_ccache+set}" = set; then
8547 enableval=$enable_ccache; ccache="$enableval"
8552 if test "$ccache" != "" -a "$ccache" != "no"; then
8553 # AC_CHECK_PROG will print out the result in this case
8554 # Extract the first word of "ccache", so it can be a program name with args.
8555 set dummy ccache; ac_word=$2
8556 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8557 $as_echo_n "checking for $ac_word... " >&6; }
8558 if test "${ac_cv_prog_CCACHE+set}" = set; then
8559 $as_echo_n "(cached) " >&6
8561 if test -n "$CCACHE"; then
8562 ac_cv_prog_CCACHE="$CCACHE" # Let the user override the test.
8564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8568 test -z "$as_dir" && as_dir=.
8569 for ac_exec_ext in '' $ac_executable_extensions; do
8570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8571 ac_cv_prog_CCACHE="ccache"
8572 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8581 CCACHE=$ac_cv_prog_CCACHE
8582 if test -n "$CCACHE"; then
8583 { $as_echo "$as_me:$LINENO: result: $CCACHE" >&5
8584 $as_echo "$CCACHE" >&6; }
8586 { $as_echo "$as_me:$LINENO: result: no" >&5
8587 $as_echo "no" >&6; }
8592 { $as_echo "$as_me:$LINENO: result: no" >&5
8593 $as_echo "no" >&6; }
8596 #-----------------------------------------------------------------------------
8597 { $as_echo "$as_me:$LINENO: checking what optimization flags to use" >&5
8598 $as_echo_n "checking what optimization flags to use... " >&6; }
8600 # Check whether --with-optimization was given.
8601 if test "${with_optimization+set}" = set; then
8602 withval=$with_optimization; optimization="$withval"
8604 optimization="unknown"
8607 if test "$optimization" = "unknown"; then
8608 if test "$debug" != "none"; then
8614 aros_config_cflags="$aros_config_cflags $optimization"
8615 { $as_echo "$as_me:$LINENO: result: $optimization" >&5
8616 $as_echo "$optimization" >&6; }
8618 #-----------------------------------------------------------------------------
8619 { $as_echo "$as_me:$LINENO: checking what target variant to enable" >&5
8620 $as_echo_n "checking what target variant to enable... " >&6; }
8621 # Check whether --enable-target_variant was given.
8622 if test "${enable_target_variant+set}" = set; then
8623 enableval=$enable_target_variant; target_variant=$enableval
8625 target_variant="none"
8628 if test "$target_variant" = "none"; then
8629 aros_target_variant=""
8630 aros_target_suffix=""
8632 aros_target_variant="$target_variant"
8633 aros_target_suffix="-$target_variant"
8635 { $as_echo "$as_me:$LINENO: result: $enableval" >&5
8636 $as_echo "$enableval" >&6; }
8638 target_bootloader="none"
8640 #-----------------------------------------------------------------------------
8641 # This is the target configuration switch.
8642 case "$target_os" in
8644 aros_target_arch="linux"
8645 case "$target_cpu" in
8647 aros_target_cpu="m68k"
8648 aros_object_format="m68kelf"
8649 aros_flavour="emulcompat"
8650 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
8651 aros_shared_ldflags="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
8652 aros_kernel_ldflags="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
8653 gcc_target_cpu="mc68000"
8656 aros_target_cpu="i386"
8657 aros_object_format="elf_i386"
8658 aros_flavour="emulation"
8659 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
8660 aros_default_wbdepth=8
8661 gcc_target_cpu="i386"
8664 aros_target_cpu="x86_64"
8665 aros_object_format="elf_x86_64"
8666 aros_flavour="emulation"
8667 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
8668 aros_config_cflags="$aros_config_cflags -mno-red-zone"
8669 aros_default_wbdepth=8
8670 gcc_target_cpu="x86_64"
8673 aros_target_cpu="ppc"
8674 aros_object_format="elf32ppc"
8675 aros_flavour="emulation"
8676 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8677 aros_default_wbdepth=8
8678 gcc_target_cpu="ppc"
8681 # Same as powerpc, but I need this for the nightly build to work again.
8682 # Actually, the nightly should be made working with powerpc target.
8683 # That just was too much work for the moment, another week or two.
8685 aros_target_cpu="ppc"
8686 aros_object_format="elf32ppc"
8687 aros_flavour="emulation"
8688 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8689 aros_default_wbdepth=8
8690 gcc_target_cpu="ppc"
8693 { { $as_echo "$as_me:$LINENO: error: \"Unknown CPU for Linux -- $target_cpu\"" >&5
8694 $as_echo "$as_me: error: \"Unknown CPU for Linux -- $target_cpu\"" >&2;}
8695 { (exit 1); exit 1; }; }
8701 aros_target_arch="pc"
8702 aros_shared_default="no"
8703 target_bootloader="grub2"
8704 case "$target_cpu" in
8706 aros_target_cpu="i386"
8709 if test "$aros_object_format" = "" ; then
8710 aros_object_format="elf_i386"
8712 aros_flavour="standalone"
8713 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386"
8714 aros_kernel_ldflags=""
8715 aros_default_wbwidth=640
8716 aros_default_wbheight=480
8717 gcc_target_cpu="i386"
8720 aros_target_cpu="x86_64"
8722 if test "$aros_object_format" = "" ; then
8723 aros_object_format="elf_x86_64"
8725 aros_flavour="standalone"
8726 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8727 aros_config_cflags="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone"
8728 aros_kernel_ldflags=""
8729 aros_default_wbwidth=640
8730 aros_default_wbheight=480
8731 gcc_target_cpu="x86_64"
8734 { { $as_echo "$as_me:$LINENO: error: \"Unknown native CPU -- $target_cpu\"" >&5
8735 $as_echo "$as_me: error: \"Unknown native CPU -- $target_cpu\"" >&2;}
8736 { (exit 1); exit 1; }; }
8742 aros_target_arch="prep"
8743 aros_shared_default="no"
8744 aros_target_cpu="ppc"
8745 aros_object_format="elf32ppc"
8746 aros_flavour="ppcnative"
8747 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc"
8748 aros_kernel_ldflags=""
8749 aros_default_wbwidth=640
8750 aros_default_wbheight=480
8751 gcc_target_cpu="ppc"
8755 aros_target_arch="freebsd"
8756 aros_target_cpu="i386"
8757 aros_flavour="emulation"
8758 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386"
8759 gcc_target_cpu="i386"
8761 aros_target_strip_flags="-x"
8765 aros_target_arch="darwin"
8766 aros_flavour="emulation"
8768 case "$target_cpu" in
8770 aros_target_cpu="i386"
8771 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386"
8772 gcc_target_cpu="i386"
8773 aros_object_format="elf_i386"
8774 aros_target_strip_flags="-x"
8777 { { $as_echo "$as_me:$LINENO: error: \"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" >&5
8778 $as_echo "$as_me: error: \"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" >&2;}
8779 { (exit 1); exit 1; }; }
8784 aros_target_arch="netbsd"
8785 case "$target_cpu" in
8787 aros_target_cpu="m68k"
8788 aros_object_format="m68kelf"
8789 aros_flavour="emulcompat"
8790 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8791 gcc_target_cpu="mc68000"
8794 aros_target_cpu="i386"
8795 aros_object_format="elf_i386"
8796 aros_flavour="emulation"
8797 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8798 aros_default_wbdepth=8
8799 gcc_target_cpu="i386"
8802 { { $as_echo "$as_me:$LINENO: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&5
8803 $as_echo "$as_me: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&2;}
8804 { (exit 1); exit 1; }; }
8807 aros_target_genmap="-Wl,-M -Xlinker >"
8808 aros_flavour="emulation"
8809 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386"
8813 aros_target_arch="openbsd"
8814 case "$target_cpu" in
8816 aros_target_cpu="i386"
8817 aros_object_format="elf_i386"
8818 aros_flavour="emulation"
8819 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8820 gcc_target_cpu="i386"
8823 { { $as_echo "$as_me:$LINENO: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&5
8824 $as_echo "$as_me: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&2;}
8825 { (exit 1); exit 1; }; }
8828 aros_target_genmap="-Wl,-M -Xlinker >"
8829 aros_target_nm_flags="-u"
8830 aros_flavour="emulation"
8834 aros_target_arch="solaris"
8835 case "$target_cpu" in
8837 aros_target_cpu="i386"
8838 aros_object_format="elf_i386"
8839 aros_flavour="emulation"
8840 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8841 aros_default_wbdepth=8
8842 gcc_target_cpu="i386"
8845 aros_target_cpu="sparc"
8846 aros_object_format="elf_sparc"
8847 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8848 gcc_target_cpu="sparc"
8851 { { $as_echo "$as_me:$LINENO: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&5
8852 $as_echo "$as_me: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&2;}
8853 { (exit 1); exit 1; }; }
8856 aros_config_cflags="$aros_config_cflags -D$aros_target_cpu"
8857 aros_flavour="emulation"
8861 aros_target_arch="morphos"
8862 aros_shared_default="no"
8863 aros_target_cpu="ppc"
8864 aros_object_format="elf_ppc"
8865 aros_flavour="nativecompat"
8866 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc"
8867 gcc_target_cpu="ppc"
8871 aros_target_arch="sam440"
8872 aros_shared_default="no"
8873 aros_target_cpu="ppc"
8874 aros_object_format="elf32ppc"
8875 aros_flavour="ppcnative"
8876 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc"
8877 aros_kernel_ldflags=""
8878 aros_default_wbwidth=640
8879 aros_default_wbheight=480
8880 aros_config_cflags="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8881 gcc_target_cpu="powerpc"
8885 aros_target_arch="chrp"
8886 aros_shared_default="no"
8887 aros_target_cpu="ppc"
8888 aros_object_format="elf32ppc"
8889 aros_flavour="ppcnative"
8890 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc"
8891 aros_kernel_ldflags=""
8892 aros_default_wbwidth=640
8893 aros_default_wbheight=480
8894 aros_config_cflags="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
8895 gcc_target_cpu="powerpc"
8896 case "$aros_target_variant" in
8898 aros_config_cflags="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
8904 aros_target_arch="amiga"
8905 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8906 aros_shared_default="no"
8908 aros_config_cflags="$aros_config_cflags -fomit-frame-pointer -fbuiltin -ffreestanding"
8910 case "$target_cpu" in
8912 aros_target_cpu="m68k"
8913 aros_object_format="m68kelf"
8914 aros_flavour="nativecompat"
8915 gcc_target_cpu="mc68000"
8919 aros_flavour="native"
8920 gcc_target_cpu="ppc"
8923 { { $as_echo "$as_me:$LINENO: error: \"Unknown CPU for Amiga $target_cpu\"" >&5
8924 $as_echo "$as_me: error: \"Unknown CPU for Amiga $target_cpu\"" >&2;}
8925 { (exit 1); exit 1; }; }
8931 aros_target_arch="mingw32"
8932 aros_shared_default="no"
8935 case "$target_cpu" in
8937 aros_target_cpu="i386"
8938 aros_object_format="elf_i386"
8939 aros_flavour="emulation"
8940 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386"
8941 aros_shared_cflags=""
8942 aros_default_wbdepth=8
8943 gcc_target_cpu="i386"
8944 aros_target_cc="i386-aros-gcc"
8945 aros_target_ld="i386-aros-ld"
8946 aros_target_as="i386-aros-as"
8947 aros_target_ar="i386-aros-ar"
8948 aros_target_ranlib="i386-aros-ranlib"
8949 aros_target_nm="i386-aros-nm"
8950 aros_target_strip="i386-aros-strip"
8951 aros_target_objcopy="i386-aros-objcopy"
8952 aros_target_objdump="i386-aros-objdump"
8953 target_tool_prefix="i386-mingw32-"
8956 { { $as_echo "$as_me:$LINENO: error: \"Unknown CPU for Mingw32 -- $target_cpu\"" >&5
8957 $as_echo "$as_me: error: \"Unknown CPU for Mingw32 -- $target_cpu\"" >&2;}
8958 { (exit 1); exit 1; }; }
8961 if test $host_os = "cygwin"; then
8962 aros_kernel_cflags="-mno-cygwin"
8966 aros_target_arch="pp"
8967 aros_shared_default="no"
8968 case "$target_cpu" in
8970 aros_target_cpu="m68k"
8971 aros_object_format="m68kelf"
8972 aros_flavour="palmnative"
8973 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dm68k"
8974 aros_kernel_ldflags=""
8975 aros_default_wbwidth=160
8976 aros_default_wbheight=160
8977 aros_default_wbdepth=1
8978 aros_target_ar_flags="cru"
8979 aros_compiler_libs="-lgcc1"
8980 aros_shared_default=no
8981 aros_shared_cflags="-fpic"
8982 aros_shared_aflags=""
8983 aros_shared_ldflags="-Wl,-rpath,./lib -shared"
8984 aros_kernel_ldflags="-Wl,-rpath,./lib"
8985 aros_debug_cflags="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
8986 aros_debug_aflags=""
8987 aros_debug_ldflags="$aros_symbols_debug"
8988 aros_mungwall_debug="0"
8989 aros_modules_debug="0"
8990 gcc_target_cpu="mc68000"
8991 ignore_undefined_symbols="-ius"
8994 { { $as_echo "$as_me:$LINENO: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&5
8995 $as_echo "$as_me: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&2;}
8996 { (exit 1); exit 1; }; }
9002 aros_target_arch="mac"
9003 aros_shared_default="no"
9004 case "$target_cpu" in
9006 aros_target_cpu="m68k"
9007 aros_object_format="m68kelf"
9008 aros_flavour="mac68knative"
9009 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dm68k"
9010 aros_default_wbwidth=512
9011 aros_default_wbheight=384
9012 aros_default_wbdepth=8
9013 aros_target_ar_flags="cru"
9014 aros_compiler_libs="-lgcc1"
9015 aros_shared_default=no
9016 aros_shared_cflags="-fpic"
9017 aros_shared_aflags=""
9018 aros_shared_ldflags="-Wl,-rpath,./lib -shared"
9019 aros_kernel_ldflags="-Wl,-rpath,./lib"
9020 aros_debug_cflags="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000"
9021 aros_debug_aflags=""
9022 aros_debug_ldflags="$aros_symbols_debug"
9023 aros_mungwall_debug="0"
9024 aros_modules_debug="0"
9025 gcc_target_cpu="mc68000"
9026 ignore_undefined_symbols="-ius"
9029 { { $as_echo "$as_me:$LINENO: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&5
9030 $as_echo "$as_me: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&2;}
9031 { (exit 1); exit 1; }; }
9037 { { $as_echo "$as_me:$LINENO: error: Unsupported target architecture $target" >&5
9038 $as_echo "$as_me: error: Unsupported target architecture $target" >&2;}
9039 { (exit 1); exit 1; }; }
9043 { $as_echo "$as_me:$LINENO: checking Where to download sourcecode for external ports" >&5
9044 $as_echo_n "checking Where to download sourcecode for external ports... " >&6; }
9046 # Check whether --with-portssources was given.
9047 if test "${with_portssources+set}" = set; then
9048 withval=$with_portssources; with_portssrcdir=$withval
9050 with_portssrcdir="default"
9053 if test "$with_portssrcdir" = "default"; then
9054 AROS_PORTSSRCDIR="$AROS_BUILDDIR/bin/Sources"
9056 AROS_PORTSSRCDIR="$with_portssrcdir"
9058 { $as_echo "$as_me:$LINENO: result: $AROS_PORTSSRCDIR" >&5
9059 $as_echo "$AROS_PORTSSRCDIR" >&6; }
9061 { $as_echo "$as_me:$LINENO: checking which bootloader to use" >&5
9062 $as_echo_n "checking which bootloader to use... " >&6; }
9064 # Check whether --with-bootloader was given.
9065 if test "${with_bootloader+set}" = set; then
9066 withval=$with_bootloader; target_bootloader=$withval
9068 target_bootloader=$target_bootloader
9071 if test "$target_bootloader" = "none"; then
9072 aros_target_bootloader=""
9074 aros_target_bootloader="$target_bootloader"
9076 { $as_echo "$as_me:$LINENO: result: $target_bootloader" >&5
9077 $as_echo "$target_bootloader" >&6; }
9079 { $as_echo "$as_me:$LINENO: checking which icon-set to use" >&5
9080 $as_echo_n "checking which icon-set to use... " >&6; }
9082 # Check whether --with-iconset was given.
9083 if test "${with_iconset+set}" = set; then
9084 withval=$with_iconset; target_iconset=$withval
9086 target_iconset="default"
9089 if test "$target_iconset" = "default"; then
9090 aros_target_iconset="Gorilla"
9091 target_iconset="default (Gorilla)"
9093 aros_target_iconset="$target_iconset"
9095 { $as_echo "$as_me:$LINENO: result: $target_iconset" >&5
9096 $as_echo "$target_iconset" >&6; }
9098 # Check LZO when compiling the grub2 bootloader on i386/x86_64.
9099 aros_liblzo_check="no"
9100 case "$aros_target_bootloader" in
9102 case "$target_cpu" in
9104 aros_liblzo_check="yes"
9107 aros_liblzo_check="yes"
9118 if test "$aros_liblzo_check" = "yes"; then
9119 # There are three possibilities. LZO version 2 installed with the name
9120 # liblzo2, with the name liblzo, and LZO version 1.
9121 { $as_echo "$as_me:$LINENO: checking for __lzo_init_v2 in -llzo2" >&5
9122 $as_echo_n "checking for __lzo_init_v2 in -llzo2... " >&6; }
9123 if test "${ac_cv_lib_lzo2___lzo_init_v2+set}" = set; then
9124 $as_echo_n "(cached) " >&6
9126 ac_check_lib_save_LIBS=$LIBS
9128 cat >conftest.$ac_ext <<_ACEOF
9131 cat confdefs.h >>conftest.$ac_ext
9132 cat >>conftest.$ac_ext <<_ACEOF
9133 /* end confdefs.h. */
9135 /* Override any GCC internal prototype to avoid an error.
9136 Use char because int might match the return type of a GCC
9137 builtin and then its argument prototype would still apply. */
9141 char __lzo_init_v2 ();
9145 return __lzo_init_v2 ();
9150 rm -f conftest.$ac_objext conftest$ac_exeext
9151 if { (ac_try="$ac_link"
9153 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9154 *) ac_try_echo
=$ac_try;;
9156 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9157 $as_echo "$ac_try_echo") >&5
9158 (eval "$ac_link") 2>conftest.er1
9160 grep -v '^ *+' conftest.er1
>conftest.err
9162 cat conftest.err
>&5
9163 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9164 (exit $ac_status); } && {
9165 test -z "$ac_c_werror_flag" ||
9166 test ! -s conftest.err
9167 } && test -s conftest
$ac_exeext && {
9168 test "$cross_compiling" = yes ||
9169 $as_test_x conftest
$ac_exeext
9171 ac_cv_lib_lzo2___lzo_init_v2
=yes
9173 $as_echo "$as_me: failed program was:" >&5
9174 sed 's/^/| /' conftest.
$ac_ext >&5
9176 ac_cv_lib_lzo2___lzo_init_v2
=no
9179 rm -rf conftest.dSYM
9180 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9181 conftest
$ac_exeext conftest.
$ac_ext
9182 LIBS
=$ac_check_lib_save_LIBS
9184 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lzo2___lzo_init_v2" >&5
9185 $as_echo "$ac_cv_lib_lzo2___lzo_init_v2" >&6; }
9186 if test "x$ac_cv_lib_lzo2___lzo_init_v2" = x
""yes; then
9189 { $as_echo "$as_me:$LINENO: checking for __lzo_init_v2 in -llzo" >&5
9190 $as_echo_n "checking for __lzo_init_v2 in -llzo... " >&6; }
9191 if test "${ac_cv_lib_lzo___lzo_init_v2+set}" = set; then
9192 $as_echo_n "(cached) " >&6
9194 ac_check_lib_save_LIBS
=$LIBS
9196 cat >conftest.
$ac_ext <<_ACEOF
9199 cat confdefs.h
>>conftest.
$ac_ext
9200 cat >>conftest.
$ac_ext <<_ACEOF
9201 /* end confdefs.h. */
9203 /* Override any GCC internal prototype to avoid an error.
9204 Use char because int might match the return type of a GCC
9205 builtin and then its argument prototype would still apply. */
9209 char __lzo_init_v2 ();
9213 return __lzo_init_v2 ();
9218 rm -f conftest.
$ac_objext conftest
$ac_exeext
9219 if { (ac_try
="$ac_link"
9221 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9222 *) ac_try_echo=$ac_try;;
9224 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9225 $as_echo "$ac_try_echo") >&5
9226 (eval "$ac_link") 2>conftest.er1
9228 grep -v '^ *+' conftest.er1 >conftest.err
9230 cat conftest.err >&5
9231 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9232 (exit $ac_status); } && {
9233 test -z "$ac_c_werror_flag" ||
9234 test ! -s conftest.err
9235 } && test -s conftest$ac_exeext && {
9236 test "$cross_compiling" = yes ||
9237 $as_test_x conftest$ac_exeext
9239 ac_cv_lib_lzo___lzo_init_v2=yes
9241 $as_echo "$as_me: failed program was:" >&5
9242 sed 's/^/| /' conftest.$ac_ext >&5
9244 ac_cv_lib_lzo___lzo_init_v2=no
9247 rm -rf conftest.dSYM
9248 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9249 conftest$ac_exeext conftest.$ac_ext
9250 LIBS=$ac_check_lib_save_LIBS
9252 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lzo___lzo_init_v2" >&5
9253 $as_echo "$ac_cv_lib_lzo___lzo_init_v2" >&6; }
9254 if test "x$ac_cv_lib_lzo___lzo_init_v2" = x""yes; then
9257 { $as_echo "$as_me:$LINENO: checking for __lzo_init2 in -llzo" >&5
9258 $as_echo_n "checking for __lzo_init2 in -llzo... " >&6; }
9259 if test "${ac_cv_lib_lzo___lzo_init2+set}" = set; then
9260 $as_echo_n "(cached) " >&6
9262 ac_check_lib_save_LIBS=$LIBS
9264 cat >conftest.$ac_ext <<_ACEOF
9267 cat confdefs.h >>conftest.$ac_ext
9268 cat >>conftest.$ac_ext <<_ACEOF
9269 /* end confdefs.h. */
9271 /* Override any GCC internal prototype to avoid an error.
9272 Use char because int might match the return type of a GCC
9273 builtin and then its argument prototype would still apply. */
9277 char __lzo_init2 ();
9281 return __lzo_init2 ();
9286 rm -f conftest.$ac_objext conftest$ac_exeext
9287 if { (ac_try="$ac_link"
9289 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9290 *) ac_try_echo
=$ac_try;;
9292 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9293 $as_echo "$ac_try_echo") >&5
9294 (eval "$ac_link") 2>conftest.er1
9296 grep -v '^ *+' conftest.er1
>conftest.err
9298 cat conftest.err
>&5
9299 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9300 (exit $ac_status); } && {
9301 test -z "$ac_c_werror_flag" ||
9302 test ! -s conftest.err
9303 } && test -s conftest
$ac_exeext && {
9304 test "$cross_compiling" = yes ||
9305 $as_test_x conftest
$ac_exeext
9307 ac_cv_lib_lzo___lzo_init2
=yes
9309 $as_echo "$as_me: failed program was:" >&5
9310 sed 's/^/| /' conftest.
$ac_ext >&5
9312 ac_cv_lib_lzo___lzo_init2
=no
9315 rm -rf conftest.dSYM
9316 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9317 conftest
$ac_exeext conftest.
$ac_ext
9318 LIBS
=$ac_check_lib_save_LIBS
9320 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lzo___lzo_init2" >&5
9321 $as_echo "$ac_cv_lib_lzo___lzo_init2" >&6; }
9322 if test "x$ac_cv_lib_lzo___lzo_init2" = x
""yes; then
9325 { { $as_echo "$as_me:$LINENO: error: LZO library version 1.02 or later is required" >&5
9326 $as_echo "$as_me: error: LZO library version 1.02 or later is required" >&2;}
9327 { (exit 1); exit 1; }; }
9336 LIBS
="$LIBS $LIBLZO"
9337 { $as_echo "$as_me:$LINENO: checking for lzo1x_999_compress" >&5
9338 $as_echo_n "checking for lzo1x_999_compress... " >&6; }
9339 if test "${ac_cv_func_lzo1x_999_compress+set}" = set; then
9340 $as_echo_n "(cached) " >&6
9342 cat >conftest.
$ac_ext <<_ACEOF
9345 cat confdefs.h
>>conftest.
$ac_ext
9346 cat >>conftest.
$ac_ext <<_ACEOF
9347 /* end confdefs.h. */
9348 /* Define lzo1x_999_compress to an innocuous variant, in case <limits.h> declares lzo1x_999_compress.
9349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9350 #define lzo1x_999_compress innocuous_lzo1x_999_compress
9352 /* System header to define __stub macros and hopefully few prototypes,
9353 which can conflict with char lzo1x_999_compress (); below.
9354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9355 <limits.h> exists even on freestanding compilers. */
9358 # include <limits.h>
9360 # include <assert.h>
9363 #undef lzo1x_999_compress
9365 /* Override any GCC internal prototype to avoid an error.
9366 Use char because int might match the return type of a GCC
9367 builtin and then its argument prototype would still apply. */
9371 char lzo1x_999_compress ();
9372 /* The GNU C library defines this for functions which it implements
9373 to always fail with ENOSYS. Some functions are actually named
9374 something starting with __ and the normal name is an alias. */
9375 #if defined __stub_lzo1x_999_compress || defined __stub___lzo1x_999_compress
9382 return lzo1x_999_compress ();
9387 rm -f conftest.
$ac_objext conftest
$ac_exeext
9388 if { (ac_try
="$ac_link"
9390 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9391 *) ac_try_echo=$ac_try;;
9393 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9394 $as_echo "$ac_try_echo") >&5
9395 (eval "$ac_link") 2>conftest.er1
9397 grep -v '^ *+' conftest.er1 >conftest.err
9399 cat conftest.err >&5
9400 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9401 (exit $ac_status); } && {
9402 test -z "$ac_c_werror_flag" ||
9403 test ! -s conftest.err
9404 } && test -s conftest$ac_exeext && {
9405 test "$cross_compiling" = yes ||
9406 $as_test_x conftest$ac_exeext
9408 ac_cv_func_lzo1x_999_compress=yes
9410 $as_echo "$as_me: failed program was:" >&5
9411 sed 's/^/| /' conftest.$ac_ext >&5
9413 ac_cv_func_lzo1x_999_compress=no
9416 rm -rf conftest.dSYM
9417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9418 conftest$ac_exeext conftest.$ac_ext
9420 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_lzo1x_999_compress" >&5
9421 $as_echo "$ac_cv_func_lzo1x_999_compress" >&6; }
9422 if test "x$ac_cv_func_lzo1x_999_compress" = x""yes; then
9425 { { $as_echo "$as_me:$LINENO: error: LZO1X-999 must be enabled" >&5
9426 $as_echo "$as_me: error: LZO1X-999 must be enabled" >&2;}
9427 { (exit 1); exit 1; }; }
9431 # LZO version 2 uses lzo/lzo1x.h, while LZO version 1 uses lzo1x.h.
9434 for ac_header in lzo/lzo1x.h lzo1x.h
9436 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9437 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9438 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9439 $as_echo_n "checking for $ac_header... " >&6; }
9440 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9441 $as_echo_n "(cached) " >&6
9443 ac_res=`eval 'as_val=${'$as_ac_Header'}
9444 $as_echo "$as_val"'`
9445 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9446 $as_echo "$ac_res" >&6; }
9448 # Is the header compilable?
9449 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
9450 $as_echo_n "checking $ac_header usability... " >&6; }
9451 cat >conftest.$ac_ext <<_ACEOF
9454 cat confdefs.h >>conftest.$ac_ext
9455 cat >>conftest.$ac_ext <<_ACEOF
9456 /* end confdefs.h. */
9457 $ac_includes_default
9458 #include <$ac_header>
9460 rm -f conftest.$ac_objext
9461 if { (ac_try="$ac_compile"
9463 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9464 *) ac_try_echo
=$ac_try;;
9466 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9467 $as_echo "$ac_try_echo") >&5
9468 (eval "$ac_compile") 2>conftest.er1
9470 grep -v '^ *+' conftest.er1
>conftest.err
9472 cat conftest.err
>&5
9473 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9474 (exit $ac_status); } && {
9475 test -z "$ac_c_werror_flag" ||
9476 test ! -s conftest.err
9477 } && test -s conftest.
$ac_objext; then
9478 ac_header_compiler
=yes
9480 $as_echo "$as_me: failed program was:" >&5
9481 sed 's/^/| /' conftest.
$ac_ext >&5
9483 ac_header_compiler
=no
9486 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9487 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9488 $as_echo "$ac_header_compiler" >&6; }
9490 # Is the header present?
9491 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
9492 $as_echo_n "checking $ac_header presence... " >&6; }
9493 cat >conftest.
$ac_ext <<_ACEOF
9496 cat confdefs.h
>>conftest.
$ac_ext
9497 cat >>conftest.
$ac_ext <<_ACEOF
9498 /* end confdefs.h. */
9499 #include <$ac_header>
9501 if { (ac_try
="$ac_cpp conftest.$ac_ext"
9503 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9504 *) ac_try_echo=$ac_try;;
9506 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9507 $as_echo "$ac_try_echo") >&5
9508 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9510 grep -v '^ *+' conftest.er1 >conftest.err
9512 cat conftest.err >&5
9513 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9514 (exit $ac_status); } >/dev/null && {
9515 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9516 test ! -s conftest.err
9518 ac_header_preproc=yes
9520 $as_echo "$as_me: failed program was:" >&5
9521 sed 's/^/| /' conftest.$ac_ext >&5
9523 ac_header_preproc=no
9526 rm -f conftest.err conftest.$ac_ext
9527 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9528 $as_echo "$ac_header_preproc" >&6; }
9530 # So? What about this header?
9531 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9533 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9534 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9535 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9536 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9537 ac_header_preproc=yes
9540 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9541 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9542 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9543 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9544 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9545 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9546 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9547 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9548 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9549 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9550 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9551 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9555 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9556 $as_echo_n "checking for $ac_header... " >&6; }
9557 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9558 $as_echo_n "(cached) " >&6
9560 eval "$as_ac_Header=\$ac_header_preproc"
9562 ac_res=`eval 'as_val=${'$as_ac_Header'}
9563 $as_echo "$as_val"'`
9564 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9565 $as_echo "$ac_res" >&6; }
9568 as_val=`eval 'as_val=${'$as_ac_Header'}
9569 $as_echo "$as_val"'`
9570 if test "x$as_val" = x""yes; then
9571 cat >>confdefs.h <<_ACEOF
9572 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9581 { $as_echo "$as_me:$LINENO: checking which GUI Theme to use" >&5
9582 $as_echo_n "checking which GUI Theme to use... " >&6; }
9584 # Check whether --with-theme was given.
9585 if test "${with_theme+set}" = set; then
9586 withval=$with_theme; target_guitheme=$withval
9588 target_guitheme="default"
9591 if test "$target_guitheme" = "default"; then
9592 aros_target_guitheme="Ice"
9594 aros_target_guitheme="$target_guitheme"
9596 { $as_echo "$as_me:$LINENO: result: $aros_target_guitheme" >&5
9597 $as_echo "$aros_target_guitheme" >&6; }
9599 # Find out if we are cross-compiling (ie. if we can't use the host compiler
9602 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
9605 if test "$aros_host_arch" == "darwin" ; then
9609 # Set prefix for target compiler etc. if we're cross-compiling
9610 # (should possibly be earlier but needs to be after AC_PROG_CC)
9611 if test "$cross_compiling" = "yes" ; then
9612 if test "$target_tool_prefix" = ""; then
9613 target_tool_prefix=${target_cpu}-elf-
9615 CC=${target_tool_prefix}gcc
9618 #-----------------------------------------------------------------------------
9620 # Disable pointer-signedness warnings if the compiler recognises the option
9622 { $as_echo "$as_me:$LINENO: checking whether ${CC} accepts -Wno-pointer-sign" >&5
9623 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
9624 save_cflags="$CFLAGS"
9625 CFLAGS="$CFLAGS -Wno-pointer-sign"
9626 cat >conftest.$ac_ext <<_ACEOF
9629 cat confdefs.h >>conftest.$ac_ext
9630 cat >>conftest.$ac_ext <<_ACEOF
9631 /* end confdefs.h. */
9641 rm -f conftest.$ac_objext
9642 if { (ac_try="$ac_compile"
9644 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9645 *) ac_try_echo
=$ac_try;;
9647 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9648 $as_echo "$ac_try_echo") >&5
9649 (eval "$ac_compile") 2>conftest.er1
9651 grep -v '^ *+' conftest.er1
>conftest.err
9653 cat conftest.err
>&5
9654 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9655 (exit $ac_status); } && {
9656 test -z "$ac_c_werror_flag" ||
9657 test ! -s conftest.err
9658 } && test -s conftest.
$ac_objext; then
9659 use_no_sign_warning
="yes"
9661 $as_echo "$as_me: failed program was:" >&5
9662 sed 's/^/| /' conftest.
$ac_ext >&5
9664 use_no_sign_warning
="no"
9667 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9668 { $as_echo "$as_me:$LINENO: result: $use_no_sign_warning" >&5
9669 $as_echo "$use_no_sign_warning" >&6; }
9670 if test "x-$use_no_sign_warning" = "x-yes" ; then
9671 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
9673 CFLAGS
="$save_cflags"
9675 #-----------------------------------------------------------------------------
9677 # Find all the tools we need to compile. This could be cross-compiling
9678 # though! If that is the case we use the GNU form of the target and
9679 # simply add this to the front of the binary name. This is rather simple,
9680 # but it should work under most circumstances.
9682 # The default tools are to use the same as the host, but only if the
9683 # host and target CPU are the same. With GCC this is normally enough.
9687 aros_shared_ld
="$aros_host_ld"
9689 aros_target_mkdep
="$aros_host_mkdep"
9690 aros_target_incl_def
="$aros_host_incl"
9692 # Extract the first word of "$CC", so it can be a program name with args.
9693 set dummy
$CC; ac_word
=$2
9694 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9695 $as_echo_n "checking for $ac_word... " >&6; }
9696 if test "${ac_cv_path_aros_kernel_cc+set}" = set; then
9697 $as_echo_n "(cached) " >&6
9699 case $aros_kernel_cc in
9701 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
9704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9708 test -z "$as_dir" && as_dir
=.
9709 for ac_exec_ext
in '' $ac_executable_extensions; do
9710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9711 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
9712 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9722 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
9723 if test -n "$aros_kernel_cc"; then
9724 { $as_echo "$as_me:$LINENO: result: $aros_kernel_cc" >&5
9725 $as_echo "$aros_kernel_cc" >&6; }
9727 { $as_echo "$as_me:$LINENO: result: no" >&5
9728 $as_echo "no" >&6; }
9733 # The default tools executables to be linked to.
9734 if test "$aros_target_cc" != ""; then
9735 # Extract the first word of "$aros_target_cc", so it can be a program name with args.
9736 set dummy
$aros_target_cc; ac_word
=$2
9737 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9738 $as_echo_n "checking for $ac_word... " >&6; }
9739 if test "${ac_cv_path_aros_target_cc+set}" = set; then
9740 $as_echo_n "(cached) " >&6
9742 case $aros_target_cc in
9744 ac_cv_path_aros_target_cc
="$aros_target_cc" # Let the user override the test with a path.
9747 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9751 test -z "$as_dir" && as_dir
=.
9752 for ac_exec_ext
in '' $ac_executable_extensions; do
9753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9754 ac_cv_path_aros_target_cc
="$as_dir/$ac_word$ac_exec_ext"
9755 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9765 aros_target_cc
=$ac_cv_path_aros_target_cc
9766 if test -n "$aros_target_cc"; then
9767 { $as_echo "$as_me:$LINENO: result: $aros_target_cc" >&5
9768 $as_echo "$aros_target_cc" >&6; }
9770 { $as_echo "$as_me:$LINENO: result: no" >&5
9771 $as_echo "no" >&6; }
9775 if test "$aros_target_cc" = ""; then
9776 { { $as_echo "$as_me:$LINENO: error: gcc is required to build AROS. Please install and run configure again." >&5
9777 $as_echo "$as_me: error: gcc is required to build AROS. Please install and run configure again." >&2;}
9778 { (exit 1); exit 1; }; }
9781 if test "$aros_target_ld" != ""; then
9782 # Extract the first word of "$aros_target_ld", so it can be a program name with args.
9783 set dummy
$aros_target_ld; ac_word
=$2
9784 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9785 $as_echo_n "checking for $ac_word... " >&6; }
9786 if test "${ac_cv_path_aros_target_ld+set}" = set; then
9787 $as_echo_n "(cached) " >&6
9789 case $aros_target_ld in
9791 ac_cv_path_aros_target_ld
="$aros_target_ld" # Let the user override the test with a path.
9794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9798 test -z "$as_dir" && as_dir
=.
9799 for ac_exec_ext
in '' $ac_executable_extensions; do
9800 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9801 ac_cv_path_aros_target_ld
="$as_dir/$ac_word$ac_exec_ext"
9802 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9812 aros_target_ld
=$ac_cv_path_aros_target_ld
9813 if test -n "$aros_target_ld"; then
9814 { $as_echo "$as_me:$LINENO: result: $aros_target_ld" >&5
9815 $as_echo "$aros_target_ld" >&6; }
9817 { $as_echo "$as_me:$LINENO: result: no" >&5
9818 $as_echo "no" >&6; }
9822 if test "$aros_target_ld" = ""; then
9823 { { $as_echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
9824 $as_echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
9825 { (exit 1); exit 1; }; }
9829 if test "$crosstools" != "yes"; then
9831 if test "$aros_target_as" = ""; then
9832 if test "$cross_compiling" = "yes" ; then
9833 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
9834 set dummy
${target_tool_prefix}as
; ac_word
=$2
9835 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9836 $as_echo_n "checking for $ac_word... " >&6; }
9837 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9838 $as_echo_n "(cached) " >&6
9840 case $aros_target_as_ln in
9842 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
9845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9849 test -z "$as_dir" && as_dir
=.
9850 for ac_exec_ext
in '' $ac_executable_extensions; do
9851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9852 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
9853 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9863 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
9864 if test -n "$aros_target_as_ln"; then
9865 { $as_echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9866 $as_echo "$aros_target_as_ln" >&6; }
9868 { $as_echo "$as_me:$LINENO: result: no" >&5
9869 $as_echo "no" >&6; }
9874 if test "$GCC" = "yes"; then
9875 aros_gcc_as
=`$CC -print-prog-name=as`
9876 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
9877 set dummy
`basename $aros_gcc_as`; ac_word
=$2
9878 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9879 $as_echo_n "checking for $ac_word... " >&6; }
9880 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9881 $as_echo_n "(cached) " >&6
9883 case $aros_target_as_ln in
9885 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
9888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9889 for as_dir
in `dirname $aros_gcc_as`
9892 test -z "$as_dir" && as_dir
=.
9893 for ac_exec_ext
in '' $ac_executable_extensions; do
9894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9895 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
9896 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9906 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
9907 if test -n "$aros_target_as_ln"; then
9908 { $as_echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9909 $as_echo "$aros_target_as_ln" >&6; }
9911 { $as_echo "$as_me:$LINENO: result: no" >&5
9912 $as_echo "no" >&6; }
9917 if test "$aros_target_as_ln" = ""; then
9918 # Extract the first word of "as", so it can be a program name with args.
9919 set dummy as
; ac_word
=$2
9920 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9921 $as_echo_n "checking for $ac_word... " >&6; }
9922 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9923 $as_echo_n "(cached) " >&6
9925 case $aros_target_as_ln in
9927 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
9930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9934 test -z "$as_dir" && as_dir
=.
9935 for ac_exec_ext
in '' $ac_executable_extensions; do
9936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9937 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
9938 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9948 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
9949 if test -n "$aros_target_as_ln"; then
9950 { $as_echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9951 $as_echo "$aros_target_as_ln" >&6; }
9953 { $as_echo "$as_me:$LINENO: result: no" >&5
9954 $as_echo "no" >&6; }
9961 # Extract the first word of "$aros_target_as", so it can be a program name with args.
9962 set dummy
$aros_target_as; ac_word
=$2
9963 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9964 $as_echo_n "checking for $ac_word... " >&6; }
9965 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9966 $as_echo_n "(cached) " >&6
9968 case $aros_target_as_ln in
9970 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
9973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9977 test -z "$as_dir" && as_dir
=.
9978 for ac_exec_ext
in '' $ac_executable_extensions; do
9979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9980 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
9981 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9991 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
9992 if test -n "$aros_target_as_ln"; then
9993 { $as_echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9994 $as_echo "$aros_target_as_ln" >&6; }
9996 { $as_echo "$as_me:$LINENO: result: no" >&5
9997 $as_echo "no" >&6; }
10003 if test "$aros_target_as_ln" = ""; then
10004 { { $as_echo "$as_me:$LINENO: error: as is required to build AROS. Please install and run configure again." >&5
10005 $as_echo "$as_me: error: as is required to build AROS. Please install and run configure again." >&2;}
10006 { (exit 1); exit 1; }; }
10009 if test "$aros_kernel_ld" = ""; then
10010 if test "$cross_compiling" = "yes" ; then
10011 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
10012 set dummy
${target_tool_prefix}ld
; ac_word
=$2
10013 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10014 $as_echo_n "checking for $ac_word... " >&6; }
10015 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
10016 $as_echo_n "(cached) " >&6
10018 case $aros_kernel_ld in
10020 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10023 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10024 for as_dir
in $PATH
10027 test -z "$as_dir" && as_dir
=.
10028 for ac_exec_ext
in '' $ac_executable_extensions; do
10029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10030 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10031 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10041 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10042 if test -n "$aros_kernel_ld"; then
10043 { $as_echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
10044 $as_echo "$aros_kernel_ld" >&6; }
10046 { $as_echo "$as_me:$LINENO: result: no" >&5
10047 $as_echo "no" >&6; }
10052 if test "$GCC" = "yes"; then
10053 aros_gcc_ld
=`$CC -print-prog-name=ld`
10054 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
10055 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
10056 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10057 $as_echo_n "checking for $ac_word... " >&6; }
10058 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
10059 $as_echo_n "(cached) " >&6
10061 case $aros_kernel_ld in
10063 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10067 for as_dir
in `dirname $aros_gcc_ld`
10070 test -z "$as_dir" && as_dir
=.
10071 for ac_exec_ext
in '' $ac_executable_extensions; do
10072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10073 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10074 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10084 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10085 if test -n "$aros_kernel_ld"; then
10086 { $as_echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
10087 $as_echo "$aros_kernel_ld" >&6; }
10089 { $as_echo "$as_me:$LINENO: result: no" >&5
10090 $as_echo "no" >&6; }
10095 if test "$aros_kernel_ld" = ""; then
10096 # Extract the first word of "ld", so it can be a program name with args.
10097 set dummy ld
; ac_word
=$2
10098 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10099 $as_echo_n "checking for $ac_word... " >&6; }
10100 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
10101 $as_echo_n "(cached) " >&6
10103 case $aros_kernel_ld in
10105 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10108 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10109 for as_dir
in $PATH
10112 test -z "$as_dir" && as_dir
=.
10113 for ac_exec_ext
in '' $ac_executable_extensions; do
10114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10115 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10116 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10126 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10127 if test -n "$aros_kernel_ld"; then
10128 { $as_echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
10129 $as_echo "$aros_kernel_ld" >&6; }
10131 { $as_echo "$as_me:$LINENO: result: no" >&5
10132 $as_echo "no" >&6; }
10139 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
10140 set dummy
$aros_kernel_ld; ac_word
=$2
10141 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10142 $as_echo_n "checking for $ac_word... " >&6; }
10143 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
10144 $as_echo_n "(cached) " >&6
10146 case $aros_kernel_ld in
10148 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10152 for as_dir
in $PATH
10155 test -z "$as_dir" && as_dir
=.
10156 for ac_exec_ext
in '' $ac_executable_extensions; do
10157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10158 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10159 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10169 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10170 if test -n "$aros_kernel_ld"; then
10171 { $as_echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
10172 $as_echo "$aros_kernel_ld" >&6; }
10174 { $as_echo "$as_me:$LINENO: result: no" >&5
10175 $as_echo "no" >&6; }
10181 if test "$aros_kernel_ld" = ""; then
10182 { { $as_echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
10183 $as_echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
10184 { (exit 1); exit 1; }; }
10187 if test "$aros_target_ar" = ""; then
10188 if test "$cross_compiling" = "yes" ; then
10189 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
10190 set dummy
${target_tool_prefix}ar; ac_word
=$2
10191 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10192 $as_echo_n "checking for $ac_word... " >&6; }
10193 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
10194 $as_echo_n "(cached) " >&6
10196 case $aros_target_ar_ln in
10198 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
10201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10202 for as_dir
in $PATH
10205 test -z "$as_dir" && as_dir
=.
10206 for ac_exec_ext
in '' $ac_executable_extensions; do
10207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10208 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
10209 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10219 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
10220 if test -n "$aros_target_ar_ln"; then
10221 { $as_echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
10222 $as_echo "$aros_target_ar_ln" >&6; }
10224 { $as_echo "$as_me:$LINENO: result: no" >&5
10225 $as_echo "no" >&6; }
10230 if test "$GCC" = "yes"; then
10231 aros_gcc_ar
=`$CC -print-prog-name=ar`
10232 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
10233 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
10234 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10235 $as_echo_n "checking for $ac_word... " >&6; }
10236 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
10237 $as_echo_n "(cached) " >&6
10239 case $aros_target_ar_ln in
10241 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
10244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10245 for as_dir
in `dirname $aros_gcc_ar`
10248 test -z "$as_dir" && as_dir
=.
10249 for ac_exec_ext
in '' $ac_executable_extensions; do
10250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10251 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
10252 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10262 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
10263 if test -n "$aros_target_ar_ln"; then
10264 { $as_echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
10265 $as_echo "$aros_target_ar_ln" >&6; }
10267 { $as_echo "$as_me:$LINENO: result: no" >&5
10268 $as_echo "no" >&6; }
10273 if test "$aros_target_ar_ln" = ""; then
10274 # Extract the first word of "ar", so it can be a program name with args.
10275 set dummy
ar; ac_word
=$2
10276 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10277 $as_echo_n "checking for $ac_word... " >&6; }
10278 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
10279 $as_echo_n "(cached) " >&6
10281 case $aros_target_ar_ln in
10283 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
10286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10287 for as_dir
in $PATH
10290 test -z "$as_dir" && as_dir
=.
10291 for ac_exec_ext
in '' $ac_executable_extensions; do
10292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10293 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
10294 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10304 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
10305 if test -n "$aros_target_ar_ln"; then
10306 { $as_echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
10307 $as_echo "$aros_target_ar_ln" >&6; }
10309 { $as_echo "$as_me:$LINENO: result: no" >&5
10310 $as_echo "no" >&6; }
10317 # Extract the first word of "$aros_target_ar", so it can be a program name with args.
10318 set dummy
$aros_target_ar; ac_word
=$2
10319 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10320 $as_echo_n "checking for $ac_word... " >&6; }
10321 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
10322 $as_echo_n "(cached) " >&6
10324 case $aros_target_ar_ln in
10326 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
10329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10330 for as_dir
in $PATH
10333 test -z "$as_dir" && as_dir
=.
10334 for ac_exec_ext
in '' $ac_executable_extensions; do
10335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10336 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
10337 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10347 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
10348 if test -n "$aros_target_ar_ln"; then
10349 { $as_echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
10350 $as_echo "$aros_target_ar_ln" >&6; }
10352 { $as_echo "$as_me:$LINENO: result: no" >&5
10353 $as_echo "no" >&6; }
10359 if test "$aros_target_ar_ln" = ""; then
10360 { { $as_echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
10361 $as_echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
10362 { (exit 1); exit 1; }; }
10365 if test "$aros_target_nm" = ""; then
10366 if test "$cross_compiling" = "yes" ; then
10367 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
10368 set dummy
${target_tool_prefix}nm
; ac_word
=$2
10369 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10370 $as_echo_n "checking for $ac_word... " >&6; }
10371 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
10372 $as_echo_n "(cached) " >&6
10374 case $aros_target_nm_ln in
10376 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
10379 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10380 for as_dir
in $PATH
10383 test -z "$as_dir" && as_dir
=.
10384 for ac_exec_ext
in '' $ac_executable_extensions; do
10385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10386 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
10387 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10397 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
10398 if test -n "$aros_target_nm_ln"; then
10399 { $as_echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10400 $as_echo "$aros_target_nm_ln" >&6; }
10402 { $as_echo "$as_me:$LINENO: result: no" >&5
10403 $as_echo "no" >&6; }
10408 if test "$GCC" = "yes"; then
10409 aros_gcc_nm
=`$CC -print-prog-name=nm`
10410 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
10411 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
10412 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10413 $as_echo_n "checking for $ac_word... " >&6; }
10414 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
10415 $as_echo_n "(cached) " >&6
10417 case $aros_target_nm_ln in
10419 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
10422 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10423 for as_dir
in `dirname $aros_gcc_nm`
10426 test -z "$as_dir" && as_dir
=.
10427 for ac_exec_ext
in '' $ac_executable_extensions; do
10428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10429 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
10430 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10440 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
10441 if test -n "$aros_target_nm_ln"; then
10442 { $as_echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10443 $as_echo "$aros_target_nm_ln" >&6; }
10445 { $as_echo "$as_me:$LINENO: result: no" >&5
10446 $as_echo "no" >&6; }
10451 if test "$aros_target_nm_ln" = ""; then
10452 # Extract the first word of "nm", so it can be a program name with args.
10453 set dummy nm
; ac_word
=$2
10454 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10455 $as_echo_n "checking for $ac_word... " >&6; }
10456 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
10457 $as_echo_n "(cached) " >&6
10459 case $aros_target_nm_ln in
10461 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
10464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10465 for as_dir
in $PATH
10468 test -z "$as_dir" && as_dir
=.
10469 for ac_exec_ext
in '' $ac_executable_extensions; do
10470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10471 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
10472 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10482 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
10483 if test -n "$aros_target_nm_ln"; then
10484 { $as_echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10485 $as_echo "$aros_target_nm_ln" >&6; }
10487 { $as_echo "$as_me:$LINENO: result: no" >&5
10488 $as_echo "no" >&6; }
10495 # Extract the first word of "$aros_target_nm", so it can be a program name with args.
10496 set dummy
$aros_target_nm; ac_word
=$2
10497 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10498 $as_echo_n "checking for $ac_word... " >&6; }
10499 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
10500 $as_echo_n "(cached) " >&6
10502 case $aros_target_nm_ln in
10504 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
10507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10508 for as_dir
in $PATH
10511 test -z "$as_dir" && as_dir
=.
10512 for ac_exec_ext
in '' $ac_executable_extensions; do
10513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10514 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
10515 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10525 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
10526 if test -n "$aros_target_nm_ln"; then
10527 { $as_echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10528 $as_echo "$aros_target_nm_ln" >&6; }
10530 { $as_echo "$as_me:$LINENO: result: no" >&5
10531 $as_echo "no" >&6; }
10537 if test "$aros_target_nm_ln" = ""; then
10538 { { $as_echo "$as_me:$LINENO: error: nm is required to build AROS. Please install and run configure again." >&5
10539 $as_echo "$as_me: error: nm is required to build AROS. Please install and run configure again." >&2;}
10540 { (exit 1); exit 1; }; }
10543 if test "$aros_target_objcopy" = ""; then
10544 if test "$cross_compiling" = "yes" ; then
10545 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
10546 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
10547 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10548 $as_echo_n "checking for $ac_word... " >&6; }
10549 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10550 $as_echo_n "(cached) " >&6
10552 case $aros_target_objcopy_ln in
10554 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
10557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10558 for as_dir
in $PATH
10561 test -z "$as_dir" && as_dir
=.
10562 for ac_exec_ext
in '' $ac_executable_extensions; do
10563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10564 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
10565 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10575 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
10576 if test -n "$aros_target_objcopy_ln"; then
10577 { $as_echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10578 $as_echo "$aros_target_objcopy_ln" >&6; }
10580 { $as_echo "$as_me:$LINENO: result: no" >&5
10581 $as_echo "no" >&6; }
10586 if test "$GCC" = "yes"; then
10587 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
10588 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
10589 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
10590 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10591 $as_echo_n "checking for $ac_word... " >&6; }
10592 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10593 $as_echo_n "(cached) " >&6
10595 case $aros_target_objcopy_ln in
10597 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
10600 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10601 for as_dir
in `dirname $aros_gcc_objcopy`
10604 test -z "$as_dir" && as_dir
=.
10605 for ac_exec_ext
in '' $ac_executable_extensions; do
10606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10607 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
10608 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10618 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
10619 if test -n "$aros_target_objcopy_ln"; then
10620 { $as_echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10621 $as_echo "$aros_target_objcopy_ln" >&6; }
10623 { $as_echo "$as_me:$LINENO: result: no" >&5
10624 $as_echo "no" >&6; }
10629 if test "$aros_target_objcopy_ln" = ""; then
10630 # Extract the first word of "objcopy", so it can be a program name with args.
10631 set dummy objcopy
; ac_word
=$2
10632 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10633 $as_echo_n "checking for $ac_word... " >&6; }
10634 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10635 $as_echo_n "(cached) " >&6
10637 case $aros_target_objcopy_ln in
10639 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
10642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10643 for as_dir
in $PATH
10646 test -z "$as_dir" && as_dir
=.
10647 for ac_exec_ext
in '' $ac_executable_extensions; do
10648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10649 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
10650 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10660 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
10661 if test -n "$aros_target_objcopy_ln"; then
10662 { $as_echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10663 $as_echo "$aros_target_objcopy_ln" >&6; }
10665 { $as_echo "$as_me:$LINENO: result: no" >&5
10666 $as_echo "no" >&6; }
10673 # Extract the first word of "$aros_target_objcopy", so it can be a program name with args.
10674 set dummy
$aros_target_objcopy; ac_word
=$2
10675 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10676 $as_echo_n "checking for $ac_word... " >&6; }
10677 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10678 $as_echo_n "(cached) " >&6
10680 case $aros_target_objcopy_ln in
10682 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
10685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10686 for as_dir
in $PATH
10689 test -z "$as_dir" && as_dir
=.
10690 for ac_exec_ext
in '' $ac_executable_extensions; do
10691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10692 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
10693 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10703 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
10704 if test -n "$aros_target_objcopy_ln"; then
10705 { $as_echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10706 $as_echo "$aros_target_objcopy_ln" >&6; }
10708 { $as_echo "$as_me:$LINENO: result: no" >&5
10709 $as_echo "no" >&6; }
10715 if test "$aros_target_objcopy_ln" = ""; then
10716 { { $as_echo "$as_me:$LINENO: error: objcopy is required to build AROS. Please install and run configure again." >&5
10717 $as_echo "$as_me: error: objcopy is required to build AROS. Please install and run configure again." >&2;}
10718 { (exit 1); exit 1; }; }
10721 if test "$aros_target_objdump" = ""; then
10722 if test "$cross_compiling" = "yes" ; then
10723 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
10724 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
10725 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10726 $as_echo_n "checking for $ac_word... " >&6; }
10727 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10728 $as_echo_n "(cached) " >&6
10730 case $aros_target_objdump_ln in
10732 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
10735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10736 for as_dir
in $PATH
10739 test -z "$as_dir" && as_dir
=.
10740 for ac_exec_ext
in '' $ac_executable_extensions; do
10741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10742 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
10743 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10753 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
10754 if test -n "$aros_target_objdump_ln"; then
10755 { $as_echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10756 $as_echo "$aros_target_objdump_ln" >&6; }
10758 { $as_echo "$as_me:$LINENO: result: no" >&5
10759 $as_echo "no" >&6; }
10764 if test "$GCC" = "yes"; then
10765 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
10766 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
10767 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
10768 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10769 $as_echo_n "checking for $ac_word... " >&6; }
10770 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10771 $as_echo_n "(cached) " >&6
10773 case $aros_target_objdump_ln in
10775 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
10778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10779 for as_dir
in `dirname $aros_gcc_objdump`
10782 test -z "$as_dir" && as_dir
=.
10783 for ac_exec_ext
in '' $ac_executable_extensions; do
10784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10785 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
10786 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10796 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
10797 if test -n "$aros_target_objdump_ln"; then
10798 { $as_echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10799 $as_echo "$aros_target_objdump_ln" >&6; }
10801 { $as_echo "$as_me:$LINENO: result: no" >&5
10802 $as_echo "no" >&6; }
10807 if test "$aros_target_objdump_ln" = ""; then
10808 # Extract the first word of "objdump", so it can be a program name with args.
10809 set dummy objdump
; ac_word
=$2
10810 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10811 $as_echo_n "checking for $ac_word... " >&6; }
10812 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10813 $as_echo_n "(cached) " >&6
10815 case $aros_target_objdump_ln in
10817 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
10820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10821 for as_dir
in $PATH
10824 test -z "$as_dir" && as_dir
=.
10825 for ac_exec_ext
in '' $ac_executable_extensions; do
10826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10827 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
10828 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10838 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
10839 if test -n "$aros_target_objdump_ln"; then
10840 { $as_echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10841 $as_echo "$aros_target_objdump_ln" >&6; }
10843 { $as_echo "$as_me:$LINENO: result: no" >&5
10844 $as_echo "no" >&6; }
10851 # Extract the first word of "$aros_target_objdump", so it can be a program name with args.
10852 set dummy
$aros_target_objdump; ac_word
=$2
10853 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10854 $as_echo_n "checking for $ac_word... " >&6; }
10855 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10856 $as_echo_n "(cached) " >&6
10858 case $aros_target_objdump_ln in
10860 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
10863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10864 for as_dir
in $PATH
10867 test -z "$as_dir" && as_dir
=.
10868 for ac_exec_ext
in '' $ac_executable_extensions; do
10869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10870 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
10871 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10881 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
10882 if test -n "$aros_target_objdump_ln"; then
10883 { $as_echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10884 $as_echo "$aros_target_objdump_ln" >&6; }
10886 { $as_echo "$as_me:$LINENO: result: no" >&5
10887 $as_echo "no" >&6; }
10893 if test "$aros_target_objdump_ln" = ""; then
10894 { { $as_echo "$as_me:$LINENO: error: objdump is required to build AROS. Please install and run configure again." >&5
10895 $as_echo "$as_me: error: objdump is required to build AROS. Please install and run configure again." >&2;}
10896 { (exit 1); exit 1; }; }
10899 if test "$aros_target_ranlib" = ""; then
10900 if test "$cross_compiling" = "yes" ; then
10901 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
10902 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
10903 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10904 $as_echo_n "checking for $ac_word... " >&6; }
10905 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10906 $as_echo_n "(cached) " >&6
10908 case $aros_target_ranlib_ln in
10910 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
10913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10914 for as_dir
in $PATH
10917 test -z "$as_dir" && as_dir
=.
10918 for ac_exec_ext
in '' $ac_executable_extensions; do
10919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10920 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
10921 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10931 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
10932 if test -n "$aros_target_ranlib_ln"; then
10933 { $as_echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10934 $as_echo "$aros_target_ranlib_ln" >&6; }
10936 { $as_echo "$as_me:$LINENO: result: no" >&5
10937 $as_echo "no" >&6; }
10942 if test "$GCC" = "yes"; then
10943 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
10944 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
10945 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
10946 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10947 $as_echo_n "checking for $ac_word... " >&6; }
10948 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10949 $as_echo_n "(cached) " >&6
10951 case $aros_target_ranlib_ln in
10953 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
10956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10957 for as_dir
in `dirname $aros_gcc_ranlib`
10960 test -z "$as_dir" && as_dir
=.
10961 for ac_exec_ext
in '' $ac_executable_extensions; do
10962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10963 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
10964 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10974 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
10975 if test -n "$aros_target_ranlib_ln"; then
10976 { $as_echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10977 $as_echo "$aros_target_ranlib_ln" >&6; }
10979 { $as_echo "$as_me:$LINENO: result: no" >&5
10980 $as_echo "no" >&6; }
10985 if test "$aros_target_ranlib_ln" = ""; then
10986 # Extract the first word of "ranlib", so it can be a program name with args.
10987 set dummy ranlib
; ac_word
=$2
10988 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10989 $as_echo_n "checking for $ac_word... " >&6; }
10990 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10991 $as_echo_n "(cached) " >&6
10993 case $aros_target_ranlib_ln in
10995 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
10998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10999 for as_dir
in $PATH
11002 test -z "$as_dir" && as_dir
=.
11003 for ac_exec_ext
in '' $ac_executable_extensions; do
11004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11005 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
11006 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11016 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
11017 if test -n "$aros_target_ranlib_ln"; then
11018 { $as_echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
11019 $as_echo "$aros_target_ranlib_ln" >&6; }
11021 { $as_echo "$as_me:$LINENO: result: no" >&5
11022 $as_echo "no" >&6; }
11029 # Extract the first word of "$aros_target_ranlib", so it can be a program name with args.
11030 set dummy
$aros_target_ranlib; ac_word
=$2
11031 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11032 $as_echo_n "checking for $ac_word... " >&6; }
11033 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
11034 $as_echo_n "(cached) " >&6
11036 case $aros_target_ranlib_ln in
11038 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
11041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11042 for as_dir
in $PATH
11045 test -z "$as_dir" && as_dir
=.
11046 for ac_exec_ext
in '' $ac_executable_extensions; do
11047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11048 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
11049 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11059 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
11060 if test -n "$aros_target_ranlib_ln"; then
11061 { $as_echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
11062 $as_echo "$aros_target_ranlib_ln" >&6; }
11064 { $as_echo "$as_me:$LINENO: result: no" >&5
11065 $as_echo "no" >&6; }
11071 if test "$aros_target_ranlib_ln" = ""; then
11072 { { $as_echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
11073 $as_echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
11074 { (exit 1); exit 1; }; }
11077 if test "$aros_target_strip" = ""; then
11078 if test "$cross_compiling" = "yes" ; then
11079 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
11080 set dummy
${target_tool_prefix}strip
; ac_word
=$2
11081 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11082 $as_echo_n "checking for $ac_word... " >&6; }
11083 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
11084 $as_echo_n "(cached) " >&6
11086 case $aros_target_strip_ln in
11088 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
11091 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11092 for as_dir
in $PATH
11095 test -z "$as_dir" && as_dir
=.
11096 for ac_exec_ext
in '' $ac_executable_extensions; do
11097 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11098 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
11099 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11109 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
11110 if test -n "$aros_target_strip_ln"; then
11111 { $as_echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
11112 $as_echo "$aros_target_strip_ln" >&6; }
11114 { $as_echo "$as_me:$LINENO: result: no" >&5
11115 $as_echo "no" >&6; }
11120 if test "$GCC" = "yes"; then
11121 aros_gcc_strip
=`$CC -print-prog-name=strip`
11122 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
11123 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
11124 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11125 $as_echo_n "checking for $ac_word... " >&6; }
11126 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
11127 $as_echo_n "(cached) " >&6
11129 case $aros_target_strip_ln in
11131 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
11134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11135 for as_dir
in `dirname $aros_gcc_strip`
11138 test -z "$as_dir" && as_dir
=.
11139 for ac_exec_ext
in '' $ac_executable_extensions; do
11140 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11141 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
11142 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11152 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
11153 if test -n "$aros_target_strip_ln"; then
11154 { $as_echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
11155 $as_echo "$aros_target_strip_ln" >&6; }
11157 { $as_echo "$as_me:$LINENO: result: no" >&5
11158 $as_echo "no" >&6; }
11163 if test "$aros_target_strip_ln" = ""; then
11164 # Extract the first word of "strip", so it can be a program name with args.
11165 set dummy strip
; ac_word
=$2
11166 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11167 $as_echo_n "checking for $ac_word... " >&6; }
11168 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
11169 $as_echo_n "(cached) " >&6
11171 case $aros_target_strip_ln in
11173 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
11176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11177 for as_dir
in $PATH
11180 test -z "$as_dir" && as_dir
=.
11181 for ac_exec_ext
in '' $ac_executable_extensions; do
11182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11183 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
11184 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11194 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
11195 if test -n "$aros_target_strip_ln"; then
11196 { $as_echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
11197 $as_echo "$aros_target_strip_ln" >&6; }
11199 { $as_echo "$as_me:$LINENO: result: no" >&5
11200 $as_echo "no" >&6; }
11207 # Extract the first word of "$aros_target_strip", so it can be a program name with args.
11208 set dummy
$aros_target_strip; ac_word
=$2
11209 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11210 $as_echo_n "checking for $ac_word... " >&6; }
11211 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
11212 $as_echo_n "(cached) " >&6
11214 case $aros_target_strip_ln in
11216 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
11219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11220 for as_dir
in $PATH
11223 test -z "$as_dir" && as_dir
=.
11224 for ac_exec_ext
in '' $ac_executable_extensions; do
11225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11226 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
11227 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11237 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
11238 if test -n "$aros_target_strip_ln"; then
11239 { $as_echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
11240 $as_echo "$aros_target_strip_ln" >&6; }
11242 { $as_echo "$as_me:$LINENO: result: no" >&5
11243 $as_echo "no" >&6; }
11249 if test "$aros_target_strip_ln" = ""; then
11250 { { $as_echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
11251 $as_echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
11252 { (exit 1); exit 1; }; }
11256 if test "$rescomp" != ""; then
11257 if test "$cross_compiling" = "yes" ; then
11258 rescomp
=${target_tool_prefix}${rescomp}
11260 # Extract the first word of "$rescomp", so it can be a program name with args.
11261 set dummy
$rescomp; ac_word
=$2
11262 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11263 $as_echo_n "checking for $ac_word... " >&6; }
11264 if test "${ac_cv_path_aros_kernel_rescomp+set}" = set; then
11265 $as_echo_n "(cached) " >&6
11267 case $aros_kernel_rescomp in
11269 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
11272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11273 for as_dir
in $PATH
11276 test -z "$as_dir" && as_dir
=.
11277 for ac_exec_ext
in '' $ac_executable_extensions; do
11278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11279 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
11280 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11290 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
11291 if test -n "$aros_kernel_rescomp"; then
11292 { $as_echo "$as_me:$LINENO: result: $aros_kernel_rescomp" >&5
11293 $as_echo "$aros_kernel_rescomp" >&6; }
11295 { $as_echo "$as_me:$LINENO: result: no" >&5
11296 $as_echo "no" >&6; }
11300 if test "$aros_kernel_rescomp" = ""; then
11301 { { $as_echo "$as_me:$LINENO: error: $rescomp is required to build AROS. Please install and run configure again." >&5
11302 $as_echo "$as_me: error: $rescomp is required to build AROS. Please install and run configure again." >&2;}
11303 { (exit 1); exit 1; }; }
11307 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
11308 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
11309 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
11310 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
11311 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
11312 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
11313 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
11315 # aros_cc_pre is a variable that is added to the front of the compiler name
11316 # in the generated aros-gcc shell script. We need this to enable the cache
11317 # to work across cleaned builds. Also, support DISTCC using the correct
11318 # environment variable.
11321 if test "x${DISTCC}" != "x" ; then
11322 if test "x${CCACHE}" != "x" ; then
11323 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
11325 aros_cc_pre
="${DISTCC} "
11328 if test "x${CCACHE}" != "x" ; then
11329 aros_cc_pre
="${CCACHE} "
11333 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
11335 aros_target_nostdinc_cflags
=-nostdinc
11337 aros_target_nostartup_ldflags
=-nostartfiles
11339 aros_target_nix_ldflags
=-nix
11341 aros_target_detach_ldflags
=-detach
11343 aros_target_nostdlib_ldflags
=-nostdlib
11347 if test "$aros_target_cc" = ""; then
11348 orig_target_cc
=$aros_kernel_cc
11350 orig_target_cc
=$aros_target_cc
11352 if test "$aros_target_ld" = ""; then
11353 orig_target_ld
=$aros_kernel_ld
11355 orig_target_ld
=$aros_target_ld
11357 if test "$GCC" = "yes"; then
11358 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
11360 aros_target_cc
="${prefix}-gcc"
11361 aros_target_as
="${prefix}-as"
11362 aros_target_ld
="${prefix}-ld"
11363 aros_target_ar
="${prefix}-ar $aros_target_ar_flags"
11364 aros_target_objcopy
=${prefix}-objcopy
11365 aros_target_objdump
=${prefix}-objdump
11366 aros_target_ranlib
="${prefix}-ranlib $aros_target_ranlib_flags"
11367 aros_target_nm
="${prefix}-nm $aros_target_nm_flags"
11368 aros_kernel_nm
="${prefix}-nm"
11369 aros_target_strip
=${prefix}-strip
11371 # Find the system include path. We can suggest that an alternative is
11372 # used if we don't get it correct. The default is to use /usr/include.
11373 # Which is set in the aros_target_incl_def variable.
11375 # Check whether --enable-includes was given.
11376 if test "${enable_includes+set}" = set; then
11377 enableval
=$enable_includes; aros_target_incl
=$enable_includes
11379 aros_target_incl
=$aros_target_incl_def
11383 { $as_echo "$as_me:$LINENO: checking for the target compiler's include path" >&5
11384 $as_echo_n "checking for the target compiler's include path... " >&6; }
11385 if test "$aros_target_cc_includes" = "" ; then
11386 #try to guess where the directory is
11387 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
11388 if ! test -d $aros_target_cc_includes; then
11389 #the directory doesn't exist, we need to do some more work
11390 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
11392 #these are the headers we're looling for
11393 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
11394 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
11398 for h
in $headers; do
11399 #which other headers each of the above headers needs?
11400 deps
=$
(echo "#include <$h>" | \
11401 $aros_host_cc -E -M - 2>/dev
/null | \
11402 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
11404 #copy all the needed headers to a directory beneath gendir
11407 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
11408 sed -n "s,^.*/include\(/.*\),\1,p")
11409 ! test -d $dir && mkdir
-p $dir
11410 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
11415 { $as_echo "$as_me:$LINENO: result: $aros_target_cc_includes" >&5
11416 $as_echo "$aros_target_cc_includes" >&6; }
11419 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
11420 # On GCC >= 4.0 -iquote should be used
11424 save_cflags
="$CFLAGS"
11426 { $as_echo "$as_me:$LINENO: checking whether ${CC} accepts -iquote" >&5
11427 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
11428 cat >conftest.
$ac_ext <<_ACEOF
11431 cat confdefs.h
>>conftest.
$ac_ext
11432 cat >>conftest.
$ac_ext <<_ACEOF
11433 /* end confdefs.h. */
11443 rm -f conftest.
$ac_objext
11444 if { (ac_try
="$ac_compile"
11445 case "(($ac_try" in
11446 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11447 *) ac_try_echo=$ac_try;;
11449 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11450 $as_echo "$ac_try_echo") >&5
11451 (eval "$ac_compile") 2>conftest.er1
11453 grep -v '^ *+' conftest.er1 >conftest.err
11455 cat conftest.err >&5
11456 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11457 (exit $ac_status); } && {
11458 test -z "$ac_c_werror_flag" ||
11459 test ! -s conftest.err
11460 } && test -s conftest.$ac_objext; then
11463 $as_echo "$as_me: failed program was:" >&5
11464 sed 's/^/| /' conftest.$ac_ext >&5
11469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11470 { $as_echo "$as_me:$LINENO: result: $has_iquote" >&5
11471 $as_echo "$has_iquote" >&6; }
11472 if test "x-$has_iquote" = "x-yes" ; then
11473 host_cflags_iquote=-iquote
11474 host_cflags_iquote_end=
11476 host_cflags_iquote=-I
11477 host_cflags_iquote_end=-I-
11479 kernel_cflags_iquote=$host_cflags_iquote
11480 kernel_cflags_iquote_end=$host_cflags_iquote_end
11481 if test "x-$cross_compiling" = "x-yes"; then
11482 CC="$aros_kernel_cc"
11483 { $as_echo "$as_me:$LINENO: checking whether ${CC} accepts -iquote" >&5
11484 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
11485 cat >conftest.$ac_ext <<_ACEOF
11488 cat confdefs.h >>conftest.$ac_ext
11489 cat >>conftest.$ac_ext <<_ACEOF
11490 /* end confdefs.h. */
11500 rm -f conftest.$ac_objext
11501 if { (ac_try="$ac_compile"
11502 case "(($ac_try" in
11503 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11504 *) ac_try_echo
=$ac_try;;
11506 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11507 $as_echo "$ac_try_echo") >&5
11508 (eval "$ac_compile") 2>conftest.er1
11510 grep -v '^ *+' conftest.er1
>conftest.err
11512 cat conftest.err
>&5
11513 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11514 (exit $ac_status); } && {
11515 test -z "$ac_c_werror_flag" ||
11516 test ! -s conftest.err
11517 } && test -s conftest.
$ac_objext; then
11520 $as_echo "$as_me: failed program was:" >&5
11521 sed 's/^/| /' conftest.
$ac_ext >&5
11526 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11527 { $as_echo "$as_me:$LINENO: result: $has_iquote" >&5
11528 $as_echo "$has_iquote" >&6; }
11529 if test "x-$has_iquote" = "x-yes" ; then
11530 kernel_cflags_iquote
=-iquote
11531 kernel_cflags_iquote_end
=
11533 kernel_cflags_iquote
=-I
11534 kernel_cflags_iquote_end
=-I-
11537 aros_cflags_iquote
=$kernel_cflags_iquote
11538 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
11539 if test "$orig_target_cc" != "$aros_kernel_cc"; then
11540 CC
="$orig_target_cc"
11541 { $as_echo "$as_me:$LINENO: checking whether ${CC} accepts -iquote" >&5
11542 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
11543 cat >conftest.
$ac_ext <<_ACEOF
11546 cat confdefs.h
>>conftest.
$ac_ext
11547 cat >>conftest.
$ac_ext <<_ACEOF
11548 /* end confdefs.h. */
11558 rm -f conftest.
$ac_objext
11559 if { (ac_try
="$ac_compile"
11560 case "(($ac_try" in
11561 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11562 *) ac_try_echo=$ac_try;;
11564 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11565 $as_echo "$ac_try_echo") >&5
11566 (eval "$ac_compile") 2>conftest.er1
11568 grep -v '^ *+' conftest.er1 >conftest.err
11570 cat conftest.err >&5
11571 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11572 (exit $ac_status); } && {
11573 test -z "$ac_c_werror_flag" ||
11574 test ! -s conftest.err
11575 } && test -s conftest.$ac_objext; then
11578 $as_echo "$as_me: failed program was:" >&5
11579 sed 's/^/| /' conftest.$ac_ext >&5
11584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11585 { $as_echo "$as_me:$LINENO: result: $has_iquote" >&5
11586 $as_echo "$has_iquote" >&6; }
11587 if test "x-$has_iquote" = "x-yes" ; then
11588 aros_cflags_iquote=-iquote
11589 aros_cflags_iquote_end=
11591 aros_cflags_iquote=-I
11592 aros_cflags_iquote_end=-I-
11596 CFLAGS="$save_cflags"
11606 { $as_echo "$as_me:$LINENO: checking for default resolution of WBScreen" >&5
11607 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
11609 # Check whether --with-resolution was given.
11610 if test "${with_resolution+set}" = set; then
11611 withval=$with_resolution; resolution=$withval
11616 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
11617 if test "$resolution" = "yes" ; then
11620 if test "$resolution" = "no" ; then
11623 if test "$resolution" != "none" ; then
11624 aros_default_wbwidth=`echo $resolution | cut
-d'x' -f1`
11625 aros_default_wbheight=`echo $resolution | cut
-d'x' -f2`
11626 aros_default_wbdepth=`echo $resolution | cut
-d'x' -f3`
11628 { $as_echo "$as_me:$LINENO: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
11629 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
11630 aros_cv_default_wbwidth=$aros_default_wbwidth
11631 aros_cv_default_wbheight=$aros_default_wbheight
11632 aros_cv_default_wbdepth=$aros_default_wbdepth
11634 { $as_echo "$as_me:$LINENO: checking if bochs hack is enabled" >&5
11635 $as_echo_n "checking if bochs hack is enabled... " >&6; }
11636 # Check whether --enable-bochs_hack was given.
11637 if test "${enable_bochs_hack+set}" = set; then
11638 enableval=$enable_bochs_hack; bochs_hack="yes"
11643 if test "$bochs_hack" = "yes" ; then
11644 aros_bochs_hack="1"
11646 { $as_echo "$as_me:$LINENO: result: $bochs_hack" >&5
11647 $as_echo "$bochs_hack" >&6; }
11649 { $as_echo "$as_me:$LINENO: checking if serial debug is enabled" >&5
11650 $as_echo_n "checking if serial debug is enabled... " >&6; }
11652 # Check whether --with-serial-debug was given.
11653 if test "${with_serial_debug+set}" = set; then
11654 withval=$with_serial_debug; serial_debug=$withval
11659 if test "$aros_serial_debug" = 0 ; then
11660 serial_debug_forced=""
11661 if test "$serial_debug" = "yes" ; then
11664 if test "$serial_debug" = "no" ; then
11665 serial_debug="none"
11668 serial_debug_forced="(forced)"
11669 serial_debug=$aros_serial_debug
11671 if test "$serial_debug" != "none" ; then
11672 aros_serial_debug=$serial_debug
11673 { $as_echo "$as_me:$LINENO: result: $serial_debug_forced on port $serial_debug" >&5
11674 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
11676 { $as_echo "$as_me:$LINENO: result: no" >&5
11677 $as_echo "no" >&6; }
11680 { $as_echo "$as_me:$LINENO: checking if palm debug hack is enabled" >&5
11681 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
11682 # Check whether --enable-palm_debug_hack was given.
11683 if test "${enable_palm_debug_hack+set}" = set; then
11684 enableval=$enable_palm_debug_hack; palm_debug_hack="yes"
11686 palm_debug_hack="no"
11689 if test "$palm_debug_hack" = "yes" ; then
11690 aros_palm_debug_hack="1"
11692 { $as_echo "$as_me:$LINENO: result: $palm_debug_hack" >&5
11693 $as_echo "$palm_debug_hack" >&6; }
11696 { $as_echo "$as_me:$LINENO: checking if nesting supervisor support is enabled" >&5
11697 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
11698 # Check whether --enable-nesting_supervisor was given.
11699 if test "${enable_nesting_supervisor+set}" = set; then
11700 enableval=$enable_nesting_supervisor; nesting_supervisor="yes"
11702 nesting_supervisor="no"
11705 if test "$nesting_supervisor" = "yes" ; then
11706 aros_nesting_supervisor="1"
11708 { $as_echo "$as_me:$LINENO: result: $nesting_supervisor" >&5
11709 $as_echo "$nesting_supervisor" >&6; }
11712 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
11714 if test "x-$need_dlopen" != "x-no" ; then
11715 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
11716 $as_echo_n "checking for dlopen... " >&6; }
11717 if test "${ac_cv_func_dlopen+set}" = set; then
11718 $as_echo_n "(cached) " >&6
11720 cat >conftest.$ac_ext <<_ACEOF
11723 cat confdefs.h >>conftest.$ac_ext
11724 cat >>conftest.$ac_ext <<_ACEOF
11725 /* end confdefs.h. */
11726 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11728 #define dlopen innocuous_dlopen
11730 /* System header to define __stub macros and hopefully few prototypes,
11731 which can conflict with char dlopen (); below.
11732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11733 <limits.h> exists even on freestanding compilers. */
11736 # include <limits.h>
11738 # include <assert.h>
11743 /* Override any GCC internal prototype to avoid an error.
11744 Use char because int might match the return type of a GCC
11745 builtin and then its argument prototype would still apply. */
11750 /* The GNU C library defines this for functions which it implements
11751 to always fail with ENOSYS. Some functions are actually named
11752 something starting with __ and the normal name is an alias. */
11753 #if defined __stub_dlopen || defined __stub___dlopen
11765 rm -f conftest.$ac_objext conftest$ac_exeext
11766 if { (ac_try="$ac_link"
11767 case "(($ac_try" in
11768 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11769 *) ac_try_echo
=$ac_try;;
11771 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11772 $as_echo "$ac_try_echo") >&5
11773 (eval "$ac_link") 2>conftest.er1
11775 grep -v '^ *+' conftest.er1
>conftest.err
11777 cat conftest.err
>&5
11778 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11779 (exit $ac_status); } && {
11780 test -z "$ac_c_werror_flag" ||
11781 test ! -s conftest.err
11782 } && test -s conftest
$ac_exeext && {
11783 test "$cross_compiling" = yes ||
11784 $as_test_x conftest
$ac_exeext
11786 ac_cv_func_dlopen
=yes
11788 $as_echo "$as_me: failed program was:" >&5
11789 sed 's/^/| /' conftest.
$ac_ext >&5
11791 ac_cv_func_dlopen
=no
11794 rm -rf conftest.dSYM
11795 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11796 conftest
$ac_exeext conftest.
$ac_ext
11798 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11799 $as_echo "$ac_cv_func_dlopen" >&6; }
11800 if test "x$ac_cv_func_dlopen" = x
""yes; then
11806 if test "x-$have_dl" = "x-no" ; then
11807 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11808 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11809 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11810 $as_echo_n "(cached) " >&6
11812 ac_check_lib_save_LIBS
=$LIBS
11814 cat >conftest.
$ac_ext <<_ACEOF
11817 cat confdefs.h
>>conftest.
$ac_ext
11818 cat >>conftest.
$ac_ext <<_ACEOF
11819 /* end confdefs.h. */
11821 /* Override any GCC internal prototype to avoid an error.
11822 Use char because int might match the return type of a GCC
11823 builtin and then its argument prototype would still apply. */
11836 rm -f conftest.
$ac_objext conftest
$ac_exeext
11837 if { (ac_try
="$ac_link"
11838 case "(($ac_try" in
11839 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11840 *) ac_try_echo=$ac_try;;
11842 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11843 $as_echo "$ac_try_echo") >&5
11844 (eval "$ac_link") 2>conftest.er1
11846 grep -v '^ *+' conftest.er1 >conftest.err
11848 cat conftest.err >&5
11849 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11850 (exit $ac_status); } && {
11851 test -z "$ac_c_werror_flag" ||
11852 test ! -s conftest.err
11853 } && test -s conftest$ac_exeext && {
11854 test "$cross_compiling" = yes ||
11855 $as_test_x conftest$ac_exeext
11857 ac_cv_lib_dl_dlopen=yes
11859 $as_echo "$as_me: failed program was:" >&5
11860 sed 's/^/| /' conftest.$ac_ext >&5
11862 ac_cv_lib_dl_dlopen=no
11865 rm -rf conftest.dSYM
11866 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11867 conftest$ac_exeext conftest.$ac_ext
11868 LIBS=$ac_check_lib_save_LIBS
11870 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11871 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11872 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
11874 aros_host_ldflags="$aros_host_ldflags -ldl"
11880 if test "x-$have_dl" = "x-no" ; then
11881 { { $as_echo "$as_me:$LINENO: error: dlopen() dynamic linker functions not available" >&5
11882 $as_echo "$as_me: error: dlopen() dynamic linker functions not available" >&2;}
11883 { (exit 1); exit 1; }; }
11888 # Check whether --enable-x11_hidd was given.
11889 if test "${enable_x11_hidd+set}" = set; then
11890 enableval=$enable_x11_hidd; x11_hidd="$enableval"
11895 case "x-$x11_hidd" in
11896 x-yes|x-no|x-auto) ;;
11897 *) x11_hidd="auto" ;;
11900 if test "x-$x11_hidd" != "x-no" ; then
11902 { $as_echo "$as_me:$LINENO: checking for X" >&5
11903 $as_echo_n "checking for X... " >&6; }
11906 # Check whether --with-x was given.
11907 if test "${with_x+set}" = set; then
11911 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11912 if test "x$with_x" = xno; then
11913 # The user explicitly disabled X.
11916 case $x_includes,$x_libraries in #(
11917 *\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5
11918 $as_echo "$as_me: error: cannot use X directory names containing '" >&2;}
11919 { (exit 1); exit 1; }; };; #(
11920 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
11921 $as_echo_n "(cached) " >&6
11923 # One or both of the vars are not set, and there is no cached value.
11924 ac_x_includes=no ac_x_libraries=no
11925 rm -f -r conftest.dir
11926 if mkdir conftest.dir; then
11928 cat >Imakefile <<'_ACEOF'
11930 @echo incroot='${INCROOT}'
11932 @echo usrlibdir='${USRLIBDIR}'
11934 @echo libdir='${LIBDIR}'
11936 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
11937 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11938 for ac_var in incroot usrlibdir libdir; do
11939 eval "ac_im_$ac_var=\`\
${MAKE-make} $ac_var 2>/dev
/null |
sed -n 's/^$ac_var=//p'\
`"
11941 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11942 for ac_extension in a so sl dylib la dll; do
11943 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
11944 test -f "$ac_im_libdir/libX11.$ac_extension"; then
11945 ac_im_usrlibdir=$ac_im_libdir; break
11948 # Screen out bogus values from the imake configuration. They are
11949 # bogus both because they are the default anyway, and because
11950 # using them would break gcc on systems where it needs fixed includes.
11951 case $ac_im_incroot in
11952 /usr/include) ac_x_includes= ;;
11953 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
11955 case $ac_im_usrlibdir in
11956 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
11957 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
11961 rm -f -r conftest.dir
11964 # Standard set of common directories for X headers.
11965 # Check X11 before X11Rn because it is often a symlink to the current release.
11977 /usr/local/X11/include
11978 /usr/local/X11R6/include
11979 /usr/local/X11R5/include
11980 /usr/local/X11R4/include
11982 /usr/local/include/X11
11983 /usr/local/include/X11R6
11984 /usr/local/include/X11R5
11985 /usr/local/include/X11R4
11989 /usr/XFree86/include/X11
11993 /usr/unsupported/include
11994 /usr/athena/include
11995 /usr/local/x11r5/include
11996 /usr/lpp/Xamples/include
11998 /usr/openwin/include
11999 /usr/openwin/share/include'
12001 if test "$ac_x_includes" = no; then
12002 # Guess where to find include files, by looking for Xlib.h.
12003 # First, try using that file with no special directory specified.
12004 cat >conftest.$ac_ext <<_ACEOF
12007 cat confdefs.h >>conftest.$ac_ext
12008 cat >>conftest.$ac_ext <<_ACEOF
12009 /* end confdefs.h. */
12010 #include <X11/Xlib.h>
12012 if { (ac_try="$ac_cpp conftest.$ac_ext"
12013 case "(($ac_try" in
12014 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12015 *) ac_try_echo
=$ac_try;;
12017 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12018 $as_echo "$ac_try_echo") >&5
12019 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12021 grep -v '^ *+' conftest.er1
>conftest.err
12023 cat conftest.err
>&5
12024 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12025 (exit $ac_status); } >/dev
/null
&& {
12026 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12027 test ! -s conftest.err
12029 # We can compile using X headers with no special include directory.
12032 $as_echo "$as_me: failed program was:" >&5
12033 sed 's/^/| /' conftest.
$ac_ext >&5
12035 for ac_dir
in $ac_x_header_dirs; do
12036 if test -r "$ac_dir/X11/Xlib.h"; then
12037 ac_x_includes
=$ac_dir
12043 rm -f conftest.err conftest.
$ac_ext
12044 fi # $ac_x_includes = no
12046 if test "$ac_x_libraries" = no
; then
12047 # Check for the libraries.
12048 # See if we find them without any special options.
12049 # Don't add to $LIBS permanently.
12052 cat >conftest.
$ac_ext <<_ACEOF
12055 cat confdefs.h
>>conftest.
$ac_ext
12056 cat >>conftest.
$ac_ext <<_ACEOF
12057 /* end confdefs.h. */
12058 #include <X11/Xlib.h>
12067 rm -f conftest.
$ac_objext conftest
$ac_exeext
12068 if { (ac_try
="$ac_link"
12069 case "(($ac_try" in
12070 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12071 *) ac_try_echo=$ac_try;;
12073 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12074 $as_echo "$ac_try_echo") >&5
12075 (eval "$ac_link") 2>conftest.er1
12077 grep -v '^ *+' conftest.er1 >conftest.err
12079 cat conftest.err >&5
12080 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12081 (exit $ac_status); } && {
12082 test -z "$ac_c_werror_flag" ||
12083 test ! -s conftest.err
12084 } && test -s conftest$ac_exeext && {
12085 test "$cross_compiling" = yes ||
12086 $as_test_x conftest$ac_exeext
12089 # We can link X programs with no special library path.
12092 $as_echo "$as_me: failed program was:" >&5
12093 sed 's/^/| /' conftest.$ac_ext >&5
12096 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
12098 # Don't even attempt the hair of trying to link an X program!
12099 for ac_extension in a so sl dylib la dll; do
12100 if test -r "$ac_dir/libX11.$ac_extension"; then
12101 ac_x_libraries=$ac_dir
12108 rm -rf conftest.dSYM
12109 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12110 conftest$ac_exeext conftest.$ac_ext
12111 fi # $ac_x_libraries = no
12113 case $ac_x_includes,$ac_x_libraries in #(
12114 no,* | *,no | *\'*)
12115 # Didn't find X, or a directory has "'" in its name.
12116 ac_cv_have_x="have_x=no";; #(
12118 # Record where we found X for the cache.
12119 ac_cv_have_x="have_x=yes\
12120 ac_x_includes='$ac_x_includes'\
12121 ac_x_libraries='$ac_x_libraries'"
12127 eval "$ac_cv_have_x"
12130 if test "$have_x" != yes; then
12131 { $as_echo "$as_me:$LINENO: result: $have_x" >&5
12132 $as_echo "$have_x" >&6; }
12135 # If each of the values was on the command line, it overrides each guess.
12136 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
12137 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
12138 # Update the cache value to reflect the command line values.
12139 ac_cv_have_x="have_x=yes\
12140 ac_x_includes='$x_includes'\
12141 ac_x_libraries='$x_libraries'"
12142 { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
12143 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
12148 for path in $x_libraries
12150 x_cflags="$x_cflags -L$path"
12153 for path in $x_includes
12155 x_cflags="$x_cflags -I$path"
12158 if test "x-$no_x" = "x-yes" ; then
12160 if test "x-$x11_hidd" != "x-auto" ; then
12161 { { $as_echo "$as_me:$LINENO: error: X11 libs/headers not found, cannot build X11 hidd as requested" >&5
12162 $as_echo "$as_me: error: X11 libs/headers not found, cannot build X11 hidd as requested" >&2;}
12163 { (exit 1); exit 1; }; }
12168 x11_hidd_target=kernel-x11gfx-kobj
12171 # Check whether --enable-x11_shm was given.
12172 if test "${enable_x11_shm+set}" = set; then
12173 enableval=$enable_x11_shm; x11_hidd_shm="$enableval"
12175 x11_hidd_shm="auto"
12178 case "x-$x11_hidd_shm" in
12179 x-yes|x-no|x-auto) ;;
12180 *) x11_hidd_shm="auto" ;;
12185 if test "x-$x11_hidd_shm" != "x-no" ; then
12188 for ac_header in sys/ipc.h
12190 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
12191 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12192 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12193 $as_echo_n "checking for $ac_header... " >&6; }
12194 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12195 $as_echo_n "(cached) " >&6
12197 ac_res=`eval 'as_val=${'$as_ac_Header'}
12198 $as_echo "$as_val"'`
12199 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12200 $as_echo "$ac_res" >&6; }
12202 # Is the header compilable?
12203 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12204 $as_echo_n "checking $ac_header usability... " >&6; }
12205 cat >conftest.$ac_ext <<_ACEOF
12208 cat confdefs.h >>conftest.$ac_ext
12209 cat >>conftest.$ac_ext <<_ACEOF
12210 /* end confdefs.h. */
12211 $ac_includes_default
12212 #include <$ac_header>
12214 rm -f conftest.$ac_objext
12215 if { (ac_try="$ac_compile"
12216 case "(($ac_try" in
12217 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12218 *) ac_try_echo
=$ac_try;;
12220 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12221 $as_echo "$ac_try_echo") >&5
12222 (eval "$ac_compile") 2>conftest.er1
12224 grep -v '^ *+' conftest.er1
>conftest.err
12226 cat conftest.err
>&5
12227 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12228 (exit $ac_status); } && {
12229 test -z "$ac_c_werror_flag" ||
12230 test ! -s conftest.err
12231 } && test -s conftest.
$ac_objext; then
12232 ac_header_compiler
=yes
12234 $as_echo "$as_me: failed program was:" >&5
12235 sed 's/^/| /' conftest.
$ac_ext >&5
12237 ac_header_compiler
=no
12240 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12241 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12242 $as_echo "$ac_header_compiler" >&6; }
12244 # Is the header present?
12245 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12246 $as_echo_n "checking $ac_header presence... " >&6; }
12247 cat >conftest.
$ac_ext <<_ACEOF
12250 cat confdefs.h
>>conftest.
$ac_ext
12251 cat >>conftest.
$ac_ext <<_ACEOF
12252 /* end confdefs.h. */
12253 #include <$ac_header>
12255 if { (ac_try
="$ac_cpp conftest.$ac_ext"
12256 case "(($ac_try" in
12257 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12258 *) ac_try_echo=$ac_try;;
12260 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12261 $as_echo "$ac_try_echo") >&5
12262 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12264 grep -v '^ *+' conftest.er1 >conftest.err
12266 cat conftest.err >&5
12267 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12268 (exit $ac_status); } >/dev/null && {
12269 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12270 test ! -s conftest.err
12272 ac_header_preproc=yes
12274 $as_echo "$as_me: failed program was:" >&5
12275 sed 's/^/| /' conftest.$ac_ext >&5
12277 ac_header_preproc=no
12280 rm -f conftest.err conftest.$ac_ext
12281 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12282 $as_echo "$ac_header_preproc" >&6; }
12284 # So? What about this header?
12285 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12287 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12288 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12289 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12290 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12291 ac_header_preproc=yes
12294 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12295 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12296 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12297 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12298 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12299 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12300 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12301 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12302 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12303 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12304 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12305 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12309 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12310 $as_echo_n "checking for $ac_header... " >&6; }
12311 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12312 $as_echo_n "(cached) " >&6
12314 eval "$as_ac_Header=\$ac_header_preproc"
12316 ac_res=`eval 'as_val=${'$as_ac_Header'}
12317 $as_echo "$as_val"'`
12318 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12319 $as_echo "$ac_res" >&6; }
12322 as_val=`eval 'as_val=${'$as_ac_Header'}
12323 $as_echo "$as_val"'`
12324 if test "x$as_val" = x""yes; then
12325 cat >>confdefs.h <<_ACEOF
12326 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12334 for ac_header in sys/shm.h
12336 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
12337 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12338 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12339 $as_echo_n "checking for $ac_header... " >&6; }
12340 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12341 $as_echo_n "(cached) " >&6
12343 ac_res=`eval 'as_val=${'$as_ac_Header'}
12344 $as_echo "$as_val"'`
12345 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12346 $as_echo "$ac_res" >&6; }
12348 # Is the header compilable?
12349 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12350 $as_echo_n "checking $ac_header usability... " >&6; }
12351 cat >conftest.$ac_ext <<_ACEOF
12354 cat confdefs.h >>conftest.$ac_ext
12355 cat >>conftest.$ac_ext <<_ACEOF
12356 /* end confdefs.h. */
12357 $ac_includes_default
12358 #include <$ac_header>
12360 rm -f conftest.$ac_objext
12361 if { (ac_try="$ac_compile"
12362 case "(($ac_try" in
12363 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12364 *) ac_try_echo
=$ac_try;;
12366 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12367 $as_echo "$ac_try_echo") >&5
12368 (eval "$ac_compile") 2>conftest.er1
12370 grep -v '^ *+' conftest.er1
>conftest.err
12372 cat conftest.err
>&5
12373 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12374 (exit $ac_status); } && {
12375 test -z "$ac_c_werror_flag" ||
12376 test ! -s conftest.err
12377 } && test -s conftest.
$ac_objext; then
12378 ac_header_compiler
=yes
12380 $as_echo "$as_me: failed program was:" >&5
12381 sed 's/^/| /' conftest.
$ac_ext >&5
12383 ac_header_compiler
=no
12386 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12387 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12388 $as_echo "$ac_header_compiler" >&6; }
12390 # Is the header present?
12391 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12392 $as_echo_n "checking $ac_header presence... " >&6; }
12393 cat >conftest.
$ac_ext <<_ACEOF
12396 cat confdefs.h
>>conftest.
$ac_ext
12397 cat >>conftest.
$ac_ext <<_ACEOF
12398 /* end confdefs.h. */
12399 #include <$ac_header>
12401 if { (ac_try
="$ac_cpp conftest.$ac_ext"
12402 case "(($ac_try" in
12403 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12404 *) ac_try_echo=$ac_try;;
12406 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12407 $as_echo "$ac_try_echo") >&5
12408 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12410 grep -v '^ *+' conftest.er1 >conftest.err
12412 cat conftest.err >&5
12413 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12414 (exit $ac_status); } >/dev/null && {
12415 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12416 test ! -s conftest.err
12418 ac_header_preproc=yes
12420 $as_echo "$as_me: failed program was:" >&5
12421 sed 's/^/| /' conftest.$ac_ext >&5
12423 ac_header_preproc=no
12426 rm -f conftest.err conftest.$ac_ext
12427 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12428 $as_echo "$ac_header_preproc" >&6; }
12430 # So? What about this header?
12431 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12433 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12434 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12435 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12436 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12437 ac_header_preproc=yes
12440 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12441 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12442 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12443 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12444 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12445 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12446 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12447 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12448 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12449 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12450 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12451 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12455 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12456 $as_echo_n "checking for $ac_header... " >&6; }
12457 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12458 $as_echo_n "(cached) " >&6
12460 eval "$as_ac_Header=\$ac_header_preproc"
12462 ac_res=`eval 'as_val=${'$as_ac_Header'}
12463 $as_echo "$as_val"'`
12464 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12465 $as_echo "$ac_res" >&6; }
12468 as_val=`eval 'as_val=${'$as_ac_Header'}
12469 $as_echo "$as_val"'`
12470 if test "x$as_val" = x""yes; then
12471 cat >>confdefs.h <<_ACEOF
12472 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12480 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
12482 save_cflags="$CFLAGS"
12483 CFLAGS="$CFLAGS $x_cflags"
12484 { $as_echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
12485 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
12486 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
12487 $as_echo_n "(cached) " >&6
12489 ac_check_lib_save_LIBS=$LIBS
12490 LIBS="-lXext $LIBS"
12491 cat >conftest.$ac_ext <<_ACEOF
12494 cat confdefs.h >>conftest.$ac_ext
12495 cat >>conftest.$ac_ext <<_ACEOF
12496 /* end confdefs.h. */
12498 /* Override any GCC internal prototype to avoid an error.
12499 Use char because int might match the return type of a GCC
12500 builtin and then its argument prototype would still apply. */
12504 char XShmQueryExtension ();
12508 return XShmQueryExtension ();
12513 rm -f conftest.$ac_objext conftest$ac_exeext
12514 if { (ac_try="$ac_link"
12515 case "(($ac_try" in
12516 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12517 *) ac_try_echo
=$ac_try;;
12519 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12520 $as_echo "$ac_try_echo") >&5
12521 (eval "$ac_link") 2>conftest.er1
12523 grep -v '^ *+' conftest.er1
>conftest.err
12525 cat conftest.err
>&5
12526 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12527 (exit $ac_status); } && {
12528 test -z "$ac_c_werror_flag" ||
12529 test ! -s conftest.err
12530 } && test -s conftest
$ac_exeext && {
12531 test "$cross_compiling" = yes ||
12532 $as_test_x conftest
$ac_exeext
12534 ac_cv_lib_Xext_XShmQueryExtension
=yes
12536 $as_echo "$as_me: failed program was:" >&5
12537 sed 's/^/| /' conftest.
$ac_ext >&5
12539 ac_cv_lib_Xext_XShmQueryExtension
=no
12542 rm -rf conftest.dSYM
12543 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12544 conftest
$ac_exeext conftest.
$ac_ext
12545 LIBS
=$ac_check_lib_save_LIBS
12547 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
12548 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
12549 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = x
""yes; then
12553 CFLAGS
="$save_cflags"
12557 if test "x-$have_xshm" = "x-yes" ; then
12558 DO_XSHM_SUPPORT
="1"
12559 elif test "x-$x11_hidd_shm" = "x-yes" ; then
12560 { { $as_echo "$as_me:$LINENO: error: X11 has no support for shared memory, cannot enable it as requested" >&5
12561 $as_echo "$as_me: error: X11 has no support for shared memory, cannot enable it as requested" >&2;}
12562 { (exit 1); exit 1; }; }
12564 DO_XSHM_SUPPORT
="0"
12568 # Check whether --enable-x11_vidmode was given.
12569 if test "${enable_x11_vidmode+set}" = set; then
12570 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
12572 x11_hidd_vidmode
="auto"
12575 case "x-$x11_hidd_vidmode" in
12576 x-yes|x-no|x-auto
) ;;
12577 *) x11_hidd_vidmode
="auto" ;;
12582 if test "x-$x11_hidd_vidmode" != "x-no" ; then
12584 save_cflags
="$CFLAGS"
12585 CFLAGS
="$CFLAGS $x_cflags"
12586 { $as_echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
12587 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
12588 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
12589 $as_echo_n "(cached) " >&6
12591 ac_check_lib_save_LIBS
=$LIBS
12592 LIBS
="-lXxf86vm $LIBS"
12593 cat >conftest.
$ac_ext <<_ACEOF
12596 cat confdefs.h
>>conftest.
$ac_ext
12597 cat >>conftest.
$ac_ext <<_ACEOF
12598 /* end confdefs.h. */
12600 /* Override any GCC internal prototype to avoid an error.
12601 Use char because int might match the return type of a GCC
12602 builtin and then its argument prototype would still apply. */
12606 char XF86VidModeQueryExtension ();
12610 return XF86VidModeQueryExtension ();
12615 rm -f conftest.
$ac_objext conftest
$ac_exeext
12616 if { (ac_try
="$ac_link"
12617 case "(($ac_try" in
12618 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12619 *) ac_try_echo=$ac_try;;
12621 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12622 $as_echo "$ac_try_echo") >&5
12623 (eval "$ac_link") 2>conftest.er1
12625 grep -v '^ *+' conftest.er1 >conftest.err
12627 cat conftest.err >&5
12628 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12629 (exit $ac_status); } && {
12630 test -z "$ac_c_werror_flag" ||
12631 test ! -s conftest.err
12632 } && test -s conftest$ac_exeext && {
12633 test "$cross_compiling" = yes ||
12634 $as_test_x conftest$ac_exeext
12636 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
12638 $as_echo "$as_me: failed program was:" >&5
12639 sed 's/^/| /' conftest.$ac_ext >&5
12641 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
12644 rm -rf conftest.dSYM
12645 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12646 conftest$ac_exeext conftest.$ac_ext
12647 LIBS=$ac_check_lib_save_LIBS
12649 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
12650 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
12651 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = x""yes; then
12655 CFLAGS="$save_cflags"
12658 if test "x-$have_vidmode" = "x-yes" ; then
12659 DO_VIDMODE_SUPPORT="1"
12660 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
12661 { { $as_echo "$as_me:$LINENO: error: X11 vidmode extension not available, cannot enable it as requested" >&5
12662 $as_echo "$as_me: error: X11 vidmode extension not available, cannot enable it as requested" >&2;}
12663 { (exit 1); exit 1; }; }
12665 DO_VIDMODE_SUPPORT="0"
12669 aros_host_x11_includes=$x_includes
12670 aros_host_x11_libdirs=$x_libraries
12674 # Check whether --enable-sdl_hidd was given.
12675 if test "${enable_sdl_hidd+set}" = set; then
12676 enableval=$enable_sdl_hidd; sdl_hidd="$enableval"
12681 case "x-$sdl_hidd" in
12682 x-yes|x-no|x-auto) ;;
12683 *) sdl_hidd="auto" ;;
12686 if test "x-$sdl_hidd" != "x-no" ; then
12689 # Check whether --with-sdl-prefix was given.
12690 if test "${with_sdl_prefix+set}" = set; then
12691 withval=$with_sdl_prefix; sdl_prefix="$withval"
12697 # Check whether --with-sdl-exec-prefix was given.
12698 if test "${with_sdl_exec_prefix+set}" = set; then
12699 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
12704 # Check whether --enable-sdltest was given.
12705 if test "${enable_sdltest+set}" = set; then
12706 enableval=$enable_sdltest;
12712 if test x$sdl_exec_prefix != x ; then
12713 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
12714 if test x${SDL_CONFIG+set} != xset ; then
12715 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
12718 if test x$sdl_prefix != x ; then
12719 sdl_args="$sdl_args --prefix=$sdl_prefix"
12720 if test x${SDL_CONFIG+set} != xset ; then
12721 SDL_CONFIG=$sdl_prefix/bin/sdl-config
12725 if test "x$prefix" != xNONE; then
12726 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
12728 # Extract the first word of "sdl-config", so it can be a program name with args.
12729 set dummy sdl-config; ac_word=$2
12730 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12731 $as_echo_n "checking for $ac_word... " >&6; }
12732 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
12733 $as_echo_n "(cached) " >&6
12735 case $SDL_CONFIG in
12737 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
12740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12741 for as_dir in $PATH
12744 test -z "$as_dir" && as_dir=.
12745 for ac_exec_ext in '' $ac_executable_extensions; do
12746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12747 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12748 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12755 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
12759 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
12760 if test -n "$SDL_CONFIG"; then
12761 { $as_echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
12762 $as_echo "$SDL_CONFIG" >&6; }
12764 { $as_echo "$as_me:$LINENO: result: no" >&5
12765 $as_echo "no" >&6; }
12769 min_sdl_version=1.2.10
12770 { $as_echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
12771 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
12773 if test "$SDL_CONFIG" = "no" ; then
12776 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
12777 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
12779 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
12780 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12781 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
12782 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12783 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
12784 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12785 if test "x$enable_sdltest" = "xyes" ; then
12786 ac_save_CFLAGS="$CFLAGS"
12787 ac_save_CXXFLAGS="$CXXFLAGS"
12788 ac_save_LIBS="$LIBS"
12789 CFLAGS="$CFLAGS $SDL_CFLAGS"
12790 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
12791 LIBS="$LIBS $SDL_LIBS"
12793 if test "$cross_compiling" = yes; then
12794 echo $ac_n "cross compiling; assumed OK... $ac_c"
12796 cat >conftest.$ac_ext <<_ACEOF
12799 cat confdefs.h >>conftest.$ac_ext
12800 cat >>conftest.$ac_ext <<_ACEOF
12801 /* end confdefs.h. */
12804 #include <stdlib.h>
12805 #include <string.h>
12809 my_strdup (char *str)
12815 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
12816 strcpy (new_str, str);
12824 int main (int argc, char *argv[])
12826 int major, minor, micro;
12829 /* This hangs on some systems (?)
12830 system ("touch conf.sdltest");
12832 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
12834 /* HP/UX 9 (%@#!) writes to sscanf strings */
12835 tmp_version = my_strdup("$min_sdl_version");
12836 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12837 printf("%s, bad version string\n", "$min_sdl_version");
12841 if (($sdl_major_version > major) ||
12842 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
12843 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
12849 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
12850 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
12851 printf("*** best to upgrade to the required version.\n");
12852 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
12853 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
12854 printf("*** config.cache before re-running configure\n");
12861 rm -f conftest$ac_exeext
12862 if { (ac_try="$ac_link"
12863 case "(($ac_try" in
12864 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12865 *) ac_try_echo
=$ac_try;;
12867 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12868 $as_echo "$ac_try_echo") >&5
12869 (eval "$ac_link") 2>&5
12871 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12872 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12873 { (case "(($ac_try" in
12874 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12875 *) ac_try_echo=$ac_try;;
12877 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12878 $as_echo "$ac_try_echo") >&5
12879 (eval "$ac_try") 2>&5
12881 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12882 (exit $ac_status); }; }; then
12885 $as_echo "$as_me: program exited with status $ac_status" >&5
12886 $as_echo "$as_me: failed program was:" >&5
12887 sed 's/^/| /' conftest.$ac_ext >&5
12889 ( exit $ac_status )
12892 rm -rf conftest.dSYM
12893 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12897 CFLAGS="$ac_save_CFLAGS"
12898 CXXFLAGS="$ac_save_CXXFLAGS"
12899 LIBS="$ac_save_LIBS"
12902 if test "x$no_sdl" = x ; then
12903 { $as_echo "$as_me:$LINENO: result: yes" >&5
12904 $as_echo "yes" >&6; }
12907 { $as_echo "$as_me:$LINENO: result: no" >&5
12908 $as_echo "no" >&6; }
12909 if test "$SDL_CONFIG" = "no" ; then
12910 echo "*** The sdl-config script installed by SDL could not be found"
12911 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
12912 echo "*** your path, or set the SDL_CONFIG environment variable to the"
12913 echo "*** full path to sdl-config."
12915 if test -f conf.sdltest ; then
12918 echo "*** Could not run SDL test program, checking why..."
12919 CFLAGS="$CFLAGS $SDL_CFLAGS"
12920 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
12921 LIBS="$LIBS $SDL_LIBS"
12922 cat >conftest.$ac_ext <<_ACEOF
12925 cat confdefs.h >>conftest.$ac_ext
12926 cat >>conftest.$ac_ext <<_ACEOF
12927 /* end confdefs.h. */
12932 int main(int argc, char *argv[])
12935 #define main K_and_R_C_main
12945 rm -f conftest.$ac_objext conftest$ac_exeext
12946 if { (ac_try="$ac_link"
12947 case "(($ac_try" in
12948 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12949 *) ac_try_echo
=$ac_try;;
12951 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12952 $as_echo "$ac_try_echo") >&5
12953 (eval "$ac_link") 2>conftest.er1
12955 grep -v '^ *+' conftest.er1
>conftest.err
12957 cat conftest.err
>&5
12958 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12959 (exit $ac_status); } && {
12960 test -z "$ac_c_werror_flag" ||
12961 test ! -s conftest.err
12962 } && test -s conftest
$ac_exeext && {
12963 test "$cross_compiling" = yes ||
12964 $as_test_x conftest
$ac_exeext
12966 echo "*** The test program compiled, but did not run. This usually means"
12967 echo "*** that the run-time linker is not finding SDL or finding the wrong"
12968 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
12969 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12970 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12971 echo "*** is required on your system"
12973 echo "*** If you have an old version installed, it is best to remove it, although"
12974 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12976 $as_echo "$as_me: failed program was:" >&5
12977 sed 's/^/| /' conftest.
$ac_ext >&5
12979 echo "*** The test program failed to compile or link. See the file config.log for the"
12980 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
12981 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
12982 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
12985 rm -rf conftest.dSYM
12986 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12987 conftest
$ac_exeext conftest.
$ac_ext
12988 CFLAGS
="$ac_save_CFLAGS"
12989 CXXFLAGS
="$ac_save_CXXFLAGS"
12990 LIBS
="$ac_save_LIBS"
13002 if test "x-$have_sdl" != "x-yes" ; then
13004 if test "x-$sdl_hidd" != "x-auto" ; then
13005 { { $as_echo "$as_me:$LINENO: error: SDL libs/headers not found, cannot build SDL hidd as requested" >&5
13006 $as_echo "$as_me: error: SDL libs/headers not found, cannot build SDL hidd as requested" >&2;}
13007 { (exit 1); exit 1; }; }
13011 sdl_hidd_target
=kernel-hidd-sdl
13012 aros_host_sdl_cflags
=SDL_CFLAGS
13013 aros_host_sdl_libs
=SDL_LIBS
13020 { $as_echo "$as_me:$LINENO: checking if building of dbus.library is enabled" >&5
13021 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
13022 # Check whether --enable-dbus was given.
13023 if test "${enable_dbus+set}" = set; then
13024 enableval
=$enable_dbus; dbus
="yes"
13029 if test "$dbus" = "yes" ; then
13031 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
13032 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
13033 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
13034 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
13038 { $as_echo "$as_me:$LINENO: result: $dbus" >&5
13039 $as_echo "$dbus" >&6; }
13136 # Native version related
13140 # Palm native version related
13143 # Unix/Hosted version related
13162 # Collect-aros stuff: "-ius" to ignore undefined symbols
13165 # C compiler related
13168 case "$aros_flavour" in
13169 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
13170 aros_flavour
="emulation" ;;
13171 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
13172 aros_flavour
="emulation" ;;
13173 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
13174 aros_flavour
="standalone";;
13175 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
13176 aros_flavour
="native" ;;
13177 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
13178 aros_flavour
="native" ;;
13179 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
13180 aros_flavour
="linklib" ;;
13181 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
13182 aros_flavour
="palmnative" ;;
13183 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
13184 aros_flavour
="mac68knative" ;;
13185 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
13186 aros_flavour
="ppcnative" ;;
13189 if test ! -d ${aros_inc_dir} ; then
13190 ${MKDIR} ${aros_inc_dir}
13192 if test ! -d ${aros_geninc_dir} ; then
13193 ${MKDIR} ${aros_geninc_dir}
13195 if test ! -d ${aros_hostcfg_dir} ; then
13196 ${MKDIR} ${aros_hostcfg_dir}
13198 if test ! -d ${aros_targetcfg_dir} ; then
13199 ${MKDIR} ${aros_targetcfg_dir}
13201 if test ! -d ${aros_tools_dir} ; then
13202 ${MKDIR} ${aros_tools_dir}
13204 if test ! -d ${aros_scripts_dir} ; then
13205 ${MKDIR} ${aros_scripts_dir}
13208 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
13211 ac_config_commands
="$ac_config_commands compiler_executable"
13213 ac_config_commands
="$ac_config_commands genshared_executable"
13215 ac_config_commands
="$ac_config_commands genmf_executable"
13217 ac_config_commands
="$ac_config_commands adflib_myaros.conf_executable"
13220 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"
13223 cat >confcache
<<\_ACEOF
13224 # This file is a shell script that caches the results of configure
13225 # tests run on this system so they can be shared between configure
13226 # scripts and configure runs, see configure's option --config-cache.
13227 # It is not useful on other systems. If it contains results you don't
13228 # want to keep, you may remove or edit it.
13230 # config.status only pays attention to the cache file if you give it
13231 # the --recheck option to rerun configure.
13233 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13234 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13235 # following values.
13239 # The following way of writing the cache mishandles newlines in values,
13240 # but we know of no workaround that is simple, portable, and efficient.
13241 # So, we kill variables containing newlines.
13242 # Ultrix sh set writes to stderr and can't be redirected directly,
13243 # and sets the high bit in the cache file unless we assign to the vars.
13245 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13246 eval ac_val
=\$
$ac_var
13250 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
13251 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13254 _ | IFS | as_nl
) ;; #(
13255 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
13256 *) $as_unset $ac_var ;;
13262 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13263 *${as_nl}ac_space
=\
*)
13264 # `set' does not quote correctly, so add quotes (double-quote
13265 # substitution turns \\\\ into \\, and sed turns \\ into \).
13268 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13271 # `set' quotes correctly as required by POSIX, so do not add quotes.
13272 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13281 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13283 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13285 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13286 if test -w "$cache_file"; then
13287 test "x$cache_file" != "x/dev/null" &&
13288 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
13289 $as_echo "$as_me: updating cache $cache_file" >&6;}
13290 cat confcache
>$cache_file
13292 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13293 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13298 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13299 # Let make expand exec_prefix.
13300 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13302 DEFS
=-DHAVE_CONFIG_H
13306 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13307 # 1. Remove the extension, and $U if already installed.
13308 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13309 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
13310 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13311 # will be set to the directory where LIBOBJS objects are built.
13312 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13313 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
13315 LIBOBJS
=$ac_libobjs
13317 LTLIBOBJS
=$ac_ltlibobjs
13321 : ${CONFIG_STATUS=./config.status}
13323 ac_clean_files_save
=$ac_clean_files
13324 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13325 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13326 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13327 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13329 # Generated by $as_me.
13330 # Run this file to recreate the current configuration.
13331 # Compiler output produced by configure, useful for debugging
13332 # configure, is in config.log if it exists.
13335 ac_cs_recheck=false
13337 SHELL=\${CONFIG_SHELL-$SHELL}
13340 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13341 ## --------------------- ##
13342 ## M4sh Initialization. ##
13343 ## --------------------- ##
13345 # Be more Bourne compatible
13346 DUALCASE
=1; export DUALCASE
# for MKS sh
13347 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
13350 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13351 # is contrary to our usage. Disable this feature.
13352 alias -g '${1+"$@"}'='"$@"'
13353 setopt NO_GLOB_SUBST
13355 case `(set -o) 2>/dev/null` in
13356 *posix
*) set -o posix
;;
13365 # Avoid depending upon Character Ranges.
13366 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13367 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13368 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13369 as_cr_digits
='0123456789'
13370 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13375 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13376 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13377 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13378 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13379 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13380 as_echo='printf %s
\n'
13381 as_echo_n='printf %s
'
13383 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13384 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13385 as_echo_n='/usr
/ucb
/echo -n'
13387 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13388 as_echo_n_body='eval
13392 expr "X$arg" : "X\\(.*\\)$as_nl";
13393 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13395 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13397 export as_echo_n_body
13398 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13400 export as_echo_body
13401 as_echo='sh
-c $as_echo_body as_echo
'
13404 # The user is always right.
13405 if test "${PATH_SEPARATOR+set}" != set; then
13407 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13408 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13413 # Support unset when possible.
13414 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13422 # We need space, tab and new line, in precisely that order. Quoting is
13423 # there to prevent editors from complaining about space-tab.
13424 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13425 # splitting by setting IFS to empty value.)
13428 # Find who we are. Look in the path if we contain no directory separator.
13430 *[\\/]* ) as_myself=$0 ;;
13431 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13432 for as_dir in $PATH
13435 test -z "$as_dir" && as_dir=.
13436 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13442 # We did not find ourselves, most probably we were run as `sh COMMAND'
13443 # in which case we are not to be found in the path.
13444 if test "x$as_myself" = x
; then
13447 if test ! -f "$as_myself"; then
13448 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13449 { (exit 1); exit 1; }
13452 # Work around bugs in pre-3.0 UWIN ksh.
13453 for as_var
in ENV MAIL MAILPATH
13454 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
13466 # Required to use basename.
13467 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13468 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13474 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13475 as_basename
=basename
13481 # Name of the executable.
13482 as_me
=`$as_basename -- "$0" ||
13483 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13484 X"$0" : 'X\(//\)$' \| \
13485 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13487 sed '/^.*\/\([^/][^/]*\)\/*$/{
13506 as_lineno_1
=$LINENO
13507 as_lineno_2
=$LINENO
13508 test "x$as_lineno_1" != "x$as_lineno_2" &&
13509 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
13511 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13512 # uniformly replaced by the line number. The first 'sed' inserts a
13513 # line-number line after each line using $LINENO; the second 'sed'
13514 # does the real work. The second script uses 'N' to pair each
13515 # line-number line with the line containing $LINENO, and appends
13516 # trailing '-' during substitution so that $LINENO is not a special
13517 # case at line end.
13518 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13519 # scripts with optimization help from Paolo Bonzini. Blame Lee
13520 # E. McMahon (1931-1989) for sed's syntax. :-)
13532 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13535 ' >$as_me.lineno
&&
13536 chmod +x
"$as_me.lineno" ||
13537 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13538 { (exit 1); exit 1; }; }
13540 # Don't try to exec as it changes $[0], causing all sort of problems
13541 # (the dirname of $[0] is not the place where we might find the
13542 # original and so on. Autoconf is especially sensitive to this).
13543 .
"./$as_me.lineno"
13544 # Exit status is that of the last command.
13549 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13555 ECHO_C
= ECHO_N
= ECHO_T
=
13556 case `echo -n x` in
13558 case `echo 'x\c'` in
13559 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13565 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13566 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13572 rm -f conf$$ conf$$.exe conf$$.
file
13573 if test -d conf$$.dir
; then
13574 rm -f conf$$.dir
/conf$$.
file
13577 mkdir conf$$.dir
2>/dev
/null
13579 if (echo >conf$$.
file) 2>/dev
/null
; then
13580 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13582 # ... but there are two gotchas:
13583 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13584 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13585 # In both cases, we have to default to `cp -p'.
13586 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13588 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13596 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13597 rmdir conf$$.dir
2>/dev
/null
13599 if mkdir
-p .
2>/dev
/null
; then
13602 test -d .
/-p && rmdir .
/-p
13606 if test -x / >/dev
/null
2>&1; then
13607 as_test_x
='test -x'
13609 if ls -dL / >/dev
/null
2>&1; then
13616 if test -d "$1"; then
13622 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13623 ???[sx]*):;;*)false;;esac;fi
13627 as_executable_p
=$as_test_x
13629 # Sed expression to map a string onto a valid CPP name.
13630 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13632 # Sed expression to map a string onto a valid variable name.
13633 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13638 # Save the log message, to keep $[0] and so on meaningful, and to
13639 # report actual input values of CONFIG_FILES etc. instead of their
13640 # values after options handling.
13642 This file was extended by $as_me, which was
13643 generated by GNU Autoconf 2.63. Invocation command line was
13645 CONFIG_FILES = $CONFIG_FILES
13646 CONFIG_HEADERS = $CONFIG_HEADERS
13647 CONFIG_LINKS = $CONFIG_LINKS
13648 CONFIG_COMMANDS = $CONFIG_COMMANDS
13651 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13656 case $ac_config_files in *"
13657 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13660 case $ac_config_headers in *"
13661 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13665 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13666 # Files that config.status was made for.
13667 config_files="$ac_config_files"
13668 config_headers="$ac_config_headers"
13669 config_commands="$ac_config_commands"
13673 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13675 \`$as_me' instantiates files from templates according to the
13676 current configuration.
13678 Usage: $0 [OPTION]... [FILE]...
13680 -h, --help print this help, then exit
13681 -V, --version print version number and configuration settings, then exit
13682 -q, --quiet, --silent
13683 do not print progress messages
13684 -d, --debug don't remove temporary files
13685 --recheck update $as_me by reconfiguring in the same conditions
13686 --file=FILE[:TEMPLATE]
13687 instantiate the configuration file FILE
13688 --header=FILE[:TEMPLATE]
13689 instantiate the configuration header FILE
13691 Configuration files:
13694 Configuration headers:
13697 Configuration commands:
13700 Report bugs to <bug-autoconf@gnu.org>."
13703 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13706 configured by $0, generated by GNU Autoconf 2.63,
13707 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13709 Copyright (C) 2008 Free Software Foundation, Inc.
13710 This config.status script is free software; the Free Software Foundation
13711 gives unlimited permission to copy, distribute and modify it."
13715 test -n "\$AWK" || AWK=awk
13718 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13719 # The default lists apply if the user does not specify any file.
13725 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13726 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13737 # Handling of the options.
13738 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13740 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13741 $as_echo "$ac_cs_version"; exit ;;
13742 --debug |
--debu |
--deb |
--de |
--d |
-d )
13744 --file |
--fil |
--fi |
--f )
13747 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13749 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
13750 ac_need_defaults
=false
;;
13751 --header |
--heade |
--head |
--hea )
13754 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13756 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
13757 ac_need_defaults
=false
;;
13759 # Conflict between --help and --header
13760 { $as_echo "$as_me: error: ambiguous option: $1
13761 Try \`$0 --help' for more information." >&2
13762 { (exit 1); exit 1; }; };;
13763 --help |
--hel |
-h )
13764 $as_echo "$ac_cs_usage"; exit ;;
13765 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13766 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13769 # This is an error.
13770 -*) { $as_echo "$as_me: error: unrecognized option: $1
13771 Try \`$0 --help' for more information." >&2
13772 { (exit 1); exit 1; }; } ;;
13774 *) ac_config_targets
="$ac_config_targets $1"
13775 ac_need_defaults
=false
;;
13781 ac_configure_extra_args
=
13783 if $ac_cs_silent; then
13785 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13789 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13790 if \$ac_cs_recheck; then
13791 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13793 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13794 CONFIG_SHELL='$SHELL'
13795 export CONFIG_SHELL
13800 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13804 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13805 ## Running $as_me. ##
13811 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13816 aros_tools_dir=${aros_tools_dir}
13817 aros_target_cpu=${aros_target_cpu}
13818 aros_target_arch=${aros_target_arch}
13819 aros_target_suffix=${aros_target_suffix}
13820 aros_target_nm_ln=${aros_target_nm_ln}
13821 aros_target_as_ln=${aros_target_as_ln}
13822 aros_target_ar_ln=${aros_target_ar_ln}
13823 aros_target_ranlib_ln=${aros_target_ranlib_ln}
13824 aros_target_objdump_ln=${aros_target_objdump_ln}
13825 aros_target_objcopy_ln=${aros_target_objcopy_ln}
13826 aros_target_strip_ln=${aros_target_strip_ln}
13829 aros_scripts_dir=${aros_scripts_dir}
13831 aros_tools_dir=${aros_tools_dir}
13836 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13838 # Handling of arguments.
13839 for ac_config_target
in $ac_config_targets
13841 case $ac_config_target in
13842 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
13843 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
13844 "genshared_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genshared_executable" ;;
13845 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
13846 "adflib_myaros.conf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS adflib_myaros.conf_executable" ;;
13847 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13848 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
13849 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
13850 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
13851 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
13852 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
13853 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
13854 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
13855 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
13856 "${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" ;;
13857 "${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" ;;
13858 "${aros_scripts_dir}/genshared") CONFIG_FILES
="$CONFIG_FILES ${aros_scripts_dir}/genshared:compiler/c_lib/source/lib_source/genshared.in" ;;
13859 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
13860 "tools/adflib/myconf.aros") CONFIG_FILES
="$CONFIG_FILES tools/adflib/myconf.aros" ;;
13861 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
13863 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13864 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13865 { (exit 1); exit 1; }; };;
13870 # If the user did not use the arguments to specify the items to instantiate,
13871 # then the envvar interface is used. Set only those that are not.
13872 # We use the long form for the default assignment because of an extremely
13873 # bizarre bug on SunOS 4.1.3.
13874 if $ac_need_defaults; then
13875 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13876 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13877 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13880 # Have a temporary directory for convenience. Make it in the build tree
13881 # simply because there is no reason against having it here, and in addition,
13882 # creating and moving files from /tmp can sometimes cause problems.
13883 # Hook for its removal unless debugging.
13884 # Note that there is a small window in which the directory will not be cleaned:
13885 # after its creation but before its name has been assigned to `$tmp'.
13889 trap 'exit_status=$?
13890 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13892 trap '{ (exit 1); exit 1; }' 1 2 13 15
13894 # Create a (secure) tmp directory for tmp files.
13897 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13898 test -n "$tmp" && test -d "$tmp"
13901 tmp
=.
/conf$$
-$RANDOM
13902 (umask 077 && mkdir
"$tmp")
13905 $as_echo "$as_me: cannot create a temporary directory in ." >&2
13906 { (exit 1); exit 1; }
13909 # Set up the scripts for CONFIG_FILES section.
13910 # No need to generate them if there are no CONFIG_FILES.
13911 # This happens for instance with `./config.status config.h'.
13912 if test -n "$CONFIG_FILES"; then
13917 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13918 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13921 ac_cs_awk_cr
=$ac_cr
13924 echo 'BEGIN {' >"$tmp/subs1.awk" &&
13929 echo "cat >conf$$subs.awk <<_ACEOF" &&
13930 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13932 } >conf$$subs.sh ||
13933 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
13934 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
13935 { (exit 1); exit 1; }; }
13936 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13938 for ac_last_try in false false false false false :; do
13939 . ./conf$$subs.sh ||
13940 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
13941 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
13942 { (exit 1); exit 1; }; }
13944 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13945 if test $ac_delim_n = $ac_delim_num; then
13947 elif $ac_last_try; then
13948 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
13949 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
13950 { (exit 1); exit 1; }; }
13952 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13955 rm -f conf$$subs.sh
13957 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13958 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
13962 s/^/S["/; s
/!.
*/"]=/
13972 s/\(.\{148\}\).*/\1/
13974 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13979 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13986 s/\(.\{148\}\).*/\1/
13988 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13992 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13997 ' <conf$$subs.awk | sed '
14002 ' >>$CONFIG_STATUS || ac_write_fail=1
14003 rm -f conf$$subs.awk
14004 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14006 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
14007 for (key in S) S_is_set[key] = 1
14013 nfields = split(line, field, "@
")
14015 len = length(field[1])
14016 for (i = 2; i < nfields; i++) {
14018 keylen = length(key)
14019 if (S_is_set[key]) {
14021 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14022 len += length(value) + length(field[++i])
14033 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14034 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14035 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
14038 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
14039 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
14040 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
14041 { (exit 1); exit 1; }; }
14044 # VPATH may cause trouble with some makes, so we remove $(srcdir),
14045 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
14046 # trailing colons and then remove the whole line if VPATH becomes empty
14047 # (actually we leave an empty line to preserve line numbers).
14048 if test "x
$srcdir" = x.; then
14049 ac_vpsub='/^[ ]*VPATH[ ]*=/{
14050 s/:*\$(srcdir):*/:/
14051 s/:*\${srcdir}:*/:/
14053 s/^\([^=]*=[ ]*\):*/\1/
14059 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14060 fi # test -n "$CONFIG_FILES"
14062 # Set up the scripts for CONFIG_HEADERS section.
14063 # No need to generate them if there are no CONFIG_HEADERS.
14064 # This happens for instance with `./config.status Makefile'.
14065 if test -n "$CONFIG_HEADERS"; then
14066 cat >"$tmp/defines.
awk" <<\_ACAWK ||
14070 # Transform confdefs.h into an awk script `defines.awk', embedded as
14071 # here-document in config.status, that substitutes the proper values into
14072 # config.h.in to produce config.h.
14074 # Create a delimiter string that does not exist in confdefs.h, to ease
14075 # handling of long lines.
14077 for ac_last_try in false false :; do
14078 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
14079 if test -z "$ac_t"; then
14081 elif $ac_last_try; then
14082 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
14083 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
14084 { (exit 1); exit 1; }; }
14086 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
14090 # For the awk script, D is an array of macro values keyed by name,
14091 # likewise P contains macro parameters if any. Preserve backslash
14092 # newline sequences.
14094 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14096 s/.\{148\}/&'"$ac_delim"'/g
14099 s/^[ ]*#[ ]*define[ ][ ]*/ /
14106 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
14108 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
14112 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
14113 D["\
1"]=" \
3\\\\\\n
"\\/p
14115 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
14120 s/.\{148\}/&'"$ac_delim"'/g
14125 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
14128 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
14130 ' <confdefs.h | sed '
14131 s/'"$ac_delim"'/"\\\
14132 "/g' >>$CONFIG_STATUS || ac_write_fail=1
14134 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14135 for (key in D) D_is_set[key] = 1
14138 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14140 split(line, arg, " ")
14141 if (arg[1] == "#") {
14145 defundef
= substr
(arg
[1], 2)
14148 split(mac1
, mac2
, "(") #)
14150 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
14151 if (D_is_set
[macro
]) {
14152 # Preserve the white space surrounding the "#".
14153 print prefix
"define", macro P
[macro
] D
[macro
]
14156 # Replace #undef with comments. This is necessary, for example,
14157 # in the case of _POSIX_SOURCE, which is predefined and required
14158 # on some systems where configure will not decide to define it.
14159 if (defundef
== "undef") {
14160 print
"/*", prefix defundef
, macro
, "*/"
14168 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14169 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
14170 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
14171 { (exit 1); exit 1; }; }
14172 fi # test -n "$CONFIG_HEADERS"
14175 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
14180 :[FHLC
]) ac_mode
=$ac_tag; continue;;
14182 case $ac_mode$ac_tag in
14184 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
14185 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
14186 { (exit 1); exit 1; }; };;
14187 :[FH
]-) ac_tag
=-:-;;
14188 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14205 -) ac_f
="$tmp/stdin";;
14206 *) # Look for the file first in the build tree, then in the source tree
14207 # (if the path is not absolute). The absolute path cannot be DOS-style,
14208 # because $ac_f cannot contain `:'.
14212 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14214 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
14215 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
14216 { (exit 1); exit 1; }; };;
14218 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14219 ac_file_inputs
="$ac_file_inputs '$ac_f'"
14222 # Let's still pretend it is `configure' which instantiates (i.e., don't
14223 # use $as_me), people would be surprised to read:
14224 # /* config.h. Generated by config.status. */
14225 configure_input
='Generated from '`
14226 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14228 if test x
"$ac_file" != x-
; then
14229 configure_input
="$ac_file. $configure_input"
14230 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
14231 $as_echo "$as_me: creating $ac_file" >&6;}
14233 # Neutralize special characters interpreted by sed in replacement strings.
14234 case $configure_input in #(
14235 *\
&* |
*\|
* |
*\\* )
14236 ac_sed_conf_input
=`$as_echo "$configure_input" |
14237 sed 's/[\\\\&|]/\\\\&/g'`;; #(
14238 *) ac_sed_conf_input
=$configure_input;;
14242 *:-:* |
*:-) cat >"$tmp/stdin" \
14243 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14244 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14245 { (exit 1); exit 1; }; } ;;
14250 ac_dir
=`$as_dirname -- "$ac_file" ||
14251 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14252 X"$ac_file" : 'X\(//\)[^/]' \| \
14253 X"$ac_file" : 'X\(//\)$' \| \
14254 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14255 $as_echo X"$ac_file" |
14256 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14260 /^X\(\/\/\)[^/].*/{
14275 -*) as_dir
=.
/$as_dir;;
14277 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
14281 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14282 *) as_qdir
=$as_dir;;
14284 as_dirs
="'$as_qdir' $as_dirs"
14285 as_dir
=`$as_dirname -- "$as_dir" ||
14286 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14287 X"$as_dir" : 'X\(//\)[^/]' \| \
14288 X"$as_dir" : 'X\(//\)$' \| \
14289 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14290 $as_echo X"$as_dir" |
14291 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14295 /^X\(\/\/\)[^/].*/{
14308 test -d "$as_dir" && break
14310 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14311 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14312 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
14313 { (exit 1); exit 1; }; }; }
14317 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14319 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14320 # A ".." for each directory in $ac_dir_suffix.
14321 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14322 case $ac_top_builddir_sub in
14323 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14324 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14327 ac_abs_top_builddir
=$ac_pwd
14328 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14329 # for backward compatibility:
14330 ac_top_builddir
=$ac_top_build_prefix
14333 .
) # We are building in place.
14335 ac_top_srcdir
=$ac_top_builddir_sub
14336 ac_abs_top_srcdir
=$ac_pwd ;;
14337 [\\/]* | ?
:[\\/]* ) # Absolute name.
14338 ac_srcdir
=$srcdir$ac_dir_suffix;
14339 ac_top_srcdir
=$srcdir
14340 ac_abs_top_srcdir
=$srcdir ;;
14341 *) # Relative name.
14342 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14343 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14344 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14346 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14357 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14358 # If the template does not know about datarootdir, expand it.
14359 # FIXME: This hack should be removed a few years after 2.60.
14360 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14373 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14374 *datarootdir
*) ac_datarootdir_seen
=yes;;
14375 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14376 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14377 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14379 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14380 ac_datarootdir_hack='
14381 s&@datadir@&$datadir&g
14382 s&@docdir@&$docdir&g
14383 s&@infodir@&$infodir&g
14384 s&@localedir@&$localedir&g
14385 s&@mandir@&$mandir&g
14386 s&\\\${datarootdir}&$datarootdir&g' ;;
14390 # Neutralize VPATH when `$srcdir' = `.'.
14391 # Shell code in configure.ac might set extrasub.
14392 # FIXME: do we really want to maintain this feature?
14393 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14394 ac_sed_extra="$ac_vpsub
14397 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14399 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14400 s|@configure_input@|
$ac_sed_conf_input|
;t t
14401 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14402 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14403 s
&@srcdir@
&$ac_srcdir&;t t
14404 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14405 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14406 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14407 s
&@builddir@
&$ac_builddir&;t t
14408 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14409 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14410 $ac_datarootdir_hack
14412 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
14413 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
14414 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
14415 { (exit 1); exit 1; }; }
14417 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14418 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
14419 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
14420 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14421 which seems to be undefined. Please make sure it is defined." >&5
14422 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14423 which seems to be undefined. Please make sure it is defined." >&2;}
14427 -) cat "$tmp/out" && rm -f "$tmp/out";;
14428 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14430 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14431 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14432 { (exit 1); exit 1; }; }
14438 if test x"$ac_file" != x-; then
14440 $as_echo "/* $configure_input */" \
14441 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14442 } >"$tmp/config.h" \
14443 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14444 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14445 { (exit 1); exit 1; }; }
14446 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14447 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14448 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14451 mv "$tmp/config.h" "$ac_file" \
14452 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14453 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14454 { (exit 1); exit 1; }; }
14457 $as_echo "/* $configure_input */" \
14458 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14459 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
14460 $as_echo "$as_me: error: could not create -" >&2;}
14461 { (exit 1); exit 1; }; }
14465 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
14466 $as_echo "$as_me: executing $ac_file commands" >&6;}
14471 case $ac_file$ac_mode in
14472 "compiler_executable":C)
14473 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
14475 prefix="${prefix}/${aros_target_cpu}-aros"
14476 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
14480 chmod a+x ${prefix2}-gcc ${prefix2}-ld
14482 ln -sf ${prefix2}-gcc ${prefix}-gcc
14483 ln -sf ${prefix2}-ld ${prefix}-ld
14485 ln -sf $aros_target_as_ln ${prefix}-as
14486 ln -sf $aros_target_nm_ln ${prefix}-nm
14487 ln -sf $aros_target_ar_ln ${prefix}-ar
14488 ln -sf $aros_target_ranlib_ln ${prefix}-ranlib
14489 ln -sf $aros_target_objcopy_ln ${prefix}-objcopy
14490 ln -sf $aros_target_objdump_ln ${prefix}-objdump
14491 ln -sf $aros_target_strip_ln ${prefix}-strip
14493 ln -sf $aros_target_as_ln ${prefix2}-as
14494 ln -sf $aros_target_nm_ln ${prefix2}-nm
14495 ln -sf $aros_target_ar_ln ${prefix2}-ar
14496 ln -sf $aros_target_ranlib_ln ${prefix2}-ranlib
14497 ln -sf $aros_target_objcopy_ln ${prefix2}-objcopy
14498 ln -sf $aros_target_objdump_ln ${prefix2}-objdump
14499 ln -sf $aros_target_strip_ln ${prefix2}-strip
14501 "genshared_executable":C) chmod a+x ${aros_scripts_dir}/genshared ;;
14502 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
14503 "adflib_myaros.conf_executable":C) chmod a+x tools/adflib/myconf.aros
14510 { (exit 0); exit 0; }
14512 chmod +x $CONFIG_STATUS
14513 ac_clean_files=$ac_clean_files_save
14515 test $ac_write_fail = 0 ||
14516 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
14517 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
14518 { (exit 1); exit 1; }; }
14521 # configure is writing to config.log, and then calls config.status.
14522 # config.status does its own redirection, appending to config.log.
14523 # Unfortunately, on DOS this fails, as config.log is still kept open
14524 # by configure, so config.status won't be able to
write to it
; its
14525 # output is simply discarded. So we exec the FD to /dev/null,
14526 # effectively closing config.log, so it can be properly (re)opened and
14527 # appended to by config.status. When coming back to configure, we
14528 # need to make the FD available again.
14529 if test "$no_create" != yes; then
14531 ac_config_status_args
=
14532 test "$silent" = yes &&
14533 ac_config_status_args
="$ac_config_status_args --quiet"
14535 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14537 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14538 # would make configure fail if this is the last instruction.
14539 $ac_cs_success ||
{ (exit 1); exit 1; }
14541 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
14542 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14543 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14548 #XXX compatability...
14549 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
14551 if test -n "$aros_shared_cflags" ; then
14552 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
14553 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg