2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.62.
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>
647 program_transform_name
741 aros_target_objcopy_ln
742 aros_target_objdump_ln
743 aros_target_ranlib_ln
745 aros_target_nostdinc_cflags
746 aros_target_nostartup_ldflags
747 aros_target_nix_ldflags
748 aros_target_detach_ldflags
749 aros_target_nostdlib_ldflags
751 aros_cflags_iquote_end
777 aros_target_bootloader
789 aros_target_cc_includes
810 aros_target_strip_flags
814 aros_default_wbheight
818 aros_host_x11_includes
819 aros_host_x11_libdirs
825 aros_nesting_supervisor
835 ignore_undefined_symbols
840 enable_option_checking
846 enable_target_variant
854 enable_palm_debug_hack
855 enable_nesting_supervisor
866 ac_precious_vars
='build_alias
878 # Initialize some variables set by options.
880 ac_init_version
=false
881 ac_unrecognized_opts
=
883 # The variables have the same names as the options, with
884 # dashes changed to underlines.
892 program_transform_name
=s
,x
,x
,
900 # Installation directory options.
901 # These are left unexpanded so users can "make install exec_prefix=/foo"
902 # and all the variables that are supposed to be based on exec_prefix
903 # by default will actually change.
904 # Use braces instead of parens because sh, perl, etc. also accept them.
905 # (The list follows the same order as the GNU Coding Standards.)
906 bindir
='${exec_prefix}/bin'
907 sbindir
='${exec_prefix}/sbin'
908 libexecdir
='${exec_prefix}/libexec'
909 datarootdir
='${prefix}/share'
910 datadir
='${datarootdir}'
911 sysconfdir
='${prefix}/etc'
912 sharedstatedir
='${prefix}/com'
913 localstatedir
='${prefix}/var'
914 includedir
='${prefix}/include'
915 oldincludedir
='/usr/include'
916 docdir
='${datarootdir}/doc/${PACKAGE}'
917 infodir
='${datarootdir}/info'
922 libdir
='${exec_prefix}/lib'
923 localedir
='${datarootdir}/locale'
924 mandir
='${datarootdir}/man'
930 # If the previous option needs an argument, assign it.
931 if test -n "$ac_prev"; then
932 eval $ac_prev=\
$ac_option
938 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
942 # Accept the important Cygnus configure options, so we can diagnose typos.
944 case $ac_dashdash$ac_option in
948 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
950 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
953 -build |
--build |
--buil |
--bui |
--bu)
954 ac_prev
=build_alias
;;
955 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
956 build_alias
=$ac_optarg ;;
958 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
959 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
960 ac_prev
=cache_file
;;
961 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
962 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
963 cache_file
=$ac_optarg ;;
966 cache_file
=config.cache
;;
968 -datadir |
--datadir |
--datadi |
--datad)
970 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
971 datadir
=$ac_optarg ;;
973 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
974 |
--dataroo |
--dataro |
--datar)
975 ac_prev
=datarootdir
;;
976 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
977 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
978 datarootdir
=$ac_optarg ;;
980 -disable-* |
--disable-*)
981 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
982 # Reject names that are not valid shell variable names.
983 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
984 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
985 { (exit 1); exit 1; }; }
986 ac_useropt_orig
=$ac_useropt
987 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
988 case $ac_user_opts in
992 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
993 ac_unrecognized_sep
=', ';;
995 eval enable_
$ac_useropt=no
;;
997 -docdir |
--docdir |
--docdi |
--doc |
--do)
999 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1000 docdir
=$ac_optarg ;;
1002 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1004 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1005 dvidir
=$ac_optarg ;;
1007 -enable-* |
--enable-*)
1008 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1009 # Reject names that are not valid shell variable names.
1010 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1011 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1012 { (exit 1); exit 1; }; }
1013 ac_useropt_orig
=$ac_useropt
1014 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1015 case $ac_user_opts in
1017 "enable_
$ac_useropt"
1019 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1020 ac_unrecognized_sep
=', ';;
1022 eval enable_
$ac_useropt=\
$ac_optarg ;;
1024 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1025 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1026 |
--exec |
--exe |
--ex)
1027 ac_prev
=exec_prefix
;;
1028 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1029 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1030 |
--exec=* |
--exe=* |
--ex=*)
1031 exec_prefix
=$ac_optarg ;;
1033 -gas |
--gas |
--ga |
--g)
1034 # Obsolete; use --with-gas.
1037 -help |
--help |
--hel |
--he |
-h)
1038 ac_init_help
=long
;;
1039 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1040 ac_init_help
=recursive
;;
1041 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1042 ac_init_help
=short
;;
1044 -host |
--host |
--hos |
--ho)
1045 ac_prev
=host_alias
;;
1046 -host=* |
--host=* |
--hos=* |
--ho=*)
1047 host_alias
=$ac_optarg ;;
1049 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1051 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1053 htmldir
=$ac_optarg ;;
1055 -includedir |
--includedir |
--includedi |
--included |
--include \
1056 |
--includ |
--inclu |
--incl |
--inc)
1057 ac_prev
=includedir
;;
1058 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1059 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1060 includedir
=$ac_optarg ;;
1062 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1064 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1065 infodir
=$ac_optarg ;;
1067 -libdir |
--libdir |
--libdi |
--libd)
1069 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1070 libdir
=$ac_optarg ;;
1072 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1073 |
--libexe |
--libex |
--libe)
1074 ac_prev
=libexecdir
;;
1075 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1076 |
--libexe=* |
--libex=* |
--libe=*)
1077 libexecdir
=$ac_optarg ;;
1079 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1080 ac_prev
=localedir
;;
1081 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1082 localedir
=$ac_optarg ;;
1084 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1085 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1086 ac_prev
=localstatedir
;;
1087 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1088 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1089 localstatedir
=$ac_optarg ;;
1091 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1093 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1094 mandir
=$ac_optarg ;;
1096 -nfp |
--nfp |
--nf)
1097 # Obsolete; use --without-fp.
1100 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1101 |
--no-cr |
--no-c |
-n)
1104 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1105 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1108 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1109 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1110 |
--oldin |
--oldi |
--old |
--ol |
--o)
1111 ac_prev
=oldincludedir
;;
1112 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1113 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1114 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1115 oldincludedir
=$ac_optarg ;;
1117 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1119 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1120 prefix
=$ac_optarg ;;
1122 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1123 |
--program-pre |
--program-pr |
--program-p)
1124 ac_prev
=program_prefix
;;
1125 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1126 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1127 program_prefix
=$ac_optarg ;;
1129 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1130 |
--program-suf |
--program-su |
--program-s)
1131 ac_prev
=program_suffix
;;
1132 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1133 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1134 program_suffix
=$ac_optarg ;;
1136 -program-transform-name |
--program-transform-name \
1137 |
--program-transform-nam |
--program-transform-na \
1138 |
--program-transform-n |
--program-transform- \
1139 |
--program-transform |
--program-transfor \
1140 |
--program-transfo |
--program-transf \
1141 |
--program-trans |
--program-tran \
1142 |
--progr-tra |
--program-tr |
--program-t)
1143 ac_prev
=program_transform_name
;;
1144 -program-transform-name=* |
--program-transform-name=* \
1145 |
--program-transform-nam=* |
--program-transform-na=* \
1146 |
--program-transform-n=* |
--program-transform-=* \
1147 |
--program-transform=* |
--program-transfor=* \
1148 |
--program-transfo=* |
--program-transf=* \
1149 |
--program-trans=* |
--program-tran=* \
1150 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1151 program_transform_name
=$ac_optarg ;;
1153 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1155 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1156 pdfdir
=$ac_optarg ;;
1158 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1160 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1163 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1164 |
-silent |
--silent |
--silen |
--sile |
--sil)
1167 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1169 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1171 sbindir
=$ac_optarg ;;
1173 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1174 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1175 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1177 ac_prev
=sharedstatedir
;;
1178 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1179 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1180 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1182 sharedstatedir
=$ac_optarg ;;
1184 -site |
--site |
--sit)
1186 -site=* |
--site=* |
--sit=*)
1189 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1191 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1192 srcdir
=$ac_optarg ;;
1194 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1195 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1196 ac_prev
=sysconfdir
;;
1197 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1198 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1199 sysconfdir
=$ac_optarg ;;
1201 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1202 ac_prev
=target_alias
;;
1203 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1204 target_alias
=$ac_optarg ;;
1206 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1209 -version |
--version |
--versio |
--versi |
--vers |
-V)
1210 ac_init_version
=: ;;
1213 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1214 # Reject names that are not valid shell variable names.
1215 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1216 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1217 { (exit 1); exit 1; }; }
1218 ac_useropt_orig
=$ac_useropt
1219 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1220 case $ac_user_opts in
1224 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1225 ac_unrecognized_sep
=', ';;
1227 eval with_
$ac_useropt=\
$ac_optarg ;;
1229 -without-* |
--without-*)
1230 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1231 # Reject names that are not valid shell variable names.
1232 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1233 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1234 { (exit 1); exit 1; }; }
1235 ac_useropt_orig
=$ac_useropt
1236 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1237 case $ac_user_opts in
1241 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1242 ac_unrecognized_sep
=', ';;
1244 eval with_
$ac_useropt=no
;;
1247 # Obsolete; use --with-x.
1250 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1251 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1252 ac_prev
=x_includes
;;
1253 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1254 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1255 x_includes
=$ac_optarg ;;
1257 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1258 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1259 ac_prev
=x_libraries
;;
1260 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1261 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1262 x_libraries
=$ac_optarg ;;
1264 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1265 Try \`$0 --help' for more information." >&2
1266 { (exit 1); exit 1; }; }
1270 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1271 # Reject names that are not valid shell variable names.
1272 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1273 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1274 { (exit 1); exit 1; }; }
1275 eval $ac_envvar=\
$ac_optarg
1276 export $ac_envvar ;;
1279 # FIXME: should be removed in autoconf 3.0.
1280 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1281 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1282 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1283 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1289 if test -n "$ac_prev"; then
1290 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1291 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1292 { (exit 1); exit 1; }; }
1295 if test -n "$ac_unrecognized_opts"; then
1296 case $enable_option_checking in
1298 fatal
) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1299 { (exit 1); exit 1; }; } ;;
1300 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1304 # Check all directory arguments for consistency.
1305 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1306 datadir sysconfdir sharedstatedir localstatedir includedir \
1307 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1308 libdir localedir mandir
1310 eval ac_val
=\$
$ac_var
1311 # Remove trailing slashes.
1314 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1315 eval $ac_var=\
$ac_val;;
1317 # Be sure to have absolute directory names.
1319 [\\/$
]* | ?
:[\\/]* ) continue;;
1320 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1322 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1323 { (exit 1); exit 1; }; }
1326 # There might be people who depend on the old broken behavior: `$host'
1327 # used to hold the argument of --host etc.
1328 # FIXME: To remove some day.
1331 target
=$target_alias
1333 # FIXME: To remove some day.
1334 if test "x$host_alias" != x
; then
1335 if test "x$build_alias" = x
; then
1336 cross_compiling
=maybe
1337 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1338 If a cross compiler is detected then cross compile mode will be used." >&2
1339 elif test "x$build_alias" != "x$host_alias"; then
1345 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1347 test "$silent" = yes && exec 6>/dev
/null
1350 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1351 ac_ls_di
=`ls -di .` &&
1352 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1353 { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1354 { (exit 1); exit 1; }; }
1355 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1356 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1357 { (exit 1); exit 1; }; }
1360 # Find the source files, if location was not specified.
1361 if test -z "$srcdir"; then
1362 ac_srcdir_defaulted
=yes
1363 # Try the directory containing this script, then the parent directory.
1364 ac_confdir
=`$as_dirname -- "$as_myself" ||
1365 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1366 X"$as_myself" : 'X\(//\)[^/]' \| \
1367 X"$as_myself" : 'X\(//\)$' \| \
1368 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1369 $as_echo X"$as_myself" |
1370 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1388 if test ! -r "$srcdir/$ac_unique_file"; then
1392 ac_srcdir_defaulted
=no
1394 if test ! -r "$srcdir/$ac_unique_file"; then
1395 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1396 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1397 { (exit 1); exit 1; }; }
1399 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1401 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1402 { (exit 1); exit 1; }; }
1404 # When building in place, set srcdir=.
1405 if test "$ac_abs_confdir" = "$ac_pwd"; then
1408 # Remove unnecessary trailing slashes from srcdir.
1409 # Double slashes in file names in object file debugging info
1410 # mess up M-x gdb in Emacs.
1412 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1414 for ac_var
in $ac_precious_vars; do
1415 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1416 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1417 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1418 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1422 # Report the --help message.
1424 if test "$ac_init_help" = "long"; then
1425 # Omit some internal or obsolete options to make the list less imposing.
1426 # This message is too long to be a string in the A/UX 3.1 sh.
1428 \`configure' configures this package to adapt to many kinds of systems.
1430 Usage: $0 [OPTION]... [VAR=VALUE]...
1432 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1433 VAR=VALUE. See below for descriptions of some of the useful variables.
1435 Defaults for the options are specified in brackets.
1438 -h, --help display this help and exit
1439 --help=short display options specific to this package
1440 --help=recursive display the short help of all the included packages
1441 -V, --version display version information and exit
1442 -q, --quiet, --silent do not print \`checking...' messages
1443 --cache-file=FILE cache test results in FILE [disabled]
1444 -C, --config-cache alias for \`--cache-file=config.cache'
1445 -n, --no-create do not create output files
1446 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1448 Installation directories:
1449 --prefix=PREFIX install architecture-independent files in PREFIX
1450 [$ac_default_prefix]
1451 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1454 By default, \`make install' will install all the files in
1455 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1456 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1457 for instance \`--prefix=\$HOME'.
1459 For better control, use the options below.
1461 Fine tuning of the installation directories:
1462 --bindir=DIR user executables [EPREFIX/bin]
1463 --sbindir=DIR system admin executables [EPREFIX/sbin]
1464 --libexecdir=DIR program executables [EPREFIX/libexec]
1465 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1466 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1467 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1468 --libdir=DIR object code libraries [EPREFIX/lib]
1469 --includedir=DIR C header files [PREFIX/include]
1470 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1471 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1472 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1473 --infodir=DIR info documentation [DATAROOTDIR/info]
1474 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1475 --mandir=DIR man documentation [DATAROOTDIR/man]
1476 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1477 --htmldir=DIR html documentation [DOCDIR]
1478 --dvidir=DIR dvi documentation [DOCDIR]
1479 --pdfdir=DIR pdf documentation [DOCDIR]
1480 --psdir=DIR ps documentation [DOCDIR]
1486 --x-includes=DIR X include files are
in DIR
1487 --x-libraries=DIR X library files are
in DIR
1490 --build=BUILD configure
for building on BUILD
[guessed
]
1491 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1495 if test -n "$ac_init_help"; then
1500 --disable-option-checking ignore unrecognized
--enable/--with options
1501 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1502 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1503 --enable-build-type=TYPE
1504 Select the build
type. Available types are
:
1505 personal
, nightly
, snapshot
, milestone
, release. Do
1506 NOT use this option unless you know what you are
1507 doing
! (default
=personal
)
1508 --enable-debug=list Enable different types of debug. Commas or
1509 whitespaces can be used to separate the items
in the
1510 list. Available types of debug are
: all
, none
,
1511 messages
, stack
, mungwall
, modules
, symbols. If no
1512 list is provided
then "all" is assumed.
1514 --enable-distcc Use distcc as a front end to the compiler
1516 --enable-ccache Use ccache as a front end to the compiler
1518 --enable-target-variant=NAME
1519 Enable a specific target variant
(default
=none
)
1520 --enable-includes=dir Alternative system include directory
1521 --enable-bochs-hack Enable hacks to
make BOCHS
(partly
) work
1523 --enable-palm-debug-hack
1524 Enable palm debug output hack
in palm native
1526 --enable-nesting-supervisor
1527 Enable nesting supervisor support
in unix
1529 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1530 --enable-x11-shm use X11 shared memory
(default
=auto
)
1531 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1532 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1533 --disable-sdltest Do not try to compile and run a
test SDL program
1534 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1537 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1538 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1539 --with-optimization=FLAGS
1540 Use optimization flags FLAGS
(default
=-O2).
1541 --with-portssources=DIR Where to download sourcecode
for external ports
1542 --with-bootloader=NAME Use a specific bootloader
1543 --with-theme=NAME Use a specific GUI Theme
1544 --with-resolution=XRESxYRESxDEPTH
1545 Default resolution of the initial WorkbenchScreen
1546 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1547 --with-x use the X Window System
1548 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1549 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1551 Some influential environment variables
:
1552 CC C compiler
command
1553 CFLAGS C compiler flags
1554 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1555 nonstandard directory
<lib dir
>
1556 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1557 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1558 you have headers
in a nonstandard directory
<include dir
>
1560 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1562 Use these variables to override the choices made by
`configure' or to help
1563 it to find libraries and programs with nonstandard names/locations.
1569 if test "$ac_init_help" = "recursive"; then
1570 # If there are subdirs, report their specific --help.
1571 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1572 test -d "$ac_dir" ||
1573 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1578 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1580 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1581 # A ".." for each directory in $ac_dir_suffix.
1582 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1583 case $ac_top_builddir_sub in
1584 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1585 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1588 ac_abs_top_builddir=$ac_pwd
1589 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1590 # for backward compatibility:
1591 ac_top_builddir=$ac_top_build_prefix
1594 .) # We are building in place.
1596 ac_top_srcdir=$ac_top_builddir_sub
1597 ac_abs_top_srcdir=$ac_pwd ;;
1598 [\\/]* | ?:[\\/]* ) # Absolute name.
1599 ac_srcdir=$srcdir$ac_dir_suffix;
1600 ac_top_srcdir=$srcdir
1601 ac_abs_top_srcdir=$srcdir ;;
1603 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1604 ac_top_srcdir=$ac_top_build_prefix$srcdir
1605 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1607 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1609 cd "$ac_dir" || { ac_status=$?; continue; }
1610 # Check for guested configure.
1611 if test -f "$ac_srcdir/configure.gnu"; then
1613 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1614 elif test -f "$ac_srcdir/configure"; then
1616 $SHELL "$ac_srcdir/configure" --help=recursive
1618 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1620 cd "$ac_pwd" || { ac_status=$?; break; }
1624 test -n "$ac_init_help" && exit $ac_status
1625 if $ac_init_version; then
1628 generated by GNU Autoconf 2.62
1630 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1631 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1632 This configure script is free software; the Free Software Foundation
1633 gives unlimited permission to copy, distribute and modify it.
1637 cat >config.log <<_ACEOF
1638 This file contains any messages produced by compilers while
1639 running configure, to aid debugging if configure makes a mistake.
1641 It was created by $as_me, which was
1642 generated by GNU Autoconf 2.62. Invocation command line was
1654 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1655 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1656 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1657 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1658 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1660 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1661 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1663 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1664 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1665 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1666 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1667 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1668 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1669 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1677 test -z "$as_dir" && as_dir=.
1678 $as_echo "PATH: $as_dir"
1694 # Keep a trace of the command line.
1695 # Strip out --no-create and --no-recursion so they do not pile up.
1696 # Strip out --silent because we don't want to record it for future runs.
1697 # Also quote any args containing shell meta-characters.
1698 # Make two passes to allow for proper duplicate-argument suppression.
1702 ac_must_keep_next=false
1708 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1709 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1710 | -silent | --silent | --silen | --sile | --sil)
1713 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1716 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1718 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1719 if test $ac_must_keep_next = true; then
1720 ac_must_keep_next=false # Got value, back to normal.
1723 *=* | --config-cache | -C | -disable-* | --disable-* \
1724 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1725 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1726 | -with-* | --with-* | -without-* | --without-* | --x)
1727 case "$ac_configure_args0 " in
1728 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1731 -* ) ac_must_keep_next=true ;;
1734 ac_configure_args="$ac_configure_args '$ac_arg'"
1739 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1740 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1742 # When interrupted or exit'd, cleanup temporary files, and complete
1743 # config.log. We remove comments because anyway the quotes in there
1744 # would cause problems or look ugly.
1745 # WARNING: Use '\'' to represent an apostrophe within the trap.
1746 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1747 trap 'exit_status=$?
1748 # Save into config.log some information that might help in debugging.
1753 ## ---------------- ##
1754 ## Cache variables. ##
1755 ## ---------------- ##
1758 # The following way of writing the cache mishandles newlines in values,
1760 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1761 eval ac_val=\$$ac_var
1765 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1766 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1769 _ | IFS | as_nl) ;; #(
1770 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1771 *) $as_unset $ac_var ;;
1776 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1777 *${as_nl}ac_space=\ *)
1779 "s/'\''/'\''\\\\'\'''\''/g;
1780 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1783 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1791 ## ----------------- ##
1792 ## Output variables. ##
1793 ## ----------------- ##
1796 for ac_var in $ac_subst_vars
1798 eval ac_val=\$$ac_var
1800 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1802 $as_echo "$ac_var='\''$ac_val'\''"
1806 if test -n "$ac_subst_files"; then
1808 ## ------------------- ##
1809 ## File substitutions. ##
1810 ## ------------------- ##
1813 for ac_var in $ac_subst_files
1815 eval ac_val=\$$ac_var
1817 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1819 $as_echo "$ac_var='\''$ac_val'\''"
1824 if test -s confdefs.h; then
1834 test "$ac_signal" != 0 &&
1835 $as_echo "$as_me: caught signal $ac_signal"
1836 $as_echo "$as_me: exit $exit_status"
1838 rm -f core *.core core.conftest.* &&
1839 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1842 for ac_signal in 1 2 13 15; do
1843 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1847 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1848 rm -f -r conftest* confdefs.h
1850 # Predefined preprocessor variables.
1852 cat >>confdefs.h <<_ACEOF
1853 #define PACKAGE_NAME "$PACKAGE_NAME"
1857 cat >>confdefs.h <<_ACEOF
1858 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1862 cat >>confdefs.h <<_ACEOF
1863 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1867 cat >>confdefs.h <<_ACEOF
1868 #define PACKAGE_STRING "$PACKAGE_STRING"
1872 cat >>confdefs.h <<_ACEOF
1873 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1877 # Let the site file select an alternate cache file if it wants to.
1878 # Prefer an explicitly selected file to automatically selected ones.
1881 if test -n "$CONFIG_SITE"; then
1882 ac_site_file1=$CONFIG_SITE
1883 elif test "x$prefix" != xNONE; then
1884 ac_site_file1=$prefix/share/config.site
1885 ac_site_file2=$prefix/etc/config.site
1887 ac_site_file1=$ac_default_prefix/share/config.site
1888 ac_site_file2=$ac_default_prefix/etc/config.site
1890 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1892 test "x$ac_site_file" = xNONE && continue
1893 if test -r "$ac_site_file"; then
1894 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1895 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1896 sed 's/^/| /' "$ac_site_file" >&5
1901 if test -r "$cache_file"; then
1902 # Some versions of bash will fail to source /dev/null (special
1903 # files actually), so we avoid doing that.
1904 if test -f "$cache_file"; then
1905 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1906 $as_echo "$as_me: loading cache $cache_file" >&6;}
1908 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1909 *) . "./$cache_file";;
1913 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1914 $as_echo "$as_me: creating cache $cache_file" >&6;}
1918 # Check that the precious variables saved in the cache have kept the same
1920 ac_cache_corrupted=false
1921 for ac_var in $ac_precious_vars; do
1922 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1923 eval ac_new_set=\$ac_env_${ac_var}_set
1924 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1925 eval ac_new_val=\$ac_env_${ac_var}_value
1926 case $ac_old_set,$ac_new_set in
1928 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1929 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1930 ac_cache_corrupted=: ;;
1932 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1933 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1934 ac_cache_corrupted=: ;;
1937 if test "x$ac_old_val" != "x$ac_new_val"; then
1938 # differences in whitespace do not lead to failure.
1939 ac_old_val_w=`echo x
$ac_old_val`
1940 ac_new_val_w=`echo x
$ac_new_val`
1941 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1942 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1943 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1944 ac_cache_corrupted=:
1946 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1947 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1948 eval $ac_var=\$ac_old_val
1950 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1951 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1952 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1953 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1956 # Pass precious variables to config.status.
1957 if test "$ac_new_set" = set; then
1959 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1960 *) ac_arg=$ac_var=$ac_new_val ;;
1962 case " $ac_configure_args " in
1963 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1964 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1968 if $ac_cache_corrupted; then
1969 { $as_echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1970 $as_echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1971 { { $as_echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1972 $as_echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1973 { (exit 1); exit 1; }; }
1993 ac_cpp='$CPP $CPPFLAGS'
1994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2001 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
2002 if test -f "$ac_dir/install-sh"; then
2004 ac_install_sh="$ac_aux_dir/install-sh -c"
2006 elif test -f "$ac_dir/install.sh"; then
2008 ac_install_sh="$ac_aux_dir/install.sh -c"
2010 elif test -f "$ac_dir/shtool"; then
2012 ac_install_sh="$ac_aux_dir/shtool install -c"
2016 if test -z "$ac_aux_dir"; then
2017 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts/autoconf \"$srcdir\"/scripts/autoconf" >&5
2018 $as_echo "$as_me: error: cannot find install-sh or install.sh in scripts/autoconf \"$srcdir\"/scripts/autoconf" >&2;}
2019 { (exit 1); exit 1; }; }
2022 # These three variables are undocumented and unsupported,
2023 # and are intended to be withdrawn in a future Autoconf release.
2024 # They can cause serious problems if a builder's source tree is in a directory
2025 # whose full name contains unusual characters.
2026 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2027 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2028 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2032 # Check what host we are running on.
2033 # If a target is not suggested, we use this one.
2034 # Note that what we call a target, Autoconf calls a host.
2035 # Make sure we can run config.sub.
2036 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2037 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2038 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2039 { (exit 1); exit 1; }; }
2041 { $as_echo "$as_me:$LINENO: checking build system type" >&5
2042 $as_echo_n "checking build system type... " >&6; }
2043 if test "${ac_cv_build+set}" = set; then
2044 $as_echo_n "(cached) " >&6
2046 ac_build_alias=$build_alias
2047 test "x$ac_build_alias" = x &&
2048 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2049 test "x$ac_build_alias" = x &&
2050 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2051 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2052 { (exit 1); exit 1; }; }
2053 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2054 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2055 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2056 { (exit 1); exit 1; }; }
2059 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2060 $as_echo "$ac_cv_build" >&6; }
2061 case $ac_cv_build in
2063 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2064 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2065 { (exit 1); exit 1; }; };;
2068 ac_save_IFS=$IFS; IFS='-'
2074 # Remember, the first character of IFS is used to create $*,
2075 # except with old shells:
2078 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
2081 { $as_echo "$as_me:$LINENO: checking host system type" >&5
2082 $as_echo_n "checking host system type... " >&6; }
2083 if test "${ac_cv_host+set}" = set; then
2084 $as_echo_n "(cached) " >&6
2086 if test "x$host_alias" = x; then
2087 ac_cv_host=$ac_cv_build
2089 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2090 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2091 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2092 { (exit 1); exit 1; }; }
2096 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2097 $as_echo "$ac_cv_host" >&6; }
2100 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2101 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2102 { (exit 1); exit 1; }; };;
2105 ac_save_IFS=$IFS; IFS='-'
2111 # Remember, the first character of IFS is used to create $*,
2112 # except with old shells:
2115 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2119 # The AROS target is slightly different to the normal GNU style
2120 # format. We don't have the middle part, and we reverse the order
2121 # of the $(CPU) and $(OS) bits.
2123 # Don't strip the version of the target yet, it might be
2124 # useful on some systems.
2126 { $as_echo "$as_me:$LINENO: checking for AROS style target" >&5
2127 $as_echo_n "checking for AROS style target... " >&6; }
2129 if test "$target" = "NONE" ; then
2130 target=$host_os-$host_cpu
2133 if test "$target" = "" ; then
2134 target=$host_os-$host_cpu
2140 { $as_echo "$as_me:$LINENO: result: $target" >&5
2141 $as_echo "$target" >&6; }
2143 #don't know where else to put this...
2144 { $as_echo "$as_me:$LINENO: checking Building AROS in .. " >&5
2145 $as_echo_n "checking Building AROS in .. ... " >&6; }
2147 { $as_echo "$as_me:$LINENO: result: $AROS_BUILDDIR" >&5
2148 $as_echo "$AROS_BUILDDIR" >&6; }
2150 { $as_echo "$as_me:$LINENO: checking AROS Source in .. " >&5
2151 $as_echo_n "checking AROS Source in .. ... " >&6; }
2152 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2153 AROS_SRCDIR=${srcpwd}
2154 { $as_echo "$as_me:$LINENO: result: $AROS_SRCDIR" >&5
2155 $as_echo "$AROS_SRCDIR" >&6; }
2157 # Parse the target field into something useful.
2159 target_os=`echo $target |
sed 's/^\([^-]*\)-\(.*\)$/\1/'`
2160 target_cpu=`echo $target |
sed 's/^\([^-]*\)-\(.*\)$/\2/'`
2163 aros_default_wbwidth=800
2164 aros_default_wbheight=600
2165 aros_default_wbdepth=4
2168 # The first step is to find the host binaries.
2169 # Check for a compiler.
2171 ac_cpp='$CPP $CPPFLAGS'
2172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2175 if test -n "$ac_tool_prefix"; then
2176 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2177 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2178 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2179 $as_echo_n "checking for $ac_word... " >&6; }
2180 if test "${ac_cv_prog_CC+set}" = set; then
2181 $as_echo_n "(cached) " >&6
2183 if test -n "$CC"; then
2184 ac_cv_prog_CC="$CC" # Let the user override the test.
2186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2190 test -z "$as_dir" && as_dir=.
2191 for ac_exec_ext in '' $ac_executable_extensions; do
2192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2193 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2194 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2204 if test -n "$CC"; then
2205 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2206 $as_echo "$CC" >&6; }
2208 { $as_echo "$as_me:$LINENO: result: no" >&5
2209 $as_echo "no" >&6; }
2214 if test -z "$ac_cv_prog_CC"; then
2216 # Extract the first word of "gcc", so it can be a program name with args.
2217 set dummy gcc; ac_word=$2
2218 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2219 $as_echo_n "checking for $ac_word... " >&6; }
2220 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2221 $as_echo_n "(cached) " >&6
2223 if test -n "$ac_ct_CC"; then
2224 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2230 test -z "$as_dir" && as_dir=.
2231 for ac_exec_ext in '' $ac_executable_extensions; do
2232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2233 ac_cv_prog_ac_ct_CC="gcc"
2234 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2243 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2244 if test -n "$ac_ct_CC"; then
2245 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2246 $as_echo "$ac_ct_CC" >&6; }
2248 { $as_echo "$as_me:$LINENO: result: no" >&5
2249 $as_echo "no" >&6; }
2252 if test "x$ac_ct_CC" = x; then
2255 case $cross_compiling:$ac_tool_warned in
2257 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2258 whose name does not start with the host triplet. If you think this
2259 configuration is useful to you, please write to autoconf@gnu.org." >&5
2260 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2261 whose name does not start with the host triplet. If you think this
2262 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2263 ac_tool_warned=yes ;;
2271 if test -z "$CC"; then
2272 if test -n "$ac_tool_prefix"; then
2273 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2274 set dummy ${ac_tool_prefix}cc; ac_word=$2
2275 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2276 $as_echo_n "checking for $ac_word... " >&6; }
2277 if test "${ac_cv_prog_CC+set}" = set; then
2278 $as_echo_n "(cached) " >&6
2280 if test -n "$CC"; then
2281 ac_cv_prog_CC="$CC" # Let the user override the test.
2283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2287 test -z "$as_dir" && as_dir=.
2288 for ac_exec_ext in '' $ac_executable_extensions; do
2289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2290 ac_cv_prog_CC="${ac_tool_prefix}cc"
2291 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2301 if test -n "$CC"; then
2302 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2303 $as_echo "$CC" >&6; }
2305 { $as_echo "$as_me:$LINENO: result: no" >&5
2306 $as_echo "no" >&6; }
2312 if test -z "$CC"; then
2313 # Extract the first word of "cc", so it can be a program name with args.
2314 set dummy cc; ac_word=$2
2315 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2316 $as_echo_n "checking for $ac_word... " >&6; }
2317 if test "${ac_cv_prog_CC+set}" = set; then
2318 $as_echo_n "(cached) " >&6
2320 if test -n "$CC"; then
2321 ac_cv_prog_CC="$CC" # Let the user override the test.
2324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2328 test -z "$as_dir" && as_dir=.
2329 for ac_exec_ext in '' $ac_executable_extensions; do
2330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2331 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2332 ac_prog_rejected=yes
2336 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2343 if test $ac_prog_rejected = yes; then
2344 # We found a bogon in the path, so make sure we never use it.
2345 set dummy $ac_cv_prog_CC
2347 if test $# != 0; then
2348 # We chose a different compiler from the bogus one.
2349 # However, it has the same basename, so the bogon will be chosen
2350 # first if we set CC to just the basename; use the full file name.
2352 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2358 if test -n "$CC"; then
2359 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2360 $as_echo "$CC" >&6; }
2362 { $as_echo "$as_me:$LINENO: result: no" >&5
2363 $as_echo "no" >&6; }
2368 if test -z "$CC"; then
2369 if test -n "$ac_tool_prefix"; then
2370 for ac_prog in cl.exe
2372 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2373 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2374 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2375 $as_echo_n "checking for $ac_word... " >&6; }
2376 if test "${ac_cv_prog_CC+set}" = set; then
2377 $as_echo_n "(cached) " >&6
2379 if test -n "$CC"; then
2380 ac_cv_prog_CC="$CC" # Let the user override the test.
2382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2386 test -z "$as_dir" && as_dir=.
2387 for ac_exec_ext in '' $ac_executable_extensions; do
2388 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2389 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2390 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2400 if test -n "$CC"; then
2401 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2402 $as_echo "$CC" >&6; }
2404 { $as_echo "$as_me:$LINENO: result: no" >&5
2405 $as_echo "no" >&6; }
2409 test -n "$CC" && break
2412 if test -z "$CC"; then
2414 for ac_prog in cl.exe
2416 # Extract the first word of "$ac_prog", so it can be a program name with args.
2417 set dummy $ac_prog; ac_word=$2
2418 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2419 $as_echo_n "checking for $ac_word... " >&6; }
2420 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2421 $as_echo_n "(cached) " >&6
2423 if test -n "$ac_ct_CC"; then
2424 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2430 test -z "$as_dir" && as_dir=.
2431 for ac_exec_ext in '' $ac_executable_extensions; do
2432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2433 ac_cv_prog_ac_ct_CC="$ac_prog"
2434 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2443 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2444 if test -n "$ac_ct_CC"; then
2445 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2446 $as_echo "$ac_ct_CC" >&6; }
2448 { $as_echo "$as_me:$LINENO: result: no" >&5
2449 $as_echo "no" >&6; }
2453 test -n "$ac_ct_CC" && break
2456 if test "x$ac_ct_CC" = x; then
2459 case $cross_compiling:$ac_tool_warned in
2461 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2462 whose name does not start with the host triplet. If you think this
2463 configuration is useful to you, please write to autoconf@gnu.org." >&5
2464 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2465 whose name does not start with the host triplet. If you think this
2466 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2467 ac_tool_warned=yes ;;
2476 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2477 See \`config.log
' for more details." >&5
2478 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2479 See \`config.log' for more details.
" >&2;}
2480 { (exit 1); exit 1; }; }
2482 # Provide some information about the compiler.
2483 $as_echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2486 { (ac_try="$ac_compiler --version >&5"
2488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2489 *) ac_try_echo=$ac_try;;
2491 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2492 $as_echo "$ac_try_echo") >&5
2493 (eval "$ac_compiler --version >&5") 2>&5
2495 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2496 (exit $ac_status); }
2497 { (ac_try="$ac_compiler -v >&5"
2499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2500 *) ac_try_echo=$ac_try;;
2502 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2503 $as_echo "$ac_try_echo") >&5
2504 (eval "$ac_compiler -v >&5") 2>&5
2506 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2507 (exit $ac_status); }
2508 { (ac_try="$ac_compiler -V >&5"
2510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2511 *) ac_try_echo=$ac_try;;
2513 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2514 $as_echo "$ac_try_echo") >&5
2515 (eval "$ac_compiler -V >&5") 2>&5
2517 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2518 (exit $ac_status); }
2520 cat >conftest.$ac_ext <<_ACEOF
2523 cat confdefs.h >>conftest.$ac_ext
2524 cat >>conftest.$ac_ext <<_ACEOF
2525 /* end confdefs.h. */
2535 ac_clean_files_save=$ac_clean_files
2536 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out
"
2537 # Try to create an executable without -o first, disregard a.out.
2538 # It will help us diagnose broken compilers, and finding out an intuition
2540 { $as_echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2541 $as_echo_n "checking
for C compiler default output
file name...
" >&6; }
2542 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2544 # The possible output files:
2545 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.
*"
2548 for ac_file in $ac_files
2551 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2552 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2557 if { (ac_try="$ac_link_default"
2559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2560 *) ac_try_echo=$ac_try;;
2562 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2563 $as_echo "$ac_try_echo") >&5
2564 (eval "$ac_link_default") 2>&5
2566 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2567 (exit $ac_status); }; then
2568 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2569 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2570 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2571 # so that the user can short-circuit this test for compilers unknown to
2573 for ac_file in $ac_files ''
2575 test -f "$ac_file" || continue
2577 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2580 # We found the default executable, but exeext='' is most
2584 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2586 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2588 # We set ac_cv_exeext here because the later test for it is not
2589 # safe: cross compilers may not add the suffix if given an `-o'
2590 # argument, so we may need to know it at that point already.
2591 # Even if this section looks crufty: it has the advantage of
2598 test "$ac_cv_exeext" = no && ac_cv_exeext=
2604 { $as_echo "$as_me:$LINENO: result
: $ac_file" >&5
2605 $as_echo "$ac_file" >&6; }
2606 if test -z "$ac_file"; then
2607 $as_echo "$as_me: failed program was
:" >&5
2608 sed 's/^/| /' conftest.$ac_ext >&5
2610 { { $as_echo "$as_me:$LINENO: error
: C compiler cannot create executables
2611 See \
`config.log' for more details." >&5
2612 $as_echo "$as_me: error: C compiler cannot create executables
2613 See \`config.log
' for more details." >&2;}
2614 { (exit 77); exit 77; }; }
2617 ac_exeext=$ac_cv_exeext
2619 # Check that the compiler produces executables we can run. If not, either
2620 # the compiler is broken, or we cross compile.
2621 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2622 $as_echo_n "checking whether the C compiler works... " >&6; }
2623 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2624 # If not cross compiling, check that we can run a simple program.
2625 if test "$cross_compiling" != yes; then
2626 if { ac_try='.
/$ac_file'
2627 { (case "(($ac_try" in
2628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2629 *) ac_try_echo=$ac_try;;
2631 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2632 $as_echo "$ac_try_echo") >&5
2633 (eval "$ac_try") 2>&5
2635 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636 (exit $ac_status); }; }; then
2639 if test "$cross_compiling" = maybe; then
2642 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2643 If you meant to cross compile, use \`--host'.
2644 See \
`config.log' for more details." >&5
2645 $as_echo "$as_me: error: cannot run C compiled programs.
2646 If you meant to cross compile, use \`--host'.
2647 See \`config.log' for more details.
" >&2;}
2648 { (exit 1); exit 1; }; }
2652 { $as_echo "$as_me:$LINENO: result
: yes" >&5
2653 $as_echo "yes" >&6; }
2655 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2656 ac_clean_files=$ac_clean_files_save
2657 # Check that the compiler produces executables we can run. If not, either
2658 # the compiler is broken, or we cross compile.
2659 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2660 $as_echo_n "checking whether we are cross compiling...
" >&6; }
2661 { $as_echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2662 $as_echo "$cross_compiling" >&6; }
2664 { $as_echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2665 $as_echo_n "checking
for suffix of executables...
" >&6; }
2666 if { (ac_try="$ac_link"
2668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2669 *) ac_try_echo=$ac_try;;
2671 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2672 $as_echo "$ac_try_echo") >&5
2673 (eval "$ac_link") 2>&5
2675 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2676 (exit $ac_status); }; then
2677 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2678 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2679 # work properly (i.e., refer to `conftest.exe'), while it won't with
2681 for ac_file in conftest.exe conftest conftest.*; do
2682 test -f "$ac_file" || continue
2684 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2685 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2691 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2692 See \
`config.log' for more details." >&5
2693 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2694 See \`config.log
' for more details." >&2;}
2695 { (exit 1); exit 1; }; }
2698 rm -f conftest$ac_cv_exeext
2699 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2700 $as_echo "$ac_cv_exeext" >&6; }
2702 rm -f conftest.$ac_ext
2703 EXEEXT=$ac_cv_exeext
2705 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2706 $as_echo_n "checking for suffix of object files... " >&6; }
2707 if test "${ac_cv_objext+set}" = set; then
2708 $as_echo_n "(cached) " >&6
2710 cat >conftest.$ac_ext <<_ACEOF
2713 cat confdefs.h >>conftest.$ac_ext
2714 cat >>conftest.$ac_ext <<_ACEOF
2715 /* end confdefs.h. */
2725 rm -f conftest.o conftest.obj
2726 if { (ac_try="$ac_compile"
2728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2729 *) ac_try_echo=$ac_try;;
2731 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2732 $as_echo "$ac_try_echo") >&5
2733 (eval "$ac_compile") 2>&5
2735 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2736 (exit $ac_status); }; then
2737 for ac_file in conftest.o conftest.obj conftest.*; do
2738 test -f "$ac_file" || continue;
2740 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2741 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2746 $as_echo "$as_me: failed program was:" >&5
2747 sed 's
/^
/|
/' conftest.$ac_ext >&5
2749 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2750 See \`config.log' for more details.
" >&5
2751 $as_echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2752 See \
`config.log' for more details." >&2;}
2753 { (exit 1); exit 1; }; }
2756 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2758 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2759 $as_echo "$ac_cv_objext" >&6; }
2760 OBJEXT=$ac_cv_objext
2762 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2763 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2764 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2765 $as_echo_n "(cached) " >&6
2767 cat >conftest.$ac_ext <<_ACEOF
2770 cat confdefs.h >>conftest.$ac_ext
2771 cat >>conftest.$ac_ext <<_ACEOF
2772 /* end confdefs.h. */
2785 rm -f conftest.$ac_objext
2786 if { (ac_try="$ac_compile"
2788 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2789 *) ac_try_echo
=$ac_try;;
2791 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2792 $as_echo "$ac_try_echo") >&5
2793 (eval "$ac_compile") 2>conftest.er1
2795 grep -v '^ *+' conftest.er1
>conftest.err
2797 cat conftest.err
>&5
2798 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2799 (exit $ac_status); } && {
2800 test -z "$ac_c_werror_flag" ||
2801 test ! -s conftest.err
2802 } && test -s conftest.
$ac_objext; then
2805 $as_echo "$as_me: failed program was:" >&5
2806 sed 's/^/| /' conftest.
$ac_ext >&5
2811 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2812 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2815 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2816 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2817 if test $ac_compiler_gnu = yes; then
2822 ac_test_CFLAGS
=${CFLAGS+set}
2823 ac_save_CFLAGS
=$CFLAGS
2824 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2825 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2826 if test "${ac_cv_prog_cc_g+set}" = set; then
2827 $as_echo_n "(cached) " >&6
2829 ac_save_c_werror_flag
=$ac_c_werror_flag
2830 ac_c_werror_flag
=yes
2833 cat >conftest.
$ac_ext <<_ACEOF
2836 cat confdefs.h
>>conftest.
$ac_ext
2837 cat >>conftest.
$ac_ext <<_ACEOF
2838 /* end confdefs.h. */
2848 rm -f conftest.
$ac_objext
2849 if { (ac_try
="$ac_compile"
2851 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2852 *) ac_try_echo=$ac_try;;
2854 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2855 $as_echo "$ac_try_echo") >&5
2856 (eval "$ac_compile") 2>conftest.er1
2858 grep -v '^ *+' conftest.er1 >conftest.err
2860 cat conftest.err >&5
2861 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2862 (exit $ac_status); } && {
2863 test -z "$ac_c_werror_flag" ||
2864 test ! -s conftest.err
2865 } && test -s conftest.$ac_objext; then
2868 $as_echo "$as_me: failed program was:" >&5
2869 sed 's/^/| /' conftest.$ac_ext >&5
2872 cat >conftest.$ac_ext <<_ACEOF
2875 cat confdefs.h >>conftest.$ac_ext
2876 cat >>conftest.$ac_ext <<_ACEOF
2877 /* end confdefs.h. */
2887 rm -f conftest.$ac_objext
2888 if { (ac_try="$ac_compile"
2890 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2891 *) ac_try_echo
=$ac_try;;
2893 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2894 $as_echo "$ac_try_echo") >&5
2895 (eval "$ac_compile") 2>conftest.er1
2897 grep -v '^ *+' conftest.er1
>conftest.err
2899 cat conftest.err
>&5
2900 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2901 (exit $ac_status); } && {
2902 test -z "$ac_c_werror_flag" ||
2903 test ! -s conftest.err
2904 } && test -s conftest.
$ac_objext; then
2907 $as_echo "$as_me: failed program was:" >&5
2908 sed 's/^/| /' conftest.
$ac_ext >&5
2910 ac_c_werror_flag
=$ac_save_c_werror_flag
2912 cat >conftest.
$ac_ext <<_ACEOF
2915 cat confdefs.h
>>conftest.
$ac_ext
2916 cat >>conftest.
$ac_ext <<_ACEOF
2917 /* end confdefs.h. */
2927 rm -f conftest.
$ac_objext
2928 if { (ac_try
="$ac_compile"
2930 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2931 *) ac_try_echo=$ac_try;;
2933 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2934 $as_echo "$ac_try_echo") >&5
2935 (eval "$ac_compile") 2>conftest.er1
2937 grep -v '^ *+' conftest.er1 >conftest.err
2939 cat conftest.err >&5
2940 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2941 (exit $ac_status); } && {
2942 test -z "$ac_c_werror_flag" ||
2943 test ! -s conftest.err
2944 } && test -s conftest.$ac_objext; then
2947 $as_echo "$as_me: failed program was:" >&5
2948 sed 's/^/| /' conftest.$ac_ext >&5
2953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2960 ac_c_werror_flag=$ac_save_c_werror_flag
2962 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2963 $as_echo "$ac_cv_prog_cc_g" >&6; }
2964 if test "$ac_test_CFLAGS" = set; then
2965 CFLAGS=$ac_save_CFLAGS
2966 elif test $ac_cv_prog_cc_g = yes; then
2967 if test "$GCC" = yes; then
2973 if test "$GCC" = yes; then
2979 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2980 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2981 if test "${ac_cv_prog_cc_c89+set}" = set; then
2982 $as_echo_n "(cached) " >&6
2984 ac_cv_prog_cc_c89=no
2986 cat >conftest.$ac_ext <<_ACEOF
2989 cat confdefs.h >>conftest.$ac_ext
2990 cat >>conftest.$ac_ext <<_ACEOF
2991 /* end confdefs.h. */
2994 #include <sys/types.h>
2995 #include <sys/stat.h>
2996 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2997 struct buf { int x; };
2998 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2999 static char *e (p, i)
3005 static char *f (char * (*g) (char **, int), char **p, ...)
3010 s = g (p, va_arg (v,int));
3015 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3016 function prototypes and stuff, but not '\xHH' hex character constants.
3017 These don't provoke an error unfortunately, instead are silently treated
3018 as 'x'. The following induces an error, until -std is added to get
3019 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3020 array size at least. It's necessary to write '\x00'==0 to get something
3021 that's true only with -std. */
3022 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3024 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3025 inside strings and character constants. */
3027 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3029 int test (int i, double x);
3030 struct s1 {int (*f) (int a);};
3031 struct s2 {int (*f) (double a);};
3032 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3038 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3043 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3044 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3046 CC="$ac_save_CC $ac_arg"
3047 rm -f conftest.$ac_objext
3048 if { (ac_try="$ac_compile"
3050 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3051 *) ac_try_echo
=$ac_try;;
3053 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3054 $as_echo "$ac_try_echo") >&5
3055 (eval "$ac_compile") 2>conftest.er1
3057 grep -v '^ *+' conftest.er1
>conftest.err
3059 cat conftest.err
>&5
3060 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3061 (exit $ac_status); } && {
3062 test -z "$ac_c_werror_flag" ||
3063 test ! -s conftest.err
3064 } && test -s conftest.
$ac_objext; then
3065 ac_cv_prog_cc_c89
=$ac_arg
3067 $as_echo "$as_me: failed program was:" >&5
3068 sed 's/^/| /' conftest.
$ac_ext >&5
3073 rm -f core conftest.err conftest.
$ac_objext
3074 test "x$ac_cv_prog_cc_c89" != "xno" && break
3076 rm -f conftest.
$ac_ext
3081 case "x$ac_cv_prog_cc_c89" in
3083 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3084 $as_echo "none needed" >&6; } ;;
3086 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3087 $as_echo "unsupported" >&6; } ;;
3089 CC
="$CC $ac_cv_prog_cc_c89"
3090 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3091 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3096 ac_cpp
='$CPP $CPPFLAGS'
3097 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3098 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3099 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3101 case $ac_cv_prog_cc_stdc in
3102 no
) ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;;
3103 *) { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
3104 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3105 if test "${ac_cv_prog_cc_c99+set}" = set; then
3106 $as_echo_n "(cached) " >&6
3108 ac_cv_prog_cc_c99
=no
3110 cat >conftest.
$ac_ext <<_ACEOF
3113 cat confdefs.h
>>conftest.
$ac_ext
3114 cat >>conftest.
$ac_ext <<_ACEOF
3115 /* end confdefs.h. */
3117 #include <stdbool.h>
3122 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3123 #define debug(...) fprintf (stderr, __VA_ARGS__)
3124 #define showlist(...) puts (#__VA_ARGS__)
3125 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3127 test_varargs_macros (void)
3132 debug ("X = %d\n", x);
3133 showlist (The first, second, and third items.);
3134 report (x>y, "x is %d but y is %d", x, y);
3137 // Check long long types.
3138 #define BIG64 18446744073709551615ull
3139 #define BIG32 4294967295ul
3140 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3142 your preprocessor is broken;
3146 your preprocessor is broken;
3148 static long long int bignum = -9223372036854775807LL;
3149 static unsigned long long int ubignum = BIG64;
3151 struct incomplete_array
3159 const wchar_t *name;
3163 typedef const char *ccp;
3166 test_restrict (ccp restrict text)
3168 // See if C++-style comments work.
3169 // Iterate through items via the restricted pointer.
3170 // Also check for declarations in for loops.
3171 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3176 // Check varargs and va_copy.
3178 test_varargs (const char *format, ...)
3181 va_start (args, format);
3183 va_copy (args_copy, args);
3194 str = va_arg (args_copy, const char *);
3197 number = va_arg (args_copy, int);
3200 fnumber = va_arg (args_copy, double);
3215 _Bool success = false;
3218 if (test_restrict ("String literal") == 0)
3220 char *restrict newvar = "Another string";
3223 test_varargs ("s, d' f .", "string", 65, 34.234);
3224 test_varargs_macros ();
3226 // Check flexible array members.
3227 struct incomplete_array *ia =
3228 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3230 for (int i = 0; i < ia->datasize; ++i)
3231 ia->data[i] = i * 1.234;
3233 // Check named initializers.
3234 struct named_init ni = {
3236 .name = L"Test wide string",
3237 .average = 543.34343,
3242 int dynamic_array[ni.number];
3243 dynamic_array[ni.number - 1] = 543;
3245 // work around unused variable warnings
3246 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3247 || dynamic_array[ni.number - 1] != 543);
3253 for ac_arg
in '' -std=gnu99
-std=c99
-c99 -AC99 -xc99=all
-qlanglvl=extc99
3255 CC
="$ac_save_CC $ac_arg"
3256 rm -f conftest.
$ac_objext
3257 if { (ac_try
="$ac_compile"
3259 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3260 *) ac_try_echo=$ac_try;;
3262 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3263 $as_echo "$ac_try_echo") >&5
3264 (eval "$ac_compile") 2>conftest.er1
3266 grep -v '^ *+' conftest.er1 >conftest.err
3268 cat conftest.err >&5
3269 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3270 (exit $ac_status); } && {
3271 test -z "$ac_c_werror_flag" ||
3272 test ! -s conftest.err
3273 } && test -s conftest.$ac_objext; then
3274 ac_cv_prog_cc_c99=$ac_arg
3276 $as_echo "$as_me: failed program was:" >&5
3277 sed 's/^/| /' conftest.$ac_ext >&5
3282 rm -f core conftest.err conftest.$ac_objext
3283 test "x$ac_cv_prog_cc_c99" != "xno" && break
3285 rm -f conftest.$ac_ext
3290 case "x$ac_cv_prog_cc_c99" in
3292 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3293 $as_echo "none needed" >&6; } ;;
3295 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3296 $as_echo "unsupported" >&6; } ;;
3298 CC="$CC $ac_cv_prog_cc_c99"
3299 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
3300 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3302 if test "x$ac_cv_prog_cc_c99" != xno; then
3303 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3305 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3306 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3307 if test "${ac_cv_prog_cc_c89+set}" = set; then
3308 $as_echo_n "(cached) " >&6
3310 ac_cv_prog_cc_c89=no
3312 cat >conftest.$ac_ext <<_ACEOF
3315 cat confdefs.h >>conftest.$ac_ext
3316 cat >>conftest.$ac_ext <<_ACEOF
3317 /* end confdefs.h. */
3320 #include <sys/types.h>
3321 #include <sys/stat.h>
3322 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3323 struct buf { int x; };
3324 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3325 static char *e (p, i)
3331 static char *f (char * (*g) (char **, int), char **p, ...)
3336 s = g (p, va_arg (v,int));
3341 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3342 function prototypes and stuff, but not '\xHH' hex character constants.
3343 These don't provoke an error unfortunately, instead are silently treated
3344 as 'x'. The following induces an error, until -std is added to get
3345 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3346 array size at least. It's necessary to write '\x00'==0 to get something
3347 that's true only with -std. */
3348 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3350 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3351 inside strings and character constants. */
3353 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3355 int test (int i, double x);
3356 struct s1 {int (*f) (int a);};
3357 struct s2 {int (*f) (double a);};
3358 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3364 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3369 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3370 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3372 CC="$ac_save_CC $ac_arg"
3373 rm -f conftest.$ac_objext
3374 if { (ac_try="$ac_compile"
3376 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3377 *) ac_try_echo
=$ac_try;;
3379 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3380 $as_echo "$ac_try_echo") >&5
3381 (eval "$ac_compile") 2>conftest.er1
3383 grep -v '^ *+' conftest.er1
>conftest.err
3385 cat conftest.err
>&5
3386 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3387 (exit $ac_status); } && {
3388 test -z "$ac_c_werror_flag" ||
3389 test ! -s conftest.err
3390 } && test -s conftest.
$ac_objext; then
3391 ac_cv_prog_cc_c89
=$ac_arg
3393 $as_echo "$as_me: failed program was:" >&5
3394 sed 's/^/| /' conftest.
$ac_ext >&5
3399 rm -f core conftest.err conftest.
$ac_objext
3400 test "x$ac_cv_prog_cc_c89" != "xno" && break
3402 rm -f conftest.
$ac_ext
3407 case "x$ac_cv_prog_cc_c89" in
3409 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3410 $as_echo "none needed" >&6; } ;;
3412 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3413 $as_echo "unsupported" >&6; } ;;
3415 CC
="$CC $ac_cv_prog_cc_c89"
3416 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3417 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3419 if test "x$ac_cv_prog_cc_c89" != xno
; then
3420 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
3422 ac_cv_prog_cc_stdc
=no
3430 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5
3431 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
3432 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3433 $as_echo_n "(cached) " >&6
3436 case $ac_cv_prog_cc_stdc in
3437 no
) { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3438 $as_echo "unsupported" >&6; } ;;
3439 '') { $as_echo "$as_me:$LINENO: result: none needed" >&5
3440 $as_echo "none needed" >&6; } ;;
3441 *) { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3442 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
3447 ac_cpp
='$CPP $CPPFLAGS'
3448 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3449 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3450 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3451 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3452 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3453 # On Suns, sometimes $CPP names a directory.
3454 if test -n "$CPP" && test -d "$CPP"; then
3457 if test -z "$CPP"; then
3458 if test "${ac_cv_prog_CPP+set}" = set; then
3459 $as_echo_n "(cached) " >&6
3461 # Double quotes because CPP needs to be expanded
3462 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3465 for ac_c_preproc_warn_flag
in '' yes
3467 # Use a header file that comes with gcc, so configuring glibc
3468 # with a fresh cross-compiler works.
3469 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3470 # <limits.h> exists even on freestanding compilers.
3471 # On the NeXT, cc -E runs the code through the compiler's parser,
3472 # not just through cpp. "Syntax error" is here to catch this case.
3473 cat >conftest.
$ac_ext <<_ACEOF
3476 cat confdefs.h
>>conftest.
$ac_ext
3477 cat >>conftest.
$ac_ext <<_ACEOF
3478 /* end confdefs.h. */
3480 # include <limits.h>
3482 # include <assert.h>
3486 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3488 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3489 *) ac_try_echo=$ac_try;;
3491 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3492 $as_echo "$ac_try_echo") >&5
3493 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3495 grep -v '^ *+' conftest.er1 >conftest.err
3497 cat conftest.err >&5
3498 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3499 (exit $ac_status); } >/dev/null && {
3500 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3501 test ! -s conftest.err
3505 $as_echo "$as_me: failed program was:" >&5
3506 sed 's/^/| /' conftest.$ac_ext >&5
3508 # Broken: fails on valid input.
3512 rm -f conftest.err conftest.$ac_ext
3514 # OK, works on sane cases. Now check whether nonexistent headers
3515 # can be detected and how.
3516 cat >conftest.$ac_ext <<_ACEOF
3519 cat confdefs.h >>conftest.$ac_ext
3520 cat >>conftest.$ac_ext <<_ACEOF
3521 /* end confdefs.h. */
3522 #include <ac_nonexistent.h>
3524 if { (ac_try="$ac_cpp conftest.$ac_ext"
3526 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3527 *) ac_try_echo
=$ac_try;;
3529 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3530 $as_echo "$ac_try_echo") >&5
3531 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3533 grep -v '^ *+' conftest.er1
>conftest.err
3535 cat conftest.err
>&5
3536 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3537 (exit $ac_status); } >/dev
/null
&& {
3538 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3539 test ! -s conftest.err
3541 # Broken: success on invalid input.
3544 $as_echo "$as_me: failed program was:" >&5
3545 sed 's/^/| /' conftest.
$ac_ext >&5
3547 # Passes both tests.
3552 rm -f conftest.err conftest.
$ac_ext
3555 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3556 rm -f conftest.err conftest.
$ac_ext
3557 if $ac_preproc_ok; then
3569 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3570 $as_echo "$CPP" >&6; }
3572 for ac_c_preproc_warn_flag
in '' yes
3574 # Use a header file that comes with gcc, so configuring glibc
3575 # with a fresh cross-compiler works.
3576 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3577 # <limits.h> exists even on freestanding compilers.
3578 # On the NeXT, cc -E runs the code through the compiler's parser,
3579 # not just through cpp. "Syntax error" is here to catch this case.
3580 cat >conftest.
$ac_ext <<_ACEOF
3583 cat confdefs.h
>>conftest.
$ac_ext
3584 cat >>conftest.
$ac_ext <<_ACEOF
3585 /* end confdefs.h. */
3587 # include <limits.h>
3589 # include <assert.h>
3593 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3595 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3596 *) ac_try_echo=$ac_try;;
3598 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3599 $as_echo "$ac_try_echo") >&5
3600 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3602 grep -v '^ *+' conftest.er1 >conftest.err
3604 cat conftest.err >&5
3605 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3606 (exit $ac_status); } >/dev/null && {
3607 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3608 test ! -s conftest.err
3612 $as_echo "$as_me: failed program was:" >&5
3613 sed 's/^/| /' conftest.$ac_ext >&5
3615 # Broken: fails on valid input.
3619 rm -f conftest.err conftest.$ac_ext
3621 # OK, works on sane cases. Now check whether nonexistent headers
3622 # can be detected and how.
3623 cat >conftest.$ac_ext <<_ACEOF
3626 cat confdefs.h >>conftest.$ac_ext
3627 cat >>conftest.$ac_ext <<_ACEOF
3628 /* end confdefs.h. */
3629 #include <ac_nonexistent.h>
3631 if { (ac_try="$ac_cpp conftest.$ac_ext"
3633 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3634 *) ac_try_echo
=$ac_try;;
3636 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3637 $as_echo "$ac_try_echo") >&5
3638 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3640 grep -v '^ *+' conftest.er1
>conftest.err
3642 cat conftest.err
>&5
3643 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3644 (exit $ac_status); } >/dev
/null
&& {
3645 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3646 test ! -s conftest.err
3648 # Broken: success on invalid input.
3651 $as_echo "$as_me: failed program was:" >&5
3652 sed 's/^/| /' conftest.
$ac_ext >&5
3654 # Passes both tests.
3659 rm -f conftest.err conftest.
$ac_ext
3662 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3663 rm -f conftest.err conftest.
$ac_ext
3664 if $ac_preproc_ok; then
3667 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3668 See \`config.log' for more details." >&5
3669 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3670 See \`config.log' for more details." >&2;}
3671 { (exit 1); exit 1; }; }
3675 ac_cpp
='$CPP $CPPFLAGS'
3676 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3677 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3678 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3681 # Check for a compatible awk
3682 for ac_prog
in gawk nawk
3684 # Extract the first word of "$ac_prog", so it can be a program name with args.
3685 set dummy
$ac_prog; ac_word
=$2
3686 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3687 $as_echo_n "checking for $ac_word... " >&6; }
3688 if test "${ac_cv_prog_AWK+set}" = set; then
3689 $as_echo_n "(cached) " >&6
3691 if test -n "$AWK"; then
3692 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3694 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3698 test -z "$as_dir" && as_dir
=.
3699 for ac_exec_ext
in '' $ac_executable_extensions; do
3700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3701 ac_cv_prog_AWK
="$ac_prog"
3702 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3712 if test -n "$AWK"; then
3713 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
3714 $as_echo "$AWK" >&6; }
3716 { $as_echo "$as_me:$LINENO: result: no" >&5
3717 $as_echo "no" >&6; }
3721 test -n "$AWK" && break
3724 if test "$AWK" = ""; then
3725 { { $as_echo "$as_me:$LINENO: error: gawk is required to build AROS. Please install and run configure again." >&5
3726 $as_echo "$as_me: error: gawk is required to build AROS. Please install and run configure again." >&2;}
3727 { (exit 1); exit 1; }; }
3729 # Extract the first word of "mmake", so it can be a program name with args.
3730 set dummy mmake
; ac_word
=$2
3731 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3732 $as_echo_n "checking for $ac_word... " >&6; }
3733 if test "${ac_cv_prog_MMAKE+set}" = set; then
3734 $as_echo_n "(cached) " >&6
3736 if test -n "$MMAKE"; then
3737 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
3739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3743 test -z "$as_dir" && as_dir
=.
3744 for ac_exec_ext
in '' $ac_executable_extensions; do
3745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3746 ac_cv_prog_MMAKE
="mmake "
3747 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3756 MMAKE
=$ac_cv_prog_MMAKE
3757 if test -n "$MMAKE"; then
3758 { $as_echo "$as_me:$LINENO: result: $MMAKE" >&5
3759 $as_echo "$MMAKE" >&6; }
3761 { $as_echo "$as_me:$LINENO: result: no" >&5
3762 $as_echo "no" >&6; }
3767 # Perform some default variable assignments. Note all of these will be
3768 # Regenerated from the script, so there is no need to cache them.
3771 if test "$GCC" = "yes"; then
3772 aros_gcc_ld
=`$CC -print-prog-name=ld`
3773 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
3774 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
3775 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3776 $as_echo_n "checking for $ac_word... " >&6; }
3777 if test "${ac_cv_path_aros_host_ld+set}" = set; then
3778 $as_echo_n "(cached) " >&6
3780 case $aros_host_ld in
3782 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3786 for as_dir
in `dirname $aros_gcc_ld`
3789 test -z "$as_dir" && as_dir
=.
3790 for ac_exec_ext
in '' $ac_executable_extensions; do
3791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3792 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3793 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3803 aros_host_ld
=$ac_cv_path_aros_host_ld
3804 if test -n "$aros_host_ld"; then
3805 { $as_echo "$as_me:$LINENO: result: $aros_host_ld" >&5
3806 $as_echo "$aros_host_ld" >&6; }
3808 { $as_echo "$as_me:$LINENO: result: no" >&5
3809 $as_echo "no" >&6; }
3814 if test "$aros_host_ld" = ""; then
3815 # Extract the first word of "ld", so it can be a program name with args.
3816 set dummy ld
; ac_word
=$2
3817 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3818 $as_echo_n "checking for $ac_word... " >&6; }
3819 if test "${ac_cv_path_aros_host_ld+set}" = set; then
3820 $as_echo_n "(cached) " >&6
3822 case $aros_host_ld in
3824 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3827 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3831 test -z "$as_dir" && as_dir
=.
3832 for ac_exec_ext
in '' $ac_executable_extensions; do
3833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3834 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3835 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3845 aros_host_ld
=$ac_cv_path_aros_host_ld
3846 if test -n "$aros_host_ld"; then
3847 { $as_echo "$as_me:$LINENO: result: $aros_host_ld" >&5
3848 $as_echo "$aros_host_ld" >&6; }
3850 { $as_echo "$as_me:$LINENO: result: no" >&5
3851 $as_echo "no" >&6; }
3856 if test "$aros_host_ld" = ""; then
3857 { { $as_echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
3858 $as_echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
3859 { (exit 1); exit 1; }; }
3861 aros_host_make
="make"
3862 aros_host_cflags
=$CFLAGS
3863 aros_host_ldflags
=$LDFLAGS
3864 aros_host_debug
="-g -O0"
3865 aros_host_mkdep
="\$(TOP)/scripts/mkdep"
3866 aros_host_mkargs
="--no-print-directory"
3867 aros_host_incl
="/usr/include"
3868 aros_host_exe_suffix
="$EXEEXT"
3869 aros_host_lib_suffix
=""
3871 for ac_prog
in aclocal aclocal19
3873 # Extract the first word of "$ac_prog", so it can be a program name with args.
3874 set dummy
$ac_prog; ac_word
=$2
3875 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3876 $as_echo_n "checking for $ac_word... " >&6; }
3877 if test "${ac_cv_prog_aros_host_aclocal+set}" = set; then
3878 $as_echo_n "(cached) " >&6
3880 if test -n "$aros_host_aclocal"; then
3881 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
3883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3887 test -z "$as_dir" && as_dir
=.
3888 for ac_exec_ext
in '' $ac_executable_extensions; do
3889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3890 ac_cv_prog_aros_host_aclocal
="$ac_prog"
3891 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3900 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
3901 if test -n "$aros_host_aclocal"; then
3902 { $as_echo "$as_me:$LINENO: result: $aros_host_aclocal" >&5
3903 $as_echo "$aros_host_aclocal" >&6; }
3905 { $as_echo "$as_me:$LINENO: result: no" >&5
3906 $as_echo "no" >&6; }
3910 test -n "$aros_host_aclocal" && break
3913 for ac_prog
in autoconf autoconf259 autoconf253
3915 # Extract the first word of "$ac_prog", so it can be a program name with args.
3916 set dummy
$ac_prog; ac_word
=$2
3917 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3918 $as_echo_n "checking for $ac_word... " >&6; }
3919 if test "${ac_cv_prog_aros_host_autoconf+set}" = set; then
3920 $as_echo_n "(cached) " >&6
3922 if test -n "$aros_host_autoconf"; then
3923 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
3925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3929 test -z "$as_dir" && as_dir
=.
3930 for ac_exec_ext
in '' $ac_executable_extensions; do
3931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3932 ac_cv_prog_aros_host_autoconf
="$ac_prog"
3933 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3942 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
3943 if test -n "$aros_host_autoconf"; then
3944 { $as_echo "$as_me:$LINENO: result: $aros_host_autoconf" >&5
3945 $as_echo "$aros_host_autoconf" >&6; }
3947 { $as_echo "$as_me:$LINENO: result: no" >&5
3948 $as_echo "no" >&6; }
3952 test -n "$aros_host_autoconf" && break
3955 for ac_prog
in autoheader autoheader259 autoheader253
3957 # Extract the first word of "$ac_prog", so it can be a program name with args.
3958 set dummy
$ac_prog; ac_word
=$2
3959 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3960 $as_echo_n "checking for $ac_word... " >&6; }
3961 if test "${ac_cv_prog_aros_host_autoheader+set}" = set; then
3962 $as_echo_n "(cached) " >&6
3964 if test -n "$aros_host_autoheader"; then
3965 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
3967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3971 test -z "$as_dir" && as_dir
=.
3972 for ac_exec_ext
in '' $ac_executable_extensions; do
3973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3974 ac_cv_prog_aros_host_autoheader
="$ac_prog"
3975 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3984 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
3985 if test -n "$aros_host_autoheader"; then
3986 { $as_echo "$as_me:$LINENO: result: $aros_host_autoheader" >&5
3987 $as_echo "$aros_host_autoheader" >&6; }
3989 { $as_echo "$as_me:$LINENO: result: no" >&5
3990 $as_echo "no" >&6; }
3994 test -n "$aros_host_autoheader" && break
3997 for ac_prog
in automake automake19
3999 # Extract the first word of "$ac_prog", so it can be a program name with args.
4000 set dummy
$ac_prog; ac_word
=$2
4001 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4002 $as_echo_n "checking for $ac_word... " >&6; }
4003 if test "${ac_cv_prog_aros_host_automake+set}" = set; then
4004 $as_echo_n "(cached) " >&6
4006 if test -n "$aros_host_automake"; then
4007 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4013 test -z "$as_dir" && as_dir
=.
4014 for ac_exec_ext
in '' $ac_executable_extensions; do
4015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4016 ac_cv_prog_aros_host_automake
="$ac_prog"
4017 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4026 aros_host_automake
=$ac_cv_prog_aros_host_automake
4027 if test -n "$aros_host_automake"; then
4028 { $as_echo "$as_me:$LINENO: result: $aros_host_automake" >&5
4029 $as_echo "$aros_host_automake" >&6; }
4031 { $as_echo "$as_me:$LINENO: result: no" >&5
4032 $as_echo "no" >&6; }
4036 test -n "$aros_host_automake" && break
4040 case "$aros_host_cc" in
4042 aros_host_cc_pipe
="-pipe"
4045 aros_host_cc_pipe
=""
4048 aros_host_cc_pipe
=""
4052 aros_target_cc_includes
=""
4054 # This is the main host configuration section. It is where the host
4055 # can change the values of any variables it needs to change. We do
4056 # not look at anything that compiles to the target yet, we'll get
4061 aros_host_arch
="linux"
4062 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4065 aros_host_cpu
="i386"
4068 aros_host_cpu
="x86_64"
4071 aros_host_cpu
="m68k"
4077 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4078 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4079 aros_host_cpu
="$host_cpu"
4085 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4086 aros_host_make
="gmake"
4087 aros_host_arch
="freebsd"
4088 aros_host_cpu
="i386"
4090 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4095 aros_object_format
="elf_i386"
4099 aros_object_format
="elf_i386_fbsd"
4106 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4107 aros_host_arch
="darwin"
4110 aros_host_cpu
="i386"
4116 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4117 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4118 aros_host_cpu
="$host_cpu"
4122 aros_host_ldflags
="$aros_host_ldflags -liconv"
4127 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4128 aros_host_make
="gmake"
4129 aros_host_arch
="netbsd"
4132 aros_host_cpu
="i386"
4135 aros_host_cpu
="m68k"
4138 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4139 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4140 aros_host_cpu
="$host_cpu"
4143 aros_host_lib_suffix
=".0.0"
4147 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4148 aros_host_make
="gmake"
4149 aros_host_arch
="openbsd"
4152 aros_host_cpu
="i386"
4155 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4156 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4157 aros_host_cpu
="$host_cpu"
4163 aros_host_arch
="solaris"
4164 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4167 aros_host_cpu
="i386"
4170 aros_host_cpu
="sparc"
4173 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4174 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4175 aros_host_cpu
="$host_cpu"
4181 aros_host_arch
="morphos"
4186 aros_host_arch
="amiga"
4191 TOUCH
="/gg/bin/touch"
4194 aros_host_cpu
="m68k"
4200 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4201 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4202 aros_host_cpu
="$host_cpu"
4208 aros_host_arch
="cygwin"
4209 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4212 aros_host_cpu
="i386"
4215 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4216 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4217 aros_host_cpu
="$host_cpu"
4223 aros_host_arch
="mingw32"
4224 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4227 aros_host_cpu
="i386"
4230 { $as_echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4231 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4232 aros_host_cpu
="$host_cpu"
4237 { { $as_echo "$as_me:$LINENO: error: Unsupported host architecture $host" >&5
4238 $as_echo "$as_me: error: Unsupported host architecture $host" >&2;}
4239 { (exit 1); exit 1; }; }
4243 # Extract the first word of "ar", so it can be a program name with args.
4244 set dummy
ar; ac_word
=$2
4245 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4246 $as_echo_n "checking for $ac_word... " >&6; }
4247 if test "${ac_cv_prog_aros_host_ar+set}" = set; then
4248 $as_echo_n "(cached) " >&6
4250 if test -n "$aros_host_ar"; then
4251 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4253 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4257 test -z "$as_dir" && as_dir
=.
4258 for ac_exec_ext
in '' $ac_executable_extensions; do
4259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4260 ac_cv_prog_aros_host_ar
="ar cr"
4261 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4270 aros_host_ar
=$ac_cv_prog_aros_host_ar
4271 if test -n "$aros_host_ar"; then
4272 { $as_echo "$as_me:$LINENO: result: $aros_host_ar" >&5
4273 $as_echo "$aros_host_ar" >&6; }
4275 { $as_echo "$as_me:$LINENO: result: no" >&5
4276 $as_echo "no" >&6; }
4280 if test "$aros_host_ar" = ""; then
4281 { { $as_echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
4282 $as_echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
4283 { (exit 1); exit 1; }; }
4285 # Extract the first word of "ranlib", so it can be a program name with args.
4286 set dummy ranlib
; ac_word
=$2
4287 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4288 $as_echo_n "checking for $ac_word... " >&6; }
4289 if test "${ac_cv_prog_aros_host_ranlib+set}" = set; then
4290 $as_echo_n "(cached) " >&6
4292 if test -n "$aros_host_ranlib"; then
4293 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4299 test -z "$as_dir" && as_dir
=.
4300 for ac_exec_ext
in '' $ac_executable_extensions; do
4301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4302 ac_cv_prog_aros_host_ranlib
="ranlib "
4303 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4312 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4313 if test -n "$aros_host_ranlib"; then
4314 { $as_echo "$as_me:$LINENO: result: $aros_host_ranlib" >&5
4315 $as_echo "$aros_host_ranlib" >&6; }
4317 { $as_echo "$as_me:$LINENO: result: no" >&5
4318 $as_echo "no" >&6; }
4322 if test "$aros_host_ranlib" = ""; then
4323 { { $as_echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
4324 $as_echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
4325 { (exit 1); exit 1; }; }
4327 # Extract the first word of "strip", so it can be a program name with args.
4328 set dummy strip
; ac_word
=$2
4329 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4330 $as_echo_n "checking for $ac_word... " >&6; }
4331 if test "${ac_cv_prog_aros_host_strip+set}" = set; then
4332 $as_echo_n "(cached) " >&6
4334 if test -n "$aros_host_strip"; then
4335 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4341 test -z "$as_dir" && as_dir
=.
4342 for ac_exec_ext
in '' $ac_executable_extensions; do
4343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4344 ac_cv_prog_aros_host_strip
="strip "
4345 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4354 aros_host_strip
=$ac_cv_prog_aros_host_strip
4355 if test -n "$aros_host_strip"; then
4356 { $as_echo "$as_me:$LINENO: result: $aros_host_strip" >&5
4357 $as_echo "$aros_host_strip" >&6; }
4359 { $as_echo "$as_me:$LINENO: result: no" >&5
4360 $as_echo "no" >&6; }
4364 if test "$aros_host_strip" = ""; then
4365 { { $as_echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
4366 $as_echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
4367 { (exit 1); exit 1; }; }
4370 # Extract the first word of "rm", so it can be a program name with args.
4371 set dummy
rm; ac_word
=$2
4372 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4373 $as_echo_n "checking for $ac_word... " >&6; }
4374 if test "${ac_cv_prog_RM+set}" = set; then
4375 $as_echo_n "(cached) " >&6
4377 if test -n "$RM"; then
4378 ac_cv_prog_RM
="$RM" # Let the user override the test.
4380 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4384 test -z "$as_dir" && as_dir
=.
4385 for ac_exec_ext
in '' $ac_executable_extensions; do
4386 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4387 ac_cv_prog_RM
="rm -rf"
4388 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4398 if test -n "$RM"; then
4399 { $as_echo "$as_me:$LINENO: result: $RM" >&5
4400 $as_echo "$RM" >&6; }
4402 { $as_echo "$as_me:$LINENO: result: no" >&5
4403 $as_echo "no" >&6; }
4407 if test "$RM" = ""; then
4408 { { $as_echo "$as_me:$LINENO: error: rm is required to build AROS. Please install and run configure again." >&5
4409 $as_echo "$as_me: error: rm is required to build AROS. Please install and run configure again." >&2;}
4410 { (exit 1); exit 1; }; }
4412 # Extract the first word of "cp", so it can be a program name with args.
4413 set dummy
cp; ac_word
=$2
4414 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4415 $as_echo_n "checking for $ac_word... " >&6; }
4416 if test "${ac_cv_prog_CP+set}" = set; then
4417 $as_echo_n "(cached) " >&6
4419 if test -n "$CP"; then
4420 ac_cv_prog_CP
="$CP" # Let the user override the test.
4422 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4426 test -z "$as_dir" && as_dir
=.
4427 for ac_exec_ext
in '' $ac_executable_extensions; do
4428 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4430 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4440 if test -n "$CP"; then
4441 { $as_echo "$as_me:$LINENO: result: $CP" >&5
4442 $as_echo "$CP" >&6; }
4444 { $as_echo "$as_me:$LINENO: result: no" >&5
4445 $as_echo "no" >&6; }
4449 if test "$CP" = ""; then
4450 { { $as_echo "$as_me:$LINENO: error: cp is required to build AROS. Please install and run configure again." >&5
4451 $as_echo "$as_me: error: cp is required to build AROS. Please install and run configure again." >&2;}
4452 { (exit 1); exit 1; }; }
4454 # Extract the first word of "mv", so it can be a program name with args.
4455 set dummy
mv; ac_word
=$2
4456 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4457 $as_echo_n "checking for $ac_word... " >&6; }
4458 if test "${ac_cv_prog_MV+set}" = set; then
4459 $as_echo_n "(cached) " >&6
4461 if test -n "$MV"; then
4462 ac_cv_prog_MV
="$MV" # Let the user override the test.
4464 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4468 test -z "$as_dir" && as_dir
=.
4469 for ac_exec_ext
in '' $ac_executable_extensions; do
4470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4472 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4482 if test -n "$MV"; then
4483 { $as_echo "$as_me:$LINENO: result: $MV" >&5
4484 $as_echo "$MV" >&6; }
4486 { $as_echo "$as_me:$LINENO: result: no" >&5
4487 $as_echo "no" >&6; }
4491 if test "$MV" = ""; then
4492 { { $as_echo "$as_me:$LINENO: error: mv is required to build AROS. Please install and run configure again." >&5
4493 $as_echo "$as_me: error: mv is required to build AROS. Please install and run configure again." >&2;}
4494 { (exit 1); exit 1; }; }
4496 # Extract the first word of "echo", so it can be a program name with args.
4497 set dummy
echo; ac_word
=$2
4498 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4499 $as_echo_n "checking for $ac_word... " >&6; }
4500 if test "${ac_cv_prog_ECHO+set}" = set; then
4501 $as_echo_n "(cached) " >&6
4503 if test -n "$ECHO"; then
4504 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
4506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4510 test -z "$as_dir" && as_dir
=.
4511 for ac_exec_ext
in '' $ac_executable_extensions; do
4512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4513 ac_cv_prog_ECHO
="echo "
4514 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4523 ECHO
=$ac_cv_prog_ECHO
4524 if test -n "$ECHO"; then
4525 { $as_echo "$as_me:$LINENO: result: $ECHO" >&5
4526 $as_echo "$ECHO" >&6; }
4528 { $as_echo "$as_me:$LINENO: result: no" >&5
4529 $as_echo "no" >&6; }
4533 if test "$ECHO" = ""; then
4534 { { $as_echo "$as_me:$LINENO: error: echo is required to build AROS. Please install and run configure again." >&5
4535 $as_echo "$as_me: error: echo is required to build AROS. Please install and run configure again." >&2;}
4536 { (exit 1); exit 1; }; }
4538 # Extract the first word of "mkdir", so it can be a program name with args.
4539 set dummy mkdir
; ac_word
=$2
4540 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4541 $as_echo_n "checking for $ac_word... " >&6; }
4542 if test "${ac_cv_prog_MKDIR+set}" = set; then
4543 $as_echo_n "(cached) " >&6
4545 if test -n "$MKDIR"; then
4546 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
4548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4552 test -z "$as_dir" && as_dir
=.
4553 for ac_exec_ext
in '' $ac_executable_extensions; do
4554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4555 ac_cv_prog_MKDIR
="mkdir -p"
4556 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4565 MKDIR
=$ac_cv_prog_MKDIR
4566 if test -n "$MKDIR"; then
4567 { $as_echo "$as_me:$LINENO: result: $MKDIR" >&5
4568 $as_echo "$MKDIR" >&6; }
4570 { $as_echo "$as_me:$LINENO: result: no" >&5
4571 $as_echo "no" >&6; }
4575 if test "$MKDIR" = ""; then
4576 { { $as_echo "$as_me:$LINENO: error: mkdir is required to build AROS. Please install and run configure again." >&5
4577 $as_echo "$as_me: error: mkdir is required to build AROS. Please install and run configure again." >&2;}
4578 { (exit 1); exit 1; }; }
4580 # Extract the first word of "touch", so it can be a program name with args.
4581 set dummy
touch; ac_word
=$2
4582 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4583 $as_echo_n "checking for $ac_word... " >&6; }
4584 if test "${ac_cv_prog_TOUCH+set}" = set; then
4585 $as_echo_n "(cached) " >&6
4587 if test -n "$TOUCH"; then
4588 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
4590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4594 test -z "$as_dir" && as_dir
=.
4595 for ac_exec_ext
in '' $ac_executable_extensions; do
4596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4597 ac_cv_prog_TOUCH
="touch "
4598 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4607 TOUCH
=$ac_cv_prog_TOUCH
4608 if test -n "$TOUCH"; then
4609 { $as_echo "$as_me:$LINENO: result: $TOUCH" >&5
4610 $as_echo "$TOUCH" >&6; }
4612 { $as_echo "$as_me:$LINENO: result: no" >&5
4613 $as_echo "no" >&6; }
4617 if test "$TOUCH" = ""; then
4618 { { $as_echo "$as_me:$LINENO: error: touch is required to build AROS. Please install and run configure again." >&5
4619 $as_echo "$as_me: error: touch is required to build AROS. Please install and run configure again." >&2;}
4620 { (exit 1); exit 1; }; }
4622 # Extract the first word of "sort", so it can be a program name with args.
4623 set dummy
sort; ac_word
=$2
4624 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4625 $as_echo_n "checking for $ac_word... " >&6; }
4626 if test "${ac_cv_prog_SORT+set}" = set; then
4627 $as_echo_n "(cached) " >&6
4629 if test -n "$SORT"; then
4630 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
4632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4636 test -z "$as_dir" && as_dir
=.
4637 for ac_exec_ext
in '' $ac_executable_extensions; do
4638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4639 ac_cv_prog_SORT
="sort "
4640 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4649 SORT
=$ac_cv_prog_SORT
4650 if test -n "$SORT"; then
4651 { $as_echo "$as_me:$LINENO: result: $SORT" >&5
4652 $as_echo "$SORT" >&6; }
4654 { $as_echo "$as_me:$LINENO: result: no" >&5
4655 $as_echo "no" >&6; }
4659 if test "$SORT" = ""; then
4660 { { $as_echo "$as_me:$LINENO: error: sort is required to build AROS. Please install and run configure again." >&5
4661 $as_echo "$as_me: error: sort is required to build AROS. Please install and run configure again." >&2;}
4662 { (exit 1); exit 1; }; }
4664 # Extract the first word of "uniq", so it can be a program name with args.
4665 set dummy
uniq; ac_word
=$2
4666 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4667 $as_echo_n "checking for $ac_word... " >&6; }
4668 if test "${ac_cv_prog_UNIQ+set}" = set; then
4669 $as_echo_n "(cached) " >&6
4671 if test -n "$UNIQ"; then
4672 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
4674 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4678 test -z "$as_dir" && as_dir
=.
4679 for ac_exec_ext
in '' $ac_executable_extensions; do
4680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4681 ac_cv_prog_UNIQ
="uniq "
4682 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4691 UNIQ
=$ac_cv_prog_UNIQ
4692 if test -n "$UNIQ"; then
4693 { $as_echo "$as_me:$LINENO: result: $UNIQ" >&5
4694 $as_echo "$UNIQ" >&6; }
4696 { $as_echo "$as_me:$LINENO: result: no" >&5
4697 $as_echo "no" >&6; }
4701 if test "$UNIQ" = ""; then
4702 { { $as_echo "$as_me:$LINENO: error: uniq is required to build AROS. Please install and run configure again." >&5
4703 $as_echo "$as_me: error: uniq is required to build AROS. Please install and run configure again." >&2;}
4704 { (exit 1); exit 1; }; }
4706 # Extract the first word of "true", so it can be a program name with args.
4707 set dummy true
; ac_word
=$2
4708 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4709 $as_echo_n "checking for $ac_word... " >&6; }
4710 if test "${ac_cv_prog_NOP+set}" = set; then
4711 $as_echo_n "(cached) " >&6
4713 if test -n "$NOP"; then
4714 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
4716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4720 test -z "$as_dir" && as_dir
=.
4721 for ac_exec_ext
in '' $ac_executable_extensions; do
4722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4723 ac_cv_prog_NOP
="true "
4724 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4734 if test -n "$NOP"; then
4735 { $as_echo "$as_me:$LINENO: result: $NOP" >&5
4736 $as_echo "$NOP" >&6; }
4738 { $as_echo "$as_me:$LINENO: result: no" >&5
4739 $as_echo "no" >&6; }
4743 if test "$NOP" = ""; then
4744 { { $as_echo "$as_me:$LINENO: error: true is required to build AROS. Please install and run configure again." >&5
4745 $as_echo "$as_me: error: true is required to build AROS. Please install and run configure again." >&2;}
4746 { (exit 1); exit 1; }; }
4748 # Extract the first word of "cat", so it can be a program name with args.
4749 set dummy
cat; ac_word
=$2
4750 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4751 $as_echo_n "checking for $ac_word... " >&6; }
4752 if test "${ac_cv_prog_CAT+set}" = set; then
4753 $as_echo_n "(cached) " >&6
4755 if test -n "$CAT"; then
4756 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
4758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4762 test -z "$as_dir" && as_dir
=.
4763 for ac_exec_ext
in '' $ac_executable_extensions; do
4764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4765 ac_cv_prog_CAT
="cat "
4766 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4776 if test -n "$CAT"; then
4777 { $as_echo "$as_me:$LINENO: result: $CAT" >&5
4778 $as_echo "$CAT" >&6; }
4780 { $as_echo "$as_me:$LINENO: result: no" >&5
4781 $as_echo "no" >&6; }
4785 if test "$CAT" = ""; then
4786 { { $as_echo "$as_me:$LINENO: error: cat is required to build AROS. Please install and run configure again." >&5
4787 $as_echo "$as_me: error: cat is required to build AROS. Please install and run configure again." >&2;}
4788 { (exit 1); exit 1; }; }
4790 # Extract the first word of "bison", so it can be a program name with args.
4791 set dummy bison
; ac_word
=$2
4792 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4793 $as_echo_n "checking for $ac_word... " >&6; }
4794 if test "${ac_cv_prog_BISON+set}" = set; then
4795 $as_echo_n "(cached) " >&6
4797 if test -n "$BISON"; then
4798 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4804 test -z "$as_dir" && as_dir
=.
4805 for ac_exec_ext
in '' $ac_executable_extensions; do
4806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4807 ac_cv_prog_BISON
="bison "
4808 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4817 BISON
=$ac_cv_prog_BISON
4818 if test -n "$BISON"; then
4819 { $as_echo "$as_me:$LINENO: result: $BISON" >&5
4820 $as_echo "$BISON" >&6; }
4822 { $as_echo "$as_me:$LINENO: result: no" >&5
4823 $as_echo "no" >&6; }
4827 if test "$BISON" = ""; then
4828 { { $as_echo "$as_me:$LINENO: error: bison is required to build AROS. Please install and run configure again." >&5
4829 $as_echo "$as_me: error: bison is required to build AROS. Please install and run configure again." >&2;}
4830 { (exit 1); exit 1; }; }
4832 # Extract the first word of "flex", so it can be a program name with args.
4833 set dummy flex
; ac_word
=$2
4834 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4835 $as_echo_n "checking for $ac_word... " >&6; }
4836 if test "${ac_cv_prog_FLEX+set}" = set; then
4837 $as_echo_n "(cached) " >&6
4839 if test -n "$FLEX"; then
4840 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4846 test -z "$as_dir" && as_dir
=.
4847 for ac_exec_ext
in '' $ac_executable_extensions; do
4848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4849 ac_cv_prog_FLEX
="flex "
4850 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4859 FLEX
=$ac_cv_prog_FLEX
4860 if test -n "$FLEX"; then
4861 { $as_echo "$as_me:$LINENO: result: $FLEX" >&5
4862 $as_echo "$FLEX" >&6; }
4864 { $as_echo "$as_me:$LINENO: result: no" >&5
4865 $as_echo "no" >&6; }
4869 if test "$FLEX" = ""; then
4870 { { $as_echo "$as_me:$LINENO: error: flex is required to build AROS. Please install and run configure again." >&5
4871 $as_echo "$as_me: error: flex is required to build AROS. Please install and run configure again." >&2;}
4872 { (exit 1); exit 1; }; }
4874 # Extract the first word of "pngtopnm", so it can be a program name with args.
4875 set dummy pngtopnm
; ac_word
=$2
4876 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4877 $as_echo_n "checking for $ac_word... " >&6; }
4878 if test "${ac_cv_prog_PNGTOPNM+set}" = set; then
4879 $as_echo_n "(cached) " >&6
4881 if test -n "$PNGTOPNM"; then
4882 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
4884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4888 test -z "$as_dir" && as_dir
=.
4889 for ac_exec_ext
in '' $ac_executable_extensions; do
4890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4891 ac_cv_prog_PNGTOPNM
="pngtopnm "
4892 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4901 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
4902 if test -n "$PNGTOPNM"; then
4903 { $as_echo "$as_me:$LINENO: result: $PNGTOPNM" >&5
4904 $as_echo "$PNGTOPNM" >&6; }
4906 { $as_echo "$as_me:$LINENO: result: no" >&5
4907 $as_echo "no" >&6; }
4911 if test "$PNGTOPNM" = ""; then
4912 { { $as_echo "$as_me:$LINENO: error: pngtopnm is required to build AROS. Please install and run configure again." >&5
4913 $as_echo "$as_me: error: pngtopnm is required to build AROS. Please install and run configure again." >&2;}
4914 { (exit 1); exit 1; }; }
4916 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
4917 set dummy ppmtoilbm
; ac_word
=$2
4918 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4919 $as_echo_n "checking for $ac_word... " >&6; }
4920 if test "${ac_cv_prog_PPMTOILBM+set}" = set; then
4921 $as_echo_n "(cached) " >&6
4923 if test -n "$PPMTOILBM"; then
4924 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
4926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4930 test -z "$as_dir" && as_dir
=.
4931 for ac_exec_ext
in '' $ac_executable_extensions; do
4932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4933 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
4934 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4943 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
4944 if test -n "$PPMTOILBM"; then
4945 { $as_echo "$as_me:$LINENO: result: $PPMTOILBM" >&5
4946 $as_echo "$PPMTOILBM" >&6; }
4948 { $as_echo "$as_me:$LINENO: result: no" >&5
4949 $as_echo "no" >&6; }
4953 if test "$PPMTOILBM" = ""; then
4954 { { $as_echo "$as_me:$LINENO: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&5
4955 $as_echo "$as_me: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&2;}
4956 { (exit 1); exit 1; }; }
4958 # Extract the first word of "sed", so it can be a program name with args.
4959 set dummy
sed; ac_word
=$2
4960 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4961 $as_echo_n "checking for $ac_word... " >&6; }
4962 if test "${ac_cv_prog_SED+set}" = set; then
4963 $as_echo_n "(cached) " >&6
4965 if test -n "$SED"; then
4966 ac_cv_prog_SED
="$SED" # Let the user override the test.
4968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4972 test -z "$as_dir" && as_dir
=.
4973 for ac_exec_ext
in '' $ac_executable_extensions; do
4974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4975 ac_cv_prog_SED
="sed "
4976 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4986 if test -n "$SED"; then
4987 { $as_echo "$as_me:$LINENO: result: $SED" >&5
4988 $as_echo "$SED" >&6; }
4990 { $as_echo "$as_me:$LINENO: result: no" >&5
4991 $as_echo "no" >&6; }
4995 if test "$SED" = ""; then
4996 { { $as_echo "$as_me:$LINENO: error: sed is required to build AROS. Please install and run configure again." >&5
4997 $as_echo "$as_me: error: sed is required to build AROS. Please install and run configure again." >&2;}
4998 { (exit 1); exit 1; }; }
5000 # Extract the first word of "chmod", so it can be a program name with args.
5001 set dummy
chmod; ac_word
=$2
5002 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5003 $as_echo_n "checking for $ac_word... " >&6; }
5004 if test "${ac_cv_prog_CHMOD+set}" = set; then
5005 $as_echo_n "(cached) " >&6
5007 if test -n "$CHMOD"; then
5008 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5014 test -z "$as_dir" && as_dir
=.
5015 for ac_exec_ext
in '' $ac_executable_extensions; do
5016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5017 ac_cv_prog_CHMOD
="chmod "
5018 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5027 CHMOD
=$ac_cv_prog_CHMOD
5028 if test -n "$CHMOD"; then
5029 { $as_echo "$as_me:$LINENO: result: $CHMOD" >&5
5030 $as_echo "$CHMOD" >&6; }
5032 { $as_echo "$as_me:$LINENO: result: no" >&5
5033 $as_echo "no" >&6; }
5037 if test "$CHMOD" = ""; then
5038 { { $as_echo "$as_me:$LINENO: error: chmod is required to build AROS. Please install and run configure again." >&5
5039 $as_echo "$as_me: error: chmod is required to build AROS. Please install and run configure again." >&2;}
5040 { (exit 1); exit 1; }; }
5047 if test -n "$PYTHON"; then
5048 # If the user set $PYTHON, use it and don't search something else.
5049 { $as_echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.2.1" >&5
5050 $as_echo_n "checking whether $PYTHON version >= 2.2.1... " >&6; }
5051 prog
="import sys, string
5052 # split strings by '.' and convert to numeric. Append some zeros
5053 # because we need at least 4 digits for the hex conversion.
5054 minver = map(int, string.split('2.2.1', '.')) + [0, 0, 0]
5056 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5057 sys.exit(sys.hexversion < minverhex)"
5058 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5059 ($PYTHON -c "$prog") >&5 2>&5
5061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5062 (exit $ac_status); }; then
5063 { $as_echo "$as_me:$LINENO: result: yes" >&5
5064 $as_echo "yes" >&6; }
5066 { { $as_echo "$as_me:$LINENO: error: too old" >&5
5067 $as_echo "$as_me: error: too old" >&2;}
5068 { (exit 1); exit 1; }; }
5071 am_display_PYTHON
=$PYTHON
5073 # Otherwise, try each interpreter until we find one that satisfies
5075 { $as_echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.2.1" >&5
5076 $as_echo_n "checking for a Python interpreter with version >= 2.2.1... " >&6; }
5077 if test "${am_cv_pathless_PYTHON+set}" = set; then
5078 $as_echo_n "(cached) " >&6
5081 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
5082 test "$am_cv_pathless_PYTHON" = none
&& break
5083 prog
="import sys, string
5084 # split strings by '.' and convert to numeric. Append some zeros
5085 # because we need at least 4 digits for the hex conversion.
5086 minver = map(int, string.split('2.2.1', '.')) + [0, 0, 0]
5088 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5089 sys.exit(sys.hexversion < minverhex)"
5090 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5091 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5094 (exit $ac_status); }; then
5100 { $as_echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
5101 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5102 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5103 if test "$am_cv_pathless_PYTHON" = none
; then
5106 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5107 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5108 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5109 $as_echo_n "checking for $ac_word... " >&6; }
5110 if test "${ac_cv_path_PYTHON+set}" = set; then
5111 $as_echo_n "(cached) " >&6
5115 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5122 test -z "$as_dir" && as_dir
=.
5123 for ac_exec_ext
in '' $ac_executable_extensions; do
5124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5125 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5126 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5136 PYTHON
=$ac_cv_path_PYTHON
5137 if test -n "$PYTHON"; then
5138 { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
5139 $as_echo "$PYTHON" >&6; }
5141 { $as_echo "$as_me:$LINENO: result: no" >&5
5142 $as_echo "no" >&6; }
5147 am_display_PYTHON
=$am_cv_pathless_PYTHON
5151 if test "$PYTHON" = :; then
5152 { { $as_echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
5153 $as_echo "$as_me: error: no suitable Python interpreter found" >&2;}
5154 { (exit 1); exit 1; }; }
5158 { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
5159 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5160 if test "${am_cv_python_version+set}" = set; then
5161 $as_echo_n "(cached) " >&6
5163 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
5165 { $as_echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
5166 $as_echo "$am_cv_python_version" >&6; }
5167 PYTHON_VERSION
=$am_cv_python_version
5171 PYTHON_PREFIX
='${prefix}'
5173 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5177 { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
5178 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5179 if test "${am_cv_python_platform+set}" = set; then
5180 $as_echo_n "(cached) " >&6
5182 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
5184 { $as_echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
5185 $as_echo "$am_cv_python_platform" >&6; }
5186 PYTHON_PLATFORM
=$am_cv_python_platform
5191 { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
5192 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5193 if test "${am_cv_python_pythondir+set}" = set; then
5194 $as_echo_n "(cached) " >&6
5196 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5197 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5199 { $as_echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
5200 $as_echo "$am_cv_python_pythondir" >&6; }
5201 pythondir
=$am_cv_python_pythondir
5205 pkgpythondir
=\
${pythondir}/$PACKAGE
5208 { $as_echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
5209 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5210 if test "${am_cv_python_pyexecdir+set}" = set; then
5211 $as_echo_n "(cached) " >&6
5213 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5214 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5216 { $as_echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
5217 $as_echo "$am_cv_python_pyexecdir" >&6; }
5218 pyexecdir
=$am_cv_python_pyexecdir
5222 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5240 # Check for some includes for the X11 HIDD and the kernel
5243 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5244 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5245 if test "${ac_cv_path_GREP+set}" = set; then
5246 $as_echo_n "(cached) " >&6
5248 if test -z "$GREP"; then
5249 ac_path_GREP_found
=false
5250 # Loop through the user's path and test for each of PROGNAME-LIST
5251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5252 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5255 test -z "$as_dir" && as_dir
=.
5256 for ac_prog
in grep ggrep
; do
5257 for ac_exec_ext
in '' $ac_executable_extensions; do
5258 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5259 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5260 # Check for GNU ac_path_GREP and select it if it is found.
5261 # Check for GNU $ac_path_GREP
5262 case `"$ac_path_GREP" --version 2>&1` in
5264 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5267 $as_echo_n 0123456789 >"conftest.in"
5270 cat "conftest.in" "conftest.in" >"conftest.tmp"
5271 mv "conftest.tmp" "conftest.in"
5272 cp "conftest.in" "conftest.nl"
5273 $as_echo 'GREP' >> "conftest.nl"
5274 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5275 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5276 ac_count
=`expr $ac_count + 1`
5277 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5278 # Best one so far, save it but keep looking for a better one
5279 ac_cv_path_GREP
="$ac_path_GREP"
5280 ac_path_GREP_max
=$ac_count
5282 # 10*(2^10) chars as input seems more than enough
5283 test $ac_count -gt 10 && break
5285 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5288 $ac_path_GREP_found && break 3
5293 if test -z "$ac_cv_path_GREP"; then
5294 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5295 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5296 { (exit 1); exit 1; }; }
5299 ac_cv_path_GREP
=$GREP
5303 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5304 $as_echo "$ac_cv_path_GREP" >&6; }
5305 GREP
="$ac_cv_path_GREP"
5308 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
5309 $as_echo_n "checking for egrep... " >&6; }
5310 if test "${ac_cv_path_EGREP+set}" = set; then
5311 $as_echo_n "(cached) " >&6
5313 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5314 then ac_cv_path_EGREP
="$GREP -E"
5316 if test -z "$EGREP"; then
5317 ac_path_EGREP_found
=false
5318 # Loop through the user's path and test for each of PROGNAME-LIST
5319 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5320 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5323 test -z "$as_dir" && as_dir
=.
5324 for ac_prog
in egrep; do
5325 for ac_exec_ext
in '' $ac_executable_extensions; do
5326 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5327 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5328 # Check for GNU ac_path_EGREP and select it if it is found.
5329 # Check for GNU $ac_path_EGREP
5330 case `"$ac_path_EGREP" --version 2>&1` in
5332 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5335 $as_echo_n 0123456789 >"conftest.in"
5338 cat "conftest.in" "conftest.in" >"conftest.tmp"
5339 mv "conftest.tmp" "conftest.in"
5340 cp "conftest.in" "conftest.nl"
5341 $as_echo 'EGREP' >> "conftest.nl"
5342 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5343 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5344 ac_count
=`expr $ac_count + 1`
5345 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5346 # Best one so far, save it but keep looking for a better one
5347 ac_cv_path_EGREP
="$ac_path_EGREP"
5348 ac_path_EGREP_max
=$ac_count
5350 # 10*(2^10) chars as input seems more than enough
5351 test $ac_count -gt 10 && break
5353 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5356 $ac_path_EGREP_found && break 3
5361 if test -z "$ac_cv_path_EGREP"; then
5362 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5363 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5364 { (exit 1); exit 1; }; }
5367 ac_cv_path_EGREP
=$EGREP
5372 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5373 $as_echo "$ac_cv_path_EGREP" >&6; }
5374 EGREP
="$ac_cv_path_EGREP"
5377 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5378 $as_echo_n "checking for ANSI C header files... " >&6; }
5379 if test "${ac_cv_header_stdc+set}" = set; then
5380 $as_echo_n "(cached) " >&6
5382 cat >conftest.
$ac_ext <<_ACEOF
5385 cat confdefs.h
>>conftest.
$ac_ext
5386 cat >>conftest.
$ac_ext <<_ACEOF
5387 /* end confdefs.h. */
5401 rm -f conftest.
$ac_objext
5402 if { (ac_try
="$ac_compile"
5404 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5405 *) ac_try_echo=$ac_try;;
5407 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5408 $as_echo "$ac_try_echo") >&5
5409 (eval "$ac_compile") 2>conftest.er1
5411 grep -v '^ *+' conftest.er1 >conftest.err
5413 cat conftest.err >&5
5414 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5415 (exit $ac_status); } && {
5416 test -z "$ac_c_werror_flag" ||
5417 test ! -s conftest.err
5418 } && test -s conftest.$ac_objext; then
5419 ac_cv_header_stdc=yes
5421 $as_echo "$as_me: failed program was:" >&5
5422 sed 's/^/| /' conftest.$ac_ext >&5
5424 ac_cv_header_stdc=no
5427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5429 if test $ac_cv_header_stdc = yes; then
5430 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5431 cat >conftest.$ac_ext <<_ACEOF
5434 cat confdefs.h >>conftest.$ac_ext
5435 cat >>conftest.$ac_ext <<_ACEOF
5436 /* end confdefs.h. */
5440 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5441 $EGREP "memchr" >/dev/null 2>&1; then
5444 ac_cv_header_stdc=no
5450 if test $ac_cv_header_stdc = yes; then
5451 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5452 cat >conftest.$ac_ext <<_ACEOF
5455 cat confdefs.h >>conftest.$ac_ext
5456 cat >>conftest.$ac_ext <<_ACEOF
5457 /* end confdefs.h. */
5461 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5462 $EGREP "free" >/dev/null 2>&1; then
5465 ac_cv_header_stdc=no
5471 if test $ac_cv_header_stdc = yes; then
5472 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5473 if test "$cross_compiling" = yes; then
5476 cat >conftest.$ac_ext <<_ACEOF
5479 cat confdefs.h >>conftest.$ac_ext
5480 cat >>conftest.$ac_ext <<_ACEOF
5481 /* end confdefs.h. */
5484 #if ((' ' & 0x0FF) == 0x020)
5485 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5486 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5488 # define ISLOWER(c) \
5489 (('a' <= (c) && (c) <= 'i') \
5490 || ('j' <= (c) && (c) <= 'r') \
5491 || ('s' <= (c) && (c) <= 'z'))
5492 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5495 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5500 for (i = 0; i < 256; i++)
5501 if (XOR (islower (i), ISLOWER (i))
5502 || toupper (i) != TOUPPER (i))
5507 rm -f conftest$ac_exeext
5508 if { (ac_try="$ac_link"
5510 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5511 *) ac_try_echo
=$ac_try;;
5513 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5514 $as_echo "$ac_try_echo") >&5
5515 (eval "$ac_link") 2>&5
5517 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5518 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5519 { (case "(($ac_try" in
5520 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5521 *) ac_try_echo=$ac_try;;
5523 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5524 $as_echo "$ac_try_echo") >&5
5525 (eval "$ac_try") 2>&5
5527 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5528 (exit $ac_status); }; }; then
5531 $as_echo "$as_me: program exited with status $ac_status" >&5
5532 $as_echo "$as_me: failed program was:" >&5
5533 sed 's/^/| /' conftest.$ac_ext >&5
5536 ac_cv_header_stdc=no
5538 rm -rf conftest.dSYM
5539 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5545 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5546 $as_echo "$ac_cv_header_stdc" >&6; }
5547 if test $ac_cv_header_stdc = yes; then
5549 cat >>confdefs.h <<\_ACEOF
5550 #define STDC_HEADERS 1
5555 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5565 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5566 inttypes.h stdint.h unistd.h
5568 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5569 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5570 $as_echo_n "checking for $ac_header... " >&6; }
5571 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5572 $as_echo_n "(cached) " >&6
5574 cat >conftest.$ac_ext <<_ACEOF
5577 cat confdefs.h >>conftest.$ac_ext
5578 cat >>conftest.$ac_ext <<_ACEOF
5579 /* end confdefs.h. */
5580 $ac_includes_default
5582 #include <$ac_header>
5584 rm -f conftest.$ac_objext
5585 if { (ac_try="$ac_compile"
5587 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5588 *) ac_try_echo
=$ac_try;;
5590 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5591 $as_echo "$ac_try_echo") >&5
5592 (eval "$ac_compile") 2>conftest.er1
5594 grep -v '^ *+' conftest.er1
>conftest.err
5596 cat conftest.err
>&5
5597 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5598 (exit $ac_status); } && {
5599 test -z "$ac_c_werror_flag" ||
5600 test ! -s conftest.err
5601 } && test -s conftest.
$ac_objext; then
5602 eval "$as_ac_Header=yes"
5604 $as_echo "$as_me: failed program was:" >&5
5605 sed 's/^/| /' conftest.
$ac_ext >&5
5607 eval "$as_ac_Header=no"
5610 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5612 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5613 $as_echo "$as_val"'`
5614 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5615 $as_echo "$ac_res" >&6; }
5616 if test `eval 'as_val=${'$as_ac_Header'}
5617 $as_echo "$as_val"'` = yes; then
5618 cat >>confdefs.h
<<_ACEOF
5619 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5636 for ac_header
in sys
/ipc.h sys
/shm.h \
5637 sys
/mmap.h sys
/mman.h sysexits.h \
5638 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
5641 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5642 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5643 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5644 $as_echo_n "checking for $ac_header... " >&6; }
5645 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5646 $as_echo_n "(cached) " >&6
5648 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5649 $as_echo "$as_val"'`
5650 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5651 $as_echo "$ac_res" >&6; }
5653 # Is the header compilable?
5654 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5655 $as_echo_n "checking $ac_header usability... " >&6; }
5656 cat >conftest.
$ac_ext <<_ACEOF
5659 cat confdefs.h
>>conftest.
$ac_ext
5660 cat >>conftest.
$ac_ext <<_ACEOF
5661 /* end confdefs.h. */
5662 $ac_includes_default
5663 #include <$ac_header>
5665 rm -f conftest.
$ac_objext
5666 if { (ac_try
="$ac_compile"
5668 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5669 *) ac_try_echo=$ac_try;;
5671 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5672 $as_echo "$ac_try_echo") >&5
5673 (eval "$ac_compile") 2>conftest.er1
5675 grep -v '^ *+' conftest.er1 >conftest.err
5677 cat conftest.err >&5
5678 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5679 (exit $ac_status); } && {
5680 test -z "$ac_c_werror_flag" ||
5681 test ! -s conftest.err
5682 } && test -s conftest.$ac_objext; then
5683 ac_header_compiler=yes
5685 $as_echo "$as_me: failed program was:" >&5
5686 sed 's/^/| /' conftest.$ac_ext >&5
5688 ac_header_compiler=no
5691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5692 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5693 $as_echo "$ac_header_compiler" >&6; }
5695 # Is the header present?
5696 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5697 $as_echo_n "checking $ac_header presence... " >&6; }
5698 cat >conftest.$ac_ext <<_ACEOF
5701 cat confdefs.h >>conftest.$ac_ext
5702 cat >>conftest.$ac_ext <<_ACEOF
5703 /* end confdefs.h. */
5704 #include <$ac_header>
5706 if { (ac_try="$ac_cpp conftest.$ac_ext"
5708 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5709 *) ac_try_echo
=$ac_try;;
5711 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5712 $as_echo "$ac_try_echo") >&5
5713 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5715 grep -v '^ *+' conftest.er1
>conftest.err
5717 cat conftest.err
>&5
5718 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5719 (exit $ac_status); } >/dev
/null
&& {
5720 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5721 test ! -s conftest.err
5723 ac_header_preproc
=yes
5725 $as_echo "$as_me: failed program was:" >&5
5726 sed 's/^/| /' conftest.
$ac_ext >&5
5728 ac_header_preproc
=no
5731 rm -f conftest.err conftest.
$ac_ext
5732 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5733 $as_echo "$ac_header_preproc" >&6; }
5735 # So? What about this header?
5736 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5738 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5739 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5740 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5741 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5742 ac_header_preproc
=yes
5745 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5746 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5747 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5748 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5749 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5750 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5751 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5752 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5753 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5754 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5755 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5756 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5760 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5761 $as_echo_n "checking for $ac_header... " >&6; }
5762 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5763 $as_echo_n "(cached) " >&6
5765 eval "$as_ac_Header=\$ac_header_preproc"
5767 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5768 $as_echo "$as_val"'`
5769 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5770 $as_echo "$ac_res" >&6; }
5773 if test `eval 'as_val=${'$as_ac_Header'}
5774 $as_echo "$as_val"'` = yes; then
5775 cat >>confdefs.h
<<_ACEOF
5776 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5785 for ac_header
in sys
/mount.h
5787 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5788 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5789 $as_echo_n "checking for $ac_header... " >&6; }
5790 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5791 $as_echo_n "(cached) " >&6
5793 cat >conftest.
$ac_ext <<_ACEOF
5796 cat confdefs.h
>>conftest.
$ac_ext
5797 cat >>conftest.
$ac_ext <<_ACEOF
5798 /* end confdefs.h. */
5799 #include <sys/param.h>
5801 #include <$ac_header>
5803 rm -f conftest.
$ac_objext
5804 if { (ac_try
="$ac_compile"
5806 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5807 *) ac_try_echo=$ac_try;;
5809 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5810 $as_echo "$ac_try_echo") >&5
5811 (eval "$ac_compile") 2>conftest.er1
5813 grep -v '^ *+' conftest.er1 >conftest.err
5815 cat conftest.err >&5
5816 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5817 (exit $ac_status); } && {
5818 test -z "$ac_c_werror_flag" ||
5819 test ! -s conftest.err
5820 } && test -s conftest.$ac_objext; then
5821 eval "$as_ac_Header=yes"
5823 $as_echo "$as_me: failed program was:" >&5
5824 sed 's/^/| /' conftest.$ac_ext >&5
5826 eval "$as_ac_Header=no"
5829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5831 ac_res=`eval 'as_val=${'$as_ac_Header'}
5832 $as_echo "$as_val"'`
5833 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5834 $as_echo "$ac_res" >&6; }
5835 if test `eval 'as_val=${'$as_ac_Header'}
5836 $as_echo "$as_val"'` = yes; then
5837 cat >>confdefs.h <<_ACEOF
5838 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5852 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
5853 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
5854 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
5855 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
5856 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5857 $as_echo_n "(cached) " >&6
5859 cat >conftest.$ac_ext <<_ACEOF
5862 cat confdefs.h >>conftest.$ac_ext
5863 cat >>conftest.$ac_ext <<_ACEOF
5864 /* end confdefs.h. */
5865 #include <sys/types.h>
5877 rm -f conftest.$ac_objext
5878 if { (ac_try="$ac_compile"
5880 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5881 *) ac_try_echo
=$ac_try;;
5883 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5884 $as_echo "$ac_try_echo") >&5
5885 (eval "$ac_compile") 2>conftest.er1
5887 grep -v '^ *+' conftest.er1
>conftest.err
5889 cat conftest.err
>&5
5890 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5891 (exit $ac_status); } && {
5892 test -z "$ac_c_werror_flag" ||
5893 test ! -s conftest.err
5894 } && test -s conftest.
$ac_objext; then
5895 eval "$as_ac_Header=yes"
5897 $as_echo "$as_me: failed program was:" >&5
5898 sed 's/^/| /' conftest.
$ac_ext >&5
5900 eval "$as_ac_Header=no"
5903 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5905 ac_res
=`eval 'as_val=${'$as_ac_Header'}
5906 $as_echo "$as_val"'`
5907 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5908 $as_echo "$ac_res" >&6; }
5909 if test `eval 'as_val=${'$as_ac_Header'}
5910 $as_echo "$as_val"'` = yes; then
5911 cat >>confdefs.h
<<_ACEOF
5912 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5915 ac_header_dirent
=$ac_hdr; break
5919 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5920 if test $ac_header_dirent = dirent.h
; then
5921 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
5922 $as_echo_n "checking for library containing opendir... " >&6; }
5923 if test "${ac_cv_search_opendir+set}" = set; then
5924 $as_echo_n "(cached) " >&6
5926 ac_func_search_save_LIBS
=$LIBS
5927 cat >conftest.
$ac_ext <<_ACEOF
5930 cat confdefs.h
>>conftest.
$ac_ext
5931 cat >>conftest.
$ac_ext <<_ACEOF
5932 /* end confdefs.h. */
5934 /* Override any GCC internal prototype to avoid an error.
5935 Use char because int might match the return type of a GCC
5936 builtin and then its argument prototype would still apply. */
5949 for ac_lib
in '' dir
; do
5950 if test -z "$ac_lib"; then
5951 ac_res
="none required"
5954 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5956 rm -f conftest.
$ac_objext conftest
$ac_exeext
5957 if { (ac_try
="$ac_link"
5959 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5960 *) ac_try_echo=$ac_try;;
5962 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5963 $as_echo "$ac_try_echo") >&5
5964 (eval "$ac_link") 2>conftest.er1
5966 grep -v '^ *+' conftest.er1 >conftest.err
5968 cat conftest.err >&5
5969 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5970 (exit $ac_status); } && {
5971 test -z "$ac_c_werror_flag" ||
5972 test ! -s conftest.err
5973 } && test -s conftest$ac_exeext && {
5974 test "$cross_compiling" = yes ||
5975 $as_test_x conftest$ac_exeext
5977 ac_cv_search_opendir=$ac_res
5979 $as_echo "$as_me: failed program was:" >&5
5980 sed 's/^/| /' conftest.$ac_ext >&5
5985 rm -rf conftest.dSYM
5986 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5988 if test "${ac_cv_search_opendir+set}" = set; then
5992 if test "${ac_cv_search_opendir+set}" = set; then
5995 ac_cv_search_opendir=no
5998 LIBS=$ac_func_search_save_LIBS
6000 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6001 $as_echo "$ac_cv_search_opendir" >&6; }
6002 ac_res=$ac_cv_search_opendir
6003 if test "$ac_res" != no; then
6004 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
6009 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
6010 $as_echo_n "checking for library containing opendir... " >&6; }
6011 if test "${ac_cv_search_opendir+set}" = set; then
6012 $as_echo_n "(cached) " >&6
6014 ac_func_search_save_LIBS=$LIBS
6015 cat >conftest.$ac_ext <<_ACEOF
6018 cat confdefs.h >>conftest.$ac_ext
6019 cat >>conftest.$ac_ext <<_ACEOF
6020 /* end confdefs.h. */
6022 /* Override any GCC internal prototype to avoid an error.
6023 Use char because int might match the return type of a GCC
6024 builtin and then its argument prototype would still apply. */
6037 for ac_lib in '' x; do
6038 if test -z "$ac_lib"; then
6039 ac_res="none required"
6042 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6044 rm -f conftest.$ac_objext conftest$ac_exeext
6045 if { (ac_try="$ac_link"
6047 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6048 *) ac_try_echo
=$ac_try;;
6050 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6051 $as_echo "$ac_try_echo") >&5
6052 (eval "$ac_link") 2>conftest.er1
6054 grep -v '^ *+' conftest.er1
>conftest.err
6056 cat conftest.err
>&5
6057 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6058 (exit $ac_status); } && {
6059 test -z "$ac_c_werror_flag" ||
6060 test ! -s conftest.err
6061 } && test -s conftest
$ac_exeext && {
6062 test "$cross_compiling" = yes ||
6063 $as_test_x conftest
$ac_exeext
6065 ac_cv_search_opendir
=$ac_res
6067 $as_echo "$as_me: failed program was:" >&5
6068 sed 's/^/| /' conftest.
$ac_ext >&5
6073 rm -rf conftest.dSYM
6074 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6076 if test "${ac_cv_search_opendir+set}" = set; then
6080 if test "${ac_cv_search_opendir+set}" = set; then
6083 ac_cv_search_opendir
=no
6086 LIBS
=$ac_func_search_save_LIBS
6088 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6089 $as_echo "$ac_cv_search_opendir" >&6; }
6090 ac_res
=$ac_cv_search_opendir
6091 if test "$ac_res" != no
; then
6092 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6098 { $as_echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
6099 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
6100 if test "${ac_cv_header_stat_broken+set}" = set; then
6101 $as_echo_n "(cached) " >&6
6103 cat >conftest.
$ac_ext <<_ACEOF
6106 cat confdefs.h
>>conftest.
$ac_ext
6107 cat >>conftest.
$ac_ext <<_ACEOF
6108 /* end confdefs.h. */
6109 #include <sys/types.h>
6110 #include <sys/stat.h>
6112 #if defined S_ISBLK && defined S_IFDIR
6113 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6116 #if defined S_ISBLK && defined S_IFCHR
6117 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6120 #if defined S_ISLNK && defined S_IFREG
6121 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6124 #if defined S_ISSOCK && defined S_IFREG
6125 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6129 rm -f conftest.
$ac_objext
6130 if { (ac_try
="$ac_compile"
6132 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6133 *) ac_try_echo=$ac_try;;
6135 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6136 $as_echo "$ac_try_echo") >&5
6137 (eval "$ac_compile") 2>conftest.er1
6139 grep -v '^ *+' conftest.er1 >conftest.err
6141 cat conftest.err >&5
6142 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6143 (exit $ac_status); } && {
6144 test -z "$ac_c_werror_flag" ||
6145 test ! -s conftest.err
6146 } && test -s conftest.$ac_objext; then
6147 ac_cv_header_stat_broken=no
6149 $as_echo "$as_me: failed program was:" >&5
6150 sed 's/^/| /' conftest.$ac_ext >&5
6152 ac_cv_header_stat_broken=yes
6155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6157 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
6158 $as_echo "$ac_cv_header_stat_broken" >&6; }
6159 if test $ac_cv_header_stat_broken = yes; then
6161 cat >>confdefs.h <<\_ACEOF
6162 #define STAT_MACROS_BROKEN 1
6167 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6168 $as_echo_n "checking for ANSI C header files... " >&6; }
6169 if test "${ac_cv_header_stdc+set}" = set; then
6170 $as_echo_n "(cached) " >&6
6172 cat >conftest.$ac_ext <<_ACEOF
6175 cat confdefs.h >>conftest.$ac_ext
6176 cat >>conftest.$ac_ext <<_ACEOF
6177 /* end confdefs.h. */
6191 rm -f conftest.$ac_objext
6192 if { (ac_try="$ac_compile"
6194 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6195 *) ac_try_echo
=$ac_try;;
6197 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6198 $as_echo "$ac_try_echo") >&5
6199 (eval "$ac_compile") 2>conftest.er1
6201 grep -v '^ *+' conftest.er1
>conftest.err
6203 cat conftest.err
>&5
6204 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6205 (exit $ac_status); } && {
6206 test -z "$ac_c_werror_flag" ||
6207 test ! -s conftest.err
6208 } && test -s conftest.
$ac_objext; then
6209 ac_cv_header_stdc
=yes
6211 $as_echo "$as_me: failed program was:" >&5
6212 sed 's/^/| /' conftest.
$ac_ext >&5
6214 ac_cv_header_stdc
=no
6217 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6219 if test $ac_cv_header_stdc = yes; then
6220 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6221 cat >conftest.
$ac_ext <<_ACEOF
6224 cat confdefs.h
>>conftest.
$ac_ext
6225 cat >>conftest.
$ac_ext <<_ACEOF
6226 /* end confdefs.h. */
6230 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6231 $EGREP "memchr" >/dev
/null
2>&1; then
6234 ac_cv_header_stdc
=no
6240 if test $ac_cv_header_stdc = yes; then
6241 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6242 cat >conftest.
$ac_ext <<_ACEOF
6245 cat confdefs.h
>>conftest.
$ac_ext
6246 cat >>conftest.
$ac_ext <<_ACEOF
6247 /* end confdefs.h. */
6251 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6252 $EGREP "free" >/dev
/null
2>&1; then
6255 ac_cv_header_stdc
=no
6261 if test $ac_cv_header_stdc = yes; then
6262 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6263 if test "$cross_compiling" = yes; then
6266 cat >conftest.
$ac_ext <<_ACEOF
6269 cat confdefs.h
>>conftest.
$ac_ext
6270 cat >>conftest.
$ac_ext <<_ACEOF
6271 /* end confdefs.h. */
6274 #if ((' ' & 0x0FF) == 0x020)
6275 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6276 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6278 # define ISLOWER(c) \
6279 (('a' <= (c) && (c) <= 'i') \
6280 || ('j' <= (c) && (c) <= 'r') \
6281 || ('s' <= (c) && (c) <= 'z'))
6282 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6285 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6290 for (i = 0; i < 256; i++)
6291 if (XOR (islower (i), ISLOWER (i))
6292 || toupper (i) != TOUPPER (i))
6297 rm -f conftest
$ac_exeext
6298 if { (ac_try
="$ac_link"
6300 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6301 *) ac_try_echo=$ac_try;;
6303 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6304 $as_echo "$ac_try_echo") >&5
6305 (eval "$ac_link") 2>&5
6307 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6308 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6309 { (case "(($ac_try" in
6310 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6311 *) ac_try_echo
=$ac_try;;
6313 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6314 $as_echo "$ac_try_echo") >&5
6315 (eval "$ac_try") 2>&5
6317 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6318 (exit $ac_status); }; }; then
6321 $as_echo "$as_me: program exited with status $ac_status" >&5
6322 $as_echo "$as_me: failed program was:" >&5
6323 sed 's/^/| /' conftest.
$ac_ext >&5
6326 ac_cv_header_stdc
=no
6328 rm -rf conftest.dSYM
6329 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6335 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6336 $as_echo "$ac_cv_header_stdc" >&6; }
6337 if test $ac_cv_header_stdc = yes; then
6339 cat >>confdefs.h
<<\_ACEOF
6340 #define STDC_HEADERS 1
6345 { $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
6346 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6347 if test "${ac_cv_header_sys_wait_h+set}" = set; then
6348 $as_echo_n "(cached) " >&6
6350 cat >conftest.
$ac_ext <<_ACEOF
6353 cat confdefs.h
>>conftest.
$ac_ext
6354 cat >>conftest.
$ac_ext <<_ACEOF
6355 /* end confdefs.h. */
6356 #include <sys/types.h>
6357 #include <sys/wait.h>
6359 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6362 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6370 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6375 rm -f conftest.
$ac_objext
6376 if { (ac_try
="$ac_compile"
6378 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6379 *) ac_try_echo=$ac_try;;
6381 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6382 $as_echo "$ac_try_echo") >&5
6383 (eval "$ac_compile") 2>conftest.er1
6385 grep -v '^ *+' conftest.er1 >conftest.err
6387 cat conftest.err >&5
6388 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6389 (exit $ac_status); } && {
6390 test -z "$ac_c_werror_flag" ||
6391 test ! -s conftest.err
6392 } && test -s conftest.$ac_objext; then
6393 ac_cv_header_sys_wait_h=yes
6395 $as_echo "$as_me: failed program was:" >&5
6396 sed 's/^/| /' conftest.$ac_ext >&5
6398 ac_cv_header_sys_wait_h=no
6401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6403 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
6404 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6405 if test $ac_cv_header_sys_wait_h = yes; then
6407 cat >>confdefs.h <<\_ACEOF
6408 #define HAVE_SYS_WAIT_H 1
6413 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6414 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6415 if test "${ac_cv_header_time+set}" = set; then
6416 $as_echo_n "(cached) " >&6
6418 cat >conftest.$ac_ext <<_ACEOF
6421 cat confdefs.h >>conftest.$ac_ext
6422 cat >>conftest.$ac_ext <<_ACEOF
6423 /* end confdefs.h. */
6424 #include <sys/types.h>
6425 #include <sys/time.h>
6431 if ((struct tm *) 0)
6437 rm -f conftest.$ac_objext
6438 if { (ac_try="$ac_compile"
6440 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6441 *) ac_try_echo
=$ac_try;;
6443 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6444 $as_echo "$ac_try_echo") >&5
6445 (eval "$ac_compile") 2>conftest.er1
6447 grep -v '^ *+' conftest.er1
>conftest.err
6449 cat conftest.err
>&5
6450 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6451 (exit $ac_status); } && {
6452 test -z "$ac_c_werror_flag" ||
6453 test ! -s conftest.err
6454 } && test -s conftest.
$ac_objext; then
6455 ac_cv_header_time
=yes
6457 $as_echo "$as_me: failed program was:" >&5
6458 sed 's/^/| /' conftest.
$ac_ext >&5
6460 ac_cv_header_time
=no
6463 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6465 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6466 $as_echo "$ac_cv_header_time" >&6; }
6467 if test $ac_cv_header_time = yes; then
6469 cat >>confdefs.h
<<\_ACEOF
6470 #define TIME_WITH_SYS_TIME 1
6475 { $as_echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6476 $as_echo_n "checking for struct stat.st_blksize... " >&6; }
6477 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6478 $as_echo_n "(cached) " >&6
6480 cat >conftest.
$ac_ext <<_ACEOF
6483 cat confdefs.h
>>conftest.
$ac_ext
6484 cat >>conftest.
$ac_ext <<_ACEOF
6485 /* end confdefs.h. */
6486 $ac_includes_default
6490 static struct stat ac_aggr;
6491 if (ac_aggr.st_blksize)
6497 rm -f conftest.
$ac_objext
6498 if { (ac_try
="$ac_compile"
6500 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6501 *) ac_try_echo=$ac_try;;
6503 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6504 $as_echo "$ac_try_echo") >&5
6505 (eval "$ac_compile") 2>conftest.er1
6507 grep -v '^ *+' conftest.er1 >conftest.err
6509 cat conftest.err >&5
6510 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6511 (exit $ac_status); } && {
6512 test -z "$ac_c_werror_flag" ||
6513 test ! -s conftest.err
6514 } && test -s conftest.$ac_objext; then
6515 ac_cv_member_struct_stat_st_blksize=yes
6517 $as_echo "$as_me: failed program was:" >&5
6518 sed 's/^/| /' conftest.$ac_ext >&5
6520 cat >conftest.$ac_ext <<_ACEOF
6523 cat confdefs.h >>conftest.$ac_ext
6524 cat >>conftest.$ac_ext <<_ACEOF
6525 /* end confdefs.h. */
6526 $ac_includes_default
6530 static struct stat ac_aggr;
6531 if (sizeof ac_aggr.st_blksize)
6537 rm -f conftest.$ac_objext
6538 if { (ac_try="$ac_compile"
6540 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6541 *) ac_try_echo
=$ac_try;;
6543 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6544 $as_echo "$ac_try_echo") >&5
6545 (eval "$ac_compile") 2>conftest.er1
6547 grep -v '^ *+' conftest.er1
>conftest.err
6549 cat conftest.err
>&5
6550 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6551 (exit $ac_status); } && {
6552 test -z "$ac_c_werror_flag" ||
6553 test ! -s conftest.err
6554 } && test -s conftest.
$ac_objext; then
6555 ac_cv_member_struct_stat_st_blksize
=yes
6557 $as_echo "$as_me: failed program was:" >&5
6558 sed 's/^/| /' conftest.
$ac_ext >&5
6560 ac_cv_member_struct_stat_st_blksize
=no
6563 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6566 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6568 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
6569 $as_echo "$ac_cv_member_struct_stat_st_blksize" >&6; }
6570 if test $ac_cv_member_struct_stat_st_blksize = yes; then
6572 cat >>confdefs.h
<<_ACEOF
6573 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6577 cat >>confdefs.h
<<\_ACEOF
6578 #define HAVE_ST_BLKSIZE 1
6584 { $as_echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
6585 $as_echo_n "checking for struct stat.st_blocks... " >&6; }
6586 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
6587 $as_echo_n "(cached) " >&6
6589 cat >conftest.
$ac_ext <<_ACEOF
6592 cat confdefs.h
>>conftest.
$ac_ext
6593 cat >>conftest.
$ac_ext <<_ACEOF
6594 /* end confdefs.h. */
6595 $ac_includes_default
6599 static struct stat ac_aggr;
6600 if (ac_aggr.st_blocks)
6606 rm -f conftest.
$ac_objext
6607 if { (ac_try
="$ac_compile"
6609 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6610 *) ac_try_echo=$ac_try;;
6612 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6613 $as_echo "$ac_try_echo") >&5
6614 (eval "$ac_compile") 2>conftest.er1
6616 grep -v '^ *+' conftest.er1 >conftest.err
6618 cat conftest.err >&5
6619 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6620 (exit $ac_status); } && {
6621 test -z "$ac_c_werror_flag" ||
6622 test ! -s conftest.err
6623 } && test -s conftest.$ac_objext; then
6624 ac_cv_member_struct_stat_st_blocks=yes
6626 $as_echo "$as_me: failed program was:" >&5
6627 sed 's/^/| /' conftest.$ac_ext >&5
6629 cat >conftest.$ac_ext <<_ACEOF
6632 cat confdefs.h >>conftest.$ac_ext
6633 cat >>conftest.$ac_ext <<_ACEOF
6634 /* end confdefs.h. */
6635 $ac_includes_default
6639 static struct stat ac_aggr;
6640 if (sizeof ac_aggr.st_blocks)
6646 rm -f conftest.$ac_objext
6647 if { (ac_try="$ac_compile"
6649 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6650 *) ac_try_echo
=$ac_try;;
6652 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6653 $as_echo "$ac_try_echo") >&5
6654 (eval "$ac_compile") 2>conftest.er1
6656 grep -v '^ *+' conftest.er1
>conftest.err
6658 cat conftest.err
>&5
6659 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6660 (exit $ac_status); } && {
6661 test -z "$ac_c_werror_flag" ||
6662 test ! -s conftest.err
6663 } && test -s conftest.
$ac_objext; then
6664 ac_cv_member_struct_stat_st_blocks
=yes
6666 $as_echo "$as_me: failed program was:" >&5
6667 sed 's/^/| /' conftest.
$ac_ext >&5
6669 ac_cv_member_struct_stat_st_blocks
=no
6672 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6675 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6677 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
6678 $as_echo "$ac_cv_member_struct_stat_st_blocks" >&6; }
6679 if test $ac_cv_member_struct_stat_st_blocks = yes; then
6681 cat >>confdefs.h
<<_ACEOF
6682 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6686 cat >>confdefs.h
<<\_ACEOF
6687 #define HAVE_ST_BLOCKS 1
6691 case " $LIBOBJS " in
6692 *" fileblocks.$ac_objext "* ) ;;
6693 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6700 { $as_echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6701 $as_echo_n "checking for struct stat.st_rdev... " >&6; }
6702 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6703 $as_echo_n "(cached) " >&6
6705 cat >conftest.
$ac_ext <<_ACEOF
6708 cat confdefs.h
>>conftest.
$ac_ext
6709 cat >>conftest.
$ac_ext <<_ACEOF
6710 /* end confdefs.h. */
6711 $ac_includes_default
6715 static struct stat ac_aggr;
6716 if (ac_aggr.st_rdev)
6722 rm -f conftest.
$ac_objext
6723 if { (ac_try
="$ac_compile"
6725 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6726 *) ac_try_echo=$ac_try;;
6728 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6729 $as_echo "$ac_try_echo") >&5
6730 (eval "$ac_compile") 2>conftest.er1
6732 grep -v '^ *+' conftest.er1 >conftest.err
6734 cat conftest.err >&5
6735 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6736 (exit $ac_status); } && {
6737 test -z "$ac_c_werror_flag" ||
6738 test ! -s conftest.err
6739 } && test -s conftest.$ac_objext; then
6740 ac_cv_member_struct_stat_st_rdev=yes
6742 $as_echo "$as_me: failed program was:" >&5
6743 sed 's/^/| /' conftest.$ac_ext >&5
6745 cat >conftest.$ac_ext <<_ACEOF
6748 cat confdefs.h >>conftest.$ac_ext
6749 cat >>conftest.$ac_ext <<_ACEOF
6750 /* end confdefs.h. */
6751 $ac_includes_default
6755 static struct stat ac_aggr;
6756 if (sizeof ac_aggr.st_rdev)
6762 rm -f conftest.$ac_objext
6763 if { (ac_try="$ac_compile"
6765 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6766 *) ac_try_echo
=$ac_try;;
6768 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6769 $as_echo "$ac_try_echo") >&5
6770 (eval "$ac_compile") 2>conftest.er1
6772 grep -v '^ *+' conftest.er1
>conftest.err
6774 cat conftest.err
>&5
6775 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6776 (exit $ac_status); } && {
6777 test -z "$ac_c_werror_flag" ||
6778 test ! -s conftest.err
6779 } && test -s conftest.
$ac_objext; then
6780 ac_cv_member_struct_stat_st_rdev
=yes
6782 $as_echo "$as_me: failed program was:" >&5
6783 sed 's/^/| /' conftest.
$ac_ext >&5
6785 ac_cv_member_struct_stat_st_rdev
=no
6788 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6791 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6793 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
6794 $as_echo "$ac_cv_member_struct_stat_st_rdev" >&6; }
6795 if test $ac_cv_member_struct_stat_st_rdev = yes; then
6797 cat >>confdefs.h
<<_ACEOF
6798 #define HAVE_STRUCT_STAT_ST_RDEV 1
6802 cat >>confdefs.h
<<\_ACEOF
6803 #define HAVE_ST_RDEV 1
6809 { $as_echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6810 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6811 if test "${ac_cv_struct_tm+set}" = set; then
6812 $as_echo_n "(cached) " >&6
6814 cat >conftest.
$ac_ext <<_ACEOF
6817 cat confdefs.h
>>conftest.
$ac_ext
6818 cat >>conftest.
$ac_ext <<_ACEOF
6819 /* end confdefs.h. */
6820 #include <sys/types.h>
6827 int *p = &tm.tm_sec;
6833 rm -f conftest.
$ac_objext
6834 if { (ac_try
="$ac_compile"
6836 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6837 *) ac_try_echo=$ac_try;;
6839 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6840 $as_echo "$ac_try_echo") >&5
6841 (eval "$ac_compile") 2>conftest.er1
6843 grep -v '^ *+' conftest.er1 >conftest.err
6845 cat conftest.err >&5
6846 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6847 (exit $ac_status); } && {
6848 test -z "$ac_c_werror_flag" ||
6849 test ! -s conftest.err
6850 } && test -s conftest.$ac_objext; then
6851 ac_cv_struct_tm=time.h
6853 $as_echo "$as_me: failed program was:" >&5
6854 sed 's/^/| /' conftest.$ac_ext >&5
6856 ac_cv_struct_tm=sys/time.h
6859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6861 { $as_echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6862 $as_echo "$ac_cv_struct_tm" >&6; }
6863 if test $ac_cv_struct_tm = sys/time.h; then
6865 cat >>confdefs.h <<\_ACEOF
6866 #define TM_IN_SYS_TIME 1
6871 { $as_echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
6872 $as_echo_n "checking for struct tm.tm_zone... " >&6; }
6873 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
6874 $as_echo_n "(cached) " >&6
6876 cat >conftest.$ac_ext <<_ACEOF
6879 cat confdefs.h >>conftest.$ac_ext
6880 cat >>conftest.$ac_ext <<_ACEOF
6881 /* end confdefs.h. */
6882 #include <sys/types.h>
6883 #include <$ac_cv_struct_tm>
6889 static struct tm ac_aggr;
6890 if (ac_aggr.tm_zone)
6896 rm -f conftest.$ac_objext
6897 if { (ac_try="$ac_compile"
6899 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6900 *) ac_try_echo
=$ac_try;;
6902 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6903 $as_echo "$ac_try_echo") >&5
6904 (eval "$ac_compile") 2>conftest.er1
6906 grep -v '^ *+' conftest.er1
>conftest.err
6908 cat conftest.err
>&5
6909 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6910 (exit $ac_status); } && {
6911 test -z "$ac_c_werror_flag" ||
6912 test ! -s conftest.err
6913 } && test -s conftest.
$ac_objext; then
6914 ac_cv_member_struct_tm_tm_zone
=yes
6916 $as_echo "$as_me: failed program was:" >&5
6917 sed 's/^/| /' conftest.
$ac_ext >&5
6919 cat >conftest.
$ac_ext <<_ACEOF
6922 cat confdefs.h
>>conftest.
$ac_ext
6923 cat >>conftest.
$ac_ext <<_ACEOF
6924 /* end confdefs.h. */
6925 #include <sys/types.h>
6926 #include <$ac_cv_struct_tm>
6932 static struct tm ac_aggr;
6933 if (sizeof ac_aggr.tm_zone)
6939 rm -f conftest.
$ac_objext
6940 if { (ac_try
="$ac_compile"
6942 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6943 *) ac_try_echo=$ac_try;;
6945 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6946 $as_echo "$ac_try_echo") >&5
6947 (eval "$ac_compile") 2>conftest.er1
6949 grep -v '^ *+' conftest.er1 >conftest.err
6951 cat conftest.err >&5
6952 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6953 (exit $ac_status); } && {
6954 test -z "$ac_c_werror_flag" ||
6955 test ! -s conftest.err
6956 } && test -s conftest.$ac_objext; then
6957 ac_cv_member_struct_tm_tm_zone=yes
6959 $as_echo "$as_me: failed program was:" >&5
6960 sed 's/^/| /' conftest.$ac_ext >&5
6962 ac_cv_member_struct_tm_tm_zone=no
6965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6970 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
6971 $as_echo "$ac_cv_member_struct_tm_tm_zone" >&6; }
6972 if test $ac_cv_member_struct_tm_tm_zone = yes; then
6974 cat >>confdefs.h <<_ACEOF
6975 #define HAVE_STRUCT_TM_TM_ZONE 1
6981 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6983 cat >>confdefs.h <<\_ACEOF
6984 #define HAVE_TM_ZONE 1
6988 { $as_echo "$as_me:$LINENO: checking whether tzname is declared" >&5
6989 $as_echo_n "checking whether tzname is declared... " >&6; }
6990 if test "${ac_cv_have_decl_tzname+set}" = set; then
6991 $as_echo_n "(cached) " >&6
6993 cat >conftest.$ac_ext <<_ACEOF
6996 cat confdefs.h >>conftest.$ac_ext
6997 cat >>conftest.$ac_ext <<_ACEOF
6998 /* end confdefs.h. */
7012 rm -f conftest.$ac_objext
7013 if { (ac_try="$ac_compile"
7015 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7016 *) ac_try_echo
=$ac_try;;
7018 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7019 $as_echo "$ac_try_echo") >&5
7020 (eval "$ac_compile") 2>conftest.er1
7022 grep -v '^ *+' conftest.er1
>conftest.err
7024 cat conftest.err
>&5
7025 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7026 (exit $ac_status); } && {
7027 test -z "$ac_c_werror_flag" ||
7028 test ! -s conftest.err
7029 } && test -s conftest.
$ac_objext; then
7030 ac_cv_have_decl_tzname
=yes
7032 $as_echo "$as_me: failed program was:" >&5
7033 sed 's/^/| /' conftest.
$ac_ext >&5
7035 ac_cv_have_decl_tzname
=no
7038 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7040 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5
7041 $as_echo "$ac_cv_have_decl_tzname" >&6; }
7042 if test $ac_cv_have_decl_tzname = yes; then
7044 cat >>confdefs.h
<<_ACEOF
7045 #define HAVE_DECL_TZNAME 1
7050 cat >>confdefs.h
<<_ACEOF
7051 #define HAVE_DECL_TZNAME 0
7058 { $as_echo "$as_me:$LINENO: checking for tzname" >&5
7059 $as_echo_n "checking for tzname... " >&6; }
7060 if test "${ac_cv_var_tzname+set}" = set; then
7061 $as_echo_n "(cached) " >&6
7063 cat >conftest.
$ac_ext <<_ACEOF
7066 cat confdefs.h
>>conftest.
$ac_ext
7067 cat >>conftest.
$ac_ext <<_ACEOF
7068 /* end confdefs.h. */
7070 #if !HAVE_DECL_TZNAME
7071 extern char *tzname[];
7077 return tzname[0][0];
7082 rm -f conftest.
$ac_objext conftest
$ac_exeext
7083 if { (ac_try
="$ac_link"
7085 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7086 *) ac_try_echo=$ac_try;;
7088 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7089 $as_echo "$ac_try_echo") >&5
7090 (eval "$ac_link") 2>conftest.er1
7092 grep -v '^ *+' conftest.er1 >conftest.err
7094 cat conftest.err >&5
7095 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7096 (exit $ac_status); } && {
7097 test -z "$ac_c_werror_flag" ||
7098 test ! -s conftest.err
7099 } && test -s conftest$ac_exeext && {
7100 test "$cross_compiling" = yes ||
7101 $as_test_x conftest$ac_exeext
7103 ac_cv_var_tzname=yes
7105 $as_echo "$as_me: failed program was:" >&5
7106 sed 's/^/| /' conftest.$ac_ext >&5
7111 rm -rf conftest.dSYM
7112 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7113 conftest$ac_exeext conftest.$ac_ext
7115 { $as_echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
7116 $as_echo "$ac_cv_var_tzname" >&6; }
7117 if test $ac_cv_var_tzname = yes; then
7119 cat >>confdefs.h <<\_ACEOF
7120 #define HAVE_TZNAME 1
7126 { $as_echo "$as_me:$LINENO: checking for off_t" >&5
7127 $as_echo_n "checking for off_t... " >&6; }
7128 if test "${ac_cv_type_off_t+set}" = set; then
7129 $as_echo_n "(cached) " >&6
7132 cat >conftest.$ac_ext <<_ACEOF
7135 cat confdefs.h >>conftest.$ac_ext
7136 cat >>conftest.$ac_ext <<_ACEOF
7137 /* end confdefs.h. */
7138 $ac_includes_default
7148 rm -f conftest.$ac_objext
7149 if { (ac_try="$ac_compile"
7151 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7152 *) ac_try_echo
=$ac_try;;
7154 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7155 $as_echo "$ac_try_echo") >&5
7156 (eval "$ac_compile") 2>conftest.er1
7158 grep -v '^ *+' conftest.er1
>conftest.err
7160 cat conftest.err
>&5
7161 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7162 (exit $ac_status); } && {
7163 test -z "$ac_c_werror_flag" ||
7164 test ! -s conftest.err
7165 } && test -s conftest.
$ac_objext; then
7166 cat >conftest.
$ac_ext <<_ACEOF
7169 cat confdefs.h
>>conftest.
$ac_ext
7170 cat >>conftest.
$ac_ext <<_ACEOF
7171 /* end confdefs.h. */
7172 $ac_includes_default
7176 if (sizeof ((off_t)))
7182 rm -f conftest.
$ac_objext
7183 if { (ac_try
="$ac_compile"
7185 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7186 *) ac_try_echo=$ac_try;;
7188 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7189 $as_echo "$ac_try_echo") >&5
7190 (eval "$ac_compile") 2>conftest.er1
7192 grep -v '^ *+' conftest.er1 >conftest.err
7194 cat conftest.err >&5
7195 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7196 (exit $ac_status); } && {
7197 test -z "$ac_c_werror_flag" ||
7198 test ! -s conftest.err
7199 } && test -s conftest.$ac_objext; then
7202 $as_echo "$as_me: failed program was:" >&5
7203 sed 's/^/| /' conftest.$ac_ext >&5
7205 ac_cv_type_off_t=yes
7208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7210 $as_echo "$as_me: failed program was:" >&5
7211 sed 's/^/| /' conftest.$ac_ext >&5
7216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7218 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
7219 $as_echo "$ac_cv_type_off_t" >&6; }
7220 if test $ac_cv_type_off_t = yes; then
7224 cat >>confdefs.h <<_ACEOF
7225 #define off_t long int
7230 { $as_echo "$as_me:$LINENO: checking for pid_t" >&5
7231 $as_echo_n "checking for pid_t... " >&6; }
7232 if test "${ac_cv_type_pid_t+set}" = set; then
7233 $as_echo_n "(cached) " >&6
7236 cat >conftest.$ac_ext <<_ACEOF
7239 cat confdefs.h >>conftest.$ac_ext
7240 cat >>conftest.$ac_ext <<_ACEOF
7241 /* end confdefs.h. */
7242 $ac_includes_default
7252 rm -f conftest.$ac_objext
7253 if { (ac_try="$ac_compile"
7255 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7256 *) ac_try_echo
=$ac_try;;
7258 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7259 $as_echo "$ac_try_echo") >&5
7260 (eval "$ac_compile") 2>conftest.er1
7262 grep -v '^ *+' conftest.er1
>conftest.err
7264 cat conftest.err
>&5
7265 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7266 (exit $ac_status); } && {
7267 test -z "$ac_c_werror_flag" ||
7268 test ! -s conftest.err
7269 } && test -s conftest.
$ac_objext; then
7270 cat >conftest.
$ac_ext <<_ACEOF
7273 cat confdefs.h
>>conftest.
$ac_ext
7274 cat >>conftest.
$ac_ext <<_ACEOF
7275 /* end confdefs.h. */
7276 $ac_includes_default
7280 if (sizeof ((pid_t)))
7286 rm -f conftest.
$ac_objext
7287 if { (ac_try
="$ac_compile"
7289 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7290 *) ac_try_echo=$ac_try;;
7292 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7293 $as_echo "$ac_try_echo") >&5
7294 (eval "$ac_compile") 2>conftest.er1
7296 grep -v '^ *+' conftest.er1 >conftest.err
7298 cat conftest.err >&5
7299 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7300 (exit $ac_status); } && {
7301 test -z "$ac_c_werror_flag" ||
7302 test ! -s conftest.err
7303 } && test -s conftest.$ac_objext; then
7306 $as_echo "$as_me: failed program was:" >&5
7307 sed 's/^/| /' conftest.$ac_ext >&5
7309 ac_cv_type_pid_t=yes
7312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7314 $as_echo "$as_me: failed program was:" >&5
7315 sed 's/^/| /' conftest.$ac_ext >&5
7320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7322 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
7323 $as_echo "$ac_cv_type_pid_t" >&6; }
7324 if test $ac_cv_type_pid_t = yes; then
7328 cat >>confdefs.h <<_ACEOF
7334 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
7335 $as_echo_n "checking for size_t... " >&6; }
7336 if test "${ac_cv_type_size_t+set}" = set; then
7337 $as_echo_n "(cached) " >&6
7339 ac_cv_type_size_t=no
7340 cat >conftest.$ac_ext <<_ACEOF
7343 cat confdefs.h >>conftest.$ac_ext
7344 cat >>conftest.$ac_ext <<_ACEOF
7345 /* end confdefs.h. */
7346 $ac_includes_default
7350 if (sizeof (size_t))
7356 rm -f conftest.$ac_objext
7357 if { (ac_try="$ac_compile"
7359 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7360 *) ac_try_echo
=$ac_try;;
7362 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7363 $as_echo "$ac_try_echo") >&5
7364 (eval "$ac_compile") 2>conftest.er1
7366 grep -v '^ *+' conftest.er1
>conftest.err
7368 cat conftest.err
>&5
7369 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7370 (exit $ac_status); } && {
7371 test -z "$ac_c_werror_flag" ||
7372 test ! -s conftest.err
7373 } && test -s conftest.
$ac_objext; then
7374 cat >conftest.
$ac_ext <<_ACEOF
7377 cat confdefs.h
>>conftest.
$ac_ext
7378 cat >>conftest.
$ac_ext <<_ACEOF
7379 /* end confdefs.h. */
7380 $ac_includes_default
7384 if (sizeof ((size_t)))
7390 rm -f conftest.
$ac_objext
7391 if { (ac_try
="$ac_compile"
7393 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7394 *) ac_try_echo=$ac_try;;
7396 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7397 $as_echo "$ac_try_echo") >&5
7398 (eval "$ac_compile") 2>conftest.er1
7400 grep -v '^ *+' conftest.er1 >conftest.err
7402 cat conftest.err >&5
7403 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7404 (exit $ac_status); } && {
7405 test -z "$ac_c_werror_flag" ||
7406 test ! -s conftest.err
7407 } && test -s conftest.$ac_objext; then
7410 $as_echo "$as_me: failed program was:" >&5
7411 sed 's/^/| /' conftest.$ac_ext >&5
7413 ac_cv_type_size_t=yes
7416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7418 $as_echo "$as_me: failed program was:" >&5
7419 sed 's/^/| /' conftest.$ac_ext >&5
7424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7426 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
7427 $as_echo "$ac_cv_type_size_t" >&6; }
7428 if test $ac_cv_type_size_t = yes; then
7432 cat >>confdefs.h <<_ACEOF
7433 #define size_t unsigned int
7438 { $as_echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
7439 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
7440 if test "${ac_cv_type_uid_t+set}" = set; then
7441 $as_echo_n "(cached) " >&6
7443 cat >conftest.$ac_ext <<_ACEOF
7446 cat confdefs.h >>conftest.$ac_ext
7447 cat >>conftest.$ac_ext <<_ACEOF
7448 /* end confdefs.h. */
7449 #include <sys/types.h>
7452 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7453 $EGREP "uid_t" >/dev/null 2>&1; then
7454 ac_cv_type_uid_t=yes
7461 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
7462 $as_echo "$ac_cv_type_uid_t" >&6; }
7463 if test $ac_cv_type_uid_t = no; then
7465 cat >>confdefs.h <<\_ACEOF
7470 cat >>confdefs.h <<\_ACEOF
7477 { $as_echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
7478 $as_echo_n "checking for struct tm.tm_gmtoff... " >&6; }
7479 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
7480 $as_echo_n "(cached) " >&6
7482 cat >conftest.$ac_ext <<_ACEOF
7485 cat confdefs.h >>conftest.$ac_ext
7486 cat >>conftest.$ac_ext <<_ACEOF
7487 /* end confdefs.h. */
7488 $ac_includes_default
7492 static struct tm ac_aggr;
7493 if (ac_aggr.tm_gmtoff)
7499 rm -f conftest.$ac_objext
7500 if { (ac_try="$ac_compile"
7502 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7503 *) ac_try_echo
=$ac_try;;
7505 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7506 $as_echo "$ac_try_echo") >&5
7507 (eval "$ac_compile") 2>conftest.er1
7509 grep -v '^ *+' conftest.er1
>conftest.err
7511 cat conftest.err
>&5
7512 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7513 (exit $ac_status); } && {
7514 test -z "$ac_c_werror_flag" ||
7515 test ! -s conftest.err
7516 } && test -s conftest.
$ac_objext; then
7517 ac_cv_member_struct_tm_tm_gmtoff
=yes
7519 $as_echo "$as_me: failed program was:" >&5
7520 sed 's/^/| /' conftest.
$ac_ext >&5
7522 cat >conftest.
$ac_ext <<_ACEOF
7525 cat confdefs.h
>>conftest.
$ac_ext
7526 cat >>conftest.
$ac_ext <<_ACEOF
7527 /* end confdefs.h. */
7528 $ac_includes_default
7532 static struct tm ac_aggr;
7533 if (sizeof ac_aggr.tm_gmtoff)
7539 rm -f conftest.
$ac_objext
7540 if { (ac_try
="$ac_compile"
7542 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7543 *) ac_try_echo=$ac_try;;
7545 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7546 $as_echo "$ac_try_echo") >&5
7547 (eval "$ac_compile") 2>conftest.er1
7549 grep -v '^ *+' conftest.er1 >conftest.err
7551 cat conftest.err >&5
7552 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7553 (exit $ac_status); } && {
7554 test -z "$ac_c_werror_flag" ||
7555 test ! -s conftest.err
7556 } && test -s conftest.$ac_objext; then
7557 ac_cv_member_struct_tm_tm_gmtoff=yes
7559 $as_echo "$as_me: failed program was:" >&5
7560 sed 's/^/| /' conftest.$ac_ext >&5
7562 ac_cv_member_struct_tm_tm_gmtoff=no
7565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7570 { $as_echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
7571 $as_echo "$ac_cv_member_struct_tm_tm_gmtoff" >&6; }
7572 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
7574 cat >>confdefs.h <<_ACEOF
7575 #define HAVE_STRUCT_TM_TM_GMTOFF 1
7582 # Look for some functions
7597 for ac_func in getpagesize kqueue statfs statvfs \
7598 clone kse_create rfork_thread thr_create sa_register \
7599 getcontext makecontext setcontext sigaltstack swapcontext
7601 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
7602 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
7603 $as_echo_n "checking for $ac_func... " >&6; }
7604 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7605 $as_echo_n "(cached) " >&6
7607 cat >conftest.$ac_ext <<_ACEOF
7610 cat confdefs.h >>conftest.$ac_ext
7611 cat >>conftest.$ac_ext <<_ACEOF
7612 /* end confdefs.h. */
7613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7615 #define $ac_func innocuous_$ac_func
7617 /* System header to define __stub macros and hopefully few prototypes,
7618 which can conflict with char $ac_func (); below.
7619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7620 <limits.h> exists even on freestanding compilers. */
7623 # include <limits.h>
7625 # include <assert.h>
7630 /* Override any GCC internal prototype to avoid an error.
7631 Use char because int might match the return type of a GCC
7632 builtin and then its argument prototype would still apply. */
7637 /* The GNU C library defines this for functions which it implements
7638 to always fail with ENOSYS. Some functions are actually named
7639 something starting with __ and the normal name is an alias. */
7640 #if defined __stub_$ac_func || defined __stub___$ac_func
7652 rm -f conftest.$ac_objext conftest$ac_exeext
7653 if { (ac_try="$ac_link"
7655 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7656 *) ac_try_echo
=$ac_try;;
7658 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7659 $as_echo "$ac_try_echo") >&5
7660 (eval "$ac_link") 2>conftest.er1
7662 grep -v '^ *+' conftest.er1
>conftest.err
7664 cat conftest.err
>&5
7665 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7666 (exit $ac_status); } && {
7667 test -z "$ac_c_werror_flag" ||
7668 test ! -s conftest.err
7669 } && test -s conftest
$ac_exeext && {
7670 test "$cross_compiling" = yes ||
7671 $as_test_x conftest
$ac_exeext
7673 eval "$as_ac_var=yes"
7675 $as_echo "$as_me: failed program was:" >&5
7676 sed 's/^/| /' conftest.
$ac_ext >&5
7678 eval "$as_ac_var=no"
7681 rm -rf conftest.dSYM
7682 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7683 conftest
$ac_exeext conftest.
$ac_ext
7685 ac_res
=`eval 'as_val=${'$as_ac_var'}
7686 $as_echo "$as_val"'`
7687 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7688 $as_echo "$ac_res" >&6; }
7689 if test `eval 'as_val=${'$as_ac_var'}
7690 $as_echo "$as_val"'` = yes; then
7691 cat >>confdefs.h
<<_ACEOF
7692 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
7701 for ac_header
in stdlib.h unistd.h
7703 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7704 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7705 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7706 $as_echo_n "checking for $ac_header... " >&6; }
7707 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7708 $as_echo_n "(cached) " >&6
7710 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7711 $as_echo "$as_val"'`
7712 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7713 $as_echo "$ac_res" >&6; }
7715 # Is the header compilable?
7716 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
7717 $as_echo_n "checking $ac_header usability... " >&6; }
7718 cat >conftest.
$ac_ext <<_ACEOF
7721 cat confdefs.h
>>conftest.
$ac_ext
7722 cat >>conftest.
$ac_ext <<_ACEOF
7723 /* end confdefs.h. */
7724 $ac_includes_default
7725 #include <$ac_header>
7727 rm -f conftest.
$ac_objext
7728 if { (ac_try
="$ac_compile"
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_compile") 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_objext; then
7745 ac_header_compiler=yes
7747 $as_echo "$as_me: failed program was:" >&5
7748 sed 's/^/| /' conftest.$ac_ext >&5
7750 ac_header_compiler=no
7753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7754 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7755 $as_echo "$ac_header_compiler" >&6; }
7757 # Is the header present?
7758 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
7759 $as_echo_n "checking $ac_header presence... " >&6; }
7760 cat >conftest.$ac_ext <<_ACEOF
7763 cat confdefs.h >>conftest.$ac_ext
7764 cat >>conftest.$ac_ext <<_ACEOF
7765 /* end confdefs.h. */
7766 #include <$ac_header>
7768 if { (ac_try="$ac_cpp conftest.$ac_ext"
7770 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7771 *) ac_try_echo
=$ac_try;;
7773 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7774 $as_echo "$ac_try_echo") >&5
7775 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7777 grep -v '^ *+' conftest.er1
>conftest.err
7779 cat conftest.err
>&5
7780 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7781 (exit $ac_status); } >/dev
/null
&& {
7782 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7783 test ! -s conftest.err
7785 ac_header_preproc
=yes
7787 $as_echo "$as_me: failed program was:" >&5
7788 sed 's/^/| /' conftest.
$ac_ext >&5
7790 ac_header_preproc
=no
7793 rm -f conftest.err conftest.
$ac_ext
7794 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7795 $as_echo "$ac_header_preproc" >&6; }
7797 # So? What about this header?
7798 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7800 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7801 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7802 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7803 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7804 ac_header_preproc
=yes
7807 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7808 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7809 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7810 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7811 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7812 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7813 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7814 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7815 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7816 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7817 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7818 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7822 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7823 $as_echo_n "checking for $ac_header... " >&6; }
7824 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7825 $as_echo_n "(cached) " >&6
7827 eval "$as_ac_Header=\$ac_header_preproc"
7829 ac_res
=`eval 'as_val=${'$as_ac_Header'}
7830 $as_echo "$as_val"'`
7831 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7832 $as_echo "$ac_res" >&6; }
7835 if test `eval 'as_val=${'$as_ac_Header'}
7836 $as_echo "$as_val"'` = yes; then
7837 cat >>confdefs.h
<<_ACEOF
7838 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7846 for ac_func
in getpagesize
7848 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
7849 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
7850 $as_echo_n "checking for $ac_func... " >&6; }
7851 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7852 $as_echo_n "(cached) " >&6
7854 cat >conftest.
$ac_ext <<_ACEOF
7857 cat confdefs.h
>>conftest.
$ac_ext
7858 cat >>conftest.
$ac_ext <<_ACEOF
7859 /* end confdefs.h. */
7860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7861 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7862 #define $ac_func innocuous_$ac_func
7864 /* System header to define __stub macros and hopefully few prototypes,
7865 which can conflict with char $ac_func (); below.
7866 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7867 <limits.h> exists even on freestanding compilers. */
7870 # include <limits.h>
7872 # include <assert.h>
7877 /* Override any GCC internal prototype to avoid an error.
7878 Use char because int might match the return type of a GCC
7879 builtin and then its argument prototype would still apply. */
7884 /* The GNU C library defines this for functions which it implements
7885 to always fail with ENOSYS. Some functions are actually named
7886 something starting with __ and the normal name is an alias. */
7887 #if defined __stub_$ac_func || defined __stub___$ac_func
7899 rm -f conftest.
$ac_objext conftest
$ac_exeext
7900 if { (ac_try
="$ac_link"
7902 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7903 *) ac_try_echo=$ac_try;;
7905 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7906 $as_echo "$ac_try_echo") >&5
7907 (eval "$ac_link") 2>conftest.er1
7909 grep -v '^ *+' conftest.er1 >conftest.err
7911 cat conftest.err >&5
7912 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7913 (exit $ac_status); } && {
7914 test -z "$ac_c_werror_flag" ||
7915 test ! -s conftest.err
7916 } && test -s conftest$ac_exeext && {
7917 test "$cross_compiling" = yes ||
7918 $as_test_x conftest$ac_exeext
7920 eval "$as_ac_var=yes"
7922 $as_echo "$as_me: failed program was:" >&5
7923 sed 's/^/| /' conftest.$ac_ext >&5
7925 eval "$as_ac_var=no"
7928 rm -rf conftest.dSYM
7929 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7930 conftest$ac_exeext conftest.$ac_ext
7932 ac_res=`eval 'as_val=${'$as_ac_var'}
7933 $as_echo "$as_val"'`
7934 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
7935 $as_echo "$ac_res" >&6; }
7936 if test `eval 'as_val=${'$as_ac_var'}
7937 $as_echo "$as_val"'` = yes; then
7938 cat >>confdefs.h <<_ACEOF
7939 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7945 { $as_echo "$as_me:$LINENO: checking for working mmap" >&5
7946 $as_echo_n "checking for working mmap... " >&6; }
7947 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
7948 $as_echo_n "(cached) " >&6
7950 if test "$cross_compiling" = yes; then
7951 ac_cv_func_mmap_fixed_mapped=no
7953 cat >conftest.$ac_ext <<_ACEOF
7956 cat confdefs.h >>conftest.$ac_ext
7957 cat >>conftest.$ac_ext <<_ACEOF
7958 /* end confdefs.h. */
7959 $ac_includes_default
7960 /* malloc might have been renamed as rpl_malloc. */
7963 /* Thanks to Mike Haertel and Jim Avera for this test.
7964 Here is a matrix of mmap possibilities:
7965 mmap private not fixed
7966 mmap private fixed at somewhere currently unmapped
7967 mmap private fixed at somewhere already mapped
7968 mmap shared not fixed
7969 mmap shared fixed at somewhere currently unmapped
7970 mmap shared fixed at somewhere already mapped
7971 For private mappings, we should verify that changes cannot be read()
7972 back from the file, nor mmap's back from the file at a different
7973 address. (There have been systems where private was not correctly
7974 implemented like the infamous i386 svr4.0, and systems where the
7975 VM page cache was not coherent with the file system buffer cache
7976 like early versions of FreeBSD and possibly contemporary NetBSD.)
7977 For shared mappings, we should conversely verify that changes get
7978 propagated back to all the places they're supposed to be.
7980 Grep wants private fixed already mapped.
7981 The main things grep needs to know about mmap are:
7982 * does it exist and is it safe to write into the mmap'd area
7983 * how to use it (BSD variants) */
7986 #include <sys/mman.h>
7988 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7992 /* This mess was copied from the GNU getpagesize.h. */
7993 #ifndef HAVE_GETPAGESIZE
7994 /* Assume that all systems that can run configure have sys/param.h. */
7995 # ifndef HAVE_SYS_PARAM_H
7996 # define HAVE_SYS_PARAM_H 1
7999 # ifdef _SC_PAGESIZE
8000 # define getpagesize() sysconf(_SC_PAGESIZE)
8001 # else /* no _SC_PAGESIZE */
8002 # ifdef HAVE_SYS_PARAM_H
8003 # include <sys/param.h>
8004 # ifdef EXEC_PAGESIZE
8005 # define getpagesize() EXEC_PAGESIZE
8006 # else /* no EXEC_PAGESIZE */
8008 # define getpagesize() NBPG * CLSIZE
8011 # endif /* no CLSIZE */
8012 # else /* no NBPG */
8014 # define getpagesize() NBPC
8015 # else /* no NBPC */
8017 # define getpagesize() PAGESIZE
8018 # endif /* PAGESIZE */
8019 # endif /* no NBPC */
8020 # endif /* no NBPG */
8021 # endif /* no EXEC_PAGESIZE */
8022 # else /* no HAVE_SYS_PARAM_H */
8023 # define getpagesize() 8192 /* punt totally */
8024 # endif /* no HAVE_SYS_PARAM_H */
8025 # endif /* no _SC_PAGESIZE */
8027 #endif /* no HAVE_GETPAGESIZE */
8032 char *data, *data2, *data3;
8036 pagesize = getpagesize ();
8038 /* First, make a file with some known garbage in it. */
8039 data = (char *) malloc (pagesize);
8042 for (i = 0; i < pagesize; ++i)
8043 *(data + i) = rand ();
8045 fd = creat ("conftest.mmap", 0600);
8048 if (write (fd, data, pagesize) != pagesize)
8052 /* Next, try to mmap the file at a fixed address which already has
8053 something else allocated at it. If we can, also make sure that
8054 we see the same garbage. */
8055 fd = open ("conftest.mmap", O_RDWR);
8058 data2 = (char *) malloc (2 * pagesize);
8061 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
8062 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
8063 MAP_PRIVATE | MAP_FIXED, fd, 0L))
8065 for (i = 0; i < pagesize; ++i)
8066 if (*(data + i) != *(data2 + i))
8069 /* Finally, make sure that changes to the mapped area do not
8070 percolate back to the file as seen by read(). (This is a bug on
8071 some variants of i386 svr4.0.) */
8072 for (i = 0; i < pagesize; ++i)
8073 *(data2 + i) = *(data2 + i) + 1;
8074 data3 = (char *) malloc (pagesize);
8077 if (read (fd, data3, pagesize) != pagesize)
8079 for (i = 0; i < pagesize; ++i)
8080 if (*(data + i) != *(data3 + i))
8086 rm -f conftest$ac_exeext
8087 if { (ac_try="$ac_link"
8089 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8090 *) ac_try_echo
=$ac_try;;
8092 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8093 $as_echo "$ac_try_echo") >&5
8094 (eval "$ac_link") 2>&5
8096 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8097 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8098 { (case "(($ac_try" in
8099 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8100 *) ac_try_echo=$ac_try;;
8102 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8103 $as_echo "$ac_try_echo") >&5
8104 (eval "$ac_try") 2>&5
8106 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8107 (exit $ac_status); }; }; then
8108 ac_cv_func_mmap_fixed_mapped=yes
8110 $as_echo "$as_me: program exited with status $ac_status" >&5
8111 $as_echo "$as_me: failed program was:" >&5
8112 sed 's/^/| /' conftest.$ac_ext >&5
8115 ac_cv_func_mmap_fixed_mapped=no
8117 rm -rf conftest.dSYM
8118 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8123 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
8124 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
8125 if test $ac_cv_func_mmap_fixed_mapped = yes; then
8127 cat >>confdefs.h <<\_ACEOF
8137 aros_config_cflags="-Wall -Werror-implicit-function-declaration"
8138 aros_config_aflags="-Wall -x assembler-with-cpp -c"
8139 aros_config_ldflags=""
8141 aros_shared_default=yes
8143 aros_shared_cflags="-fPIC"
8144 aros_shared_aflags=""
8145 aros_shared_ldflags="-Wl,-rpath,./lib -shared"
8146 aros_kernel_ldflags="-Wl,-rpath,./lib"
8148 aros_target_ar_flags="cr"
8149 aros_target_nm_flags="-C -ul"
8150 aros_target_strip_flags="--strip-unneeded -R.comment"
8154 aros_target_genmap="-Wl,-Map -Xlinker"
8156 # Native flavour stuff
8158 aros_serial_debug="0"
8160 # Palm native flavour stuff
8161 aros_palm_debug_hack="0"
8163 # Unix flavour stuff
8164 aros_nesting_supervisor="0"
8166 # Collect-aros stuff: "-ius" to ignore undefined symbols
8167 ignore_undefined_symbols=""
8169 #-----------------------------------------------------------------------------
8172 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
8173 # it switched on by default, and we use the host compiler, so it compiles AROS
8174 # code with this enabled resulting in link failures as we don't have support
8177 # We use two methods to disable it. For the host compiler (used to compile
8178 # some hosted modules), we test to see if the compiler supports stack
8179 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
8180 # work on all platforms.
8182 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
8183 # (this is done unconditionally, as it should have no effect on compilers
8184 # without the stack protection feature). This may be specific to the way that
8185 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
8186 # strong enough to disable it in a generic way though, so we'll live with it
8187 # until another vendor ships GCC with it enabled in a different way, and deal
8191 { $as_echo "$as_me:$LINENO: checking whether ${CC} accepts -fno-stack-protector" >&5
8192 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
8193 save_cflags="$CFLAGS"
8194 CFLAGS="$CFLAGS -fno-stack-protector"
8195 cat >conftest.$ac_ext <<_ACEOF
8198 cat confdefs.h >>conftest.$ac_ext
8199 cat >>conftest.$ac_ext <<_ACEOF
8200 /* end confdefs.h. */
8210 rm -f conftest.$ac_objext
8211 if { (ac_try="$ac_compile"
8213 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8214 *) ac_try_echo
=$ac_try;;
8216 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8217 $as_echo "$ac_try_echo") >&5
8218 (eval "$ac_compile") 2>conftest.er1
8220 grep -v '^ *+' conftest.er1
>conftest.err
8222 cat conftest.err
>&5
8223 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8224 (exit $ac_status); } && {
8225 test -z "$ac_c_werror_flag" ||
8226 test ! -s conftest.err
8227 } && test -s conftest.
$ac_objext; then
8228 use_no_stack_protector
="yes"
8230 $as_echo "$as_me: failed program was:" >&5
8231 sed 's/^/| /' conftest.
$ac_ext >&5
8233 use_no_stack_protector
="no"
8236 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8237 { $as_echo "$as_me:$LINENO: result: $use_no_stack_protector" >&5
8238 $as_echo "$use_no_stack_protector" >&6; }
8239 if test "x-$use_no_stack_protector" = "x-yes" ; then
8240 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
8242 CFLAGS
="$save_cflags"
8245 #-----------------------------------------------------------------------------
8247 # Disable pointer-signedness warnings if the compiler recognises the option
8248 # (this only works for the host compiler at the moment)
8250 { $as_echo "$as_me:$LINENO: checking whether ${CC} accepts -Wno-pointer-sign" >&5
8251 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
8252 save_cflags
="$CFLAGS"
8253 CFLAGS
="$CFLAGS -Wno-pointer-sign"
8254 cat >conftest.
$ac_ext <<_ACEOF
8257 cat confdefs.h
>>conftest.
$ac_ext
8258 cat >>conftest.
$ac_ext <<_ACEOF
8259 /* end confdefs.h. */
8269 rm -f conftest.
$ac_objext
8270 if { (ac_try
="$ac_compile"
8272 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8273 *) ac_try_echo=$ac_try;;
8275 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8276 $as_echo "$ac_try_echo") >&5
8277 (eval "$ac_compile") 2>conftest.er1
8279 grep -v '^ *+' conftest.er1 >conftest.err
8281 cat conftest.err >&5
8282 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8283 (exit $ac_status); } && {
8284 test -z "$ac_c_werror_flag" ||
8285 test ! -s conftest.err
8286 } && test -s conftest.$ac_objext; then
8287 use_no_sign_warning="yes"
8289 $as_echo "$as_me: failed program was:" >&5
8290 sed 's/^/| /' conftest.$ac_ext >&5
8292 use_no_sign_warning="no"
8295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8296 { $as_echo "$as_me:$LINENO: result: $use_no_sign_warning" >&5
8297 $as_echo "$use_no_sign_warning" >&6; }
8298 if test "x-$use_no_sign_warning" = "x-yes" ; then
8299 aros_host_cflags="$aros_host_cflags -Wno-pointer-sign"
8301 CFLAGS="$save_cflags"
8303 #-----------------------------------------------------------------------------
8305 { $as_echo "$as_me:$LINENO: checking for type of build" >&5
8306 $as_echo_n "checking for type of build... " >&6; }
8307 # Check whether --enable-build_type was given.
8308 if test "${enable_build_type+set}" = set; then
8309 enableval=$enable_build_type; build_type=$enableval
8311 build_type="personal"
8315 if test "$build_type" = "nightly"; then
8316 build_type_string="NIGHTLY"
8317 elif test "$build_type" = "snapshot"; then
8318 build_type_string="SNAPSHOT"
8319 elif test "$build_type" = "milestone"; then
8320 build_type_string="MILESTONE"
8321 elif test "$build_type" = "release"; then
8322 build_type_string="RELEASE"
8324 build_type_string="PERSONAL"
8325 build_type="personal"
8328 aros_config_cflags="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
8330 { $as_echo "$as_me:$LINENO: result: $build_type" >&5
8331 $as_echo "$build_type" >&6; }
8333 #-----------------------------------------------------------------------------
8334 all_debug_types="messages stack mungwall modules symbols"
8336 { $as_echo "$as_me:$LINENO: checking which debug types to enable" >&5
8337 $as_echo_n "checking which debug types to enable... " >&6; }
8338 # Check whether --enable-debug was given.
8339 if test "${enable_debug+set}" = set; then
8340 enableval=$enable_debug; debug="$enableval"
8346 if test "$debug" = "" -o "$debug" = "no"; then
8348 elif test "$debug" = "yes"; then
8352 if test "$debug" = "all" ; then
8353 debug=$all_debug_types
8354 for d in $all_debug_types; do
8355 export aros_${d}_debug="1"
8358 for d in $all_debug_types; do
8359 export aros_${d}_debug="0"
8363 if test "$debug" != "none"; then
8364 debug=`echo $debug |
sed s
/,/\
/g
`
8367 for d2 in $all_debug_types; do
8368 if test "$d2" = "$d"; then
8373 if test "$found" = "0"; then
8374 { { $as_echo "$as_me:$LINENO: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&5
8375 $as_echo "$as_me: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&2;}
8376 { (exit 1); exit 1; }; }
8378 export aros_${d}_debug="1"
8382 { $as_echo "$as_me:$LINENO: result: $debug" >&5
8383 $as_echo "$debug" >&6; }
8385 if test "$aros_messages_debug" = "1"; then
8386 aros_messages_debug="-DADEBUG=1 -DMDEBUG=1"
8388 aros_messages_debug=""
8390 if test "$aros_symbols_debug" = "1"; then
8391 aros_symbols_debug="-g"
8393 aros_symbols_debug=""
8396 # These are the flags to pass when compiling debugged programs
8397 aros_debug_cflags="$aros_symbols_debug $aros_messages_debug"
8398 aros_debug_aflags=""
8399 aros_debug_ldflags="$aros_symbols_debug"
8401 #-----------------------------------------------------------------------------
8402 # Checking for distcc and ccache.
8404 # Always apply the transforms in this particular order. Basically you should
8405 # always run 'ccache distcc compiler' in that order for the best performance.
8407 { $as_echo "$as_me:$LINENO: checking whether to enable distcc" >&5
8408 $as_echo_n "checking whether to enable distcc... " >&6; }
8409 # Check whether --enable-distcc was given.
8410 if test "${enable_distcc+set}" = set; then
8411 enableval=$enable_distcc; distcc="$enableval"
8416 if test "$distcc" != "" -a "$distcc" != "no"; then
8417 # AC_CHECK_PROG will print out the result in this case
8418 # Extract the first word of "distcc", so it can be a program name with args.
8419 set dummy distcc; ac_word=$2
8420 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8421 $as_echo_n "checking for $ac_word... " >&6; }
8422 if test "${ac_cv_path_DISTCC+set}" = set; then
8423 $as_echo_n "(cached) " >&6
8427 ac_cv_path_DISTCC="$DISTCC" # Let the user override the test with a path.
8430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8434 test -z "$as_dir" && as_dir=.
8435 for ac_exec_ext in '' $ac_executable_extensions; do
8436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8437 ac_cv_path_DISTCC="$as_dir/$ac_word$ac_exec_ext"
8438 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8445 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC="distcc"
8449 DISTCC=$ac_cv_path_DISTCC
8450 if test -n "$DISTCC"; then
8451 { $as_echo "$as_me:$LINENO: result: $DISTCC" >&5
8452 $as_echo "$DISTCC" >&6; }
8454 { $as_echo "$as_me:$LINENO: result: no" >&5
8455 $as_echo "no" >&6; }
8460 { $as_echo "$as_me:$LINENO: result: no" >&5
8461 $as_echo "no" >&6; }
8464 { $as_echo "$as_me:$LINENO: checking whether to enable ccache" >&5
8465 $as_echo_n "checking whether to enable ccache... " >&6; }
8466 # Check whether --enable-ccache was given.
8467 if test "${enable_ccache+set}" = set; then
8468 enableval=$enable_ccache; ccache="$enableval"
8473 if test "$ccache" != "" -a "$ccache" != "no"; then
8474 # AC_CHECK_PROG will print out the result in this case
8475 # Extract the first word of "ccache", so it can be a program name with args.
8476 set dummy ccache; ac_word=$2
8477 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8478 $as_echo_n "checking for $ac_word... " >&6; }
8479 if test "${ac_cv_prog_CCACHE+set}" = set; then
8480 $as_echo_n "(cached) " >&6
8482 if test -n "$CCACHE"; then
8483 ac_cv_prog_CCACHE="$CCACHE" # Let the user override the test.
8485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8489 test -z "$as_dir" && as_dir=.
8490 for ac_exec_ext in '' $ac_executable_extensions; do
8491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8492 ac_cv_prog_CCACHE="ccache"
8493 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8502 CCACHE=$ac_cv_prog_CCACHE
8503 if test -n "$CCACHE"; then
8504 { $as_echo "$as_me:$LINENO: result: $CCACHE" >&5
8505 $as_echo "$CCACHE" >&6; }
8507 { $as_echo "$as_me:$LINENO: result: no" >&5
8508 $as_echo "no" >&6; }
8513 { $as_echo "$as_me:$LINENO: result: no" >&5
8514 $as_echo "no" >&6; }
8517 #-----------------------------------------------------------------------------
8518 { $as_echo "$as_me:$LINENO: checking what optimization flags to use" >&5
8519 $as_echo_n "checking what optimization flags to use... " >&6; }
8521 # Check whether --with-optimization was given.
8522 if test "${with_optimization+set}" = set; then
8523 withval=$with_optimization; optimization="$withval"
8525 optimization="unknown"
8528 if test "$optimization" = "unknown"; then
8529 if test "$debug" != "none"; then
8535 aros_config_cflags="$aros_config_cflags $optimization"
8536 { $as_echo "$as_me:$LINENO: result: $optimization" >&5
8537 $as_echo "$optimization" >&6; }
8539 #-----------------------------------------------------------------------------
8540 { $as_echo "$as_me:$LINENO: checking what target variant to enable" >&5
8541 $as_echo_n "checking what target variant to enable... " >&6; }
8542 # Check whether --enable-target_variant was given.
8543 if test "${enable_target_variant+set}" = set; then
8544 enableval=$enable_target_variant; target_variant=$enableval
8546 target_variant="none"
8549 if test "$target_variant" = "none"; then
8550 aros_target_variant=""
8551 aros_target_suffix=""
8553 aros_target_variant="$target_variant"
8554 aros_target_suffix="-$target_variant"
8556 { $as_echo "$as_me:$LINENO: result: $enableval" >&5
8557 $as_echo "$enableval" >&6; }
8559 target_bootloader="none"
8561 #-----------------------------------------------------------------------------
8562 # This is the target configuration switch.
8563 case "$target_os" in
8565 aros_target_arch="linux"
8566 case "$target_cpu" in
8568 aros_target_cpu="m68k"
8569 aros_object_format="m68kelf"
8570 aros_flavour="emulcompat"
8571 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
8572 aros_shared_ldflags="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
8573 aros_kernel_ldflags="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
8574 gcc_target_cpu="mc68000"
8577 aros_target_cpu="i386"
8578 aros_object_format="elf_i386"
8579 aros_flavour="emulation"
8580 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
8581 aros_default_wbdepth=8
8582 gcc_target_cpu="i386"
8585 aros_target_cpu="x86_64"
8586 aros_object_format="elf_x86_64"
8587 aros_flavour="emulation"
8588 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
8589 aros_config_cflags="$aros_config_cflags -mno-red-zone"
8590 aros_default_wbdepth=8
8591 gcc_target_cpu="x86_64"
8594 aros_target_cpu="ppc"
8595 aros_object_format="elf32ppc"
8596 aros_flavour="emulation"
8597 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8598 aros_default_wbdepth=8
8599 gcc_target_cpu="ppc"
8602 # Same as powerpc, but I need this for the nightly build to work again.
8603 # Actually, the nightly should be made working with powerpc target.
8604 # That just was too much work for the moment, another week or two.
8606 aros_target_cpu="ppc"
8607 aros_object_format="elf32ppc"
8608 aros_flavour="emulation"
8609 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8610 aros_default_wbdepth=8
8611 gcc_target_cpu="ppc"
8614 { { $as_echo "$as_me:$LINENO: error: \"Unknown CPU for Linux -- $target_cpu\"" >&5
8615 $as_echo "$as_me: error: \"Unknown CPU for Linux -- $target_cpu\"" >&2;}
8616 { (exit 1); exit 1; }; }
8622 aros_target_arch="pc"
8623 aros_shared_default="no"
8624 target_bootloader="grub"
8625 case "$target_cpu" in
8627 aros_target_cpu="i386"
8630 if test "$aros_object_format" = "" ; then
8631 aros_object_format="elf_i386"
8633 aros_flavour="standalone"
8634 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386"
8635 aros_kernel_ldflags=""
8636 aros_default_wbwidth=640
8637 aros_default_wbheight=480
8638 gcc_target_cpu="i386"
8641 aros_target_cpu="x86_64"
8643 if test "$aros_object_format" = "" ; then
8644 aros_object_format="elf_x86_64"
8646 aros_flavour="standalone"
8647 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8648 aros_config_cflags="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone"
8649 aros_kernel_ldflags=""
8650 aros_default_wbwidth=640
8651 aros_default_wbheight=480
8652 gcc_target_cpu="x86_64"
8655 { { $as_echo "$as_me:$LINENO: error: \"Unknown native CPU -- $target_cpu\"" >&5
8656 $as_echo "$as_me: error: \"Unknown native CPU -- $target_cpu\"" >&2;}
8657 { (exit 1); exit 1; }; }
8663 aros_target_arch="prep"
8664 aros_shared_default="no"
8665 aros_target_cpu="ppc"
8666 aros_object_format="elf32ppc"
8667 aros_flavour="ppcnative"
8668 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc"
8669 aros_kernel_ldflags=""
8670 aros_default_wbwidth=640
8671 aros_default_wbheight=480
8672 gcc_target_cpu="ppc"
8673 case "$target_cpu" in
8675 aros_target_cc="ppc-linux-gcc -pipe"
8676 aros_target_ld="ppc-linux-ld"
8677 aros_target_as="ppc-linux-as"
8678 aros_target_ar="ppc-linux-ar"
8679 aros_target_ranlib="ppc-linux-ranlib"
8680 aros_target_nm="ppc-linux-nm"
8681 aros_target_strip="ppc-linux-strip"
8682 aros_target_objcopy="ppc-linux-objcopy"
8683 aros_target_objdump="ppc-linux-objdump"
8684 aros_shared_ld="ppc-linux-ld"
8685 aros_kernel_ld="ppc-linux-ld"
8693 aros_target_arch="freebsd"
8694 aros_target_cpu="i386"
8695 aros_flavour="emulation"
8696 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386"
8697 gcc_target_cpu="i386"
8699 aros_target_strip_flags="-x"
8703 aros_target_arch="darwin"
8704 aros_target_cpu="i386"
8705 aros_flavour="emulation"
8706 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386"
8707 gcc_target_cpu="i386"
8709 aros_target_strip_flags="-x"
8713 aros_target_arch="netbsd"
8714 case "$target_cpu" in
8716 aros_target_cpu="m68k"
8717 aros_object_format="m68kelf"
8718 aros_flavour="emulcompat"
8719 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8720 gcc_target_cpu="mc68000"
8723 aros_target_cpu="i386"
8724 aros_object_format="elf_i386"
8725 aros_flavour="emulation"
8726 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8727 aros_default_wbdepth=8
8728 gcc_target_cpu="i386"
8731 { { $as_echo "$as_me:$LINENO: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&5
8732 $as_echo "$as_me: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&2;}
8733 { (exit 1); exit 1; }; }
8736 aros_target_genmap="-Wl,-M -Xlinker >"
8737 aros_flavour="emulation"
8738 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386"
8742 aros_target_arch="openbsd"
8743 case "$target_cpu" in
8745 aros_target_cpu="i386"
8746 aros_object_format="elf_i386"
8747 aros_flavour="emulation"
8748 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8749 gcc_target_cpu="i386"
8752 { { $as_echo "$as_me:$LINENO: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&5
8753 $as_echo "$as_me: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&2;}
8754 { (exit 1); exit 1; }; }
8757 aros_target_genmap="-Wl,-M -Xlinker >"
8758 aros_target_nm_flags="-u"
8759 aros_flavour="emulation"
8763 aros_target_arch="solaris"
8764 case "$target_cpu" in
8766 aros_target_cpu="i386"
8767 aros_object_format="elf_i386"
8768 aros_flavour="emulation"
8769 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8770 aros_default_wbdepth=8
8771 gcc_target_cpu="i386"
8774 aros_target_cpu="sparc"
8775 aros_object_format="elf_sparc"
8776 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8777 gcc_target_cpu="sparc"
8780 { { $as_echo "$as_me:$LINENO: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&5
8781 $as_echo "$as_me: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&2;}
8782 { (exit 1); exit 1; }; }
8785 aros_config_cflags="$aros_config_cflags -D$aros_target_cpu"
8786 aros_flavour="emulation"
8790 aros_target_arch="morphos"
8791 aros_shared_default="no"
8792 aros_target_cpu="ppc"
8793 aros_object_format="elf_ppc"
8794 aros_flavour="nativecompat"
8795 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc"
8796 gcc_target_cpu="ppc"
8800 aros_target_arch="sam440"
8801 aros_shared_default="no"
8802 aros_target_cpu="ppc"
8803 aros_object_format="elf32ppc"
8804 aros_flavour="ppcnative"
8805 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dppc"
8806 aros_kernel_ldflags=""
8807 aros_default_wbwidth=640
8808 aros_default_wbheight=480
8809 aros_config_cflags="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8810 gcc_target_cpu="powerpc"
8811 case "$target_cpu" in
8813 aros_target_cc="powerpc-linux-gcc -pipe"
8814 aros_target_ld="powerpc-linux-ld"
8815 aros_target_as="powerpc-linux-as"
8816 aros_target_ar="powerpc-linux-ar"
8817 aros_target_ranlib="powerpc-linux-ranlib"
8818 aros_target_nm="powerpc-linux-nm"
8819 aros_target_strip="powerpc-linux-strip"
8820 aros_target_objcopy="powerpc-linux-objcopy"
8821 aros_target_objdump="powerpc-linux-objdump"
8822 aros_shared_ld="powerpc-linux-ld"
8823 aros_kernel_ld="powerpc-linux-ld"
8831 aros_target_arch="amiga"
8832 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8833 aros_shared_default="no"
8835 aros_config_cflags="$aros_config_cflags -fomit-frame-pointer -fbuiltin -ffreestanding"
8837 case "$target_cpu" in
8839 aros_target_cpu="m68k"
8840 aros_object_format="m68kelf"
8841 aros_flavour="nativecompat"
8842 gcc_target_cpu="mc68000"
8846 aros_flavour="native"
8847 gcc_target_cpu="ppc"
8850 { { $as_echo "$as_me:$LINENO: error: \"Unknown CPU for Amiga $target_cpu\"" >&5
8851 $as_echo "$as_me: error: \"Unknown CPU for Amiga $target_cpu\"" >&2;}
8852 { (exit 1); exit 1; }; }
8858 aros_target_arch="cygwin"
8859 aros_shared_default="no"
8860 case "$target_cpu" in
8862 aros_target_cpu="i386"
8863 aros_object_format="elf_i386"
8864 aros_flavour="emulation"
8865 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386 -D__CYGWIN32__"
8866 aros_shared_cflags=""
8867 aros_default_wbdepth=8
8868 gcc_target_cpu="i386"
8871 { { $as_echo "$as_me:$LINENO: error: \"Unknown CPU for CygWin -- $target_cpu\"" >&5
8872 $as_echo "$as_me: error: \"Unknown CPU for CygWin -- $target_cpu\"" >&2;}
8873 { (exit 1); exit 1; }; }
8879 aros_target_arch="mingw32"
8880 aros_shared_default="no"
8881 case "$target_cpu" in
8883 aros_target_cpu="i386"
8884 aros_object_format="elf_i386"
8885 aros_flavour="emulation"
8886 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Di386"
8887 aros_shared_cflags=""
8888 aros_default_wbdepth=8
8889 gcc_target_cpu="i386"
8892 { { $as_echo "$as_me:$LINENO: error: \"Unknown CPU for Mingw32 -- $target_cpu\"" >&5
8893 $as_echo "$as_me: error: \"Unknown CPU for Mingw32 -- $target_cpu\"" >&2;}
8894 { (exit 1); exit 1; }; }
8897 if test $host_os = "cygwin"; then
8898 aros_config_cflags="$aros_config_cflags -mno-cygwin"
8899 aros_config_ldflags="$aros_config_ldflags -mno-cygwin"
8900 aros_kernel_ldflags="$aros_kernel_ldflags -mno-cygwin"
8904 aros_target_arch="pp"
8905 aros_shared_default="no"
8906 case "$target_cpu" in
8908 aros_target_cpu="m68k"
8909 aros_object_format="m68kelf"
8910 aros_flavour="palmnative"
8911 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dm68k"
8912 aros_kernel_ldflags=""
8913 aros_default_wbwidth=160
8914 aros_default_wbheight=160
8915 aros_default_wbdepth=1
8916 aros_target_cc="m68k-elf-gcc -pipe"
8917 aros_target_ld="$(which m68k-elf-ld)"
8918 aros_target_as="m68k-elf-gcc -pipe"
8919 aros_shared_ld="m68k-elf-gcc"
8920 aros_kernel_ld="m68k-elf-gcc"
8921 aros_target_ar="m68k-elf-ar"
8922 aros_target_ar_flags="cru"
8923 aros_target_ranlib="m68k-elf-ranlib"
8924 aros_target_nm="m68k-elf-nm"
8925 aros_target_objcopy="m68k-elf-objcopy"
8926 aros_target_objdump="m68k-elf-objdump"
8927 aros_compiler_libs="-lgcc1"
8928 aros_shared_default=no
8929 aros_shared_cflags="-fpic"
8930 aros_shared_aflags=""
8931 aros_shared_ldflags="-Wl,-rpath,./lib -shared"
8932 aros_kernel_ldflags="-Wl,-rpath,./lib"
8933 aros_debug_cflags="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
8934 aros_debug_aflags=""
8935 aros_debug_ldflags="$aros_symbols_debug"
8936 aros_mungwall_debug="0"
8937 aros_modules_debug="0"
8938 gcc_target_cpu="mc68000"
8939 ignore_undefined_symbols="-ius"
8942 { { $as_echo "$as_me:$LINENO: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&5
8943 $as_echo "$as_me: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&2;}
8944 { (exit 1); exit 1; }; }
8950 aros_target_arch="mac"
8951 aros_shared_default="no"
8952 case "$target_cpu" in
8954 aros_target_cpu="m68k"
8955 aros_object_format="m68kelf"
8956 aros_flavour="mac68knative"
8957 aros_target_mkdep="$aros_target_mkdep -D__GNUC__ -Dm68k"
8958 aros_default_wbwidth=512
8959 aros_default_wbheight=384
8960 aros_default_wbdepth=8
8961 aros_target_cc="m68k-elf-gcc -pipe"
8962 aros_target_ld="$(which m68k-elf-ld)"
8963 aros_target_as="m68k-elf-gcc -pipe"
8964 aros_shared_ld="m68k-elf-gcc"
8965 aros_kernel_ld="m68k-elf-gcc"
8966 aros_target_ar="m68k-elf-ar"
8967 aros_target_ar_flags="cru"
8968 aros_target_ranlib="m68k-elf-ranlib"
8969 aros_target_nm="m68k-elf-nm"
8970 aros_target_objcopy="m68k-elf-objcopy"
8971 aros_target_objdump="m68k-elf-objdump"
8972 aros_compiler_libs="-lgcc1"
8973 aros_shared_default=no
8974 aros_shared_cflags="-fpic"
8975 aros_shared_aflags=""
8976 aros_shared_ldflags="-Wl,-rpath,./lib -shared"
8977 aros_kernel_ldflags="-Wl,-rpath,./lib"
8978 aros_debug_cflags="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000"
8979 aros_debug_aflags=""
8980 aros_debug_ldflags="$aros_symbols_debug"
8981 aros_mungwall_debug="0"
8982 aros_modules_debug="0"
8983 gcc_target_cpu="mc68000"
8984 ignore_undefined_symbols="-ius"
8987 { { $as_echo "$as_me:$LINENO: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&5
8988 $as_echo "$as_me: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&2;}
8989 { (exit 1); exit 1; }; }
8995 { { $as_echo "$as_me:$LINENO: error: Unsupported target architecture $target" >&5
8996 $as_echo "$as_me: error: Unsupported target architecture $target" >&2;}
8997 { (exit 1); exit 1; }; }
9001 { $as_echo "$as_me:$LINENO: checking Where to download sourcecode for external ports" >&5
9002 $as_echo_n "checking Where to download sourcecode for external ports... " >&6; }
9004 # Check whether --with-portssources was given.
9005 if test "${with_portssources+set}" = set; then
9006 withval=$with_portssources; with_portssrcdir=$withval
9008 with_portssrcdir="default"
9011 if test "$with_portssrcdir" = "default"; then
9012 AROS_PORTSSRCDIR="$AROS_BUILDDIR/bin/Sources"
9014 AROS_PORTSSRCDIR="$with_portssrcdir"
9016 { $as_echo "$as_me:$LINENO: result: $AROS_PORTSSRCDIR" >&5
9017 $as_echo "$AROS_PORTSSRCDIR" >&6; }
9019 { $as_echo "$as_me:$LINENO: checking which bootloader to use" >&5
9020 $as_echo_n "checking which bootloader to use... " >&6; }
9022 # Check whether --with-bootloader was given.
9023 if test "${with_bootloader+set}" = set; then
9024 withval=$with_bootloader; target_bootloader=$withval
9026 target_bootloader=$target_bootloader
9029 if test "$target_bootloader" = "none"; then
9030 aros_target_bootloader=""
9032 aros_target_bootloader="$target_bootloader"
9034 { $as_echo "$as_me:$LINENO: result: $target_bootloader" >&5
9035 $as_echo "$target_bootloader" >&6; }
9037 # Check LZO when compiling the grub2 bootloader on i386/x86_64.
9038 aros_liblzo_check="no"
9039 case "$aros_target_bootloader" in
9041 case "$target_cpu" in
9043 aros_liblzo_check="yes"
9046 aros_liblzo_check="yes"
9057 if test "$aros_liblzo_check" = "yes"; then
9058 # There are three possibilities. LZO version 2 installed with the name
9059 # liblzo2, with the name liblzo, and LZO version 1.
9060 { $as_echo "$as_me:$LINENO: checking for __lzo_init_v2 in -llzo2" >&5
9061 $as_echo_n "checking for __lzo_init_v2 in -llzo2... " >&6; }
9062 if test "${ac_cv_lib_lzo2___lzo_init_v2+set}" = set; then
9063 $as_echo_n "(cached) " >&6
9065 ac_check_lib_save_LIBS=$LIBS
9067 cat >conftest.$ac_ext <<_ACEOF
9070 cat confdefs.h >>conftest.$ac_ext
9071 cat >>conftest.$ac_ext <<_ACEOF
9072 /* end confdefs.h. */
9074 /* Override any GCC internal prototype to avoid an error.
9075 Use char because int might match the return type of a GCC
9076 builtin and then its argument prototype would still apply. */
9080 char __lzo_init_v2 ();
9084 return __lzo_init_v2 ();
9089 rm -f conftest.$ac_objext conftest$ac_exeext
9090 if { (ac_try="$ac_link"
9092 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9093 *) ac_try_echo
=$ac_try;;
9095 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9096 $as_echo "$ac_try_echo") >&5
9097 (eval "$ac_link") 2>conftest.er1
9099 grep -v '^ *+' conftest.er1
>conftest.err
9101 cat conftest.err
>&5
9102 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9103 (exit $ac_status); } && {
9104 test -z "$ac_c_werror_flag" ||
9105 test ! -s conftest.err
9106 } && test -s conftest
$ac_exeext && {
9107 test "$cross_compiling" = yes ||
9108 $as_test_x conftest
$ac_exeext
9110 ac_cv_lib_lzo2___lzo_init_v2
=yes
9112 $as_echo "$as_me: failed program was:" >&5
9113 sed 's/^/| /' conftest.
$ac_ext >&5
9115 ac_cv_lib_lzo2___lzo_init_v2
=no
9118 rm -rf conftest.dSYM
9119 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9120 conftest
$ac_exeext conftest.
$ac_ext
9121 LIBS
=$ac_check_lib_save_LIBS
9123 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lzo2___lzo_init_v2" >&5
9124 $as_echo "$ac_cv_lib_lzo2___lzo_init_v2" >&6; }
9125 if test $ac_cv_lib_lzo2___lzo_init_v2 = yes; then
9128 { $as_echo "$as_me:$LINENO: checking for __lzo_init_v2 in -llzo" >&5
9129 $as_echo_n "checking for __lzo_init_v2 in -llzo... " >&6; }
9130 if test "${ac_cv_lib_lzo___lzo_init_v2+set}" = set; then
9131 $as_echo_n "(cached) " >&6
9133 ac_check_lib_save_LIBS
=$LIBS
9135 cat >conftest.
$ac_ext <<_ACEOF
9138 cat confdefs.h
>>conftest.
$ac_ext
9139 cat >>conftest.
$ac_ext <<_ACEOF
9140 /* end confdefs.h. */
9142 /* Override any GCC internal prototype to avoid an error.
9143 Use char because int might match the return type of a GCC
9144 builtin and then its argument prototype would still apply. */
9148 char __lzo_init_v2 ();
9152 return __lzo_init_v2 ();
9157 rm -f conftest.
$ac_objext conftest
$ac_exeext
9158 if { (ac_try
="$ac_link"
9160 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9161 *) ac_try_echo=$ac_try;;
9163 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9164 $as_echo "$ac_try_echo") >&5
9165 (eval "$ac_link") 2>conftest.er1
9167 grep -v '^ *+' conftest.er1 >conftest.err
9169 cat conftest.err >&5
9170 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9171 (exit $ac_status); } && {
9172 test -z "$ac_c_werror_flag" ||
9173 test ! -s conftest.err
9174 } && test -s conftest$ac_exeext && {
9175 test "$cross_compiling" = yes ||
9176 $as_test_x conftest$ac_exeext
9178 ac_cv_lib_lzo___lzo_init_v2=yes
9180 $as_echo "$as_me: failed program was:" >&5
9181 sed 's/^/| /' conftest.$ac_ext >&5
9183 ac_cv_lib_lzo___lzo_init_v2=no
9186 rm -rf conftest.dSYM
9187 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9188 conftest$ac_exeext conftest.$ac_ext
9189 LIBS=$ac_check_lib_save_LIBS
9191 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lzo___lzo_init_v2" >&5
9192 $as_echo "$ac_cv_lib_lzo___lzo_init_v2" >&6; }
9193 if test $ac_cv_lib_lzo___lzo_init_v2 = yes; then
9196 { $as_echo "$as_me:$LINENO: checking for __lzo_init2 in -llzo" >&5
9197 $as_echo_n "checking for __lzo_init2 in -llzo... " >&6; }
9198 if test "${ac_cv_lib_lzo___lzo_init2+set}" = set; then
9199 $as_echo_n "(cached) " >&6
9201 ac_check_lib_save_LIBS=$LIBS
9203 cat >conftest.$ac_ext <<_ACEOF
9206 cat confdefs.h >>conftest.$ac_ext
9207 cat >>conftest.$ac_ext <<_ACEOF
9208 /* end confdefs.h. */
9210 /* Override any GCC internal prototype to avoid an error.
9211 Use char because int might match the return type of a GCC
9212 builtin and then its argument prototype would still apply. */
9216 char __lzo_init2 ();
9220 return __lzo_init2 ();
9225 rm -f conftest.$ac_objext conftest$ac_exeext
9226 if { (ac_try="$ac_link"
9228 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9229 *) ac_try_echo
=$ac_try;;
9231 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9232 $as_echo "$ac_try_echo") >&5
9233 (eval "$ac_link") 2>conftest.er1
9235 grep -v '^ *+' conftest.er1
>conftest.err
9237 cat conftest.err
>&5
9238 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9239 (exit $ac_status); } && {
9240 test -z "$ac_c_werror_flag" ||
9241 test ! -s conftest.err
9242 } && test -s conftest
$ac_exeext && {
9243 test "$cross_compiling" = yes ||
9244 $as_test_x conftest
$ac_exeext
9246 ac_cv_lib_lzo___lzo_init2
=yes
9248 $as_echo "$as_me: failed program was:" >&5
9249 sed 's/^/| /' conftest.
$ac_ext >&5
9251 ac_cv_lib_lzo___lzo_init2
=no
9254 rm -rf conftest.dSYM
9255 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9256 conftest
$ac_exeext conftest.
$ac_ext
9257 LIBS
=$ac_check_lib_save_LIBS
9259 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_lzo___lzo_init2" >&5
9260 $as_echo "$ac_cv_lib_lzo___lzo_init2" >&6; }
9261 if test $ac_cv_lib_lzo___lzo_init2 = yes; then
9264 { { $as_echo "$as_me:$LINENO: error: LZO library version 1.02 or later is required" >&5
9265 $as_echo "$as_me: error: LZO library version 1.02 or later is required" >&2;}
9266 { (exit 1); exit 1; }; }
9275 LIBS
="$LIBS $LIBLZO"
9276 { $as_echo "$as_me:$LINENO: checking for lzo1x_999_compress" >&5
9277 $as_echo_n "checking for lzo1x_999_compress... " >&6; }
9278 if test "${ac_cv_func_lzo1x_999_compress+set}" = set; then
9279 $as_echo_n "(cached) " >&6
9281 cat >conftest.
$ac_ext <<_ACEOF
9284 cat confdefs.h
>>conftest.
$ac_ext
9285 cat >>conftest.
$ac_ext <<_ACEOF
9286 /* end confdefs.h. */
9287 /* Define lzo1x_999_compress to an innocuous variant, in case <limits.h> declares lzo1x_999_compress.
9288 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9289 #define lzo1x_999_compress innocuous_lzo1x_999_compress
9291 /* System header to define __stub macros and hopefully few prototypes,
9292 which can conflict with char lzo1x_999_compress (); below.
9293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9294 <limits.h> exists even on freestanding compilers. */
9297 # include <limits.h>
9299 # include <assert.h>
9302 #undef lzo1x_999_compress
9304 /* Override any GCC internal prototype to avoid an error.
9305 Use char because int might match the return type of a GCC
9306 builtin and then its argument prototype would still apply. */
9310 char lzo1x_999_compress ();
9311 /* The GNU C library defines this for functions which it implements
9312 to always fail with ENOSYS. Some functions are actually named
9313 something starting with __ and the normal name is an alias. */
9314 #if defined __stub_lzo1x_999_compress || defined __stub___lzo1x_999_compress
9321 return lzo1x_999_compress ();
9326 rm -f conftest.
$ac_objext conftest
$ac_exeext
9327 if { (ac_try
="$ac_link"
9329 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9330 *) ac_try_echo=$ac_try;;
9332 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9333 $as_echo "$ac_try_echo") >&5
9334 (eval "$ac_link") 2>conftest.er1
9336 grep -v '^ *+' conftest.er1 >conftest.err
9338 cat conftest.err >&5
9339 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9340 (exit $ac_status); } && {
9341 test -z "$ac_c_werror_flag" ||
9342 test ! -s conftest.err
9343 } && test -s conftest$ac_exeext && {
9344 test "$cross_compiling" = yes ||
9345 $as_test_x conftest$ac_exeext
9347 ac_cv_func_lzo1x_999_compress=yes
9349 $as_echo "$as_me: failed program was:" >&5
9350 sed 's/^/| /' conftest.$ac_ext >&5
9352 ac_cv_func_lzo1x_999_compress=no
9355 rm -rf conftest.dSYM
9356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9357 conftest$ac_exeext conftest.$ac_ext
9359 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_lzo1x_999_compress" >&5
9360 $as_echo "$ac_cv_func_lzo1x_999_compress" >&6; }
9361 if test $ac_cv_func_lzo1x_999_compress = yes; then
9364 { { $as_echo "$as_me:$LINENO: error: LZO1X-999 must be enabled" >&5
9365 $as_echo "$as_me: error: LZO1X-999 must be enabled" >&2;}
9366 { (exit 1); exit 1; }; }
9370 # LZO version 2 uses lzo/lzo1x.h, while LZO version 1 uses lzo1x.h.
9373 for ac_header in lzo/lzo1x.h lzo1x.h
9375 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9376 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9377 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9378 $as_echo_n "checking for $ac_header... " >&6; }
9379 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9380 $as_echo_n "(cached) " >&6
9382 ac_res=`eval 'as_val=${'$as_ac_Header'}
9383 $as_echo "$as_val"'`
9384 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9385 $as_echo "$ac_res" >&6; }
9387 # Is the header compilable?
9388 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
9389 $as_echo_n "checking $ac_header usability... " >&6; }
9390 cat >conftest.$ac_ext <<_ACEOF
9393 cat confdefs.h >>conftest.$ac_ext
9394 cat >>conftest.$ac_ext <<_ACEOF
9395 /* end confdefs.h. */
9396 $ac_includes_default
9397 #include <$ac_header>
9399 rm -f conftest.$ac_objext
9400 if { (ac_try="$ac_compile"
9402 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9403 *) ac_try_echo
=$ac_try;;
9405 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9406 $as_echo "$ac_try_echo") >&5
9407 (eval "$ac_compile") 2>conftest.er1
9409 grep -v '^ *+' conftest.er1
>conftest.err
9411 cat conftest.err
>&5
9412 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9413 (exit $ac_status); } && {
9414 test -z "$ac_c_werror_flag" ||
9415 test ! -s conftest.err
9416 } && test -s conftest.
$ac_objext; then
9417 ac_header_compiler
=yes
9419 $as_echo "$as_me: failed program was:" >&5
9420 sed 's/^/| /' conftest.
$ac_ext >&5
9422 ac_header_compiler
=no
9425 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9426 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9427 $as_echo "$ac_header_compiler" >&6; }
9429 # Is the header present?
9430 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
9431 $as_echo_n "checking $ac_header presence... " >&6; }
9432 cat >conftest.
$ac_ext <<_ACEOF
9435 cat confdefs.h
>>conftest.
$ac_ext
9436 cat >>conftest.
$ac_ext <<_ACEOF
9437 /* end confdefs.h. */
9438 #include <$ac_header>
9440 if { (ac_try
="$ac_cpp conftest.$ac_ext"
9442 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9443 *) ac_try_echo=$ac_try;;
9445 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9446 $as_echo "$ac_try_echo") >&5
9447 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9449 grep -v '^ *+' conftest.er1 >conftest.err
9451 cat conftest.err >&5
9452 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9453 (exit $ac_status); } >/dev/null && {
9454 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9455 test ! -s conftest.err
9457 ac_header_preproc=yes
9459 $as_echo "$as_me: failed program was:" >&5
9460 sed 's/^/| /' conftest.$ac_ext >&5
9462 ac_header_preproc=no
9465 rm -f conftest.err conftest.$ac_ext
9466 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9467 $as_echo "$ac_header_preproc" >&6; }
9469 # So? What about this header?
9470 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9472 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9473 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9474 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9475 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9476 ac_header_preproc=yes
9479 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9480 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9481 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9482 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9483 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9484 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9485 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9486 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9487 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9488 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9489 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9490 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9494 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9495 $as_echo_n "checking for $ac_header... " >&6; }
9496 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9497 $as_echo_n "(cached) " >&6
9499 eval "$as_ac_Header=\$ac_header_preproc"
9501 ac_res=`eval 'as_val=${'$as_ac_Header'}
9502 $as_echo "$as_val"'`
9503 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9504 $as_echo "$ac_res" >&6; }
9507 if test `eval 'as_val=${'$as_ac_Header'}
9508 $as_echo "$as_val"'` = yes; then
9509 cat >>confdefs.h <<_ACEOF
9510 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9519 { $as_echo "$as_me:$LINENO: checking which GUI Theme to use" >&5
9520 $as_echo_n "checking which GUI Theme to use... " >&6; }
9522 # Check whether --with-theme was given.
9523 if test "${with_theme+set}" = set; then
9524 withval=$with_theme; target_guitheme=$withval
9526 target_guitheme="default"
9529 if test "$target_guitheme" = "default"; then
9530 aros_target_guitheme="Ice"
9532 aros_target_guitheme="$target_guitheme"
9534 { $as_echo "$as_me:$LINENO: result: $aros_target_guitheme" >&5
9535 $as_echo "$aros_target_guitheme" >&6; }
9537 # Find out if we are cross-compiling (ie. if we can't use the host compiler
9540 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
9543 if test "$aros_host_arch" == "darwin" ; then
9547 # Set prefix for target compiler etc. if we're cross-compiling
9548 # (should possibly be earlier but needs to be after AC_PROG_CC)
9549 if test "$cross_compiling" = "yes" ; then
9550 target_tool_prefix=${target_cpu}-elf-
9551 CC=${target_tool_prefix}gcc
9554 # Find all the tools we need to compile. This could be cross-compiling
9555 # though! If that is the case we use the GNU form of the target and
9556 # simply add this to the front of the binary name. This is rather simple,
9557 # but it should work under most circumstances.
9559 # The default tools are to use the same as the host, but only if the
9560 # host and target CPU are the same. With GCC this is normally enough.
9564 aros_shared_ld="$aros_host_ld"
9566 aros_target_mkdep="$aros_host_mkdep"
9567 aros_target_incl_def="$aros_host_incl"
9569 # Extract the first word of "$CC", so it can be a program name with args.
9570 set dummy $CC; ac_word=$2
9571 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9572 $as_echo_n "checking for $ac_word... " >&6; }
9573 if test "${ac_cv_path_aros_kernel_cc+set}" = set; then
9574 $as_echo_n "(cached) " >&6
9576 case $aros_kernel_cc in
9578 ac_cv_path_aros_kernel_cc="$aros_kernel_cc" # Let the user override the test with a path.
9581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9585 test -z "$as_dir" && as_dir=.
9586 for ac_exec_ext in '' $ac_executable_extensions; do
9587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9588 ac_cv_path_aros_kernel_cc="$as_dir/$ac_word$ac_exec_ext"
9589 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9599 aros_kernel_cc=$ac_cv_path_aros_kernel_cc
9600 if test -n "$aros_kernel_cc"; then
9601 { $as_echo "$as_me:$LINENO: result: $aros_kernel_cc" >&5
9602 $as_echo "$aros_kernel_cc" >&6; }
9604 { $as_echo "$as_me:$LINENO: result: no" >&5
9605 $as_echo "no" >&6; }
9610 # The default tools executables to be linked to.
9612 if test "$cross_compiling" = "yes" ; then
9613 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
9614 set dummy ${target_tool_prefix}as; ac_word=$2
9615 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9616 $as_echo_n "checking for $ac_word... " >&6; }
9617 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9618 $as_echo_n "(cached) " >&6
9620 case $aros_target_as_ln in
9622 ac_cv_path_aros_target_as_ln="$aros_target_as_ln" # Let the user override the test with a path.
9625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9629 test -z "$as_dir" && as_dir=.
9630 for ac_exec_ext in '' $ac_executable_extensions; do
9631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9632 ac_cv_path_aros_target_as_ln="$as_dir/$ac_word$ac_exec_ext"
9633 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9643 aros_target_as_ln=$ac_cv_path_aros_target_as_ln
9644 if test -n "$aros_target_as_ln"; then
9645 { $as_echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9646 $as_echo "$aros_target_as_ln" >&6; }
9648 { $as_echo "$as_me:$LINENO: result: no" >&5
9649 $as_echo "no" >&6; }
9654 if test "$GCC" = "yes"; then
9655 aros_gcc_as=`$CC -print-prog-name=as
`
9656 # Extract the first word of "`basename $aros_gcc_[as
]`", so it can be a program name with args.
9657 set dummy `basename $aros_gcc_as`; ac_word=$2
9658 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9659 $as_echo_n "checking for $ac_word... " >&6; }
9660 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9661 $as_echo_n "(cached) " >&6
9663 case $aros_target_as_ln in
9665 ac_cv_path_aros_target_as_ln="$aros_target_as_ln" # Let the user override the test with a path.
9668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9669 for as_dir in `dirname $aros_gcc_as`
9672 test -z "$as_dir" && as_dir=.
9673 for ac_exec_ext in '' $ac_executable_extensions; do
9674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9675 ac_cv_path_aros_target_as_ln="$as_dir/$ac_word$ac_exec_ext"
9676 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9686 aros_target_as_ln=$ac_cv_path_aros_target_as_ln
9687 if test -n "$aros_target_as_ln"; then
9688 { $as_echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9689 $as_echo "$aros_target_as_ln" >&6; }
9691 { $as_echo "$as_me:$LINENO: result: no" >&5
9692 $as_echo "no" >&6; }
9697 if test "$aros_target_as_ln" = ""; then
9698 # Extract the first word of "as", so it can be a program name with args.
9699 set dummy as; ac_word=$2
9700 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9701 $as_echo_n "checking for $ac_word... " >&6; }
9702 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9703 $as_echo_n "(cached) " >&6
9705 case $aros_target_as_ln in
9707 ac_cv_path_aros_target_as_ln="$aros_target_as_ln" # Let the user override the test with a path.
9710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9714 test -z "$as_dir" && as_dir=.
9715 for ac_exec_ext in '' $ac_executable_extensions; do
9716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9717 ac_cv_path_aros_target_as_ln="$as_dir/$ac_word$ac_exec_ext"
9718 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9728 aros_target_as_ln=$ac_cv_path_aros_target_as_ln
9729 if test -n "$aros_target_as_ln"; then
9730 { $as_echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9731 $as_echo "$aros_target_as_ln" >&6; }
9733 { $as_echo "$as_me:$LINENO: result: no" >&5
9734 $as_echo "no" >&6; }
9741 if test "$aros_target_as_ln" = ""; then
9742 { { $as_echo "$as_me:$LINENO: error: as is required to build AROS. Please install and run configure again." >&5
9743 $as_echo "$as_me: error: as is required to build AROS. Please install and run configure again." >&2;}
9744 { (exit 1); exit 1; }; }
9747 if test "$cross_compiling" = "yes" ; then
9748 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
9749 set dummy ${target_tool_prefix}ld; ac_word=$2
9750 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9751 $as_echo_n "checking for $ac_word... " >&6; }
9752 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9753 $as_echo_n "(cached) " >&6
9755 case $aros_kernel_ld in
9757 ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path.
9760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9764 test -z "$as_dir" && as_dir=.
9765 for ac_exec_ext in '' $ac_executable_extensions; do
9766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9767 ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext"
9768 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9778 aros_kernel_ld=$ac_cv_path_aros_kernel_ld
9779 if test -n "$aros_kernel_ld"; then
9780 { $as_echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9781 $as_echo "$aros_kernel_ld" >&6; }
9783 { $as_echo "$as_me:$LINENO: result: no" >&5
9784 $as_echo "no" >&6; }
9789 if test "$GCC" = "yes"; then
9790 aros_gcc_ld=`$CC -print-prog-name=ld
`
9791 # Extract the first word of "`basename $aros_gcc_[ld
]`", so it can be a program name with args.
9792 set dummy `basename $aros_gcc_ld`; ac_word=$2
9793 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9794 $as_echo_n "checking for $ac_word... " >&6; }
9795 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9796 $as_echo_n "(cached) " >&6
9798 case $aros_kernel_ld in
9800 ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path.
9803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9804 for as_dir in `dirname $aros_gcc_ld`
9807 test -z "$as_dir" && as_dir=.
9808 for ac_exec_ext in '' $ac_executable_extensions; do
9809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9810 ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext"
9811 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9821 aros_kernel_ld=$ac_cv_path_aros_kernel_ld
9822 if test -n "$aros_kernel_ld"; then
9823 { $as_echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9824 $as_echo "$aros_kernel_ld" >&6; }
9826 { $as_echo "$as_me:$LINENO: result: no" >&5
9827 $as_echo "no" >&6; }
9832 if test "$aros_kernel_ld" = ""; then
9833 # Extract the first word of "ld", so it can be a program name with args.
9834 set dummy ld; ac_word=$2
9835 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9836 $as_echo_n "checking for $ac_word... " >&6; }
9837 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9838 $as_echo_n "(cached) " >&6
9840 case $aros_kernel_ld in
9842 ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path.
9845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9849 test -z "$as_dir" && as_dir=.
9850 for ac_exec_ext in '' $ac_executable_extensions; do
9851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9852 ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext"
9853 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9863 aros_kernel_ld=$ac_cv_path_aros_kernel_ld
9864 if test -n "$aros_kernel_ld"; then
9865 { $as_echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9866 $as_echo "$aros_kernel_ld" >&6; }
9868 { $as_echo "$as_me:$LINENO: result: no" >&5
9869 $as_echo "no" >&6; }
9876 if test "$aros_kernel_ld" = ""; then
9877 { { $as_echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
9878 $as_echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
9879 { (exit 1); exit 1; }; }
9882 if test "$cross_compiling" = "yes" ; then
9883 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
9884 set dummy ${target_tool_prefix}ar; ac_word=$2
9885 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9886 $as_echo_n "checking for $ac_word... " >&6; }
9887 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9888 $as_echo_n "(cached) " >&6
9890 case $aros_target_ar_ln in
9892 ac_cv_path_aros_target_ar_ln="$aros_target_ar_ln" # Let the user override the test with a path.
9895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9899 test -z "$as_dir" && as_dir=.
9900 for ac_exec_ext in '' $ac_executable_extensions; do
9901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9902 ac_cv_path_aros_target_ar_ln="$as_dir/$ac_word$ac_exec_ext"
9903 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9913 aros_target_ar_ln=$ac_cv_path_aros_target_ar_ln
9914 if test -n "$aros_target_ar_ln"; then
9915 { $as_echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9916 $as_echo "$aros_target_ar_ln" >&6; }
9918 { $as_echo "$as_me:$LINENO: result: no" >&5
9919 $as_echo "no" >&6; }
9924 if test "$GCC" = "yes"; then
9925 aros_gcc_ar=`$CC -print-prog-name=ar`
9926 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9927 set dummy `basename $aros_gcc_ar`; ac_word=$2
9928 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9929 $as_echo_n "checking for $ac_word... " >&6; }
9930 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9931 $as_echo_n "(cached) " >&6
9933 case $aros_target_ar_ln in
9935 ac_cv_path_aros_target_ar_ln="$aros_target_ar_ln" # Let the user override the test with a path.
9938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9939 for as_dir in `dirname $aros_gcc_ar`
9942 test -z "$as_dir" && as_dir=.
9943 for ac_exec_ext in '' $ac_executable_extensions; do
9944 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9945 ac_cv_path_aros_target_ar_ln="$as_dir/$ac_word$ac_exec_ext"
9946 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9956 aros_target_ar_ln=$ac_cv_path_aros_target_ar_ln
9957 if test -n "$aros_target_ar_ln"; then
9958 { $as_echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9959 $as_echo "$aros_target_ar_ln" >&6; }
9961 { $as_echo "$as_me:$LINENO: result: no" >&5
9962 $as_echo "no" >&6; }
9967 if test "$aros_target_ar_ln" = ""; then
9968 # Extract the first word of "ar", so it can be a program name with args.
9969 set dummy ar; ac_word=$2
9970 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9971 $as_echo_n "checking for $ac_word... " >&6; }
9972 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9973 $as_echo_n "(cached) " >&6
9975 case $aros_target_ar_ln in
9977 ac_cv_path_aros_target_ar_ln="$aros_target_ar_ln" # Let the user override the test with a path.
9980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9984 test -z "$as_dir" && as_dir=.
9985 for ac_exec_ext in '' $ac_executable_extensions; do
9986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9987 ac_cv_path_aros_target_ar_ln="$as_dir/$ac_word$ac_exec_ext"
9988 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9998 aros_target_ar_ln=$ac_cv_path_aros_target_ar_ln
9999 if test -n "$aros_target_ar_ln"; then
10000 { $as_echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
10001 $as_echo "$aros_target_ar_ln" >&6; }
10003 { $as_echo "$as_me:$LINENO: result: no" >&5
10004 $as_echo "no" >&6; }
10011 if test "$aros_target_ar_ln" = ""; then
10012 { { $as_echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
10013 $as_echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
10014 { (exit 1); exit 1; }; }
10017 if test "$cross_compiling" = "yes" ; then
10018 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
10019 set dummy ${target_tool_prefix}nm; ac_word=$2
10020 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10021 $as_echo_n "checking for $ac_word... " >&6; }
10022 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
10023 $as_echo_n "(cached) " >&6
10025 case $aros_target_nm_ln in
10027 ac_cv_path_aros_target_nm_ln="$aros_target_nm_ln" # Let the user override the test with a path.
10030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10031 for as_dir in $PATH
10034 test -z "$as_dir" && as_dir=.
10035 for ac_exec_ext in '' $ac_executable_extensions; do
10036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10037 ac_cv_path_aros_target_nm_ln="$as_dir/$ac_word$ac_exec_ext"
10038 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10048 aros_target_nm_ln=$ac_cv_path_aros_target_nm_ln
10049 if test -n "$aros_target_nm_ln"; then
10050 { $as_echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10051 $as_echo "$aros_target_nm_ln" >&6; }
10053 { $as_echo "$as_me:$LINENO: result: no" >&5
10054 $as_echo "no" >&6; }
10059 if test "$GCC" = "yes"; then
10060 aros_gcc_nm=`$CC -print-prog-name=nm
`
10061 # Extract the first word of "`basename $aros_gcc_[nm
]`", so it can be a program name with args.
10062 set dummy `basename $aros_gcc_nm`; ac_word=$2
10063 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10064 $as_echo_n "checking for $ac_word... " >&6; }
10065 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
10066 $as_echo_n "(cached) " >&6
10068 case $aros_target_nm_ln in
10070 ac_cv_path_aros_target_nm_ln="$aros_target_nm_ln" # Let the user override the test with a path.
10073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10074 for as_dir in `dirname $aros_gcc_nm`
10077 test -z "$as_dir" && as_dir=.
10078 for ac_exec_ext in '' $ac_executable_extensions; do
10079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10080 ac_cv_path_aros_target_nm_ln="$as_dir/$ac_word$ac_exec_ext"
10081 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10091 aros_target_nm_ln=$ac_cv_path_aros_target_nm_ln
10092 if test -n "$aros_target_nm_ln"; then
10093 { $as_echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10094 $as_echo "$aros_target_nm_ln" >&6; }
10096 { $as_echo "$as_me:$LINENO: result: no" >&5
10097 $as_echo "no" >&6; }
10102 if test "$aros_target_nm_ln" = ""; then
10103 # Extract the first word of "nm", so it can be a program name with args.
10104 set dummy nm; ac_word=$2
10105 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10106 $as_echo_n "checking for $ac_word... " >&6; }
10107 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
10108 $as_echo_n "(cached) " >&6
10110 case $aros_target_nm_ln in
10112 ac_cv_path_aros_target_nm_ln="$aros_target_nm_ln" # Let the user override the test with a path.
10115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10116 for as_dir in $PATH
10119 test -z "$as_dir" && as_dir=.
10120 for ac_exec_ext in '' $ac_executable_extensions; do
10121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10122 ac_cv_path_aros_target_nm_ln="$as_dir/$ac_word$ac_exec_ext"
10123 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10133 aros_target_nm_ln=$ac_cv_path_aros_target_nm_ln
10134 if test -n "$aros_target_nm_ln"; then
10135 { $as_echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10136 $as_echo "$aros_target_nm_ln" >&6; }
10138 { $as_echo "$as_me:$LINENO: result: no" >&5
10139 $as_echo "no" >&6; }
10146 if test "$aros_target_nm_ln" = ""; then
10147 { { $as_echo "$as_me:$LINENO: error: nm is required to build AROS. Please install and run configure again." >&5
10148 $as_echo "$as_me: error: nm is required to build AROS. Please install and run configure again." >&2;}
10149 { (exit 1); exit 1; }; }
10152 if test "$cross_compiling" = "yes" ; then
10153 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
10154 set dummy ${target_tool_prefix}objcopy; ac_word=$2
10155 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10156 $as_echo_n "checking for $ac_word... " >&6; }
10157 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10158 $as_echo_n "(cached) " >&6
10160 case $aros_target_objcopy_ln in
10162 ac_cv_path_aros_target_objcopy_ln="$aros_target_objcopy_ln" # Let the user override the test with a path.
10165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10166 for as_dir in $PATH
10169 test -z "$as_dir" && as_dir=.
10170 for ac_exec_ext in '' $ac_executable_extensions; do
10171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10172 ac_cv_path_aros_target_objcopy_ln="$as_dir/$ac_word$ac_exec_ext"
10173 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10183 aros_target_objcopy_ln=$ac_cv_path_aros_target_objcopy_ln
10184 if test -n "$aros_target_objcopy_ln"; then
10185 { $as_echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10186 $as_echo "$aros_target_objcopy_ln" >&6; }
10188 { $as_echo "$as_me:$LINENO: result: no" >&5
10189 $as_echo "no" >&6; }
10194 if test "$GCC" = "yes"; then
10195 aros_gcc_objcopy=`$CC -print-prog-name=objcopy
`
10196 # Extract the first word of "`basename $aros_gcc_[objcopy
]`", so it can be a program name with args.
10197 set dummy `basename $aros_gcc_objcopy`; ac_word=$2
10198 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10199 $as_echo_n "checking for $ac_word... " >&6; }
10200 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10201 $as_echo_n "(cached) " >&6
10203 case $aros_target_objcopy_ln in
10205 ac_cv_path_aros_target_objcopy_ln="$aros_target_objcopy_ln" # Let the user override the test with a path.
10208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10209 for as_dir in `dirname $aros_gcc_objcopy`
10212 test -z "$as_dir" && as_dir=.
10213 for ac_exec_ext in '' $ac_executable_extensions; do
10214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10215 ac_cv_path_aros_target_objcopy_ln="$as_dir/$ac_word$ac_exec_ext"
10216 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10226 aros_target_objcopy_ln=$ac_cv_path_aros_target_objcopy_ln
10227 if test -n "$aros_target_objcopy_ln"; then
10228 { $as_echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10229 $as_echo "$aros_target_objcopy_ln" >&6; }
10231 { $as_echo "$as_me:$LINENO: result: no" >&5
10232 $as_echo "no" >&6; }
10237 if test "$aros_target_objcopy_ln" = ""; then
10238 # Extract the first word of "objcopy", so it can be a program name with args.
10239 set dummy objcopy; ac_word=$2
10240 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10241 $as_echo_n "checking for $ac_word... " >&6; }
10242 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10243 $as_echo_n "(cached) " >&6
10245 case $aros_target_objcopy_ln in
10247 ac_cv_path_aros_target_objcopy_ln="$aros_target_objcopy_ln" # Let the user override the test with a path.
10250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10251 for as_dir in $PATH
10254 test -z "$as_dir" && as_dir=.
10255 for ac_exec_ext in '' $ac_executable_extensions; do
10256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10257 ac_cv_path_aros_target_objcopy_ln="$as_dir/$ac_word$ac_exec_ext"
10258 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10268 aros_target_objcopy_ln=$ac_cv_path_aros_target_objcopy_ln
10269 if test -n "$aros_target_objcopy_ln"; then
10270 { $as_echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10271 $as_echo "$aros_target_objcopy_ln" >&6; }
10273 { $as_echo "$as_me:$LINENO: result: no" >&5
10274 $as_echo "no" >&6; }
10281 if test "$aros_target_objcopy_ln" = ""; then
10282 { { $as_echo "$as_me:$LINENO: error: objcopy is required to build AROS. Please install and run configure again." >&5
10283 $as_echo "$as_me: error: objcopy is required to build AROS. Please install and run configure again." >&2;}
10284 { (exit 1); exit 1; }; }
10287 if test "$cross_compiling" = "yes" ; then
10288 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
10289 set dummy ${target_tool_prefix}objdump; ac_word=$2
10290 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10291 $as_echo_n "checking for $ac_word... " >&6; }
10292 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10293 $as_echo_n "(cached) " >&6
10295 case $aros_target_objdump_ln in
10297 ac_cv_path_aros_target_objdump_ln="$aros_target_objdump_ln" # Let the user override the test with a path.
10300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10301 for as_dir in $PATH
10304 test -z "$as_dir" && as_dir=.
10305 for ac_exec_ext in '' $ac_executable_extensions; do
10306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10307 ac_cv_path_aros_target_objdump_ln="$as_dir/$ac_word$ac_exec_ext"
10308 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10318 aros_target_objdump_ln=$ac_cv_path_aros_target_objdump_ln
10319 if test -n "$aros_target_objdump_ln"; then
10320 { $as_echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10321 $as_echo "$aros_target_objdump_ln" >&6; }
10323 { $as_echo "$as_me:$LINENO: result: no" >&5
10324 $as_echo "no" >&6; }
10329 if test "$GCC" = "yes"; then
10330 aros_gcc_objdump=`$CC -print-prog-name=objdump
`
10331 # Extract the first word of "`basename $aros_gcc_[objdump
]`", so it can be a program name with args.
10332 set dummy `basename $aros_gcc_objdump`; ac_word=$2
10333 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10334 $as_echo_n "checking for $ac_word... " >&6; }
10335 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10336 $as_echo_n "(cached) " >&6
10338 case $aros_target_objdump_ln in
10340 ac_cv_path_aros_target_objdump_ln="$aros_target_objdump_ln" # Let the user override the test with a path.
10343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10344 for as_dir in `dirname $aros_gcc_objdump`
10347 test -z "$as_dir" && as_dir=.
10348 for ac_exec_ext in '' $ac_executable_extensions; do
10349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10350 ac_cv_path_aros_target_objdump_ln="$as_dir/$ac_word$ac_exec_ext"
10351 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10361 aros_target_objdump_ln=$ac_cv_path_aros_target_objdump_ln
10362 if test -n "$aros_target_objdump_ln"; then
10363 { $as_echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10364 $as_echo "$aros_target_objdump_ln" >&6; }
10366 { $as_echo "$as_me:$LINENO: result: no" >&5
10367 $as_echo "no" >&6; }
10372 if test "$aros_target_objdump_ln" = ""; then
10373 # Extract the first word of "objdump", so it can be a program name with args.
10374 set dummy objdump; ac_word=$2
10375 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10376 $as_echo_n "checking for $ac_word... " >&6; }
10377 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10378 $as_echo_n "(cached) " >&6
10380 case $aros_target_objdump_ln in
10382 ac_cv_path_aros_target_objdump_ln="$aros_target_objdump_ln" # Let the user override the test with a path.
10385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10386 for as_dir in $PATH
10389 test -z "$as_dir" && as_dir=.
10390 for ac_exec_ext in '' $ac_executable_extensions; do
10391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10392 ac_cv_path_aros_target_objdump_ln="$as_dir/$ac_word$ac_exec_ext"
10393 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10403 aros_target_objdump_ln=$ac_cv_path_aros_target_objdump_ln
10404 if test -n "$aros_target_objdump_ln"; then
10405 { $as_echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10406 $as_echo "$aros_target_objdump_ln" >&6; }
10408 { $as_echo "$as_me:$LINENO: result: no" >&5
10409 $as_echo "no" >&6; }
10416 if test "$aros_target_objdump_ln" = ""; then
10417 { { $as_echo "$as_me:$LINENO: error: objdump is required to build AROS. Please install and run configure again." >&5
10418 $as_echo "$as_me: error: objdump is required to build AROS. Please install and run configure again." >&2;}
10419 { (exit 1); exit 1; }; }
10422 if test "$cross_compiling" = "yes" ; then
10423 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
10424 set dummy ${target_tool_prefix}ranlib; ac_word=$2
10425 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10426 $as_echo_n "checking for $ac_word... " >&6; }
10427 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10428 $as_echo_n "(cached) " >&6
10430 case $aros_target_ranlib_ln in
10432 ac_cv_path_aros_target_ranlib_ln="$aros_target_ranlib_ln" # Let the user override the test with a path.
10435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10436 for as_dir in $PATH
10439 test -z "$as_dir" && as_dir=.
10440 for ac_exec_ext in '' $ac_executable_extensions; do
10441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10442 ac_cv_path_aros_target_ranlib_ln="$as_dir/$ac_word$ac_exec_ext"
10443 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10453 aros_target_ranlib_ln=$ac_cv_path_aros_target_ranlib_ln
10454 if test -n "$aros_target_ranlib_ln"; then
10455 { $as_echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10456 $as_echo "$aros_target_ranlib_ln" >&6; }
10458 { $as_echo "$as_me:$LINENO: result: no" >&5
10459 $as_echo "no" >&6; }
10464 if test "$GCC" = "yes"; then
10465 aros_gcc_ranlib=`$CC -print-prog-name=ranlib
`
10466 # Extract the first word of "`basename $aros_gcc_[ranlib
]`", so it can be a program name with args.
10467 set dummy `basename $aros_gcc_ranlib`; ac_word=$2
10468 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10469 $as_echo_n "checking for $ac_word... " >&6; }
10470 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10471 $as_echo_n "(cached) " >&6
10473 case $aros_target_ranlib_ln in
10475 ac_cv_path_aros_target_ranlib_ln="$aros_target_ranlib_ln" # Let the user override the test with a path.
10478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10479 for as_dir in `dirname $aros_gcc_ranlib`
10482 test -z "$as_dir" && as_dir=.
10483 for ac_exec_ext in '' $ac_executable_extensions; do
10484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10485 ac_cv_path_aros_target_ranlib_ln="$as_dir/$ac_word$ac_exec_ext"
10486 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10496 aros_target_ranlib_ln=$ac_cv_path_aros_target_ranlib_ln
10497 if test -n "$aros_target_ranlib_ln"; then
10498 { $as_echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10499 $as_echo "$aros_target_ranlib_ln" >&6; }
10501 { $as_echo "$as_me:$LINENO: result: no" >&5
10502 $as_echo "no" >&6; }
10507 if test "$aros_target_ranlib_ln" = ""; then
10508 # Extract the first word of "ranlib", so it can be a program name with args.
10509 set dummy ranlib; ac_word=$2
10510 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10511 $as_echo_n "checking for $ac_word... " >&6; }
10512 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10513 $as_echo_n "(cached) " >&6
10515 case $aros_target_ranlib_ln in
10517 ac_cv_path_aros_target_ranlib_ln="$aros_target_ranlib_ln" # Let the user override the test with a path.
10520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10521 for as_dir in $PATH
10524 test -z "$as_dir" && as_dir=.
10525 for ac_exec_ext in '' $ac_executable_extensions; do
10526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10527 ac_cv_path_aros_target_ranlib_ln="$as_dir/$ac_word$ac_exec_ext"
10528 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10538 aros_target_ranlib_ln=$ac_cv_path_aros_target_ranlib_ln
10539 if test -n "$aros_target_ranlib_ln"; then
10540 { $as_echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10541 $as_echo "$aros_target_ranlib_ln" >&6; }
10543 { $as_echo "$as_me:$LINENO: result: no" >&5
10544 $as_echo "no" >&6; }
10551 if test "$aros_target_ranlib_ln" = ""; then
10552 { { $as_echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
10553 $as_echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
10554 { (exit 1); exit 1; }; }
10557 if test "$cross_compiling" = "yes" ; then
10558 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
10559 set dummy ${target_tool_prefix}strip; ac_word=$2
10560 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10561 $as_echo_n "checking for $ac_word... " >&6; }
10562 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10563 $as_echo_n "(cached) " >&6
10565 case $aros_target_strip_ln in
10567 ac_cv_path_aros_target_strip_ln="$aros_target_strip_ln" # Let the user override the test with a path.
10570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10571 for as_dir in $PATH
10574 test -z "$as_dir" && as_dir=.
10575 for ac_exec_ext in '' $ac_executable_extensions; do
10576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10577 ac_cv_path_aros_target_strip_ln="$as_dir/$ac_word$ac_exec_ext"
10578 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10588 aros_target_strip_ln=$ac_cv_path_aros_target_strip_ln
10589 if test -n "$aros_target_strip_ln"; then
10590 { $as_echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10591 $as_echo "$aros_target_strip_ln" >&6; }
10593 { $as_echo "$as_me:$LINENO: result: no" >&5
10594 $as_echo "no" >&6; }
10599 if test "$GCC" = "yes"; then
10600 aros_gcc_strip=`$CC -print-prog-name=strip
`
10601 # Extract the first word of "`basename $aros_gcc_[strip
]`", so it can be a program name with args.
10602 set dummy `basename $aros_gcc_strip`; ac_word=$2
10603 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10604 $as_echo_n "checking for $ac_word... " >&6; }
10605 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10606 $as_echo_n "(cached) " >&6
10608 case $aros_target_strip_ln in
10610 ac_cv_path_aros_target_strip_ln="$aros_target_strip_ln" # Let the user override the test with a path.
10613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10614 for as_dir in `dirname $aros_gcc_strip`
10617 test -z "$as_dir" && as_dir=.
10618 for ac_exec_ext in '' $ac_executable_extensions; do
10619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10620 ac_cv_path_aros_target_strip_ln="$as_dir/$ac_word$ac_exec_ext"
10621 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10631 aros_target_strip_ln=$ac_cv_path_aros_target_strip_ln
10632 if test -n "$aros_target_strip_ln"; then
10633 { $as_echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10634 $as_echo "$aros_target_strip_ln" >&6; }
10636 { $as_echo "$as_me:$LINENO: result: no" >&5
10637 $as_echo "no" >&6; }
10642 if test "$aros_target_strip_ln" = ""; then
10643 # Extract the first word of "strip", so it can be a program name with args.
10644 set dummy strip; ac_word=$2
10645 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
10646 $as_echo_n "checking for $ac_word... " >&6; }
10647 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10648 $as_echo_n "(cached) " >&6
10650 case $aros_target_strip_ln in
10652 ac_cv_path_aros_target_strip_ln="$aros_target_strip_ln" # Let the user override the test with a path.
10655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10656 for as_dir in $PATH
10659 test -z "$as_dir" && as_dir=.
10660 for ac_exec_ext in '' $ac_executable_extensions; do
10661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10662 ac_cv_path_aros_target_strip_ln="$as_dir/$ac_word$ac_exec_ext"
10663 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10673 aros_target_strip_ln=$ac_cv_path_aros_target_strip_ln
10674 if test -n "$aros_target_strip_ln"; then
10675 { $as_echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10676 $as_echo "$aros_target_strip_ln" >&6; }
10678 { $as_echo "$as_me:$LINENO: result: no" >&5
10679 $as_echo "no" >&6; }
10686 if test "$aros_target_strip_ln" = ""; then
10687 { { $as_echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
10688 $as_echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
10689 { (exit 1); exit 1; }; }
10692 if test "$GCC" = "yes"; then
10693 aros_target_cc_path=`$aros_kernel_cc -print-search-dirs |
grep "programs: =" | cut
-c 12-`
10696 aros_hostcfg_dir="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
10697 aros_targetcfg_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
10698 aros_inc_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
10699 aros_gendir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
10700 aros_geninc_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
10701 aros_tools_dir="bin/${aros_host_arch}-${aros_host_cpu}/tools"
10702 aros_scripts_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
10704 # aros_cc_pre is a variable that is added to the front of the compiler name
10705 # in the generated aros-gcc shell script. We need this to enable the cache
10706 # to work across cleaned builds. Also, support DISTCC using the correct
10707 # environment variable.
10710 if test "x${DISTCC}" != "x" ; then
10711 if test "x${CCACHE}" != "x" ; then
10712 aros_cc_pre="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
10714 aros_cc_pre="${DISTCC} "
10717 if test "x${CCACHE}" != "x" ; then
10718 aros_cc_pre="${CCACHE} "
10722 prefix="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
10724 aros_target_nostdinc_cflags=-nostdinc
10726 aros_target_nostartup_ldflags=-nostartfiles
10728 aros_target_nix_ldflags=-nix
10730 aros_target_detach_ldflags=-detach
10732 aros_target_nostdlib_ldflags=-nostdlib
10736 aros_target_cc="${prefix}-gcc"
10737 aros_target_as="${prefix}-as"
10738 aros_target_ld="${prefix}-ld"
10739 aros_target_ar="${prefix}-ar $aros_target_ar_flags"
10740 aros_target_objcopy=${prefix}-objcopy
10741 aros_target_objdump=${prefix}-objdump
10742 aros_target_ranlib="${prefix}-ranlib $aros_target_ranlib_flags"
10743 aros_target_nm="${prefix}-nm $aros_target_nm_flags"
10744 aros_kernel_nm="${prefix}-nm"
10745 aros_target_strip=${prefix}-strip
10747 # Find the system include path. We can suggest that an alternative is
10748 # used if we don't get it correct. The default is to use /usr/include.
10749 # Which is set in the aros_target_incl_def variable.
10751 # Check whether --enable-includes was given.
10752 if test "${enable_includes+set}" = set; then
10753 enableval=$enable_includes; aros_target_incl=$enable_includes
10755 aros_target_incl=$aros_target_incl_def
10759 { $as_echo "$as_me:$LINENO: checking for the target compiler's include path" >&5
10760 $as_echo_n "checking for the target compiler's include path... " >&6; }
10761 if test "$aros_target_cc_includes" = "" ; then
10762 #try to guess where the directory is
10763 aros_target_cc_includes=`dirname \
`${aros_kernel_cc} -print-libgcc-file-name\``/include
10764 if ! test -d $aros_target_cc_includes; then
10765 #the directory doesn't exist, we need to do some more work
10766 aros_target_cc_includes=${PWD}/${aros_gendir}/cc_include
10768 #these are the headers we're looling for
10769 headers="limits.h mmintrin.h stdbool.h syslimits.h float.h \
10770 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
10774 for h in $headers; do
10775 #which other headers each of the above headers needs?
10776 deps=$(echo "#include <$h>" | \
10777 $aros_host_cc -E -M - 2>/dev/null | \
10778 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
10780 #copy all the needed headers to a directory beneath gendir
10783 dir=${aros_target_cc_includes}$(echo $(dirname $d) | \
10784 sed -n "s,^.*/include\(/.*\),\1,p")
10785 ! test -d $dir && mkdir -p $dir
10786 ! test -f $dir/$h && { cp $d $dir; chmod u+w $dir/$h; }
10791 { $as_echo "$as_me:$LINENO: result: $aros_target_cc_includes" >&5
10792 $as_echo "$aros_target_cc_includes" >&6; }
10795 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
10796 # On GCC >= 4.0 -iquote should be used
10800 save_cflags="$CFLAGS"
10801 CC="$aros_kernel_cc"
10803 { $as_echo "$as_me:$LINENO: checking whether ${CC} accepts -iquote" >&5
10804 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
10805 cat >conftest.$ac_ext <<_ACEOF
10808 cat confdefs.h >>conftest.$ac_ext
10809 cat >>conftest.$ac_ext <<_ACEOF
10810 /* end confdefs.h. */
10820 rm -f conftest.$ac_objext
10821 if { (ac_try="$ac_compile"
10822 case "(($ac_try" in
10823 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10824 *) ac_try_echo
=$ac_try;;
10826 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10827 $as_echo "$ac_try_echo") >&5
10828 (eval "$ac_compile") 2>conftest.er1
10830 grep -v '^ *+' conftest.er1
>conftest.err
10832 cat conftest.err
>&5
10833 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10834 (exit $ac_status); } && {
10835 test -z "$ac_c_werror_flag" ||
10836 test ! -s conftest.err
10837 } && test -s conftest.
$ac_objext; then
10840 $as_echo "$as_me: failed program was:" >&5
10841 sed 's/^/| /' conftest.
$ac_ext >&5
10846 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10847 { $as_echo "$as_me:$LINENO: result: $has_iquote" >&5
10848 $as_echo "$has_iquote" >&6; }
10849 if test "x-$has_iquote" = "x-yes" ; then
10850 aros_cflags_iquote
=-iquote
10851 aros_cflags_iquote_end
=
10853 aros_cflags_iquote
=-I
10854 aros_cflags_iquote_end
=-I-
10857 CFLAGS
="$save_cflags"
10863 { $as_echo "$as_me:$LINENO: checking for default resolution of WBScreen" >&5
10864 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
10866 # Check whether --with-resolution was given.
10867 if test "${with_resolution+set}" = set; then
10868 withval
=$with_resolution; resolution
=$withval
10873 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
10874 if test "$resolution" = "yes" ; then
10877 if test "$resolution" = "no" ; then
10880 if test "$resolution" != "none" ; then
10881 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
10882 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
10883 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
10885 { $as_echo "$as_me:$LINENO: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
10886 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
10887 aros_cv_default_wbwidth
=$aros_default_wbwidth
10888 aros_cv_default_wbheight
=$aros_default_wbheight
10889 aros_cv_default_wbdepth
=$aros_default_wbdepth
10891 { $as_echo "$as_me:$LINENO: checking if bochs hack is enabled" >&5
10892 $as_echo_n "checking if bochs hack is enabled... " >&6; }
10893 # Check whether --enable-bochs_hack was given.
10894 if test "${enable_bochs_hack+set}" = set; then
10895 enableval
=$enable_bochs_hack; bochs_hack
="yes"
10900 if test "$bochs_hack" = "yes" ; then
10901 aros_bochs_hack
="1"
10903 { $as_echo "$as_me:$LINENO: result: $bochs_hack" >&5
10904 $as_echo "$bochs_hack" >&6; }
10906 { $as_echo "$as_me:$LINENO: checking if serial debug is enabled" >&5
10907 $as_echo_n "checking if serial debug is enabled... " >&6; }
10909 # Check whether --with-serial-debug was given.
10910 if test "${with_serial_debug+set}" = set; then
10911 withval
=$with_serial_debug; serial_debug
=$withval
10916 if test "$aros_serial_debug" = 0 ; then
10917 serial_debug_forced
=""
10918 if test "$serial_debug" = "yes" ; then
10921 if test "$serial_debug" = "no" ; then
10922 serial_debug
="none"
10925 serial_debug_forced
="(forced)"
10926 serial_debug
=$aros_serial_debug
10928 if test "$serial_debug" != "none" ; then
10929 aros_serial_debug
=$serial_debug
10930 { $as_echo "$as_me:$LINENO: result: $serial_debug_forced on port $serial_debug" >&5
10931 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
10933 { $as_echo "$as_me:$LINENO: result: no" >&5
10934 $as_echo "no" >&6; }
10937 { $as_echo "$as_me:$LINENO: checking if palm debug hack is enabled" >&5
10938 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
10939 # Check whether --enable-palm_debug_hack was given.
10940 if test "${enable_palm_debug_hack+set}" = set; then
10941 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
10943 palm_debug_hack
="no"
10946 if test "$palm_debug_hack" = "yes" ; then
10947 aros_palm_debug_hack
="1"
10949 { $as_echo "$as_me:$LINENO: result: $palm_debug_hack" >&5
10950 $as_echo "$palm_debug_hack" >&6; }
10953 { $as_echo "$as_me:$LINENO: checking if nesting supervisor support is enabled" >&5
10954 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
10955 # Check whether --enable-nesting_supervisor was given.
10956 if test "${enable_nesting_supervisor+set}" = set; then
10957 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
10959 nesting_supervisor
="no"
10962 if test "$nesting_supervisor" = "yes" ; then
10963 aros_nesting_supervisor
="1"
10965 { $as_echo "$as_me:$LINENO: result: $nesting_supervisor" >&5
10966 $as_echo "$nesting_supervisor" >&6; }
10969 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
10971 if test "x-$aros_host_arch" != "x-darwin" ; then
10972 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
10973 $as_echo_n "checking for dlopen... " >&6; }
10974 if test "${ac_cv_func_dlopen+set}" = set; then
10975 $as_echo_n "(cached) " >&6
10977 cat >conftest.
$ac_ext <<_ACEOF
10980 cat confdefs.h
>>conftest.
$ac_ext
10981 cat >>conftest.
$ac_ext <<_ACEOF
10982 /* end confdefs.h. */
10983 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10985 #define dlopen innocuous_dlopen
10987 /* System header to define __stub macros and hopefully few prototypes,
10988 which can conflict with char dlopen (); below.
10989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10990 <limits.h> exists even on freestanding compilers. */
10993 # include <limits.h>
10995 # include <assert.h>
11000 /* Override any GCC internal prototype to avoid an error.
11001 Use char because int might match the return type of a GCC
11002 builtin and then its argument prototype would still apply. */
11007 /* The GNU C library defines this for functions which it implements
11008 to always fail with ENOSYS. Some functions are actually named
11009 something starting with __ and the normal name is an alias. */
11010 #if defined __stub_dlopen || defined __stub___dlopen
11022 rm -f conftest.
$ac_objext conftest
$ac_exeext
11023 if { (ac_try
="$ac_link"
11024 case "(($ac_try" in
11025 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11026 *) ac_try_echo=$ac_try;;
11028 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11029 $as_echo "$ac_try_echo") >&5
11030 (eval "$ac_link") 2>conftest.er1
11032 grep -v '^ *+' conftest.er1 >conftest.err
11034 cat conftest.err >&5
11035 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11036 (exit $ac_status); } && {
11037 test -z "$ac_c_werror_flag" ||
11038 test ! -s conftest.err
11039 } && test -s conftest$ac_exeext && {
11040 test "$cross_compiling" = yes ||
11041 $as_test_x conftest$ac_exeext
11043 ac_cv_func_dlopen=yes
11045 $as_echo "$as_me: failed program was:" >&5
11046 sed 's/^/| /' conftest.$ac_ext >&5
11048 ac_cv_func_dlopen=no
11051 rm -rf conftest.dSYM
11052 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11053 conftest$ac_exeext conftest.$ac_ext
11055 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11056 $as_echo "$ac_cv_func_dlopen" >&6; }
11057 if test $ac_cv_func_dlopen = yes; then
11063 if test "x-$have_dl" = "x-no" ; then
11064 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11065 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11066 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11067 $as_echo_n "(cached) " >&6
11069 ac_check_lib_save_LIBS=$LIBS
11071 cat >conftest.$ac_ext <<_ACEOF
11074 cat confdefs.h >>conftest.$ac_ext
11075 cat >>conftest.$ac_ext <<_ACEOF
11076 /* end confdefs.h. */
11078 /* Override any GCC internal prototype to avoid an error.
11079 Use char because int might match the return type of a GCC
11080 builtin and then its argument prototype would still apply. */
11093 rm -f conftest.$ac_objext conftest$ac_exeext
11094 if { (ac_try="$ac_link"
11095 case "(($ac_try" in
11096 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11097 *) ac_try_echo
=$ac_try;;
11099 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11100 $as_echo "$ac_try_echo") >&5
11101 (eval "$ac_link") 2>conftest.er1
11103 grep -v '^ *+' conftest.er1
>conftest.err
11105 cat conftest.err
>&5
11106 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11107 (exit $ac_status); } && {
11108 test -z "$ac_c_werror_flag" ||
11109 test ! -s conftest.err
11110 } && test -s conftest
$ac_exeext && {
11111 test "$cross_compiling" = yes ||
11112 $as_test_x conftest
$ac_exeext
11114 ac_cv_lib_dl_dlopen
=yes
11116 $as_echo "$as_me: failed program was:" >&5
11117 sed 's/^/| /' conftest.
$ac_ext >&5
11119 ac_cv_lib_dl_dlopen
=no
11122 rm -rf conftest.dSYM
11123 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11124 conftest
$ac_exeext conftest.
$ac_ext
11125 LIBS
=$ac_check_lib_save_LIBS
11127 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11128 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11129 if test $ac_cv_lib_dl_dlopen = yes; then
11131 aros_host_ldflags
="$aros_host_ldflags -ldl"
11137 if test "x-$have_dl" = "x-no" ; then
11138 { { $as_echo "$as_me:$LINENO: error: dlopen() dynamic linker functions not available" >&5
11139 $as_echo "$as_me: error: dlopen() dynamic linker functions not available" >&2;}
11140 { (exit 1); exit 1; }; }
11145 # Check whether --enable-x11_hidd was given.
11146 if test "${enable_x11_hidd+set}" = set; then
11147 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
11152 case "x-$x11_hidd" in
11153 x-yes|x-no|x-auto
) ;;
11154 *) x11_hidd
="auto" ;;
11157 if test "x-$x11_hidd" != "x-no" ; then
11159 { $as_echo "$as_me:$LINENO: checking for X" >&5
11160 $as_echo_n "checking for X... " >&6; }
11163 # Check whether --with-x was given.
11164 if test "${with_x+set}" = set; then
11168 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11169 if test "x$with_x" = xno
; then
11170 # The user explicitly disabled X.
11173 case $x_includes,$x_libraries in #(
11174 *\'*) { { $as_echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
11175 $as_echo "$as_me: error: Cannot use X directory names containing '" >&2;}
11176 { (exit 1); exit 1; }; };; #(
11177 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then
11178 $as_echo_n "(cached) " >&6
11180 # One or both of the vars are not set, and there is no cached value.
11181 ac_x_includes
=no ac_x_libraries
=no
11182 rm -f -r conftest.dir
11183 if mkdir conftest.dir
; then
11185 cat >Imakefile
<<'_ACEOF'
11187 @echo incroot='${INCROOT}'
11189 @echo usrlibdir='${USRLIBDIR}'
11191 @echo libdir='${LIBDIR}'
11193 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
11194 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11195 for ac_var
in incroot usrlibdir libdir
; do
11196 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
11198 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11199 for ac_extension
in a so sl dylib la dll
; do
11200 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
11201 test -f "$ac_im_libdir/libX11.$ac_extension"; then
11202 ac_im_usrlibdir
=$ac_im_libdir; break
11205 # Screen out bogus values from the imake configuration. They are
11206 # bogus both because they are the default anyway, and because
11207 # using them would break gcc on systems where it needs fixed includes.
11208 case $ac_im_incroot in
11209 /usr
/include
) ac_x_includes
= ;;
11210 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
11212 case $ac_im_usrlibdir in
11213 /usr
/lib |
/lib
) ;;
11214 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
11218 rm -f -r conftest.dir
11221 # Standard set of common directories for X headers.
11222 # Check X11 before X11Rn because it is often a symlink to the current release.
11234 /usr/local/X11/include
11235 /usr/local/X11R6/include
11236 /usr/local/X11R5/include
11237 /usr/local/X11R4/include
11239 /usr/local/include/X11
11240 /usr/local/include/X11R6
11241 /usr/local/include/X11R5
11242 /usr/local/include/X11R4
11246 /usr/XFree86/include/X11
11250 /usr/unsupported/include
11251 /usr/athena/include
11252 /usr/local/x11r5/include
11253 /usr/lpp/Xamples/include
11255 /usr/openwin/include
11256 /usr/openwin/share/include'
11258 if test "$ac_x_includes" = no
; then
11259 # Guess where to find include files, by looking for Xlib.h.
11260 # First, try using that file with no special directory specified.
11261 cat >conftest.
$ac_ext <<_ACEOF
11264 cat confdefs.h
>>conftest.
$ac_ext
11265 cat >>conftest.
$ac_ext <<_ACEOF
11266 /* end confdefs.h. */
11267 #include <X11/Xlib.h>
11269 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11270 case "(($ac_try" in
11271 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11272 *) ac_try_echo=$ac_try;;
11274 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11275 $as_echo "$ac_try_echo") >&5
11276 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11278 grep -v '^ *+' conftest.er1 >conftest.err
11280 cat conftest.err >&5
11281 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11282 (exit $ac_status); } >/dev/null && {
11283 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11284 test ! -s conftest.err
11286 # We can compile using X headers with no special include directory.
11289 $as_echo "$as_me: failed program was:" >&5
11290 sed 's/^/| /' conftest.$ac_ext >&5
11292 for ac_dir in $ac_x_header_dirs; do
11293 if test -r "$ac_dir/X11/Xlib.h"; then
11294 ac_x_includes=$ac_dir
11300 rm -f conftest.err conftest.$ac_ext
11301 fi # $ac_x_includes = no
11303 if test "$ac_x_libraries" = no; then
11304 # Check for the libraries.
11305 # See if we find them without any special options.
11306 # Don't add to $LIBS permanently.
11309 cat >conftest.$ac_ext <<_ACEOF
11312 cat confdefs.h >>conftest.$ac_ext
11313 cat >>conftest.$ac_ext <<_ACEOF
11314 /* end confdefs.h. */
11315 #include <X11/Xlib.h>
11324 rm -f conftest.$ac_objext conftest$ac_exeext
11325 if { (ac_try="$ac_link"
11326 case "(($ac_try" in
11327 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11328 *) ac_try_echo
=$ac_try;;
11330 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11331 $as_echo "$ac_try_echo") >&5
11332 (eval "$ac_link") 2>conftest.er1
11334 grep -v '^ *+' conftest.er1
>conftest.err
11336 cat conftest.err
>&5
11337 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11338 (exit $ac_status); } && {
11339 test -z "$ac_c_werror_flag" ||
11340 test ! -s conftest.err
11341 } && test -s conftest
$ac_exeext && {
11342 test "$cross_compiling" = yes ||
11343 $as_test_x conftest
$ac_exeext
11346 # We can link X programs with no special library path.
11349 $as_echo "$as_me: failed program was:" >&5
11350 sed 's/^/| /' conftest.
$ac_ext >&5
11353 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
11355 # Don't even attempt the hair of trying to link an X program!
11356 for ac_extension
in a so sl dylib la dll
; do
11357 if test -r "$ac_dir/libX11.$ac_extension"; then
11358 ac_x_libraries
=$ac_dir
11365 rm -rf conftest.dSYM
11366 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11367 conftest
$ac_exeext conftest.
$ac_ext
11368 fi # $ac_x_libraries = no
11370 case $ac_x_includes,$ac_x_libraries in #(
11371 no
,* |
*,no |
*\'*)
11372 # Didn't find X, or a directory has "'" in its name.
11373 ac_cv_have_x
="have_x=no";; #(
11375 # Record where we found X for the cache.
11376 ac_cv_have_x
="have_x=yes\
11377 ac_x_includes='$ac_x_includes'\
11378 ac_x_libraries='$ac_x_libraries'"
11384 eval "$ac_cv_have_x"
11387 if test "$have_x" != yes; then
11388 { $as_echo "$as_me:$LINENO: result: $have_x" >&5
11389 $as_echo "$have_x" >&6; }
11392 # If each of the values was on the command line, it overrides each guess.
11393 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
11394 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
11395 # Update the cache value to reflect the command line values.
11396 ac_cv_have_x
="have_x=yes\
11397 ac_x_includes='$x_includes'\
11398 ac_x_libraries='$x_libraries'"
11399 { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
11400 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11405 for path
in $x_libraries
11407 x_cflags
="$x_cflags -L$path"
11410 for path
in $x_includes
11412 x_cflags
="$x_cflags -I$path"
11415 if test "x-$no_x" = "x-yes" ; then
11417 if test "x-$x11_hidd" != "x-auto" ; then
11418 { { $as_echo "$as_me:$LINENO: error: X11 libs/headers not found, cannot build X11 hidd as requested" >&5
11419 $as_echo "$as_me: error: X11 libs/headers not found, cannot build X11 hidd as requested" >&2;}
11420 { (exit 1); exit 1; }; }
11424 x11_hidd_target
=kernel-x11gfx
11427 # Check whether --enable-x11_shm was given.
11428 if test "${enable_x11_shm+set}" = set; then
11429 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
11431 x11_hidd_shm
="auto"
11434 case "x-$x11_hidd_shm" in
11435 x-yes|x-no|x-auto
) ;;
11436 *) x11_hidd_shm
="auto" ;;
11441 if test "x-$x11_hidd_shm" != "x-no" ; then
11444 for ac_header
in sys
/ipc.h
11446 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11447 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11448 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11449 $as_echo_n "checking for $ac_header... " >&6; }
11450 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11451 $as_echo_n "(cached) " >&6
11453 ac_res
=`eval 'as_val=${'$as_ac_Header'}
11454 $as_echo "$as_val"'`
11455 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11456 $as_echo "$ac_res" >&6; }
11458 # Is the header compilable?
11459 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11460 $as_echo_n "checking $ac_header usability... " >&6; }
11461 cat >conftest.
$ac_ext <<_ACEOF
11464 cat confdefs.h
>>conftest.
$ac_ext
11465 cat >>conftest.
$ac_ext <<_ACEOF
11466 /* end confdefs.h. */
11467 $ac_includes_default
11468 #include <$ac_header>
11470 rm -f conftest.
$ac_objext
11471 if { (ac_try
="$ac_compile"
11472 case "(($ac_try" in
11473 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11474 *) ac_try_echo=$ac_try;;
11476 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11477 $as_echo "$ac_try_echo") >&5
11478 (eval "$ac_compile") 2>conftest.er1
11480 grep -v '^ *+' conftest.er1 >conftest.err
11482 cat conftest.err >&5
11483 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11484 (exit $ac_status); } && {
11485 test -z "$ac_c_werror_flag" ||
11486 test ! -s conftest.err
11487 } && test -s conftest.$ac_objext; then
11488 ac_header_compiler=yes
11490 $as_echo "$as_me: failed program was:" >&5
11491 sed 's/^/| /' conftest.$ac_ext >&5
11493 ac_header_compiler=no
11496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11497 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11498 $as_echo "$ac_header_compiler" >&6; }
11500 # Is the header present?
11501 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11502 $as_echo_n "checking $ac_header presence... " >&6; }
11503 cat >conftest.$ac_ext <<_ACEOF
11506 cat confdefs.h >>conftest.$ac_ext
11507 cat >>conftest.$ac_ext <<_ACEOF
11508 /* end confdefs.h. */
11509 #include <$ac_header>
11511 if { (ac_try="$ac_cpp conftest.$ac_ext"
11512 case "(($ac_try" in
11513 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11514 *) ac_try_echo
=$ac_try;;
11516 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11517 $as_echo "$ac_try_echo") >&5
11518 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11520 grep -v '^ *+' conftest.er1
>conftest.err
11522 cat conftest.err
>&5
11523 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11524 (exit $ac_status); } >/dev
/null
&& {
11525 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11526 test ! -s conftest.err
11528 ac_header_preproc
=yes
11530 $as_echo "$as_me: failed program was:" >&5
11531 sed 's/^/| /' conftest.
$ac_ext >&5
11533 ac_header_preproc
=no
11536 rm -f conftest.err conftest.
$ac_ext
11537 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11538 $as_echo "$ac_header_preproc" >&6; }
11540 # So? What about this header?
11541 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11543 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11544 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11545 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11546 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11547 ac_header_preproc
=yes
11550 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11551 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11552 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11553 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11554 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11555 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11556 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11557 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11558 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11559 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11560 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11561 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11565 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11566 $as_echo_n "checking for $ac_header... " >&6; }
11567 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11568 $as_echo_n "(cached) " >&6
11570 eval "$as_ac_Header=\$ac_header_preproc"
11572 ac_res
=`eval 'as_val=${'$as_ac_Header'}
11573 $as_echo "$as_val"'`
11574 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11575 $as_echo "$ac_res" >&6; }
11578 if test `eval 'as_val=${'$as_ac_Header'}
11579 $as_echo "$as_val"'` = yes; then
11580 cat >>confdefs.h
<<_ACEOF
11581 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11589 for ac_header
in sys
/shm.h
11591 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11592 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11593 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11594 $as_echo_n "checking for $ac_header... " >&6; }
11595 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11596 $as_echo_n "(cached) " >&6
11598 ac_res
=`eval 'as_val=${'$as_ac_Header'}
11599 $as_echo "$as_val"'`
11600 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11601 $as_echo "$ac_res" >&6; }
11603 # Is the header compilable?
11604 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11605 $as_echo_n "checking $ac_header usability... " >&6; }
11606 cat >conftest.
$ac_ext <<_ACEOF
11609 cat confdefs.h
>>conftest.
$ac_ext
11610 cat >>conftest.
$ac_ext <<_ACEOF
11611 /* end confdefs.h. */
11612 $ac_includes_default
11613 #include <$ac_header>
11615 rm -f conftest.
$ac_objext
11616 if { (ac_try
="$ac_compile"
11617 case "(($ac_try" in
11618 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11619 *) ac_try_echo=$ac_try;;
11621 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11622 $as_echo "$ac_try_echo") >&5
11623 (eval "$ac_compile") 2>conftest.er1
11625 grep -v '^ *+' conftest.er1 >conftest.err
11627 cat conftest.err >&5
11628 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11629 (exit $ac_status); } && {
11630 test -z "$ac_c_werror_flag" ||
11631 test ! -s conftest.err
11632 } && test -s conftest.$ac_objext; then
11633 ac_header_compiler=yes
11635 $as_echo "$as_me: failed program was:" >&5
11636 sed 's/^/| /' conftest.$ac_ext >&5
11638 ac_header_compiler=no
11641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11642 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11643 $as_echo "$ac_header_compiler" >&6; }
11645 # Is the header present?
11646 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11647 $as_echo_n "checking $ac_header presence... " >&6; }
11648 cat >conftest.$ac_ext <<_ACEOF
11651 cat confdefs.h >>conftest.$ac_ext
11652 cat >>conftest.$ac_ext <<_ACEOF
11653 /* end confdefs.h. */
11654 #include <$ac_header>
11656 if { (ac_try="$ac_cpp conftest.$ac_ext"
11657 case "(($ac_try" in
11658 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11659 *) ac_try_echo
=$ac_try;;
11661 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11662 $as_echo "$ac_try_echo") >&5
11663 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11665 grep -v '^ *+' conftest.er1
>conftest.err
11667 cat conftest.err
>&5
11668 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11669 (exit $ac_status); } >/dev
/null
&& {
11670 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11671 test ! -s conftest.err
11673 ac_header_preproc
=yes
11675 $as_echo "$as_me: failed program was:" >&5
11676 sed 's/^/| /' conftest.
$ac_ext >&5
11678 ac_header_preproc
=no
11681 rm -f conftest.err conftest.
$ac_ext
11682 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11683 $as_echo "$ac_header_preproc" >&6; }
11685 # So? What about this header?
11686 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11688 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11689 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11690 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11691 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11692 ac_header_preproc
=yes
11695 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11696 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11697 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11698 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11699 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11700 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11701 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11702 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11703 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11704 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11705 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11706 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11710 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11711 $as_echo_n "checking for $ac_header... " >&6; }
11712 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11713 $as_echo_n "(cached) " >&6
11715 eval "$as_ac_Header=\$ac_header_preproc"
11717 ac_res
=`eval 'as_val=${'$as_ac_Header'}
11718 $as_echo "$as_val"'`
11719 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11720 $as_echo "$ac_res" >&6; }
11723 if test `eval 'as_val=${'$as_ac_Header'}
11724 $as_echo "$as_val"'` = yes; then
11725 cat >>confdefs.h
<<_ACEOF
11726 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11734 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
11736 save_cflags
="$CFLAGS"
11737 CFLAGS
="$CFLAGS $x_cflags"
11738 { $as_echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
11739 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11740 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
11741 $as_echo_n "(cached) " >&6
11743 ac_check_lib_save_LIBS
=$LIBS
11744 LIBS
="-lXext $LIBS"
11745 cat >conftest.
$ac_ext <<_ACEOF
11748 cat confdefs.h
>>conftest.
$ac_ext
11749 cat >>conftest.
$ac_ext <<_ACEOF
11750 /* end confdefs.h. */
11752 /* Override any GCC internal prototype to avoid an error.
11753 Use char because int might match the return type of a GCC
11754 builtin and then its argument prototype would still apply. */
11758 char XShmQueryExtension ();
11762 return XShmQueryExtension ();
11767 rm -f conftest.
$ac_objext conftest
$ac_exeext
11768 if { (ac_try
="$ac_link"
11769 case "(($ac_try" in
11770 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11771 *) ac_try_echo=$ac_try;;
11773 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11774 $as_echo "$ac_try_echo") >&5
11775 (eval "$ac_link") 2>conftest.er1
11777 grep -v '^ *+' conftest.er1 >conftest.err
11779 cat conftest.err >&5
11780 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11781 (exit $ac_status); } && {
11782 test -z "$ac_c_werror_flag" ||
11783 test ! -s conftest.err
11784 } && test -s conftest$ac_exeext && {
11785 test "$cross_compiling" = yes ||
11786 $as_test_x conftest$ac_exeext
11788 ac_cv_lib_Xext_XShmQueryExtension=yes
11790 $as_echo "$as_me: failed program was:" >&5
11791 sed 's/^/| /' conftest.$ac_ext >&5
11793 ac_cv_lib_Xext_XShmQueryExtension=no
11796 rm -rf conftest.dSYM
11797 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11798 conftest$ac_exeext conftest.$ac_ext
11799 LIBS=$ac_check_lib_save_LIBS
11801 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11802 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11803 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
11807 CFLAGS="$save_cflags"
11811 if test "x-$have_xshm" = "x-yes" ; then
11812 DO_XSHM_SUPPORT="1"
11813 elif test "x-$x11_hidd_shm" = "x-yes" ; then
11814 { { $as_echo "$as_me:$LINENO: error: X11 has no support for shared memory, cannot enable it as requested" >&5
11815 $as_echo "$as_me: error: X11 has no support for shared memory, cannot enable it as requested" >&2;}
11816 { (exit 1); exit 1; }; }
11818 DO_XSHM_SUPPORT="0"
11822 # Check whether --enable-x11_vidmode was given.
11823 if test "${enable_x11_vidmode+set}" = set; then
11824 enableval=$enable_x11_vidmode; x11_hidd_vidmode="$enableval"
11826 x11_hidd_vidmode="auto"
11829 case "x-$x11_hidd_vidmode" in
11830 x-yes|x-no|x-auto) ;;
11831 *) x11_hidd_vidmode="auto" ;;
11836 if test "x-$x11_hidd_vidmode" != "x-no" ; then
11838 save_cflags="$CFLAGS"
11839 CFLAGS="$CFLAGS $x_cflags"
11840 { $as_echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
11841 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
11842 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
11843 $as_echo_n "(cached) " >&6
11845 ac_check_lib_save_LIBS=$LIBS
11846 LIBS="-lXxf86vm $LIBS"
11847 cat >conftest.$ac_ext <<_ACEOF
11850 cat confdefs.h >>conftest.$ac_ext
11851 cat >>conftest.$ac_ext <<_ACEOF
11852 /* end confdefs.h. */
11854 /* Override any GCC internal prototype to avoid an error.
11855 Use char because int might match the return type of a GCC
11856 builtin and then its argument prototype would still apply. */
11860 char XF86VidModeQueryExtension ();
11864 return XF86VidModeQueryExtension ();
11869 rm -f conftest.$ac_objext conftest$ac_exeext
11870 if { (ac_try="$ac_link"
11871 case "(($ac_try" in
11872 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11873 *) ac_try_echo
=$ac_try;;
11875 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11876 $as_echo "$ac_try_echo") >&5
11877 (eval "$ac_link") 2>conftest.er1
11879 grep -v '^ *+' conftest.er1
>conftest.err
11881 cat conftest.err
>&5
11882 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11883 (exit $ac_status); } && {
11884 test -z "$ac_c_werror_flag" ||
11885 test ! -s conftest.err
11886 } && test -s conftest
$ac_exeext && {
11887 test "$cross_compiling" = yes ||
11888 $as_test_x conftest
$ac_exeext
11890 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
11892 $as_echo "$as_me: failed program was:" >&5
11893 sed 's/^/| /' conftest.
$ac_ext >&5
11895 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
11898 rm -rf conftest.dSYM
11899 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11900 conftest
$ac_exeext conftest.
$ac_ext
11901 LIBS
=$ac_check_lib_save_LIBS
11903 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
11904 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
11905 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
11909 CFLAGS
="$save_cflags"
11912 if test "x-$have_vidmode" = "x-yes" ; then
11913 DO_VIDMODE_SUPPORT
="1"
11914 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
11915 { { $as_echo "$as_me:$LINENO: error: X11 vidmode extension not available, cannot enable it as requested" >&5
11916 $as_echo "$as_me: error: X11 vidmode extension not available, cannot enable it as requested" >&2;}
11917 { (exit 1); exit 1; }; }
11919 DO_VIDMODE_SUPPORT
="0"
11923 aros_host_x11_includes
=$x_includes
11924 aros_host_x11_libdirs
=$x_libraries
11928 # Check whether --enable-sdl_hidd was given.
11929 if test "${enable_sdl_hidd+set}" = set; then
11930 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
11935 case "x-$sdl_hidd" in
11936 x-yes|x-no|x-auto
) ;;
11937 *) sdl_hidd
="auto" ;;
11940 if test "x-$sdl_hidd" != "x-no" ; then
11943 # Check whether --with-sdl-prefix was given.
11944 if test "${with_sdl_prefix+set}" = set; then
11945 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
11951 # Check whether --with-sdl-exec-prefix was given.
11952 if test "${with_sdl_exec_prefix+set}" = set; then
11953 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
11958 # Check whether --enable-sdltest was given.
11959 if test "${enable_sdltest+set}" = set; then
11960 enableval
=$enable_sdltest;
11966 if test x
$sdl_exec_prefix != x
; then
11967 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
11968 if test x
${SDL_CONFIG+set} != xset
; then
11969 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
11972 if test x
$sdl_prefix != x
; then
11973 sdl_args
="$sdl_args --prefix=$sdl_prefix"
11974 if test x
${SDL_CONFIG+set} != xset
; then
11975 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
11979 if test "x$prefix" != xNONE
; then
11980 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
11982 # Extract the first word of "sdl-config", so it can be a program name with args.
11983 set dummy sdl-config
; ac_word
=$2
11984 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
11985 $as_echo_n "checking for $ac_word... " >&6; }
11986 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
11987 $as_echo_n "(cached) " >&6
11989 case $SDL_CONFIG in
11991 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
11994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11995 for as_dir
in $PATH
11998 test -z "$as_dir" && as_dir
=.
11999 for ac_exec_ext
in '' $ac_executable_extensions; do
12000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12001 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12002 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12009 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
12013 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
12014 if test -n "$SDL_CONFIG"; then
12015 { $as_echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
12016 $as_echo "$SDL_CONFIG" >&6; }
12018 { $as_echo "$as_me:$LINENO: result: no" >&5
12019 $as_echo "no" >&6; }
12023 min_sdl_version
=1.2.10
12024 { $as_echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
12025 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
12027 if test "$SDL_CONFIG" = "no" ; then
12030 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
12031 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
12033 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
12034 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12035 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
12036 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12037 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
12038 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12039 if test "x$enable_sdltest" = "xyes" ; then
12040 ac_save_CFLAGS
="$CFLAGS"
12041 ac_save_CXXFLAGS
="$CXXFLAGS"
12042 ac_save_LIBS
="$LIBS"
12043 CFLAGS
="$CFLAGS $SDL_CFLAGS"
12044 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
12045 LIBS
="$LIBS $SDL_LIBS"
12047 if test "$cross_compiling" = yes; then
12048 echo $ac_n "cross compiling; assumed OK... $ac_c"
12050 cat >conftest.
$ac_ext <<_ACEOF
12053 cat confdefs.h
>>conftest.
$ac_ext
12054 cat >>conftest.
$ac_ext <<_ACEOF
12055 /* end confdefs.h. */
12058 #include <stdlib.h>
12059 #include <string.h>
12063 my_strdup (char *str)
12069 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
12070 strcpy (new_str, str);
12078 int main (int argc, char *argv[])
12080 int major, minor, micro;
12083 /* This hangs on some systems (?)
12084 system ("touch conf.sdltest");
12086 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
12088 /* HP/UX 9 (%@#!) writes to sscanf strings */
12089 tmp_version = my_strdup("$min_sdl_version");
12090 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12091 printf("%s, bad version string\n", "$min_sdl_version");
12095 if (($sdl_major_version > major) ||
12096 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
12097 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
12103 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
12104 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
12105 printf("*** best to upgrade to the required version.\n");
12106 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
12107 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
12108 printf("*** config.cache before re-running configure\n");
12115 rm -f conftest
$ac_exeext
12116 if { (ac_try
="$ac_link"
12117 case "(($ac_try" in
12118 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12119 *) ac_try_echo=$ac_try;;
12121 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12122 $as_echo "$ac_try_echo") >&5
12123 (eval "$ac_link") 2>&5
12125 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12126 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12127 { (case "(($ac_try" in
12128 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12129 *) ac_try_echo
=$ac_try;;
12131 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12132 $as_echo "$ac_try_echo") >&5
12133 (eval "$ac_try") 2>&5
12135 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12136 (exit $ac_status); }; }; then
12139 $as_echo "$as_me: program exited with status $ac_status" >&5
12140 $as_echo "$as_me: failed program was:" >&5
12141 sed 's/^/| /' conftest.
$ac_ext >&5
12143 ( exit $ac_status )
12146 rm -rf conftest.dSYM
12147 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12151 CFLAGS
="$ac_save_CFLAGS"
12152 CXXFLAGS
="$ac_save_CXXFLAGS"
12153 LIBS
="$ac_save_LIBS"
12156 if test "x$no_sdl" = x
; then
12157 { $as_echo "$as_me:$LINENO: result: yes" >&5
12158 $as_echo "yes" >&6; }
12161 { $as_echo "$as_me:$LINENO: result: no" >&5
12162 $as_echo "no" >&6; }
12163 if test "$SDL_CONFIG" = "no" ; then
12164 echo "*** The sdl-config script installed by SDL could not be found"
12165 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
12166 echo "*** your path, or set the SDL_CONFIG environment variable to the"
12167 echo "*** full path to sdl-config."
12169 if test -f conf.sdltest
; then
12172 echo "*** Could not run SDL test program, checking why..."
12173 CFLAGS
="$CFLAGS $SDL_CFLAGS"
12174 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
12175 LIBS
="$LIBS $SDL_LIBS"
12176 cat >conftest.
$ac_ext <<_ACEOF
12179 cat confdefs.h
>>conftest.
$ac_ext
12180 cat >>conftest.
$ac_ext <<_ACEOF
12181 /* end confdefs.h. */
12186 int main(int argc, char *argv[])
12189 #define main K_and_R_C_main
12199 rm -f conftest.
$ac_objext conftest
$ac_exeext
12200 if { (ac_try
="$ac_link"
12201 case "(($ac_try" in
12202 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12203 *) ac_try_echo=$ac_try;;
12205 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12206 $as_echo "$ac_try_echo") >&5
12207 (eval "$ac_link") 2>conftest.er1
12209 grep -v '^ *+' conftest.er1 >conftest.err
12211 cat conftest.err >&5
12212 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12213 (exit $ac_status); } && {
12214 test -z "$ac_c_werror_flag" ||
12215 test ! -s conftest.err
12216 } && test -s conftest$ac_exeext && {
12217 test "$cross_compiling" = yes ||
12218 $as_test_x conftest$ac_exeext
12220 echo "*** The test program compiled, but did not run. This usually means"
12221 echo "*** that the run-time linker is not finding SDL or finding the wrong"
12222 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
12223 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12224 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12225 echo "*** is required on your system"
12227 echo "*** If you have an old version installed, it is best to remove it, although"
12228 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12230 $as_echo "$as_me: failed program was:" >&5
12231 sed 's/^/| /' conftest.$ac_ext >&5
12233 echo "*** The test program failed to compile or link. See the file config.log for the"
12234 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
12235 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
12236 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
12239 rm -rf conftest.dSYM
12240 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12241 conftest$ac_exeext conftest.$ac_ext
12242 CFLAGS="$ac_save_CFLAGS"
12243 CXXFLAGS="$ac_save_CXXFLAGS"
12244 LIBS="$ac_save_LIBS"
12256 if test "x-$have_sdl" != "x-yes" ; then
12258 if test "x-$sdl_hidd" != "x-auto" ; then
12259 { { $as_echo "$as_me:$LINENO: error: SDL libs/headers not found, cannot build SDL hidd as requested" >&5
12260 $as_echo "$as_me: error: SDL libs/headers not found, cannot build SDL hidd as requested" >&2;}
12261 { (exit 1); exit 1; }; }
12265 sdl_hidd_target=kernel-hidd-sdl
12266 aros_host_sdl_cflags=SDL_CFLAGS
12267 aros_host_sdl_libs=SDL_LIBS
12274 { $as_echo "$as_me:$LINENO: checking if building of dbus.library is enabled" >&5
12275 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
12276 # Check whether --enable-dbus was given.
12277 if test "${enable_dbus+set}" = set; then
12278 enableval=$enable_dbus; dbus="yes"
12283 if test "$dbus" = "yes" ; then
12285 DBUS_CFLAGS=`pkg-config
--cflags dbus-1
`
12286 DBUS_LIBFLAGS=`pkg-config
--libs dbus-1
`
12287 KERNEL_DBUS_KOBJ=kernel-dbus-kobj
12288 KERNEL_DBUS_INCLUDES=kernel-dbus-includes
12292 { $as_echo "$as_me:$LINENO: result: $dbus" >&5
12293 $as_echo "$dbus" >&6; }
12385 # Native version related
12389 # Palm native version related
12392 # Unix/Hosted version related
12408 # Collect-aros stuff: "-ius" to ignore undefined symbols
12411 # C compiler related
12414 case "$aros_flavour" in
12415 emulation) aros_flavour_uc="AROS_FLAVOUR_EMULATION"
12416 aros_flavour="emulation" ;;
12417 emulcompat) aros_flavour_uc="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
12418 aros_flavour="emulation" ;;
12419 standalone) aros_flavour_uc="AROS_FLAVOUR_STANDALONE"
12420 aros_flavour="standalone";;
12421 native) aros_flavour_uc="AROS_FLAVOUR_NATIVE"
12422 aros_flavour="native" ;;
12423 nativecompat) aros_flavour_uc="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
12424 aros_flavour="native" ;;
12425 linklib) aros_flavour_uc="AROS_FLAVOUR_LINKLIB"
12426 aros_flavour="linklib" ;;
12427 palmnative) aros_flavour_uc="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
12428 aros_flavour="palmnative" ;;
12429 mac68knative) aros_flavour_uc="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
12430 aros_flavour="mac68knative" ;;
12431 ppcnative) aros_flavour_uc="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
12432 aros_flavour="ppcnative" ;;
12435 if test ! -d ${aros_inc_dir} ; then
12436 ${MKDIR} ${aros_inc_dir}
12438 if test ! -d ${aros_geninc_dir} ; then
12439 ${MKDIR} ${aros_geninc_dir}
12441 if test ! -d ${aros_hostcfg_dir} ; then
12442 ${MKDIR} ${aros_hostcfg_dir}
12444 if test ! -d ${aros_targetcfg_dir} ; then
12445 ${MKDIR} ${aros_targetcfg_dir}
12447 if test ! -d ${aros_tools_dir} ; then
12448 ${MKDIR} ${aros_tools_dir}
12450 if test ! -d ${aros_scripts_dir} ; then
12451 ${MKDIR} ${aros_scripts_dir}
12454 ac_config_headers="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
12457 ac_config_commands="$ac_config_commands compiler_executable"
12459 ac_config_commands="$ac_config_commands genshared_executable"
12461 ac_config_commands="$ac_config_commands genmf_executable"
12463 ac_config_commands="$ac_config_commands adflib_myaros.conf_executable"
12466 ac_config_files="$ac_config_files Makefile rom/mmakefile config/make.cfg ${aros_inc_dir}/config.h:config/config.h.in ${aros_geninc_dir}/config.h:config/config.h.in ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in mmake.config ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in ${aros_targetcfg_dir}/specs:config/specs.in ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-gcc:scripts/aros-gcc.in ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-ld:scripts/aros-ld.in ${aros_scripts_dir}/genshared:compiler/c_lib/source/lib_source/genshared.in ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py tools/adflib/myconf.aros tools/collect-aros/env.h"
12469 cat >confcache <<\_ACEOF
12470 # This file is a shell script that caches the results of configure
12471 # tests run on this system so they can be shared between configure
12472 # scripts and configure runs, see configure's option --config-cache.
12473 # It is not useful on other systems. If it contains results you don't
12474 # want to keep, you may remove or edit it.
12476 # config.status only pays attention to the cache file if you give it
12477 # the --recheck option to rerun configure.
12479 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
12480 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12481 # following values.
12485 # The following way of writing the cache mishandles newlines in values,
12486 # but we know of no workaround that is simple, portable, and efficient.
12487 # So, we kill variables containing newlines.
12488 # Ultrix sh set writes to stderr and can't be redirected directly,
12489 # and sets the high bit in the cache file unless we assign to the vars.
12491 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12492 eval ac_val
=\$
$ac_var
12496 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12497 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12500 _ | IFS | as_nl
) ;; #(
12501 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12502 *) $as_unset $ac_var ;;
12508 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12509 *${as_nl}ac_space
=\
*)
12510 # `set' does not quote correctly, so add quotes (double-quote
12511 # substitution turns \\\\ into \\, and sed turns \\ into \).
12514 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12517 # `set' quotes correctly as required by POSIX, so do not add quotes.
12518 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12527 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12529 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12531 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12532 if test -w "$cache_file"; then
12533 test "x$cache_file" != "x/dev/null" &&
12534 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
12535 $as_echo "$as_me: updating cache $cache_file" >&6;}
12536 cat confcache
>$cache_file
12538 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12539 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12544 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12545 # Let make expand exec_prefix.
12546 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12548 DEFS
=-DHAVE_CONFIG_H
12552 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12553 # 1. Remove the extension, and $U if already installed.
12554 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12555 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12556 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12557 # will be set to the directory where LIBOBJS objects are built.
12558 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12559 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
12561 LIBOBJS
=$ac_libobjs
12563 LTLIBOBJS
=$ac_ltlibobjs
12567 : ${CONFIG_STATUS=./config.status}
12569 ac_clean_files_save
=$ac_clean_files
12570 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12571 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12572 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12573 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12575 # Generated by $as_me.
12576 # Run this file to recreate the current configuration.
12577 # Compiler output produced by configure, useful for debugging
12578 # configure, is in config.log if it exists.
12581 ac_cs_recheck=false
12583 SHELL=\${CONFIG_SHELL-$SHELL}
12586 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12587 ## --------------------- ##
12588 ## M4sh Initialization. ##
12589 ## --------------------- ##
12591 # Be more Bourne compatible
12592 DUALCASE
=1; export DUALCASE
# for MKS sh
12593 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
12596 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12597 # is contrary to our usage. Disable this feature.
12598 alias -g '${1+"$@"}'='"$@"'
12599 setopt NO_GLOB_SUBST
12601 case `(set -o) 2>/dev/null` in
12602 *posix
*) set -o posix
;;
12611 # Avoid depending upon Character Ranges.
12612 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12613 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12614 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12615 as_cr_digits
='0123456789'
12616 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12621 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12622 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12623 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12624 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12625 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12626 as_echo='printf %s
\n'
12627 as_echo_n='printf %s
'
12629 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12630 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12631 as_echo_n='/usr
/ucb
/echo -n'
12633 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12634 as_echo_n_body='eval
12638 expr "X$arg" : "X\\(.*\\)$as_nl";
12639 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12641 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12643 export as_echo_n_body
12644 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12646 export as_echo_body
12647 as_echo='sh
-c $as_echo_body as_echo
'
12650 # The user is always right.
12651 if test "${PATH_SEPARATOR+set}" != set; then
12653 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12654 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12659 # Support unset when possible.
12660 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
12668 # We need space, tab and new line, in precisely that order. Quoting is
12669 # there to prevent editors from complaining about space-tab.
12670 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12671 # splitting by setting IFS to empty value.)
12674 # Find who we are. Look in the path if we contain no directory separator.
12676 *[\\/]* ) as_myself=$0 ;;
12677 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12678 for as_dir in $PATH
12681 test -z "$as_dir" && as_dir=.
12682 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12688 # We did not find ourselves, most probably we were run as `sh COMMAND'
12689 # in which case we are not to be found in the path.
12690 if test "x$as_myself" = x
; then
12693 if test ! -f "$as_myself"; then
12694 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12695 { (exit 1); exit 1; }
12698 # Work around bugs in pre-3.0 UWIN ksh.
12699 for as_var
in ENV MAIL MAILPATH
12700 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
12712 # Required to use basename.
12713 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12714 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12720 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12721 as_basename
=basename
12727 # Name of the executable.
12728 as_me
=`$as_basename -- "$0" ||
12729 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12730 X"$0" : 'X\(//\)$' \| \
12731 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12733 sed '/^.*\/\([^/][^/]*\)\/*$/{
12752 as_lineno_1
=$LINENO
12753 as_lineno_2
=$LINENO
12754 test "x$as_lineno_1" != "x$as_lineno_2" &&
12755 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
12757 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12758 # uniformly replaced by the line number. The first 'sed' inserts a
12759 # line-number line after each line using $LINENO; the second 'sed'
12760 # does the real work. The second script uses 'N' to pair each
12761 # line-number line with the line containing $LINENO, and appends
12762 # trailing '-' during substitution so that $LINENO is not a special
12763 # case at line end.
12764 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12765 # scripts with optimization help from Paolo Bonzini. Blame Lee
12766 # E. McMahon (1931-1989) for sed's syntax. :-)
12778 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
12781 ' >$as_me.lineno
&&
12782 chmod +x
"$as_me.lineno" ||
12783 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
12784 { (exit 1); exit 1; }; }
12786 # Don't try to exec as it changes $[0], causing all sort of problems
12787 # (the dirname of $[0] is not the place where we might find the
12788 # original and so on. Autoconf is especially sensitive to this).
12789 .
"./$as_me.lineno"
12790 # Exit status is that of the last command.
12795 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12801 ECHO_C
= ECHO_N
= ECHO_T
=
12802 case `echo -n x` in
12804 case `echo 'x\c'` in
12805 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12811 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12812 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12818 rm -f conf$$ conf$$.exe conf$$.
file
12819 if test -d conf$$.dir
; then
12820 rm -f conf$$.dir
/conf$$.
file
12823 mkdir conf$$.dir
2>/dev
/null
12825 if (echo >conf$$.
file) 2>/dev
/null
; then
12826 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12828 # ... but there are two gotchas:
12829 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12830 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12831 # In both cases, we have to default to `cp -p'.
12832 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12834 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12842 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12843 rmdir conf$$.dir
2>/dev
/null
12845 if mkdir
-p .
2>/dev
/null
; then
12848 test -d .
/-p && rmdir .
/-p
12852 if test -x / >/dev
/null
2>&1; then
12853 as_test_x
='test -x'
12855 if ls -dL / >/dev
/null
2>&1; then
12862 if test -d "$1"; then
12868 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
12869 ???[sx]*):;;*)false;;esac;fi
12873 as_executable_p
=$as_test_x
12875 # Sed expression to map a string onto a valid CPP name.
12876 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12878 # Sed expression to map a string onto a valid variable name.
12879 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12884 # Save the log message, to keep $[0] and so on meaningful, and to
12885 # report actual input values of CONFIG_FILES etc. instead of their
12886 # values after options handling.
12888 This file was extended by $as_me, which was
12889 generated by GNU Autoconf 2.62. Invocation command line was
12891 CONFIG_FILES = $CONFIG_FILES
12892 CONFIG_HEADERS = $CONFIG_HEADERS
12893 CONFIG_LINKS = $CONFIG_LINKS
12894 CONFIG_COMMANDS = $CONFIG_COMMANDS
12897 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12902 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12903 # Files that config.status was made for.
12904 config_files="$ac_config_files"
12905 config_headers="$ac_config_headers"
12906 config_commands="$ac_config_commands"
12910 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12912 \`$as_me' instantiates files from templates according to the
12913 current configuration.
12915 Usage: $0 [OPTIONS] [FILE]...
12917 -h, --help print this help, then exit
12918 -V, --version print version number and configuration settings, then exit
12919 -q, --quiet do not print progress messages
12920 -d, --debug don't remove temporary files
12921 --recheck update $as_me by reconfiguring in the same conditions
12922 --file=FILE[:TEMPLATE]
12923 instantiate the configuration file FILE
12924 --header=FILE[:TEMPLATE]
12925 instantiate the configuration header FILE
12927 Configuration files:
12930 Configuration headers:
12933 Configuration commands:
12936 Report bugs to <bug-autoconf@gnu.org>."
12939 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12942 configured by $0, generated by GNU Autoconf 2.62,
12943 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
12945 Copyright (C) 2008 Free Software Foundation, Inc.
12946 This config.status script is free software; the Free Software Foundation
12947 gives unlimited permission to copy, distribute and modify it."
12951 test -n "\$AWK" || AWK=awk
12954 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12955 # The default lists apply if the user does not specify any file.
12961 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12962 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12973 # Handling of the options.
12974 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12976 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12977 $as_echo "$ac_cs_version"; exit ;;
12978 --debug |
--debu |
--deb |
--de |
--d |
-d )
12980 --file |
--fil |
--fi |
--f )
12983 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12985 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
12986 ac_need_defaults
=false
;;
12987 --header |
--heade |
--head |
--hea )
12990 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12992 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
12993 ac_need_defaults
=false
;;
12995 # Conflict between --help and --header
12996 { $as_echo "$as_me: error: ambiguous option: $1
12997 Try \`$0 --help' for more information." >&2
12998 { (exit 1); exit 1; }; };;
12999 --help |
--hel |
-h )
13000 $as_echo "$ac_cs_usage"; exit ;;
13001 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13002 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13005 # This is an error.
13006 -*) { $as_echo "$as_me: error: unrecognized option: $1
13007 Try \`$0 --help' for more information." >&2
13008 { (exit 1); exit 1; }; } ;;
13010 *) ac_config_targets
="$ac_config_targets $1"
13011 ac_need_defaults
=false
;;
13017 ac_configure_extra_args
=
13019 if $ac_cs_silent; then
13021 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13025 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13026 if \$ac_cs_recheck; then
13027 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13029 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13030 CONFIG_SHELL='$SHELL'
13031 export CONFIG_SHELL
13036 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13040 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13041 ## Running $as_me. ##
13047 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13052 aros_tools_dir=${aros_tools_dir}
13053 aros_target_cpu=${aros_target_cpu}
13054 aros_target_arch=${aros_target_arch}
13055 aros_target_suffix=${aros_target_suffix}
13056 aros_target_nm_ln=${aros_target_nm_ln}
13057 aros_target_as_ln=${aros_target_as_ln}
13058 aros_target_ar_ln=${aros_target_ar_ln}
13059 aros_target_ranlib_ln=${aros_target_ranlib_ln}
13060 aros_target_objdump_ln=${aros_target_objdump_ln}
13061 aros_target_objcopy_ln=${aros_target_objcopy_ln}
13062 aros_target_strip_ln=${aros_target_strip_ln}
13065 aros_scripts_dir=${aros_scripts_dir}
13067 aros_tools_dir=${aros_tools_dir}
13072 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13074 # Handling of arguments.
13075 for ac_config_target
in $ac_config_targets
13077 case $ac_config_target in
13078 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
13079 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
13080 "genshared_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genshared_executable" ;;
13081 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
13082 "adflib_myaros.conf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS adflib_myaros.conf_executable" ;;
13083 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13084 "rom/mmakefile") CONFIG_FILES
="$CONFIG_FILES rom/mmakefile" ;;
13085 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
13086 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
13087 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
13088 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
13089 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
13090 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
13091 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
13092 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
13093 "${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" ;;
13094 "${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" ;;
13095 "${aros_scripts_dir}/genshared") CONFIG_FILES
="$CONFIG_FILES ${aros_scripts_dir}/genshared:compiler/c_lib/source/lib_source/genshared.in" ;;
13096 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
13097 "tools/adflib/myconf.aros") CONFIG_FILES
="$CONFIG_FILES tools/adflib/myconf.aros" ;;
13098 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
13100 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13101 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13102 { (exit 1); exit 1; }; };;
13107 # If the user did not use the arguments to specify the items to instantiate,
13108 # then the envvar interface is used. Set only those that are not.
13109 # We use the long form for the default assignment because of an extremely
13110 # bizarre bug on SunOS 4.1.3.
13111 if $ac_need_defaults; then
13112 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13113 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13114 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13117 # Have a temporary directory for convenience. Make it in the build tree
13118 # simply because there is no reason against having it here, and in addition,
13119 # creating and moving files from /tmp can sometimes cause problems.
13120 # Hook for its removal unless debugging.
13121 # Note that there is a small window in which the directory will not be cleaned:
13122 # after its creation but before its name has been assigned to `$tmp'.
13126 trap 'exit_status=$?
13127 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13129 trap '{ (exit 1); exit 1; }' 1 2 13 15
13131 # Create a (secure) tmp directory for tmp files.
13134 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13135 test -n "$tmp" && test -d "$tmp"
13138 tmp
=.
/conf$$
-$RANDOM
13139 (umask 077 && mkdir
"$tmp")
13142 $as_echo "$as_me: cannot create a temporary directory in ." >&2
13143 { (exit 1); exit 1; }
13146 # Set up the scripts for CONFIG_FILES section.
13147 # No need to generate them if there are no CONFIG_FILES.
13148 # This happens for instance with `./config.status config.h'.
13149 if test -n "$CONFIG_FILES"; then
13154 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13155 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13158 ac_cs_awk_cr
=$ac_cr
13161 echo 'BEGIN {' >"$tmp/subs1.awk" &&
13166 echo "cat >conf$$subs.awk <<_ACEOF" &&
13167 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13169 } >conf$$subs.sh ||
13170 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
13171 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
13172 { (exit 1); exit 1; }; }
13173 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
13175 for ac_last_try in false false false false false :; do
13176 . ./conf$$subs.sh ||
13177 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
13178 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
13179 { (exit 1); exit 1; }; }
13181 if test `sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X` = $ac_delim_num; then
13183 elif $ac_last_try; then
13184 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
13185 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
13186 { (exit 1); exit 1; }; }
13188 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13191 rm -f conf$$subs.sh
13193 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13194 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
13198 s/^/S["/; s
/!.
*/"]=/
13208 s/\(.\{148\}\).*/\1/
13210 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13215 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13222 s/\(.\{148\}\).*/\1/
13224 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13228 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13233 ' <conf$$subs.awk | sed '
13238 ' >>$CONFIG_STATUS || ac_write_fail=1
13239 rm -f conf$$subs.awk
13240 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13242 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
13243 for (key in S) S_is_set[key] = 1
13249 nfields = split(line, field, "@
")
13251 len = length(field[1])
13252 for (i = 2; i < nfields; i++) {
13254 keylen = length(key)
13255 if (S_is_set[key]) {
13257 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13258 len += length(value) + length(field[++i])
13269 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13270 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13271 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13274 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
13275 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
13276 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
13277 { (exit 1); exit 1; }; }
13280 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13281 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
13282 # trailing colons and then remove the whole line if VPATH becomes empty
13283 # (actually we leave an empty line to preserve line numbers).
13284 if test "x
$srcdir" = x.; then
13285 ac_vpsub='/^[ ]*VPATH[ ]*=/{
13286 s/:*\$(srcdir):*/:/
13287 s/:*\${srcdir}:*/:/
13289 s/^\([^=]*=[ ]*\):*/\1/
13295 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13296 fi # test -n "$CONFIG_FILES"
13298 # Set up the scripts for CONFIG_HEADERS section.
13299 # No need to generate them if there are no CONFIG_HEADERS.
13300 # This happens for instance with `./config.status Makefile'.
13301 if test -n "$CONFIG_HEADERS"; then
13302 cat >"$tmp/defines.
awk" <<\_ACAWK ||
13306 # Transform confdefs.h into an awk script `defines.awk', embedded as
13307 # here-document in config.status, that substitutes the proper values into
13308 # config.h.in to produce config.h.
13310 # Create a delimiter string that does not exist in confdefs.h, to ease
13311 # handling of long lines.
13313 for ac_last_try in false false :; do
13314 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
13315 if test -z "$ac_t"; then
13317 elif $ac_last_try; then
13318 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
13319 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
13320 { (exit 1); exit 1; }; }
13322 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13326 # For the awk script, D is an array of macro values keyed by name,
13327 # likewise P contains macro parameters if any. Preserve backslash
13328 # newline sequences.
13330 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13332 s/.\{148\}/&'"$ac_delim"'/g
13335 s/^[ ]*#[ ]*define[ ][ ]*/ /
13342 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13344 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13348 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13349 D["\
1"]=" \
3\\\\\\n
"\\/p
13351 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13356 s/.\{148\}/&'"$ac_delim"'/g
13361 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13364 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13366 ' <confdefs.h | sed '
13367 s/'"$ac_delim"'/"\\\
13368 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13370 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13371 for (key in D) D_is_set[key] = 1
13374 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13376 split(line, arg, " ")
13377 if (arg[1] == "#") {
13381 defundef
= substr
(arg
[1], 2)
13384 split(mac1
, mac2
, "(") #)
13386 if (D_is_set
[macro
]) {
13387 # Preserve the white space surrounding the "#".
13388 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13389 print prefix
"define", macro P
[macro
] D
[macro
]
13392 # Replace #undef with comments. This is necessary, for example,
13393 # in the case of _POSIX_SOURCE, which is predefined and required
13394 # on some systems where configure will not decide to define it.
13395 if (defundef
== "undef") {
13396 print
"/*", line
, "*/"
13404 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13405 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
13406 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
13407 { (exit 1); exit 1; }; }
13408 fi # test -n "$CONFIG_HEADERS"
13411 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13416 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13418 case $ac_mode$ac_tag in
13420 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
13421 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
13422 { (exit 1); exit 1; }; };;
13423 :[FH
]-) ac_tag
=-:-;;
13424 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13441 -) ac_f
="$tmp/stdin";;
13442 *) # Look for the file first in the build tree, then in the source tree
13443 # (if the path is not absolute). The absolute path cannot be DOS-style,
13444 # because $ac_f cannot contain `:'.
13448 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13450 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
13451 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
13452 { (exit 1); exit 1; }; };;
13454 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13455 ac_file_inputs
="$ac_file_inputs '$ac_f'"
13458 # Let's still pretend it is `configure' which instantiates (i.e., don't
13459 # use $as_me), people would be surprised to read:
13460 # /* config.h. Generated by config.status. */
13461 configure_input
='Generated from '`
13462 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13464 if test x
"$ac_file" != x-
; then
13465 configure_input
="$ac_file. $configure_input"
13466 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
13467 $as_echo "$as_me: creating $ac_file" >&6;}
13469 # Neutralize special characters interpreted by sed in replacement strings.
13470 case $configure_input in #(
13471 *\
&* |
*\|
* |
*\\* )
13472 ac_sed_conf_input
=`$as_echo "$configure_input" |
13473 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13474 *) ac_sed_conf_input
=$configure_input;;
13478 *:-:* |
*:-) cat >"$tmp/stdin" \
13479 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13480 $as_echo "$as_me: error: could not create $ac_file" >&2;}
13481 { (exit 1); exit 1; }; } ;;
13486 ac_dir
=`$as_dirname -- "$ac_file" ||
13487 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13488 X"$ac_file" : 'X\(//\)[^/]' \| \
13489 X"$ac_file" : 'X\(//\)$' \| \
13490 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13491 $as_echo X"$ac_file" |
13492 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13496 /^X\(\/\/\)[^/].*/{
13511 -*) as_dir
=.
/$as_dir;;
13513 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
13517 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13518 *) as_qdir
=$as_dir;;
13520 as_dirs
="'$as_qdir' $as_dirs"
13521 as_dir
=`$as_dirname -- "$as_dir" ||
13522 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13523 X"$as_dir" : 'X\(//\)[^/]' \| \
13524 X"$as_dir" : 'X\(//\)$' \| \
13525 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13526 $as_echo X"$as_dir" |
13527 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13531 /^X\(\/\/\)[^/].*/{
13544 test -d "$as_dir" && break
13546 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13547 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13548 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
13549 { (exit 1); exit 1; }; }; }
13553 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13555 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13556 # A ".." for each directory in $ac_dir_suffix.
13557 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13558 case $ac_top_builddir_sub in
13559 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13560 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13563 ac_abs_top_builddir
=$ac_pwd
13564 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13565 # for backward compatibility:
13566 ac_top_builddir
=$ac_top_build_prefix
13569 .
) # We are building in place.
13571 ac_top_srcdir
=$ac_top_builddir_sub
13572 ac_abs_top_srcdir
=$ac_pwd ;;
13573 [\\/]* | ?
:[\\/]* ) # Absolute name.
13574 ac_srcdir
=$srcdir$ac_dir_suffix;
13575 ac_top_srcdir
=$srcdir
13576 ac_abs_top_srcdir
=$srcdir ;;
13577 *) # Relative name.
13578 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13579 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13580 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13582 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13593 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13594 # If the template does not know about datarootdir, expand it.
13595 # FIXME: This hack should be removed a few years after 2.60.
13596 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13609 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13610 *datarootdir
*) ac_datarootdir_seen
=yes;;
13611 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13612 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13613 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13615 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13616 ac_datarootdir_hack='
13617 s&@datadir@&$datadir&g
13618 s&@docdir@&$docdir&g
13619 s&@infodir@&$infodir&g
13620 s&@localedir@&$localedir&g
13621 s&@mandir@&$mandir&g
13622 s&\\\${datarootdir}&$datarootdir&g' ;;
13626 # Neutralize VPATH when `$srcdir' = `.'.
13627 # Shell code in configure.ac might set extrasub.
13628 # FIXME: do we really want to maintain this feature?
13629 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13630 ac_sed_extra="$ac_vpsub
13633 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13635 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13636 s|@configure_input@|
$ac_sed_conf_input|
;t t
13637 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13638 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13639 s
&@srcdir@
&$ac_srcdir&;t t
13640 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13641 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13642 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13643 s
&@builddir@
&$ac_builddir&;t t
13644 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13645 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13646 $ac_datarootdir_hack
13648 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
13649 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
13650 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
13651 { (exit 1); exit 1; }; }
13653 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13654 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
13655 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
13656 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13657 which seems to be undefined. Please make sure it is defined." >&5
13658 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13659 which seems to be undefined. Please make sure it is defined." >&2;}
13663 -) cat "$tmp/out" && rm -f "$tmp/out";;
13664 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
13666 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13667 $as_echo "$as_me: error: could not create $ac_file" >&2;}
13668 { (exit 1); exit 1; }; }
13674 if test x"$ac_file" != x-; then
13676 $as_echo "/* $configure_input */" \
13677 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
13678 } >"$tmp/config.h" \
13679 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13680 $as_echo "$as_me: error: could not create $ac_file" >&2;}
13681 { (exit 1); exit 1; }; }
13682 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
13683 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13684 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13687 mv "$tmp/config.h" "$ac_file" \
13688 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
13689 $as_echo "$as_me: error: could not create $ac_file" >&2;}
13690 { (exit 1); exit 1; }; }
13693 $as_echo "/* $configure_input */" \
13694 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
13695 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
13696 $as_echo "$as_me: error: could not create -" >&2;}
13697 { (exit 1); exit 1; }; }
13701 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
13702 $as_echo "$as_me: executing $ac_file commands" >&6;}
13707 case $ac_file$ac_mode in
13708 "compiler_executable":C)
13709 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
13711 prefix="${prefix}/${aros_target_cpu}-aros"
13712 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
13716 chmod a+x ${prefix2}-gcc ${prefix2}-ld
13718 ln -sf ${prefix2}-gcc ${prefix}-gcc
13719 ln -sf ${prefix2}-ld ${prefix}-ld
13721 ln -sf $aros_target_as_ln ${prefix}-as
13722 ln -sf $aros_target_nm_ln ${prefix}-nm
13723 ln -sf $aros_target_ar_ln ${prefix}-ar
13724 ln -sf $aros_target_ranlib_ln ${prefix}-ranlib
13725 ln -sf $aros_target_objcopy_ln ${prefix}-objcopy
13726 ln -sf $aros_target_objdump_ln ${prefix}-objdump
13727 ln -sf $aros_target_strip_ln ${prefix}-strip
13729 ln -sf $aros_target_as_ln ${prefix2}-as
13730 ln -sf $aros_target_nm_ln ${prefix2}-nm
13731 ln -sf $aros_target_ar_ln ${prefix2}-ar
13732 ln -sf $aros_target_ranlib_ln ${prefix2}-ranlib
13733 ln -sf $aros_target_objcopy_ln ${prefix2}-objcopy
13734 ln -sf $aros_target_objdump_ln ${prefix2}-objdump
13735 ln -sf $aros_target_strip_ln ${prefix2}-strip
13737 "genshared_executable":C) chmod a+x ${aros_scripts_dir}/genshared ;;
13738 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
13739 "adflib_myaros.conf_executable":C) chmod a+x tools/adflib/myconf.aros
13746 { (exit 0); exit 0; }
13748 chmod +x $CONFIG_STATUS
13749 ac_clean_files=$ac_clean_files_save
13751 test $ac_write_fail = 0 ||
13752 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
13753 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
13754 { (exit 1); exit 1; }; }
13757 # configure is writing to config.log, and then calls config.status.
13758 # config.status does its own redirection, appending to config.log.
13759 # Unfortunately, on DOS this fails, as config.log is still kept open
13760 # by configure, so config.status won't be able to
write to it
; its
13761 # output is simply discarded. So we exec the FD to /dev/null,
13762 # effectively closing config.log, so it can be properly (re)opened and
13763 # appended to by config.status. When coming back to configure, we
13764 # need to make the FD available again.
13765 if test "$no_create" != yes; then
13767 ac_config_status_args
=
13768 test "$silent" = yes &&
13769 ac_config_status_args
="$ac_config_status_args --quiet"
13771 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13773 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13774 # would make configure fail if this is the last instruction.
13775 $ac_cs_success ||
{ (exit 1); exit 1; }
13777 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
13778 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
13779 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
13784 #XXX compatability...
13785 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
13787 if test -n "$aros_shared_cflags" ; then
13788 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
13789 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg