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
656 aros_host_x11_libdirs
657 aros_host_x11_includes
661 aros_default_wbheight
665 aros_target_strip_flags
688 aros_target_cc_includes
701 aros_target_bootloader
729 aros_cflags_iquote_end
731 kernel_cflags_iquote_end
733 host_cflags_iquote_end
735 aros_target_nostdlib_ldflags
736 aros_target_detach_ldflags
737 aros_target_nix_ldflags
738 aros_target_nostartup_ldflags
739 aros_target_nostdinc_cflags
742 aros_target_ranlib_ln
743 aros_target_objdump_ln
744 aros_target_objcopy_ln
838 program_transform_name
850 enable_option_checking
857 enable_target_variant
865 enable_palm_debug_hack
866 enable_nesting_supervisor
877 ac_precious_vars
='build_alias
889 # Initialize some variables set by options.
891 ac_init_version
=false
892 ac_unrecognized_opts
=
894 # The variables have the same names as the options, with
895 # dashes changed to underlines.
903 program_transform_name
=s
,x
,x
,
911 # Installation directory options.
912 # These are left unexpanded so users can "make install exec_prefix=/foo"
913 # and all the variables that are supposed to be based on exec_prefix
914 # by default will actually change.
915 # Use braces instead of parens because sh, perl, etc. also accept them.
916 # (The list follows the same order as the GNU Coding Standards.)
917 bindir
='${exec_prefix}/bin'
918 sbindir
='${exec_prefix}/sbin'
919 libexecdir
='${exec_prefix}/libexec'
920 datarootdir
='${prefix}/share'
921 datadir
='${datarootdir}'
922 sysconfdir
='${prefix}/etc'
923 sharedstatedir
='${prefix}/com'
924 localstatedir
='${prefix}/var'
925 includedir
='${prefix}/include'
926 oldincludedir
='/usr/include'
927 docdir
='${datarootdir}/doc/${PACKAGE}'
928 infodir
='${datarootdir}/info'
933 libdir
='${exec_prefix}/lib'
934 localedir
='${datarootdir}/locale'
935 mandir
='${datarootdir}/man'
941 # If the previous option needs an argument, assign it.
942 if test -n "$ac_prev"; then
943 eval $ac_prev=\
$ac_option
949 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
953 # Accept the important Cygnus configure options, so we can diagnose typos.
955 case $ac_dashdash$ac_option in
959 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
961 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
964 -build |
--build |
--buil |
--bui |
--bu)
965 ac_prev
=build_alias
;;
966 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
967 build_alias
=$ac_optarg ;;
969 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
970 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
971 ac_prev
=cache_file
;;
972 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
973 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
974 cache_file
=$ac_optarg ;;
977 cache_file
=config.cache
;;
979 -datadir |
--datadir |
--datadi |
--datad)
981 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
982 datadir
=$ac_optarg ;;
984 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
985 |
--dataroo |
--dataro |
--datar)
986 ac_prev
=datarootdir
;;
987 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
988 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
989 datarootdir
=$ac_optarg ;;
991 -disable-* |
--disable-*)
992 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
993 # Reject names that are not valid shell variable names.
994 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
995 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
996 { (exit 1); exit 1; }; }
997 ac_useropt_orig
=$ac_useropt
998 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
999 case $ac_user_opts in
1001 "enable_
$ac_useropt"
1003 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1004 ac_unrecognized_sep
=', ';;
1006 eval enable_
$ac_useropt=no
;;
1008 -docdir |
--docdir |
--docdi |
--doc |
--do)
1010 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1011 docdir
=$ac_optarg ;;
1013 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1015 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1016 dvidir
=$ac_optarg ;;
1018 -enable-* |
--enable-*)
1019 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1020 # Reject names that are not valid shell variable names.
1021 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1022 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1023 { (exit 1); exit 1; }; }
1024 ac_useropt_orig
=$ac_useropt
1025 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1026 case $ac_user_opts in
1028 "enable_
$ac_useropt"
1030 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1031 ac_unrecognized_sep
=', ';;
1033 eval enable_
$ac_useropt=\
$ac_optarg ;;
1035 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1036 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1037 |
--exec |
--exe |
--ex)
1038 ac_prev
=exec_prefix
;;
1039 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1040 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1041 |
--exec=* |
--exe=* |
--ex=*)
1042 exec_prefix
=$ac_optarg ;;
1044 -gas |
--gas |
--ga |
--g)
1045 # Obsolete; use --with-gas.
1048 -help |
--help |
--hel |
--he |
-h)
1049 ac_init_help
=long
;;
1050 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1051 ac_init_help
=recursive
;;
1052 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1053 ac_init_help
=short
;;
1055 -host |
--host |
--hos |
--ho)
1056 ac_prev
=host_alias
;;
1057 -host=* |
--host=* |
--hos=* |
--ho=*)
1058 host_alias
=$ac_optarg ;;
1060 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1062 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1064 htmldir
=$ac_optarg ;;
1066 -includedir |
--includedir |
--includedi |
--included |
--include \
1067 |
--includ |
--inclu |
--incl |
--inc)
1068 ac_prev
=includedir
;;
1069 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1070 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1071 includedir
=$ac_optarg ;;
1073 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1075 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1076 infodir
=$ac_optarg ;;
1078 -libdir |
--libdir |
--libdi |
--libd)
1080 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1081 libdir
=$ac_optarg ;;
1083 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1084 |
--libexe |
--libex |
--libe)
1085 ac_prev
=libexecdir
;;
1086 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1087 |
--libexe=* |
--libex=* |
--libe=*)
1088 libexecdir
=$ac_optarg ;;
1090 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1091 ac_prev
=localedir
;;
1092 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1093 localedir
=$ac_optarg ;;
1095 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1096 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1097 ac_prev
=localstatedir
;;
1098 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1099 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1100 localstatedir
=$ac_optarg ;;
1102 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1104 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1105 mandir
=$ac_optarg ;;
1107 -nfp |
--nfp |
--nf)
1108 # Obsolete; use --without-fp.
1111 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1112 |
--no-cr |
--no-c |
-n)
1115 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1116 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1119 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1120 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1121 |
--oldin |
--oldi |
--old |
--ol |
--o)
1122 ac_prev
=oldincludedir
;;
1123 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1124 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1125 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1126 oldincludedir
=$ac_optarg ;;
1128 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1130 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1131 prefix
=$ac_optarg ;;
1133 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1134 |
--program-pre |
--program-pr |
--program-p)
1135 ac_prev
=program_prefix
;;
1136 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1137 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1138 program_prefix
=$ac_optarg ;;
1140 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1141 |
--program-suf |
--program-su |
--program-s)
1142 ac_prev
=program_suffix
;;
1143 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1144 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1145 program_suffix
=$ac_optarg ;;
1147 -program-transform-name |
--program-transform-name \
1148 |
--program-transform-nam |
--program-transform-na \
1149 |
--program-transform-n |
--program-transform- \
1150 |
--program-transform |
--program-transfor \
1151 |
--program-transfo |
--program-transf \
1152 |
--program-trans |
--program-tran \
1153 |
--progr-tra |
--program-tr |
--program-t)
1154 ac_prev
=program_transform_name
;;
1155 -program-transform-name=* |
--program-transform-name=* \
1156 |
--program-transform-nam=* |
--program-transform-na=* \
1157 |
--program-transform-n=* |
--program-transform-=* \
1158 |
--program-transform=* |
--program-transfor=* \
1159 |
--program-transfo=* |
--program-transf=* \
1160 |
--program-trans=* |
--program-tran=* \
1161 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1162 program_transform_name
=$ac_optarg ;;
1164 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1166 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1167 pdfdir
=$ac_optarg ;;
1169 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1171 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1174 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1175 |
-silent |
--silent |
--silen |
--sile |
--sil)
1178 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1180 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1182 sbindir
=$ac_optarg ;;
1184 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1185 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1186 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1188 ac_prev
=sharedstatedir
;;
1189 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1190 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1191 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1193 sharedstatedir
=$ac_optarg ;;
1195 -site |
--site |
--sit)
1197 -site=* |
--site=* |
--sit=*)
1200 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1202 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1203 srcdir
=$ac_optarg ;;
1205 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1206 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1207 ac_prev
=sysconfdir
;;
1208 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1209 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1210 sysconfdir
=$ac_optarg ;;
1212 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1213 ac_prev
=target_alias
;;
1214 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1215 target_alias
=$ac_optarg ;;
1217 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1220 -version |
--version |
--versio |
--versi |
--vers |
-V)
1221 ac_init_version
=: ;;
1224 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1225 # Reject names that are not valid shell variable names.
1226 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1227 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1228 { (exit 1); exit 1; }; }
1229 ac_useropt_orig
=$ac_useropt
1230 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1231 case $ac_user_opts in
1235 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1236 ac_unrecognized_sep
=', ';;
1238 eval with_
$ac_useropt=\
$ac_optarg ;;
1240 -without-* |
--without-*)
1241 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1242 # Reject names that are not valid shell variable names.
1243 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1244 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1245 { (exit 1); exit 1; }; }
1246 ac_useropt_orig
=$ac_useropt
1247 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1248 case $ac_user_opts in
1252 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1253 ac_unrecognized_sep
=', ';;
1255 eval with_
$ac_useropt=no
;;
1258 # Obsolete; use --with-x.
1261 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1262 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1263 ac_prev
=x_includes
;;
1264 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1265 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1266 x_includes
=$ac_optarg ;;
1268 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1269 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1270 ac_prev
=x_libraries
;;
1271 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1272 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1273 x_libraries
=$ac_optarg ;;
1275 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1276 Try \`$0 --help' for more information." >&2
1277 { (exit 1); exit 1; }; }
1281 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1282 # Reject names that are not valid shell variable names.
1283 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1284 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1285 { (exit 1); exit 1; }; }
1286 eval $ac_envvar=\
$ac_optarg
1287 export $ac_envvar ;;
1290 # FIXME: should be removed in autoconf 3.0.
1291 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1292 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1293 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1294 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1300 if test -n "$ac_prev"; then
1301 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1302 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1303 { (exit 1); exit 1; }; }
1306 if test -n "$ac_unrecognized_opts"; then
1307 case $enable_option_checking in
1309 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1310 { (exit 1); exit 1; }; } ;;
1311 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1315 # Check all directory arguments for consistency.
1316 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1317 datadir sysconfdir sharedstatedir localstatedir includedir \
1318 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1319 libdir localedir mandir
1321 eval ac_val
=\$
$ac_var
1322 # Remove trailing slashes.
1325 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1326 eval $ac_var=\
$ac_val;;
1328 # Be sure to have absolute directory names.
1330 [\\/$
]* | ?
:[\\/]* ) continue;;
1331 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1333 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1334 { (exit 1); exit 1; }; }
1337 # There might be people who depend on the old broken behavior: `$host'
1338 # used to hold the argument of --host etc.
1339 # FIXME: To remove some day.
1342 target
=$target_alias
1344 # FIXME: To remove some day.
1345 if test "x$host_alias" != x
; then
1346 if test "x$build_alias" = x
; then
1347 cross_compiling
=maybe
1348 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1349 If a cross compiler is detected then cross compile mode will be used." >&2
1350 elif test "x$build_alias" != "x$host_alias"; then
1356 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1358 test "$silent" = yes && exec 6>/dev
/null
1361 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1362 ac_ls_di
=`ls -di .` &&
1363 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1364 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1365 { (exit 1); exit 1; }; }
1366 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1367 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1368 { (exit 1); exit 1; }; }
1371 # Find the source files, if location was not specified.
1372 if test -z "$srcdir"; then
1373 ac_srcdir_defaulted
=yes
1374 # Try the directory containing this script, then the parent directory.
1375 ac_confdir
=`$as_dirname -- "$as_myself" ||
1376 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1377 X"$as_myself" : 'X\(//\)[^/]' \| \
1378 X"$as_myself" : 'X\(//\)$' \| \
1379 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1380 $as_echo X"$as_myself" |
1381 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1399 if test ! -r "$srcdir/$ac_unique_file"; then
1403 ac_srcdir_defaulted
=no
1405 if test ! -r "$srcdir/$ac_unique_file"; then
1406 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1407 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1408 { (exit 1); exit 1; }; }
1410 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1412 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1413 { (exit 1); exit 1; }; }
1415 # When building in place, set srcdir=.
1416 if test "$ac_abs_confdir" = "$ac_pwd"; then
1419 # Remove unnecessary trailing slashes from srcdir.
1420 # Double slashes in file names in object file debugging info
1421 # mess up M-x gdb in Emacs.
1423 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1425 for ac_var
in $ac_precious_vars; do
1426 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1427 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1428 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1429 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1433 # Report the --help message.
1435 if test "$ac_init_help" = "long"; then
1436 # Omit some internal or obsolete options to make the list less imposing.
1437 # This message is too long to be a string in the A/UX 3.1 sh.
1439 \`configure' configures this package to adapt to many kinds of systems.
1441 Usage: $0 [OPTION]... [VAR=VALUE]...
1443 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1444 VAR=VALUE. See below for descriptions of some of the useful variables.
1446 Defaults for the options are specified in brackets.
1449 -h, --help display this help and exit
1450 --help=short display options specific to this package
1451 --help=recursive display the short help of all the included packages
1452 -V, --version display version information and exit
1453 -q, --quiet, --silent do not print \`checking...' messages
1454 --cache-file=FILE cache test results in FILE [disabled]
1455 -C, --config-cache alias for \`--cache-file=config.cache'
1456 -n, --no-create do not create output files
1457 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1459 Installation directories:
1460 --prefix=PREFIX install architecture-independent files in PREFIX
1461 [$ac_default_prefix]
1462 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1465 By default, \`make install' will install all the files in
1466 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1467 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1468 for instance \`--prefix=\$HOME'.
1470 For better control, use the options below.
1472 Fine tuning of the installation directories:
1473 --bindir=DIR user executables [EPREFIX/bin]
1474 --sbindir=DIR system admin executables [EPREFIX/sbin]
1475 --libexecdir=DIR program executables [EPREFIX/libexec]
1476 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1477 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1478 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1479 --libdir=DIR object code libraries [EPREFIX/lib]
1480 --includedir=DIR C header files [PREFIX/include]
1481 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1482 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1483 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1484 --infodir=DIR info documentation [DATAROOTDIR/info]
1485 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1486 --mandir=DIR man documentation [DATAROOTDIR/man]
1487 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1488 --htmldir=DIR html documentation [DOCDIR]
1489 --dvidir=DIR dvi documentation [DOCDIR]
1490 --pdfdir=DIR pdf documentation [DOCDIR]
1491 --psdir=DIR ps documentation [DOCDIR]
1497 --x-includes=DIR X include files are
in DIR
1498 --x-libraries=DIR X library files are
in DIR
1501 --build=BUILD configure
for building on BUILD
[guessed
]
1502 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1506 if test -n "$ac_init_help"; then
1511 --disable-option-checking ignore unrecognized
--enable/--with options
1512 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1513 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1514 --enable-build-type=TYPE
1515 Select the build
type. Available types are
:
1516 personal
, nightly
, snapshot
, milestone
, release. Do
1517 NOT use this option unless you know what you are
1518 doing
! (default
=personal
)
1519 --enable-debug=list Enable different types of debug. Commas or
1520 whitespaces can be used to separate the items
in the
1521 list. Available types of debug are
: all
, none
,
1522 messages
, stack
, mungwall
, modules
, symbols. If no
1523 list is provided
then "all" is assumed.
1525 --enable-crosstools Build cross-compiler toolchains
if necessary
1527 --enable-distcc Use distcc as a front end to the compiler
1529 --enable-ccache Use ccache as a front end to the compiler
1531 --enable-target-variant=NAME
1532 Enable a specific target variant
(default
=none
)
1533 --enable-includes=dir Alternative system include directory
1534 --enable-palm-debug-hack
1535 Enable palm debug output hack
in palm native
1537 --enable-nesting-supervisor
1538 Enable nesting supervisor support
in unix
1540 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1541 --enable-x11-shm use X11 shared memory
(default
=auto
)
1542 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1543 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1544 --disable-sdltest Do not try to compile and run a
test SDL program
1545 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1548 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1549 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1550 --with-optimization=FLAGS
1551 Use optimization flags FLAGS
(default
=-O2).
1552 --with-portssources=DIR Where to download sourcecode
for external ports
1553 --with-bootloader=NAME Use a specific bootloader
1554 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1555 --with-theme=NAME Use a specific GUI Theme
1556 --with-resolution=XRESxYRESxDEPTH
1557 Default resolution of the initial WorkbenchScreen
1558 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1559 --with-x use the X Window System
1560 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1561 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1563 Some influential environment variables
:
1564 CC C compiler
command
1565 CFLAGS C compiler flags
1566 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1567 nonstandard directory
<lib dir
>
1568 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1569 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1570 you have headers
in a nonstandard directory
<include dir
>
1572 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1574 Use these variables to override the choices made by
`configure' or to help
1575 it to find libraries and programs with nonstandard names/locations.
1581 if test "$ac_init_help" = "recursive"; then
1582 # If there are subdirs, report their specific --help.
1583 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1584 test -d "$ac_dir" ||
1585 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1590 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1592 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1593 # A ".." for each directory in $ac_dir_suffix.
1594 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1595 case $ac_top_builddir_sub in
1596 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1597 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1600 ac_abs_top_builddir=$ac_pwd
1601 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1602 # for backward compatibility:
1603 ac_top_builddir=$ac_top_build_prefix
1606 .) # We are building in place.
1608 ac_top_srcdir=$ac_top_builddir_sub
1609 ac_abs_top_srcdir=$ac_pwd ;;
1610 [\\/]* | ?:[\\/]* ) # Absolute name.
1611 ac_srcdir=$srcdir$ac_dir_suffix;
1612 ac_top_srcdir=$srcdir
1613 ac_abs_top_srcdir=$srcdir ;;
1615 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1616 ac_top_srcdir=$ac_top_build_prefix$srcdir
1617 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1619 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1621 cd "$ac_dir" || { ac_status=$?; continue; }
1622 # Check for guested configure.
1623 if test -f "$ac_srcdir/configure.gnu"; then
1625 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1626 elif test -f "$ac_srcdir/configure"; then
1628 $SHELL "$ac_srcdir/configure" --help=recursive
1630 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1632 cd "$ac_pwd" || { ac_status=$?; break; }
1636 test -n "$ac_init_help" && exit $ac_status
1637 if $ac_init_version; then
1640 generated by GNU Autoconf 2.63
1642 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1643 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1644 This configure script is free software; the Free Software Foundation
1645 gives unlimited permission to copy, distribute and modify it.
1649 cat >config.log <<_ACEOF
1650 This file contains any messages produced by compilers while
1651 running configure, to aid debugging if configure makes a mistake.
1653 It was created by $as_me, which was
1654 generated by GNU Autoconf 2.63. Invocation command line was
1666 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1667 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1668 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1669 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1670 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1672 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1673 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1675 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1676 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1677 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1678 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1679 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1680 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1681 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1689 test -z "$as_dir" && as_dir=.
1690 $as_echo "PATH: $as_dir"
1706 # Keep a trace of the command line.
1707 # Strip out --no-create and --no-recursion so they do not pile up.
1708 # Strip out --silent because we don't want to record it for future runs.
1709 # Also quote any args containing shell meta-characters.
1710 # Make two passes to allow for proper duplicate-argument suppression.
1714 ac_must_keep_next=false
1720 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1721 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1722 | -silent | --silent | --silen | --sile | --sil)
1725 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1728 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1730 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1731 if test $ac_must_keep_next = true; then
1732 ac_must_keep_next=false # Got value, back to normal.
1735 *=* | --config-cache | -C | -disable-* | --disable-* \
1736 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1737 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1738 | -with-* | --with-* | -without-* | --without-* | --x)
1739 case "$ac_configure_args0 " in
1740 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1743 -* ) ac_must_keep_next=true ;;
1746 ac_configure_args="$ac_configure_args '$ac_arg'"
1751 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1752 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1754 # When interrupted or exit'd, cleanup temporary files, and complete
1755 # config.log. We remove comments because anyway the quotes in there
1756 # would cause problems or look ugly.
1757 # WARNING: Use '\'' to represent an apostrophe within the trap.
1758 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1759 trap 'exit_status=$?
1760 # Save into config.log some information that might help in debugging.
1765 ## ---------------- ##
1766 ## Cache variables. ##
1767 ## ---------------- ##
1770 # The following way of writing the cache mishandles newlines in values,
1772 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1773 eval ac_val=\$$ac_var
1777 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1778 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1781 _ | IFS | as_nl) ;; #(
1782 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1783 *) $as_unset $ac_var ;;
1788 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1789 *${as_nl}ac_space=\ *)
1791 "s/'\''/'\''\\\\'\'''\''/g;
1792 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1795 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1803 ## ----------------- ##
1804 ## Output variables. ##
1805 ## ----------------- ##
1808 for ac_var in $ac_subst_vars
1810 eval ac_val=\$$ac_var
1812 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1814 $as_echo "$ac_var='\''$ac_val'\''"
1818 if test -n "$ac_subst_files"; then
1820 ## ------------------- ##
1821 ## File substitutions. ##
1822 ## ------------------- ##
1825 for ac_var in $ac_subst_files
1827 eval ac_val=\$$ac_var
1829 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1831 $as_echo "$ac_var='\''$ac_val'\''"
1836 if test -s confdefs.h; then
1846 test "$ac_signal" != 0 &&
1847 $as_echo "$as_me: caught signal $ac_signal"
1848 $as_echo "$as_me: exit $exit_status"
1850 rm -f core *.core core.conftest.* &&
1851 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1854 for ac_signal in 1 2 13 15; do
1855 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1859 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1860 rm -f -r conftest* confdefs.h
1862 # Predefined preprocessor variables.
1864 cat >>confdefs.h <<_ACEOF
1865 #define PACKAGE_NAME "$PACKAGE_NAME"
1869 cat >>confdefs.h <<_ACEOF
1870 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1874 cat >>confdefs.h <<_ACEOF
1875 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1879 cat >>confdefs.h <<_ACEOF
1880 #define PACKAGE_STRING "$PACKAGE_STRING"
1884 cat >>confdefs.h <<_ACEOF
1885 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1889 # Let the site file select an alternate cache file if it wants to.
1890 # Prefer an explicitly selected file to automatically selected ones.
1893 if test -n "$CONFIG_SITE"; then
1894 ac_site_file1=$CONFIG_SITE
1895 elif test "x$prefix" != xNONE; then
1896 ac_site_file1=$prefix/share/config.site
1897 ac_site_file2=$prefix/etc/config.site
1899 ac_site_file1=$ac_default_prefix/share/config.site
1900 ac_site_file2=$ac_default_prefix/etc/config.site
1902 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1904 test "x$ac_site_file" = xNONE && continue
1905 if test -r "$ac_site_file"; then
1906 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1907 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1908 sed 's/^/| /' "$ac_site_file" >&5
1913 if test -r "$cache_file"; then
1914 # Some versions of bash will fail to source /dev/null (special
1915 # files actually), so we avoid doing that.
1916 if test -f "$cache_file"; then
1917 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1918 $as_echo "$as_me: loading cache $cache_file" >&6;}
1920 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1921 *) . "./$cache_file";;
1925 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1926 $as_echo "$as_me: creating cache $cache_file" >&6;}
1930 # Check that the precious variables saved in the cache have kept the same
1932 ac_cache_corrupted=false
1933 for ac_var in $ac_precious_vars; do
1934 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1935 eval ac_new_set=\$ac_env_${ac_var}_set
1936 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1937 eval ac_new_val=\$ac_env_${ac_var}_value
1938 case $ac_old_set,$ac_new_set in
1940 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1941 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1942 ac_cache_corrupted=: ;;
1944 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1945 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1946 ac_cache_corrupted=: ;;
1949 if test "x$ac_old_val" != "x$ac_new_val"; then
1950 # differences in whitespace do not lead to failure.
1951 ac_old_val_w=`echo x
$ac_old_val`
1952 ac_new_val_w=`echo x
$ac_new_val`
1953 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1954 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1955 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1956 ac_cache_corrupted=:
1958 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1959 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1960 eval $ac_var=\$ac_old_val
1962 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1963 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1964 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1965 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1968 # Pass precious variables to config.status.
1969 if test "$ac_new_set" = set; then
1971 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1972 *) ac_arg=$ac_var=$ac_new_val ;;
1974 case " $ac_configure_args " in
1975 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1976 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1980 if $ac_cache_corrupted; then
1981 { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
1982 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1983 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1984 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1985 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&5
1986 $as_echo "$as_me: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&2;}
1987 { (exit 1); exit 1; }; }
2007 ac_cpp='$CPP $CPPFLAGS'
2008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2015 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
2016 if test -f "$ac_dir/install-sh
"; then
2018 ac_install_sh="$ac_aux_dir/install-sh
-c"
2020 elif test -f "$ac_dir/install.sh
"; then
2022 ac_install_sh="$ac_aux_dir/install.sh
-c"
2024 elif test -f "$ac_dir/shtool
"; then
2026 ac_install_sh="$ac_aux_dir/shtool
install -c"
2030 if test -z "$ac_aux_dir"; then
2031 { { $as_echo "$as_me:$LINENO: error
: cannot
find install-sh or
install.sh
in scripts
/autoconf
\"$srcdir\"/scripts
/autoconf
" >&5
2032 $as_echo "$as_me: error
: cannot
find install-sh or
install.sh
in scripts
/autoconf
\"$srcdir\"/scripts
/autoconf
" >&2;}
2033 { (exit 1); exit 1; }; }
2036 # These three variables are undocumented and unsupported,
2037 # and are intended to be withdrawn in a future Autoconf release.
2038 # They can cause serious problems if a builder's source tree is in a directory
2039 # whose full name contains unusual characters.
2040 ac_config_guess="$SHELL $ac_aux_dir/config.guess
" # Please don't use this var.
2041 ac_config_sub="$SHELL $ac_aux_dir/config.sub
" # Please don't use this var.
2042 ac_configure="$SHELL $ac_aux_dir/configure
" # Please don't use this var.
2046 # Check what host we are running on.
2047 # If a target is not suggested, we use this one.
2048 # Note that what we call a target, Autoconf calls a host.
2049 # Make sure we can run config.sub.
2050 $SHELL "$ac_aux_dir/config.sub
" sun4 >/dev/null 2>&1 ||
2051 { { $as_echo "$as_me:$LINENO: error
: cannot run
$SHELL $ac_aux_dir/config.sub
" >&5
2052 $as_echo "$as_me: error
: cannot run
$SHELL $ac_aux_dir/config.sub
" >&2;}
2053 { (exit 1); exit 1; }; }
2055 { $as_echo "$as_me:$LINENO: checking build system
type" >&5
2056 $as_echo_n "checking build system
type...
" >&6; }
2057 if test "${ac_cv_build+set}" = set; then
2058 $as_echo_n "(cached
) " >&6
2060 ac_build_alias=$build_alias
2061 test "x
$ac_build_alias" = x &&
2062 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess
"`
2063 test "x
$ac_build_alias" = x &&
2064 { { $as_echo "$as_me:$LINENO: error
: cannot guess build
type; you must specify one
" >&5
2065 $as_echo "$as_me: error
: cannot guess build
type; you must specify one
" >&2;}
2066 { (exit 1); exit 1; }; }
2067 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub
" $ac_build_alias` ||
2068 { { $as_echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$ac_build_alias failed
" >&5
2069 $as_echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$ac_build_alias failed
" >&2;}
2070 { (exit 1); exit 1; }; }
2073 { $as_echo "$as_me:$LINENO: result
: $ac_cv_build" >&5
2074 $as_echo "$ac_cv_build" >&6; }
2075 case $ac_cv_build in
2077 *) { { $as_echo "$as_me:$LINENO: error
: invalid value of canonical build
" >&5
2078 $as_echo "$as_me: error
: invalid value of canonical build
" >&2;}
2079 { (exit 1); exit 1; }; };;
2082 ac_save_IFS=$IFS; IFS='-'
2088 # Remember, the first character of IFS is used to create $*,
2089 # except with old shells:
2092 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2095 { $as_echo "$as_me:$LINENO: checking
host system
type" >&5
2096 $as_echo_n "checking
host system
type...
" >&6; }
2097 if test "${ac_cv_host+set}" = set; then
2098 $as_echo_n "(cached
) " >&6
2100 if test "x
$host_alias" = x; then
2101 ac_cv_host=$ac_cv_build
2103 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub
" $host_alias` ||
2104 { { $as_echo "$as_me:$LINENO: error
: $SHELL $ac_aux_dir/config.sub
$host_alias failed
" >&5
2105 $as_echo "$as_me: error
: $SHELL $ac_aux_dir/config.sub
$host_alias failed
" >&2;}
2106 { (exit 1); exit 1; }; }
2110 { $as_echo "$as_me:$LINENO: result
: $ac_cv_host" >&5
2111 $as_echo "$ac_cv_host" >&6; }
2114 *) { { $as_echo "$as_me:$LINENO: error
: invalid value of canonical
host" >&5
2115 $as_echo "$as_me: error
: invalid value of canonical
host" >&2;}
2116 { (exit 1); exit 1; }; };;
2119 ac_save_IFS=$IFS; IFS='-'
2125 # Remember, the first character of IFS is used to create $*,
2126 # except with old shells:
2129 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2133 # The AROS target is slightly different to the normal GNU style
2134 # format. We don't have the middle part, and we reverse the order
2135 # of the $(CPU) and $(OS) bits.
2137 # Don't strip the version of the target yet, it might be
2138 # useful on some systems.
2140 { $as_echo "$as_me:$LINENO: checking
for AROS style target
" >&5
2141 $as_echo_n "checking
for AROS style target...
" >&6; }
2143 if test "$target" = "NONE
" ; then
2144 target=$host_os-$host_cpu
2147 if test "$target" = "" ; then
2148 target=$host_os-$host_cpu
2154 { $as_echo "$as_me:$LINENO: result
: $target" >&5
2155 $as_echo "$target" >&6; }
2157 if test "$host_os" = "mingw32
" ; then
2161 #don't know where else to put this...
2162 { $as_echo "$as_me:$LINENO: checking Building AROS
in ..
" >&5
2163 $as_echo_n "checking Building AROS
in .. ...
" >&6; }
2164 AROS_BUILDDIR=`${PWDCMD-pwd}`
2165 AROS_BUILDDIR_UNIX=${PWD}
2166 { $as_echo "$as_me:$LINENO: result
: $AROS_BUILDDIR" >&5
2167 $as_echo "$AROS_BUILDDIR" >&6; }
2169 { $as_echo "$as_me:$LINENO: checking AROS Source
in ..
" >&5
2170 $as_echo_n "checking AROS Source
in .. ...
" >&6; }
2171 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2173 { $as_echo "$as_me:$LINENO: result
: $SRCDIR" >&5
2174 $as_echo "$SRCDIR" >&6; }
2176 # Parse the target field into something useful.
2178 target_os=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\1/'`
2179 target_cpu=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\2/'`
2182 aros_default_wbwidth=800
2183 aros_default_wbheight=600
2184 aros_default_wbdepth=4
2187 # The first step is to find the host binaries.
2188 # Check for a compiler.
2190 ac_cpp='$CPP $CPPFLAGS'
2191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2194 if test -n "$ac_tool_prefix"; then
2195 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
2196 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2197 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2198 $as_echo_n "checking
for $ac_word...
" >&6; }
2199 if test "${ac_cv_prog_CC+set}" = set; then
2200 $as_echo_n "(cached
) " >&6
2202 if test -n "$CC"; then
2203 ac_cv_prog_CC="$CC" # Let the user override the test.
2205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2209 test -z "$as_dir" && as_dir=.
2210 for ac_exec_ext in '' $ac_executable_extensions; do
2211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2212 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
2213 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2223 if test -n "$CC"; then
2224 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2225 $as_echo "$CC" >&6; }
2227 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2228 $as_echo "no
" >&6; }
2233 if test -z "$ac_cv_prog_CC"; then
2235 # Extract the first word of "gcc
", so it can be a program name with args.
2236 set dummy gcc; ac_word=$2
2237 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2238 $as_echo_n "checking
for $ac_word...
" >&6; }
2239 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2240 $as_echo_n "(cached
) " >&6
2242 if test -n "$ac_ct_CC"; then
2243 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2249 test -z "$as_dir" && as_dir=.
2250 for ac_exec_ext in '' $ac_executable_extensions; do
2251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2252 ac_cv_prog_ac_ct_CC="gcc
"
2253 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2262 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2263 if test -n "$ac_ct_CC"; then
2264 { $as_echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
2265 $as_echo "$ac_ct_CC" >&6; }
2267 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2268 $as_echo "no
" >&6; }
2271 if test "x
$ac_ct_CC" = x; then
2274 case $cross_compiling:$ac_tool_warned in
2276 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2277 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2278 ac_tool_warned=yes ;;
2286 if test -z "$CC"; then
2287 if test -n "$ac_tool_prefix"; then
2288 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
2289 set dummy ${ac_tool_prefix}cc; ac_word=$2
2290 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2291 $as_echo_n "checking
for $ac_word...
" >&6; }
2292 if test "${ac_cv_prog_CC+set}" = set; then
2293 $as_echo_n "(cached
) " >&6
2295 if test -n "$CC"; then
2296 ac_cv_prog_CC="$CC" # Let the user override the test.
2298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2302 test -z "$as_dir" && as_dir=.
2303 for ac_exec_ext in '' $ac_executable_extensions; do
2304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2305 ac_cv_prog_CC="${ac_tool_prefix}cc
"
2306 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2316 if test -n "$CC"; then
2317 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2318 $as_echo "$CC" >&6; }
2320 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2321 $as_echo "no
" >&6; }
2327 if test -z "$CC"; then
2328 # Extract the first word of "cc
", so it can be a program name with args.
2329 set dummy cc; ac_word=$2
2330 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2331 $as_echo_n "checking
for $ac_word...
" >&6; }
2332 if test "${ac_cv_prog_CC+set}" = set; then
2333 $as_echo_n "(cached
) " >&6
2335 if test -n "$CC"; then
2336 ac_cv_prog_CC="$CC" # Let the user override the test.
2339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2343 test -z "$as_dir" && as_dir=.
2344 for ac_exec_ext in '' $ac_executable_extensions; do
2345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2346 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
2347 ac_prog_rejected=yes
2351 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2358 if test $ac_prog_rejected = yes; then
2359 # We found a bogon in the path, so make sure we never use it.
2360 set dummy $ac_cv_prog_CC
2362 if test $# != 0; then
2363 # We chose a different compiler from the bogus one.
2364 # However, it has the same basename, so the bogon will be chosen
2365 # first if we set CC to just the basename; use the full file name.
2367 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
2373 if test -n "$CC"; then
2374 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2375 $as_echo "$CC" >&6; }
2377 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2378 $as_echo "no
" >&6; }
2383 if test -z "$CC"; then
2384 if test -n "$ac_tool_prefix"; then
2385 for ac_prog in cl.exe
2387 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2388 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2389 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2390 $as_echo_n "checking
for $ac_word...
" >&6; }
2391 if test "${ac_cv_prog_CC+set}" = set; then
2392 $as_echo_n "(cached
) " >&6
2394 if test -n "$CC"; then
2395 ac_cv_prog_CC="$CC" # Let the user override the test.
2397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2401 test -z "$as_dir" && as_dir=.
2402 for ac_exec_ext in '' $ac_executable_extensions; do
2403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2404 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2405 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2415 if test -n "$CC"; then
2416 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2417 $as_echo "$CC" >&6; }
2419 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2420 $as_echo "no
" >&6; }
2424 test -n "$CC" && break
2427 if test -z "$CC"; then
2429 for ac_prog in cl.exe
2431 # Extract the first word of "$ac_prog", so it can be a program name with args.
2432 set dummy $ac_prog; ac_word=$2
2433 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2434 $as_echo_n "checking
for $ac_word...
" >&6; }
2435 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2436 $as_echo_n "(cached
) " >&6
2438 if test -n "$ac_ct_CC"; then
2439 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2445 test -z "$as_dir" && as_dir=.
2446 for ac_exec_ext in '' $ac_executable_extensions; do
2447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2448 ac_cv_prog_ac_ct_CC="$ac_prog"
2449 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2458 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2459 if test -n "$ac_ct_CC"; then
2460 { $as_echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
2461 $as_echo "$ac_ct_CC" >&6; }
2463 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2464 $as_echo "no
" >&6; }
2468 test -n "$ac_ct_CC" && break
2471 if test "x
$ac_ct_CC" = x; then
2474 case $cross_compiling:$ac_tool_warned in
2476 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2477 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2478 ac_tool_warned=yes ;;
2487 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2488 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2489 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2490 See \`config.log' for more details.
" >&5
2491 $as_echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
2492 See \
`config.log' for more details." >&2;}
2493 { (exit 1); exit 1; }; }; }
2495 # Provide some information about the compiler.
2496 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2499 { (ac_try="$ac_compiler --version >&5"
2501 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2502 *) ac_try_echo
=$ac_try;;
2504 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2505 $as_echo "$ac_try_echo") >&5
2506 (eval "$ac_compiler --version >&5") 2>&5
2508 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2509 (exit $ac_status); }
2510 { (ac_try
="$ac_compiler -v >&5"
2512 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2513 *) ac_try_echo=$ac_try;;
2515 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2516 $as_echo "$ac_try_echo") >&5
2517 (eval "$ac_compiler -v >&5") 2>&5
2519 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2520 (exit $ac_status); }
2521 { (ac_try="$ac_compiler -V >&5"
2523 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2524 *) ac_try_echo
=$ac_try;;
2526 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2527 $as_echo "$ac_try_echo") >&5
2528 (eval "$ac_compiler -V >&5") 2>&5
2530 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2531 (exit $ac_status); }
2533 cat >conftest.
$ac_ext <<_ACEOF
2536 cat confdefs.h
>>conftest.
$ac_ext
2537 cat >>conftest.
$ac_ext <<_ACEOF
2538 /* end confdefs.h. */
2548 ac_clean_files_save
=$ac_clean_files
2549 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2550 # Try to create an executable without -o first, disregard a.out.
2551 # It will help us diagnose broken compilers, and finding out an intuition
2553 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2554 $as_echo_n "checking for C compiler default output file name... " >&6; }
2555 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2557 # The possible output files:
2558 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2561 for ac_file
in $ac_files
2564 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2565 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2570 if { (ac_try
="$ac_link_default"
2572 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2573 *) ac_try_echo=$ac_try;;
2575 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2576 $as_echo "$ac_try_echo") >&5
2577 (eval "$ac_link_default") 2>&5
2579 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2580 (exit $ac_status); }; then
2581 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2582 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2583 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2584 # so that the user can short-circuit this test for compilers unknown to
2586 for ac_file in $ac_files ''
2588 test -f "$ac_file" || continue
2590 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2593 # We found the default executable, but exeext='' is most
2597 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2599 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2601 # We set ac_cv_exeext here because the later test for it is not
2602 # safe: cross compilers may not add the suffix if given an `-o'
2603 # argument, so we may need to know it at that point already.
2604 # Even if this section looks crufty: it has the advantage of
2611 test "$ac_cv_exeext" = no && ac_cv_exeext=
2617 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2618 $as_echo "$ac_file" >&6; }
2619 if test -z "$ac_file"; then
2620 $as_echo "$as_me: failed program was:" >&5
2621 sed 's
/^
/|
/' conftest.$ac_ext >&5
2623 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2624 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2625 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2626 See \`config.log
' for more details." >&5
2627 $as_echo "$as_me: error: C compiler cannot create executables
2628 See \`config.log' for more details.
" >&2;}
2629 { (exit 77); exit 77; }; }; }
2632 ac_exeext=$ac_cv_exeext
2634 # Check that the compiler produces executables we can run. If not, either
2635 # the compiler is broken, or we cross compile.
2636 { $as_echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
2637 $as_echo_n "checking whether the C compiler works...
" >&6; }
2638 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2639 # If not cross compiling, check that we can run a simple program.
2640 if test "$cross_compiling" != yes; then
2641 if { ac_try='./$ac_file'
2642 { (case "(($ac_try" in
2643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2644 *) ac_try_echo=$ac_try;;
2646 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2647 $as_echo "$ac_try_echo") >&5
2648 (eval "$ac_try") 2>&5
2650 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2651 (exit $ac_status); }; }; then
2654 if test "$cross_compiling" = maybe; then
2657 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2658 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2659 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2660 If you meant to cross compile, use \`--host'.
2661 See \
`config.log' for more details." >&5
2662 $as_echo "$as_me: error: cannot run C compiled programs.
2663 If you meant to cross compile, use \`--host'.
2664 See \`config.log' for more details.
" >&2;}
2665 { (exit 1); exit 1; }; }; }
2669 { $as_echo "$as_me:$LINENO: result
: yes" >&5
2670 $as_echo "yes" >&6; }
2672 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2673 ac_clean_files=$ac_clean_files_save
2674 # Check that the compiler produces executables we can run. If not, either
2675 # the compiler is broken, or we cross compile.
2676 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2677 $as_echo_n "checking whether we are cross compiling...
" >&6; }
2678 { $as_echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2679 $as_echo "$cross_compiling" >&6; }
2681 { $as_echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2682 $as_echo_n "checking
for suffix of executables...
" >&6; }
2683 if { (ac_try="$ac_link"
2685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2686 *) ac_try_echo=$ac_try;;
2688 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2689 $as_echo "$ac_try_echo") >&5
2690 (eval "$ac_link") 2>&5
2692 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2693 (exit $ac_status); }; then
2694 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2695 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2696 # work properly (i.e., refer to `conftest.exe'), while it won't with
2698 for ac_file in conftest.exe conftest conftest.*; do
2699 test -f "$ac_file" || continue
2701 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2702 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2708 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2709 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2710 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2711 See \`config.log' for more details.
" >&5
2712 $as_echo "$as_me: error
: cannot compute suffix of executables
: cannot compile and link
2713 See \
`config.log' for more details." >&2;}
2714 { (exit 1); exit 1; }; }; }
2717 rm -f conftest$ac_cv_exeext
2718 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2719 $as_echo "$ac_cv_exeext" >&6; }
2721 rm -f conftest.$ac_ext
2722 EXEEXT=$ac_cv_exeext
2724 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2725 $as_echo_n "checking for suffix of object files... " >&6; }
2726 if test "${ac_cv_objext+set}" = set; then
2727 $as_echo_n "(cached) " >&6
2729 cat >conftest.$ac_ext <<_ACEOF
2732 cat confdefs.h >>conftest.$ac_ext
2733 cat >>conftest.$ac_ext <<_ACEOF
2734 /* end confdefs.h. */
2744 rm -f conftest.o conftest.obj
2745 if { (ac_try="$ac_compile"
2747 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2748 *) ac_try_echo
=$ac_try;;
2750 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2751 $as_echo "$ac_try_echo") >&5
2752 (eval "$ac_compile") 2>&5
2754 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2755 (exit $ac_status); }; then
2756 for ac_file
in conftest.o conftest.obj conftest.
*; do
2757 test -f "$ac_file" ||
continue;
2759 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM
) ;;
2760 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2765 $as_echo "$as_me: failed program was:" >&5
2766 sed 's/^/| /' conftest.
$ac_ext >&5
2768 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2769 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2770 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2771 See \`config.log' for more details." >&5
2772 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2773 See \`config.log' for more details." >&2;}
2774 { (exit 1); exit 1; }; }; }
2777 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2779 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2780 $as_echo "$ac_cv_objext" >&6; }
2781 OBJEXT
=$ac_cv_objext
2783 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2784 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2785 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2786 $as_echo_n "(cached) " >&6
2788 cat >conftest.
$ac_ext <<_ACEOF
2791 cat confdefs.h
>>conftest.
$ac_ext
2792 cat >>conftest.
$ac_ext <<_ACEOF
2793 /* end confdefs.h. */
2806 rm -f conftest.
$ac_objext
2807 if { (ac_try
="$ac_compile"
2809 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2810 *) ac_try_echo=$ac_try;;
2812 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2813 $as_echo "$ac_try_echo") >&5
2814 (eval "$ac_compile") 2>conftest.er1
2816 grep -v '^ *+' conftest.er1 >conftest.err
2818 cat conftest.err >&5
2819 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2820 (exit $ac_status); } && {
2821 test -z "$ac_c_werror_flag" ||
2822 test ! -s conftest.err
2823 } && test -s conftest.$ac_objext; then
2826 $as_echo "$as_me: failed program was:" >&5
2827 sed 's/^/| /' conftest.$ac_ext >&5
2832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2833 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2836 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2837 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2838 if test $ac_compiler_gnu = yes; then
2843 ac_test_CFLAGS=${CFLAGS+set}
2844 ac_save_CFLAGS=$CFLAGS
2845 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2846 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2847 if test "${ac_cv_prog_cc_g+set}" = set; then
2848 $as_echo_n "(cached) " >&6
2850 ac_save_c_werror_flag=$ac_c_werror_flag
2851 ac_c_werror_flag=yes
2854 cat >conftest.$ac_ext <<_ACEOF
2857 cat confdefs.h >>conftest.$ac_ext
2858 cat >>conftest.$ac_ext <<_ACEOF
2859 /* end confdefs.h. */
2869 rm -f conftest.$ac_objext
2870 if { (ac_try="$ac_compile"
2872 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2873 *) ac_try_echo
=$ac_try;;
2875 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2876 $as_echo "$ac_try_echo") >&5
2877 (eval "$ac_compile") 2>conftest.er1
2879 grep -v '^ *+' conftest.er1
>conftest.err
2881 cat conftest.err
>&5
2882 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2883 (exit $ac_status); } && {
2884 test -z "$ac_c_werror_flag" ||
2885 test ! -s conftest.err
2886 } && test -s conftest.
$ac_objext; then
2889 $as_echo "$as_me: failed program was:" >&5
2890 sed 's/^/| /' conftest.
$ac_ext >&5
2893 cat >conftest.
$ac_ext <<_ACEOF
2896 cat confdefs.h
>>conftest.
$ac_ext
2897 cat >>conftest.
$ac_ext <<_ACEOF
2898 /* end confdefs.h. */
2908 rm -f conftest.
$ac_objext
2909 if { (ac_try
="$ac_compile"
2911 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2912 *) ac_try_echo=$ac_try;;
2914 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2915 $as_echo "$ac_try_echo") >&5
2916 (eval "$ac_compile") 2>conftest.er1
2918 grep -v '^ *+' conftest.er1 >conftest.err
2920 cat conftest.err >&5
2921 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2922 (exit $ac_status); } && {
2923 test -z "$ac_c_werror_flag" ||
2924 test ! -s conftest.err
2925 } && test -s conftest.$ac_objext; then
2928 $as_echo "$as_me: failed program was:" >&5
2929 sed 's/^/| /' conftest.$ac_ext >&5
2931 ac_c_werror_flag=$ac_save_c_werror_flag
2933 cat >conftest.$ac_ext <<_ACEOF
2936 cat confdefs.h >>conftest.$ac_ext
2937 cat >>conftest.$ac_ext <<_ACEOF
2938 /* end confdefs.h. */
2948 rm -f conftest.$ac_objext
2949 if { (ac_try="$ac_compile"
2951 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2952 *) ac_try_echo
=$ac_try;;
2954 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2955 $as_echo "$ac_try_echo") >&5
2956 (eval "$ac_compile") 2>conftest.er1
2958 grep -v '^ *+' conftest.er1
>conftest.err
2960 cat conftest.err
>&5
2961 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2962 (exit $ac_status); } && {
2963 test -z "$ac_c_werror_flag" ||
2964 test ! -s conftest.err
2965 } && test -s conftest.
$ac_objext; then
2968 $as_echo "$as_me: failed program was:" >&5
2969 sed 's/^/| /' conftest.
$ac_ext >&5
2974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2977 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2980 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2981 ac_c_werror_flag
=$ac_save_c_werror_flag
2983 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2984 $as_echo "$ac_cv_prog_cc_g" >&6; }
2985 if test "$ac_test_CFLAGS" = set; then
2986 CFLAGS
=$ac_save_CFLAGS
2987 elif test $ac_cv_prog_cc_g = yes; then
2988 if test "$GCC" = yes; then
2994 if test "$GCC" = yes; then
3000 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3001 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3002 if test "${ac_cv_prog_cc_c89+set}" = set; then
3003 $as_echo_n "(cached) " >&6
3005 ac_cv_prog_cc_c89
=no
3007 cat >conftest.
$ac_ext <<_ACEOF
3010 cat confdefs.h
>>conftest.
$ac_ext
3011 cat >>conftest.
$ac_ext <<_ACEOF
3012 /* end confdefs.h. */
3015 #include <sys/types.h>
3016 #include <sys/stat.h>
3017 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3018 struct buf { int x; };
3019 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3020 static char *e (p, i)
3026 static char *f (char * (*g) (char **, int), char **p, ...)
3031 s = g (p, va_arg (v,int));
3036 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3037 function prototypes and stuff, but not '\xHH' hex character constants.
3038 These don't provoke an error unfortunately, instead are silently treated
3039 as 'x'. The following induces an error, until -std is added to get
3040 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3041 array size at least. It's necessary to write '\x00'==0 to get something
3042 that's true only with -std. */
3043 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3045 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3046 inside strings and character constants. */
3048 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3050 int test (int i, double x);
3051 struct s1 {int (*f) (int a);};
3052 struct s2 {int (*f) (double a);};
3053 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3059 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3064 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3065 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3067 CC
="$ac_save_CC $ac_arg"
3068 rm -f conftest.
$ac_objext
3069 if { (ac_try
="$ac_compile"
3071 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3072 *) ac_try_echo=$ac_try;;
3074 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3075 $as_echo "$ac_try_echo") >&5
3076 (eval "$ac_compile") 2>conftest.er1
3078 grep -v '^ *+' conftest.er1 >conftest.err
3080 cat conftest.err >&5
3081 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3082 (exit $ac_status); } && {
3083 test -z "$ac_c_werror_flag" ||
3084 test ! -s conftest.err
3085 } && test -s conftest.$ac_objext; then
3086 ac_cv_prog_cc_c89=$ac_arg
3088 $as_echo "$as_me: failed program was:" >&5
3089 sed 's/^/| /' conftest.$ac_ext >&5
3094 rm -f core conftest.err conftest.$ac_objext
3095 test "x$ac_cv_prog_cc_c89" != "xno" && break
3097 rm -f conftest.$ac_ext
3102 case "x$ac_cv_prog_cc_c89" in
3104 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3105 $as_echo "none needed" >&6; } ;;
3107 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3108 $as_echo "unsupported" >&6; } ;;
3110 CC="$CC $ac_cv_prog_cc_c89"
3111 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3112 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3117 ac_cpp='$CPP $CPPFLAGS'
3118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3122 case $ac_cv_prog_cc_stdc in
3123 no) ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;;
3124 *) { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
3125 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3126 if test "${ac_cv_prog_cc_c99+set}" = set; then
3127 $as_echo_n "(cached) " >&6
3129 ac_cv_prog_cc_c99=no
3131 cat >conftest.$ac_ext <<_ACEOF
3134 cat confdefs.h >>conftest.$ac_ext
3135 cat >>conftest.$ac_ext <<_ACEOF
3136 /* end confdefs.h. */
3138 #include <stdbool.h>
3143 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3144 #define debug(...) fprintf (stderr, __VA_ARGS__)
3145 #define showlist(...) puts (#__VA_ARGS__)
3146 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3148 test_varargs_macros (void)
3153 debug ("X = %d\n", x);
3154 showlist (The first, second, and third items.);
3155 report (x>y, "x is %d but y is %d", x, y);
3158 // Check long long types.
3159 #define BIG64 18446744073709551615ull
3160 #define BIG32 4294967295ul
3161 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3163 your preprocessor is broken;
3167 your preprocessor is broken;
3169 static long long int bignum = -9223372036854775807LL;
3170 static unsigned long long int ubignum = BIG64;
3172 struct incomplete_array
3180 const wchar_t *name;
3184 typedef const char *ccp;
3187 test_restrict (ccp restrict text)
3189 // See if C++-style comments work.
3190 // Iterate through items via the restricted pointer.
3191 // Also check for declarations in for loops.
3192 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3197 // Check varargs and va_copy.
3199 test_varargs (const char *format, ...)
3202 va_start (args, format);
3204 va_copy (args_copy, args);
3215 str = va_arg (args_copy, const char *);
3218 number = va_arg (args_copy, int);
3221 fnumber = va_arg (args_copy, double);
3236 _Bool success = false;
3239 if (test_restrict ("String literal") == 0)
3241 char *restrict newvar = "Another string";
3244 test_varargs ("s, d' f .", "string", 65, 34.234);
3245 test_varargs_macros ();
3247 // Check flexible array members.
3248 struct incomplete_array *ia =
3249 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3251 for (int i = 0; i < ia->datasize; ++i)
3252 ia->data[i] = i * 1.234;
3254 // Check named initializers.
3255 struct named_init ni = {
3257 .name = L"Test wide string",
3258 .average = 543.34343,
3263 int dynamic_array[ni.number];
3264 dynamic_array[ni.number - 1] = 543;
3266 // work around unused variable warnings
3267 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3268 || dynamic_array[ni.number - 1] != 543);
3274 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3276 CC="$ac_save_CC $ac_arg"
3277 rm -f conftest.$ac_objext
3278 if { (ac_try="$ac_compile"
3280 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3281 *) ac_try_echo
=$ac_try;;
3283 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3284 $as_echo "$ac_try_echo") >&5
3285 (eval "$ac_compile") 2>conftest.er1
3287 grep -v '^ *+' conftest.er1
>conftest.err
3289 cat conftest.err
>&5
3290 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3291 (exit $ac_status); } && {
3292 test -z "$ac_c_werror_flag" ||
3293 test ! -s conftest.err
3294 } && test -s conftest.
$ac_objext; then
3295 ac_cv_prog_cc_c99
=$ac_arg
3297 $as_echo "$as_me: failed program was:" >&5
3298 sed 's/^/| /' conftest.
$ac_ext >&5
3303 rm -f core conftest.err conftest.
$ac_objext
3304 test "x$ac_cv_prog_cc_c99" != "xno" && break
3306 rm -f conftest.
$ac_ext
3311 case "x$ac_cv_prog_cc_c99" in
3313 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3314 $as_echo "none needed" >&6; } ;;
3316 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3317 $as_echo "unsupported" >&6; } ;;
3319 CC
="$CC $ac_cv_prog_cc_c99"
3320 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
3321 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3323 if test "x$ac_cv_prog_cc_c99" != xno
; then
3324 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c99
3326 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3327 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3328 if test "${ac_cv_prog_cc_c89+set}" = set; then
3329 $as_echo_n "(cached) " >&6
3331 ac_cv_prog_cc_c89
=no
3333 cat >conftest.
$ac_ext <<_ACEOF
3336 cat confdefs.h
>>conftest.
$ac_ext
3337 cat >>conftest.
$ac_ext <<_ACEOF
3338 /* end confdefs.h. */
3341 #include <sys/types.h>
3342 #include <sys/stat.h>
3343 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3344 struct buf { int x; };
3345 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3346 static char *e (p, i)
3352 static char *f (char * (*g) (char **, int), char **p, ...)
3357 s = g (p, va_arg (v,int));
3362 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3363 function prototypes and stuff, but not '\xHH' hex character constants.
3364 These don't provoke an error unfortunately, instead are silently treated
3365 as 'x'. The following induces an error, until -std is added to get
3366 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3367 array size at least. It's necessary to write '\x00'==0 to get something
3368 that's true only with -std. */
3369 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3371 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3372 inside strings and character constants. */
3374 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3376 int test (int i, double x);
3377 struct s1 {int (*f) (int a);};
3378 struct s2 {int (*f) (double a);};
3379 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3385 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3390 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
3391 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3393 CC
="$ac_save_CC $ac_arg"
3394 rm -f conftest.
$ac_objext
3395 if { (ac_try
="$ac_compile"
3397 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3398 *) ac_try_echo=$ac_try;;
3400 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3401 $as_echo "$ac_try_echo") >&5
3402 (eval "$ac_compile") 2>conftest.er1
3404 grep -v '^ *+' conftest.er1 >conftest.err
3406 cat conftest.err >&5
3407 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3408 (exit $ac_status); } && {
3409 test -z "$ac_c_werror_flag" ||
3410 test ! -s conftest.err
3411 } && test -s conftest.$ac_objext; then
3412 ac_cv_prog_cc_c89=$ac_arg
3414 $as_echo "$as_me: failed program was:" >&5
3415 sed 's/^/| /' conftest.$ac_ext >&5
3420 rm -f core conftest.err conftest.$ac_objext
3421 test "x$ac_cv_prog_cc_c89" != "xno" && break
3423 rm -f conftest.$ac_ext
3428 case "x$ac_cv_prog_cc_c89" in
3430 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3431 $as_echo "none needed" >&6; } ;;
3433 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3434 $as_echo "unsupported" >&6; } ;;
3436 CC="$CC $ac_cv_prog_cc_c89"
3437 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3438 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3440 if test "x$ac_cv_prog_cc_c89" != xno; then
3441 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3443 ac_cv_prog_cc_stdc=no
3451 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5
3452 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
3453 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3454 $as_echo_n "(cached) " >&6
3457 case $ac_cv_prog_cc_stdc in
3458 no) { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3459 $as_echo "unsupported" >&6; } ;;
3460 '') { $as_echo "$as_me:$LINENO: result: none needed" >&5
3461 $as_echo "none needed" >&6; } ;;
3462 *) { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3463 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
3468 ac_cpp='$CPP $CPPFLAGS'
3469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3472 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3473 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3474 # On Suns, sometimes $CPP names a directory.
3475 if test -n "$CPP" && test -d "$CPP"; then
3478 if test -z "$CPP"; then
3479 if test "${ac_cv_prog_CPP+set}" = set; then
3480 $as_echo_n "(cached) " >&6
3482 # Double quotes because CPP needs to be expanded
3483 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3486 for ac_c_preproc_warn_flag in '' yes
3488 # Use a header file that comes with gcc, so configuring glibc
3489 # with a fresh cross-compiler works.
3490 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3491 # <limits.h> exists even on freestanding compilers.
3492 # On the NeXT, cc -E runs the code through the compiler's parser,
3493 # not just through cpp. "Syntax error" is here to catch this case.
3494 cat >conftest.$ac_ext <<_ACEOF
3497 cat confdefs.h >>conftest.$ac_ext
3498 cat >>conftest.$ac_ext <<_ACEOF
3499 /* end confdefs.h. */
3501 # include <limits.h>
3503 # include <assert.h>
3507 if { (ac_try="$ac_cpp conftest.$ac_ext"
3509 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3510 *) ac_try_echo
=$ac_try;;
3512 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3513 $as_echo "$ac_try_echo") >&5
3514 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3516 grep -v '^ *+' conftest.er1
>conftest.err
3518 cat conftest.err
>&5
3519 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3520 (exit $ac_status); } >/dev
/null
&& {
3521 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3522 test ! -s conftest.err
3526 $as_echo "$as_me: failed program was:" >&5
3527 sed 's/^/| /' conftest.
$ac_ext >&5
3529 # Broken: fails on valid input.
3533 rm -f conftest.err conftest.
$ac_ext
3535 # OK, works on sane cases. Now check whether nonexistent headers
3536 # can be detected and how.
3537 cat >conftest.
$ac_ext <<_ACEOF
3540 cat confdefs.h
>>conftest.
$ac_ext
3541 cat >>conftest.
$ac_ext <<_ACEOF
3542 /* end confdefs.h. */
3543 #include <ac_nonexistent.h>
3545 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3547 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3548 *) ac_try_echo=$ac_try;;
3550 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3551 $as_echo "$ac_try_echo") >&5
3552 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3554 grep -v '^ *+' conftest.er1 >conftest.err
3556 cat conftest.err >&5
3557 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3558 (exit $ac_status); } >/dev/null && {
3559 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3560 test ! -s conftest.err
3562 # Broken: success on invalid input.
3565 $as_echo "$as_me: failed program was:" >&5
3566 sed 's/^/| /' conftest.$ac_ext >&5
3568 # Passes both tests.
3573 rm -f conftest.err conftest.$ac_ext
3576 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3577 rm -f conftest.err conftest.
$ac_ext
3578 if $ac_preproc_ok; then
3590 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3591 $as_echo "$CPP" >&6; }
3593 for ac_c_preproc_warn_flag
in '' yes
3595 # Use a header file that comes with gcc, so configuring glibc
3596 # with a fresh cross-compiler works.
3597 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3598 # <limits.h> exists even on freestanding compilers.
3599 # On the NeXT, cc -E runs the code through the compiler's parser,
3600 # not just through cpp. "Syntax error" is here to catch this case.
3601 cat >conftest.
$ac_ext <<_ACEOF
3604 cat confdefs.h
>>conftest.
$ac_ext
3605 cat >>conftest.
$ac_ext <<_ACEOF
3606 /* end confdefs.h. */
3608 # include <limits.h>
3610 # include <assert.h>
3614 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3616 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3617 *) ac_try_echo=$ac_try;;
3619 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3620 $as_echo "$ac_try_echo") >&5
3621 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3623 grep -v '^ *+' conftest.er1 >conftest.err
3625 cat conftest.err >&5
3626 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3627 (exit $ac_status); } >/dev/null && {
3628 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3629 test ! -s conftest.err
3633 $as_echo "$as_me: failed program was:" >&5
3634 sed 's/^/| /' conftest.$ac_ext >&5
3636 # Broken: fails on valid input.
3640 rm -f conftest.err conftest.$ac_ext
3642 # OK, works on sane cases. Now check whether nonexistent headers
3643 # can be detected and how.
3644 cat >conftest.$ac_ext <<_ACEOF
3647 cat confdefs.h >>conftest.$ac_ext
3648 cat >>conftest.$ac_ext <<_ACEOF
3649 /* end confdefs.h. */
3650 #include <ac_nonexistent.h>
3652 if { (ac_try="$ac_cpp conftest.$ac_ext"
3654 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3655 *) ac_try_echo
=$ac_try;;
3657 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3658 $as_echo "$ac_try_echo") >&5
3659 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3661 grep -v '^ *+' conftest.er1
>conftest.err
3663 cat conftest.err
>&5
3664 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3665 (exit $ac_status); } >/dev
/null
&& {
3666 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3667 test ! -s conftest.err
3669 # Broken: success on invalid input.
3672 $as_echo "$as_me: failed program was:" >&5
3673 sed 's/^/| /' conftest.
$ac_ext >&5
3675 # Passes both tests.
3680 rm -f conftest.err conftest.
$ac_ext
3683 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3684 rm -f conftest.err conftest.
$ac_ext
3685 if $ac_preproc_ok; then
3688 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3689 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3690 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3691 See \`config.log' for more details." >&5
3692 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3693 See \`config.log' for more details." >&2;}
3694 { (exit 1); exit 1; }; }; }
3698 ac_cpp
='$CPP $CPPFLAGS'
3699 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3700 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3701 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3704 # Check for a compatible awk
3705 for ac_prog
in gawk nawk
3707 # Extract the first word of "$ac_prog", so it can be a program name with args.
3708 set dummy
$ac_prog; ac_word
=$2
3709 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3710 $as_echo_n "checking for $ac_word... " >&6; }
3711 if test "${ac_cv_prog_AWK+set}" = set; then
3712 $as_echo_n "(cached) " >&6
3714 if test -n "$AWK"; then
3715 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3721 test -z "$as_dir" && as_dir
=.
3722 for ac_exec_ext
in '' $ac_executable_extensions; do
3723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3724 ac_cv_prog_AWK
="$ac_prog"
3725 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3735 if test -n "$AWK"; then
3736 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
3737 $as_echo "$AWK" >&6; }
3739 { $as_echo "$as_me:$LINENO: result: no" >&5
3740 $as_echo "no" >&6; }
3744 test -n "$AWK" && break
3747 if test "$AWK" = ""; then
3748 { { $as_echo "$as_me:$LINENO: error: gawk is required to build AROS. Please install and run configure again." >&5
3749 $as_echo "$as_me: error: gawk is required to build AROS. Please install and run configure again." >&2;}
3750 { (exit 1); exit 1; }; }
3752 # Extract the first word of "mmake", so it can be a program name with args.
3753 set dummy mmake
; ac_word
=$2
3754 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3755 $as_echo_n "checking for $ac_word... " >&6; }
3756 if test "${ac_cv_prog_MMAKE+set}" = set; then
3757 $as_echo_n "(cached) " >&6
3759 if test -n "$MMAKE"; then
3760 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
3762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3766 test -z "$as_dir" && as_dir
=.
3767 for ac_exec_ext
in '' $ac_executable_extensions; do
3768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3769 ac_cv_prog_MMAKE
="mmake "
3770 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3779 MMAKE
=$ac_cv_prog_MMAKE
3780 if test -n "$MMAKE"; then
3781 { $as_echo "$as_me:$LINENO: result: $MMAKE" >&5
3782 $as_echo "$MMAKE" >&6; }
3784 { $as_echo "$as_me:$LINENO: result: no" >&5
3785 $as_echo "no" >&6; }
3790 # Perform some default variable assignments. Note all of these will be
3791 # Regenerated from the script, so there is no need to cache them.
3794 if test "$GCC" = "yes"; then
3795 aros_gcc_ld
=`$CC -print-prog-name=ld`
3796 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
3797 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
3798 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3799 $as_echo_n "checking for $ac_word... " >&6; }
3800 if test "${ac_cv_path_aros_host_ld+set}" = set; then
3801 $as_echo_n "(cached) " >&6
3803 case $aros_host_ld in
3805 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3809 for as_dir
in `dirname $aros_gcc_ld`
3812 test -z "$as_dir" && as_dir
=.
3813 for ac_exec_ext
in '' $ac_executable_extensions; do
3814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3815 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3816 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3826 aros_host_ld
=$ac_cv_path_aros_host_ld
3827 if test -n "$aros_host_ld"; then
3828 { $as_echo "$as_me:$LINENO: result: $aros_host_ld" >&5
3829 $as_echo "$aros_host_ld" >&6; }
3831 { $as_echo "$as_me:$LINENO: result: no" >&5
3832 $as_echo "no" >&6; }
3837 if test "$aros_host_ld" = ""; then
3838 # Extract the first word of "ld", so it can be a program name with args.
3839 set dummy ld
; ac_word
=$2
3840 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3841 $as_echo_n "checking for $ac_word... " >&6; }
3842 if test "${ac_cv_path_aros_host_ld+set}" = set; then
3843 $as_echo_n "(cached) " >&6
3845 case $aros_host_ld in
3847 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3854 test -z "$as_dir" && as_dir
=.
3855 for ac_exec_ext
in '' $ac_executable_extensions; do
3856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3857 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3858 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3868 aros_host_ld
=$ac_cv_path_aros_host_ld
3869 if test -n "$aros_host_ld"; then
3870 { $as_echo "$as_me:$LINENO: result: $aros_host_ld" >&5
3871 $as_echo "$aros_host_ld" >&6; }
3873 { $as_echo "$as_me:$LINENO: result: no" >&5
3874 $as_echo "no" >&6; }
3879 if test "$aros_host_ld" = ""; then
3880 { { $as_echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
3881 $as_echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
3882 { (exit 1); exit 1; }; }
3884 aros_host_make
="make"
3885 aros_host_cflags
=$CFLAGS
3886 aros_host_ldflags
=$LDFLAGS
3887 aros_host_debug
="-g -O0"
3888 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
3889 aros_host_mkargs
="--no-print-directory"
3890 aros_host_incl
="/usr/include"
3891 aros_host_exe_suffix
="$EXEEXT"
3892 aros_host_lib_suffix
=""
3894 for ac_prog
in aclocal aclocal19 aclocal-1.9
3896 # Extract the first word of "$ac_prog", so it can be a program name with args.
3897 set dummy
$ac_prog; ac_word
=$2
3898 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3899 $as_echo_n "checking for $ac_word... " >&6; }
3900 if test "${ac_cv_prog_aros_host_aclocal+set}" = set; then
3901 $as_echo_n "(cached) " >&6
3903 if test -n "$aros_host_aclocal"; then
3904 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
3906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3910 test -z "$as_dir" && as_dir
=.
3911 for ac_exec_ext
in '' $ac_executable_extensions; do
3912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3913 ac_cv_prog_aros_host_aclocal
="$ac_prog"
3914 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3923 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
3924 if test -n "$aros_host_aclocal"; then
3925 { $as_echo "$as_me:$LINENO: result: $aros_host_aclocal" >&5
3926 $as_echo "$aros_host_aclocal" >&6; }
3928 { $as_echo "$as_me:$LINENO: result: no" >&5
3929 $as_echo "no" >&6; }
3933 test -n "$aros_host_aclocal" && break
3936 for ac_prog
in autoconf autoconf259 autoconf253
3938 # Extract the first word of "$ac_prog", so it can be a program name with args.
3939 set dummy
$ac_prog; ac_word
=$2
3940 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3941 $as_echo_n "checking for $ac_word... " >&6; }
3942 if test "${ac_cv_prog_aros_host_autoconf+set}" = set; then
3943 $as_echo_n "(cached) " >&6
3945 if test -n "$aros_host_autoconf"; then
3946 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
3948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3952 test -z "$as_dir" && as_dir
=.
3953 for ac_exec_ext
in '' $ac_executable_extensions; do
3954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3955 ac_cv_prog_aros_host_autoconf
="$ac_prog"
3956 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3965 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
3966 if test -n "$aros_host_autoconf"; then
3967 { $as_echo "$as_me:$LINENO: result: $aros_host_autoconf" >&5
3968 $as_echo "$aros_host_autoconf" >&6; }
3970 { $as_echo "$as_me:$LINENO: result: no" >&5
3971 $as_echo "no" >&6; }
3975 test -n "$aros_host_autoconf" && break
3978 for ac_prog
in autoheader autoheader259 autoheader253
3980 # Extract the first word of "$ac_prog", so it can be a program name with args.
3981 set dummy
$ac_prog; ac_word
=$2
3982 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3983 $as_echo_n "checking for $ac_word... " >&6; }
3984 if test "${ac_cv_prog_aros_host_autoheader+set}" = set; then
3985 $as_echo_n "(cached) " >&6
3987 if test -n "$aros_host_autoheader"; then
3988 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
3990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3994 test -z "$as_dir" && as_dir
=.
3995 for ac_exec_ext
in '' $ac_executable_extensions; do
3996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3997 ac_cv_prog_aros_host_autoheader
="$ac_prog"
3998 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4007 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4008 if test -n "$aros_host_autoheader"; then
4009 { $as_echo "$as_me:$LINENO: result: $aros_host_autoheader" >&5
4010 $as_echo "$aros_host_autoheader" >&6; }
4012 { $as_echo "$as_me:$LINENO: result: no" >&5
4013 $as_echo "no" >&6; }
4017 test -n "$aros_host_autoheader" && break
4020 for ac_prog
in automake automake19 automake-1.9
4022 # Extract the first word of "$ac_prog", so it can be a program name with args.
4023 set dummy
$ac_prog; ac_word
=$2
4024 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4025 $as_echo_n "checking for $ac_word... " >&6; }
4026 if test "${ac_cv_prog_aros_host_automake+set}" = set; then
4027 $as_echo_n "(cached) " >&6
4029 if test -n "$aros_host_automake"; then
4030 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4036 test -z "$as_dir" && as_dir
=.
4037 for ac_exec_ext
in '' $ac_executable_extensions; do
4038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4039 ac_cv_prog_aros_host_automake
="$ac_prog"
4040 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4049 aros_host_automake
=$ac_cv_prog_aros_host_automake
4050 if test -n "$aros_host_automake"; then
4051 { $as_echo "$as_me:$LINENO: result: $aros_host_automake" >&5
4052 $as_echo "$aros_host_automake" >&6; }
4054 { $as_echo "$as_me:$LINENO: result: no" >&5
4055 $as_echo "no" >&6; }
4059 test -n "$aros_host_automake" && break
4063 if test "$aros_host_aclocal" = ""; then
4064 { { $as_echo "$as_me:$LINENO: error: aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." >&5
4065 $as_echo "$as_me: error: aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." >&2;}
4066 { (exit 1); exit 1; }; }
4068 if test "$aros_host_automake" = ""; then
4069 { { $as_echo "$as_me:$LINENO: error: automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." >&5
4070 $as_echo "$as_me: error: automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." >&2;}
4071 { (exit 1); exit 1; }; }
4074 case "$aros_host_cc" in
4076 aros_host_cc_pipe
="-pipe"
4079 aros_host_cc_pipe
=""
4082 aros_host_cc_pipe
=""
4086 aros_target_cc_includes
=""
4088 # This is the main host configuration section. It is where the host
4089 # can change the values of any variables it needs to change. We do
4090 # not look at anything that compiles to the target yet, we'll get
4095 aros_host_arch
="aros"
4096 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4099 aros_host_cpu
="i386"
4102 aros_host_cpu
="x86_64"
4105 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4106 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4107 aros_host_cpu
="$host_cpu"
4113 aros_host_arch
="linux"
4114 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4117 aros_host_cpu
="i386"
4120 aros_host_cpu
="x86_64"
4123 aros_host_cpu
="m68k"
4129 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4130 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4131 aros_host_cpu
="$host_cpu"
4137 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4138 aros_host_make
="gmake"
4139 aros_host_arch
="freebsd"
4140 aros_host_cpu
="i386"
4142 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4147 aros_object_format
="elf_i386"
4151 aros_object_format
="elf_i386_fbsd"
4158 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4159 aros_host_arch
="darwin"
4162 aros_host_cpu
="i386"
4168 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4169 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4170 aros_host_cpu
="$host_cpu"
4174 aros_host_ldflags
="$aros_host_ldflags -liconv"
4179 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4180 aros_host_make
="gmake"
4181 aros_host_arch
="dragonfly"
4184 aros_host_cpu
="i386"
4187 aros_host_cpu
="x86_64"
4190 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4191 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4192 aros_host_cpu
="$host_cpu"
4198 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4199 aros_host_make
="gmake"
4200 aros_host_arch
="netbsd"
4203 aros_host_cpu
="i386"
4206 aros_host_cpu
="m68k"
4209 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4210 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4211 aros_host_cpu
="$host_cpu"
4214 aros_host_lib_suffix
=".0.0"
4218 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4219 aros_host_make
="gmake"
4220 aros_host_arch
="openbsd"
4223 aros_host_cpu
="i386"
4226 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4227 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4228 aros_host_cpu
="$host_cpu"
4234 aros_host_arch
="solaris"
4235 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4238 aros_host_cpu
="i386"
4241 aros_host_cpu
="sparc"
4244 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4245 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4246 aros_host_cpu
="$host_cpu"
4252 aros_host_arch
="morphos"
4257 aros_host_arch
="amiga"
4262 TOUCH
="/gg/bin/touch"
4265 aros_host_cpu
="m68k"
4271 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4272 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4273 aros_host_cpu
="$host_cpu"
4279 aros_host_arch
="cygwin"
4280 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4283 aros_host_cpu
="i386"
4286 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4287 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4288 aros_host_cpu
="$host_cpu"
4294 aros_host_arch
="mingw32"
4295 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4298 aros_host_cpu
="i386"
4301 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4302 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4303 aros_host_cpu
="$host_cpu"
4308 { { $as_echo "$as_me:$LINENO: error: Unsupported host architecture $host" >&5
4309 $as_echo "$as_me: error: Unsupported host architecture $host" >&2;}
4310 { (exit 1); exit 1; }; }
4314 # Extract the first word of "ar", so it can be a program name with args.
4315 set dummy
ar; ac_word
=$2
4316 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4317 $as_echo_n "checking for $ac_word... " >&6; }
4318 if test "${ac_cv_prog_aros_host_ar+set}" = set; then
4319 $as_echo_n "(cached) " >&6
4321 if test -n "$aros_host_ar"; then
4322 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4328 test -z "$as_dir" && as_dir
=.
4329 for ac_exec_ext
in '' $ac_executable_extensions; do
4330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4331 ac_cv_prog_aros_host_ar
="ar cr"
4332 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4341 aros_host_ar
=$ac_cv_prog_aros_host_ar
4342 if test -n "$aros_host_ar"; then
4343 { $as_echo "$as_me:$LINENO: result: $aros_host_ar" >&5
4344 $as_echo "$aros_host_ar" >&6; }
4346 { $as_echo "$as_me:$LINENO: result: no" >&5
4347 $as_echo "no" >&6; }
4351 if test "$aros_host_ar" = ""; then
4352 { { $as_echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
4353 $as_echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
4354 { (exit 1); exit 1; }; }
4356 # Extract the first word of "ranlib", so it can be a program name with args.
4357 set dummy ranlib
; ac_word
=$2
4358 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4359 $as_echo_n "checking for $ac_word... " >&6; }
4360 if test "${ac_cv_prog_aros_host_ranlib+set}" = set; then
4361 $as_echo_n "(cached) " >&6
4363 if test -n "$aros_host_ranlib"; then
4364 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4370 test -z "$as_dir" && as_dir
=.
4371 for ac_exec_ext
in '' $ac_executable_extensions; do
4372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4373 ac_cv_prog_aros_host_ranlib
="ranlib "
4374 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4383 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4384 if test -n "$aros_host_ranlib"; then
4385 { $as_echo "$as_me:$LINENO: result: $aros_host_ranlib" >&5
4386 $as_echo "$aros_host_ranlib" >&6; }
4388 { $as_echo "$as_me:$LINENO: result: no" >&5
4389 $as_echo "no" >&6; }
4393 if test "$aros_host_ranlib" = ""; then
4394 { { $as_echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
4395 $as_echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
4396 { (exit 1); exit 1; }; }
4398 # Extract the first word of "strip", so it can be a program name with args.
4399 set dummy strip
; ac_word
=$2
4400 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4401 $as_echo_n "checking for $ac_word... " >&6; }
4402 if test "${ac_cv_prog_aros_host_strip+set}" = set; then
4403 $as_echo_n "(cached) " >&6
4405 if test -n "$aros_host_strip"; then
4406 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4408 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4412 test -z "$as_dir" && as_dir
=.
4413 for ac_exec_ext
in '' $ac_executable_extensions; do
4414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4415 ac_cv_prog_aros_host_strip
="strip "
4416 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4425 aros_host_strip
=$ac_cv_prog_aros_host_strip
4426 if test -n "$aros_host_strip"; then
4427 { $as_echo "$as_me:$LINENO: result: $aros_host_strip" >&5
4428 $as_echo "$aros_host_strip" >&6; }
4430 { $as_echo "$as_me:$LINENO: result: no" >&5
4431 $as_echo "no" >&6; }
4435 if test "$aros_host_strip" = ""; then
4436 { { $as_echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
4437 $as_echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
4438 { (exit 1); exit 1; }; }
4441 # Extract the first word of "rm", so it can be a program name with args.
4442 set dummy
rm; ac_word
=$2
4443 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4444 $as_echo_n "checking for $ac_word... " >&6; }
4445 if test "${ac_cv_prog_RM+set}" = set; then
4446 $as_echo_n "(cached) " >&6
4448 if test -n "$RM"; then
4449 ac_cv_prog_RM
="$RM" # Let the user override the test.
4451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4455 test -z "$as_dir" && as_dir
=.
4456 for ac_exec_ext
in '' $ac_executable_extensions; do
4457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4458 ac_cv_prog_RM
="rm -rf"
4459 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4469 if test -n "$RM"; then
4470 { $as_echo "$as_me:$LINENO: result: $RM" >&5
4471 $as_echo "$RM" >&6; }
4473 { $as_echo "$as_me:$LINENO: result: no" >&5
4474 $as_echo "no" >&6; }
4478 if test "$RM" = ""; then
4479 { { $as_echo "$as_me:$LINENO: error: rm is required to build AROS. Please install and run configure again." >&5
4480 $as_echo "$as_me: error: rm is required to build AROS. Please install and run configure again." >&2;}
4481 { (exit 1); exit 1; }; }
4483 # Extract the first word of "cp", so it can be a program name with args.
4484 set dummy
cp; ac_word
=$2
4485 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4486 $as_echo_n "checking for $ac_word... " >&6; }
4487 if test "${ac_cv_prog_CP+set}" = set; then
4488 $as_echo_n "(cached) " >&6
4490 if test -n "$CP"; then
4491 ac_cv_prog_CP
="$CP" # Let the user override the test.
4493 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4497 test -z "$as_dir" && as_dir
=.
4498 for ac_exec_ext
in '' $ac_executable_extensions; do
4499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4501 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4511 if test -n "$CP"; then
4512 { $as_echo "$as_me:$LINENO: result: $CP" >&5
4513 $as_echo "$CP" >&6; }
4515 { $as_echo "$as_me:$LINENO: result: no" >&5
4516 $as_echo "no" >&6; }
4520 if test "$CP" = ""; then
4521 { { $as_echo "$as_me:$LINENO: error: cp is required to build AROS. Please install and run configure again." >&5
4522 $as_echo "$as_me: error: cp is required to build AROS. Please install and run configure again." >&2;}
4523 { (exit 1); exit 1; }; }
4525 # Extract the first word of "mv", so it can be a program name with args.
4526 set dummy
mv; ac_word
=$2
4527 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4528 $as_echo_n "checking for $ac_word... " >&6; }
4529 if test "${ac_cv_prog_MV+set}" = set; then
4530 $as_echo_n "(cached) " >&6
4532 if test -n "$MV"; then
4533 ac_cv_prog_MV
="$MV" # Let the user override the test.
4535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4539 test -z "$as_dir" && as_dir
=.
4540 for ac_exec_ext
in '' $ac_executable_extensions; do
4541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4543 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4553 if test -n "$MV"; then
4554 { $as_echo "$as_me:$LINENO: result: $MV" >&5
4555 $as_echo "$MV" >&6; }
4557 { $as_echo "$as_me:$LINENO: result: no" >&5
4558 $as_echo "no" >&6; }
4562 if test "$MV" = ""; then
4563 { { $as_echo "$as_me:$LINENO: error: mv is required to build AROS. Please install and run configure again." >&5
4564 $as_echo "$as_me: error: mv is required to build AROS. Please install and run configure again." >&2;}
4565 { (exit 1); exit 1; }; }
4567 # Extract the first word of "echo", so it can be a program name with args.
4568 set dummy
echo; ac_word
=$2
4569 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4570 $as_echo_n "checking for $ac_word... " >&6; }
4571 if test "${ac_cv_prog_ECHO+set}" = set; then
4572 $as_echo_n "(cached) " >&6
4574 if test -n "$ECHO"; then
4575 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
4577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4581 test -z "$as_dir" && as_dir
=.
4582 for ac_exec_ext
in '' $ac_executable_extensions; do
4583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4584 ac_cv_prog_ECHO
="echo "
4585 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4594 ECHO
=$ac_cv_prog_ECHO
4595 if test -n "$ECHO"; then
4596 { $as_echo "$as_me:$LINENO: result: $ECHO" >&5
4597 $as_echo "$ECHO" >&6; }
4599 { $as_echo "$as_me:$LINENO: result: no" >&5
4600 $as_echo "no" >&6; }
4604 if test "$ECHO" = ""; then
4605 { { $as_echo "$as_me:$LINENO: error: echo is required to build AROS. Please install and run configure again." >&5
4606 $as_echo "$as_me: error: echo is required to build AROS. Please install and run configure again." >&2;}
4607 { (exit 1); exit 1; }; }
4609 # Extract the first word of "mkdir", so it can be a program name with args.
4610 set dummy mkdir
; ac_word
=$2
4611 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4612 $as_echo_n "checking for $ac_word... " >&6; }
4613 if test "${ac_cv_prog_MKDIR+set}" = set; then
4614 $as_echo_n "(cached) " >&6
4616 if test -n "$MKDIR"; then
4617 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
4619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4623 test -z "$as_dir" && as_dir
=.
4624 for ac_exec_ext
in '' $ac_executable_extensions; do
4625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4626 ac_cv_prog_MKDIR
="mkdir -p"
4627 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4636 MKDIR
=$ac_cv_prog_MKDIR
4637 if test -n "$MKDIR"; then
4638 { $as_echo "$as_me:$LINENO: result: $MKDIR" >&5
4639 $as_echo "$MKDIR" >&6; }
4641 { $as_echo "$as_me:$LINENO: result: no" >&5
4642 $as_echo "no" >&6; }
4646 if test "$MKDIR" = ""; then
4647 { { $as_echo "$as_me:$LINENO: error: mkdir is required to build AROS. Please install and run configure again." >&5
4648 $as_echo "$as_me: error: mkdir is required to build AROS. Please install and run configure again." >&2;}
4649 { (exit 1); exit 1; }; }
4651 # Extract the first word of "touch", so it can be a program name with args.
4652 set dummy
touch; ac_word
=$2
4653 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4654 $as_echo_n "checking for $ac_word... " >&6; }
4655 if test "${ac_cv_prog_TOUCH+set}" = set; then
4656 $as_echo_n "(cached) " >&6
4658 if test -n "$TOUCH"; then
4659 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
4661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4665 test -z "$as_dir" && as_dir
=.
4666 for ac_exec_ext
in '' $ac_executable_extensions; do
4667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4668 ac_cv_prog_TOUCH
="touch "
4669 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4678 TOUCH
=$ac_cv_prog_TOUCH
4679 if test -n "$TOUCH"; then
4680 { $as_echo "$as_me:$LINENO: result: $TOUCH" >&5
4681 $as_echo "$TOUCH" >&6; }
4683 { $as_echo "$as_me:$LINENO: result: no" >&5
4684 $as_echo "no" >&6; }
4688 if test "$TOUCH" = ""; then
4689 { { $as_echo "$as_me:$LINENO: error: touch is required to build AROS. Please install and run configure again." >&5
4690 $as_echo "$as_me: error: touch is required to build AROS. Please install and run configure again." >&2;}
4691 { (exit 1); exit 1; }; }
4693 # Extract the first word of "sort", so it can be a program name with args.
4694 set dummy
sort; ac_word
=$2
4695 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4696 $as_echo_n "checking for $ac_word... " >&6; }
4697 if test "${ac_cv_prog_SORT+set}" = set; then
4698 $as_echo_n "(cached) " >&6
4700 if test -n "$SORT"; then
4701 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
4703 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4707 test -z "$as_dir" && as_dir
=.
4708 for ac_exec_ext
in '' $ac_executable_extensions; do
4709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4710 ac_cv_prog_SORT
="sort "
4711 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4720 SORT
=$ac_cv_prog_SORT
4721 if test -n "$SORT"; then
4722 { $as_echo "$as_me:$LINENO: result: $SORT" >&5
4723 $as_echo "$SORT" >&6; }
4725 { $as_echo "$as_me:$LINENO: result: no" >&5
4726 $as_echo "no" >&6; }
4730 if test "$SORT" = ""; then
4731 { { $as_echo "$as_me:$LINENO: error: sort is required to build AROS. Please install and run configure again." >&5
4732 $as_echo "$as_me: error: sort is required to build AROS. Please install and run configure again." >&2;}
4733 { (exit 1); exit 1; }; }
4735 # Extract the first word of "uniq", so it can be a program name with args.
4736 set dummy
uniq; ac_word
=$2
4737 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4738 $as_echo_n "checking for $ac_word... " >&6; }
4739 if test "${ac_cv_prog_UNIQ+set}" = set; then
4740 $as_echo_n "(cached) " >&6
4742 if test -n "$UNIQ"; then
4743 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
4745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4749 test -z "$as_dir" && as_dir
=.
4750 for ac_exec_ext
in '' $ac_executable_extensions; do
4751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4752 ac_cv_prog_UNIQ
="uniq "
4753 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4762 UNIQ
=$ac_cv_prog_UNIQ
4763 if test -n "$UNIQ"; then
4764 { $as_echo "$as_me:$LINENO: result: $UNIQ" >&5
4765 $as_echo "$UNIQ" >&6; }
4767 { $as_echo "$as_me:$LINENO: result: no" >&5
4768 $as_echo "no" >&6; }
4772 if test "$UNIQ" = ""; then
4773 { { $as_echo "$as_me:$LINENO: error: uniq is required to build AROS. Please install and run configure again." >&5
4774 $as_echo "$as_me: error: uniq is required to build AROS. Please install and run configure again." >&2;}
4775 { (exit 1); exit 1; }; }
4777 # Extract the first word of "true", so it can be a program name with args.
4778 set dummy true
; ac_word
=$2
4779 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4780 $as_echo_n "checking for $ac_word... " >&6; }
4781 if test "${ac_cv_prog_NOP+set}" = set; then
4782 $as_echo_n "(cached) " >&6
4784 if test -n "$NOP"; then
4785 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
4787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4791 test -z "$as_dir" && as_dir
=.
4792 for ac_exec_ext
in '' $ac_executable_extensions; do
4793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4794 ac_cv_prog_NOP
="true "
4795 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4805 if test -n "$NOP"; then
4806 { $as_echo "$as_me:$LINENO: result: $NOP" >&5
4807 $as_echo "$NOP" >&6; }
4809 { $as_echo "$as_me:$LINENO: result: no" >&5
4810 $as_echo "no" >&6; }
4814 if test "$NOP" = ""; then
4815 { { $as_echo "$as_me:$LINENO: error: true is required to build AROS. Please install and run configure again." >&5
4816 $as_echo "$as_me: error: true is required to build AROS. Please install and run configure again." >&2;}
4817 { (exit 1); exit 1; }; }
4819 # Extract the first word of "cat", so it can be a program name with args.
4820 set dummy
cat; ac_word
=$2
4821 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4822 $as_echo_n "checking for $ac_word... " >&6; }
4823 if test "${ac_cv_prog_CAT+set}" = set; then
4824 $as_echo_n "(cached) " >&6
4826 if test -n "$CAT"; then
4827 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
4829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4833 test -z "$as_dir" && as_dir
=.
4834 for ac_exec_ext
in '' $ac_executable_extensions; do
4835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4836 ac_cv_prog_CAT
="cat "
4837 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4847 if test -n "$CAT"; then
4848 { $as_echo "$as_me:$LINENO: result: $CAT" >&5
4849 $as_echo "$CAT" >&6; }
4851 { $as_echo "$as_me:$LINENO: result: no" >&5
4852 $as_echo "no" >&6; }
4856 if test "$CAT" = ""; then
4857 { { $as_echo "$as_me:$LINENO: error: cat is required to build AROS. Please install and run configure again." >&5
4858 $as_echo "$as_me: error: cat is required to build AROS. Please install and run configure again." >&2;}
4859 { (exit 1); exit 1; }; }
4861 # Extract the first word of "bison", so it can be a program name with args.
4862 set dummy bison
; ac_word
=$2
4863 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4864 $as_echo_n "checking for $ac_word... " >&6; }
4865 if test "${ac_cv_prog_BISON+set}" = set; then
4866 $as_echo_n "(cached) " >&6
4868 if test -n "$BISON"; then
4869 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4871 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4875 test -z "$as_dir" && as_dir
=.
4876 for ac_exec_ext
in '' $ac_executable_extensions; do
4877 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4878 ac_cv_prog_BISON
="bison "
4879 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4888 BISON
=$ac_cv_prog_BISON
4889 if test -n "$BISON"; then
4890 { $as_echo "$as_me:$LINENO: result: $BISON" >&5
4891 $as_echo "$BISON" >&6; }
4893 { $as_echo "$as_me:$LINENO: result: no" >&5
4894 $as_echo "no" >&6; }
4898 if test "$BISON" = ""; then
4899 { { $as_echo "$as_me:$LINENO: error: bison is required to build AROS. Please install and run configure again." >&5
4900 $as_echo "$as_me: error: bison is required to build AROS. Please install and run configure again." >&2;}
4901 { (exit 1); exit 1; }; }
4903 # Extract the first word of "flex", so it can be a program name with args.
4904 set dummy flex
; ac_word
=$2
4905 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4906 $as_echo_n "checking for $ac_word... " >&6; }
4907 if test "${ac_cv_prog_FLEX+set}" = set; then
4908 $as_echo_n "(cached) " >&6
4910 if test -n "$FLEX"; then
4911 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4917 test -z "$as_dir" && as_dir
=.
4918 for ac_exec_ext
in '' $ac_executable_extensions; do
4919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4920 ac_cv_prog_FLEX
="flex "
4921 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4930 FLEX
=$ac_cv_prog_FLEX
4931 if test -n "$FLEX"; then
4932 { $as_echo "$as_me:$LINENO: result: $FLEX" >&5
4933 $as_echo "$FLEX" >&6; }
4935 { $as_echo "$as_me:$LINENO: result: no" >&5
4936 $as_echo "no" >&6; }
4940 if test "$FLEX" = ""; then
4941 { { $as_echo "$as_me:$LINENO: error: flex is required to build AROS. Please install and run configure again." >&5
4942 $as_echo "$as_me: error: flex is required to build AROS. Please install and run configure again." >&2;}
4943 { (exit 1); exit 1; }; }
4945 # Extract the first word of "pngtopnm", so it can be a program name with args.
4946 set dummy pngtopnm
; ac_word
=$2
4947 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4948 $as_echo_n "checking for $ac_word... " >&6; }
4949 if test "${ac_cv_prog_PNGTOPNM+set}" = set; then
4950 $as_echo_n "(cached) " >&6
4952 if test -n "$PNGTOPNM"; then
4953 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
4955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4959 test -z "$as_dir" && as_dir
=.
4960 for ac_exec_ext
in '' $ac_executable_extensions; do
4961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4962 ac_cv_prog_PNGTOPNM
="pngtopnm "
4963 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4972 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
4973 if test -n "$PNGTOPNM"; then
4974 { $as_echo "$as_me:$LINENO: result: $PNGTOPNM" >&5
4975 $as_echo "$PNGTOPNM" >&6; }
4977 { $as_echo "$as_me:$LINENO: result: no" >&5
4978 $as_echo "no" >&6; }
4982 if test "$PNGTOPNM" = ""; then
4983 { { $as_echo "$as_me:$LINENO: error: pngtopnm is required to build AROS. Please install and run configure again." >&5
4984 $as_echo "$as_me: error: pngtopnm is required to build AROS. Please install and run configure again." >&2;}
4985 { (exit 1); exit 1; }; }
4987 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
4988 set dummy ppmtoilbm
; ac_word
=$2
4989 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4990 $as_echo_n "checking for $ac_word... " >&6; }
4991 if test "${ac_cv_prog_PPMTOILBM+set}" = set; then
4992 $as_echo_n "(cached) " >&6
4994 if test -n "$PPMTOILBM"; then
4995 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
4997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5001 test -z "$as_dir" && as_dir
=.
5002 for ac_exec_ext
in '' $ac_executable_extensions; do
5003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5004 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5005 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5014 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5015 if test -n "$PPMTOILBM"; then
5016 { $as_echo "$as_me:$LINENO: result: $PPMTOILBM" >&5
5017 $as_echo "$PPMTOILBM" >&6; }
5019 { $as_echo "$as_me:$LINENO: result: no" >&5
5020 $as_echo "no" >&6; }
5024 if test "$PPMTOILBM" = ""; then
5025 { { $as_echo "$as_me:$LINENO: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&5
5026 $as_echo "$as_me: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&2;}
5027 { (exit 1); exit 1; }; }
5029 # Extract the first word of "sed", so it can be a program name with args.
5030 set dummy
sed; ac_word
=$2
5031 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5032 $as_echo_n "checking for $ac_word... " >&6; }
5033 if test "${ac_cv_prog_SED+set}" = set; then
5034 $as_echo_n "(cached) " >&6
5036 if test -n "$SED"; then
5037 ac_cv_prog_SED
="$SED" # Let the user override the test.
5039 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5043 test -z "$as_dir" && as_dir
=.
5044 for ac_exec_ext
in '' $ac_executable_extensions; do
5045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5046 ac_cv_prog_SED
="sed "
5047 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5057 if test -n "$SED"; then
5058 { $as_echo "$as_me:$LINENO: result: $SED" >&5
5059 $as_echo "$SED" >&6; }
5061 { $as_echo "$as_me:$LINENO: result: no" >&5
5062 $as_echo "no" >&6; }
5066 if test "$SED" = ""; then
5067 { { $as_echo "$as_me:$LINENO: error: sed is required to build AROS. Please install and run configure again." >&5
5068 $as_echo "$as_me: error: sed is required to build AROS. Please install and run configure again." >&2;}
5069 { (exit 1); exit 1; }; }
5071 # Extract the first word of "chmod", so it can be a program name with args.
5072 set dummy
chmod; ac_word
=$2
5073 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5074 $as_echo_n "checking for $ac_word... " >&6; }
5075 if test "${ac_cv_prog_CHMOD+set}" = set; then
5076 $as_echo_n "(cached) " >&6
5078 if test -n "$CHMOD"; then
5079 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5085 test -z "$as_dir" && as_dir
=.
5086 for ac_exec_ext
in '' $ac_executable_extensions; do
5087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5088 ac_cv_prog_CHMOD
="chmod "
5089 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5098 CHMOD
=$ac_cv_prog_CHMOD
5099 if test -n "$CHMOD"; then
5100 { $as_echo "$as_me:$LINENO: result: $CHMOD" >&5
5101 $as_echo "$CHMOD" >&6; }
5103 { $as_echo "$as_me:$LINENO: result: no" >&5
5104 $as_echo "no" >&6; }
5108 if test "$CHMOD" = ""; then
5109 { { $as_echo "$as_me:$LINENO: error: chmod is required to build AROS. Please install and run configure again." >&5
5110 $as_echo "$as_me: error: chmod is required to build AROS. Please install and run configure again." >&2;}
5111 { (exit 1); exit 1; }; }
5118 if test -n "$PYTHON"; then
5119 # If the user set $PYTHON, use it and don't search something else.
5120 { $as_echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.2.1" >&5
5121 $as_echo_n "checking whether $PYTHON version >= 2.2.1... " >&6; }
5122 prog
="import sys, string
5123 # split strings by '.' and convert to numeric. Append some zeros
5124 # because we need at least 4 digits for the hex conversion.
5125 minver = map(int, string.split('2.2.1', '.')) + [0, 0, 0]
5127 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5128 sys.exit(sys.hexversion < minverhex)"
5129 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5130 ($PYTHON -c "$prog") >&5 2>&5
5132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5133 (exit $ac_status); }; then
5134 { $as_echo "$as_me:$LINENO: result: yes" >&5
5135 $as_echo "yes" >&6; }
5137 { { $as_echo "$as_me:$LINENO: error: too old" >&5
5138 $as_echo "$as_me: error: too old" >&2;}
5139 { (exit 1); exit 1; }; }
5142 am_display_PYTHON
=$PYTHON
5144 # Otherwise, try each interpreter until we find one that satisfies
5146 { $as_echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.2.1" >&5
5147 $as_echo_n "checking for a Python interpreter with version >= 2.2.1... " >&6; }
5148 if test "${am_cv_pathless_PYTHON+set}" = set; then
5149 $as_echo_n "(cached) " >&6
5152 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
5153 test "$am_cv_pathless_PYTHON" = none
&& break
5154 prog
="import sys, string
5155 # split strings by '.' and convert to numeric. Append some zeros
5156 # because we need at least 4 digits for the hex conversion.
5157 minver = map(int, string.split('2.2.1', '.')) + [0, 0, 0]
5159 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5160 sys.exit(sys.hexversion < minverhex)"
5161 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5162 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5165 (exit $ac_status); }; then
5171 { $as_echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
5172 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5173 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5174 if test "$am_cv_pathless_PYTHON" = none
; then
5177 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5178 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5179 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5180 $as_echo_n "checking for $ac_word... " >&6; }
5181 if test "${ac_cv_path_PYTHON+set}" = set; then
5182 $as_echo_n "(cached) " >&6
5186 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5193 test -z "$as_dir" && as_dir
=.
5194 for ac_exec_ext
in '' $ac_executable_extensions; do
5195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5196 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5197 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5207 PYTHON
=$ac_cv_path_PYTHON
5208 if test -n "$PYTHON"; then
5209 { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
5210 $as_echo "$PYTHON" >&6; }
5212 { $as_echo "$as_me:$LINENO: result: no" >&5
5213 $as_echo "no" >&6; }
5218 am_display_PYTHON
=$am_cv_pathless_PYTHON
5222 if test "$PYTHON" = :; then
5223 { { $as_echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
5224 $as_echo "$as_me: error: no suitable Python interpreter found" >&2;}
5225 { (exit 1); exit 1; }; }
5229 { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
5230 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5231 if test "${am_cv_python_version+set}" = set; then
5232 $as_echo_n "(cached) " >&6
5234 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
5236 { $as_echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
5237 $as_echo "$am_cv_python_version" >&6; }
5238 PYTHON_VERSION
=$am_cv_python_version
5242 PYTHON_PREFIX
='${prefix}'
5244 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5248 { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
5249 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5250 if test "${am_cv_python_platform+set}" = set; then
5251 $as_echo_n "(cached) " >&6
5253 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
5255 { $as_echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
5256 $as_echo "$am_cv_python_platform" >&6; }
5257 PYTHON_PLATFORM
=$am_cv_python_platform
5262 { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
5263 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5264 if test "${am_cv_python_pythondir+set}" = set; then
5265 $as_echo_n "(cached) " >&6
5267 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5268 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5270 { $as_echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
5271 $as_echo "$am_cv_python_pythondir" >&6; }
5272 pythondir
=$am_cv_python_pythondir
5276 pkgpythondir
=\
${pythondir}/$PACKAGE
5279 { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
5280 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5281 if test "${am_cv_python_pyexecdir+set}" = set; then
5282 $as_echo_n "(cached) " >&6
5284 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5285 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5287 { $as_echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
5288 $as_echo "$am_cv_python_pyexecdir" >&6; }
5289 pyexecdir
=$am_cv_python_pyexecdir
5293 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5311 # Check for some includes for the X11 HIDD and the kernel
5314 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5315 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5316 if test "${ac_cv_path_GREP+set}" = set; then
5317 $as_echo_n "(cached) " >&6
5319 if test -z "$GREP"; then
5320 ac_path_GREP_found
=false
5321 # Loop through the user's path and test for each of PROGNAME-LIST
5322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5323 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5326 test -z "$as_dir" && as_dir
=.
5327 for ac_prog
in grep ggrep
; do
5328 for ac_exec_ext
in '' $ac_executable_extensions; do
5329 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5330 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5331 # Check for GNU ac_path_GREP and select it if it is found.
5332 # Check for GNU $ac_path_GREP
5333 case `"$ac_path_GREP" --version 2>&1` in
5335 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5338 $as_echo_n 0123456789 >"conftest.in"
5341 cat "conftest.in" "conftest.in" >"conftest.tmp"
5342 mv "conftest.tmp" "conftest.in"
5343 cp "conftest.in" "conftest.nl"
5344 $as_echo 'GREP' >> "conftest.nl"
5345 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5346 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5347 ac_count
=`expr $ac_count + 1`
5348 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5349 # Best one so far, save it but keep looking for a better one
5350 ac_cv_path_GREP
="$ac_path_GREP"
5351 ac_path_GREP_max
=$ac_count
5353 # 10*(2^10) chars as input seems more than enough
5354 test $ac_count -gt 10 && break
5356 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5359 $ac_path_GREP_found && break 3
5364 if test -z "$ac_cv_path_GREP"; then
5365 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5366 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5367 { (exit 1); exit 1; }; }
5370 ac_cv_path_GREP
=$GREP
5374 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5375 $as_echo "$ac_cv_path_GREP" >&6; }
5376 GREP
="$ac_cv_path_GREP"
5379 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
5380 $as_echo_n "checking for egrep... " >&6; }
5381 if test "${ac_cv_path_EGREP+set}" = set; then
5382 $as_echo_n "(cached) " >&6
5384 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5385 then ac_cv_path_EGREP
="$GREP -E"
5387 if test -z "$EGREP"; then
5388 ac_path_EGREP_found
=false
5389 # Loop through the user's path and test for each of PROGNAME-LIST
5390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5391 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5394 test -z "$as_dir" && as_dir
=.
5395 for ac_prog
in egrep; do
5396 for ac_exec_ext
in '' $ac_executable_extensions; do
5397 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5398 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5399 # Check for GNU ac_path_EGREP and select it if it is found.
5400 # Check for GNU $ac_path_EGREP
5401 case `"$ac_path_EGREP" --version 2>&1` in
5403 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5406 $as_echo_n 0123456789 >"conftest.in"
5409 cat "conftest.in" "conftest.in" >"conftest.tmp"
5410 mv "conftest.tmp" "conftest.in"
5411 cp "conftest.in" "conftest.nl"
5412 $as_echo 'EGREP' >> "conftest.nl"
5413 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5414 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5415 ac_count
=`expr $ac_count + 1`
5416 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5417 # Best one so far, save it but keep looking for a better one
5418 ac_cv_path_EGREP
="$ac_path_EGREP"
5419 ac_path_EGREP_max
=$ac_count
5421 # 10*(2^10) chars as input seems more than enough
5422 test $ac_count -gt 10 && break
5424 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5427 $ac_path_EGREP_found && break 3
5432 if test -z "$ac_cv_path_EGREP"; then
5433 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5434 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5435 { (exit 1); exit 1; }; }
5438 ac_cv_path_EGREP
=$EGREP
5443 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5444 $as_echo "$ac_cv_path_EGREP" >&6; }
5445 EGREP
="$ac_cv_path_EGREP"
5448 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5449 $as_echo_n "checking for ANSI C header files... " >&6; }
5450 if test "${ac_cv_header_stdc+set}" = set; then
5451 $as_echo_n "(cached) " >&6
5453 cat >conftest.
$ac_ext <<_ACEOF
5456 cat confdefs.h
>>conftest.
$ac_ext
5457 cat >>conftest.
$ac_ext <<_ACEOF
5458 /* end confdefs.h. */
5472 rm -f conftest.
$ac_objext
5473 if { (ac_try
="$ac_compile"
5475 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5476 *) ac_try_echo=$ac_try;;
5478 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5479 $as_echo "$ac_try_echo") >&5
5480 (eval "$ac_compile") 2>conftest.er1
5482 grep -v '^ *+' conftest.er1 >conftest.err
5484 cat conftest.err >&5
5485 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5486 (exit $ac_status); } && {
5487 test -z "$ac_c_werror_flag" ||
5488 test ! -s conftest.err
5489 } && test -s conftest.$ac_objext; then
5490 ac_cv_header_stdc=yes
5492 $as_echo "$as_me: failed program was:" >&5
5493 sed 's/^/| /' conftest.$ac_ext >&5
5495 ac_cv_header_stdc=no
5498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5500 if test $ac_cv_header_stdc = yes; then
5501 # SunOS 4.x string.h does not declare mem*, 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 "memchr" >/dev/null 2>&1; then
5515 ac_cv_header_stdc=no
5521 if test $ac_cv_header_stdc = yes; then
5522 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5523 cat >conftest.$ac_ext <<_ACEOF
5526 cat confdefs.h >>conftest.$ac_ext
5527 cat >>conftest.$ac_ext <<_ACEOF
5528 /* end confdefs.h. */
5532 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5533 $EGREP "free" >/dev/null 2>&1; then
5536 ac_cv_header_stdc=no
5542 if test $ac_cv_header_stdc = yes; then
5543 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5544 if test "$cross_compiling" = yes; then
5547 cat >conftest.$ac_ext <<_ACEOF
5550 cat confdefs.h >>conftest.$ac_ext
5551 cat >>conftest.$ac_ext <<_ACEOF
5552 /* end confdefs.h. */
5555 #if ((' ' & 0x0FF) == 0x020)
5556 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5557 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5559 # define ISLOWER(c) \
5560 (('a' <= (c) && (c) <= 'i') \
5561 || ('j' <= (c) && (c) <= 'r') \
5562 || ('s' <= (c) && (c) <= 'z'))
5563 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5566 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5571 for (i = 0; i < 256; i++)
5572 if (XOR (islower (i), ISLOWER (i))
5573 || toupper (i) != TOUPPER (i))
5578 rm -f conftest$ac_exeext
5579 if { (ac_try="$ac_link"
5581 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5582 *) ac_try_echo
=$ac_try;;
5584 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5585 $as_echo "$ac_try_echo") >&5
5586 (eval "$ac_link") 2>&5
5588 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5589 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5590 { (case "(($ac_try" in
5591 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5592 *) ac_try_echo=$ac_try;;
5594 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5595 $as_echo "$ac_try_echo") >&5
5596 (eval "$ac_try") 2>&5
5598 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5599 (exit $ac_status); }; }; then
5602 $as_echo "$as_me: program exited with status $ac_status" >&5
5603 $as_echo "$as_me: failed program was:" >&5
5604 sed 's/^/| /' conftest.$ac_ext >&5
5607 ac_cv_header_stdc=no
5609 rm -rf conftest.dSYM
5610 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5616 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5617 $as_echo "$ac_cv_header_stdc" >&6; }
5618 if test $ac_cv_header_stdc = yes; then
5620 cat >>confdefs.h <<\_ACEOF
5621 #define STDC_HEADERS 1
5626 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5636 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5637 inttypes.h stdint.h unistd.h
5639 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5640 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5641 $as_echo_n "checking for $ac_header... " >&6; }
5642 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5643 $as_echo_n "(cached) " >&6
5645 cat >conftest.$ac_ext <<_ACEOF
5648 cat confdefs.h >>conftest.$ac_ext
5649 cat >>conftest.$ac_ext <<_ACEOF
5650 /* end confdefs.h. */
5651 $ac_includes_default
5653 #include <$ac_header>
5655 rm -f conftest.$ac_objext
5656 if { (ac_try="$ac_compile"
5658 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5659 *) ac_try_echo
=$ac_try;;
5661 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5662 $as_echo "$ac_try_echo") >&5
5663 (eval "$ac_compile") 2>conftest.er1
5665 grep -v '^ *+' conftest.er1
>conftest.err
5667 cat conftest.err
>&5
5668 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5669 (exit $ac_status); } && {
5670 test -z "$ac_c_werror_flag" ||
5671 test ! -s conftest.err
5672 } && test -s conftest.
$ac_objext; then
5673 eval "$as_ac_Header=yes"
5675 $as_echo "$as_me: failed program was:" >&5
5676 sed 's/^/| /' conftest.
$ac_ext >&5
5678 eval "$as_ac_Header=no"
5681 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5683 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5684 $as_echo "$as_val"'`
5685 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5686 $as_echo "$ac_res" >&6; }
5687 as_val
=`eval 'as_val=${'$as_ac_Header'}
5688 $as_echo "$as_val"'`
5689 if test "x$as_val" = x
""yes; then
5690 cat >>confdefs.h
<<_ACEOF
5691 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5708 for ac_header
in sys
/ipc.h sys
/shm.h \
5709 sys
/mmap.h sys
/mman.h sysexits.h \
5710 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
5713 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5714 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5715 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5716 $as_echo_n "checking for $ac_header... " >&6; }
5717 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5718 $as_echo_n "(cached) " >&6
5720 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5721 $as_echo "$as_val"'`
5722 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5723 $as_echo "$ac_res" >&6; }
5725 # Is the header compilable?
5726 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5727 $as_echo_n "checking $ac_header usability... " >&6; }
5728 cat >conftest.
$ac_ext <<_ACEOF
5731 cat confdefs.h
>>conftest.
$ac_ext
5732 cat >>conftest.
$ac_ext <<_ACEOF
5733 /* end confdefs.h. */
5734 $ac_includes_default
5735 #include <$ac_header>
5737 rm -f conftest.
$ac_objext
5738 if { (ac_try
="$ac_compile"
5740 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5741 *) ac_try_echo=$ac_try;;
5743 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5744 $as_echo "$ac_try_echo") >&5
5745 (eval "$ac_compile") 2>conftest.er1
5747 grep -v '^ *+' conftest.er1 >conftest.err
5749 cat conftest.err >&5
5750 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5751 (exit $ac_status); } && {
5752 test -z "$ac_c_werror_flag" ||
5753 test ! -s conftest.err
5754 } && test -s conftest.$ac_objext; then
5755 ac_header_compiler=yes
5757 $as_echo "$as_me: failed program was:" >&5
5758 sed 's/^/| /' conftest.$ac_ext >&5
5760 ac_header_compiler=no
5763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5764 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5765 $as_echo "$ac_header_compiler" >&6; }
5767 # Is the header present?
5768 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5769 $as_echo_n "checking $ac_header presence... " >&6; }
5770 cat >conftest.$ac_ext <<_ACEOF
5773 cat confdefs.h >>conftest.$ac_ext
5774 cat >>conftest.$ac_ext <<_ACEOF
5775 /* end confdefs.h. */
5776 #include <$ac_header>
5778 if { (ac_try="$ac_cpp conftest.$ac_ext"
5780 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5781 *) ac_try_echo
=$ac_try;;
5783 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5784 $as_echo "$ac_try_echo") >&5
5785 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5787 grep -v '^ *+' conftest.er1
>conftest.err
5789 cat conftest.err
>&5
5790 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5791 (exit $ac_status); } >/dev
/null
&& {
5792 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5793 test ! -s conftest.err
5795 ac_header_preproc
=yes
5797 $as_echo "$as_me: failed program was:" >&5
5798 sed 's/^/| /' conftest.
$ac_ext >&5
5800 ac_header_preproc
=no
5803 rm -f conftest.err conftest.
$ac_ext
5804 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5805 $as_echo "$ac_header_preproc" >&6; }
5807 # So? What about this header?
5808 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5810 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5811 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5812 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5813 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5814 ac_header_preproc
=yes
5817 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5818 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5819 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5820 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5821 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5822 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5823 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5824 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5825 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5826 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5827 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5828 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5832 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5833 $as_echo_n "checking for $ac_header... " >&6; }
5834 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5835 $as_echo_n "(cached) " >&6
5837 eval "$as_ac_Header=\$ac_header_preproc"
5839 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5840 $as_echo "$as_val"'`
5841 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5842 $as_echo "$ac_res" >&6; }
5845 as_val
=`eval 'as_val=${'$as_ac_Header'}
5846 $as_echo "$as_val"'`
5847 if test "x$as_val" = x
""yes; then
5848 cat >>confdefs.h
<<_ACEOF
5849 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5858 for ac_header
in sys
/mount.h
5860 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5861 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5862 $as_echo_n "checking for $ac_header... " >&6; }
5863 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5864 $as_echo_n "(cached) " >&6
5866 cat >conftest.
$ac_ext <<_ACEOF
5869 cat confdefs.h
>>conftest.
$ac_ext
5870 cat >>conftest.
$ac_ext <<_ACEOF
5871 /* end confdefs.h. */
5872 #include <sys/param.h>
5874 #include <$ac_header>
5876 rm -f conftest.
$ac_objext
5877 if { (ac_try
="$ac_compile"
5879 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5880 *) ac_try_echo=$ac_try;;
5882 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5883 $as_echo "$ac_try_echo") >&5
5884 (eval "$ac_compile") 2>conftest.er1
5886 grep -v '^ *+' conftest.er1 >conftest.err
5888 cat conftest.err >&5
5889 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5890 (exit $ac_status); } && {
5891 test -z "$ac_c_werror_flag" ||
5892 test ! -s conftest.err
5893 } && test -s conftest.$ac_objext; then
5894 eval "$as_ac_Header=yes"
5896 $as_echo "$as_me: failed program was:" >&5
5897 sed 's/^/| /' conftest.$ac_ext >&5
5899 eval "$as_ac_Header=no"
5902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5904 ac_res=`eval 'as_val=${'$as_ac_Header'}
5905 $as_echo "$as_val"'`
5906 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5907 $as_echo "$ac_res" >&6; }
5908 as_val=`eval 'as_val=${'$as_ac_Header'}
5909 $as_echo "$as_val"'`
5910 if test "x$as_val" = x""yes; then
5911 cat >>confdefs.h <<_ACEOF
5912 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5926 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
5927 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
5928 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
5929 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
5930 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5931 $as_echo_n "(cached) " >&6
5933 cat >conftest.$ac_ext <<_ACEOF
5936 cat confdefs.h >>conftest.$ac_ext
5937 cat >>conftest.$ac_ext <<_ACEOF
5938 /* end confdefs.h. */
5939 #include <sys/types.h>
5951 rm -f conftest.$ac_objext
5952 if { (ac_try="$ac_compile"
5954 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5955 *) ac_try_echo
=$ac_try;;
5957 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5958 $as_echo "$ac_try_echo") >&5
5959 (eval "$ac_compile") 2>conftest.er1
5961 grep -v '^ *+' conftest.er1
>conftest.err
5963 cat conftest.err
>&5
5964 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5965 (exit $ac_status); } && {
5966 test -z "$ac_c_werror_flag" ||
5967 test ! -s conftest.err
5968 } && test -s conftest.
$ac_objext; then
5969 eval "$as_ac_Header=yes"
5971 $as_echo "$as_me: failed program was:" >&5
5972 sed 's/^/| /' conftest.
$ac_ext >&5
5974 eval "$as_ac_Header=no"
5977 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5979 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5980 $as_echo "$as_val"'`
5981 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5982 $as_echo "$ac_res" >&6; }
5983 as_val
=`eval 'as_val=${'$as_ac_Header'}
5984 $as_echo "$as_val"'`
5985 if test "x$as_val" = x
""yes; then
5986 cat >>confdefs.h
<<_ACEOF
5987 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5990 ac_header_dirent
=$ac_hdr; break
5994 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5995 if test $ac_header_dirent = dirent.h
; then
5996 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
5997 $as_echo_n "checking for library containing opendir... " >&6; }
5998 if test "${ac_cv_search_opendir+set}" = set; then
5999 $as_echo_n "(cached) " >&6
6001 ac_func_search_save_LIBS
=$LIBS
6002 cat >conftest.
$ac_ext <<_ACEOF
6005 cat confdefs.h
>>conftest.
$ac_ext
6006 cat >>conftest.
$ac_ext <<_ACEOF
6007 /* end confdefs.h. */
6009 /* Override any GCC internal prototype to avoid an error.
6010 Use char because int might match the return type of a GCC
6011 builtin and then its argument prototype would still apply. */
6024 for ac_lib
in '' dir
; do
6025 if test -z "$ac_lib"; then
6026 ac_res
="none required"
6029 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
6031 rm -f conftest.
$ac_objext conftest
$ac_exeext
6032 if { (ac_try
="$ac_link"
6034 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6035 *) ac_try_echo=$ac_try;;
6037 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6038 $as_echo "$ac_try_echo") >&5
6039 (eval "$ac_link") 2>conftest.er1
6041 grep -v '^ *+' conftest.er1 >conftest.err
6043 cat conftest.err >&5
6044 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6045 (exit $ac_status); } && {
6046 test -z "$ac_c_werror_flag" ||
6047 test ! -s conftest.err
6048 } && test -s conftest$ac_exeext && {
6049 test "$cross_compiling" = yes ||
6050 $as_test_x conftest$ac_exeext
6052 ac_cv_search_opendir=$ac_res
6054 $as_echo "$as_me: failed program was:" >&5
6055 sed 's/^/| /' conftest.$ac_ext >&5
6060 rm -rf conftest.dSYM
6061 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6063 if test "${ac_cv_search_opendir+set}" = set; then
6067 if test "${ac_cv_search_opendir+set}" = set; then
6070 ac_cv_search_opendir=no
6073 LIBS=$ac_func_search_save_LIBS
6075 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6076 $as_echo "$ac_cv_search_opendir" >&6; }
6077 ac_res=$ac_cv_search_opendir
6078 if test "$ac_res" != no; then
6079 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6084 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
6085 $as_echo_n "checking for library containing opendir... " >&6; }
6086 if test "${ac_cv_search_opendir+set}" = set; then
6087 $as_echo_n "(cached) " >&6
6089 ac_func_search_save_LIBS=$LIBS
6090 cat >conftest.$ac_ext <<_ACEOF
6093 cat confdefs.h >>conftest.$ac_ext
6094 cat >>conftest.$ac_ext <<_ACEOF
6095 /* end confdefs.h. */
6097 /* Override any GCC internal prototype to avoid an error.
6098 Use char because int might match the return type of a GCC
6099 builtin and then its argument prototype would still apply. */
6112 for ac_lib in '' x; do
6113 if test -z "$ac_lib"; then
6114 ac_res="none required"
6117 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6119 rm -f conftest.$ac_objext conftest$ac_exeext
6120 if { (ac_try="$ac_link"
6122 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6123 *) ac_try_echo
=$ac_try;;
6125 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6126 $as_echo "$ac_try_echo") >&5
6127 (eval "$ac_link") 2>conftest.er1
6129 grep -v '^ *+' conftest.er1
>conftest.err
6131 cat conftest.err
>&5
6132 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6133 (exit $ac_status); } && {
6134 test -z "$ac_c_werror_flag" ||
6135 test ! -s conftest.err
6136 } && test -s conftest
$ac_exeext && {
6137 test "$cross_compiling" = yes ||
6138 $as_test_x conftest
$ac_exeext
6140 ac_cv_search_opendir
=$ac_res
6142 $as_echo "$as_me: failed program was:" >&5
6143 sed 's/^/| /' conftest.
$ac_ext >&5
6148 rm -rf conftest.dSYM
6149 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6151 if test "${ac_cv_search_opendir+set}" = set; then
6155 if test "${ac_cv_search_opendir+set}" = set; then
6158 ac_cv_search_opendir
=no
6161 LIBS
=$ac_func_search_save_LIBS
6163 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6164 $as_echo "$ac_cv_search_opendir" >&6; }
6165 ac_res
=$ac_cv_search_opendir
6166 if test "$ac_res" != no
; then
6167 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6173 { $as_echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
6174 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6175 if test "${ac_cv_header_stat_broken+set}" = set; then
6176 $as_echo_n "(cached) " >&6
6178 cat >conftest.
$ac_ext <<_ACEOF
6181 cat confdefs.h
>>conftest.
$ac_ext
6182 cat >>conftest.
$ac_ext <<_ACEOF
6183 /* end confdefs.h. */
6184 #include <sys/types.h>
6185 #include <sys/stat.h>
6187 #if defined S_ISBLK && defined S_IFDIR
6188 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6191 #if defined S_ISBLK && defined S_IFCHR
6192 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6195 #if defined S_ISLNK && defined S_IFREG
6196 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6199 #if defined S_ISSOCK && defined S_IFREG
6200 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6204 rm -f conftest.
$ac_objext
6205 if { (ac_try
="$ac_compile"
6207 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6208 *) ac_try_echo=$ac_try;;
6210 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6211 $as_echo "$ac_try_echo") >&5
6212 (eval "$ac_compile") 2>conftest.er1
6214 grep -v '^ *+' conftest.er1 >conftest.err
6216 cat conftest.err >&5
6217 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6218 (exit $ac_status); } && {
6219 test -z "$ac_c_werror_flag" ||
6220 test ! -s conftest.err
6221 } && test -s conftest.$ac_objext; then
6222 ac_cv_header_stat_broken=no
6224 $as_echo "$as_me: failed program was:" >&5
6225 sed 's/^/| /' conftest.$ac_ext >&5
6227 ac_cv_header_stat_broken=yes
6230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6232 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
6233 $as_echo "$ac_cv_header_stat_broken" >&6; }
6234 if test $ac_cv_header_stat_broken = yes; then
6236 cat >>confdefs.h <<\_ACEOF
6237 #define STAT_MACROS_BROKEN 1
6242 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6243 $as_echo_n "checking for ANSI C header files... " >&6; }
6244 if test "${ac_cv_header_stdc+set}" = set; then
6245 $as_echo_n "(cached) " >&6
6247 cat >conftest.$ac_ext <<_ACEOF
6250 cat confdefs.h >>conftest.$ac_ext
6251 cat >>conftest.$ac_ext <<_ACEOF
6252 /* end confdefs.h. */
6266 rm -f conftest.$ac_objext
6267 if { (ac_try="$ac_compile"
6269 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6270 *) ac_try_echo
=$ac_try;;
6272 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6273 $as_echo "$ac_try_echo") >&5
6274 (eval "$ac_compile") 2>conftest.er1
6276 grep -v '^ *+' conftest.er1
>conftest.err
6278 cat conftest.err
>&5
6279 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6280 (exit $ac_status); } && {
6281 test -z "$ac_c_werror_flag" ||
6282 test ! -s conftest.err
6283 } && test -s conftest.
$ac_objext; then
6284 ac_cv_header_stdc
=yes
6286 $as_echo "$as_me: failed program was:" >&5
6287 sed 's/^/| /' conftest.
$ac_ext >&5
6289 ac_cv_header_stdc
=no
6292 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6294 if test $ac_cv_header_stdc = yes; then
6295 # SunOS 4.x string.h does not declare mem*, 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 "memchr" >/dev
/null
2>&1; then
6309 ac_cv_header_stdc
=no
6315 if test $ac_cv_header_stdc = yes; then
6316 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6317 cat >conftest.
$ac_ext <<_ACEOF
6320 cat confdefs.h
>>conftest.
$ac_ext
6321 cat >>conftest.
$ac_ext <<_ACEOF
6322 /* end confdefs.h. */
6326 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6327 $EGREP "free" >/dev
/null
2>&1; then
6330 ac_cv_header_stdc
=no
6336 if test $ac_cv_header_stdc = yes; then
6337 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6338 if test "$cross_compiling" = yes; then
6341 cat >conftest.
$ac_ext <<_ACEOF
6344 cat confdefs.h
>>conftest.
$ac_ext
6345 cat >>conftest.
$ac_ext <<_ACEOF
6346 /* end confdefs.h. */
6349 #if ((' ' & 0x0FF) == 0x020)
6350 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6351 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6353 # define ISLOWER(c) \
6354 (('a' <= (c) && (c) <= 'i') \
6355 || ('j' <= (c) && (c) <= 'r') \
6356 || ('s' <= (c) && (c) <= 'z'))
6357 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6360 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6365 for (i = 0; i < 256; i++)
6366 if (XOR (islower (i), ISLOWER (i))
6367 || toupper (i) != TOUPPER (i))
6372 rm -f conftest
$ac_exeext
6373 if { (ac_try
="$ac_link"
6375 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6376 *) ac_try_echo=$ac_try;;
6378 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6379 $as_echo "$ac_try_echo") >&5
6380 (eval "$ac_link") 2>&5
6382 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6383 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6384 { (case "(($ac_try" in
6385 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6386 *) ac_try_echo
=$ac_try;;
6388 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6389 $as_echo "$ac_try_echo") >&5
6390 (eval "$ac_try") 2>&5
6392 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6393 (exit $ac_status); }; }; then
6396 $as_echo "$as_me: program exited with status $ac_status" >&5
6397 $as_echo "$as_me: failed program was:" >&5
6398 sed 's/^/| /' conftest.
$ac_ext >&5
6401 ac_cv_header_stdc
=no
6403 rm -rf conftest.dSYM
6404 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6410 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6411 $as_echo "$ac_cv_header_stdc" >&6; }
6412 if test $ac_cv_header_stdc = yes; then
6414 cat >>confdefs.h
<<\_ACEOF
6415 #define STDC_HEADERS 1
6420 { $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
6421 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6422 if test "${ac_cv_header_sys_wait_h+set}" = set; then
6423 $as_echo_n "(cached) " >&6
6425 cat >conftest.
$ac_ext <<_ACEOF
6428 cat confdefs.h
>>conftest.
$ac_ext
6429 cat >>conftest.
$ac_ext <<_ACEOF
6430 /* end confdefs.h. */
6431 #include <sys/types.h>
6432 #include <sys/wait.h>
6434 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6437 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6445 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6450 rm -f conftest.
$ac_objext
6451 if { (ac_try
="$ac_compile"
6453 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6454 *) ac_try_echo=$ac_try;;
6456 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6457 $as_echo "$ac_try_echo") >&5
6458 (eval "$ac_compile") 2>conftest.er1
6460 grep -v '^ *+' conftest.er1 >conftest.err
6462 cat conftest.err >&5
6463 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6464 (exit $ac_status); } && {
6465 test -z "$ac_c_werror_flag" ||
6466 test ! -s conftest.err
6467 } && test -s conftest.$ac_objext; then
6468 ac_cv_header_sys_wait_h=yes
6470 $as_echo "$as_me: failed program was:" >&5
6471 sed 's/^/| /' conftest.$ac_ext >&5
6473 ac_cv_header_sys_wait_h=no
6476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6478 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
6479 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6480 if test $ac_cv_header_sys_wait_h = yes; then
6482 cat >>confdefs.h <<\_ACEOF
6483 #define HAVE_SYS_WAIT_H 1
6488 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6489 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6490 if test "${ac_cv_header_time+set}" = set; then
6491 $as_echo_n "(cached) " >&6
6493 cat >conftest.$ac_ext <<_ACEOF
6496 cat confdefs.h >>conftest.$ac_ext
6497 cat >>conftest.$ac_ext <<_ACEOF
6498 /* end confdefs.h. */
6499 #include <sys/types.h>
6500 #include <sys/time.h>
6506 if ((struct tm *) 0)
6512 rm -f conftest.$ac_objext
6513 if { (ac_try="$ac_compile"
6515 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6516 *) ac_try_echo
=$ac_try;;
6518 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6519 $as_echo "$ac_try_echo") >&5
6520 (eval "$ac_compile") 2>conftest.er1
6522 grep -v '^ *+' conftest.er1
>conftest.err
6524 cat conftest.err
>&5
6525 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6526 (exit $ac_status); } && {
6527 test -z "$ac_c_werror_flag" ||
6528 test ! -s conftest.err
6529 } && test -s conftest.
$ac_objext; then
6530 ac_cv_header_time
=yes
6532 $as_echo "$as_me: failed program was:" >&5
6533 sed 's/^/| /' conftest.
$ac_ext >&5
6535 ac_cv_header_time
=no
6538 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6540 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6541 $as_echo "$ac_cv_header_time" >&6; }
6542 if test $ac_cv_header_time = yes; then
6544 cat >>confdefs.h
<<\_ACEOF
6545 #define TIME_WITH_SYS_TIME 1
6550 { $as_echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6551 $as_echo_n "checking for struct stat.st_blksize... " >&6; }
6552 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6553 $as_echo_n "(cached) " >&6
6555 cat >conftest.
$ac_ext <<_ACEOF
6558 cat confdefs.h
>>conftest.
$ac_ext
6559 cat >>conftest.
$ac_ext <<_ACEOF
6560 /* end confdefs.h. */
6561 $ac_includes_default
6565 static struct stat ac_aggr;
6566 if (ac_aggr.st_blksize)
6572 rm -f conftest.
$ac_objext
6573 if { (ac_try
="$ac_compile"
6575 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6576 *) ac_try_echo=$ac_try;;
6578 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6579 $as_echo "$ac_try_echo") >&5
6580 (eval "$ac_compile") 2>conftest.er1
6582 grep -v '^ *+' conftest.er1 >conftest.err
6584 cat conftest.err >&5
6585 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6586 (exit $ac_status); } && {
6587 test -z "$ac_c_werror_flag" ||
6588 test ! -s conftest.err
6589 } && test -s conftest.$ac_objext; then
6590 ac_cv_member_struct_stat_st_blksize=yes
6592 $as_echo "$as_me: failed program was:" >&5
6593 sed 's/^/| /' conftest.$ac_ext >&5
6595 cat >conftest.$ac_ext <<_ACEOF
6598 cat confdefs.h >>conftest.$ac_ext
6599 cat >>conftest.$ac_ext <<_ACEOF
6600 /* end confdefs.h. */
6601 $ac_includes_default
6605 static struct stat ac_aggr;
6606 if (sizeof ac_aggr.st_blksize)
6612 rm -f conftest.$ac_objext
6613 if { (ac_try="$ac_compile"
6615 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6616 *) ac_try_echo
=$ac_try;;
6618 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6619 $as_echo "$ac_try_echo") >&5
6620 (eval "$ac_compile") 2>conftest.er1
6622 grep -v '^ *+' conftest.er1
>conftest.err
6624 cat conftest.err
>&5
6625 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6626 (exit $ac_status); } && {
6627 test -z "$ac_c_werror_flag" ||
6628 test ! -s conftest.err
6629 } && test -s conftest.
$ac_objext; then
6630 ac_cv_member_struct_stat_st_blksize
=yes
6632 $as_echo "$as_me: failed program was:" >&5
6633 sed 's/^/| /' conftest.
$ac_ext >&5
6635 ac_cv_member_struct_stat_st_blksize
=no
6638 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6641 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6643 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
6644 $as_echo "$ac_cv_member_struct_stat_st_blksize" >&6; }
6645 if test "x$ac_cv_member_struct_stat_st_blksize" = x
""yes; then
6647 cat >>confdefs.h
<<_ACEOF
6648 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6652 cat >>confdefs.h
<<\_ACEOF
6653 #define HAVE_ST_BLKSIZE 1
6659 { $as_echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
6660 $as_echo_n "checking for struct stat.st_blocks... " >&6; }
6661 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
6662 $as_echo_n "(cached) " >&6
6664 cat >conftest.
$ac_ext <<_ACEOF
6667 cat confdefs.h
>>conftest.
$ac_ext
6668 cat >>conftest.
$ac_ext <<_ACEOF
6669 /* end confdefs.h. */
6670 $ac_includes_default
6674 static struct stat ac_aggr;
6675 if (ac_aggr.st_blocks)
6681 rm -f conftest.
$ac_objext
6682 if { (ac_try
="$ac_compile"
6684 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6685 *) ac_try_echo=$ac_try;;
6687 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6688 $as_echo "$ac_try_echo") >&5
6689 (eval "$ac_compile") 2>conftest.er1
6691 grep -v '^ *+' conftest.er1 >conftest.err
6693 cat conftest.err >&5
6694 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6695 (exit $ac_status); } && {
6696 test -z "$ac_c_werror_flag" ||
6697 test ! -s conftest.err
6698 } && test -s conftest.$ac_objext; then
6699 ac_cv_member_struct_stat_st_blocks=yes
6701 $as_echo "$as_me: failed program was:" >&5
6702 sed 's/^/| /' conftest.$ac_ext >&5
6704 cat >conftest.$ac_ext <<_ACEOF
6707 cat confdefs.h >>conftest.$ac_ext
6708 cat >>conftest.$ac_ext <<_ACEOF
6709 /* end confdefs.h. */
6710 $ac_includes_default
6714 static struct stat ac_aggr;
6715 if (sizeof ac_aggr.st_blocks)
6721 rm -f conftest.$ac_objext
6722 if { (ac_try="$ac_compile"
6724 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6725 *) ac_try_echo
=$ac_try;;
6727 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6728 $as_echo "$ac_try_echo") >&5
6729 (eval "$ac_compile") 2>conftest.er1
6731 grep -v '^ *+' conftest.er1
>conftest.err
6733 cat conftest.err
>&5
6734 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6735 (exit $ac_status); } && {
6736 test -z "$ac_c_werror_flag" ||
6737 test ! -s conftest.err
6738 } && test -s conftest.
$ac_objext; then
6739 ac_cv_member_struct_stat_st_blocks
=yes
6741 $as_echo "$as_me: failed program was:" >&5
6742 sed 's/^/| /' conftest.
$ac_ext >&5
6744 ac_cv_member_struct_stat_st_blocks
=no
6747 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6750 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6752 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
6753 $as_echo "$ac_cv_member_struct_stat_st_blocks" >&6; }
6754 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then
6756 cat >>confdefs.h
<<_ACEOF
6757 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6761 cat >>confdefs.h
<<\_ACEOF
6762 #define HAVE_ST_BLOCKS 1
6766 case " $LIBOBJS " in
6767 *" fileblocks.$ac_objext "* ) ;;
6768 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6775 { $as_echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6776 $as_echo_n "checking for struct stat.st_rdev... " >&6; }
6777 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6778 $as_echo_n "(cached) " >&6
6780 cat >conftest.
$ac_ext <<_ACEOF
6783 cat confdefs.h
>>conftest.
$ac_ext
6784 cat >>conftest.
$ac_ext <<_ACEOF
6785 /* end confdefs.h. */
6786 $ac_includes_default
6790 static struct stat ac_aggr;
6791 if (ac_aggr.st_rdev)
6797 rm -f conftest.
$ac_objext
6798 if { (ac_try
="$ac_compile"
6800 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6801 *) ac_try_echo=$ac_try;;
6803 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6804 $as_echo "$ac_try_echo") >&5
6805 (eval "$ac_compile") 2>conftest.er1
6807 grep -v '^ *+' conftest.er1 >conftest.err
6809 cat conftest.err >&5
6810 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6811 (exit $ac_status); } && {
6812 test -z "$ac_c_werror_flag" ||
6813 test ! -s conftest.err
6814 } && test -s conftest.$ac_objext; then
6815 ac_cv_member_struct_stat_st_rdev=yes
6817 $as_echo "$as_me: failed program was:" >&5
6818 sed 's/^/| /' conftest.$ac_ext >&5
6820 cat >conftest.$ac_ext <<_ACEOF
6823 cat confdefs.h >>conftest.$ac_ext
6824 cat >>conftest.$ac_ext <<_ACEOF
6825 /* end confdefs.h. */
6826 $ac_includes_default
6830 static struct stat ac_aggr;
6831 if (sizeof ac_aggr.st_rdev)
6837 rm -f conftest.$ac_objext
6838 if { (ac_try="$ac_compile"
6840 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6841 *) ac_try_echo
=$ac_try;;
6843 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6844 $as_echo "$ac_try_echo") >&5
6845 (eval "$ac_compile") 2>conftest.er1
6847 grep -v '^ *+' conftest.er1
>conftest.err
6849 cat conftest.err
>&5
6850 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6851 (exit $ac_status); } && {
6852 test -z "$ac_c_werror_flag" ||
6853 test ! -s conftest.err
6854 } && test -s conftest.
$ac_objext; then
6855 ac_cv_member_struct_stat_st_rdev
=yes
6857 $as_echo "$as_me: failed program was:" >&5
6858 sed 's/^/| /' conftest.
$ac_ext >&5
6860 ac_cv_member_struct_stat_st_rdev
=no
6863 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6866 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6868 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
6869 $as_echo "$ac_cv_member_struct_stat_st_rdev" >&6; }
6870 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then
6872 cat >>confdefs.h
<<_ACEOF
6873 #define HAVE_STRUCT_STAT_ST_RDEV 1
6877 cat >>confdefs.h
<<\_ACEOF
6878 #define HAVE_ST_RDEV 1
6884 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6885 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6886 if test "${ac_cv_struct_tm+set}" = set; then
6887 $as_echo_n "(cached) " >&6
6889 cat >conftest.
$ac_ext <<_ACEOF
6892 cat confdefs.h
>>conftest.
$ac_ext
6893 cat >>conftest.
$ac_ext <<_ACEOF
6894 /* end confdefs.h. */
6895 #include <sys/types.h>
6902 int *p = &tm.tm_sec;
6908 rm -f conftest.
$ac_objext
6909 if { (ac_try
="$ac_compile"
6911 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6912 *) ac_try_echo=$ac_try;;
6914 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6915 $as_echo "$ac_try_echo") >&5
6916 (eval "$ac_compile") 2>conftest.er1
6918 grep -v '^ *+' conftest.er1 >conftest.err
6920 cat conftest.err >&5
6921 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6922 (exit $ac_status); } && {
6923 test -z "$ac_c_werror_flag" ||
6924 test ! -s conftest.err
6925 } && test -s conftest.$ac_objext; then
6926 ac_cv_struct_tm=time.h
6928 $as_echo "$as_me: failed program was:" >&5
6929 sed 's/^/| /' conftest.$ac_ext >&5
6931 ac_cv_struct_tm=sys/time.h
6934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6936 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6937 $as_echo "$ac_cv_struct_tm" >&6; }
6938 if test $ac_cv_struct_tm = sys/time.h; then
6940 cat >>confdefs.h <<\_ACEOF
6941 #define TM_IN_SYS_TIME 1
6946 { $as_echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
6947 $as_echo_n "checking for struct tm.tm_zone... " >&6; }
6948 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
6949 $as_echo_n "(cached) " >&6
6951 cat >conftest.$ac_ext <<_ACEOF
6954 cat confdefs.h >>conftest.$ac_ext
6955 cat >>conftest.$ac_ext <<_ACEOF
6956 /* end confdefs.h. */
6957 #include <sys/types.h>
6958 #include <$ac_cv_struct_tm>
6964 static struct tm ac_aggr;
6965 if (ac_aggr.tm_zone)
6971 rm -f conftest.$ac_objext
6972 if { (ac_try="$ac_compile"
6974 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6975 *) ac_try_echo
=$ac_try;;
6977 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6978 $as_echo "$ac_try_echo") >&5
6979 (eval "$ac_compile") 2>conftest.er1
6981 grep -v '^ *+' conftest.er1
>conftest.err
6983 cat conftest.err
>&5
6984 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6985 (exit $ac_status); } && {
6986 test -z "$ac_c_werror_flag" ||
6987 test ! -s conftest.err
6988 } && test -s conftest.
$ac_objext; then
6989 ac_cv_member_struct_tm_tm_zone
=yes
6991 $as_echo "$as_me: failed program was:" >&5
6992 sed 's/^/| /' conftest.
$ac_ext >&5
6994 cat >conftest.
$ac_ext <<_ACEOF
6997 cat confdefs.h
>>conftest.
$ac_ext
6998 cat >>conftest.
$ac_ext <<_ACEOF
6999 /* end confdefs.h. */
7000 #include <sys/types.h>
7001 #include <$ac_cv_struct_tm>
7007 static struct tm ac_aggr;
7008 if (sizeof ac_aggr.tm_zone)
7014 rm -f conftest.
$ac_objext
7015 if { (ac_try
="$ac_compile"
7017 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7018 *) ac_try_echo=$ac_try;;
7020 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7021 $as_echo "$ac_try_echo") >&5
7022 (eval "$ac_compile") 2>conftest.er1
7024 grep -v '^ *+' conftest.er1 >conftest.err
7026 cat conftest.err >&5
7027 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7028 (exit $ac_status); } && {
7029 test -z "$ac_c_werror_flag" ||
7030 test ! -s conftest.err
7031 } && test -s conftest.$ac_objext; then
7032 ac_cv_member_struct_tm_tm_zone=yes
7034 $as_echo "$as_me: failed program was:" >&5
7035 sed 's/^/| /' conftest.$ac_ext >&5
7037 ac_cv_member_struct_tm_tm_zone=no
7040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7045 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
7046 $as_echo "$ac_cv_member_struct_tm_tm_zone" >&6; }
7047 if test "x$ac_cv_member_struct_tm_tm_zone" = x""yes; then
7049 cat >>confdefs.h <<_ACEOF
7050 #define HAVE_STRUCT_TM_TM_ZONE 1
7056 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
7058 cat >>confdefs.h <<\_ACEOF
7059 #define HAVE_TM_ZONE 1
7063 { $as_echo "$as_me:$LINENO: checking whether tzname is declared" >&5
7064 $as_echo_n "checking whether tzname is declared... " >&6; }
7065 if test "${ac_cv_have_decl_tzname+set}" = set; then
7066 $as_echo_n "(cached) " >&6
7068 cat >conftest.$ac_ext <<_ACEOF
7071 cat confdefs.h >>conftest.$ac_ext
7072 cat >>conftest.$ac_ext <<_ACEOF
7073 /* end confdefs.h. */
7087 rm -f conftest.$ac_objext
7088 if { (ac_try="$ac_compile"
7090 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7091 *) ac_try_echo
=$ac_try;;
7093 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7094 $as_echo "$ac_try_echo") >&5
7095 (eval "$ac_compile") 2>conftest.er1
7097 grep -v '^ *+' conftest.er1
>conftest.err
7099 cat conftest.err
>&5
7100 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7101 (exit $ac_status); } && {
7102 test -z "$ac_c_werror_flag" ||
7103 test ! -s conftest.err
7104 } && test -s conftest.
$ac_objext; then
7105 ac_cv_have_decl_tzname
=yes
7107 $as_echo "$as_me: failed program was:" >&5
7108 sed 's/^/| /' conftest.
$ac_ext >&5
7110 ac_cv_have_decl_tzname
=no
7113 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7115 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5
7116 $as_echo "$ac_cv_have_decl_tzname" >&6; }
7117 if test "x$ac_cv_have_decl_tzname" = x
""yes; then
7119 cat >>confdefs.h
<<_ACEOF
7120 #define HAVE_DECL_TZNAME 1
7125 cat >>confdefs.h
<<_ACEOF
7126 #define HAVE_DECL_TZNAME 0
7133 { $as_echo "$as_me:$LINENO: checking for tzname" >&5
7134 $as_echo_n "checking for tzname... " >&6; }
7135 if test "${ac_cv_var_tzname+set}" = set; then
7136 $as_echo_n "(cached) " >&6
7138 cat >conftest.
$ac_ext <<_ACEOF
7141 cat confdefs.h
>>conftest.
$ac_ext
7142 cat >>conftest.
$ac_ext <<_ACEOF
7143 /* end confdefs.h. */
7145 #if !HAVE_DECL_TZNAME
7146 extern char *tzname[];
7152 return tzname[0][0];
7157 rm -f conftest.
$ac_objext conftest
$ac_exeext
7158 if { (ac_try
="$ac_link"
7160 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7161 *) ac_try_echo=$ac_try;;
7163 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7164 $as_echo "$ac_try_echo") >&5
7165 (eval "$ac_link") 2>conftest.er1
7167 grep -v '^ *+' conftest.er1 >conftest.err
7169 cat conftest.err >&5
7170 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7171 (exit $ac_status); } && {
7172 test -z "$ac_c_werror_flag" ||
7173 test ! -s conftest.err
7174 } && test -s conftest$ac_exeext && {
7175 test "$cross_compiling" = yes ||
7176 $as_test_x conftest$ac_exeext
7178 ac_cv_var_tzname=yes
7180 $as_echo "$as_me: failed program was:" >&5
7181 sed 's/^/| /' conftest.$ac_ext >&5
7186 rm -rf conftest.dSYM
7187 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7188 conftest$ac_exeext conftest.$ac_ext
7190 { $as_echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
7191 $as_echo "$ac_cv_var_tzname" >&6; }
7192 if test $ac_cv_var_tzname = yes; then
7194 cat >>confdefs.h <<\_ACEOF
7195 #define HAVE_TZNAME 1
7201 { $as_echo "$as_me:$LINENO: checking for off_t" >&5
7202 $as_echo_n "checking for off_t... " >&6; }
7203 if test "${ac_cv_type_off_t+set}" = set; then
7204 $as_echo_n "(cached) " >&6
7207 cat >conftest.$ac_ext <<_ACEOF
7210 cat confdefs.h >>conftest.$ac_ext
7211 cat >>conftest.$ac_ext <<_ACEOF
7212 /* end confdefs.h. */
7213 $ac_includes_default
7223 rm -f conftest.$ac_objext
7224 if { (ac_try="$ac_compile"
7226 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7227 *) ac_try_echo
=$ac_try;;
7229 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7230 $as_echo "$ac_try_echo") >&5
7231 (eval "$ac_compile") 2>conftest.er1
7233 grep -v '^ *+' conftest.er1
>conftest.err
7235 cat conftest.err
>&5
7236 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7237 (exit $ac_status); } && {
7238 test -z "$ac_c_werror_flag" ||
7239 test ! -s conftest.err
7240 } && test -s conftest.
$ac_objext; then
7241 cat >conftest.
$ac_ext <<_ACEOF
7244 cat confdefs.h
>>conftest.
$ac_ext
7245 cat >>conftest.
$ac_ext <<_ACEOF
7246 /* end confdefs.h. */
7247 $ac_includes_default
7251 if (sizeof ((off_t)))
7257 rm -f conftest.
$ac_objext
7258 if { (ac_try
="$ac_compile"
7260 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7261 *) ac_try_echo=$ac_try;;
7263 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7264 $as_echo "$ac_try_echo") >&5
7265 (eval "$ac_compile") 2>conftest.er1
7267 grep -v '^ *+' conftest.er1 >conftest.err
7269 cat conftest.err >&5
7270 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7271 (exit $ac_status); } && {
7272 test -z "$ac_c_werror_flag" ||
7273 test ! -s conftest.err
7274 } && test -s conftest.$ac_objext; then
7277 $as_echo "$as_me: failed program was:" >&5
7278 sed 's/^/| /' conftest.$ac_ext >&5
7280 ac_cv_type_off_t=yes
7283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7285 $as_echo "$as_me: failed program was:" >&5
7286 sed 's/^/| /' conftest.$ac_ext >&5
7291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7293 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
7294 $as_echo "$ac_cv_type_off_t" >&6; }
7295 if test "x$ac_cv_type_off_t" = x""yes; then
7299 cat >>confdefs.h <<_ACEOF
7300 #define off_t long int
7305 { $as_echo "$as_me:$LINENO: checking for pid_t" >&5
7306 $as_echo_n "checking for pid_t... " >&6; }
7307 if test "${ac_cv_type_pid_t+set}" = set; then
7308 $as_echo_n "(cached) " >&6
7311 cat >conftest.$ac_ext <<_ACEOF
7314 cat confdefs.h >>conftest.$ac_ext
7315 cat >>conftest.$ac_ext <<_ACEOF
7316 /* end confdefs.h. */
7317 $ac_includes_default
7327 rm -f conftest.$ac_objext
7328 if { (ac_try="$ac_compile"
7330 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7331 *) ac_try_echo
=$ac_try;;
7333 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7334 $as_echo "$ac_try_echo") >&5
7335 (eval "$ac_compile") 2>conftest.er1
7337 grep -v '^ *+' conftest.er1
>conftest.err
7339 cat conftest.err
>&5
7340 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7341 (exit $ac_status); } && {
7342 test -z "$ac_c_werror_flag" ||
7343 test ! -s conftest.err
7344 } && test -s conftest.
$ac_objext; then
7345 cat >conftest.
$ac_ext <<_ACEOF
7348 cat confdefs.h
>>conftest.
$ac_ext
7349 cat >>conftest.
$ac_ext <<_ACEOF
7350 /* end confdefs.h. */
7351 $ac_includes_default
7355 if (sizeof ((pid_t)))
7361 rm -f conftest.
$ac_objext
7362 if { (ac_try
="$ac_compile"
7364 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7365 *) ac_try_echo=$ac_try;;
7367 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7368 $as_echo "$ac_try_echo") >&5
7369 (eval "$ac_compile") 2>conftest.er1
7371 grep -v '^ *+' conftest.er1 >conftest.err
7373 cat conftest.err >&5
7374 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7375 (exit $ac_status); } && {
7376 test -z "$ac_c_werror_flag" ||
7377 test ! -s conftest.err
7378 } && test -s conftest.$ac_objext; then
7381 $as_echo "$as_me: failed program was:" >&5
7382 sed 's/^/| /' conftest.$ac_ext >&5
7384 ac_cv_type_pid_t=yes
7387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7389 $as_echo "$as_me: failed program was:" >&5
7390 sed 's/^/| /' conftest.$ac_ext >&5
7395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7397 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
7398 $as_echo "$ac_cv_type_pid_t" >&6; }
7399 if test "x$ac_cv_type_pid_t" = x""yes; then
7403 cat >>confdefs.h <<_ACEOF
7409 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
7410 $as_echo_n "checking for size_t... " >&6; }
7411 if test "${ac_cv_type_size_t+set}" = set; then
7412 $as_echo_n "(cached) " >&6
7414 ac_cv_type_size_t=no
7415 cat >conftest.$ac_ext <<_ACEOF
7418 cat confdefs.h >>conftest.$ac_ext
7419 cat >>conftest.$ac_ext <<_ACEOF
7420 /* end confdefs.h. */
7421 $ac_includes_default
7425 if (sizeof (size_t))
7431 rm -f conftest.$ac_objext
7432 if { (ac_try="$ac_compile"
7434 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7435 *) ac_try_echo
=$ac_try;;
7437 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7438 $as_echo "$ac_try_echo") >&5
7439 (eval "$ac_compile") 2>conftest.er1
7441 grep -v '^ *+' conftest.er1
>conftest.err
7443 cat conftest.err
>&5
7444 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7445 (exit $ac_status); } && {
7446 test -z "$ac_c_werror_flag" ||
7447 test ! -s conftest.err
7448 } && test -s conftest.
$ac_objext; then
7449 cat >conftest.
$ac_ext <<_ACEOF
7452 cat confdefs.h
>>conftest.
$ac_ext
7453 cat >>conftest.
$ac_ext <<_ACEOF
7454 /* end confdefs.h. */
7455 $ac_includes_default
7459 if (sizeof ((size_t)))
7465 rm -f conftest.
$ac_objext
7466 if { (ac_try
="$ac_compile"
7468 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7469 *) ac_try_echo=$ac_try;;
7471 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7472 $as_echo "$ac_try_echo") >&5
7473 (eval "$ac_compile") 2>conftest.er1
7475 grep -v '^ *+' conftest.er1 >conftest.err
7477 cat conftest.err >&5
7478 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7479 (exit $ac_status); } && {
7480 test -z "$ac_c_werror_flag" ||
7481 test ! -s conftest.err
7482 } && test -s conftest.$ac_objext; then
7485 $as_echo "$as_me: failed program was:" >&5
7486 sed 's/^/| /' conftest.$ac_ext >&5
7488 ac_cv_type_size_t=yes
7491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7493 $as_echo "$as_me: failed program was:" >&5
7494 sed 's/^/| /' conftest.$ac_ext >&5
7499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7501 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
7502 $as_echo "$ac_cv_type_size_t" >&6; }
7503 if test "x$ac_cv_type_size_t" = x""yes; then
7507 cat >>confdefs.h <<_ACEOF
7508 #define size_t unsigned int
7513 { $as_echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
7514 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
7515 if test "${ac_cv_type_uid_t+set}" = set; then
7516 $as_echo_n "(cached) " >&6
7518 cat >conftest.$ac_ext <<_ACEOF
7521 cat confdefs.h >>conftest.$ac_ext
7522 cat >>conftest.$ac_ext <<_ACEOF
7523 /* end confdefs.h. */
7524 #include <sys/types.h>
7527 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7528 $EGREP "uid_t" >/dev/null 2>&1; then
7529 ac_cv_type_uid_t=yes
7536 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
7537 $as_echo "$ac_cv_type_uid_t" >&6; }
7538 if test $ac_cv_type_uid_t = no; then
7540 cat >>confdefs.h <<\_ACEOF
7545 cat >>confdefs.h <<\_ACEOF
7552 { $as_echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
7553 $as_echo_n "checking for struct tm.tm_gmtoff... " >&6; }
7554 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
7555 $as_echo_n "(cached) " >&6
7557 cat >conftest.$ac_ext <<_ACEOF
7560 cat confdefs.h >>conftest.$ac_ext
7561 cat >>conftest.$ac_ext <<_ACEOF
7562 /* end confdefs.h. */
7563 $ac_includes_default
7567 static struct tm ac_aggr;
7568 if (ac_aggr.tm_gmtoff)
7574 rm -f conftest.$ac_objext
7575 if { (ac_try="$ac_compile"
7577 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7578 *) ac_try_echo
=$ac_try;;
7580 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7581 $as_echo "$ac_try_echo") >&5
7582 (eval "$ac_compile") 2>conftest.er1
7584 grep -v '^ *+' conftest.er1
>conftest.err
7586 cat conftest.err
>&5
7587 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7588 (exit $ac_status); } && {
7589 test -z "$ac_c_werror_flag" ||
7590 test ! -s conftest.err
7591 } && test -s conftest.
$ac_objext; then
7592 ac_cv_member_struct_tm_tm_gmtoff
=yes
7594 $as_echo "$as_me: failed program was:" >&5
7595 sed 's/^/| /' conftest.
$ac_ext >&5
7597 cat >conftest.
$ac_ext <<_ACEOF
7600 cat confdefs.h
>>conftest.
$ac_ext
7601 cat >>conftest.
$ac_ext <<_ACEOF
7602 /* end confdefs.h. */
7603 $ac_includes_default
7607 static struct tm ac_aggr;
7608 if (sizeof ac_aggr.tm_gmtoff)
7614 rm -f conftest.
$ac_objext
7615 if { (ac_try
="$ac_compile"
7617 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7618 *) ac_try_echo=$ac_try;;
7620 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7621 $as_echo "$ac_try_echo") >&5
7622 (eval "$ac_compile") 2>conftest.er1
7624 grep -v '^ *+' conftest.er1 >conftest.err
7626 cat conftest.err >&5
7627 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7628 (exit $ac_status); } && {
7629 test -z "$ac_c_werror_flag" ||
7630 test ! -s conftest.err
7631 } && test -s conftest.$ac_objext; then
7632 ac_cv_member_struct_tm_tm_gmtoff=yes
7634 $as_echo "$as_me: failed program was:" >&5
7635 sed 's/^/| /' conftest.$ac_ext >&5
7637 ac_cv_member_struct_tm_tm_gmtoff=no
7640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7645 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
7646 $as_echo "$ac_cv_member_struct_tm_tm_gmtoff" >&6; }
7647 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x""yes; then
7649 cat >>confdefs.h <<_ACEOF
7650 #define HAVE_STRUCT_TM_TM_GMTOFF 1
7657 # Look for some functions
7672 for ac_func in getpagesize kqueue statfs statvfs \
7673 clone kse_create rfork_thread thr_create sa_register \
7674 getcontext makecontext setcontext sigaltstack swapcontext
7676 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
7677 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
7678 $as_echo_n "checking for $ac_func... " >&6; }
7679 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7680 $as_echo_n "(cached) " >&6
7682 cat >conftest.$ac_ext <<_ACEOF
7685 cat confdefs.h >>conftest.$ac_ext
7686 cat >>conftest.$ac_ext <<_ACEOF
7687 /* end confdefs.h. */
7688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7690 #define $ac_func innocuous_$ac_func
7692 /* System header to define __stub macros and hopefully few prototypes,
7693 which can conflict with char $ac_func (); below.
7694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7695 <limits.h> exists even on freestanding compilers. */
7698 # include <limits.h>
7700 # include <assert.h>
7705 /* Override any GCC internal prototype to avoid an error.
7706 Use char because int might match the return type of a GCC
7707 builtin and then its argument prototype would still apply. */
7712 /* The GNU C library defines this for functions which it implements
7713 to always fail with ENOSYS. Some functions are actually named
7714 something starting with __ and the normal name is an alias. */
7715 #if defined __stub_$ac_func || defined __stub___$ac_func
7727 rm -f conftest.$ac_objext conftest$ac_exeext
7728 if { (ac_try="$ac_link"
7730 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7731 *) ac_try_echo
=$ac_try;;
7733 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7734 $as_echo "$ac_try_echo") >&5
7735 (eval "$ac_link") 2>conftest.er1
7737 grep -v '^ *+' conftest.er1
>conftest.err
7739 cat conftest.err
>&5
7740 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7741 (exit $ac_status); } && {
7742 test -z "$ac_c_werror_flag" ||
7743 test ! -s conftest.err
7744 } && test -s conftest
$ac_exeext && {
7745 test "$cross_compiling" = yes ||
7746 $as_test_x conftest
$ac_exeext
7748 eval "$as_ac_var=yes"
7750 $as_echo "$as_me: failed program was:" >&5
7751 sed 's/^/| /' conftest.
$ac_ext >&5
7753 eval "$as_ac_var=no"
7756 rm -rf conftest.dSYM
7757 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7758 conftest
$ac_exeext conftest.
$ac_ext
7760 ac_res
=`eval 'as_val=${'$as_ac_var'}
7761 $as_echo "$as_val"'`
7762 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7763 $as_echo "$ac_res" >&6; }
7764 as_val
=`eval 'as_val=${'$as_ac_var'}
7765 $as_echo "$as_val"'`
7766 if test "x$as_val" = x
""yes; then
7767 cat >>confdefs.h
<<_ACEOF
7768 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7777 for ac_header
in stdlib.h unistd.h
7779 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7780 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7781 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7782 $as_echo_n "checking for $ac_header... " >&6; }
7783 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7784 $as_echo_n "(cached) " >&6
7786 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7787 $as_echo "$as_val"'`
7788 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7789 $as_echo "$ac_res" >&6; }
7791 # Is the header compilable?
7792 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7793 $as_echo_n "checking $ac_header usability... " >&6; }
7794 cat >conftest.
$ac_ext <<_ACEOF
7797 cat confdefs.h
>>conftest.
$ac_ext
7798 cat >>conftest.
$ac_ext <<_ACEOF
7799 /* end confdefs.h. */
7800 $ac_includes_default
7801 #include <$ac_header>
7803 rm -f conftest.
$ac_objext
7804 if { (ac_try
="$ac_compile"
7806 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7807 *) ac_try_echo=$ac_try;;
7809 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7810 $as_echo "$ac_try_echo") >&5
7811 (eval "$ac_compile") 2>conftest.er1
7813 grep -v '^ *+' conftest.er1 >conftest.err
7815 cat conftest.err >&5
7816 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7817 (exit $ac_status); } && {
7818 test -z "$ac_c_werror_flag" ||
7819 test ! -s conftest.err
7820 } && test -s conftest.$ac_objext; then
7821 ac_header_compiler=yes
7823 $as_echo "$as_me: failed program was:" >&5
7824 sed 's/^/| /' conftest.$ac_ext >&5
7826 ac_header_compiler=no
7829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7830 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7831 $as_echo "$ac_header_compiler" >&6; }
7833 # Is the header present?
7834 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7835 $as_echo_n "checking $ac_header presence... " >&6; }
7836 cat >conftest.$ac_ext <<_ACEOF
7839 cat confdefs.h >>conftest.$ac_ext
7840 cat >>conftest.$ac_ext <<_ACEOF
7841 /* end confdefs.h. */
7842 #include <$ac_header>
7844 if { (ac_try="$ac_cpp conftest.$ac_ext"
7846 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7847 *) ac_try_echo
=$ac_try;;
7849 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7850 $as_echo "$ac_try_echo") >&5
7851 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7853 grep -v '^ *+' conftest.er1
>conftest.err
7855 cat conftest.err
>&5
7856 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7857 (exit $ac_status); } >/dev
/null
&& {
7858 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7859 test ! -s conftest.err
7861 ac_header_preproc
=yes
7863 $as_echo "$as_me: failed program was:" >&5
7864 sed 's/^/| /' conftest.
$ac_ext >&5
7866 ac_header_preproc
=no
7869 rm -f conftest.err conftest.
$ac_ext
7870 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7871 $as_echo "$ac_header_preproc" >&6; }
7873 # So? What about this header?
7874 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7876 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7877 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7878 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7879 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7880 ac_header_preproc
=yes
7883 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7884 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7885 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7886 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7887 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7888 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7889 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7890 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7891 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7892 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7893 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7894 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7898 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7899 $as_echo_n "checking for $ac_header... " >&6; }
7900 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7901 $as_echo_n "(cached) " >&6
7903 eval "$as_ac_Header=\$ac_header_preproc"
7905 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7906 $as_echo "$as_val"'`
7907 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7908 $as_echo "$ac_res" >&6; }
7911 as_val
=`eval 'as_val=${'$as_ac_Header'}
7912 $as_echo "$as_val"'`
7913 if test "x$as_val" = x
""yes; then
7914 cat >>confdefs.h
<<_ACEOF
7915 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7923 for ac_func
in getpagesize
7925 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7926 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
7927 $as_echo_n "checking for $ac_func... " >&6; }
7928 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7929 $as_echo_n "(cached) " >&6
7931 cat >conftest.
$ac_ext <<_ACEOF
7934 cat confdefs.h
>>conftest.
$ac_ext
7935 cat >>conftest.
$ac_ext <<_ACEOF
7936 /* end confdefs.h. */
7937 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7938 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7939 #define $ac_func innocuous_$ac_func
7941 /* System header to define __stub macros and hopefully few prototypes,
7942 which can conflict with char $ac_func (); below.
7943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7944 <limits.h> exists even on freestanding compilers. */
7947 # include <limits.h>
7949 # include <assert.h>
7954 /* Override any GCC internal prototype to avoid an error.
7955 Use char because int might match the return type of a GCC
7956 builtin and then its argument prototype would still apply. */
7961 /* The GNU C library defines this for functions which it implements
7962 to always fail with ENOSYS. Some functions are actually named
7963 something starting with __ and the normal name is an alias. */
7964 #if defined __stub_$ac_func || defined __stub___$ac_func
7976 rm -f conftest.
$ac_objext conftest
$ac_exeext
7977 if { (ac_try
="$ac_link"
7979 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7980 *) ac_try_echo=$ac_try;;
7982 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7983 $as_echo "$ac_try_echo") >&5
7984 (eval "$ac_link") 2>conftest.er1
7986 grep -v '^ *+' conftest.er1 >conftest.err
7988 cat conftest.err >&5
7989 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7990 (exit $ac_status); } && {
7991 test -z "$ac_c_werror_flag" ||
7992 test ! -s conftest.err
7993 } && test -s conftest$ac_exeext && {
7994 test "$cross_compiling" = yes ||
7995 $as_test_x conftest$ac_exeext
7997 eval "$as_ac_var=yes"
7999 $as_echo "$as_me: failed program was:" >&5
8000 sed 's/^/| /' conftest.$ac_ext >&5
8002 eval "$as_ac_var=no"
8005 rm -rf conftest.dSYM
8006 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8007 conftest$ac_exeext conftest.$ac_ext
8009 ac_res=`eval 'as_val=${'$as_ac_var'}
8010 $as_echo "$as_val"'`
8011 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8012 $as_echo "$ac_res" >&6; }
8013 as_val=`eval 'as_val=${'$as_ac_var'}
8014 $as_echo "$as_val"'`
8015 if test "x$as_val" = x""yes; then
8016 cat >>confdefs.h <<_ACEOF
8017 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
8023 { $as_echo "$as_me:$LINENO: checking for working mmap" >&5
8024 $as_echo_n "checking for working mmap... " >&6; }
8025 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
8026 $as_echo_n "(cached) " >&6
8028 if test "$cross_compiling" = yes; then
8029 ac_cv_func_mmap_fixed_mapped=no
8031 cat >conftest.$ac_ext <<_ACEOF
8034 cat confdefs.h >>conftest.$ac_ext
8035 cat >>conftest.$ac_ext <<_ACEOF
8036 /* end confdefs.h. */
8037 $ac_includes_default
8038 /* malloc might have been renamed as rpl_malloc. */
8041 /* Thanks to Mike Haertel and Jim Avera for this test.
8042 Here is a matrix of mmap possibilities:
8043 mmap private not fixed
8044 mmap private fixed at somewhere currently unmapped
8045 mmap private fixed at somewhere already mapped
8046 mmap shared not fixed
8047 mmap shared fixed at somewhere currently unmapped
8048 mmap shared fixed at somewhere already mapped
8049 For private mappings, we should verify that changes cannot be read()
8050 back from the file, nor mmap's back from the file at a different
8051 address. (There have been systems where private was not correctly
8052 implemented like the infamous i386 svr4.0, and systems where the
8053 VM page cache was not coherent with the file system buffer cache
8054 like early versions of FreeBSD and possibly contemporary NetBSD.)
8055 For shared mappings, we should conversely verify that changes get
8056 propagated back to all the places they're supposed to be.
8058 Grep wants private fixed already mapped.
8059 The main things grep needs to know about mmap are:
8060 * does it exist and is it safe to write into the mmap'd area
8061 * how to use it (BSD variants) */
8064 #include <sys/mman.h>
8066 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
8070 /* This mess was copied from the GNU getpagesize.h. */
8071 #ifndef HAVE_GETPAGESIZE
8072 /* Assume that all systems that can run configure have sys/param.h. */
8073 # ifndef HAVE_SYS_PARAM_H
8074 # define HAVE_SYS_PARAM_H 1
8077 # ifdef _SC_PAGESIZE
8078 # define getpagesize() sysconf(_SC_PAGESIZE)
8079 # else /* no _SC_PAGESIZE */
8080 # ifdef HAVE_SYS_PARAM_H
8081 # include <sys/param.h>
8082 # ifdef EXEC_PAGESIZE
8083 # define getpagesize() EXEC_PAGESIZE
8084 # else /* no EXEC_PAGESIZE */
8086 # define getpagesize() NBPG * CLSIZE
8089 # endif /* no CLSIZE */
8090 # else /* no NBPG */
8092 # define getpagesize() NBPC
8093 # else /* no NBPC */
8095 # define getpagesize() PAGESIZE
8096 # endif /* PAGESIZE */
8097 # endif /* no NBPC */
8098 # endif /* no NBPG */
8099 # endif /* no EXEC_PAGESIZE */
8100 # else /* no HAVE_SYS_PARAM_H */
8101 # define getpagesize() 8192 /* punt totally */
8102 # endif /* no HAVE_SYS_PARAM_H */
8103 # endif /* no _SC_PAGESIZE */
8105 #endif /* no HAVE_GETPAGESIZE */
8110 char *data, *data2, *data3;
8114 pagesize = getpagesize ();
8116 /* First, make a file with some known garbage in it. */
8117 data = (char *) malloc (pagesize);
8120 for (i = 0; i < pagesize; ++i)
8121 *(data + i) = rand ();
8123 fd = creat ("conftest.mmap", 0600);
8126 if (write (fd, data, pagesize) != pagesize)
8130 /* Next, try to mmap the file at a fixed address which already has
8131 something else allocated at it. If we can, also make sure that
8132 we see the same garbage. */
8133 fd = open ("conftest.mmap", O_RDWR);
8136 data2 = (char *) malloc (2 * pagesize);
8139 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
8140 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
8141 MAP_PRIVATE | MAP_FIXED, fd, 0L))
8143 for (i = 0; i < pagesize; ++i)
8144 if (*(data + i) != *(data2 + i))
8147 /* Finally, make sure that changes to the mapped area do not
8148 percolate back to the file as seen by read(). (This is a bug on
8149 some variants of i386 svr4.0.) */
8150 for (i = 0; i < pagesize; ++i)
8151 *(data2 + i) = *(data2 + i) + 1;
8152 data3 = (char *) malloc (pagesize);
8155 if (read (fd, data3, pagesize) != pagesize)
8157 for (i = 0; i < pagesize; ++i)
8158 if (*(data + i) != *(data3 + i))
8164 rm -f conftest$ac_exeext
8165 if { (ac_try="$ac_link"
8167 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8168 *) ac_try_echo
=$ac_try;;
8170 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8171 $as_echo "$ac_try_echo") >&5
8172 (eval "$ac_link") 2>&5
8174 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8175 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8176 { (case "(($ac_try" in
8177 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8178 *) ac_try_echo=$ac_try;;
8180 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8181 $as_echo "$ac_try_echo") >&5
8182 (eval "$ac_try") 2>&5
8184 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8185 (exit $ac_status); }; }; then
8186 ac_cv_func_mmap_fixed_mapped=yes
8188 $as_echo "$as_me: program exited with status $ac_status" >&5
8189 $as_echo "$as_me: failed program was:" >&5
8190 sed 's/^/| /' conftest.$ac_ext >&5
8193 ac_cv_func_mmap_fixed_mapped=no
8195 rm -rf conftest.dSYM
8196 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8201 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
8202 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
8203 if test $ac_cv_func_mmap_fixed_mapped = yes; then
8205 cat >>confdefs.h <<\_ACEOF
8215 aros_config_cflags="-Wall -Werror-implicit-function-declaration"
8216 aros_config_aflags="-Wall -x assembler-with-cpp -c"
8217 aros_config_ldflags=""
8219 aros_shared_default=yes
8221 aros_shared_cflags="-fPIC"
8222 aros_shared_aflags=""
8223 aros_shared_ldflags="-Wl,-rpath,./lib -shared"
8224 aros_kernel_ldflags="-Wl,-rpath,./lib"
8226 aros_target_ar_flags="cr"
8227 aros_target_nm_flags="-C -ul"
8228 aros_target_strip_flags="--strip-unneeded -R.comment"
8233 aros_target_genmap="-Wl,-Map -Xlinker"
8235 # Native flavour stuff
8236 aros_serial_debug="0"
8238 # Palm native flavour stuff
8239 aros_palm_debug_hack="0"
8241 # Unix flavour stuff
8242 aros_nesting_supervisor="0"
8244 # Collect-aros stuff: "-ius" to ignore undefined symbols
8245 ignore_undefined_symbols=""
8247 #-----------------------------------------------------------------------------
8250 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
8251 # it switched on by default, and we use the host compiler, so it compiles AROS
8252 # code with this enabled resulting in link failures as we don't have support
8255 # We use two methods to disable it. For the host compiler (used to compile
8256 # some hosted modules), we test to see if the compiler supports stack
8257 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
8258 # work on all platforms.
8260 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
8261 # (this is done unconditionally, as it should have no effect on compilers
8262 # without the stack protection feature). This may be specific to the way that
8263 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
8264 # strong enough to disable it in a generic way though, so we'll live with it
8265 # until another vendor ships GCC with it enabled in a different way, and deal
8269 { $as_echo "$as_me:$LINENO: checking whether ${CC} accepts -fno-stack-protector" >&5
8270 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
8271 save_cflags="$CFLAGS"
8272 CFLAGS="$CFLAGS -fno-stack-protector"
8273 cat >conftest.$ac_ext <<_ACEOF
8276 cat confdefs.h >>conftest.$ac_ext
8277 cat >>conftest.$ac_ext <<_ACEOF
8278 /* end confdefs.h. */
8288 rm -f conftest.$ac_objext
8289 if { (ac_try="$ac_compile"
8291 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8292 *) ac_try_echo
=$ac_try;;
8294 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8295 $as_echo "$ac_try_echo") >&5
8296 (eval "$ac_compile") 2>conftest.er1
8298 grep -v '^ *+' conftest.er1
>conftest.err
8300 cat conftest.err
>&5
8301 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8302 (exit $ac_status); } && {
8303 test -z "$ac_c_werror_flag" ||
8304 test ! -s conftest.err
8305 } && test -s conftest.
$ac_objext; then
8306 use_no_stack_protector
="yes"
8308 $as_echo "$as_me: failed program was:" >&5
8309 sed 's/^/| /' conftest.
$ac_ext >&5
8311 use_no_stack_protector
="no"
8314 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8315 { $as_echo "$as_me:$LINENO: result: $use_no_stack_protector" >&5
8316 $as_echo "$use_no_stack_protector" >&6; }
8317 if test "x-$use_no_stack_protector" = "x-yes" ; then
8318 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
8320 CFLAGS
="$save_cflags"
8322 #-----------------------------------------------------------------------------
8324 # Disable pointer-signedness warnings if the compiler recognises the option
8325 # (this only works for the host compiler at the moment)
8327 { $as_echo "$as_me:$LINENO: checking whether ${CC} accepts -Wno-pointer-sign" >&5
8328 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
8329 save_cflags
="$CFLAGS"
8330 CFLAGS
="$CFLAGS -Wno-pointer-sign"
8331 cat >conftest.
$ac_ext <<_ACEOF
8334 cat confdefs.h
>>conftest.
$ac_ext
8335 cat >>conftest.
$ac_ext <<_ACEOF
8336 /* end confdefs.h. */
8346 rm -f conftest.
$ac_objext
8347 if { (ac_try
="$ac_compile"
8349 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8350 *) ac_try_echo=$ac_try;;
8352 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8353 $as_echo "$ac_try_echo") >&5
8354 (eval "$ac_compile") 2>conftest.er1
8356 grep -v '^ *+' conftest.er1 >conftest.err
8358 cat conftest.err >&5
8359 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8360 (exit $ac_status); } && {
8361 test -z "$ac_c_werror_flag" ||
8362 test ! -s conftest.err
8363 } && test -s conftest.$ac_objext; then
8364 use_no_sign_warning="yes"
8366 $as_echo "$as_me: failed program was:" >&5
8367 sed 's/^/| /' conftest.$ac_ext >&5
8369 use_no_sign_warning="no"
8372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8373 { $as_echo "$as_me:$LINENO: result: $use_no_sign_warning" >&5
8374 $as_echo "$use_no_sign_warning" >&6; }
8375 if test "x-$use_no_sign_warning" = "x-yes" ; then
8376 aros_host_cflags="$aros_host_cflags -Wno-pointer-sign"
8378 CFLAGS="$save_cflags"
8380 #-----------------------------------------------------------------------------
8382 { $as_echo "$as_me:$LINENO: checking for type of build" >&5
8383 $as_echo_n "checking for type of build... " >&6; }
8384 # Check whether --enable-build_type was given.
8385 if test "${enable_build_type+set}" = set; then
8386 enableval=$enable_build_type; build_type=$enableval
8388 build_type="personal"
8392 if test "$build_type" = "nightly"; then
8393 build_type_string="NIGHTLY"
8394 elif test "$build_type" = "snapshot"; then
8395 build_type_string="SNAPSHOT"
8396 elif test "$build_type" = "milestone"; then
8397 build_type_string="MILESTONE"
8398 elif test "$build_type" = "release"; then
8399 build_type_string="RELEASE"
8401 build_type_string="PERSONAL"
8402 build_type="personal"
8405 aros_config_cflags="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
8407 { $as_echo "$as_me:$LINENO: result: $build_type" >&5
8408 $as_echo "$build_type" >&6; }
8410 #-----------------------------------------------------------------------------
8411 all_debug_types="messages stack mungwall modules symbols"
8413 { $as_echo "$as_me:$LINENO: checking which debug types to enable" >&5
8414 $as_echo_n "checking which debug types to enable... " >&6; }
8415 # Check whether --enable-debug was given.
8416 if test "${enable_debug+set}" = set; then
8417 enableval=$enable_debug; debug="$enableval"
8423 if test "$debug" = "" -o "$debug" = "no"; then
8425 elif test "$debug" = "yes"; then
8429 if test "$debug" = "all" ; then
8430 debug=$all_debug_types
8431 for d in $all_debug_types; do
8432 export aros_${d}_debug="1"
8435 for d in $all_debug_types; do
8436 export aros_${d}_debug="0"
8440 if test "$debug" != "none"; then
8441 debug=`echo $debug |
sed s
/,/\
/g
`
8444 for d2 in $all_debug_types; do
8445 if test "$d2" = "$d"; then
8450 if test "$found" = "0"; then
8451 { { $as_echo "$as_me:$LINENO: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&5
8452 $as_echo "$as_me: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&2;}
8453 { (exit 1); exit 1; }; }
8455 export aros_${d}_debug="1"
8459 { $as_echo "$as_me:$LINENO: result: $debug" >&5
8460 $as_echo "$debug" >&6; }
8462 if test "$aros_messages_debug" = "1"; then
8463 aros_messages_debug="-DADEBUG=1 -DMDEBUG=1"
8465 aros_messages_debug=""
8467 if test "$aros_symbols_debug" = "1"; then
8468 aros_symbols_debug="-g"
8470 aros_symbols_debug=""
8473 # These are the flags to pass when compiling debugged programs
8474 aros_debug_cflags="$aros_symbols_debug $aros_messages_debug"
8475 aros_debug_aflags=""
8476 aros_debug_ldflags="$aros_symbols_debug"
8478 aros_crosstools="no"
8480 #-----------------------------------------------------------------------------
8481 # Checking if we should build crosstools..
8482 { $as_echo "$as_me:$LINENO: checking whether to build crosstools" >&5
8483 $as_echo_n "checking whether to build crosstools... " >&6; }
8484 # Check whether --enable-crosstools was given.
8485 if test "${enable_crosstools+set}" = set; then
8486 enableval=$enable_crosstools; crosstools="$enableval"
8491 if test "$crosstools" != "" -a "$crosstools" != "no"; then
8492 { $as_echo "$as_me:$LINENO: result: yes" >&5
8493 $as_echo "yes" >&6; }
8494 aros_crosstools="yes"
8496 { $as_echo "$as_me:$LINENO: result: no" >&5
8497 $as_echo "no" >&6; }
8500 #-----------------------------------------------------------------------------
8501 # Checking for distcc and ccache.
8503 # Always apply the transforms in this particular order. Basically you should
8504 # always run 'ccache distcc compiler' in that order for the best performance.
8506 { $as_echo "$as_me:$LINENO: checking whether to enable distcc" >&5
8507 $as_echo_n "checking whether to enable distcc... " >&6; }
8508 # Check whether --enable-distcc was given.
8509 if test "${enable_distcc+set}" = set; then
8510 enableval=$enable_distcc; distcc="$enableval"
8515 if test "$distcc" != "" -a "$distcc" != "no"; then
8516 # AC_CHECK_PROG will print out the result in this case
8517 # Extract the first word of "distcc", so it can be a program name with args.
8518 set dummy distcc; ac_word=$2
8519 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8520 $as_echo_n "checking for $ac_word... " >&6; }
8521 if test "${ac_cv_path_DISTCC+set}" = set; then
8522 $as_echo_n "(cached) " >&6
8526 ac_cv_path_DISTCC="$DISTCC" # Let the user override the test with a path.
8529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8533 test -z "$as_dir" && as_dir=.
8534 for ac_exec_ext in '' $ac_executable_extensions; do
8535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8536 ac_cv_path_DISTCC="$as_dir/$ac_word$ac_exec_ext"
8537 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8544 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC="distcc"
8548 DISTCC=$ac_cv_path_DISTCC
8549 if test -n "$DISTCC"; then
8550 { $as_echo "$as_me:$LINENO: result: $DISTCC" >&5
8551 $as_echo "$DISTCC" >&6; }
8553 { $as_echo "$as_me:$LINENO: result: no" >&5
8554 $as_echo "no" >&6; }
8559 { $as_echo "$as_me:$LINENO: result: no" >&5
8560 $as_echo "no" >&6; }
8563 { $as_echo "$as_me:$LINENO: checking whether to enable ccache" >&5
8564 $as_echo_n "checking whether to enable ccache... " >&6; }
8565 # Check whether --enable-ccache was given.
8566 if test "${enable_ccache+set}" = set; then
8567 enableval=$enable_ccache; ccache="$enableval"
8572 if test "$ccache" != "" -a "$ccache" != "no"; then
8573 # AC_CHECK_PROG will print out the result in this case
8574 # Extract the first word of "ccache", so it can be a program name with args.
8575 set dummy ccache; ac_word=$2
8576 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8577 $as_echo_n "checking for $ac_word... " >&6; }
8578 if test "${ac_cv_prog_CCACHE+set}" = set; then
8579 $as_echo_n "(cached) " >&6
8581 if test -n "$CCACHE"; then
8582 ac_cv_prog_CCACHE="$CCACHE" # Let the user override the test.
8584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8588 test -z "$as_dir" && as_dir=.
8589 for ac_exec_ext in '' $ac_executable_extensions; do
8590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8591 ac_cv_prog_CCACHE="ccache"
8592 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8601 CCACHE=$ac_cv_prog_CCACHE
8602 if test -n "$CCACHE"; then
8603 { $as_echo "$as_me:$LINENO: result: $CCACHE" >&5
8604 $as_echo "$CCACHE" >&6; }
8606 { $as_echo "$as_me:$LINENO: result: no" >&5
8607 $as_echo "no" >&6; }
8612 { $as_echo "$as_me:$LINENO: result: no" >&5
8613 $as_echo "no" >&6; }
8616 #-----------------------------------------------------------------------------
8617 { $as_echo "$as_me:$LINENO: checking what optimization flags to use" >&5
8618 $as_echo_n "checking what optimization flags to use... " >&6; }
8620 # Check whether --with-optimization was given.
8621 if test "${with_optimization+set}" = set; then
8622 withval=$with_optimization; optimization="$withval"
8624 optimization="unknown"
8627 if test "$optimization" = "unknown"; then
8628 if test "$debug" != "none"; then
8634 aros_config_cflags="$aros_config_cflags $optimization"
8635 { $as_echo "$as_me:$LINENO: result: $optimization" >&5
8636 $as_echo "$optimization" >&6; }
8638 #-----------------------------------------------------------------------------
8639 { $as_echo "$as_me:$LINENO: checking what target variant to enable" >&5
8640 $as_echo_n "checking what target variant to enable... " >&6; }
8641 # Check whether --enable-target_variant was given.
8642 if test "${enable_target_variant+set}" = set; then
8643 enableval=$enable_target_variant; target_variant=$enableval
8645 target_variant="none"
8648 if test "$target_variant" = "none"; then
8649 aros_target_variant=""
8650 aros_target_suffix=""
8652 aros_target_variant="$target_variant"
8653 aros_target_suffix="-$target_variant"
8655 { $as_echo "$as_me:$LINENO: result: $enableval" >&5
8656 $as_echo "$enableval" >&6; }
8658 target_bootloader="none"
8660 #-----------------------------------------------------------------------------
8661 # This is the target configuration switch.
8662 case "$target_os" in
8664 aros_target_arch="linux"
8665 case "$target_cpu" in
8667 aros_target_cpu="m68k"
8668 aros_object_format="m68kelf"
8669 aros_flavour="emulcompat"
8670 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
8671 aros_shared_ldflags="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
8672 aros_kernel_ldflags="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
8673 gcc_target_cpu="mc68000"
8676 aros_target_cpu="i386"
8677 aros_object_format="elf_i386"
8678 aros_flavour="emulation"
8679 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
8680 aros_config_cflags="$aros_config_cflags -m32 -march=i486"
8681 aros_kernel_cflags="$aros_kernel_cflags -m32 -march=i486"
8682 aros_config_aflags="$aros_config_aflags -m32 -march=i486"
8683 aros_config_ldflags="-m32 -march=i486"
8684 aros_kernel_ldflags="-melf_i386"
8685 aros_default_wbdepth=8
8686 gcc_target_cpu="i386"
8689 aros_target_cpu="x86_64"
8690 aros_object_format="elf_x86_64"
8691 aros_flavour="emulation"
8692 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
8693 aros_config_cflags="$aros_config_cflags -mno-red-zone"
8694 aros_default_wbdepth=8
8695 gcc_target_cpu="x86_64"
8698 aros_target_cpu="ppc"
8699 aros_object_format="elf32ppc"
8700 aros_flavour="emulation"
8701 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8702 aros_default_wbdepth=8
8703 gcc_target_cpu="ppc"
8706 # Same as powerpc, but I need this for the nightly build to work again.
8707 # Actually, the nightly should be made working with powerpc target.
8708 # That just was too much work for the moment, another week or two.
8710 aros_target_cpu="ppc"
8711 aros_object_format="elf32ppc"
8712 aros_flavour="emulation"
8713 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8714 aros_default_wbdepth=8
8715 gcc_target_cpu="ppc"
8718 { { $as_echo "$as_me:$LINENO: error: \"Unknown CPU for Linux -- $target_cpu\"" >&5
8719 $as_echo "$as_me: error: \"Unknown CPU for Linux -- $target_cpu\"" >&2;}
8720 { (exit 1); exit 1; }; }
8726 aros_target_arch="pc"
8727 aros_shared_default="no"
8728 target_bootloader="grub2"
8729 case "$target_cpu" in
8731 aros_target_cpu="i386"
8734 if test "$aros_object_format" = "" ; then
8735 aros_object_format="elf_i386"
8737 aros_flavour="standalone"
8738 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386"
8739 aros_config_cflags="$aros_config_cflags -m32 -march=i486"
8740 aros_kernel_cflags="$aros_kernel_cflags -m32 -march=i486"
8741 aros_config_aflags="$aros_config_aflags -m32 -march=i486"
8742 aros_config_ldflags="-m32 -march=i486"
8743 aros_kernel_ldflags="-melf_i386"
8744 aros_default_wbwidth=640
8745 aros_default_wbheight=480
8746 gcc_target_cpu="i386"
8749 aros_target_cpu="x86_64"
8751 if test "$aros_object_format" = "" ; then
8752 aros_object_format="elf_x86_64"
8754 aros_flavour="standalone"
8755 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8756 aros_config_cflags="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone"
8757 aros_kernel_ldflags=""
8758 aros_default_wbwidth=640
8759 aros_default_wbheight=480
8760 gcc_target_cpu="x86_64"
8763 { { $as_echo "$as_me:$LINENO: error: \"Unknown native CPU -- $target_cpu\"" >&5
8764 $as_echo "$as_me: error: \"Unknown native CPU -- $target_cpu\"" >&2;}
8765 { (exit 1); exit 1; }; }
8771 aros_target_arch="prep"
8772 aros_shared_default="no"
8773 aros_target_cpu="ppc"
8774 aros_object_format="elf32ppc"
8775 aros_flavour="ppcnative"
8776 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc"
8777 aros_kernel_ldflags=""
8778 aros_default_wbwidth=640
8779 aros_default_wbheight=480
8780 gcc_target_cpu="ppc"
8784 aros_target_arch="freebsd"
8785 aros_target_cpu="i386"
8786 aros_flavour="emulation"
8787 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386"
8788 gcc_target_cpu="i386"
8790 aros_target_strip_flags="-x"
8794 aros_target_arch="darwin"
8795 aros_flavour="emulation"
8797 case "$target_cpu" in
8799 aros_target_cpu="i386"
8800 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386"
8801 gcc_target_cpu="i386"
8802 aros_object_format="elf_i386"
8803 aros_target_strip_flags="-x"
8806 { { $as_echo "$as_me:$LINENO: error: \"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" >&5
8807 $as_echo "$as_me: error: \"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" >&2;}
8808 { (exit 1); exit 1; }; }
8814 aros_target_arch="dragonfly"
8815 aros_flavour="emulation"
8816 case "$target_cpu" in
8818 aros_target_cpu="i386"
8819 aros_object_format="elf_i386"
8820 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
8823 aros_target_cpu="x86_64"
8824 aros_object_format="elf_x86_64"
8825 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
8828 { { $as_echo "$as_me:$LINENO: error: \"Unknown CPU for DragonFly -- $target_cpu\"" >&5
8829 $as_echo "$as_me: error: \"Unknown CPU for DragonFly -- $target_cpu\"" >&2;}
8830 { (exit 1); exit 1; }; }
8836 aros_target_arch="netbsd"
8837 case "$target_cpu" in
8839 aros_target_cpu="m68k"
8840 aros_object_format="m68kelf"
8841 aros_flavour="emulcompat"
8842 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8843 gcc_target_cpu="mc68000"
8846 aros_target_cpu="i386"
8847 aros_object_format="elf_i386"
8848 aros_flavour="emulation"
8849 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8850 aros_default_wbdepth=8
8851 gcc_target_cpu="i386"
8854 { { $as_echo "$as_me:$LINENO: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&5
8855 $as_echo "$as_me: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&2;}
8856 { (exit 1); exit 1; }; }
8859 aros_target_genmap="-Wl,-M -Xlinker >"
8860 aros_flavour="emulation"
8861 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386"
8865 aros_target_arch="openbsd"
8866 case "$target_cpu" in
8868 aros_target_cpu="i386"
8869 aros_object_format="elf_i386"
8870 aros_flavour="emulation"
8871 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8872 gcc_target_cpu="i386"
8875 { { $as_echo "$as_me:$LINENO: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&5
8876 $as_echo "$as_me: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&2;}
8877 { (exit 1); exit 1; }; }
8880 aros_target_genmap="-Wl,-M -Xlinker >"
8881 aros_target_nm_flags="-u"
8882 aros_flavour="emulation"
8886 aros_target_arch="solaris"
8887 case "$target_cpu" in
8889 aros_target_cpu="i386"
8890 aros_object_format="elf_i386"
8891 aros_flavour="emulation"
8892 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8893 aros_default_wbdepth=8
8894 gcc_target_cpu="i386"
8897 aros_target_cpu="sparc"
8898 aros_object_format="elf_sparc"
8899 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8900 gcc_target_cpu="sparc"
8903 { { $as_echo "$as_me:$LINENO: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&5
8904 $as_echo "$as_me: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&2;}
8905 { (exit 1); exit 1; }; }
8908 aros_config_cflags="$aros_config_cflags -D$aros_target_cpu"
8909 aros_flavour="emulation"
8913 aros_target_arch="morphos"
8914 aros_shared_default="no"
8915 aros_target_cpu="ppc"
8916 aros_object_format="elf_ppc"
8917 aros_flavour="nativecompat"
8918 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc"
8919 gcc_target_cpu="ppc"
8923 aros_target_arch="sam440"
8924 aros_shared_default="no"
8925 aros_target_cpu="ppc"
8926 aros_object_format="elf32ppc"
8927 aros_flavour="ppcnative"
8928 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc"
8929 aros_kernel_ldflags=""
8930 aros_default_wbwidth=1024
8931 aros_default_wbheight=768
8932 aros_config_cflags="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8933 gcc_target_cpu="powerpc"
8937 aros_target_arch="efika"
8938 aros_shared_default="no"
8939 aros_target_cpu="arm"
8940 aros_object_format="armelf_linux_eabi"
8941 aros_flavour="standalone"
8942 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Darm"
8943 aros_kernel_ldflags=""
8944 aros_default_wbwidth=1024
8945 aros_default_wbheight=600
8946 aros_arch_libs="-laeabi"
8947 aros_config_cflags="$aros_config_cflags -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
8948 aros_config_aflags="$aros_config_aflags -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
8952 aros_target_arch="chrp"
8953 aros_shared_default="no"
8954 aros_target_cpu="ppc"
8955 aros_object_format="elf32ppc"
8956 aros_flavour="ppcnative"
8957 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc"
8958 aros_kernel_ldflags=""
8959 aros_default_wbwidth=640
8960 aros_default_wbheight=480
8961 aros_config_cflags="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
8962 gcc_target_cpu="powerpc"
8963 case "$aros_target_variant" in
8965 aros_config_cflags="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
8971 aros_target_arch="amiga"
8972 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8973 aros_shared_default="no"
8975 aros_config_cflags="$aros_config_cflags -fomit-frame-pointer -fbuiltin -ffreestanding"
8977 case "$target_cpu" in
8979 aros_target_cpu="m68k"
8980 aros_object_format="m68kelf"
8981 aros_flavour="nativecompat"
8982 gcc_target_cpu="mc68000"
8986 aros_flavour="native"
8987 gcc_target_cpu="ppc"
8990 { { $as_echo "$as_me:$LINENO: error: \"Unknown CPU for Amiga $target_cpu\"" >&5
8991 $as_echo "$as_me: error: \"Unknown CPU for Amiga $target_cpu\"" >&2;}
8992 { (exit 1); exit 1; }; }
8998 aros_target_arch="mingw32"
8999 aros_shared_default="no"
9000 aros_flavour="emulation"
9001 aros_shared_cflags=""
9004 case "$target_cpu" in
9006 aros_target_cpu="i386"
9007 aros_object_format="elf_i386"
9008 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386"
9009 aros_default_wbdepth=8
9010 gcc_target_cpu="i386"
9011 aros_target_cc="i386-aros-gcc"
9012 aros_target_ld="i386-aros-ld"
9013 aros_target_as="i386-aros-as"
9014 aros_target_ar="i386-aros-ar"
9015 aros_target_ranlib="i386-aros-ranlib"
9016 aros_target_nm="i386-aros-nm"
9017 aros_target_strip="i386-aros-strip"
9018 aros_target_objcopy="i386-aros-objcopy"
9019 aros_target_objdump="i386-aros-objdump"
9020 target_tool_prefix="i386-mingw32-"
9023 aros_target_cpu="x86_64"
9024 aros_object_format="elf_x86_64"
9025 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dx86_64"
9026 aros_default_wbdepth=8
9027 gcc_target_cpu="x86_64"
9028 aros_target_cc="x86_64-aros-gcc"
9029 aros_target_ld="x86_64-aros-ld"
9030 aros_target_as="x86_64-aros-as"
9031 aros_target_ar="x86_64-aros-ar"
9032 aros_target_ranlib="x86_64-aros-ranlib"
9033 aros_target_nm="x86_64-aros-nm"
9034 aros_target_strip="x86_64-aros-strip"
9035 aros_target_objcopy="x86_64-aros-objcopy"
9036 aros_target_objdump="x86_64-aros-objdump"
9037 target_tool_prefix="x86_64-w64-mingw32-"
9040 aros_target_cpu="arm"
9041 aros_object_format="armelf_linux_eabi"
9042 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Darm"
9043 aros_default_wbdepth=8
9044 gcc_target_cpu="arm"
9045 aros_target_cc="arm-elf-gcc"
9046 aros_target_ld="arm-elf-ld"
9047 aros_target_as="arm-elf-as"
9048 aros_target_ar="arm-elf-ar"
9049 aros_target_ranlib="arm-elf-ranlib"
9050 aros_target_nm="arm-elf-nm"
9051 aros_target_strip="arm-elf-strip"
9052 aros_target_objcopy="arm-elf-objcopy"
9053 aros_target_objdump="arm-elf-objdump"
9054 target_tool_prefix="arm-mingw32ce-"
9055 aros_default_wbwidth=160
9056 aros_default_wbheight=160
9059 { { $as_echo "$as_me:$LINENO: error: \"Unknown CPU for Mingw32 -- $target_cpu\"" >&5
9060 $as_echo "$as_me: error: \"Unknown CPU for Mingw32 -- $target_cpu\"" >&2;}
9061 { (exit 1); exit 1; }; }
9064 if test $host_os = "cygwin"; then
9065 aros_kernel_cflags="-mno-cygwin"
9069 aros_target_arch="pp"
9070 aros_shared_default="no"
9071 case "$target_cpu" in
9073 aros_target_cpu="m68k"
9074 aros_object_format="m68kelf"
9075 aros_flavour="palmnative"
9076 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dm68k"
9077 aros_default_wbwidth=160
9078 aros_default_wbheight=160
9079 aros_default_wbdepth=1
9080 aros_target_ar_flags="cru"
9081 aros_compiler_libs="-lgcc1"
9082 aros_shared_default=no
9083 aros_shared_cflags="-fpic"
9084 aros_shared_aflags=""
9085 aros_shared_ldflags="-Wl,-rpath,./lib -shared"
9086 aros_kernel_ldflags="-Wl,-rpath,./lib"
9087 aros_debug_cflags="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
9088 aros_debug_aflags=""
9089 aros_debug_ldflags="$aros_symbols_debug"
9090 aros_mungwall_debug="0"
9091 aros_modules_debug="0"
9092 gcc_target_cpu="mc68000"
9093 ignore_undefined_symbols="-ius"
9096 { { $as_echo "$as_me:$LINENO: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&5
9097 $as_echo "$as_me: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&2;}
9098 { (exit 1); exit 1; }; }
9104 aros_target_arch="mac"
9105 aros_shared_default="no"
9106 case "$target_cpu" in
9108 aros_target_cpu="m68k"
9109 aros_object_format="m68kelf"
9110 aros_flavour="mac68knative"
9111 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dm68k"
9112 aros_default_wbwidth=512
9113 aros_default_wbheight=384
9114 aros_default_wbdepth=8
9115 aros_target_ar_flags="cru"
9116 aros_compiler_libs="-lgcc1"
9117 aros_shared_default=no
9118 aros_shared_cflags="-fpic"
9119 aros_shared_aflags=""
9120 aros_shared_ldflags="-Wl,-rpath,./lib -shared"
9121 aros_kernel_ldflags="-Wl,-rpath,./lib"
9122 aros_debug_cflags="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000"
9123 aros_debug_aflags=""
9124 aros_debug_ldflags="$aros_symbols_debug"
9125 aros_mungwall_debug="0"
9126 aros_modules_debug="0"
9127 gcc_target_cpu="mc68000"
9128 ignore_undefined_symbols="-ius"
9131 { { $as_echo "$as_me:$LINENO: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&5
9132 $as_echo "$as_me: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&2;}
9133 { (exit 1); exit 1; }; }
9139 { { $as_echo "$as_me:$LINENO: error: Unsupported target architecture $target" >&5
9140 $as_echo "$as_me: error: Unsupported target architecture $target" >&2;}
9141 { (exit 1); exit 1; }; }
9145 { $as_echo "$as_me:$LINENO: checking Where to download sourcecode for external ports" >&5
9146 $as_echo_n "checking Where to download sourcecode for external ports... " >&6; }
9148 # Check whether --with-portssources was given.
9149 if test "${with_portssources+set}" = set; then
9150 withval=$with_portssources; with_portssrcdir=$withval
9152 with_portssrcdir="default"
9155 if test "$with_portssrcdir" = "default"; then
9156 AROS_PORTSSRCDIR="$AROS_BUILDDIR_UNIX/bin/Sources"
9158 AROS_PORTSSRCDIR="$with_portssrcdir"
9160 { $as_echo "$as_me:$LINENO: result: $AROS_PORTSSRCDIR" >&5
9161 $as_echo "$AROS_PORTSSRCDIR" >&6; }
9163 { $as_echo "$as_me:$LINENO: checking which bootloader to use" >&5
9164 $as_echo_n "checking which bootloader to use... " >&6; }
9166 # Check whether --with-bootloader was given.
9167 if test "${with_bootloader+set}" = set; then
9168 withval=$with_bootloader; target_bootloader=$withval
9170 target_bootloader=$target_bootloader
9173 if test "$target_bootloader" = "none"; then
9174 aros_target_bootloader=""
9176 aros_target_bootloader="$target_bootloader"
9178 { $as_echo "$as_me:$LINENO: result: $target_bootloader" >&5
9179 $as_echo "$target_bootloader" >&6; }
9181 { $as_echo "$as_me:$LINENO: checking which icon-set to use" >&5
9182 $as_echo_n "checking which icon-set to use... " >&6; }
9184 # Check whether --with-iconset was given.
9185 if test "${with_iconset+set}" = set; then
9186 withval=$with_iconset; target_iconset=$withval
9188 target_iconset="default"
9191 if test "$target_iconset" = "default"; then
9192 aros_target_iconset="Gorilla"
9193 target_iconset="default (Gorilla)"
9195 aros_target_iconset="$target_iconset"
9197 { $as_echo "$as_me:$LINENO: result: $target_iconset" >&5
9198 $as_echo "$target_iconset" >&6; }
9200 { $as_echo "$as_me:$LINENO: checking which GUI Theme to use" >&5
9201 $as_echo_n "checking which GUI Theme to use... " >&6; }
9203 # Check whether --with-theme was given.
9204 if test "${with_theme+set}" = set; then
9205 withval=$with_theme; target_guitheme=$withval
9207 target_guitheme="default"
9210 if test "$target_guitheme" = "default"; then
9211 aros_target_guitheme="Ice"
9213 aros_target_guitheme="$target_guitheme"
9215 { $as_echo "$as_me:$LINENO: result: $aros_target_guitheme" >&5
9216 $as_echo "$aros_target_guitheme" >&6; }
9218 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
9221 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
9224 if test "$aros_host_cpu" == "x86_64" ; then
9225 if test "$aros_target_cpu" == "i386" ; then
9226 if test "$aros_target_arch" != "mingw32"; then
9231 if test "$aros_host_arch" == "darwin" ; then
9235 # Set prefix for target compiler etc. if we're cross-compiling
9236 # (should possibly be earlier but needs to be after AC_PROG_CC)
9237 if test "$cross_compiling" = "yes" ; then
9238 if test "$target_tool_prefix" = ""; then
9239 target_tool_prefix=${target_cpu}-elf-
9241 CC=${target_tool_prefix}gcc
9244 #-----------------------------------------------------------------------------
9246 # Disable pointer-signedness warnings if the compiler recognises the option
9248 { $as_echo "$as_me:$LINENO: checking whether ${CC} accepts -Wno-pointer-sign" >&5
9249 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
9250 save_cflags="$CFLAGS"
9251 CFLAGS="$CFLAGS -Wno-pointer-sign"
9252 cat >conftest.$ac_ext <<_ACEOF
9255 cat confdefs.h >>conftest.$ac_ext
9256 cat >>conftest.$ac_ext <<_ACEOF
9257 /* end confdefs.h. */
9267 rm -f conftest.$ac_objext
9268 if { (ac_try="$ac_compile"
9270 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9271 *) ac_try_echo
=$ac_try;;
9273 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9274 $as_echo "$ac_try_echo") >&5
9275 (eval "$ac_compile") 2>conftest.er1
9277 grep -v '^ *+' conftest.er1
>conftest.err
9279 cat conftest.err
>&5
9280 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9281 (exit $ac_status); } && {
9282 test -z "$ac_c_werror_flag" ||
9283 test ! -s conftest.err
9284 } && test -s conftest.
$ac_objext; then
9285 use_no_sign_warning
="yes"
9287 $as_echo "$as_me: failed program was:" >&5
9288 sed 's/^/| /' conftest.
$ac_ext >&5
9290 use_no_sign_warning
="no"
9293 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9294 { $as_echo "$as_me:$LINENO: result: $use_no_sign_warning" >&5
9295 $as_echo "$use_no_sign_warning" >&6; }
9296 if test "x-$use_no_sign_warning" = "x-yes" ; then
9297 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
9299 CFLAGS
="$save_cflags"
9301 #-----------------------------------------------------------------------------
9303 # Find all the tools we need to compile. This could be cross-compiling
9304 # though! If that is the case we use the GNU form of the target and
9305 # simply add this to the front of the binary name. This is rather simple,
9306 # but it should work under most circumstances.
9308 # The default tools are to use the same as the host, but only if the
9309 # host and target CPU are the same. With GCC this is normally enough.
9313 aros_shared_ld
="$aros_host_ld"
9315 aros_target_mkdep
="$aros_host_mkdep"
9316 aros_target_incl_def
="$aros_host_incl"
9318 aros_kernel_cc
="$CC"
9320 # The default tools executables to be linked to.
9321 if test "$aros_target_cc" != ""; then
9322 # Extract the first word of "$aros_target_cc", so it can be a program name with args.
9323 set dummy
$aros_target_cc; ac_word
=$2
9324 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9325 $as_echo_n "checking for $ac_word... " >&6; }
9326 if test "${ac_cv_path_aros_target_cc+set}" = set; then
9327 $as_echo_n "(cached) " >&6
9329 case $aros_target_cc in
9331 ac_cv_path_aros_target_cc
="$aros_target_cc" # Let the user override the test with a path.
9334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9338 test -z "$as_dir" && as_dir
=.
9339 for ac_exec_ext
in '' $ac_executable_extensions; do
9340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9341 ac_cv_path_aros_target_cc
="$as_dir/$ac_word$ac_exec_ext"
9342 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9352 aros_target_cc
=$ac_cv_path_aros_target_cc
9353 if test -n "$aros_target_cc"; then
9354 { $as_echo "$as_me:$LINENO: result: $aros_target_cc" >&5
9355 $as_echo "$aros_target_cc" >&6; }
9357 { $as_echo "$as_me:$LINENO: result: no" >&5
9358 $as_echo "no" >&6; }
9362 if test "$aros_target_cc" = ""; then
9363 { { $as_echo "$as_me:$LINENO: error: gcc is required to build AROS. Please install and run configure again." >&5
9364 $as_echo "$as_me: error: gcc is required to build AROS. Please install and run configure again." >&2;}
9365 { (exit 1); exit 1; }; }
9368 if test "$aros_target_ld" != ""; then
9369 # Extract the first word of "$aros_target_ld", so it can be a program name with args.
9370 set dummy
$aros_target_ld; ac_word
=$2
9371 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9372 $as_echo_n "checking for $ac_word... " >&6; }
9373 if test "${ac_cv_path_aros_target_ld+set}" = set; then
9374 $as_echo_n "(cached) " >&6
9376 case $aros_target_ld in
9378 ac_cv_path_aros_target_ld
="$aros_target_ld" # Let the user override the test with a path.
9381 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9385 test -z "$as_dir" && as_dir
=.
9386 for ac_exec_ext
in '' $ac_executable_extensions; do
9387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9388 ac_cv_path_aros_target_ld
="$as_dir/$ac_word$ac_exec_ext"
9389 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9399 aros_target_ld
=$ac_cv_path_aros_target_ld
9400 if test -n "$aros_target_ld"; then
9401 { $as_echo "$as_me:$LINENO: result: $aros_target_ld" >&5
9402 $as_echo "$aros_target_ld" >&6; }
9404 { $as_echo "$as_me:$LINENO: result: no" >&5
9405 $as_echo "no" >&6; }
9409 if test "$aros_target_ld" = ""; then
9410 { { $as_echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
9411 $as_echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
9412 { (exit 1); exit 1; }; }
9416 if test "$crosstools" != "yes"; then
9418 if test "$aros_target_as" = ""; then
9419 if test "$cross_compiling" = "yes" ; then
9420 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
9421 set dummy
${target_tool_prefix}as
; ac_word
=$2
9422 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9423 $as_echo_n "checking for $ac_word... " >&6; }
9424 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9425 $as_echo_n "(cached) " >&6
9427 case $aros_target_as_ln in
9429 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
9432 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9436 test -z "$as_dir" && as_dir
=.
9437 for ac_exec_ext
in '' $ac_executable_extensions; do
9438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9439 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
9440 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9450 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
9451 if test -n "$aros_target_as_ln"; then
9452 { $as_echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9453 $as_echo "$aros_target_as_ln" >&6; }
9455 { $as_echo "$as_me:$LINENO: result: no" >&5
9456 $as_echo "no" >&6; }
9461 if test "$GCC" = "yes"; then
9462 aros_gcc_as
=`$CC -print-prog-name=as`
9463 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
9464 set dummy
`basename $aros_gcc_as`; ac_word
=$2
9465 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9466 $as_echo_n "checking for $ac_word... " >&6; }
9467 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9468 $as_echo_n "(cached) " >&6
9470 case $aros_target_as_ln in
9472 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
9475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9476 for as_dir
in `dirname $aros_gcc_as`
9479 test -z "$as_dir" && as_dir
=.
9480 for ac_exec_ext
in '' $ac_executable_extensions; do
9481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9482 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
9483 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9493 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
9494 if test -n "$aros_target_as_ln"; then
9495 { $as_echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9496 $as_echo "$aros_target_as_ln" >&6; }
9498 { $as_echo "$as_me:$LINENO: result: no" >&5
9499 $as_echo "no" >&6; }
9504 if test "$aros_target_as_ln" = ""; then
9505 # Extract the first word of "as", so it can be a program name with args.
9506 set dummy as
; ac_word
=$2
9507 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9508 $as_echo_n "checking for $ac_word... " >&6; }
9509 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9510 $as_echo_n "(cached) " >&6
9512 case $aros_target_as_ln in
9514 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
9517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9521 test -z "$as_dir" && as_dir
=.
9522 for ac_exec_ext
in '' $ac_executable_extensions; do
9523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9524 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
9525 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9535 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
9536 if test -n "$aros_target_as_ln"; then
9537 { $as_echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9538 $as_echo "$aros_target_as_ln" >&6; }
9540 { $as_echo "$as_me:$LINENO: result: no" >&5
9541 $as_echo "no" >&6; }
9548 # Extract the first word of "$aros_target_as", so it can be a program name with args.
9549 set dummy
$aros_target_as; ac_word
=$2
9550 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9551 $as_echo_n "checking for $ac_word... " >&6; }
9552 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9553 $as_echo_n "(cached) " >&6
9555 case $aros_target_as_ln in
9557 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
9560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9564 test -z "$as_dir" && as_dir
=.
9565 for ac_exec_ext
in '' $ac_executable_extensions; do
9566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9567 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
9568 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9578 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
9579 if test -n "$aros_target_as_ln"; then
9580 { $as_echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9581 $as_echo "$aros_target_as_ln" >&6; }
9583 { $as_echo "$as_me:$LINENO: result: no" >&5
9584 $as_echo "no" >&6; }
9590 if test "$aros_target_as_ln" = ""; then
9591 { { $as_echo "$as_me:$LINENO: error: as is required to build AROS. Please install and run configure again." >&5
9592 $as_echo "$as_me: error: as is required to build AROS. Please install and run configure again." >&2;}
9593 { (exit 1); exit 1; }; }
9596 if test "$aros_kernel_ld" = ""; then
9597 if test "$cross_compiling" = "yes" ; then
9598 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
9599 set dummy
${target_tool_prefix}ld
; ac_word
=$2
9600 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9601 $as_echo_n "checking for $ac_word... " >&6; }
9602 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9603 $as_echo_n "(cached) " >&6
9605 case $aros_kernel_ld in
9607 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9614 test -z "$as_dir" && as_dir
=.
9615 for ac_exec_ext
in '' $ac_executable_extensions; do
9616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9617 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9618 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9628 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9629 if test -n "$aros_kernel_ld"; then
9630 { $as_echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9631 $as_echo "$aros_kernel_ld" >&6; }
9633 { $as_echo "$as_me:$LINENO: result: no" >&5
9634 $as_echo "no" >&6; }
9639 if test "$GCC" = "yes"; then
9640 aros_gcc_ld
=`$CC -print-prog-name=ld`
9641 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
9642 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
9643 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9644 $as_echo_n "checking for $ac_word... " >&6; }
9645 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9646 $as_echo_n "(cached) " >&6
9648 case $aros_kernel_ld in
9650 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9654 for as_dir
in `dirname $aros_gcc_ld`
9657 test -z "$as_dir" && as_dir
=.
9658 for ac_exec_ext
in '' $ac_executable_extensions; do
9659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9660 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9661 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9671 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9672 if test -n "$aros_kernel_ld"; then
9673 { $as_echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9674 $as_echo "$aros_kernel_ld" >&6; }
9676 { $as_echo "$as_me:$LINENO: result: no" >&5
9677 $as_echo "no" >&6; }
9682 if test "$aros_kernel_ld" = ""; then
9683 # Extract the first word of "ld", so it can be a program name with args.
9684 set dummy ld
; ac_word
=$2
9685 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9686 $as_echo_n "checking for $ac_word... " >&6; }
9687 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9688 $as_echo_n "(cached) " >&6
9690 case $aros_kernel_ld in
9692 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9699 test -z "$as_dir" && as_dir
=.
9700 for ac_exec_ext
in '' $ac_executable_extensions; do
9701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9702 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9703 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9713 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9714 if test -n "$aros_kernel_ld"; then
9715 { $as_echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9716 $as_echo "$aros_kernel_ld" >&6; }
9718 { $as_echo "$as_me:$LINENO: result: no" >&5
9719 $as_echo "no" >&6; }
9726 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
9727 set dummy
$aros_kernel_ld; ac_word
=$2
9728 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9729 $as_echo_n "checking for $ac_word... " >&6; }
9730 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9731 $as_echo_n "(cached) " >&6
9733 case $aros_kernel_ld in
9735 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
9738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9742 test -z "$as_dir" && as_dir
=.
9743 for ac_exec_ext
in '' $ac_executable_extensions; do
9744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9745 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9746 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9756 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9757 if test -n "$aros_kernel_ld"; then
9758 { $as_echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9759 $as_echo "$aros_kernel_ld" >&6; }
9761 { $as_echo "$as_me:$LINENO: result: no" >&5
9762 $as_echo "no" >&6; }
9768 if test "$aros_kernel_ld" = ""; then
9769 { { $as_echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
9770 $as_echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
9771 { (exit 1); exit 1; }; }
9774 if test "$aros_target_ar" = ""; then
9775 if test "$cross_compiling" = "yes" ; then
9776 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
9777 set dummy
${target_tool_prefix}ar; ac_word
=$2
9778 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9779 $as_echo_n "checking for $ac_word... " >&6; }
9780 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9781 $as_echo_n "(cached) " >&6
9783 case $aros_target_ar_ln in
9785 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9792 test -z "$as_dir" && as_dir
=.
9793 for ac_exec_ext
in '' $ac_executable_extensions; do
9794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9795 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9796 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9806 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9807 if test -n "$aros_target_ar_ln"; then
9808 { $as_echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9809 $as_echo "$aros_target_ar_ln" >&6; }
9811 { $as_echo "$as_me:$LINENO: result: no" >&5
9812 $as_echo "no" >&6; }
9817 if test "$GCC" = "yes"; then
9818 aros_gcc_ar
=`$CC -print-prog-name=ar`
9819 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9820 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
9821 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9822 $as_echo_n "checking for $ac_word... " >&6; }
9823 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9824 $as_echo_n "(cached) " >&6
9826 case $aros_target_ar_ln in
9828 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9832 for as_dir
in `dirname $aros_gcc_ar`
9835 test -z "$as_dir" && as_dir
=.
9836 for ac_exec_ext
in '' $ac_executable_extensions; do
9837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9838 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9839 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9849 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9850 if test -n "$aros_target_ar_ln"; then
9851 { $as_echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9852 $as_echo "$aros_target_ar_ln" >&6; }
9854 { $as_echo "$as_me:$LINENO: result: no" >&5
9855 $as_echo "no" >&6; }
9860 if test "$aros_target_ar_ln" = ""; then
9861 # Extract the first word of "ar", so it can be a program name with args.
9862 set dummy
ar; ac_word
=$2
9863 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9864 $as_echo_n "checking for $ac_word... " >&6; }
9865 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9866 $as_echo_n "(cached) " >&6
9868 case $aros_target_ar_ln in
9870 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9877 test -z "$as_dir" && as_dir
=.
9878 for ac_exec_ext
in '' $ac_executable_extensions; do
9879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9880 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9881 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9891 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9892 if test -n "$aros_target_ar_ln"; then
9893 { $as_echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9894 $as_echo "$aros_target_ar_ln" >&6; }
9896 { $as_echo "$as_me:$LINENO: result: no" >&5
9897 $as_echo "no" >&6; }
9904 # Extract the first word of "$aros_target_ar", so it can be a program name with args.
9905 set dummy
$aros_target_ar; ac_word
=$2
9906 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9907 $as_echo_n "checking for $ac_word... " >&6; }
9908 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9909 $as_echo_n "(cached) " >&6
9911 case $aros_target_ar_ln in
9913 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9920 test -z "$as_dir" && as_dir
=.
9921 for ac_exec_ext
in '' $ac_executable_extensions; do
9922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9923 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9924 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9934 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9935 if test -n "$aros_target_ar_ln"; then
9936 { $as_echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9937 $as_echo "$aros_target_ar_ln" >&6; }
9939 { $as_echo "$as_me:$LINENO: result: no" >&5
9940 $as_echo "no" >&6; }
9946 if test "$aros_target_ar_ln" = ""; then
9947 { { $as_echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
9948 $as_echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
9949 { (exit 1); exit 1; }; }
9952 if test "$aros_target_nm" = ""; then
9953 if test "$cross_compiling" = "yes" ; then
9954 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
9955 set dummy
${target_tool_prefix}nm
; ac_word
=$2
9956 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9957 $as_echo_n "checking for $ac_word... " >&6; }
9958 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
9959 $as_echo_n "(cached) " >&6
9961 case $aros_target_nm_ln in
9963 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9970 test -z "$as_dir" && as_dir
=.
9971 for ac_exec_ext
in '' $ac_executable_extensions; do
9972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9973 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9974 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9984 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9985 if test -n "$aros_target_nm_ln"; then
9986 { $as_echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
9987 $as_echo "$aros_target_nm_ln" >&6; }
9989 { $as_echo "$as_me:$LINENO: result: no" >&5
9990 $as_echo "no" >&6; }
9995 if test "$GCC" = "yes"; then
9996 aros_gcc_nm
=`$CC -print-prog-name=nm`
9997 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
9998 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
9999 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10000 $as_echo_n "checking for $ac_word... " >&6; }
10001 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
10002 $as_echo_n "(cached) " >&6
10004 case $aros_target_nm_ln in
10006 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
10009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10010 for as_dir
in `dirname $aros_gcc_nm`
10013 test -z "$as_dir" && as_dir
=.
10014 for ac_exec_ext
in '' $ac_executable_extensions; do
10015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10016 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
10017 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10027 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
10028 if test -n "$aros_target_nm_ln"; then
10029 { $as_echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10030 $as_echo "$aros_target_nm_ln" >&6; }
10032 { $as_echo "$as_me:$LINENO: result: no" >&5
10033 $as_echo "no" >&6; }
10038 if test "$aros_target_nm_ln" = ""; then
10039 # Extract the first word of "nm", so it can be a program name with args.
10040 set dummy nm
; ac_word
=$2
10041 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10042 $as_echo_n "checking for $ac_word... " >&6; }
10043 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
10044 $as_echo_n "(cached) " >&6
10046 case $aros_target_nm_ln in
10048 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
10051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10052 for as_dir
in $PATH
10055 test -z "$as_dir" && as_dir
=.
10056 for ac_exec_ext
in '' $ac_executable_extensions; do
10057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10058 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
10059 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10069 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
10070 if test -n "$aros_target_nm_ln"; then
10071 { $as_echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10072 $as_echo "$aros_target_nm_ln" >&6; }
10074 { $as_echo "$as_me:$LINENO: result: no" >&5
10075 $as_echo "no" >&6; }
10082 # Extract the first word of "$aros_target_nm", so it can be a program name with args.
10083 set dummy
$aros_target_nm; ac_word
=$2
10084 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10085 $as_echo_n "checking for $ac_word... " >&6; }
10086 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
10087 $as_echo_n "(cached) " >&6
10089 case $aros_target_nm_ln in
10091 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
10094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10095 for as_dir
in $PATH
10098 test -z "$as_dir" && as_dir
=.
10099 for ac_exec_ext
in '' $ac_executable_extensions; do
10100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10101 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
10102 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10112 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
10113 if test -n "$aros_target_nm_ln"; then
10114 { $as_echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10115 $as_echo "$aros_target_nm_ln" >&6; }
10117 { $as_echo "$as_me:$LINENO: result: no" >&5
10118 $as_echo "no" >&6; }
10124 if test "$aros_target_nm_ln" = ""; then
10125 { { $as_echo "$as_me:$LINENO: error: nm is required to build AROS. Please install and run configure again." >&5
10126 $as_echo "$as_me: error: nm is required to build AROS. Please install and run configure again." >&2;}
10127 { (exit 1); exit 1; }; }
10130 if test "$aros_target_objcopy" = ""; then
10131 if test "$cross_compiling" = "yes" ; then
10132 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
10133 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
10134 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10135 $as_echo_n "checking for $ac_word... " >&6; }
10136 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10137 $as_echo_n "(cached) " >&6
10139 case $aros_target_objcopy_ln in
10141 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
10144 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10145 for as_dir
in $PATH
10148 test -z "$as_dir" && as_dir
=.
10149 for ac_exec_ext
in '' $ac_executable_extensions; do
10150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10151 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
10152 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10162 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
10163 if test -n "$aros_target_objcopy_ln"; then
10164 { $as_echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10165 $as_echo "$aros_target_objcopy_ln" >&6; }
10167 { $as_echo "$as_me:$LINENO: result: no" >&5
10168 $as_echo "no" >&6; }
10173 if test "$GCC" = "yes"; then
10174 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
10175 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
10176 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
10177 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10178 $as_echo_n "checking for $ac_word... " >&6; }
10179 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10180 $as_echo_n "(cached) " >&6
10182 case $aros_target_objcopy_ln in
10184 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
10187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10188 for as_dir
in `dirname $aros_gcc_objcopy`
10191 test -z "$as_dir" && as_dir
=.
10192 for ac_exec_ext
in '' $ac_executable_extensions; do
10193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10194 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
10195 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10205 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
10206 if test -n "$aros_target_objcopy_ln"; then
10207 { $as_echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10208 $as_echo "$aros_target_objcopy_ln" >&6; }
10210 { $as_echo "$as_me:$LINENO: result: no" >&5
10211 $as_echo "no" >&6; }
10216 if test "$aros_target_objcopy_ln" = ""; then
10217 # Extract the first word of "objcopy", so it can be a program name with args.
10218 set dummy objcopy
; ac_word
=$2
10219 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10220 $as_echo_n "checking for $ac_word... " >&6; }
10221 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10222 $as_echo_n "(cached) " >&6
10224 case $aros_target_objcopy_ln in
10226 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
10229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10230 for as_dir
in $PATH
10233 test -z "$as_dir" && as_dir
=.
10234 for ac_exec_ext
in '' $ac_executable_extensions; do
10235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10236 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
10237 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10247 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
10248 if test -n "$aros_target_objcopy_ln"; then
10249 { $as_echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10250 $as_echo "$aros_target_objcopy_ln" >&6; }
10252 { $as_echo "$as_me:$LINENO: result: no" >&5
10253 $as_echo "no" >&6; }
10260 # Extract the first word of "$aros_target_objcopy", so it can be a program name with args.
10261 set dummy
$aros_target_objcopy; ac_word
=$2
10262 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10263 $as_echo_n "checking for $ac_word... " >&6; }
10264 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10265 $as_echo_n "(cached) " >&6
10267 case $aros_target_objcopy_ln in
10269 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
10272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10273 for as_dir
in $PATH
10276 test -z "$as_dir" && as_dir
=.
10277 for ac_exec_ext
in '' $ac_executable_extensions; do
10278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10279 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
10280 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10290 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
10291 if test -n "$aros_target_objcopy_ln"; then
10292 { $as_echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10293 $as_echo "$aros_target_objcopy_ln" >&6; }
10295 { $as_echo "$as_me:$LINENO: result: no" >&5
10296 $as_echo "no" >&6; }
10302 if test "$aros_target_objcopy_ln" = ""; then
10303 { { $as_echo "$as_me:$LINENO: error: objcopy is required to build AROS. Please install and run configure again." >&5
10304 $as_echo "$as_me: error: objcopy is required to build AROS. Please install and run configure again." >&2;}
10305 { (exit 1); exit 1; }; }
10308 if test "$aros_target_objdump" = ""; then
10309 if test "$cross_compiling" = "yes" ; then
10310 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
10311 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
10312 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10313 $as_echo_n "checking for $ac_word... " >&6; }
10314 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10315 $as_echo_n "(cached) " >&6
10317 case $aros_target_objdump_ln in
10319 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
10322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10323 for as_dir
in $PATH
10326 test -z "$as_dir" && as_dir
=.
10327 for ac_exec_ext
in '' $ac_executable_extensions; do
10328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10329 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
10330 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10340 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
10341 if test -n "$aros_target_objdump_ln"; then
10342 { $as_echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10343 $as_echo "$aros_target_objdump_ln" >&6; }
10345 { $as_echo "$as_me:$LINENO: result: no" >&5
10346 $as_echo "no" >&6; }
10351 if test "$GCC" = "yes"; then
10352 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
10353 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
10354 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
10355 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10356 $as_echo_n "checking for $ac_word... " >&6; }
10357 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10358 $as_echo_n "(cached) " >&6
10360 case $aros_target_objdump_ln in
10362 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
10365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10366 for as_dir
in `dirname $aros_gcc_objdump`
10369 test -z "$as_dir" && as_dir
=.
10370 for ac_exec_ext
in '' $ac_executable_extensions; do
10371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10372 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
10373 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10383 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
10384 if test -n "$aros_target_objdump_ln"; then
10385 { $as_echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10386 $as_echo "$aros_target_objdump_ln" >&6; }
10388 { $as_echo "$as_me:$LINENO: result: no" >&5
10389 $as_echo "no" >&6; }
10394 if test "$aros_target_objdump_ln" = ""; then
10395 # Extract the first word of "objdump", so it can be a program name with args.
10396 set dummy objdump
; ac_word
=$2
10397 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10398 $as_echo_n "checking for $ac_word... " >&6; }
10399 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10400 $as_echo_n "(cached) " >&6
10402 case $aros_target_objdump_ln in
10404 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
10407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10408 for as_dir
in $PATH
10411 test -z "$as_dir" && as_dir
=.
10412 for ac_exec_ext
in '' $ac_executable_extensions; do
10413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10414 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
10415 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10425 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
10426 if test -n "$aros_target_objdump_ln"; then
10427 { $as_echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10428 $as_echo "$aros_target_objdump_ln" >&6; }
10430 { $as_echo "$as_me:$LINENO: result: no" >&5
10431 $as_echo "no" >&6; }
10438 # Extract the first word of "$aros_target_objdump", so it can be a program name with args.
10439 set dummy
$aros_target_objdump; ac_word
=$2
10440 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10441 $as_echo_n "checking for $ac_word... " >&6; }
10442 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10443 $as_echo_n "(cached) " >&6
10445 case $aros_target_objdump_ln in
10447 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
10450 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10451 for as_dir
in $PATH
10454 test -z "$as_dir" && as_dir
=.
10455 for ac_exec_ext
in '' $ac_executable_extensions; do
10456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10457 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
10458 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10468 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
10469 if test -n "$aros_target_objdump_ln"; then
10470 { $as_echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10471 $as_echo "$aros_target_objdump_ln" >&6; }
10473 { $as_echo "$as_me:$LINENO: result: no" >&5
10474 $as_echo "no" >&6; }
10480 if test "$aros_target_objdump_ln" = ""; then
10481 { { $as_echo "$as_me:$LINENO: error: objdump is required to build AROS. Please install and run configure again." >&5
10482 $as_echo "$as_me: error: objdump is required to build AROS. Please install and run configure again." >&2;}
10483 { (exit 1); exit 1; }; }
10486 if test "$aros_target_ranlib" = ""; then
10487 if test "$cross_compiling" = "yes" ; then
10488 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
10489 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
10490 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10491 $as_echo_n "checking for $ac_word... " >&6; }
10492 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10493 $as_echo_n "(cached) " >&6
10495 case $aros_target_ranlib_ln in
10497 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
10500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10501 for as_dir
in $PATH
10504 test -z "$as_dir" && as_dir
=.
10505 for ac_exec_ext
in '' $ac_executable_extensions; do
10506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10507 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
10508 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10518 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
10519 if test -n "$aros_target_ranlib_ln"; then
10520 { $as_echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10521 $as_echo "$aros_target_ranlib_ln" >&6; }
10523 { $as_echo "$as_me:$LINENO: result: no" >&5
10524 $as_echo "no" >&6; }
10529 if test "$GCC" = "yes"; then
10530 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
10531 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
10532 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
10533 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10534 $as_echo_n "checking for $ac_word... " >&6; }
10535 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10536 $as_echo_n "(cached) " >&6
10538 case $aros_target_ranlib_ln in
10540 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
10543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10544 for as_dir
in `dirname $aros_gcc_ranlib`
10547 test -z "$as_dir" && as_dir
=.
10548 for ac_exec_ext
in '' $ac_executable_extensions; do
10549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10550 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
10551 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10561 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
10562 if test -n "$aros_target_ranlib_ln"; then
10563 { $as_echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10564 $as_echo "$aros_target_ranlib_ln" >&6; }
10566 { $as_echo "$as_me:$LINENO: result: no" >&5
10567 $as_echo "no" >&6; }
10572 if test "$aros_target_ranlib_ln" = ""; then
10573 # Extract the first word of "ranlib", so it can be a program name with args.
10574 set dummy ranlib
; ac_word
=$2
10575 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10576 $as_echo_n "checking for $ac_word... " >&6; }
10577 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10578 $as_echo_n "(cached) " >&6
10580 case $aros_target_ranlib_ln in
10582 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
10585 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10586 for as_dir
in $PATH
10589 test -z "$as_dir" && as_dir
=.
10590 for ac_exec_ext
in '' $ac_executable_extensions; do
10591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10592 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
10593 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10603 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
10604 if test -n "$aros_target_ranlib_ln"; then
10605 { $as_echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10606 $as_echo "$aros_target_ranlib_ln" >&6; }
10608 { $as_echo "$as_me:$LINENO: result: no" >&5
10609 $as_echo "no" >&6; }
10616 # Extract the first word of "$aros_target_ranlib", so it can be a program name with args.
10617 set dummy
$aros_target_ranlib; ac_word
=$2
10618 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10619 $as_echo_n "checking for $ac_word... " >&6; }
10620 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10621 $as_echo_n "(cached) " >&6
10623 case $aros_target_ranlib_ln in
10625 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
10628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10629 for as_dir
in $PATH
10632 test -z "$as_dir" && as_dir
=.
10633 for ac_exec_ext
in '' $ac_executable_extensions; do
10634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10635 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
10636 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10646 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
10647 if test -n "$aros_target_ranlib_ln"; then
10648 { $as_echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10649 $as_echo "$aros_target_ranlib_ln" >&6; }
10651 { $as_echo "$as_me:$LINENO: result: no" >&5
10652 $as_echo "no" >&6; }
10658 if test "$aros_target_ranlib_ln" = ""; then
10659 { { $as_echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
10660 $as_echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
10661 { (exit 1); exit 1; }; }
10664 if test "$aros_target_strip" = ""; then
10665 if test "$cross_compiling" = "yes" ; then
10666 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
10667 set dummy
${target_tool_prefix}strip
; ac_word
=$2
10668 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10669 $as_echo_n "checking for $ac_word... " >&6; }
10670 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10671 $as_echo_n "(cached) " >&6
10673 case $aros_target_strip_ln in
10675 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
10678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10679 for as_dir
in $PATH
10682 test -z "$as_dir" && as_dir
=.
10683 for ac_exec_ext
in '' $ac_executable_extensions; do
10684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10685 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
10686 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10696 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
10697 if test -n "$aros_target_strip_ln"; then
10698 { $as_echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10699 $as_echo "$aros_target_strip_ln" >&6; }
10701 { $as_echo "$as_me:$LINENO: result: no" >&5
10702 $as_echo "no" >&6; }
10707 if test "$GCC" = "yes"; then
10708 aros_gcc_strip
=`$CC -print-prog-name=strip`
10709 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
10710 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
10711 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10712 $as_echo_n "checking for $ac_word... " >&6; }
10713 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10714 $as_echo_n "(cached) " >&6
10716 case $aros_target_strip_ln in
10718 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
10721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10722 for as_dir
in `dirname $aros_gcc_strip`
10725 test -z "$as_dir" && as_dir
=.
10726 for ac_exec_ext
in '' $ac_executable_extensions; do
10727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10728 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
10729 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10739 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
10740 if test -n "$aros_target_strip_ln"; then
10741 { $as_echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10742 $as_echo "$aros_target_strip_ln" >&6; }
10744 { $as_echo "$as_me:$LINENO: result: no" >&5
10745 $as_echo "no" >&6; }
10750 if test "$aros_target_strip_ln" = ""; then
10751 # Extract the first word of "strip", so it can be a program name with args.
10752 set dummy strip
; ac_word
=$2
10753 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10754 $as_echo_n "checking for $ac_word... " >&6; }
10755 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10756 $as_echo_n "(cached) " >&6
10758 case $aros_target_strip_ln in
10760 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
10763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10764 for as_dir
in $PATH
10767 test -z "$as_dir" && as_dir
=.
10768 for ac_exec_ext
in '' $ac_executable_extensions; do
10769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10770 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
10771 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10781 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
10782 if test -n "$aros_target_strip_ln"; then
10783 { $as_echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10784 $as_echo "$aros_target_strip_ln" >&6; }
10786 { $as_echo "$as_me:$LINENO: result: no" >&5
10787 $as_echo "no" >&6; }
10794 # Extract the first word of "$aros_target_strip", so it can be a program name with args.
10795 set dummy
$aros_target_strip; ac_word
=$2
10796 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10797 $as_echo_n "checking for $ac_word... " >&6; }
10798 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10799 $as_echo_n "(cached) " >&6
10801 case $aros_target_strip_ln in
10803 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
10806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10807 for as_dir
in $PATH
10810 test -z "$as_dir" && as_dir
=.
10811 for ac_exec_ext
in '' $ac_executable_extensions; do
10812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10813 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
10814 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10824 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
10825 if test -n "$aros_target_strip_ln"; then
10826 { $as_echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10827 $as_echo "$aros_target_strip_ln" >&6; }
10829 { $as_echo "$as_me:$LINENO: result: no" >&5
10830 $as_echo "no" >&6; }
10836 if test "$aros_target_strip_ln" = ""; then
10837 { { $as_echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
10838 $as_echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
10839 { (exit 1); exit 1; }; }
10843 if test "$rescomp" != ""; then
10844 if test "$cross_compiling" = "yes" ; then
10845 rescomp
=${target_tool_prefix}${rescomp}
10847 # Extract the first word of "$rescomp", so it can be a program name with args.
10848 set dummy
$rescomp; ac_word
=$2
10849 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10850 $as_echo_n "checking for $ac_word... " >&6; }
10851 if test "${ac_cv_path_aros_kernel_rescomp+set}" = set; then
10852 $as_echo_n "(cached) " >&6
10854 case $aros_kernel_rescomp in
10856 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
10859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10860 for as_dir
in $PATH
10863 test -z "$as_dir" && as_dir
=.
10864 for ac_exec_ext
in '' $ac_executable_extensions; do
10865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10866 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
10867 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10877 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
10878 if test -n "$aros_kernel_rescomp"; then
10879 { $as_echo "$as_me:$LINENO: result: $aros_kernel_rescomp" >&5
10880 $as_echo "$aros_kernel_rescomp" >&6; }
10882 { $as_echo "$as_me:$LINENO: result: no" >&5
10883 $as_echo "no" >&6; }
10887 if test "$aros_kernel_rescomp" = ""; then
10888 { { $as_echo "$as_me:$LINENO: error: $rescomp is required to build AROS. Please install and run configure again." >&5
10889 $as_echo "$as_me: error: $rescomp is required to build AROS. Please install and run configure again." >&2;}
10890 { (exit 1); exit 1; }; }
10894 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
10895 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
10896 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
10897 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
10898 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
10899 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
10900 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
10902 # aros_cc_pre is a variable that is added to the front of the compiler name
10903 # in the generated aros-gcc shell script. We need this to enable the cache
10904 # to work across cleaned builds. Also, support DISTCC using the correct
10905 # environment variable.
10908 if test "x${DISTCC}" != "x" ; then
10909 if test "x${CCACHE}" != "x" ; then
10910 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
10912 aros_cc_pre
="${DISTCC} "
10915 if test "x${CCACHE}" != "x" ; then
10916 aros_cc_pre
="${CCACHE} "
10920 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
10922 aros_target_nostdinc_cflags
=-nostdinc
10924 aros_target_nostartup_ldflags
=-nostartfiles
10926 aros_target_nix_ldflags
=-nix
10928 aros_target_detach_ldflags
=-detach
10930 aros_target_nostdlib_ldflags
=-nostdlib
10934 if test "$aros_target_cc" = ""; then
10935 orig_target_cc
=$aros_kernel_cc
10937 orig_target_cc
=$aros_target_cc
10939 if test "$aros_target_ld" = ""; then
10940 orig_target_ld
=$aros_kernel_ld
10942 orig_target_ld
=$aros_target_ld
10944 if test "$GCC" = "yes"; then
10945 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
10947 aros_target_cc
="${prefix}-gcc"
10948 aros_target_as
="${prefix}-as"
10949 aros_target_ld
="${prefix}-ld"
10950 aros_target_ar
="${prefix}-ar $aros_target_ar_flags"
10951 aros_target_objcopy
=${prefix}-objcopy
10952 aros_target_objdump
=${prefix}-objdump
10953 aros_target_ranlib
="${prefix}-ranlib $aros_target_ranlib_flags"
10954 aros_target_nm
="${prefix}-nm $aros_target_nm_flags"
10955 aros_kernel_nm
="${prefix}-nm"
10956 aros_target_strip
=${prefix}-strip
10958 # Find the system include path. We can suggest that an alternative is
10959 # used if we don't get it correct. The default is to use /usr/include.
10960 # Which is set in the aros_target_incl_def variable.
10962 # Check whether --enable-includes was given.
10963 if test "${enable_includes+set}" = set; then
10964 enableval
=$enable_includes; aros_target_incl
=$enable_includes
10966 aros_target_incl
=$aros_target_incl_def
10970 { $as_echo "$as_me:$LINENO: checking for the target compiler's include path" >&5
10971 $as_echo_n "checking for the target compiler's include path... " >&6; }
10972 if test "$aros_target_cc_includes" = "" ; then
10973 #try to guess where the directory is
10974 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
10975 if ! test -d $aros_target_cc_includes; then
10976 #the directory doesn't exist, we need to do some more work
10977 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
10979 #these are the headers we're looling for
10980 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
10981 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
10985 for h
in $headers; do
10986 #which other headers each of the above headers needs?
10987 deps
=$
(echo "#include <$h>" | \
10988 $aros_host_cc -E -M - 2>/dev
/null | \
10989 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
10991 #copy all the needed headers to a directory beneath gendir
10994 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
10995 sed -n "s,^.*/include\(/.*\),\1,p")
10996 ! test -d $dir && mkdir
-p $dir
10997 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
11002 { $as_echo "$as_me:$LINENO: result: $aros_target_cc_includes" >&5
11003 $as_echo "$aros_target_cc_includes" >&6; }
11006 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
11007 # On GCC >= 4.0 -iquote should be used
11011 save_cflags
="$CFLAGS"
11013 { $as_echo "$as_me:$LINENO: checking whether ${CC} accepts -iquote" >&5
11014 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
11015 cat >conftest.
$ac_ext <<_ACEOF
11018 cat confdefs.h
>>conftest.
$ac_ext
11019 cat >>conftest.
$ac_ext <<_ACEOF
11020 /* end confdefs.h. */
11030 rm -f conftest.
$ac_objext
11031 if { (ac_try
="$ac_compile"
11032 case "(($ac_try" in
11033 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11034 *) ac_try_echo=$ac_try;;
11036 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11037 $as_echo "$ac_try_echo") >&5
11038 (eval "$ac_compile") 2>conftest.er1
11040 grep -v '^ *+' conftest.er1 >conftest.err
11042 cat conftest.err >&5
11043 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11044 (exit $ac_status); } && {
11045 test -z "$ac_c_werror_flag" ||
11046 test ! -s conftest.err
11047 } && test -s conftest.$ac_objext; then
11050 $as_echo "$as_me: failed program was:" >&5
11051 sed 's/^/| /' conftest.$ac_ext >&5
11056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11057 { $as_echo "$as_me:$LINENO: result: $has_iquote" >&5
11058 $as_echo "$has_iquote" >&6; }
11059 if test "x-$has_iquote" = "x-yes" ; then
11060 host_cflags_iquote=-iquote
11061 host_cflags_iquote_end=
11063 host_cflags_iquote=-I
11064 host_cflags_iquote_end=-I-
11066 kernel_cflags_iquote=$host_cflags_iquote
11067 kernel_cflags_iquote_end=$host_cflags_iquote_end
11068 if test "x-$cross_compiling" = "x-yes"; then
11069 CC="$aros_kernel_cc"
11070 { $as_echo "$as_me:$LINENO: checking whether ${CC} accepts -fno-stack-protector" >&5
11071 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
11072 cat >conftest.$ac_ext <<_ACEOF
11075 cat confdefs.h >>conftest.$ac_ext
11076 cat >>conftest.$ac_ext <<_ACEOF
11077 /* end confdefs.h. */
11087 rm -f conftest.$ac_objext
11088 if { (ac_try="$ac_compile"
11089 case "(($ac_try" in
11090 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11091 *) ac_try_echo
=$ac_try;;
11093 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11094 $as_echo "$ac_try_echo") >&5
11095 (eval "$ac_compile") 2>conftest.er1
11097 grep -v '^ *+' conftest.er1
>conftest.err
11099 cat conftest.err
>&5
11100 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11101 (exit $ac_status); } && {
11102 test -z "$ac_c_werror_flag" ||
11103 test ! -s conftest.err
11104 } && test -s conftest.
$ac_objext; then
11105 use_no_stack_protector
="yes"
11107 $as_echo "$as_me: failed program was:" >&5
11108 sed 's/^/| /' conftest.
$ac_ext >&5
11110 use_no_stack_protector
="no"
11113 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11114 { $as_echo "$as_me:$LINENO: result: $use_no_stack_protector" >&5
11115 $as_echo "$use_no_stack_protector" >&6; }
11116 { $as_echo "$as_me:$LINENO: checking whether ${CC} accepts -iquote" >&5
11117 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
11118 cat >conftest.
$ac_ext <<_ACEOF
11121 cat confdefs.h
>>conftest.
$ac_ext
11122 cat >>conftest.
$ac_ext <<_ACEOF
11123 /* end confdefs.h. */
11133 rm -f conftest.
$ac_objext
11134 if { (ac_try
="$ac_compile"
11135 case "(($ac_try" in
11136 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11137 *) ac_try_echo=$ac_try;;
11139 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11140 $as_echo "$ac_try_echo") >&5
11141 (eval "$ac_compile") 2>conftest.er1
11143 grep -v '^ *+' conftest.er1 >conftest.err
11145 cat conftest.err >&5
11146 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11147 (exit $ac_status); } && {
11148 test -z "$ac_c_werror_flag" ||
11149 test ! -s conftest.err
11150 } && test -s conftest.$ac_objext; then
11153 $as_echo "$as_me: failed program was:" >&5
11154 sed 's/^/| /' conftest.$ac_ext >&5
11159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11160 { $as_echo "$as_me:$LINENO: result: $has_iquote" >&5
11161 $as_echo "$has_iquote" >&6; }
11162 if test "x-$has_iquote" = "x-yes" ; then
11163 kernel_cflags_iquote=-iquote
11164 kernel_cflags_iquote_end=
11166 kernel_cflags_iquote=-I
11167 kernel_cflags_iquote_end=-I-
11170 aros_cflags_iquote=$kernel_cflags_iquote
11171 aros_cflags_iquote_end=$kernel_cflags_iquote_end
11172 if test "$orig_target_cc" != "$aros_kernel_cc"; then
11173 CC="$orig_target_cc"
11174 { $as_echo "$as_me:$LINENO: checking whether ${CC} accepts -iquote" >&5
11175 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
11176 cat >conftest.$ac_ext <<_ACEOF
11179 cat confdefs.h >>conftest.$ac_ext
11180 cat >>conftest.$ac_ext <<_ACEOF
11181 /* end confdefs.h. */
11191 rm -f conftest.$ac_objext
11192 if { (ac_try="$ac_compile"
11193 case "(($ac_try" in
11194 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11195 *) ac_try_echo
=$ac_try;;
11197 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11198 $as_echo "$ac_try_echo") >&5
11199 (eval "$ac_compile") 2>conftest.er1
11201 grep -v '^ *+' conftest.er1
>conftest.err
11203 cat conftest.err
>&5
11204 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11205 (exit $ac_status); } && {
11206 test -z "$ac_c_werror_flag" ||
11207 test ! -s conftest.err
11208 } && test -s conftest.
$ac_objext; then
11211 $as_echo "$as_me: failed program was:" >&5
11212 sed 's/^/| /' conftest.
$ac_ext >&5
11217 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11218 { $as_echo "$as_me:$LINENO: result: $has_iquote" >&5
11219 $as_echo "$has_iquote" >&6; }
11220 if test "x-$has_iquote" = "x-yes" ; then
11221 aros_cflags_iquote
=-iquote
11222 aros_cflags_iquote_end
=
11224 aros_cflags_iquote
=-I
11225 aros_cflags_iquote_end
=-I-
11228 if test "x-$use_no_stack_protector" = "x-yes" ; then
11229 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
11232 #-----------------------------------------------------------------------------
11234 # Check if we can explicitly choose older version of symbol hashing
11236 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
11237 CC
="$aros_kernel_cc"
11238 { $as_echo "$as_me:$LINENO: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
11239 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
11240 cat >conftest.
$ac_ext <<_ACEOF
11243 cat confdefs.h
>>conftest.
$ac_ext
11244 cat >>conftest.
$ac_ext <<_ACEOF
11245 /* end confdefs.h. */
11255 rm -f conftest.
$ac_objext conftest
$ac_exeext
11256 if { (ac_try
="$ac_link"
11257 case "(($ac_try" in
11258 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11259 *) ac_try_echo=$ac_try;;
11261 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11262 $as_echo "$ac_try_echo") >&5
11263 (eval "$ac_link") 2>conftest.er1
11265 grep -v '^ *+' conftest.er1 >conftest.err
11267 cat conftest.err >&5
11268 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11269 (exit $ac_status); } && {
11270 test -z "$ac_c_werror_flag" ||
11271 test ! -s conftest.err
11272 } && test -s conftest$ac_exeext && {
11273 test "$cross_compiling" = yes ||
11274 $as_test_x conftest$ac_exeext
11276 use_hash_style="yes"
11278 $as_echo "$as_me: failed program was:" >&5
11279 sed 's/^/| /' conftest.$ac_ext >&5
11281 use_hash_style="no"
11284 rm -rf conftest.dSYM
11285 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11286 conftest$ac_exeext conftest.$ac_ext
11287 { $as_echo "$as_me:$LINENO: result: $use_hash_style" >&5
11288 $as_echo "$use_hash_style" >&6; }
11289 if test "x-$use_hash_style" = "x-yes" ; then
11290 aros_kernel_cflags="$aros_kernel_cflags -Wl,--hash-style=sysv"
11293 CFLAGS="$save_cflags"
11303 { $as_echo "$as_me:$LINENO: checking for default resolution of WBScreen" >&5
11304 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
11306 # Check whether --with-resolution was given.
11307 if test "${with_resolution+set}" = set; then
11308 withval=$with_resolution; resolution=$withval
11313 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
11314 if test "$resolution" = "yes" ; then
11317 if test "$resolution" = "no" ; then
11320 if test "$resolution" != "none" ; then
11321 aros_default_wbwidth=`echo $resolution | cut
-d'x' -f1`
11322 aros_default_wbheight=`echo $resolution | cut
-d'x' -f2`
11323 aros_default_wbdepth=`echo $resolution | cut
-d'x' -f3`
11325 { $as_echo "$as_me:$LINENO: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
11326 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
11327 aros_cv_default_wbwidth=$aros_default_wbwidth
11328 aros_cv_default_wbheight=$aros_default_wbheight
11329 aros_cv_default_wbdepth=$aros_default_wbdepth
11331 { $as_echo "$as_me:$LINENO: checking if serial debug is enabled" >&5
11332 $as_echo_n "checking if serial debug is enabled... " >&6; }
11334 # Check whether --with-serial-debug was given.
11335 if test "${with_serial_debug+set}" = set; then
11336 withval=$with_serial_debug; serial_debug=$withval
11341 if test "$aros_serial_debug" = 0 ; then
11342 serial_debug_forced=""
11343 if test "$serial_debug" = "yes" ; then
11346 if test "$serial_debug" = "no" ; then
11347 serial_debug="none"
11350 serial_debug_forced="(forced)"
11351 serial_debug=$aros_serial_debug
11353 if test "$serial_debug" != "none" ; then
11354 aros_serial_debug=$serial_debug
11355 { $as_echo "$as_me:$LINENO: result: $serial_debug_forced on port $serial_debug" >&5
11356 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
11358 { $as_echo "$as_me:$LINENO: result: no" >&5
11359 $as_echo "no" >&6; }
11362 { $as_echo "$as_me:$LINENO: checking if palm debug hack is enabled" >&5
11363 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
11364 # Check whether --enable-palm_debug_hack was given.
11365 if test "${enable_palm_debug_hack+set}" = set; then
11366 enableval=$enable_palm_debug_hack; palm_debug_hack="yes"
11368 palm_debug_hack="no"
11371 if test "$palm_debug_hack" = "yes" ; then
11372 aros_palm_debug_hack="1"
11374 { $as_echo "$as_me:$LINENO: result: $palm_debug_hack" >&5
11375 $as_echo "$palm_debug_hack" >&6; }
11378 { $as_echo "$as_me:$LINENO: checking if nesting supervisor support is enabled" >&5
11379 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
11380 # Check whether --enable-nesting_supervisor was given.
11381 if test "${enable_nesting_supervisor+set}" = set; then
11382 enableval=$enable_nesting_supervisor; nesting_supervisor="yes"
11384 nesting_supervisor="no"
11387 if test "$nesting_supervisor" = "yes" ; then
11388 aros_nesting_supervisor="1"
11390 { $as_echo "$as_me:$LINENO: result: $nesting_supervisor" >&5
11391 $as_echo "$nesting_supervisor" >&6; }
11394 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
11396 if test "x-$need_dlopen" != "x-no" ; then
11397 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
11398 $as_echo_n "checking for dlopen... " >&6; }
11399 if test "${ac_cv_func_dlopen+set}" = set; then
11400 $as_echo_n "(cached) " >&6
11402 cat >conftest.$ac_ext <<_ACEOF
11405 cat confdefs.h >>conftest.$ac_ext
11406 cat >>conftest.$ac_ext <<_ACEOF
11407 /* end confdefs.h. */
11408 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11410 #define dlopen innocuous_dlopen
11412 /* System header to define __stub macros and hopefully few prototypes,
11413 which can conflict with char dlopen (); below.
11414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11415 <limits.h> exists even on freestanding compilers. */
11418 # include <limits.h>
11420 # include <assert.h>
11425 /* Override any GCC internal prototype to avoid an error.
11426 Use char because int might match the return type of a GCC
11427 builtin and then its argument prototype would still apply. */
11432 /* The GNU C library defines this for functions which it implements
11433 to always fail with ENOSYS. Some functions are actually named
11434 something starting with __ and the normal name is an alias. */
11435 #if defined __stub_dlopen || defined __stub___dlopen
11447 rm -f conftest.$ac_objext conftest$ac_exeext
11448 if { (ac_try="$ac_link"
11449 case "(($ac_try" in
11450 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11451 *) ac_try_echo
=$ac_try;;
11453 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11454 $as_echo "$ac_try_echo") >&5
11455 (eval "$ac_link") 2>conftest.er1
11457 grep -v '^ *+' conftest.er1
>conftest.err
11459 cat conftest.err
>&5
11460 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11461 (exit $ac_status); } && {
11462 test -z "$ac_c_werror_flag" ||
11463 test ! -s conftest.err
11464 } && test -s conftest
$ac_exeext && {
11465 test "$cross_compiling" = yes ||
11466 $as_test_x conftest
$ac_exeext
11468 ac_cv_func_dlopen
=yes
11470 $as_echo "$as_me: failed program was:" >&5
11471 sed 's/^/| /' conftest.
$ac_ext >&5
11473 ac_cv_func_dlopen
=no
11476 rm -rf conftest.dSYM
11477 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11478 conftest
$ac_exeext conftest.
$ac_ext
11480 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11481 $as_echo "$ac_cv_func_dlopen" >&6; }
11482 if test "x$ac_cv_func_dlopen" = x
""yes; then
11488 if test "x-$have_dl" = "x-no" ; then
11489 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11490 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11491 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11492 $as_echo_n "(cached) " >&6
11494 ac_check_lib_save_LIBS
=$LIBS
11496 cat >conftest.
$ac_ext <<_ACEOF
11499 cat confdefs.h
>>conftest.
$ac_ext
11500 cat >>conftest.
$ac_ext <<_ACEOF
11501 /* end confdefs.h. */
11503 /* Override any GCC internal prototype to avoid an error.
11504 Use char because int might match the return type of a GCC
11505 builtin and then its argument prototype would still apply. */
11518 rm -f conftest.
$ac_objext conftest
$ac_exeext
11519 if { (ac_try
="$ac_link"
11520 case "(($ac_try" in
11521 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11522 *) ac_try_echo=$ac_try;;
11524 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11525 $as_echo "$ac_try_echo") >&5
11526 (eval "$ac_link") 2>conftest.er1
11528 grep -v '^ *+' conftest.er1 >conftest.err
11530 cat conftest.err >&5
11531 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11532 (exit $ac_status); } && {
11533 test -z "$ac_c_werror_flag" ||
11534 test ! -s conftest.err
11535 } && test -s conftest$ac_exeext && {
11536 test "$cross_compiling" = yes ||
11537 $as_test_x conftest$ac_exeext
11539 ac_cv_lib_dl_dlopen=yes
11541 $as_echo "$as_me: failed program was:" >&5
11542 sed 's/^/| /' conftest.$ac_ext >&5
11544 ac_cv_lib_dl_dlopen=no
11547 rm -rf conftest.dSYM
11548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11549 conftest$ac_exeext conftest.$ac_ext
11550 LIBS=$ac_check_lib_save_LIBS
11552 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11553 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11554 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
11556 aros_host_ldflags="$aros_host_ldflags -ldl"
11562 if test "x-$have_dl" = "x-no" ; then
11563 { { $as_echo "$as_me:$LINENO: error: dlopen() dynamic linker functions not available" >&5
11564 $as_echo "$as_me: error: dlopen() dynamic linker functions not available" >&2;}
11565 { (exit 1); exit 1; }; }
11570 # Check whether --enable-x11_hidd was given.
11571 if test "${enable_x11_hidd+set}" = set; then
11572 enableval=$enable_x11_hidd; x11_hidd="$enableval"
11577 case "x-$x11_hidd" in
11578 x-yes|x-no|x-auto) ;;
11579 *) x11_hidd="auto" ;;
11584 if test "x-$x11_hidd" != "x-no" ; then
11586 { $as_echo "$as_me:$LINENO: checking for X" >&5
11587 $as_echo_n "checking for X... " >&6; }
11590 # Check whether --with-x was given.
11591 if test "${with_x+set}" = set; then
11595 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11596 if test "x$with_x" = xno; then
11597 # The user explicitly disabled X.
11600 case $x_includes,$x_libraries in #(
11601 *\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5
11602 $as_echo "$as_me: error: cannot use X directory names containing '" >&2;}
11603 { (exit 1); exit 1; }; };; #(
11604 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
11605 $as_echo_n "(cached) " >&6
11607 # One or both of the vars are not set, and there is no cached value.
11608 ac_x_includes=no ac_x_libraries=no
11609 rm -f -r conftest.dir
11610 if mkdir conftest.dir; then
11612 cat >Imakefile <<'_ACEOF'
11614 @echo incroot='${INCROOT}'
11616 @echo usrlibdir='${USRLIBDIR}'
11618 @echo libdir='${LIBDIR}'
11620 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
11621 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11622 for ac_var in incroot usrlibdir libdir; do
11623 eval "ac_im_$ac_var=\`\
${MAKE-make} $ac_var 2>/dev
/null |
sed -n 's/^$ac_var=//p'\
`"
11625 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11626 for ac_extension in a so sl dylib la dll; do
11627 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
11628 test -f "$ac_im_libdir/libX11.$ac_extension"; then
11629 ac_im_usrlibdir=$ac_im_libdir; break
11632 # Screen out bogus values from the imake configuration. They are
11633 # bogus both because they are the default anyway, and because
11634 # using them would break gcc on systems where it needs fixed includes.
11635 case $ac_im_incroot in
11636 /usr/include) ac_x_includes= ;;
11637 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
11639 case $ac_im_usrlibdir in
11640 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
11641 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
11645 rm -f -r conftest.dir
11648 # Standard set of common directories for X headers.
11649 # Check X11 before X11Rn because it is often a symlink to the current release.
11661 /usr/local/X11/include
11662 /usr/local/X11R6/include
11663 /usr/local/X11R5/include
11664 /usr/local/X11R4/include
11666 /usr/local/include/X11
11667 /usr/local/include/X11R6
11668 /usr/local/include/X11R5
11669 /usr/local/include/X11R4
11673 /usr/XFree86/include/X11
11677 /usr/unsupported/include
11678 /usr/athena/include
11679 /usr/local/x11r5/include
11680 /usr/lpp/Xamples/include
11682 /usr/openwin/include
11683 /usr/openwin/share/include'
11685 if test "$ac_x_includes" = no; then
11686 # Guess where to find include files, by looking for Xlib.h.
11687 # First, try using that file with no special directory specified.
11688 cat >conftest.$ac_ext <<_ACEOF
11691 cat confdefs.h >>conftest.$ac_ext
11692 cat >>conftest.$ac_ext <<_ACEOF
11693 /* end confdefs.h. */
11694 #include <X11/Xlib.h>
11696 if { (ac_try="$ac_cpp conftest.$ac_ext"
11697 case "(($ac_try" in
11698 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11699 *) ac_try_echo
=$ac_try;;
11701 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11702 $as_echo "$ac_try_echo") >&5
11703 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11705 grep -v '^ *+' conftest.er1
>conftest.err
11707 cat conftest.err
>&5
11708 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11709 (exit $ac_status); } >/dev
/null
&& {
11710 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11711 test ! -s conftest.err
11713 # We can compile using X headers with no special include directory.
11716 $as_echo "$as_me: failed program was:" >&5
11717 sed 's/^/| /' conftest.
$ac_ext >&5
11719 for ac_dir
in $ac_x_header_dirs; do
11720 if test -r "$ac_dir/X11/Xlib.h"; then
11721 ac_x_includes
=$ac_dir
11727 rm -f conftest.err conftest.
$ac_ext
11728 fi # $ac_x_includes = no
11730 if test "$ac_x_libraries" = no
; then
11731 # Check for the libraries.
11732 # See if we find them without any special options.
11733 # Don't add to $LIBS permanently.
11736 cat >conftest.
$ac_ext <<_ACEOF
11739 cat confdefs.h
>>conftest.
$ac_ext
11740 cat >>conftest.
$ac_ext <<_ACEOF
11741 /* end confdefs.h. */
11742 #include <X11/Xlib.h>
11751 rm -f conftest.
$ac_objext conftest
$ac_exeext
11752 if { (ac_try
="$ac_link"
11753 case "(($ac_try" in
11754 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11755 *) ac_try_echo=$ac_try;;
11757 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11758 $as_echo "$ac_try_echo") >&5
11759 (eval "$ac_link") 2>conftest.er1
11761 grep -v '^ *+' conftest.er1 >conftest.err
11763 cat conftest.err >&5
11764 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11765 (exit $ac_status); } && {
11766 test -z "$ac_c_werror_flag" ||
11767 test ! -s conftest.err
11768 } && test -s conftest$ac_exeext && {
11769 test "$cross_compiling" = yes ||
11770 $as_test_x conftest$ac_exeext
11773 # We can link X programs with no special library path.
11776 $as_echo "$as_me: failed program was:" >&5
11777 sed 's/^/| /' conftest.$ac_ext >&5
11780 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
11782 # Don't even attempt the hair of trying to link an X program!
11783 for ac_extension in a so sl dylib la dll; do
11784 if test -r "$ac_dir/libX11.$ac_extension"; then
11785 ac_x_libraries=$ac_dir
11792 rm -rf conftest.dSYM
11793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11794 conftest$ac_exeext conftest.$ac_ext
11795 fi # $ac_x_libraries = no
11797 case $ac_x_includes,$ac_x_libraries in #(
11798 no,* | *,no | *\'*)
11799 # Didn't find X, or a directory has "'" in its name.
11800 ac_cv_have_x="have_x=no";; #(
11802 # Record where we found X for the cache.
11803 ac_cv_have_x="have_x=yes\
11804 ac_x_includes='$ac_x_includes'\
11805 ac_x_libraries='$ac_x_libraries'"
11811 eval "$ac_cv_have_x"
11814 if test "$have_x" != yes; then
11815 { $as_echo "$as_me:$LINENO: result: $have_x" >&5
11816 $as_echo "$have_x" >&6; }
11819 # If each of the values was on the command line, it overrides each guess.
11820 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
11821 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
11822 # Update the cache value to reflect the command line values.
11823 ac_cv_have_x="have_x=yes\
11824 ac_x_includes='$x_includes'\
11825 ac_x_libraries='$x_libraries'"
11826 { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
11827 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11832 for path in $x_libraries
11834 x_cflags="$x_cflags -L$path"
11837 for path in $x_includes
11839 x_cflags="$x_cflags -I$path"
11842 if test "x-$no_x" = "x-yes" ; then
11844 if test "x-$x11_hidd" != "x-auto" ; then
11845 { { $as_echo "$as_me:$LINENO: error: X11 libs/headers not found, cannot build X11 hidd as requested" >&5
11846 $as_echo "$as_me: error: X11 libs/headers not found, cannot build X11 hidd as requested" >&2;}
11847 { (exit 1); exit 1; }; }
11851 x11_hidd_target=kernel-x11gfx-kobj
11854 # Check whether --enable-x11_shm was given.
11855 if test "${enable_x11_shm+set}" = set; then
11856 enableval=$enable_x11_shm; x11_hidd_shm="$enableval"
11858 x11_hidd_shm="auto"
11861 case "x-$x11_hidd_shm" in
11862 x-yes|x-no|x-auto) ;;
11863 *) x11_hidd_shm="auto" ;;
11868 if test "x-$x11_hidd_shm" != "x-no" ; then
11871 for ac_header in sys/ipc.h
11873 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11874 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11875 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11876 $as_echo_n "checking for $ac_header... " >&6; }
11877 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11878 $as_echo_n "(cached) " >&6
11880 ac_res=`eval 'as_val=${'$as_ac_Header'}
11881 $as_echo "$as_val"'`
11882 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11883 $as_echo "$ac_res" >&6; }
11885 # Is the header compilable?
11886 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11887 $as_echo_n "checking $ac_header usability... " >&6; }
11888 cat >conftest.$ac_ext <<_ACEOF
11891 cat confdefs.h >>conftest.$ac_ext
11892 cat >>conftest.$ac_ext <<_ACEOF
11893 /* end confdefs.h. */
11894 $ac_includes_default
11895 #include <$ac_header>
11897 rm -f conftest.$ac_objext
11898 if { (ac_try="$ac_compile"
11899 case "(($ac_try" in
11900 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11901 *) ac_try_echo
=$ac_try;;
11903 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11904 $as_echo "$ac_try_echo") >&5
11905 (eval "$ac_compile") 2>conftest.er1
11907 grep -v '^ *+' conftest.er1
>conftest.err
11909 cat conftest.err
>&5
11910 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11911 (exit $ac_status); } && {
11912 test -z "$ac_c_werror_flag" ||
11913 test ! -s conftest.err
11914 } && test -s conftest.
$ac_objext; then
11915 ac_header_compiler
=yes
11917 $as_echo "$as_me: failed program was:" >&5
11918 sed 's/^/| /' conftest.
$ac_ext >&5
11920 ac_header_compiler
=no
11923 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11924 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11925 $as_echo "$ac_header_compiler" >&6; }
11927 # Is the header present?
11928 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11929 $as_echo_n "checking $ac_header presence... " >&6; }
11930 cat >conftest.
$ac_ext <<_ACEOF
11933 cat confdefs.h
>>conftest.
$ac_ext
11934 cat >>conftest.
$ac_ext <<_ACEOF
11935 /* end confdefs.h. */
11936 #include <$ac_header>
11938 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11939 case "(($ac_try" in
11940 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11941 *) ac_try_echo=$ac_try;;
11943 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11944 $as_echo "$ac_try_echo") >&5
11945 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11947 grep -v '^ *+' conftest.er1 >conftest.err
11949 cat conftest.err >&5
11950 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11951 (exit $ac_status); } >/dev/null && {
11952 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11953 test ! -s conftest.err
11955 ac_header_preproc=yes
11957 $as_echo "$as_me: failed program was:" >&5
11958 sed 's/^/| /' conftest.$ac_ext >&5
11960 ac_header_preproc=no
11963 rm -f conftest.err conftest.$ac_ext
11964 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11965 $as_echo "$ac_header_preproc" >&6; }
11967 # So? What about this header?
11968 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11970 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11971 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11972 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11973 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11974 ac_header_preproc=yes
11977 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11978 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11979 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11980 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11981 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11982 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11983 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11984 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11985 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11986 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11987 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11988 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11992 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11993 $as_echo_n "checking for $ac_header... " >&6; }
11994 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11995 $as_echo_n "(cached) " >&6
11997 eval "$as_ac_Header=\$ac_header_preproc"
11999 ac_res=`eval 'as_val=${'$as_ac_Header'}
12000 $as_echo "$as_val"'`
12001 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12002 $as_echo "$ac_res" >&6; }
12005 as_val=`eval 'as_val=${'$as_ac_Header'}
12006 $as_echo "$as_val"'`
12007 if test "x$as_val" = x""yes; then
12008 cat >>confdefs.h <<_ACEOF
12009 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12017 for ac_header in sys/shm.h
12019 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
12020 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12021 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12022 $as_echo_n "checking for $ac_header... " >&6; }
12023 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12024 $as_echo_n "(cached) " >&6
12026 ac_res=`eval 'as_val=${'$as_ac_Header'}
12027 $as_echo "$as_val"'`
12028 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12029 $as_echo "$ac_res" >&6; }
12031 # Is the header compilable?
12032 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
12033 $as_echo_n "checking $ac_header usability... " >&6; }
12034 cat >conftest.$ac_ext <<_ACEOF
12037 cat confdefs.h >>conftest.$ac_ext
12038 cat >>conftest.$ac_ext <<_ACEOF
12039 /* end confdefs.h. */
12040 $ac_includes_default
12041 #include <$ac_header>
12043 rm -f conftest.$ac_objext
12044 if { (ac_try="$ac_compile"
12045 case "(($ac_try" in
12046 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12047 *) ac_try_echo
=$ac_try;;
12049 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12050 $as_echo "$ac_try_echo") >&5
12051 (eval "$ac_compile") 2>conftest.er1
12053 grep -v '^ *+' conftest.er1
>conftest.err
12055 cat conftest.err
>&5
12056 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12057 (exit $ac_status); } && {
12058 test -z "$ac_c_werror_flag" ||
12059 test ! -s conftest.err
12060 } && test -s conftest.
$ac_objext; then
12061 ac_header_compiler
=yes
12063 $as_echo "$as_me: failed program was:" >&5
12064 sed 's/^/| /' conftest.
$ac_ext >&5
12066 ac_header_compiler
=no
12069 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12070 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12071 $as_echo "$ac_header_compiler" >&6; }
12073 # Is the header present?
12074 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
12075 $as_echo_n "checking $ac_header presence... " >&6; }
12076 cat >conftest.
$ac_ext <<_ACEOF
12079 cat confdefs.h
>>conftest.
$ac_ext
12080 cat >>conftest.
$ac_ext <<_ACEOF
12081 /* end confdefs.h. */
12082 #include <$ac_header>
12084 if { (ac_try
="$ac_cpp conftest.$ac_ext"
12085 case "(($ac_try" in
12086 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12087 *) ac_try_echo=$ac_try;;
12089 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12090 $as_echo "$ac_try_echo") >&5
12091 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12093 grep -v '^ *+' conftest.er1 >conftest.err
12095 cat conftest.err >&5
12096 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12097 (exit $ac_status); } >/dev/null && {
12098 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12099 test ! -s conftest.err
12101 ac_header_preproc=yes
12103 $as_echo "$as_me: failed program was:" >&5
12104 sed 's/^/| /' conftest.$ac_ext >&5
12106 ac_header_preproc=no
12109 rm -f conftest.err conftest.$ac_ext
12110 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12111 $as_echo "$ac_header_preproc" >&6; }
12113 # So? What about this header?
12114 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12116 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12117 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12118 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12119 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12120 ac_header_preproc=yes
12123 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12124 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12125 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12126 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12127 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12128 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12129 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12130 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12131 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12132 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12133 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12134 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12138 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
12139 $as_echo_n "checking for $ac_header... " >&6; }
12140 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12141 $as_echo_n "(cached) " >&6
12143 eval "$as_ac_Header=\$ac_header_preproc"
12145 ac_res=`eval 'as_val=${'$as_ac_Header'}
12146 $as_echo "$as_val"'`
12147 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12148 $as_echo "$ac_res" >&6; }
12151 as_val=`eval 'as_val=${'$as_ac_Header'}
12152 $as_echo "$as_val"'`
12153 if test "x$as_val" = x""yes; then
12154 cat >>confdefs.h <<_ACEOF
12155 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
12163 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
12165 save_cflags="$CFLAGS"
12166 CFLAGS="$CFLAGS $x_cflags"
12167 { $as_echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
12168 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
12169 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
12170 $as_echo_n "(cached) " >&6
12172 ac_check_lib_save_LIBS=$LIBS
12173 LIBS="-lXext $LIBS"
12174 cat >conftest.$ac_ext <<_ACEOF
12177 cat confdefs.h >>conftest.$ac_ext
12178 cat >>conftest.$ac_ext <<_ACEOF
12179 /* end confdefs.h. */
12181 /* Override any GCC internal prototype to avoid an error.
12182 Use char because int might match the return type of a GCC
12183 builtin and then its argument prototype would still apply. */
12187 char XShmQueryExtension ();
12191 return XShmQueryExtension ();
12196 rm -f conftest.$ac_objext conftest$ac_exeext
12197 if { (ac_try="$ac_link"
12198 case "(($ac_try" in
12199 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12200 *) ac_try_echo
=$ac_try;;
12202 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12203 $as_echo "$ac_try_echo") >&5
12204 (eval "$ac_link") 2>conftest.er1
12206 grep -v '^ *+' conftest.er1
>conftest.err
12208 cat conftest.err
>&5
12209 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12210 (exit $ac_status); } && {
12211 test -z "$ac_c_werror_flag" ||
12212 test ! -s conftest.err
12213 } && test -s conftest
$ac_exeext && {
12214 test "$cross_compiling" = yes ||
12215 $as_test_x conftest
$ac_exeext
12217 ac_cv_lib_Xext_XShmQueryExtension
=yes
12219 $as_echo "$as_me: failed program was:" >&5
12220 sed 's/^/| /' conftest.
$ac_ext >&5
12222 ac_cv_lib_Xext_XShmQueryExtension
=no
12225 rm -rf conftest.dSYM
12226 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12227 conftest
$ac_exeext conftest.
$ac_ext
12228 LIBS
=$ac_check_lib_save_LIBS
12230 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
12231 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
12232 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = x
""yes; then
12236 CFLAGS
="$save_cflags"
12240 if test "x-$have_xshm" = "x-yes" ; then
12241 DO_XSHM_SUPPORT
="1"
12242 elif test "x-$x11_hidd_shm" = "x-yes" ; then
12243 { { $as_echo "$as_me:$LINENO: error: X11 has no support for shared memory, cannot enable it as requested" >&5
12244 $as_echo "$as_me: error: X11 has no support for shared memory, cannot enable it as requested" >&2;}
12245 { (exit 1); exit 1; }; }
12247 DO_XSHM_SUPPORT
="0"
12251 # Check whether --enable-x11_vidmode was given.
12252 if test "${enable_x11_vidmode+set}" = set; then
12253 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
12255 x11_hidd_vidmode
="auto"
12258 case "x-$x11_hidd_vidmode" in
12259 x-yes|x-no|x-auto
) ;;
12260 *) x11_hidd_vidmode
="auto" ;;
12265 if test "x-$x11_hidd_vidmode" != "x-no" ; then
12267 save_cflags
="$CFLAGS"
12268 CFLAGS
="$CFLAGS $x_cflags"
12269 { $as_echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
12270 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
12271 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
12272 $as_echo_n "(cached) " >&6
12274 ac_check_lib_save_LIBS
=$LIBS
12275 LIBS
="-lXxf86vm $LIBS"
12276 cat >conftest.
$ac_ext <<_ACEOF
12279 cat confdefs.h
>>conftest.
$ac_ext
12280 cat >>conftest.
$ac_ext <<_ACEOF
12281 /* end confdefs.h. */
12283 /* Override any GCC internal prototype to avoid an error.
12284 Use char because int might match the return type of a GCC
12285 builtin and then its argument prototype would still apply. */
12289 char XF86VidModeQueryExtension ();
12293 return XF86VidModeQueryExtension ();
12298 rm -f conftest.
$ac_objext conftest
$ac_exeext
12299 if { (ac_try
="$ac_link"
12300 case "(($ac_try" in
12301 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12302 *) ac_try_echo=$ac_try;;
12304 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12305 $as_echo "$ac_try_echo") >&5
12306 (eval "$ac_link") 2>conftest.er1
12308 grep -v '^ *+' conftest.er1 >conftest.err
12310 cat conftest.err >&5
12311 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12312 (exit $ac_status); } && {
12313 test -z "$ac_c_werror_flag" ||
12314 test ! -s conftest.err
12315 } && test -s conftest$ac_exeext && {
12316 test "$cross_compiling" = yes ||
12317 $as_test_x conftest$ac_exeext
12319 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
12321 $as_echo "$as_me: failed program was:" >&5
12322 sed 's/^/| /' conftest.$ac_ext >&5
12324 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
12327 rm -rf conftest.dSYM
12328 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12329 conftest$ac_exeext conftest.$ac_ext
12330 LIBS=$ac_check_lib_save_LIBS
12332 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
12333 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
12334 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = x""yes; then
12338 CFLAGS="$save_cflags"
12341 if test "x-$have_vidmode" = "x-yes" ; then
12342 DO_VIDMODE_SUPPORT="1"
12343 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
12344 { { $as_echo "$as_me:$LINENO: error: X11 vidmode extension not available, cannot enable it as requested" >&5
12345 $as_echo "$as_me: error: X11 vidmode extension not available, cannot enable it as requested" >&2;}
12346 { (exit 1); exit 1; }; }
12348 DO_VIDMODE_SUPPORT="0"
12352 aros_host_x11_includes=$x_includes
12353 aros_host_x11_libdirs=$x_libraries
12357 # Check whether --enable-sdl_hidd was given.
12358 if test "${enable_sdl_hidd+set}" = set; then
12359 enableval=$enable_sdl_hidd; sdl_hidd="$enableval"
12364 case "x-$sdl_hidd" in
12365 x-yes|x-no|x-auto) ;;
12366 *) sdl_hidd="auto" ;;
12369 if test "x-$sdl_hidd" != "x-no" ; then
12372 # Check whether --with-sdl-prefix was given.
12373 if test "${with_sdl_prefix+set}" = set; then
12374 withval=$with_sdl_prefix; sdl_prefix="$withval"
12380 # Check whether --with-sdl-exec-prefix was given.
12381 if test "${with_sdl_exec_prefix+set}" = set; then
12382 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
12387 # Check whether --enable-sdltest was given.
12388 if test "${enable_sdltest+set}" = set; then
12389 enableval=$enable_sdltest;
12395 if test x$sdl_exec_prefix != x ; then
12396 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
12397 if test x${SDL_CONFIG+set} != xset ; then
12398 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
12401 if test x$sdl_prefix != x ; then
12402 sdl_args="$sdl_args --prefix=$sdl_prefix"
12403 if test x${SDL_CONFIG+set} != xset ; then
12404 SDL_CONFIG=$sdl_prefix/bin/sdl-config
12408 if test "x$prefix" != xNONE; then
12409 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
12411 # Extract the first word of "sdl-config", so it can be a program name with args.
12412 set dummy sdl-config; ac_word=$2
12413 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
12414 $as_echo_n "checking for $ac_word... " >&6; }
12415 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
12416 $as_echo_n "(cached) " >&6
12418 case $SDL_CONFIG in
12420 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
12423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12424 for as_dir in $PATH
12427 test -z "$as_dir" && as_dir=.
12428 for ac_exec_ext in '' $ac_executable_extensions; do
12429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12430 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12431 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12438 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
12442 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
12443 if test -n "$SDL_CONFIG"; then
12444 { $as_echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
12445 $as_echo "$SDL_CONFIG" >&6; }
12447 { $as_echo "$as_me:$LINENO: result: no" >&5
12448 $as_echo "no" >&6; }
12452 min_sdl_version=1.2.10
12453 { $as_echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
12454 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
12456 if test "$SDL_CONFIG" = "no" ; then
12459 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
12460 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
12462 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
12463 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12464 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
12465 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12466 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
12467 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12468 if test "x$enable_sdltest" = "xyes" ; then
12469 ac_save_CFLAGS="$CFLAGS"
12470 ac_save_CXXFLAGS="$CXXFLAGS"
12471 ac_save_LIBS="$LIBS"
12472 CFLAGS="$CFLAGS $SDL_CFLAGS"
12473 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
12474 LIBS="$LIBS $SDL_LIBS"
12476 if test "$cross_compiling" = yes; then
12477 echo $ac_n "cross compiling; assumed OK... $ac_c"
12479 cat >conftest.$ac_ext <<_ACEOF
12482 cat confdefs.h >>conftest.$ac_ext
12483 cat >>conftest.$ac_ext <<_ACEOF
12484 /* end confdefs.h. */
12487 #include <stdlib.h>
12488 #include <string.h>
12492 my_strdup (char *str)
12498 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
12499 strcpy (new_str, str);
12507 int main (int argc, char *argv[])
12509 int major, minor, micro;
12512 /* This hangs on some systems (?)
12513 system ("touch conf.sdltest");
12515 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
12517 /* HP/UX 9 (%@#!) writes to sscanf strings */
12518 tmp_version = my_strdup("$min_sdl_version");
12519 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12520 printf("%s, bad version string\n", "$min_sdl_version");
12524 if (($sdl_major_version > major) ||
12525 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
12526 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
12532 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
12533 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
12534 printf("*** best to upgrade to the required version.\n");
12535 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
12536 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
12537 printf("*** config.cache before re-running configure\n");
12544 rm -f conftest$ac_exeext
12545 if { (ac_try="$ac_link"
12546 case "(($ac_try" in
12547 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12548 *) ac_try_echo
=$ac_try;;
12550 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12551 $as_echo "$ac_try_echo") >&5
12552 (eval "$ac_link") 2>&5
12554 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12555 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12556 { (case "(($ac_try" in
12557 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12558 *) ac_try_echo=$ac_try;;
12560 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12561 $as_echo "$ac_try_echo") >&5
12562 (eval "$ac_try") 2>&5
12564 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12565 (exit $ac_status); }; }; then
12568 $as_echo "$as_me: program exited with status $ac_status" >&5
12569 $as_echo "$as_me: failed program was:" >&5
12570 sed 's/^/| /' conftest.$ac_ext >&5
12572 ( exit $ac_status )
12575 rm -rf conftest.dSYM
12576 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12580 CFLAGS="$ac_save_CFLAGS"
12581 CXXFLAGS="$ac_save_CXXFLAGS"
12582 LIBS="$ac_save_LIBS"
12585 if test "x$no_sdl" = x ; then
12586 { $as_echo "$as_me:$LINENO: result: yes" >&5
12587 $as_echo "yes" >&6; }
12590 { $as_echo "$as_me:$LINENO: result: no" >&5
12591 $as_echo "no" >&6; }
12592 if test "$SDL_CONFIG" = "no" ; then
12593 echo "*** The sdl-config script installed by SDL could not be found"
12594 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
12595 echo "*** your path, or set the SDL_CONFIG environment variable to the"
12596 echo "*** full path to sdl-config."
12598 if test -f conf.sdltest ; then
12601 echo "*** Could not run SDL test program, checking why..."
12602 CFLAGS="$CFLAGS $SDL_CFLAGS"
12603 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
12604 LIBS="$LIBS $SDL_LIBS"
12605 cat >conftest.$ac_ext <<_ACEOF
12608 cat confdefs.h >>conftest.$ac_ext
12609 cat >>conftest.$ac_ext <<_ACEOF
12610 /* end confdefs.h. */
12615 int main(int argc, char *argv[])
12618 #define main K_and_R_C_main
12628 rm -f conftest.$ac_objext conftest$ac_exeext
12629 if { (ac_try="$ac_link"
12630 case "(($ac_try" in
12631 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12632 *) ac_try_echo
=$ac_try;;
12634 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12635 $as_echo "$ac_try_echo") >&5
12636 (eval "$ac_link") 2>conftest.er1
12638 grep -v '^ *+' conftest.er1
>conftest.err
12640 cat conftest.err
>&5
12641 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12642 (exit $ac_status); } && {
12643 test -z "$ac_c_werror_flag" ||
12644 test ! -s conftest.err
12645 } && test -s conftest
$ac_exeext && {
12646 test "$cross_compiling" = yes ||
12647 $as_test_x conftest
$ac_exeext
12649 echo "*** The test program compiled, but did not run. This usually means"
12650 echo "*** that the run-time linker is not finding SDL or finding the wrong"
12651 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
12652 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12653 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12654 echo "*** is required on your system"
12656 echo "*** If you have an old version installed, it is best to remove it, although"
12657 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12659 $as_echo "$as_me: failed program was:" >&5
12660 sed 's/^/| /' conftest.
$ac_ext >&5
12662 echo "*** The test program failed to compile or link. See the file config.log for the"
12663 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
12664 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
12665 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
12668 rm -rf conftest.dSYM
12669 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12670 conftest
$ac_exeext conftest.
$ac_ext
12671 CFLAGS
="$ac_save_CFLAGS"
12672 CXXFLAGS
="$ac_save_CXXFLAGS"
12673 LIBS
="$ac_save_LIBS"
12685 if test "x-$have_sdl" != "x-yes" ; then
12687 if test "x-$sdl_hidd" != "x-auto" ; then
12688 { { $as_echo "$as_me:$LINENO: error: SDL libs/headers not found, cannot build SDL hidd as requested" >&5
12689 $as_echo "$as_me: error: SDL libs/headers not found, cannot build SDL hidd as requested" >&2;}
12690 { (exit 1); exit 1; }; }
12694 sdl_hidd_target
=kernel-hidd-sdl
12695 aros_host_sdl_cflags
=SDL_CFLAGS
12696 aros_host_sdl_libs
=SDL_LIBS
12703 { $as_echo "$as_me:$LINENO: checking if building of dbus.library is enabled" >&5
12704 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
12705 # Check whether --enable-dbus was given.
12706 if test "${enable_dbus+set}" = set; then
12707 enableval
=$enable_dbus; dbus
="yes"
12712 if test "$dbus" = "yes" ; then
12714 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
12715 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
12716 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
12717 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
12721 { $as_echo "$as_me:$LINENO: result: $dbus" >&5
12722 $as_echo "$dbus" >&6; }
12821 # Native version related
12824 # Palm native version related
12827 # Unix/Hosted version related
12846 # Collect-aros stuff: "-ius" to ignore undefined symbols
12849 # C compiler related
12852 case "$aros_flavour" in
12853 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
12854 aros_flavour
="emulation" ;;
12855 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
12856 aros_flavour
="emulation" ;;
12857 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
12858 aros_flavour
="standalone";;
12859 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
12860 aros_flavour
="native" ;;
12861 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
12862 aros_flavour
="native" ;;
12863 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
12864 aros_flavour
="linklib" ;;
12865 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
12866 aros_flavour
="palmnative" ;;
12867 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
12868 aros_flavour
="mac68knative" ;;
12869 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
12870 aros_flavour
="ppcnative" ;;
12873 if test ! -d ${aros_inc_dir} ; then
12874 ${MKDIR} ${aros_inc_dir}
12876 if test ! -d ${aros_geninc_dir} ; then
12877 ${MKDIR} ${aros_geninc_dir}
12879 if test ! -d ${aros_hostcfg_dir} ; then
12880 ${MKDIR} ${aros_hostcfg_dir}
12882 if test ! -d ${aros_targetcfg_dir} ; then
12883 ${MKDIR} ${aros_targetcfg_dir}
12885 if test ! -d ${aros_tools_dir} ; then
12886 ${MKDIR} ${aros_tools_dir}
12888 if test ! -d ${aros_scripts_dir} ; then
12889 ${MKDIR} ${aros_scripts_dir}
12892 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
12895 ac_config_commands
="$ac_config_commands compiler_executable"
12897 ac_config_commands
="$ac_config_commands genshared_executable"
12899 ac_config_commands
="$ac_config_commands genmf_executable"
12902 ac_config_files
="$ac_config_files Makefile config/make.cfg ${aros_inc_dir}/config.h:config/config.h.in ${aros_geninc_dir}/config.h:config/config.h.in ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in mmake.config ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in ${aros_targetcfg_dir}/specs:config/specs.in ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-gcc:scripts/aros-gcc.in ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-ld:scripts/aros-ld.in ${aros_scripts_dir}/genshared:compiler/c_lib/source/lib_source/genshared.in ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py tools/collect-aros/env.h"
12905 cat >confcache
<<\_ACEOF
12906 # This file is a shell script that caches the results of configure
12907 # tests run on this system so they can be shared between configure
12908 # scripts and configure runs, see configure's option --config-cache.
12909 # It is not useful on other systems. If it contains results you don't
12910 # want to keep, you may remove or edit it.
12912 # config.status only pays attention to the cache file if you give it
12913 # the --recheck option to rerun configure.
12915 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12916 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12917 # following values.
12921 # The following way of writing the cache mishandles newlines in values,
12922 # but we know of no workaround that is simple, portable, and efficient.
12923 # So, we kill variables containing newlines.
12924 # Ultrix sh set writes to stderr and can't be redirected directly,
12925 # and sets the high bit in the cache file unless we assign to the vars.
12927 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12928 eval ac_val
=\$
$ac_var
12932 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
12933 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12936 _ | IFS | as_nl
) ;; #(
12937 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12938 *) $as_unset $ac_var ;;
12944 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12945 *${as_nl}ac_space
=\
*)
12946 # `set' does not quote correctly, so add quotes (double-quote
12947 # substitution turns \\\\ into \\, and sed turns \\ into \).
12950 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12953 # `set' quotes correctly as required by POSIX, so do not add quotes.
12954 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12963 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12965 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12967 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12968 if test -w "$cache_file"; then
12969 test "x$cache_file" != "x/dev/null" &&
12970 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
12971 $as_echo "$as_me: updating cache $cache_file" >&6;}
12972 cat confcache
>$cache_file
12974 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12975 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12980 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12981 # Let make expand exec_prefix.
12982 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12984 DEFS
=-DHAVE_CONFIG_H
12988 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12989 # 1. Remove the extension, and $U if already installed.
12990 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12991 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12992 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12993 # will be set to the directory where LIBOBJS objects are built.
12994 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12995 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
12997 LIBOBJS
=$ac_libobjs
12999 LTLIBOBJS
=$ac_ltlibobjs
13003 : ${CONFIG_STATUS=./config.status}
13005 ac_clean_files_save
=$ac_clean_files
13006 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13007 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13008 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13009 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13011 # Generated by $as_me.
13012 # Run this file to recreate the current configuration.
13013 # Compiler output produced by configure, useful for debugging
13014 # configure, is in config.log if it exists.
13017 ac_cs_recheck=false
13019 SHELL=\${CONFIG_SHELL-$SHELL}
13022 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13023 ## --------------------- ##
13024 ## M4sh Initialization. ##
13025 ## --------------------- ##
13027 # Be more Bourne compatible
13028 DUALCASE
=1; export DUALCASE
# for MKS sh
13029 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
13032 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13033 # is contrary to our usage. Disable this feature.
13034 alias -g '${1+"$@"}'='"$@"'
13035 setopt NO_GLOB_SUBST
13037 case `(set -o) 2>/dev/null` in
13038 *posix
*) set -o posix
;;
13047 # Avoid depending upon Character Ranges.
13048 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13049 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13050 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13051 as_cr_digits
='0123456789'
13052 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13057 # Printing a long string crashes Solaris 7 /usr/bin/printf.
13058 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13059 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13060 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13061 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13062 as_echo='printf %s
\n'
13063 as_echo_n='printf %s
'
13065 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13066 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
13067 as_echo_n='/usr
/ucb
/echo -n'
13069 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13070 as_echo_n_body='eval
13074 expr "X$arg" : "X\\(.*\\)$as_nl";
13075 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13077 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
13079 export as_echo_n_body
13080 as_echo_n='sh
-c $as_echo_n_body as_echo
'
13082 export as_echo_body
13083 as_echo='sh
-c $as_echo_body as_echo
'
13086 # The user is always right.
13087 if test "${PATH_SEPARATOR+set}" != set; then
13089 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13090 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13095 # Support unset when possible.
13096 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13104 # We need space, tab and new line, in precisely that order. Quoting is
13105 # there to prevent editors from complaining about space-tab.
13106 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13107 # splitting by setting IFS to empty value.)
13110 # Find who we are. Look in the path if we contain no directory separator.
13112 *[\\/]* ) as_myself=$0 ;;
13113 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13114 for as_dir in $PATH
13117 test -z "$as_dir" && as_dir=.
13118 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13124 # We did not find ourselves, most probably we were run as `sh COMMAND'
13125 # in which case we are not to be found in the path.
13126 if test "x$as_myself" = x
; then
13129 if test ! -f "$as_myself"; then
13130 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13131 { (exit 1); exit 1; }
13134 # Work around bugs in pre-3.0 UWIN ksh.
13135 for as_var
in ENV MAIL MAILPATH
13136 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
13148 # Required to use basename.
13149 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13150 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13156 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13157 as_basename
=basename
13163 # Name of the executable.
13164 as_me
=`$as_basename -- "$0" ||
13165 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13166 X"$0" : 'X\(//\)$' \| \
13167 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13169 sed '/^.*\/\([^/][^/]*\)\/*$/{
13188 as_lineno_1
=$LINENO
13189 as_lineno_2
=$LINENO
13190 test "x$as_lineno_1" != "x$as_lineno_2" &&
13191 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
13193 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13194 # uniformly replaced by the line number. The first 'sed' inserts a
13195 # line-number line after each line using $LINENO; the second 'sed'
13196 # does the real work. The second script uses 'N' to pair each
13197 # line-number line with the line containing $LINENO, and appends
13198 # trailing '-' during substitution so that $LINENO is not a special
13199 # case at line end.
13200 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13201 # scripts with optimization help from Paolo Bonzini. Blame Lee
13202 # E. McMahon (1931-1989) for sed's syntax. :-)
13214 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13217 ' >$as_me.lineno
&&
13218 chmod +x
"$as_me.lineno" ||
13219 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13220 { (exit 1); exit 1; }; }
13222 # Don't try to exec as it changes $[0], causing all sort of problems
13223 # (the dirname of $[0] is not the place where we might find the
13224 # original and so on. Autoconf is especially sensitive to this).
13225 .
"./$as_me.lineno"
13226 # Exit status is that of the last command.
13231 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13237 ECHO_C
= ECHO_N
= ECHO_T
=
13238 case `echo -n x` in
13240 case `echo 'x\c'` in
13241 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13247 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13248 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13254 rm -f conf$$ conf$$.exe conf$$.
file
13255 if test -d conf$$.dir
; then
13256 rm -f conf$$.dir
/conf$$.
file
13259 mkdir conf$$.dir
2>/dev
/null
13261 if (echo >conf$$.
file) 2>/dev
/null
; then
13262 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13264 # ... but there are two gotchas:
13265 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13266 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13267 # In both cases, we have to default to `cp -p'.
13268 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13270 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13278 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13279 rmdir conf$$.dir
2>/dev
/null
13281 if mkdir
-p .
2>/dev
/null
; then
13284 test -d .
/-p && rmdir .
/-p
13288 if test -x / >/dev
/null
2>&1; then
13289 as_test_x
='test -x'
13291 if ls -dL / >/dev
/null
2>&1; then
13298 if test -d "$1"; then
13304 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13305 ???[sx]*):;;*)false;;esac;fi
13309 as_executable_p
=$as_test_x
13311 # Sed expression to map a string onto a valid CPP name.
13312 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13314 # Sed expression to map a string onto a valid variable name.
13315 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13320 # Save the log message, to keep $[0] and so on meaningful, and to
13321 # report actual input values of CONFIG_FILES etc. instead of their
13322 # values after options handling.
13324 This file was extended by $as_me, which was
13325 generated by GNU Autoconf 2.63. Invocation command line was
13327 CONFIG_FILES = $CONFIG_FILES
13328 CONFIG_HEADERS = $CONFIG_HEADERS
13329 CONFIG_LINKS = $CONFIG_LINKS
13330 CONFIG_COMMANDS = $CONFIG_COMMANDS
13333 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13338 case $ac_config_files in *"
13339 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
13342 case $ac_config_headers in *"
13343 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
13347 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13348 # Files that config.status was made for.
13349 config_files="$ac_config_files"
13350 config_headers="$ac_config_headers"
13351 config_commands="$ac_config_commands"
13355 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13357 \`$as_me' instantiates files from templates according to the
13358 current configuration.
13360 Usage: $0 [OPTION]... [FILE]...
13362 -h, --help print this help, then exit
13363 -V, --version print version number and configuration settings, then exit
13364 -q, --quiet, --silent
13365 do not print progress messages
13366 -d, --debug don't remove temporary files
13367 --recheck update $as_me by reconfiguring in the same conditions
13368 --file=FILE[:TEMPLATE]
13369 instantiate the configuration file FILE
13370 --header=FILE[:TEMPLATE]
13371 instantiate the configuration header FILE
13373 Configuration files:
13376 Configuration headers:
13379 Configuration commands:
13382 Report bugs to <bug-autoconf@gnu.org>."
13385 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13388 configured by $0, generated by GNU Autoconf 2.63,
13389 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13391 Copyright (C) 2008 Free Software Foundation, Inc.
13392 This config.status script is free software; the Free Software Foundation
13393 gives unlimited permission to copy, distribute and modify it."
13397 test -n "\$AWK" || AWK=awk
13400 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13401 # The default lists apply if the user does not specify any file.
13407 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13408 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13419 # Handling of the options.
13420 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13422 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13423 $as_echo "$ac_cs_version"; exit ;;
13424 --debug |
--debu |
--deb |
--de |
--d |
-d )
13426 --file |
--fil |
--fi |
--f )
13429 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13431 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
13432 ac_need_defaults
=false
;;
13433 --header |
--heade |
--head |
--hea )
13436 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13438 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
13439 ac_need_defaults
=false
;;
13441 # Conflict between --help and --header
13442 { $as_echo "$as_me: error: ambiguous option: $1
13443 Try \`$0 --help' for more information." >&2
13444 { (exit 1); exit 1; }; };;
13445 --help |
--hel |
-h )
13446 $as_echo "$ac_cs_usage"; exit ;;
13447 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13448 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13451 # This is an error.
13452 -*) { $as_echo "$as_me: error: unrecognized option: $1
13453 Try \`$0 --help' for more information." >&2
13454 { (exit 1); exit 1; }; } ;;
13456 *) ac_config_targets
="$ac_config_targets $1"
13457 ac_need_defaults
=false
;;
13463 ac_configure_extra_args
=
13465 if $ac_cs_silent; then
13467 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13471 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13472 if \$ac_cs_recheck; then
13473 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13475 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13476 CONFIG_SHELL='$SHELL'
13477 export CONFIG_SHELL
13482 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13486 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13487 ## Running $as_me. ##
13493 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13498 aros_host_exe_suffix=${aros_host_exe_suffix}
13499 aros_tools_dir=${aros_tools_dir}
13500 aros_target_cpu=${aros_target_cpu}
13501 aros_target_arch=${aros_target_arch}
13502 aros_target_suffix=${aros_target_suffix}
13503 aros_target_nm_ln=${aros_target_nm_ln}
13504 aros_target_as_ln=${aros_target_as_ln}
13505 aros_target_ar_ln=${aros_target_ar_ln}
13506 aros_target_ranlib_ln=${aros_target_ranlib_ln}
13507 aros_target_objdump_ln=${aros_target_objdump_ln}
13508 aros_target_objcopy_ln=${aros_target_objcopy_ln}
13509 aros_target_strip_ln=${aros_target_strip_ln}
13512 aros_scripts_dir=${aros_scripts_dir}
13514 aros_tools_dir=${aros_tools_dir}
13519 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13521 # Handling of arguments.
13522 for ac_config_target
in $ac_config_targets
13524 case $ac_config_target in
13525 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
13526 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
13527 "genshared_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genshared_executable" ;;
13528 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
13529 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13530 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
13531 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
13532 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
13533 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
13534 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
13535 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
13536 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
13537 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
13538 "${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" ;;
13539 "${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" ;;
13540 "${aros_scripts_dir}/genshared") CONFIG_FILES
="$CONFIG_FILES ${aros_scripts_dir}/genshared:compiler/c_lib/source/lib_source/genshared.in" ;;
13541 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
13542 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
13544 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13545 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13546 { (exit 1); exit 1; }; };;
13551 # If the user did not use the arguments to specify the items to instantiate,
13552 # then the envvar interface is used. Set only those that are not.
13553 # We use the long form for the default assignment because of an extremely
13554 # bizarre bug on SunOS 4.1.3.
13555 if $ac_need_defaults; then
13556 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13557 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13558 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13561 # Have a temporary directory for convenience. Make it in the build tree
13562 # simply because there is no reason against having it here, and in addition,
13563 # creating and moving files from /tmp can sometimes cause problems.
13564 # Hook for its removal unless debugging.
13565 # Note that there is a small window in which the directory will not be cleaned:
13566 # after its creation but before its name has been assigned to `$tmp'.
13570 trap 'exit_status=$?
13571 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13573 trap '{ (exit 1); exit 1; }' 1 2 13 15
13575 # Create a (secure) tmp directory for tmp files.
13578 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13579 test -n "$tmp" && test -d "$tmp"
13582 tmp
=.
/conf$$
-$RANDOM
13583 (umask 077 && mkdir
"$tmp")
13586 $as_echo "$as_me: cannot create a temporary directory in ." >&2
13587 { (exit 1); exit 1; }
13590 # Set up the scripts for CONFIG_FILES section.
13591 # No need to generate them if there are no CONFIG_FILES.
13592 # This happens for instance with `./config.status config.h'.
13593 if test -n "$CONFIG_FILES"; then
13598 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13599 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13602 ac_cs_awk_cr
=$ac_cr
13605 echo 'BEGIN {' >"$tmp/subs1.awk" &&
13610 echo "cat >conf$$subs.awk <<_ACEOF" &&
13611 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13613 } >conf$$subs.sh ||
13614 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
13615 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
13616 { (exit 1); exit 1; }; }
13617 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13619 for ac_last_try in false false false false false :; do
13620 . ./conf$$subs.sh ||
13621 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
13622 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
13623 { (exit 1); exit 1; }; }
13625 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13626 if test $ac_delim_n = $ac_delim_num; then
13628 elif $ac_last_try; then
13629 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
13630 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
13631 { (exit 1); exit 1; }; }
13633 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13636 rm -f conf$$subs.sh
13638 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13639 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
13643 s/^/S["/; s
/!.
*/"]=/
13653 s/\(.\{148\}\).*/\1/
13655 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13660 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13667 s/\(.\{148\}\).*/\1/
13669 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13673 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13678 ' <conf$$subs.awk | sed '
13683 ' >>$CONFIG_STATUS || ac_write_fail=1
13684 rm -f conf$$subs.awk
13685 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13687 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
13688 for (key in S) S_is_set[key] = 1
13694 nfields = split(line, field, "@
")
13696 len = length(field[1])
13697 for (i = 2; i < nfields; i++) {
13699 keylen = length(key)
13700 if (S_is_set[key]) {
13702 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13703 len += length(value) + length(field[++i])
13714 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13715 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13716 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13719 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
13720 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
13721 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
13722 { (exit 1); exit 1; }; }
13725 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13726 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
13727 # trailing colons and then remove the whole line if VPATH becomes empty
13728 # (actually we leave an empty line to preserve line numbers).
13729 if test "x
$srcdir" = x.; then
13730 ac_vpsub='/^[ ]*VPATH[ ]*=/{
13731 s/:*\$(srcdir):*/:/
13732 s/:*\${srcdir}:*/:/
13734 s/^\([^=]*=[ ]*\):*/\1/
13740 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13741 fi # test -n "$CONFIG_FILES"
13743 # Set up the scripts for CONFIG_HEADERS section.
13744 # No need to generate them if there are no CONFIG_HEADERS.
13745 # This happens for instance with `./config.status Makefile'.
13746 if test -n "$CONFIG_HEADERS"; then
13747 cat >"$tmp/defines.
awk" <<\_ACAWK ||
13751 # Transform confdefs.h into an awk script `defines.awk', embedded as
13752 # here-document in config.status, that substitutes the proper values into
13753 # config.h.in to produce config.h.
13755 # Create a delimiter string that does not exist in confdefs.h, to ease
13756 # handling of long lines.
13758 for ac_last_try in false false :; do
13759 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
13760 if test -z "$ac_t"; then
13762 elif $ac_last_try; then
13763 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
13764 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
13765 { (exit 1); exit 1; }; }
13767 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13771 # For the awk script, D is an array of macro values keyed by name,
13772 # likewise P contains macro parameters if any. Preserve backslash
13773 # newline sequences.
13775 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13777 s/.\{148\}/&'"$ac_delim"'/g
13780 s/^[ ]*#[ ]*define[ ][ ]*/ /
13787 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13789 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13793 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13794 D["\
1"]=" \
3\\\\\\n
"\\/p
13796 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13801 s/.\{148\}/&'"$ac_delim"'/g
13806 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13809 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13811 ' <confdefs.h | sed '
13812 s/'"$ac_delim"'/"\\\
13813 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13815 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13816 for (key in D) D_is_set[key] = 1
13819 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13821 split(line, arg, " ")
13822 if (arg[1] == "#") {
13826 defundef
= substr
(arg
[1], 2)
13829 split(mac1
, mac2
, "(") #)
13831 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13832 if (D_is_set
[macro
]) {
13833 # Preserve the white space surrounding the "#".
13834 print prefix
"define", macro P
[macro
] D
[macro
]
13837 # Replace #undef with comments. This is necessary, for example,
13838 # in the case of _POSIX_SOURCE, which is predefined and required
13839 # on some systems where configure will not decide to define it.
13840 if (defundef
== "undef") {
13841 print
"/*", prefix defundef
, macro
, "*/"
13849 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13850 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
13851 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
13852 { (exit 1); exit 1; }; }
13853 fi # test -n "$CONFIG_HEADERS"
13856 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13861 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13863 case $ac_mode$ac_tag in
13865 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
13866 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
13867 { (exit 1); exit 1; }; };;
13868 :[FH
]-) ac_tag
=-:-;;
13869 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13886 -) ac_f
="$tmp/stdin";;
13887 *) # Look for the file first in the build tree, then in the source tree
13888 # (if the path is not absolute). The absolute path cannot be DOS-style,
13889 # because $ac_f cannot contain `:'.
13893 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13895 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
13896 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
13897 { (exit 1); exit 1; }; };;
13899 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13900 ac_file_inputs
="$ac_file_inputs '$ac_f'"
13903 # Let's still pretend it is `configure' which instantiates (i.e., don't
13904 # use $as_me), people would be surprised to read:
13905 # /* config.h. Generated by config.status. */
13906 configure_input
='Generated from '`
13907 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13909 if test x
"$ac_file" != x-
; then
13910 configure_input
="$ac_file. $configure_input"
13911 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
13912 $as_echo "$as_me: creating $ac_file" >&6;}
13914 # Neutralize special characters interpreted by sed in replacement strings.
13915 case $configure_input in #(
13916 *\
&* |
*\|
* |
*\\* )
13917 ac_sed_conf_input
=`$as_echo "$configure_input" |
13918 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13919 *) ac_sed_conf_input
=$configure_input;;
13923 *:-:* |
*:-) cat >"$tmp/stdin" \
13924 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13925 $as_echo "$as_me: error: could not create $ac_file" >&2;}
13926 { (exit 1); exit 1; }; } ;;
13931 ac_dir
=`$as_dirname -- "$ac_file" ||
13932 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13933 X"$ac_file" : 'X\(//\)[^/]' \| \
13934 X"$ac_file" : 'X\(//\)$' \| \
13935 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13936 $as_echo X"$ac_file" |
13937 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13941 /^X\(\/\/\)[^/].*/{
13956 -*) as_dir
=.
/$as_dir;;
13958 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
13962 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13963 *) as_qdir
=$as_dir;;
13965 as_dirs
="'$as_qdir' $as_dirs"
13966 as_dir
=`$as_dirname -- "$as_dir" ||
13967 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13968 X"$as_dir" : 'X\(//\)[^/]' \| \
13969 X"$as_dir" : 'X\(//\)$' \| \
13970 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13971 $as_echo X"$as_dir" |
13972 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13976 /^X\(\/\/\)[^/].*/{
13989 test -d "$as_dir" && break
13991 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13992 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13993 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
13994 { (exit 1); exit 1; }; }; }
13998 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14000 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14001 # A ".." for each directory in $ac_dir_suffix.
14002 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14003 case $ac_top_builddir_sub in
14004 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14005 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14008 ac_abs_top_builddir
=$ac_pwd
14009 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14010 # for backward compatibility:
14011 ac_top_builddir
=$ac_top_build_prefix
14014 .
) # We are building in place.
14016 ac_top_srcdir
=$ac_top_builddir_sub
14017 ac_abs_top_srcdir
=$ac_pwd ;;
14018 [\\/]* | ?
:[\\/]* ) # Absolute name.
14019 ac_srcdir
=$srcdir$ac_dir_suffix;
14020 ac_top_srcdir
=$srcdir
14021 ac_abs_top_srcdir
=$srcdir ;;
14022 *) # Relative name.
14023 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14024 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14025 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14027 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14038 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14039 # If the template does not know about datarootdir, expand it.
14040 # FIXME: This hack should be removed a few years after 2.60.
14041 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14054 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14055 *datarootdir
*) ac_datarootdir_seen
=yes;;
14056 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14057 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14058 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14060 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14061 ac_datarootdir_hack='
14062 s&@datadir@&$datadir&g
14063 s&@docdir@&$docdir&g
14064 s&@infodir@&$infodir&g
14065 s&@localedir@&$localedir&g
14066 s&@mandir@&$mandir&g
14067 s&\\\${datarootdir}&$datarootdir&g' ;;
14071 # Neutralize VPATH when `$srcdir' = `.'.
14072 # Shell code in configure.ac might set extrasub.
14073 # FIXME: do we really want to maintain this feature?
14074 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14075 ac_sed_extra="$ac_vpsub
14078 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
14080 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14081 s|@configure_input@|
$ac_sed_conf_input|
;t t
14082 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14083 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
14084 s
&@srcdir@
&$ac_srcdir&;t t
14085 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14086 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14087 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14088 s
&@builddir@
&$ac_builddir&;t t
14089 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14090 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14091 $ac_datarootdir_hack
14093 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
14094 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
14095 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
14096 { (exit 1); exit 1; }; }
14098 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14099 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
14100 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
14101 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14102 which seems to be undefined. Please make sure it is defined." >&5
14103 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14104 which seems to be undefined. Please make sure it is defined." >&2;}
14108 -) cat "$tmp/out" && rm -f "$tmp/out";;
14109 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
14111 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14112 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14113 { (exit 1); exit 1; }; }
14119 if test x"$ac_file" != x-; then
14121 $as_echo "/* $configure_input */" \
14122 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
14123 } >"$tmp/config.h" \
14124 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14125 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14126 { (exit 1); exit 1; }; }
14127 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
14128 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14129 $as_echo "$as_me: $ac_file is unchanged" >&6;}
14132 mv "$tmp/config.h" "$ac_file" \
14133 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
14134 $as_echo "$as_me: error: could not create $ac_file" >&2;}
14135 { (exit 1); exit 1; }; }
14138 $as_echo "/* $configure_input */" \
14139 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
14140 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
14141 $as_echo "$as_me: error: could not create -" >&2;}
14142 { (exit 1); exit 1; }; }
14146 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
14147 $as_echo "$as_me: executing $ac_file commands" >&6;}
14152 case $ac_file$ac_mode in
14153 "compiler_executable":C)
14154 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
14156 prefix="${prefix}/${aros_target_cpu}-aros"
14157 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
14161 chmod a+x ${prefix2}-gcc ${prefix2}-ld
14163 ln -sf ${prefix2}-gcc ${prefix}-gcc
14164 ln -sf ${prefix2}-ld ${prefix}-ld
14166 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix}-as
14167 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix}-nm
14168 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix}-ar
14169 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix}-ranlib
14170 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix}-objcopy
14171 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix}-objdump
14172 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix}-strip
14174 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix2}-as
14175 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix2}-nm
14176 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix2}-ar
14177 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix2}-ranlib
14178 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix2}-objcopy
14179 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix2}-objdump
14180 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix2}-strip
14182 "genshared_executable":C) chmod a+x ${aros_scripts_dir}/genshared ;;
14183 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
14189 { (exit 0); exit 0; }
14191 chmod +x $CONFIG_STATUS
14192 ac_clean_files=$ac_clean_files_save
14194 test $ac_write_fail = 0 ||
14195 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
14196 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
14197 { (exit 1); exit 1; }; }
14200 # configure is writing to config.log, and then calls config.status.
14201 # config.status does its own redirection, appending to config.log.
14202 # Unfortunately, on DOS this fails, as config.log is still kept open
14203 # by configure, so config.status won't be able to
write to it
; its
14204 # output is simply discarded. So we exec the FD to /dev/null,
14205 # effectively closing config.log, so it can be properly (re)opened and
14206 # appended to by config.status. When coming back to configure, we
14207 # need to make the FD available again.
14208 if test "$no_create" != yes; then
14210 ac_config_status_args
=
14211 test "$silent" = yes &&
14212 ac_config_status_args
="$ac_config_status_args --quiet"
14214 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14216 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14217 # would make configure fail if this is the last instruction.
14218 $ac_cs_success ||
{ (exit 1); exit 1; }
14220 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
14221 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
14222 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
14227 #XXX compatability...
14228 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
14230 if test -n "$aros_shared_cflags" ; then
14231 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
14232 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg