2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006 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 # Zsh 3.x and 4.x performs 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
40 # The user is always right.
41 if test "${PATH_SEPARATOR+set}" != set; then
42 echo "#! /bin/sh" >conf$$.sh
43 echo "exit 0" >>conf$$.sh
45 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53 # Support unset when possible.
54 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
62 # We need space, tab and new line, in precisely that order. Quoting is
63 # there to prevent editors from complaining about space-tab.
64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
65 # splitting by setting IFS to empty value.)
70 # Find who we are. Look in the path if we contain no directory separator.
72 *[\\/]* ) as_myself
=$0 ;;
73 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
77 test -z "$as_dir" && as_dir
=.
78 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
84 # We did not find ourselves, most probably we were run as `sh COMMAND'
85 # in which case we are not to be found in the path.
86 if test "x$as_myself" = x
; then
89 if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94 # Work around bugs in pre-3.0 UWIN ksh.
95 for as_var
in ENV MAIL MAILPATH
96 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109 eval $as_var=C
; export $as_var
111 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
115 # Required to use basename.
116 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
123 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130 # Name of the executable.
131 as_me
=`$as_basename -- "$0" ||
132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136 sed '/^.*\/\([^/][^/]*\)\/*$/{
154 if test "x$CONFIG_SHELL" = x
; then
155 if (eval ":") 2>/dev
/null
; then
161 if test $as_have_required = yes && (eval ":
171 as_func_ret_success () {
174 as_func_ret_failure () {
179 if as_func_success; then
183 echo as_func_success failed.
186 if as_func_failure; then
188 echo as_func_failure succeeded.
191 if as_func_ret_success; then
195 echo as_func_ret_success failed.
198 if as_func_ret_failure; then
200 echo as_func_ret_failure succeeded.
203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 echo positional parameters were not saved.
210 test \$exitcode = 0) || { (exit 1); exit 1; }
215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217 ") 2> /dev
/null
; then
221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
222 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
225 test -z "$as_dir" && as_dir
=.
228 for as_base
in sh bash ksh sh5
; do
229 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
236 for as_shell
in $as_candidate_shells $SHELL; do
237 # Try only shells that exist, to save several forks.
238 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
239 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
240 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244 # is contrary to our usage. Disable this feature.
245 alias -g '${1+"$@"}'='"$@"'
248 case `(set -o) 2>/dev/null` in
249 *posix
*) set -o posix
;;
258 CONFIG_SHELL
=$as_shell
260 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
261 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265 # is contrary to our usage. Disable this feature.
266 alias -g '${1+"$@"}'='"$@"'
269 case `(set -o) 2>/dev/null` in
270 *posix
*) set -o posix
;;
286 as_func_ret_success
() {
289 as_func_ret_failure
() {
294 if as_func_success
; then
298 echo as_func_success failed.
301 if as_func_failure
; then
303 echo as_func_failure succeeded.
306 if as_func_ret_success
; then
310 echo as_func_ret_success failed.
313 if as_func_ret_failure
; then
315 echo as_func_ret_failure succeeded.
318 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
322 echo positional parameters were not saved.
325 test $exitcode = 0) ||
{ (exit 1); exit 1; }
330 test "x$as_lineno_1" != "x$as_lineno_2" &&
331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
342 if test "x$CONFIG_SHELL" != x
; then
343 for as_var
in BASH_ENV ENV
344 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351 if test $as_have_required = no
; then
352 echo This
script requires a shell
more modern than all the
353 echo shells that I found on your system. Please
install a
354 echo modern shell
, or manually run the
script under such a
355 echo shell
if you
do have one.
356 { (exit 1); exit 1; }
366 (eval "as_func_return () {
375 as_func_ret_success () {
378 as_func_ret_failure () {
383 if as_func_success; then
387 echo as_func_success failed.
390 if as_func_failure; then
392 echo as_func_failure succeeded.
395 if as_func_ret_success; then
399 echo as_func_ret_success failed.
402 if as_func_ret_failure; then
404 echo as_func_ret_failure succeeded.
407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 echo positional parameters were not saved.
414 test \$exitcode = 0") ||
{
415 echo No shell found that supports shell functions.
416 echo Please tell autoconf@gnu.org about your system
,
417 echo including any error possibly output before this
425 test "x$as_lineno_1" != "x$as_lineno_2" &&
426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429 # uniformly replaced by the line number. The first 'sed' inserts a
430 # line-number line after each line using $LINENO; the second 'sed'
431 # does the real work. The second script uses 'N' to pair each
432 # line-number line with the line containing $LINENO, and appends
433 # trailing '-' during substitution so that $LINENO is not a special
435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436 # scripts with optimization help from Paolo Bonzini. Blame Lee
437 # E. McMahon (1931-1989) for sed's syntax. :-)
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
453 chmod +x
"$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455 { (exit 1); exit 1; }; }
457 # Don't try to exec as it changes $[0], causing all sort of problems
458 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this).
461 # Exit status is that of the last command.
466 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
472 ECHO_C
= ECHO_N
= ECHO_T
=
476 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
483 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
484 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
490 rm -f conf$$ conf$$.exe conf$$.
file
491 if test -d conf$$.dir
; then
492 rm -f conf$$.dir
/conf$$.
file
498 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
500 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
506 elif ln conf$$.
file conf$$
2>/dev
/null
; then
511 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
512 rmdir conf$$.dir
2>/dev
/null
514 if mkdir
-p .
2>/dev
/null
; then
517 test -d .
/-p && rmdir .
/-p
521 if test -x / >/dev
/null
2>&1; then
524 if ls -dL / >/dev
/null
2>&1; then
531 if test -d "$1"; then
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538 ???[sx]*):;;*)false;;esac;fi
542 as_executable_p
=$as_test_x
544 # Sed expression to map a string onto a valid CPP name.
545 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
547 # Sed expression to map a string onto a valid variable name.
548 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
552 exec 7<&0 </dev
/null
6>&1
555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
556 # so uname gets run too.
557 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 ac_default_prefix
=/usr
/local
564 ac_config_libobj_dir
=.
570 SHELL
=${CONFIG_SHELL-/bin/sh}
572 # Identity of this package.
579 ac_unique_file
="mmakefile"
580 # Factoring default headers for most tests.
581 ac_includes_default
="\
583 #ifdef HAVE_SYS_TYPES_H
584 # include <sys/types.h>
586 #ifdef HAVE_SYS_STAT_H
587 # include <sys/stat.h>
593 # ifdef HAVE_STDLIB_H
598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
603 #ifdef HAVE_STRINGS_H
604 # include <strings.h>
606 #ifdef HAVE_INTTYPES_H
607 # include <inttypes.h>
625 program_transform_name
719 aros_target_objcopy_ln
720 aros_target_objdump_ln
721 aros_target_ranlib_ln
724 aros_target_nostdinc_cflags
725 aros_target_nostartup_ldflags
726 aros_target_nix_ldflags
727 aros_target_detach_ldflags
728 aros_target_nostdlib_ldflags
730 host_cflags_iquote_end
732 kernel_cflags_iquote_end
734 aros_cflags_iquote_end
762 aros_target_bootloader
776 aros_target_cc_includes
794 aros_kernel_objcflags
800 aros_target_strip_flags
804 aros_default_wbheight
808 aros_host_x11_includes
809 aros_host_x11_libdirs
814 aros_nesting_supervisor
828 ignore_undefined_symbols
832 ac_precious_vars
='build_alias
844 # Initialize some variables set by options.
846 ac_init_version
=false
847 # The variables have the same names as the options, with
848 # dashes changed to underlines.
856 program_transform_name
=s
,x
,x
,
864 # Installation directory options.
865 # These are left unexpanded so users can "make install exec_prefix=/foo"
866 # and all the variables that are supposed to be based on exec_prefix
867 # by default will actually change.
868 # Use braces instead of parens because sh, perl, etc. also accept them.
869 # (The list follows the same order as the GNU Coding Standards.)
870 bindir
='${exec_prefix}/bin'
871 sbindir
='${exec_prefix}/sbin'
872 libexecdir
='${exec_prefix}/libexec'
873 datarootdir
='${prefix}/share'
874 datadir
='${datarootdir}'
875 sysconfdir
='${prefix}/etc'
876 sharedstatedir
='${prefix}/com'
877 localstatedir
='${prefix}/var'
878 includedir
='${prefix}/include'
879 oldincludedir
='/usr/include'
880 docdir
='${datarootdir}/doc/${PACKAGE}'
881 infodir
='${datarootdir}/info'
886 libdir
='${exec_prefix}/lib'
887 localedir
='${datarootdir}/locale'
888 mandir
='${datarootdir}/man'
894 # If the previous option needs an argument, assign it.
895 if test -n "$ac_prev"; then
896 eval $ac_prev=\
$ac_option
902 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
906 # Accept the important Cygnus configure options, so we can diagnose typos.
908 case $ac_dashdash$ac_option in
912 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
914 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
917 -build |
--build |
--buil |
--bui |
--bu)
918 ac_prev
=build_alias
;;
919 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
920 build_alias
=$ac_optarg ;;
922 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
923 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
924 ac_prev
=cache_file
;;
925 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
926 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
927 cache_file
=$ac_optarg ;;
930 cache_file
=config.cache
;;
932 -datadir |
--datadir |
--datadi |
--datad)
934 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
935 datadir
=$ac_optarg ;;
937 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
938 |
--dataroo |
--dataro |
--datar)
939 ac_prev
=datarootdir
;;
940 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
941 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
942 datarootdir
=$ac_optarg ;;
944 -disable-* |
--disable-*)
945 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
946 # Reject names that are not valid shell variable names.
947 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
948 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
949 { (exit 1); exit 1; }; }
950 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
951 eval enable_
$ac_feature=no
;;
953 -docdir |
--docdir |
--docdi |
--doc |
--do)
955 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
958 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
960 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
963 -enable-* |
--enable-*)
964 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
965 # Reject names that are not valid shell variable names.
966 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
967 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
968 { (exit 1); exit 1; }; }
969 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
970 eval enable_
$ac_feature=\
$ac_optarg ;;
972 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
973 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
974 |
--exec |
--exe |
--ex)
975 ac_prev
=exec_prefix
;;
976 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
977 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
978 |
--exec=* |
--exe=* |
--ex=*)
979 exec_prefix
=$ac_optarg ;;
981 -gas |
--gas |
--ga |
--g)
982 # Obsolete; use --with-gas.
985 -help |
--help |
--hel |
--he |
-h)
987 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
988 ac_init_help
=recursive
;;
989 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
990 ac_init_help
=short
;;
992 -host |
--host |
--hos |
--ho)
993 ac_prev
=host_alias
;;
994 -host=* |
--host=* |
--hos=* |
--ho=*)
995 host_alias
=$ac_optarg ;;
997 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
999 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1001 htmldir
=$ac_optarg ;;
1003 -includedir |
--includedir |
--includedi |
--included |
--include \
1004 |
--includ |
--inclu |
--incl |
--inc)
1005 ac_prev
=includedir
;;
1006 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1007 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1008 includedir
=$ac_optarg ;;
1010 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1012 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1013 infodir
=$ac_optarg ;;
1015 -libdir |
--libdir |
--libdi |
--libd)
1017 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1018 libdir
=$ac_optarg ;;
1020 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1021 |
--libexe |
--libex |
--libe)
1022 ac_prev
=libexecdir
;;
1023 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1024 |
--libexe=* |
--libex=* |
--libe=*)
1025 libexecdir
=$ac_optarg ;;
1027 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1028 ac_prev
=localedir
;;
1029 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1030 localedir
=$ac_optarg ;;
1032 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1033 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1034 ac_prev
=localstatedir
;;
1035 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1036 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1037 localstatedir
=$ac_optarg ;;
1039 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1041 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1042 mandir
=$ac_optarg ;;
1044 -nfp |
--nfp |
--nf)
1045 # Obsolete; use --without-fp.
1048 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1049 |
--no-cr |
--no-c |
-n)
1052 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1053 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1056 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1057 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1058 |
--oldin |
--oldi |
--old |
--ol |
--o)
1059 ac_prev
=oldincludedir
;;
1060 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1061 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1062 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1063 oldincludedir
=$ac_optarg ;;
1065 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1067 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1068 prefix
=$ac_optarg ;;
1070 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1071 |
--program-pre |
--program-pr |
--program-p)
1072 ac_prev
=program_prefix
;;
1073 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1074 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1075 program_prefix
=$ac_optarg ;;
1077 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1078 |
--program-suf |
--program-su |
--program-s)
1079 ac_prev
=program_suffix
;;
1080 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1081 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1082 program_suffix
=$ac_optarg ;;
1084 -program-transform-name |
--program-transform-name \
1085 |
--program-transform-nam |
--program-transform-na \
1086 |
--program-transform-n |
--program-transform- \
1087 |
--program-transform |
--program-transfor \
1088 |
--program-transfo |
--program-transf \
1089 |
--program-trans |
--program-tran \
1090 |
--progr-tra |
--program-tr |
--program-t)
1091 ac_prev
=program_transform_name
;;
1092 -program-transform-name=* |
--program-transform-name=* \
1093 |
--program-transform-nam=* |
--program-transform-na=* \
1094 |
--program-transform-n=* |
--program-transform-=* \
1095 |
--program-transform=* |
--program-transfor=* \
1096 |
--program-transfo=* |
--program-transf=* \
1097 |
--program-trans=* |
--program-tran=* \
1098 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1099 program_transform_name
=$ac_optarg ;;
1101 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1103 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1104 pdfdir
=$ac_optarg ;;
1106 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1108 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1111 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1112 |
-silent |
--silent |
--silen |
--sile |
--sil)
1115 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1117 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1119 sbindir
=$ac_optarg ;;
1121 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1122 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1123 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1125 ac_prev
=sharedstatedir
;;
1126 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1127 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1128 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1130 sharedstatedir
=$ac_optarg ;;
1132 -site |
--site |
--sit)
1134 -site=* |
--site=* |
--sit=*)
1137 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1139 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1140 srcdir
=$ac_optarg ;;
1142 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1143 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1144 ac_prev
=sysconfdir
;;
1145 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1146 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1147 sysconfdir
=$ac_optarg ;;
1149 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1150 ac_prev
=target_alias
;;
1151 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1152 target_alias
=$ac_optarg ;;
1154 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1157 -version |
--version |
--versio |
--versi |
--vers |
-V)
1158 ac_init_version
=: ;;
1161 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1162 # Reject names that are not valid shell variable names.
1163 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1164 { echo "$as_me: error: invalid package name: $ac_package" >&2
1165 { (exit 1); exit 1; }; }
1166 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1167 eval with_
$ac_package=\
$ac_optarg ;;
1169 -without-* |
--without-*)
1170 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1171 # Reject names that are not valid shell variable names.
1172 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1173 { echo "$as_me: error: invalid package name: $ac_package" >&2
1174 { (exit 1); exit 1; }; }
1175 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1176 eval with_
$ac_package=no
;;
1179 # Obsolete; use --with-x.
1182 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1183 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1184 ac_prev
=x_includes
;;
1185 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1186 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1187 x_includes
=$ac_optarg ;;
1189 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1190 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1191 ac_prev
=x_libraries
;;
1192 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1193 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1194 x_libraries
=$ac_optarg ;;
1196 -*) { echo "$as_me: error: unrecognized option: $ac_option
1197 Try \`$0 --help' for more information." >&2
1198 { (exit 1); exit 1; }; }
1202 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1203 # Reject names that are not valid shell variable names.
1204 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1205 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1206 { (exit 1); exit 1; }; }
1207 eval $ac_envvar=\
$ac_optarg
1208 export $ac_envvar ;;
1211 # FIXME: should be removed in autoconf 3.0.
1212 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1213 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1214 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1215 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1221 if test -n "$ac_prev"; then
1222 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1223 { echo "$as_me: error: missing argument to $ac_option" >&2
1224 { (exit 1); exit 1; }; }
1227 # Be sure to have absolute directory names.
1228 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1229 datadir sysconfdir sharedstatedir localstatedir includedir \
1230 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1231 libdir localedir mandir
1233 eval ac_val
=\$
$ac_var
1235 [\\/$
]* | ?
:[\\/]* ) continue;;
1236 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1238 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1239 { (exit 1); exit 1; }; }
1242 # There might be people who depend on the old broken behavior: `$host'
1243 # used to hold the argument of --host etc.
1244 # FIXME: To remove some day.
1247 target
=$target_alias
1249 # FIXME: To remove some day.
1250 if test "x$host_alias" != x
; then
1251 if test "x$build_alias" = x
; then
1252 cross_compiling
=maybe
1253 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1254 If a cross compiler is detected then cross compile mode will be used." >&2
1255 elif test "x$build_alias" != "x$host_alias"; then
1261 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1263 test "$silent" = yes && exec 6>/dev
/null
1266 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1267 ac_ls_di
=`ls -di .` &&
1268 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1269 { echo "$as_me: error: Working directory cannot be determined" >&2
1270 { (exit 1); exit 1; }; }
1271 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1272 { echo "$as_me: error: pwd does not report name of working directory" >&2
1273 { (exit 1); exit 1; }; }
1276 # Find the source files, if location was not specified.
1277 if test -z "$srcdir"; then
1278 ac_srcdir_defaulted
=yes
1279 # Try the directory containing this script, then the parent directory.
1280 ac_confdir
=`$as_dirname -- "$0" ||
1281 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1282 X"$0" : 'X\(//\)[^/]' \| \
1283 X"$0" : 'X\(//\)$' \| \
1284 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1286 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1304 if test ! -r "$srcdir/$ac_unique_file"; then
1308 ac_srcdir_defaulted
=no
1310 if test ! -r "$srcdir/$ac_unique_file"; then
1311 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1312 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1313 { (exit 1); exit 1; }; }
1315 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1317 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1318 { (exit 1); exit 1; }; }
1320 # When building in place, set srcdir=.
1321 if test "$ac_abs_confdir" = "$ac_pwd"; then
1324 # Remove unnecessary trailing slashes from srcdir.
1325 # Double slashes in file names in object file debugging info
1326 # mess up M-x gdb in Emacs.
1328 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1330 for ac_var
in $ac_precious_vars; do
1331 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1332 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1333 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1334 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1338 # Report the --help message.
1340 if test "$ac_init_help" = "long"; then
1341 # Omit some internal or obsolete options to make the list less imposing.
1342 # This message is too long to be a string in the A/UX 3.1 sh.
1344 \`configure' configures this package to adapt to many kinds of systems.
1346 Usage: $0 [OPTION]... [VAR=VALUE]...
1348 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1349 VAR=VALUE. See below for descriptions of some of the useful variables.
1351 Defaults for the options are specified in brackets.
1354 -h, --help display this help and exit
1355 --help=short display options specific to this package
1356 --help=recursive display the short help of all the included packages
1357 -V, --version display version information and exit
1358 -q, --quiet, --silent do not print \`checking...' messages
1359 --cache-file=FILE cache test results in FILE [disabled]
1360 -C, --config-cache alias for \`--cache-file=config.cache'
1361 -n, --no-create do not create output files
1362 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1364 Installation directories:
1365 --prefix=PREFIX install architecture-independent files in PREFIX
1366 [$ac_default_prefix]
1367 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1370 By default, \`make install' will install all the files in
1371 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1372 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1373 for instance \`--prefix=\$HOME'.
1375 For better control, use the options below.
1377 Fine tuning of the installation directories:
1378 --bindir=DIR user executables [EPREFIX/bin]
1379 --sbindir=DIR system admin executables [EPREFIX/sbin]
1380 --libexecdir=DIR program executables [EPREFIX/libexec]
1381 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1382 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1383 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1384 --libdir=DIR object code libraries [EPREFIX/lib]
1385 --includedir=DIR C header files [PREFIX/include]
1386 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1387 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1388 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1389 --infodir=DIR info documentation [DATAROOTDIR/info]
1390 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1391 --mandir=DIR man documentation [DATAROOTDIR/man]
1392 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1393 --htmldir=DIR html documentation [DOCDIR]
1394 --dvidir=DIR dvi documentation [DOCDIR]
1395 --pdfdir=DIR pdf documentation [DOCDIR]
1396 --psdir=DIR ps documentation [DOCDIR]
1402 --x-includes=DIR X include files are
in DIR
1403 --x-libraries=DIR X library files are
in DIR
1406 --build=BUILD configure
for building on BUILD
[guessed
]
1407 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1411 if test -n "$ac_init_help"; then
1416 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1417 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1418 --enable-build-type=TYPE
1419 Select the build
type. Available types are
:
1420 personal
, nightly
, snapshot
, milestone
, release. Do
1421 NOT use this option unless you know what you are
1422 doing
! (default
=personal
)
1423 --enable-debug=list Enable different types of debug. Commas or
1424 whitespaces can be used to separate the items
in the
1425 list. Available types of debug are
: all
, none
,
1426 messages
, stack
, mungwall
, modules
, symbols. If no
1427 list is provided
then "all" is assumed.
1429 --enable-crosstools Build cross-compiler toolchains
if necessary
1431 --enable-distcc Use distcc as a front end to the compiler
1433 --enable-ccache Use ccache as a front end to the compiler
1435 --enable-target-variant=NAME
1436 Enable a specific target variant
(default
=none
)
1437 --enable-includes=dir Alternative system include directory
1438 --enable-palm-debug-hack
1439 Enable palm debug output hack
in palm native
1441 --enable-nesting-supervisor
1442 Enable nesting supervisor support
in unix
1444 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1445 --enable-x11-shm use X11 shared memory
(default
=auto
)
1446 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1447 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1448 --disable-sdltest Do not try to compile and run a
test SDL program
1449 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1452 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1453 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1454 --with-gcc-version=VERSION
1455 Use gcc-VERSION
for building AROS
1456 --with-optimization=FLAGS
1457 Use optimization flags FLAGS
(default
=-O2).
1458 --with-xcode=PATH Specify XCode path
for iOS targets
1459 (default
=/Developer
).
1460 --with-ios-version=VERSION
1461 Specify minimum supported iOS version
(default
=2.0).
1462 --with-ios-sdk=VERSION Use iOS SDK version VERSION
(default
=4.1).
1463 --with-portssources=DIR Where to download sourcecode
for external ports
1464 --with-bootloader=NAME Use a specific bootloader
1465 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1466 --with-theme=NAME Use a specific GUI Theme
1467 --with-resolution=XRESxYRESxDEPTH
1468 Default resolution of the initial WorkbenchScreen
1469 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1470 --with-x use the X Window System
1471 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1472 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1474 Some influential environment variables
:
1475 CC C compiler
command
1476 CFLAGS C compiler flags
1477 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1478 nonstandard directory
<lib dir
>
1479 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1480 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1481 you have headers
in a nonstandard directory
<include dir
>
1483 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1485 Use these variables to override the choices made by
`configure' or to help
1486 it to find libraries and programs with nonstandard names/locations.
1492 if test "$ac_init_help" = "recursive"; then
1493 # If there are subdirs, report their specific --help.
1494 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1495 test -d "$ac_dir" || continue
1499 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1501 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1502 # A ".." for each directory in $ac_dir_suffix.
1503 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1504 case $ac_top_builddir_sub in
1505 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1506 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1509 ac_abs_top_builddir=$ac_pwd
1510 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1511 # for backward compatibility:
1512 ac_top_builddir=$ac_top_build_prefix
1515 .) # We are building in place.
1517 ac_top_srcdir=$ac_top_builddir_sub
1518 ac_abs_top_srcdir=$ac_pwd ;;
1519 [\\/]* | ?:[\\/]* ) # Absolute name.
1520 ac_srcdir=$srcdir$ac_dir_suffix;
1521 ac_top_srcdir=$srcdir
1522 ac_abs_top_srcdir=$srcdir ;;
1524 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1525 ac_top_srcdir=$ac_top_build_prefix$srcdir
1526 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1528 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1530 cd "$ac_dir" || { ac_status=$?; continue; }
1531 # Check for guested configure.
1532 if test -f "$ac_srcdir/configure.gnu"; then
1534 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1535 elif test -f "$ac_srcdir/configure"; then
1537 $SHELL "$ac_srcdir/configure" --help=recursive
1539 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1541 cd "$ac_pwd" || { ac_status=$?; break; }
1545 test -n "$ac_init_help" && exit $ac_status
1546 if $ac_init_version; then
1549 generated by GNU Autoconf 2.61
1551 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1552 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1553 This configure script is free software; the Free Software Foundation
1554 gives unlimited permission to copy, distribute and modify it.
1558 cat >config.log <<_ACEOF
1559 This file contains any messages produced by compilers while
1560 running configure, to aid debugging if configure makes a mistake.
1562 It was created by $as_me, which was
1563 generated by GNU Autoconf 2.61. Invocation command line was
1575 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1576 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1577 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1578 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1579 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1581 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1582 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1584 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1585 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1586 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1587 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1588 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1589 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1590 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1598 test -z "$as_dir" && as_dir=.
1599 echo "PATH: $as_dir"
1615 # Keep a trace of the command line.
1616 # Strip out --no-create and --no-recursion so they do not pile up.
1617 # Strip out --silent because we don't want to record it for future runs.
1618 # Also quote any args containing shell meta-characters.
1619 # Make two passes to allow for proper duplicate-argument suppression.
1623 ac_must_keep_next=false
1629 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1630 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1631 | -silent | --silent | --silen | --sile | --sil)
1634 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1637 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1639 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1640 if test $ac_must_keep_next = true; then
1641 ac_must_keep_next=false # Got value, back to normal.
1644 *=* | --config-cache | -C | -disable-* | --disable-* \
1645 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1646 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1647 | -with-* | --with-* | -without-* | --without-* | --x)
1648 case "$ac_configure_args0 " in
1649 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1652 -* ) ac_must_keep_next=true ;;
1655 ac_configure_args="$ac_configure_args '$ac_arg'"
1660 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1661 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1663 # When interrupted or exit'd, cleanup temporary files, and complete
1664 # config.log. We remove comments because anyway the quotes in there
1665 # would cause problems or look ugly.
1666 # WARNING: Use '\'' to represent an apostrophe within the trap.
1667 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1668 trap 'exit_status=$?
1669 # Save into config.log some information that might help in debugging.
1674 ## ---------------- ##
1675 ## Cache variables. ##
1676 ## ---------------- ##
1679 # The following way of writing the cache mishandles newlines in values,
1681 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1682 eval ac_val=\$$ac_var
1686 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1687 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1690 _ | IFS | as_nl) ;; #(
1691 *) $as_unset $ac_var ;;
1696 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1697 *${as_nl}ac_space=\ *)
1699 "s/'\''/'\''\\\\'\'''\''/g;
1700 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1703 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1711 ## ----------------- ##
1712 ## Output variables. ##
1713 ## ----------------- ##
1716 for ac_var in $ac_subst_vars
1718 eval ac_val=\$$ac_var
1720 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1722 echo "$ac_var='\''$ac_val'\''"
1726 if test -n "$ac_subst_files"; then
1728 ## ------------------- ##
1729 ## File substitutions. ##
1730 ## ------------------- ##
1733 for ac_var in $ac_subst_files
1735 eval ac_val=\$$ac_var
1737 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1739 echo "$ac_var='\''$ac_val'\''"
1744 if test -s confdefs.h; then
1754 test "$ac_signal" != 0 &&
1755 echo "$as_me: caught signal $ac_signal"
1756 echo "$as_me: exit $exit_status"
1758 rm -f core *.core core.conftest.* &&
1759 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1762 for ac_signal in 1 2 13 15; do
1763 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1767 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1768 rm -f -r conftest* confdefs.h
1770 # Predefined preprocessor variables.
1772 cat >>confdefs.h <<_ACEOF
1773 #define PACKAGE_NAME "$PACKAGE_NAME"
1777 cat >>confdefs.h <<_ACEOF
1778 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1782 cat >>confdefs.h <<_ACEOF
1783 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1787 cat >>confdefs.h <<_ACEOF
1788 #define PACKAGE_STRING "$PACKAGE_STRING"
1792 cat >>confdefs.h <<_ACEOF
1793 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1797 # Let the site file select an alternate cache file if it wants to.
1798 # Prefer explicitly selected file to automatically selected ones.
1799 if test -n "$CONFIG_SITE"; then
1800 set x "$CONFIG_SITE"
1801 elif test "x$prefix" != xNONE; then
1802 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1804 set x "$ac_default_prefix/share/config.site" \
1805 "$ac_default_prefix/etc/config.site"
1810 if test -r "$ac_site_file"; then
1811 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1812 echo "$as_me: loading site script $ac_site_file" >&6;}
1813 sed 's/^/| /' "$ac_site_file" >&5
1818 if test -r "$cache_file"; then
1819 # Some versions of bash will fail to source /dev/null (special
1820 # files actually), so we avoid doing that.
1821 if test -f "$cache_file"; then
1822 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1823 echo "$as_me: loading cache $cache_file" >&6;}
1825 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1826 *) . "./$cache_file";;
1830 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1831 echo "$as_me: creating cache $cache_file" >&6;}
1835 # Check that the precious variables saved in the cache have kept the same
1837 ac_cache_corrupted=false
1838 for ac_var in $ac_precious_vars; do
1839 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1840 eval ac_new_set=\$ac_env_${ac_var}_set
1841 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1842 eval ac_new_val=\$ac_env_${ac_var}_value
1843 case $ac_old_set,$ac_new_set in
1845 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1846 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1847 ac_cache_corrupted=: ;;
1849 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1850 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1851 ac_cache_corrupted=: ;;
1854 if test "x$ac_old_val" != "x$ac_new_val"; then
1855 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1856 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1857 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1858 echo "$as_me: former value
: $ac_old_val" >&2;}
1859 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1860 echo "$as_me: current value
: $ac_new_val" >&2;}
1861 ac_cache_corrupted=:
1864 # Pass precious variables to config.status.
1865 if test "$ac_new_set" = set; then
1867 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1868 *) ac_arg=$ac_var=$ac_new_val ;;
1870 case " $ac_configure_args " in
1871 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1872 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1876 if $ac_cache_corrupted; then
1877 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1878 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1879 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1880 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1881 { (exit 1); exit 1; }; }
1901 ac_cpp='$CPP $CPPFLAGS'
1902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1909 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
1910 if test -f "$ac_dir/install-sh"; then
1912 ac_install_sh="$ac_aux_dir/install-sh -c"
1914 elif test -f "$ac_dir/install.sh"; then
1916 ac_install_sh="$ac_aux_dir/install.sh -c"
1918 elif test -f "$ac_dir/shtool"; then
1920 ac_install_sh="$ac_aux_dir/shtool install -c"
1924 if test -z "$ac_aux_dir"; then
1925 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts/autoconf \"$srcdir\"/scripts/autoconf" >&5
1926 echo "$as_me: error: cannot find install-sh or install.sh in scripts/autoconf \"$srcdir\"/scripts/autoconf" >&2;}
1927 { (exit 1); exit 1; }; }
1930 # These three variables are undocumented and unsupported,
1931 # and are intended to be withdrawn in a future Autoconf release.
1932 # They can cause serious problems if a builder's source tree is in a directory
1933 # whose full name contains unusual characters.
1934 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1935 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1936 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1940 # Check what host we are running on.
1941 # If a target is not suggested, we use this one.
1942 # Note that what we call a target, Autoconf calls a host.
1943 # Make sure we can run config.sub.
1944 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1945 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1946 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1947 { (exit 1); exit 1; }; }
1949 { echo "$as_me:$LINENO: checking build system type" >&5
1950 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1951 if test "${ac_cv_build+set}" = set; then
1952 echo $ECHO_N "(cached) $ECHO_C" >&6
1954 ac_build_alias=$build_alias
1955 test "x$ac_build_alias" = x &&
1956 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1957 test "x$ac_build_alias" = x &&
1958 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1959 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1960 { (exit 1); exit 1; }; }
1961 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1962 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1963 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1964 { (exit 1); exit 1; }; }
1967 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1968 echo "${ECHO_T}$ac_cv_build" >&6; }
1969 case $ac_cv_build in
1971 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1972 echo "$as_me: error: invalid value of canonical build" >&2;}
1973 { (exit 1); exit 1; }; };;
1976 ac_save_IFS=$IFS; IFS='-'
1982 # Remember, the first character of IFS is used to create $*,
1983 # except with old shells:
1986 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
1989 { echo "$as_me:$LINENO: checking host system type" >&5
1990 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1991 if test "${ac_cv_host+set}" = set; then
1992 echo $ECHO_N "(cached) $ECHO_C" >&6
1994 if test "x$host_alias" = x; then
1995 ac_cv_host=$ac_cv_build
1997 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1998 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1999 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2000 { (exit 1); exit 1; }; }
2004 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2005 echo "${ECHO_T}$ac_cv_host" >&6; }
2008 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2009 echo "$as_me: error: invalid value of canonical host" >&2;}
2010 { (exit 1); exit 1; }; };;
2013 ac_save_IFS=$IFS; IFS='-'
2019 # Remember, the first character of IFS is used to create $*,
2020 # except with old shells:
2023 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2027 # The AROS target is slightly different to the normal GNU style
2028 # format. We don't have the middle part, and we reverse the order
2029 # of the $(CPU) and $(OS) bits.
2031 # Don't strip the version of the target yet, it might be
2032 # useful on some systems.
2034 { echo "$as_me:$LINENO: checking for AROS style target" >&5
2035 echo $ECHO_N "checking for AROS style target... $ECHO_C" >&6; }
2037 if test "$target" = "NONE" ; then
2038 target=$host_os-$host_cpu
2041 if test "$target" = "" ; then
2042 target=$host_os-$host_cpu
2048 { echo "$as_me:$LINENO: result: $target" >&5
2049 echo "${ECHO_T}$target" >&6; }
2051 if test "$host_os" = "mingw32" ; then
2055 #don't know where else to put this...
2056 { echo "$as_me:$LINENO: checking Building AROS in .. " >&5
2057 echo $ECHO_N "checking Building AROS in .. ... $ECHO_C" >&6; }
2058 AROS_BUILDDIR=`${PWDCMD-pwd}`
2059 AROS_BUILDDIR_UNIX=${PWD}
2060 { echo "$as_me:$LINENO: result: $AROS_BUILDDIR" >&5
2061 echo "${ECHO_T}$AROS_BUILDDIR" >&6; }
2063 { echo "$as_me:$LINENO: checking AROS Source in .. " >&5
2064 echo $ECHO_N "checking AROS Source in .. ... $ECHO_C" >&6; }
2065 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2067 { echo "$as_me:$LINENO: result: $SRCDIR" >&5
2068 echo "${ECHO_T}$SRCDIR" >&6; }
2070 # Parse the target field into something useful.
2072 target_os=`echo $target |
sed 's/^\([^-]*\)-\(.*\)$/\1/'`
2073 target_cpu=`echo $target |
sed 's/^\([^-]*\)-\(.*\)$/\2/'`
2076 aros_default_wbwidth=800
2077 aros_default_wbheight=600
2078 aros_default_wbdepth=4
2081 # The first step is to find the host binaries.
2082 # Check for a compiler.
2084 ac_cpp='$CPP $CPPFLAGS'
2085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2088 if test -n "$ac_tool_prefix"; then
2089 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2090 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2091 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2093 if test "${ac_cv_prog_CC+set}" = set; then
2094 echo $ECHO_N "(cached) $ECHO_C" >&6
2096 if test -n "$CC"; then
2097 ac_cv_prog_CC="$CC" # Let the user override the test.
2099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2103 test -z "$as_dir" && as_dir=.
2104 for ac_exec_ext in '' $ac_executable_extensions; do
2105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2106 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2117 if test -n "$CC"; then
2118 { echo "$as_me:$LINENO: result: $CC" >&5
2119 echo "${ECHO_T}$CC" >&6; }
2121 { echo "$as_me:$LINENO: result: no" >&5
2122 echo "${ECHO_T}no" >&6; }
2127 if test -z "$ac_cv_prog_CC"; then
2129 # Extract the first word of "gcc", so it can be a program name with args.
2130 set dummy gcc; ac_word=$2
2131 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2133 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2134 echo $ECHO_N "(cached) $ECHO_C" >&6
2136 if test -n "$ac_ct_CC"; then
2137 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2143 test -z "$as_dir" && as_dir=.
2144 for ac_exec_ext in '' $ac_executable_extensions; do
2145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2146 ac_cv_prog_ac_ct_CC="gcc"
2147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2156 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2157 if test -n "$ac_ct_CC"; then
2158 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2159 echo "${ECHO_T}$ac_ct_CC" >&6; }
2161 { echo "$as_me:$LINENO: result: no" >&5
2162 echo "${ECHO_T}no" >&6; }
2165 if test "x$ac_ct_CC" = x; then
2168 case $cross_compiling:$ac_tool_warned in
2170 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2171 whose name does not start with the host triplet. If you think this
2172 configuration is useful to you, please write to autoconf@gnu.org." >&5
2173 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2174 whose name does not start with the host triplet. If you think this
2175 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2176 ac_tool_warned=yes ;;
2184 if test -z "$CC"; then
2185 if test -n "$ac_tool_prefix"; then
2186 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2187 set dummy ${ac_tool_prefix}cc; ac_word=$2
2188 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2190 if test "${ac_cv_prog_CC+set}" = set; then
2191 echo $ECHO_N "(cached) $ECHO_C" >&6
2193 if test -n "$CC"; then
2194 ac_cv_prog_CC="$CC" # Let the user override the test.
2196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2200 test -z "$as_dir" && as_dir=.
2201 for ac_exec_ext in '' $ac_executable_extensions; do
2202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2203 ac_cv_prog_CC="${ac_tool_prefix}cc"
2204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2214 if test -n "$CC"; then
2215 { echo "$as_me:$LINENO: result: $CC" >&5
2216 echo "${ECHO_T}$CC" >&6; }
2218 { echo "$as_me:$LINENO: result: no" >&5
2219 echo "${ECHO_T}no" >&6; }
2225 if test -z "$CC"; then
2226 # Extract the first word of "cc", so it can be a program name with args.
2227 set dummy cc; ac_word=$2
2228 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2230 if test "${ac_cv_prog_CC+set}" = set; then
2231 echo $ECHO_N "(cached) $ECHO_C" >&6
2233 if test -n "$CC"; then
2234 ac_cv_prog_CC="$CC" # Let the user override the test.
2237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2241 test -z "$as_dir" && as_dir=.
2242 for ac_exec_ext in '' $ac_executable_extensions; do
2243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2244 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2245 ac_prog_rejected=yes
2249 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2256 if test $ac_prog_rejected = yes; then
2257 # We found a bogon in the path, so make sure we never use it.
2258 set dummy $ac_cv_prog_CC
2260 if test $# != 0; then
2261 # We chose a different compiler from the bogus one.
2262 # However, it has the same basename, so the bogon will be chosen
2263 # first if we set CC to just the basename; use the full file name.
2265 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2271 if test -n "$CC"; then
2272 { echo "$as_me:$LINENO: result: $CC" >&5
2273 echo "${ECHO_T}$CC" >&6; }
2275 { echo "$as_me:$LINENO: result: no" >&5
2276 echo "${ECHO_T}no" >&6; }
2281 if test -z "$CC"; then
2282 if test -n "$ac_tool_prefix"; then
2283 for ac_prog in cl.exe
2285 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2286 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2289 if test "${ac_cv_prog_CC+set}" = set; then
2290 echo $ECHO_N "(cached) $ECHO_C" >&6
2292 if test -n "$CC"; then
2293 ac_cv_prog_CC="$CC" # Let the user override the test.
2295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2299 test -z "$as_dir" && as_dir=.
2300 for ac_exec_ext in '' $ac_executable_extensions; do
2301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2302 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2313 if test -n "$CC"; then
2314 { echo "$as_me:$LINENO: result: $CC" >&5
2315 echo "${ECHO_T}$CC" >&6; }
2317 { echo "$as_me:$LINENO: result: no" >&5
2318 echo "${ECHO_T}no" >&6; }
2322 test -n "$CC" && break
2325 if test -z "$CC"; then
2327 for ac_prog in cl.exe
2329 # Extract the first word of "$ac_prog", so it can be a program name with args.
2330 set dummy $ac_prog; ac_word=$2
2331 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2333 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2334 echo $ECHO_N "(cached) $ECHO_C" >&6
2336 if test -n "$ac_ct_CC"; then
2337 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2343 test -z "$as_dir" && as_dir=.
2344 for ac_exec_ext in '' $ac_executable_extensions; do
2345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2346 ac_cv_prog_ac_ct_CC="$ac_prog"
2347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2356 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2357 if test -n "$ac_ct_CC"; then
2358 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2359 echo "${ECHO_T}$ac_ct_CC" >&6; }
2361 { echo "$as_me:$LINENO: result: no" >&5
2362 echo "${ECHO_T}no" >&6; }
2366 test -n "$ac_ct_CC" && break
2369 if test "x$ac_ct_CC" = x; then
2372 case $cross_compiling:$ac_tool_warned in
2374 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2375 whose name does not start with the host triplet. If you think this
2376 configuration is useful to you, please write to autoconf@gnu.org." >&5
2377 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2378 whose name does not start with the host triplet. If you think this
2379 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2380 ac_tool_warned=yes ;;
2389 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2390 See \`config.log
' for more details." >&5
2391 echo "$as_me: error: no acceptable C compiler found in \$PATH
2392 See \`config.log' for more details.
" >&2;}
2393 { (exit 1); exit 1; }; }
2395 # Provide some information about the compiler.
2396 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2397 ac_compiler=`set X $ac_compile; echo $2`
2398 { (ac_try="$ac_compiler --version >&5"
2400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2401 *) ac_try_echo=$ac_try;;
2403 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2404 (eval "$ac_compiler --version >&5") 2>&5
2406 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2407 (exit $ac_status); }
2408 { (ac_try="$ac_compiler -v >&5"
2410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2411 *) ac_try_echo=$ac_try;;
2413 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2414 (eval "$ac_compiler -v >&5") 2>&5
2416 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2417 (exit $ac_status); }
2418 { (ac_try="$ac_compiler -V >&5"
2420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2421 *) ac_try_echo=$ac_try;;
2423 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2424 (eval "$ac_compiler -V >&5") 2>&5
2426 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2427 (exit $ac_status); }
2429 cat >conftest.$ac_ext <<_ACEOF
2432 cat confdefs.h >>conftest.$ac_ext
2433 cat >>conftest.$ac_ext <<_ACEOF
2434 /* end confdefs.h. */
2444 ac_clean_files_save=$ac_clean_files
2445 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2446 # Try to create an executable without -o first, disregard a.out.
2447 # It will help us diagnose broken compilers, and finding out an intuition
2449 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2450 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2451 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2453 # List of possible output files, starting from the most likely.
2454 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2455 # only as a last resort. b.out is created by i960 compilers.
2456 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2458 # The IRIX 6 linker writes into existing files which may not be
2459 # executable, retaining their permissions. Remove them first so a
2460 # subsequent execution test works.
2462 for ac_file in $ac_files
2465 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2466 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2471 if { (ac_try="$ac_link_default"
2473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2474 *) ac_try_echo=$ac_try;;
2476 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2477 (eval "$ac_link_default") 2>&5
2479 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2480 (exit $ac_status); }; then
2481 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2482 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2483 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2484 # so that the user can short-circuit this test for compilers unknown to
2486 for ac_file in $ac_files ''
2488 test -f "$ac_file" || continue
2490 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2493 # We found the default executable, but exeext='' is most
2497 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2499 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2501 # We set ac_cv_exeext here because the later test for it is not
2502 # safe: cross compilers may not add the suffix if given an `-o'
2503 # argument, so we may need to know it at that point already.
2504 # Even if this section looks crufty: it has the advantage of
2511 test "$ac_cv_exeext" = no && ac_cv_exeext=
2517 { echo "$as_me:$LINENO: result
: $ac_file" >&5
2518 echo "${ECHO_T}$ac_file" >&6; }
2519 if test -z "$ac_file"; then
2520 echo "$as_me: failed program was
:" >&5
2521 sed 's/^/| /' conftest.$ac_ext >&5
2523 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2524 See \
`config.log' for more details." >&5
2525 echo "$as_me: error: C compiler cannot create executables
2526 See \`config.log
' for more details." >&2;}
2527 { (exit 77); exit 77; }; }
2530 ac_exeext=$ac_cv_exeext
2532 # Check that the compiler produces executables we can run. If not, either
2533 # the compiler is broken, or we cross compile.
2534 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2535 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2536 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2537 # If not cross compiling, check that we can run a simple program.
2538 if test "$cross_compiling" != yes; then
2539 if { ac_try='.
/$ac_file'
2540 { (case "(($ac_try" in
2541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2542 *) ac_try_echo=$ac_try;;
2544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2545 (eval "$ac_try") 2>&5
2547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2548 (exit $ac_status); }; }; then
2551 if test "$cross_compiling" = maybe; then
2554 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2555 If you meant to cross compile, use \`--host'.
2556 See \
`config.log' for more details." >&5
2557 echo "$as_me: error: cannot run C compiled programs.
2558 If you meant to cross compile, use \`--host'.
2559 See \`config.log' for more details.
" >&2;}
2560 { (exit 1); exit 1; }; }
2564 { echo "$as_me:$LINENO: result
: yes" >&5
2565 echo "${ECHO_T}yes" >&6; }
2567 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2568 ac_clean_files=$ac_clean_files_save
2569 # Check that the compiler produces executables we can run. If not, either
2570 # the compiler is broken, or we cross compile.
2571 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2572 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2573 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2574 echo "${ECHO_T}$cross_compiling" >&6; }
2576 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2577 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2578 if { (ac_try="$ac_link"
2580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2581 *) ac_try_echo=$ac_try;;
2583 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2584 (eval "$ac_link") 2>&5
2586 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2587 (exit $ac_status); }; then
2588 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2589 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2590 # work properly (i.e., refer to `conftest.exe'), while it won't with
2592 for ac_file in conftest.exe conftest conftest.*; do
2593 test -f "$ac_file" || continue
2595 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2596 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2602 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2603 See \
`config.log' for more details." >&5
2604 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2605 See \`config.log
' for more details." >&2;}
2606 { (exit 1); exit 1; }; }
2609 rm -f conftest$ac_cv_exeext
2610 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2611 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2613 rm -f conftest.$ac_ext
2614 EXEEXT=$ac_cv_exeext
2616 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2617 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2618 if test "${ac_cv_objext+set}" = set; then
2619 echo $ECHO_N "(cached) $ECHO_C" >&6
2621 cat >conftest.$ac_ext <<_ACEOF
2624 cat confdefs.h >>conftest.$ac_ext
2625 cat >>conftest.$ac_ext <<_ACEOF
2626 /* end confdefs.h. */
2636 rm -f conftest.o conftest.obj
2637 if { (ac_try="$ac_compile"
2639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2640 *) ac_try_echo=$ac_try;;
2642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2643 (eval "$ac_compile") 2>&5
2645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2646 (exit $ac_status); }; then
2647 for ac_file in conftest.o conftest.obj conftest.*; do
2648 test -f "$ac_file" || continue;
2650 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2651 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2656 echo "$as_me: failed program was:" >&5
2657 sed 's
/^
/|
/' conftest.$ac_ext >&5
2659 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2660 See \`config.log' for more details.
" >&5
2661 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2662 See \
`config.log' for more details." >&2;}
2663 { (exit 1); exit 1; }; }
2666 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2668 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2669 echo "${ECHO_T}$ac_cv_objext" >&6; }
2670 OBJEXT=$ac_cv_objext
2672 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2673 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2674 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2675 echo $ECHO_N "(cached) $ECHO_C" >&6
2677 cat >conftest.$ac_ext <<_ACEOF
2680 cat confdefs.h >>conftest.$ac_ext
2681 cat >>conftest.$ac_ext <<_ACEOF
2682 /* end confdefs.h. */
2695 rm -f conftest.$ac_objext
2696 if { (ac_try="$ac_compile"
2698 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2699 *) ac_try_echo
=$ac_try;;
2701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2702 (eval "$ac_compile") 2>conftest.er1
2704 grep -v '^ *+' conftest.er1
>conftest.err
2706 cat conftest.err
>&5
2707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2708 (exit $ac_status); } && {
2709 test -z "$ac_c_werror_flag" ||
2710 test ! -s conftest.err
2711 } && test -s conftest.
$ac_objext; then
2714 echo "$as_me: failed program was:" >&5
2715 sed 's/^/| /' conftest.
$ac_ext >&5
2720 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2721 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2724 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2725 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2726 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2727 ac_test_CFLAGS
=${CFLAGS+set}
2728 ac_save_CFLAGS
=$CFLAGS
2729 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2730 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2731 if test "${ac_cv_prog_cc_g+set}" = set; then
2732 echo $ECHO_N "(cached) $ECHO_C" >&6
2734 ac_save_c_werror_flag
=$ac_c_werror_flag
2735 ac_c_werror_flag
=yes
2738 cat >conftest.
$ac_ext <<_ACEOF
2741 cat confdefs.h
>>conftest.
$ac_ext
2742 cat >>conftest.
$ac_ext <<_ACEOF
2743 /* end confdefs.h. */
2753 rm -f conftest.
$ac_objext
2754 if { (ac_try
="$ac_compile"
2756 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2757 *) ac_try_echo=$ac_try;;
2759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2760 (eval "$ac_compile") 2>conftest.er1
2762 grep -v '^ *+' conftest.er1 >conftest.err
2764 cat conftest.err >&5
2765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2766 (exit $ac_status); } && {
2767 test -z "$ac_c_werror_flag" ||
2768 test ! -s conftest.err
2769 } && test -s conftest.$ac_objext; then
2772 echo "$as_me: failed program was:" >&5
2773 sed 's/^/| /' conftest.$ac_ext >&5
2776 cat >conftest.$ac_ext <<_ACEOF
2779 cat confdefs.h >>conftest.$ac_ext
2780 cat >>conftest.$ac_ext <<_ACEOF
2781 /* end confdefs.h. */
2791 rm -f conftest.$ac_objext
2792 if { (ac_try="$ac_compile"
2794 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2795 *) ac_try_echo
=$ac_try;;
2797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2798 (eval "$ac_compile") 2>conftest.er1
2800 grep -v '^ *+' conftest.er1
>conftest.err
2802 cat conftest.err
>&5
2803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2804 (exit $ac_status); } && {
2805 test -z "$ac_c_werror_flag" ||
2806 test ! -s conftest.err
2807 } && test -s conftest.
$ac_objext; then
2810 echo "$as_me: failed program was:" >&5
2811 sed 's/^/| /' conftest.
$ac_ext >&5
2813 ac_c_werror_flag
=$ac_save_c_werror_flag
2815 cat >conftest.
$ac_ext <<_ACEOF
2818 cat confdefs.h
>>conftest.
$ac_ext
2819 cat >>conftest.
$ac_ext <<_ACEOF
2820 /* end confdefs.h. */
2830 rm -f conftest.
$ac_objext
2831 if { (ac_try
="$ac_compile"
2833 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2834 *) ac_try_echo=$ac_try;;
2836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2837 (eval "$ac_compile") 2>conftest.er1
2839 grep -v '^ *+' conftest.er1 >conftest.err
2841 cat conftest.err >&5
2842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2843 (exit $ac_status); } && {
2844 test -z "$ac_c_werror_flag" ||
2845 test ! -s conftest.err
2846 } && test -s conftest.$ac_objext; then
2849 echo "$as_me: failed program was:" >&5
2850 sed 's/^/| /' conftest.$ac_ext >&5
2855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2862 ac_c_werror_flag=$ac_save_c_werror_flag
2864 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2865 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2866 if test "$ac_test_CFLAGS" = set; then
2867 CFLAGS=$ac_save_CFLAGS
2868 elif test $ac_cv_prog_cc_g = yes; then
2869 if test "$GCC" = yes; then
2875 if test "$GCC" = yes; then
2881 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2882 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2883 if test "${ac_cv_prog_cc_c89+set}" = set; then
2884 echo $ECHO_N "(cached) $ECHO_C" >&6
2886 ac_cv_prog_cc_c89=no
2888 cat >conftest.$ac_ext <<_ACEOF
2891 cat confdefs.h >>conftest.$ac_ext
2892 cat >>conftest.$ac_ext <<_ACEOF
2893 /* end confdefs.h. */
2896 #include <sys/types.h>
2897 #include <sys/stat.h>
2898 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2899 struct buf { int x; };
2900 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2901 static char *e (p, i)
2907 static char *f (char * (*g) (char **, int), char **p, ...)
2912 s = g (p, va_arg (v,int));
2917 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2918 function prototypes and stuff, but not '\xHH' hex character constants.
2919 These don't provoke an error unfortunately, instead are silently treated
2920 as 'x'. The following induces an error, until -std is added to get
2921 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2922 array size at least. It's necessary to write '\x00'==0 to get something
2923 that's true only with -std. */
2924 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2926 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2927 inside strings and character constants. */
2929 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2931 int test (int i, double x);
2932 struct s1 {int (*f) (int a);};
2933 struct s2 {int (*f) (double a);};
2934 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2940 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2945 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2946 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2948 CC="$ac_save_CC $ac_arg"
2949 rm -f conftest.$ac_objext
2950 if { (ac_try="$ac_compile"
2952 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2953 *) ac_try_echo
=$ac_try;;
2955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2956 (eval "$ac_compile") 2>conftest.er1
2958 grep -v '^ *+' conftest.er1
>conftest.err
2960 cat conftest.err
>&5
2961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2962 (exit $ac_status); } && {
2963 test -z "$ac_c_werror_flag" ||
2964 test ! -s conftest.err
2965 } && test -s conftest.
$ac_objext; then
2966 ac_cv_prog_cc_c89
=$ac_arg
2968 echo "$as_me: failed program was:" >&5
2969 sed 's/^/| /' conftest.
$ac_ext >&5
2974 rm -f core conftest.err conftest.
$ac_objext
2975 test "x$ac_cv_prog_cc_c89" != "xno" && break
2977 rm -f conftest.
$ac_ext
2982 case "x$ac_cv_prog_cc_c89" in
2984 { echo "$as_me:$LINENO: result: none needed" >&5
2985 echo "${ECHO_T}none needed" >&6; } ;;
2987 { echo "$as_me:$LINENO: result: unsupported" >&5
2988 echo "${ECHO_T}unsupported" >&6; } ;;
2990 CC
="$CC $ac_cv_prog_cc_c89"
2991 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2992 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2997 ac_cpp
='$CPP $CPPFLAGS'
2998 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2999 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3000 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3002 case $ac_cv_prog_cc_stdc in
3003 no
) ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;;
3004 *) { echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
3005 echo $ECHO_N "checking for $CC option to accept ISO C99... $ECHO_C" >&6; }
3006 if test "${ac_cv_prog_cc_c99+set}" = set; then
3007 echo $ECHO_N "(cached) $ECHO_C" >&6
3009 ac_cv_prog_cc_c99
=no
3011 cat >conftest.
$ac_ext <<_ACEOF
3014 cat confdefs.h
>>conftest.
$ac_ext
3015 cat >>conftest.
$ac_ext <<_ACEOF
3016 /* end confdefs.h. */
3018 #include <stdbool.h>
3023 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3024 #define debug(...) fprintf (stderr, __VA_ARGS__)
3025 #define showlist(...) puts (#__VA_ARGS__)
3026 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3028 test_varargs_macros (void)
3033 debug ("X = %d\n", x);
3034 showlist (The first, second, and third items.);
3035 report (x>y, "x is %d but y is %d", x, y);
3038 // Check long long types.
3039 #define BIG64 18446744073709551615ull
3040 #define BIG32 4294967295ul
3041 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3043 your preprocessor is broken;
3047 your preprocessor is broken;
3049 static long long int bignum = -9223372036854775807LL;
3050 static unsigned long long int ubignum = BIG64;
3052 struct incomplete_array
3060 const wchar_t *name;
3064 typedef const char *ccp;
3067 test_restrict (ccp restrict text)
3069 // See if C++-style comments work.
3070 // Iterate through items via the restricted pointer.
3071 // Also check for declarations in for loops.
3072 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3077 // Check varargs and va_copy.
3079 test_varargs (const char *format, ...)
3082 va_start (args, format);
3084 va_copy (args_copy, args);
3095 str = va_arg (args_copy, const char *);
3098 number = va_arg (args_copy, int);
3101 fnumber = va_arg (args_copy, double);
3116 _Bool success = false;
3119 if (test_restrict ("String literal") == 0)
3121 char *restrict newvar = "Another string";
3124 test_varargs ("s, d' f .", "string", 65, 34.234);
3125 test_varargs_macros ();
3127 // Check flexible array members.
3128 struct incomplete_array *ia =
3129 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3131 for (int i = 0; i < ia->datasize; ++i)
3132 ia->data[i] = i * 1.234;
3134 // Check named initializers.
3135 struct named_init ni = {
3137 .name = L"Test wide string",
3138 .average = 543.34343,
3143 int dynamic_array[ni.number];
3144 dynamic_array[ni.number - 1] = 543;
3146 // work around unused variable warnings
3147 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3148 || dynamic_array[ni.number - 1] != 543);
3154 for ac_arg
in '' -std=gnu99
-c99 -qlanglvl=extc99
3156 CC
="$ac_save_CC $ac_arg"
3157 rm -f conftest.
$ac_objext
3158 if { (ac_try
="$ac_compile"
3160 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3161 *) ac_try_echo=$ac_try;;
3163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3164 (eval "$ac_compile") 2>conftest.er1
3166 grep -v '^ *+' conftest.er1 >conftest.err
3168 cat conftest.err >&5
3169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170 (exit $ac_status); } && {
3171 test -z "$ac_c_werror_flag" ||
3172 test ! -s conftest.err
3173 } && test -s conftest.$ac_objext; then
3174 ac_cv_prog_cc_c99=$ac_arg
3176 echo "$as_me: failed program was:" >&5
3177 sed 's/^/| /' conftest.$ac_ext >&5
3182 rm -f core conftest.err conftest.$ac_objext
3183 test "x$ac_cv_prog_cc_c99" != "xno" && break
3185 rm -f conftest.$ac_ext
3190 case "x$ac_cv_prog_cc_c99" in
3192 { echo "$as_me:$LINENO: result: none needed" >&5
3193 echo "${ECHO_T}none needed" >&6; } ;;
3195 { echo "$as_me:$LINENO: result: unsupported" >&5
3196 echo "${ECHO_T}unsupported" >&6; } ;;
3198 CC="$CC $ac_cv_prog_cc_c99"
3199 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
3200 echo "${ECHO_T}$ac_cv_prog_cc_c99" >&6; } ;;
3202 if test "x$ac_cv_prog_cc_c99" != xno; then
3203 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3205 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3206 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3207 if test "${ac_cv_prog_cc_c89+set}" = set; then
3208 echo $ECHO_N "(cached) $ECHO_C" >&6
3210 ac_cv_prog_cc_c89=no
3212 cat >conftest.$ac_ext <<_ACEOF
3215 cat confdefs.h >>conftest.$ac_ext
3216 cat >>conftest.$ac_ext <<_ACEOF
3217 /* end confdefs.h. */
3220 #include <sys/types.h>
3221 #include <sys/stat.h>
3222 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3223 struct buf { int x; };
3224 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3225 static char *e (p, i)
3231 static char *f (char * (*g) (char **, int), char **p, ...)
3236 s = g (p, va_arg (v,int));
3241 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3242 function prototypes and stuff, but not '\xHH' hex character constants.
3243 These don't provoke an error unfortunately, instead are silently treated
3244 as 'x'. The following induces an error, until -std is added to get
3245 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3246 array size at least. It's necessary to write '\x00'==0 to get something
3247 that's true only with -std. */
3248 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3250 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3251 inside strings and character constants. */
3253 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3255 int test (int i, double x);
3256 struct s1 {int (*f) (int a);};
3257 struct s2 {int (*f) (double a);};
3258 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3264 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3269 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3270 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3272 CC="$ac_save_CC $ac_arg"
3273 rm -f conftest.$ac_objext
3274 if { (ac_try="$ac_compile"
3276 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3277 *) ac_try_echo
=$ac_try;;
3279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3280 (eval "$ac_compile") 2>conftest.er1
3282 grep -v '^ *+' conftest.er1
>conftest.err
3284 cat conftest.err
>&5
3285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3286 (exit $ac_status); } && {
3287 test -z "$ac_c_werror_flag" ||
3288 test ! -s conftest.err
3289 } && test -s conftest.
$ac_objext; then
3290 ac_cv_prog_cc_c89
=$ac_arg
3292 echo "$as_me: failed program was:" >&5
3293 sed 's/^/| /' conftest.
$ac_ext >&5
3298 rm -f core conftest.err conftest.
$ac_objext
3299 test "x$ac_cv_prog_cc_c89" != "xno" && break
3301 rm -f conftest.
$ac_ext
3306 case "x$ac_cv_prog_cc_c89" in
3308 { echo "$as_me:$LINENO: result: none needed" >&5
3309 echo "${ECHO_T}none needed" >&6; } ;;
3311 { echo "$as_me:$LINENO: result: unsupported" >&5
3312 echo "${ECHO_T}unsupported" >&6; } ;;
3314 CC
="$CC $ac_cv_prog_cc_c89"
3315 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3316 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3318 if test "x$ac_cv_prog_cc_c89" != xno
; then
3319 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
3321 ac_cv_prog_cc_stdc
=no
3329 { echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5
3330 echo $ECHO_N "checking for $CC option to accept ISO Standard C... $ECHO_C" >&6; }
3331 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3332 echo $ECHO_N "(cached) $ECHO_C" >&6
3335 case $ac_cv_prog_cc_stdc in
3336 no
) { echo "$as_me:$LINENO: result: unsupported" >&5
3337 echo "${ECHO_T}unsupported" >&6; } ;;
3338 '') { echo "$as_me:$LINENO: result: none needed" >&5
3339 echo "${ECHO_T}none needed" >&6; } ;;
3340 *) { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3341 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; } ;;
3346 ac_cpp
='$CPP $CPPFLAGS'
3347 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3348 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3349 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3350 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3351 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3352 # On Suns, sometimes $CPP names a directory.
3353 if test -n "$CPP" && test -d "$CPP"; then
3356 if test -z "$CPP"; then
3357 if test "${ac_cv_prog_CPP+set}" = set; then
3358 echo $ECHO_N "(cached) $ECHO_C" >&6
3360 # Double quotes because CPP needs to be expanded
3361 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3364 for ac_c_preproc_warn_flag
in '' yes
3366 # Use a header file that comes with gcc, so configuring glibc
3367 # with a fresh cross-compiler works.
3368 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3369 # <limits.h> exists even on freestanding compilers.
3370 # On the NeXT, cc -E runs the code through the compiler's parser,
3371 # not just through cpp. "Syntax error" is here to catch this case.
3372 cat >conftest.
$ac_ext <<_ACEOF
3375 cat confdefs.h
>>conftest.
$ac_ext
3376 cat >>conftest.
$ac_ext <<_ACEOF
3377 /* end confdefs.h. */
3379 # include <limits.h>
3381 # include <assert.h>
3385 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3387 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3388 *) ac_try_echo=$ac_try;;
3390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3391 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3393 grep -v '^ *+' conftest.er1 >conftest.err
3395 cat conftest.err >&5
3396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3397 (exit $ac_status); } >/dev/null && {
3398 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3399 test ! -s conftest.err
3403 echo "$as_me: failed program was:" >&5
3404 sed 's/^/| /' conftest.$ac_ext >&5
3406 # Broken: fails on valid input.
3410 rm -f conftest.err conftest.$ac_ext
3412 # OK, works on sane cases. Now check whether nonexistent headers
3413 # can be detected and how.
3414 cat >conftest.$ac_ext <<_ACEOF
3417 cat confdefs.h >>conftest.$ac_ext
3418 cat >>conftest.$ac_ext <<_ACEOF
3419 /* end confdefs.h. */
3420 #include <ac_nonexistent.h>
3422 if { (ac_try="$ac_cpp conftest.$ac_ext"
3424 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3425 *) ac_try_echo
=$ac_try;;
3427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3428 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3430 grep -v '^ *+' conftest.er1
>conftest.err
3432 cat conftest.err
>&5
3433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3434 (exit $ac_status); } >/dev
/null
&& {
3435 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3436 test ! -s conftest.err
3438 # Broken: success on invalid input.
3441 echo "$as_me: failed program was:" >&5
3442 sed 's/^/| /' conftest.
$ac_ext >&5
3444 # Passes both tests.
3449 rm -f conftest.err conftest.
$ac_ext
3452 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3453 rm -f conftest.err conftest.
$ac_ext
3454 if $ac_preproc_ok; then
3466 { echo "$as_me:$LINENO: result: $CPP" >&5
3467 echo "${ECHO_T}$CPP" >&6; }
3469 for ac_c_preproc_warn_flag
in '' yes
3471 # Use a header file that comes with gcc, so configuring glibc
3472 # with a fresh cross-compiler works.
3473 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3474 # <limits.h> exists even on freestanding compilers.
3475 # On the NeXT, cc -E runs the code through the compiler's parser,
3476 # not just through cpp. "Syntax error" is here to catch this case.
3477 cat >conftest.
$ac_ext <<_ACEOF
3480 cat confdefs.h
>>conftest.
$ac_ext
3481 cat >>conftest.
$ac_ext <<_ACEOF
3482 /* end confdefs.h. */
3484 # include <limits.h>
3486 # include <assert.h>
3490 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3492 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3493 *) ac_try_echo=$ac_try;;
3495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3496 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3498 grep -v '^ *+' conftest.er1 >conftest.err
3500 cat conftest.err >&5
3501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3502 (exit $ac_status); } >/dev/null && {
3503 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3504 test ! -s conftest.err
3508 echo "$as_me: failed program was:" >&5
3509 sed 's/^/| /' conftest.$ac_ext >&5
3511 # Broken: fails on valid input.
3515 rm -f conftest.err conftest.$ac_ext
3517 # OK, works on sane cases. Now check whether nonexistent headers
3518 # can be detected and how.
3519 cat >conftest.$ac_ext <<_ACEOF
3522 cat confdefs.h >>conftest.$ac_ext
3523 cat >>conftest.$ac_ext <<_ACEOF
3524 /* end confdefs.h. */
3525 #include <ac_nonexistent.h>
3527 if { (ac_try="$ac_cpp conftest.$ac_ext"
3529 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3530 *) ac_try_echo
=$ac_try;;
3532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3533 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3535 grep -v '^ *+' conftest.er1
>conftest.err
3537 cat conftest.err
>&5
3538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3539 (exit $ac_status); } >/dev
/null
&& {
3540 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3541 test ! -s conftest.err
3543 # Broken: success on invalid input.
3546 echo "$as_me: failed program was:" >&5
3547 sed 's/^/| /' conftest.
$ac_ext >&5
3549 # Passes both tests.
3554 rm -f conftest.err conftest.
$ac_ext
3557 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3558 rm -f conftest.err conftest.
$ac_ext
3559 if $ac_preproc_ok; then
3562 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3563 See \`config.log' for more details." >&5
3564 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3565 See \`config.log' for more details." >&2;}
3566 { (exit 1); exit 1; }; }
3570 ac_cpp
='$CPP $CPPFLAGS'
3571 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3572 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3573 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3576 # Check for a compatible awk
3577 for ac_prog
in gawk nawk
3579 # Extract the first word of "$ac_prog", so it can be a program name with args.
3580 set dummy
$ac_prog; ac_word
=$2
3581 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3583 if test "${ac_cv_prog_AWK+set}" = set; then
3584 echo $ECHO_N "(cached) $ECHO_C" >&6
3586 if test -n "$AWK"; then
3587 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3593 test -z "$as_dir" && as_dir
=.
3594 for ac_exec_ext
in '' $ac_executable_extensions; do
3595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3596 ac_cv_prog_AWK
="$ac_prog"
3597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3607 if test -n "$AWK"; then
3608 { echo "$as_me:$LINENO: result: $AWK" >&5
3609 echo "${ECHO_T}$AWK" >&6; }
3611 { echo "$as_me:$LINENO: result: no" >&5
3612 echo "${ECHO_T}no" >&6; }
3616 test -n "$AWK" && break
3619 if test "$AWK" = ""; then
3620 { { echo "$as_me:$LINENO: error: gawk is required to build AROS. Please install and run configure again." >&5
3621 echo "$as_me: error: gawk is required to build AROS. Please install and run configure again." >&2;}
3622 { (exit 1); exit 1; }; }
3624 # Extract the first word of "mmake", so it can be a program name with args.
3625 set dummy mmake
; ac_word
=$2
3626 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3628 if test "${ac_cv_prog_MMAKE+set}" = set; then
3629 echo $ECHO_N "(cached) $ECHO_C" >&6
3631 if test -n "$MMAKE"; then
3632 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
3634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3638 test -z "$as_dir" && as_dir
=.
3639 for ac_exec_ext
in '' $ac_executable_extensions; do
3640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3641 ac_cv_prog_MMAKE
="mmake "
3642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3651 MMAKE
=$ac_cv_prog_MMAKE
3652 if test -n "$MMAKE"; then
3653 { echo "$as_me:$LINENO: result: $MMAKE" >&5
3654 echo "${ECHO_T}$MMAKE" >&6; }
3656 { echo "$as_me:$LINENO: result: no" >&5
3657 echo "${ECHO_T}no" >&6; }
3662 # Perform some default variable assignments. Note all of these will be
3663 # Regenerated from the script, so there is no need to cache them.
3666 if test "$GCC" = "yes"; then
3667 aros_gcc_ld
=`$CC -print-prog-name=ld`
3668 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
3669 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
3670 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3672 if test "${ac_cv_path_aros_host_ld+set}" = set; then
3673 echo $ECHO_N "(cached) $ECHO_C" >&6
3675 case $aros_host_ld in
3677 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3681 for as_dir
in `dirname $aros_gcc_ld`
3684 test -z "$as_dir" && as_dir
=.
3685 for ac_exec_ext
in '' $ac_executable_extensions; do
3686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3687 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3698 aros_host_ld
=$ac_cv_path_aros_host_ld
3699 if test -n "$aros_host_ld"; then
3700 { echo "$as_me:$LINENO: result: $aros_host_ld" >&5
3701 echo "${ECHO_T}$aros_host_ld" >&6; }
3703 { echo "$as_me:$LINENO: result: no" >&5
3704 echo "${ECHO_T}no" >&6; }
3709 if test "$aros_host_ld" = ""; then
3710 # Extract the first word of "ld", so it can be a program name with args.
3711 set dummy ld
; ac_word
=$2
3712 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3714 if test "${ac_cv_path_aros_host_ld+set}" = set; then
3715 echo $ECHO_N "(cached) $ECHO_C" >&6
3717 case $aros_host_ld in
3719 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3726 test -z "$as_dir" && as_dir
=.
3727 for ac_exec_ext
in '' $ac_executable_extensions; do
3728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3729 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3730 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3740 aros_host_ld
=$ac_cv_path_aros_host_ld
3741 if test -n "$aros_host_ld"; then
3742 { echo "$as_me:$LINENO: result: $aros_host_ld" >&5
3743 echo "${ECHO_T}$aros_host_ld" >&6; }
3745 { echo "$as_me:$LINENO: result: no" >&5
3746 echo "${ECHO_T}no" >&6; }
3751 if test "$aros_host_ld" = ""; then
3752 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
3753 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
3754 { (exit 1); exit 1; }; }
3756 aros_host_make
="make"
3757 aros_host_cflags
=$CFLAGS
3758 aros_host_ldflags
=$LDFLAGS
3759 aros_host_debug
="-g -O0"
3760 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
3761 aros_host_mkargs
="--no-print-directory"
3762 aros_host_incl
="/usr/include"
3763 aros_host_exe_suffix
="$EXEEXT"
3764 aros_host_lib_suffix
=""
3766 for ac_prog
in aclocal aclocal19 aclocal-1.9
3768 # Extract the first word of "$ac_prog", so it can be a program name with args.
3769 set dummy
$ac_prog; ac_word
=$2
3770 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3771 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3772 if test "${ac_cv_prog_aros_host_aclocal+set}" = set; then
3773 echo $ECHO_N "(cached) $ECHO_C" >&6
3775 if test -n "$aros_host_aclocal"; then
3776 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
3778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3782 test -z "$as_dir" && as_dir
=.
3783 for ac_exec_ext
in '' $ac_executable_extensions; do
3784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3785 ac_cv_prog_aros_host_aclocal
="$ac_prog"
3786 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3795 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
3796 if test -n "$aros_host_aclocal"; then
3797 { echo "$as_me:$LINENO: result: $aros_host_aclocal" >&5
3798 echo "${ECHO_T}$aros_host_aclocal" >&6; }
3800 { echo "$as_me:$LINENO: result: no" >&5
3801 echo "${ECHO_T}no" >&6; }
3805 test -n "$aros_host_aclocal" && break
3808 for ac_prog
in autoconf autoconf259 autoconf253
3810 # Extract the first word of "$ac_prog", so it can be a program name with args.
3811 set dummy
$ac_prog; ac_word
=$2
3812 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3814 if test "${ac_cv_prog_aros_host_autoconf+set}" = set; then
3815 echo $ECHO_N "(cached) $ECHO_C" >&6
3817 if test -n "$aros_host_autoconf"; then
3818 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
3820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3824 test -z "$as_dir" && as_dir
=.
3825 for ac_exec_ext
in '' $ac_executable_extensions; do
3826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3827 ac_cv_prog_aros_host_autoconf
="$ac_prog"
3828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3837 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
3838 if test -n "$aros_host_autoconf"; then
3839 { echo "$as_me:$LINENO: result: $aros_host_autoconf" >&5
3840 echo "${ECHO_T}$aros_host_autoconf" >&6; }
3842 { echo "$as_me:$LINENO: result: no" >&5
3843 echo "${ECHO_T}no" >&6; }
3847 test -n "$aros_host_autoconf" && break
3850 for ac_prog
in autoheader autoheader259 autoheader253
3852 # Extract the first word of "$ac_prog", so it can be a program name with args.
3853 set dummy
$ac_prog; ac_word
=$2
3854 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3856 if test "${ac_cv_prog_aros_host_autoheader+set}" = set; then
3857 echo $ECHO_N "(cached) $ECHO_C" >&6
3859 if test -n "$aros_host_autoheader"; then
3860 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
3862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3866 test -z "$as_dir" && as_dir
=.
3867 for ac_exec_ext
in '' $ac_executable_extensions; do
3868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3869 ac_cv_prog_aros_host_autoheader
="$ac_prog"
3870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3879 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
3880 if test -n "$aros_host_autoheader"; then
3881 { echo "$as_me:$LINENO: result: $aros_host_autoheader" >&5
3882 echo "${ECHO_T}$aros_host_autoheader" >&6; }
3884 { echo "$as_me:$LINENO: result: no" >&5
3885 echo "${ECHO_T}no" >&6; }
3889 test -n "$aros_host_autoheader" && break
3892 for ac_prog
in automake automake19 automake-1.9
3894 # Extract the first word of "$ac_prog", so it can be a program name with args.
3895 set dummy
$ac_prog; ac_word
=$2
3896 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3898 if test "${ac_cv_prog_aros_host_automake+set}" = set; then
3899 echo $ECHO_N "(cached) $ECHO_C" >&6
3901 if test -n "$aros_host_automake"; then
3902 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
3904 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3908 test -z "$as_dir" && as_dir
=.
3909 for ac_exec_ext
in '' $ac_executable_extensions; do
3910 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3911 ac_cv_prog_aros_host_automake
="$ac_prog"
3912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3921 aros_host_automake
=$ac_cv_prog_aros_host_automake
3922 if test -n "$aros_host_automake"; then
3923 { echo "$as_me:$LINENO: result: $aros_host_automake" >&5
3924 echo "${ECHO_T}$aros_host_automake" >&6; }
3926 { echo "$as_me:$LINENO: result: no" >&5
3927 echo "${ECHO_T}no" >&6; }
3931 test -n "$aros_host_automake" && break
3935 if test "$aros_host_aclocal" = ""; then
3936 { { echo "$as_me:$LINENO: error: aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." >&5
3937 echo "$as_me: error: aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." >&2;}
3938 { (exit 1); exit 1; }; }
3940 if test "$aros_host_automake" = ""; then
3941 { { echo "$as_me:$LINENO: error: automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." >&5
3942 echo "$as_me: error: automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." >&2;}
3943 { (exit 1); exit 1; }; }
3946 case "$aros_host_cc" in
3948 aros_host_cc_pipe
="-pipe"
3951 aros_host_cc_pipe
=""
3954 aros_host_cc_pipe
=""
3958 aros_target_cc_includes
=""
3960 # This is the main host configuration section. It is where the host
3961 # can change the values of any variables it needs to change. We do
3962 # not look at anything that compiles to the target yet, we'll get
3967 aros_host_arch
="aros"
3968 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3971 aros_host_cpu
="i386"
3974 aros_host_cpu
="x86_64"
3980 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
3981 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
3982 aros_host_cpu
="$host_cpu"
3988 aros_host_arch
="linux"
3989 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3992 aros_host_cpu
="i386"
3995 aros_host_cpu
="x86_64"
3998 aros_host_cpu
="m68k"
4007 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4008 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4009 aros_host_cpu
="$host_cpu"
4015 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4016 aros_host_make
="gmake"
4017 aros_host_arch
="freebsd"
4018 aros_host_cpu
="i386"
4020 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4025 aros_object_format
="elf_i386"
4029 aros_object_format
="elf_i386_fbsd"
4036 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4037 aros_host_arch
="darwin"
4040 aros_host_cpu
="i386"
4043 aros_host_cpu
="x86_64"
4049 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4050 echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4051 aros_host_cpu
="$host_cpu"
4055 aros_host_ldflags
="$aros_host_ldflags -liconv"
4060 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4061 aros_host_make
="gmake"
4062 aros_host_arch
="dragonfly"
4065 aros_host_cpu
="i386"
4068 aros_host_cpu
="x86_64"
4071 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4072 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4073 aros_host_cpu
="$host_cpu"
4079 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4080 aros_host_make
="gmake"
4081 aros_host_arch
="netbsd"
4084 aros_host_cpu
="i386"
4087 aros_host_cpu
="m68k"
4090 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4091 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4092 aros_host_cpu
="$host_cpu"
4095 aros_host_lib_suffix
=".0.0"
4099 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4100 aros_host_make
="gmake"
4101 aros_host_arch
="openbsd"
4104 aros_host_cpu
="i386"
4107 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4108 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4109 aros_host_cpu
="$host_cpu"
4115 aros_host_arch
="solaris"
4116 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4119 aros_host_cpu
="i386"
4122 aros_host_cpu
="sparc"
4125 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4126 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4127 aros_host_cpu
="$host_cpu"
4133 aros_host_arch
="morphos"
4138 aros_host_arch
="amiga"
4143 TOUCH
="/gg/bin/touch"
4146 aros_host_cpu
="m68k"
4152 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4153 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4154 aros_host_cpu
="$host_cpu"
4160 aros_host_arch
="cygwin"
4161 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4164 aros_host_cpu
="i386"
4167 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4168 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4169 aros_host_cpu
="$host_cpu"
4175 aros_host_arch
="mingw32"
4176 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4179 aros_host_cpu
="i386"
4182 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4183 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4184 aros_host_cpu
="$host_cpu"
4189 { { echo "$as_me:$LINENO: error: Unsupported host architecture $host" >&5
4190 echo "$as_me: error: Unsupported host architecture $host" >&2;}
4191 { (exit 1); exit 1; }; }
4195 # Extract the first word of "ar", so it can be a program name with args.
4196 set dummy
ar; ac_word
=$2
4197 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4199 if test "${ac_cv_prog_aros_host_ar+set}" = set; then
4200 echo $ECHO_N "(cached) $ECHO_C" >&6
4202 if test -n "$aros_host_ar"; then
4203 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4209 test -z "$as_dir" && as_dir
=.
4210 for ac_exec_ext
in '' $ac_executable_extensions; do
4211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4212 ac_cv_prog_aros_host_ar
="ar cr"
4213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4222 aros_host_ar
=$ac_cv_prog_aros_host_ar
4223 if test -n "$aros_host_ar"; then
4224 { echo "$as_me:$LINENO: result: $aros_host_ar" >&5
4225 echo "${ECHO_T}$aros_host_ar" >&6; }
4227 { echo "$as_me:$LINENO: result: no" >&5
4228 echo "${ECHO_T}no" >&6; }
4232 if test "$aros_host_ar" = ""; then
4233 { { echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
4234 echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
4235 { (exit 1); exit 1; }; }
4237 # Extract the first word of "ranlib", so it can be a program name with args.
4238 set dummy ranlib
; ac_word
=$2
4239 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4241 if test "${ac_cv_prog_aros_host_ranlib+set}" = set; then
4242 echo $ECHO_N "(cached) $ECHO_C" >&6
4244 if test -n "$aros_host_ranlib"; then
4245 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4251 test -z "$as_dir" && as_dir
=.
4252 for ac_exec_ext
in '' $ac_executable_extensions; do
4253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4254 ac_cv_prog_aros_host_ranlib
="ranlib "
4255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4264 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4265 if test -n "$aros_host_ranlib"; then
4266 { echo "$as_me:$LINENO: result: $aros_host_ranlib" >&5
4267 echo "${ECHO_T}$aros_host_ranlib" >&6; }
4269 { echo "$as_me:$LINENO: result: no" >&5
4270 echo "${ECHO_T}no" >&6; }
4274 if test "$aros_host_ranlib" = ""; then
4275 { { echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
4276 echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
4277 { (exit 1); exit 1; }; }
4279 # Extract the first word of "strip", so it can be a program name with args.
4280 set dummy strip
; ac_word
=$2
4281 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4283 if test "${ac_cv_prog_aros_host_strip+set}" = set; then
4284 echo $ECHO_N "(cached) $ECHO_C" >&6
4286 if test -n "$aros_host_strip"; then
4287 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4293 test -z "$as_dir" && as_dir
=.
4294 for ac_exec_ext
in '' $ac_executable_extensions; do
4295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4296 ac_cv_prog_aros_host_strip
="strip "
4297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4306 aros_host_strip
=$ac_cv_prog_aros_host_strip
4307 if test -n "$aros_host_strip"; then
4308 { echo "$as_me:$LINENO: result: $aros_host_strip" >&5
4309 echo "${ECHO_T}$aros_host_strip" >&6; }
4311 { echo "$as_me:$LINENO: result: no" >&5
4312 echo "${ECHO_T}no" >&6; }
4316 if test "$aros_host_strip" = ""; then
4317 { { echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
4318 echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
4319 { (exit 1); exit 1; }; }
4322 # Extract the first word of "rm", so it can be a program name with args.
4323 set dummy
rm; ac_word
=$2
4324 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4326 if test "${ac_cv_prog_RM+set}" = set; then
4327 echo $ECHO_N "(cached) $ECHO_C" >&6
4329 if test -n "$RM"; then
4330 ac_cv_prog_RM
="$RM" # Let the user override the test.
4332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4336 test -z "$as_dir" && as_dir
=.
4337 for ac_exec_ext
in '' $ac_executable_extensions; do
4338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4339 ac_cv_prog_RM
="rm -rf"
4340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4350 if test -n "$RM"; then
4351 { echo "$as_me:$LINENO: result: $RM" >&5
4352 echo "${ECHO_T}$RM" >&6; }
4354 { echo "$as_me:$LINENO: result: no" >&5
4355 echo "${ECHO_T}no" >&6; }
4359 if test "$RM" = ""; then
4360 { { echo "$as_me:$LINENO: error: rm is required to build AROS. Please install and run configure again." >&5
4361 echo "$as_me: error: rm is required to build AROS. Please install and run configure again." >&2;}
4362 { (exit 1); exit 1; }; }
4364 # Extract the first word of "cp", so it can be a program name with args.
4365 set dummy
cp; ac_word
=$2
4366 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4368 if test "${ac_cv_prog_CP+set}" = set; then
4369 echo $ECHO_N "(cached) $ECHO_C" >&6
4371 if test -n "$CP"; then
4372 ac_cv_prog_CP
="$CP" # Let the user override the test.
4374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4378 test -z "$as_dir" && as_dir
=.
4379 for ac_exec_ext
in '' $ac_executable_extensions; do
4380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4392 if test -n "$CP"; then
4393 { echo "$as_me:$LINENO: result: $CP" >&5
4394 echo "${ECHO_T}$CP" >&6; }
4396 { echo "$as_me:$LINENO: result: no" >&5
4397 echo "${ECHO_T}no" >&6; }
4401 if test "$CP" = ""; then
4402 { { echo "$as_me:$LINENO: error: cp is required to build AROS. Please install and run configure again." >&5
4403 echo "$as_me: error: cp is required to build AROS. Please install and run configure again." >&2;}
4404 { (exit 1); exit 1; }; }
4406 # Extract the first word of "mv", so it can be a program name with args.
4407 set dummy
mv; ac_word
=$2
4408 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4409 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4410 if test "${ac_cv_prog_MV+set}" = set; then
4411 echo $ECHO_N "(cached) $ECHO_C" >&6
4413 if test -n "$MV"; then
4414 ac_cv_prog_MV
="$MV" # Let the user override the test.
4416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4420 test -z "$as_dir" && as_dir
=.
4421 for ac_exec_ext
in '' $ac_executable_extensions; do
4422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4424 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4434 if test -n "$MV"; then
4435 { echo "$as_me:$LINENO: result: $MV" >&5
4436 echo "${ECHO_T}$MV" >&6; }
4438 { echo "$as_me:$LINENO: result: no" >&5
4439 echo "${ECHO_T}no" >&6; }
4443 if test "$MV" = ""; then
4444 { { echo "$as_me:$LINENO: error: mv is required to build AROS. Please install and run configure again." >&5
4445 echo "$as_me: error: mv is required to build AROS. Please install and run configure again." >&2;}
4446 { (exit 1); exit 1; }; }
4448 # Extract the first word of "echo", so it can be a program name with args.
4449 set dummy
echo; ac_word
=$2
4450 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4452 if test "${ac_cv_prog_ECHO+set}" = set; then
4453 echo $ECHO_N "(cached) $ECHO_C" >&6
4455 if test -n "$ECHO"; then
4456 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
4458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4462 test -z "$as_dir" && as_dir
=.
4463 for ac_exec_ext
in '' $ac_executable_extensions; do
4464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4465 ac_cv_prog_ECHO
="echo "
4466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4475 ECHO
=$ac_cv_prog_ECHO
4476 if test -n "$ECHO"; then
4477 { echo "$as_me:$LINENO: result: $ECHO" >&5
4478 echo "${ECHO_T}$ECHO" >&6; }
4480 { echo "$as_me:$LINENO: result: no" >&5
4481 echo "${ECHO_T}no" >&6; }
4485 if test "$ECHO" = ""; then
4486 { { echo "$as_me:$LINENO: error: echo is required to build AROS. Please install and run configure again." >&5
4487 echo "$as_me: error: echo is required to build AROS. Please install and run configure again." >&2;}
4488 { (exit 1); exit 1; }; }
4490 # Extract the first word of "mkdir", so it can be a program name with args.
4491 set dummy mkdir
; ac_word
=$2
4492 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4494 if test "${ac_cv_prog_MKDIR+set}" = set; then
4495 echo $ECHO_N "(cached) $ECHO_C" >&6
4497 if test -n "$MKDIR"; then
4498 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
4500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4504 test -z "$as_dir" && as_dir
=.
4505 for ac_exec_ext
in '' $ac_executable_extensions; do
4506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4507 ac_cv_prog_MKDIR
="mkdir -p"
4508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4517 MKDIR
=$ac_cv_prog_MKDIR
4518 if test -n "$MKDIR"; then
4519 { echo "$as_me:$LINENO: result: $MKDIR" >&5
4520 echo "${ECHO_T}$MKDIR" >&6; }
4522 { echo "$as_me:$LINENO: result: no" >&5
4523 echo "${ECHO_T}no" >&6; }
4527 if test "$MKDIR" = ""; then
4528 { { echo "$as_me:$LINENO: error: mkdir is required to build AROS. Please install and run configure again." >&5
4529 echo "$as_me: error: mkdir is required to build AROS. Please install and run configure again." >&2;}
4530 { (exit 1); exit 1; }; }
4532 # Extract the first word of "touch", so it can be a program name with args.
4533 set dummy
touch; ac_word
=$2
4534 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4536 if test "${ac_cv_prog_TOUCH+set}" = set; then
4537 echo $ECHO_N "(cached) $ECHO_C" >&6
4539 if test -n "$TOUCH"; then
4540 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
4542 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4546 test -z "$as_dir" && as_dir
=.
4547 for ac_exec_ext
in '' $ac_executable_extensions; do
4548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4549 ac_cv_prog_TOUCH
="touch "
4550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4559 TOUCH
=$ac_cv_prog_TOUCH
4560 if test -n "$TOUCH"; then
4561 { echo "$as_me:$LINENO: result: $TOUCH" >&5
4562 echo "${ECHO_T}$TOUCH" >&6; }
4564 { echo "$as_me:$LINENO: result: no" >&5
4565 echo "${ECHO_T}no" >&6; }
4569 if test "$TOUCH" = ""; then
4570 { { echo "$as_me:$LINENO: error: touch is required to build AROS. Please install and run configure again." >&5
4571 echo "$as_me: error: touch is required to build AROS. Please install and run configure again." >&2;}
4572 { (exit 1); exit 1; }; }
4574 # Extract the first word of "sort", so it can be a program name with args.
4575 set dummy
sort; ac_word
=$2
4576 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4578 if test "${ac_cv_prog_SORT+set}" = set; then
4579 echo $ECHO_N "(cached) $ECHO_C" >&6
4581 if test -n "$SORT"; then
4582 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
4584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4588 test -z "$as_dir" && as_dir
=.
4589 for ac_exec_ext
in '' $ac_executable_extensions; do
4590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4591 ac_cv_prog_SORT
="sort "
4592 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4601 SORT
=$ac_cv_prog_SORT
4602 if test -n "$SORT"; then
4603 { echo "$as_me:$LINENO: result: $SORT" >&5
4604 echo "${ECHO_T}$SORT" >&6; }
4606 { echo "$as_me:$LINENO: result: no" >&5
4607 echo "${ECHO_T}no" >&6; }
4611 if test "$SORT" = ""; then
4612 { { echo "$as_me:$LINENO: error: sort is required to build AROS. Please install and run configure again." >&5
4613 echo "$as_me: error: sort is required to build AROS. Please install and run configure again." >&2;}
4614 { (exit 1); exit 1; }; }
4616 # Extract the first word of "uniq", so it can be a program name with args.
4617 set dummy
uniq; ac_word
=$2
4618 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4620 if test "${ac_cv_prog_UNIQ+set}" = set; then
4621 echo $ECHO_N "(cached) $ECHO_C" >&6
4623 if test -n "$UNIQ"; then
4624 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
4626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4630 test -z "$as_dir" && as_dir
=.
4631 for ac_exec_ext
in '' $ac_executable_extensions; do
4632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4633 ac_cv_prog_UNIQ
="uniq "
4634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4643 UNIQ
=$ac_cv_prog_UNIQ
4644 if test -n "$UNIQ"; then
4645 { echo "$as_me:$LINENO: result: $UNIQ" >&5
4646 echo "${ECHO_T}$UNIQ" >&6; }
4648 { echo "$as_me:$LINENO: result: no" >&5
4649 echo "${ECHO_T}no" >&6; }
4653 if test "$UNIQ" = ""; then
4654 { { echo "$as_me:$LINENO: error: uniq is required to build AROS. Please install and run configure again." >&5
4655 echo "$as_me: error: uniq is required to build AROS. Please install and run configure again." >&2;}
4656 { (exit 1); exit 1; }; }
4658 # Extract the first word of "true", so it can be a program name with args.
4659 set dummy true
; ac_word
=$2
4660 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4662 if test "${ac_cv_prog_NOP+set}" = set; then
4663 echo $ECHO_N "(cached) $ECHO_C" >&6
4665 if test -n "$NOP"; then
4666 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
4668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4672 test -z "$as_dir" && as_dir
=.
4673 for ac_exec_ext
in '' $ac_executable_extensions; do
4674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4675 ac_cv_prog_NOP
="true "
4676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4686 if test -n "$NOP"; then
4687 { echo "$as_me:$LINENO: result: $NOP" >&5
4688 echo "${ECHO_T}$NOP" >&6; }
4690 { echo "$as_me:$LINENO: result: no" >&5
4691 echo "${ECHO_T}no" >&6; }
4695 if test "$NOP" = ""; then
4696 { { echo "$as_me:$LINENO: error: true is required to build AROS. Please install and run configure again." >&5
4697 echo "$as_me: error: true is required to build AROS. Please install and run configure again." >&2;}
4698 { (exit 1); exit 1; }; }
4700 # Extract the first word of "cat", so it can be a program name with args.
4701 set dummy
cat; ac_word
=$2
4702 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4704 if test "${ac_cv_prog_CAT+set}" = set; then
4705 echo $ECHO_N "(cached) $ECHO_C" >&6
4707 if test -n "$CAT"; then
4708 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
4710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4714 test -z "$as_dir" && as_dir
=.
4715 for ac_exec_ext
in '' $ac_executable_extensions; do
4716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4717 ac_cv_prog_CAT
="cat "
4718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4728 if test -n "$CAT"; then
4729 { echo "$as_me:$LINENO: result: $CAT" >&5
4730 echo "${ECHO_T}$CAT" >&6; }
4732 { echo "$as_me:$LINENO: result: no" >&5
4733 echo "${ECHO_T}no" >&6; }
4737 if test "$CAT" = ""; then
4738 { { echo "$as_me:$LINENO: error: cat is required to build AROS. Please install and run configure again." >&5
4739 echo "$as_me: error: cat is required to build AROS. Please install and run configure again." >&2;}
4740 { (exit 1); exit 1; }; }
4742 # Extract the first word of "bison", so it can be a program name with args.
4743 set dummy bison
; ac_word
=$2
4744 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4746 if test "${ac_cv_prog_BISON+set}" = set; then
4747 echo $ECHO_N "(cached) $ECHO_C" >&6
4749 if test -n "$BISON"; then
4750 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4756 test -z "$as_dir" && as_dir
=.
4757 for ac_exec_ext
in '' $ac_executable_extensions; do
4758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4759 ac_cv_prog_BISON
="bison "
4760 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4769 BISON
=$ac_cv_prog_BISON
4770 if test -n "$BISON"; then
4771 { echo "$as_me:$LINENO: result: $BISON" >&5
4772 echo "${ECHO_T}$BISON" >&6; }
4774 { echo "$as_me:$LINENO: result: no" >&5
4775 echo "${ECHO_T}no" >&6; }
4779 if test "$BISON" = ""; then
4780 { { echo "$as_me:$LINENO: error: bison is required to build AROS. Please install and run configure again." >&5
4781 echo "$as_me: error: bison is required to build AROS. Please install and run configure again." >&2;}
4782 { (exit 1); exit 1; }; }
4784 # Extract the first word of "flex", so it can be a program name with args.
4785 set dummy flex
; ac_word
=$2
4786 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4788 if test "${ac_cv_prog_FLEX+set}" = set; then
4789 echo $ECHO_N "(cached) $ECHO_C" >&6
4791 if test -n "$FLEX"; then
4792 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4798 test -z "$as_dir" && as_dir
=.
4799 for ac_exec_ext
in '' $ac_executable_extensions; do
4800 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4801 ac_cv_prog_FLEX
="flex "
4802 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4811 FLEX
=$ac_cv_prog_FLEX
4812 if test -n "$FLEX"; then
4813 { echo "$as_me:$LINENO: result: $FLEX" >&5
4814 echo "${ECHO_T}$FLEX" >&6; }
4816 { echo "$as_me:$LINENO: result: no" >&5
4817 echo "${ECHO_T}no" >&6; }
4821 if test "$FLEX" = ""; then
4822 { { echo "$as_me:$LINENO: error: flex is required to build AROS. Please install and run configure again." >&5
4823 echo "$as_me: error: flex is required to build AROS. Please install and run configure again." >&2;}
4824 { (exit 1); exit 1; }; }
4826 # Extract the first word of "pngtopnm", so it can be a program name with args.
4827 set dummy pngtopnm
; ac_word
=$2
4828 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4830 if test "${ac_cv_prog_PNGTOPNM+set}" = set; then
4831 echo $ECHO_N "(cached) $ECHO_C" >&6
4833 if test -n "$PNGTOPNM"; then
4834 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
4836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4840 test -z "$as_dir" && as_dir
=.
4841 for ac_exec_ext
in '' $ac_executable_extensions; do
4842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4843 ac_cv_prog_PNGTOPNM
="pngtopnm "
4844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4853 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
4854 if test -n "$PNGTOPNM"; then
4855 { echo "$as_me:$LINENO: result: $PNGTOPNM" >&5
4856 echo "${ECHO_T}$PNGTOPNM" >&6; }
4858 { echo "$as_me:$LINENO: result: no" >&5
4859 echo "${ECHO_T}no" >&6; }
4863 if test "$PNGTOPNM" = ""; then
4864 { { echo "$as_me:$LINENO: error: pngtopnm is required to build AROS. Please install and run configure again." >&5
4865 echo "$as_me: error: pngtopnm is required to build AROS. Please install and run configure again." >&2;}
4866 { (exit 1); exit 1; }; }
4868 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
4869 set dummy ppmtoilbm
; ac_word
=$2
4870 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4872 if test "${ac_cv_prog_PPMTOILBM+set}" = set; then
4873 echo $ECHO_N "(cached) $ECHO_C" >&6
4875 if test -n "$PPMTOILBM"; then
4876 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
4878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4882 test -z "$as_dir" && as_dir
=.
4883 for ac_exec_ext
in '' $ac_executable_extensions; do
4884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4885 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
4886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4895 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
4896 if test -n "$PPMTOILBM"; then
4897 { echo "$as_me:$LINENO: result: $PPMTOILBM" >&5
4898 echo "${ECHO_T}$PPMTOILBM" >&6; }
4900 { echo "$as_me:$LINENO: result: no" >&5
4901 echo "${ECHO_T}no" >&6; }
4905 if test "$PPMTOILBM" = ""; then
4906 { { echo "$as_me:$LINENO: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&5
4907 echo "$as_me: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&2;}
4908 { (exit 1); exit 1; }; }
4910 # Extract the first word of "sed", so it can be a program name with args.
4911 set dummy
sed; ac_word
=$2
4912 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4913 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4914 if test "${ac_cv_prog_SED+set}" = set; then
4915 echo $ECHO_N "(cached) $ECHO_C" >&6
4917 if test -n "$SED"; then
4918 ac_cv_prog_SED
="$SED" # Let the user override the test.
4920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4924 test -z "$as_dir" && as_dir
=.
4925 for ac_exec_ext
in '' $ac_executable_extensions; do
4926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4927 ac_cv_prog_SED
="sed "
4928 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4938 if test -n "$SED"; then
4939 { echo "$as_me:$LINENO: result: $SED" >&5
4940 echo "${ECHO_T}$SED" >&6; }
4942 { echo "$as_me:$LINENO: result: no" >&5
4943 echo "${ECHO_T}no" >&6; }
4947 if test "$SED" = ""; then
4948 { { echo "$as_me:$LINENO: error: sed is required to build AROS. Please install and run configure again." >&5
4949 echo "$as_me: error: sed is required to build AROS. Please install and run configure again." >&2;}
4950 { (exit 1); exit 1; }; }
4952 # Extract the first word of "chmod", so it can be a program name with args.
4953 set dummy
chmod; ac_word
=$2
4954 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4956 if test "${ac_cv_prog_CHMOD+set}" = set; then
4957 echo $ECHO_N "(cached) $ECHO_C" >&6
4959 if test -n "$CHMOD"; then
4960 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
4962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4966 test -z "$as_dir" && as_dir
=.
4967 for ac_exec_ext
in '' $ac_executable_extensions; do
4968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4969 ac_cv_prog_CHMOD
="chmod "
4970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4979 CHMOD
=$ac_cv_prog_CHMOD
4980 if test -n "$CHMOD"; then
4981 { echo "$as_me:$LINENO: result: $CHMOD" >&5
4982 echo "${ECHO_T}$CHMOD" >&6; }
4984 { echo "$as_me:$LINENO: result: no" >&5
4985 echo "${ECHO_T}no" >&6; }
4989 if test "$CHMOD" = ""; then
4990 { { echo "$as_me:$LINENO: error: chmod is required to build AROS. Please install and run configure again." >&5
4991 echo "$as_me: error: chmod is required to build AROS. Please install and run configure again." >&2;}
4992 { (exit 1); exit 1; }; }
4999 if test -n "$PYTHON"; then
5000 # If the user set $PYTHON, use it and don't search something else.
5001 { echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.5" >&5
5002 echo $ECHO_N "checking whether $PYTHON version >= 2.5... $ECHO_C" >&6; }
5003 prog
="import sys, string
5004 # split strings by '.' and convert to numeric. Append some zeros
5005 # because we need at least 4 digits for the hex conversion.
5006 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5008 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5009 sys.exit(sys.hexversion < minverhex)"
5010 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5011 ($PYTHON -c "$prog") >&5 2>&5
5013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5014 (exit $ac_status); }; then
5015 { echo "$as_me:$LINENO: result: yes" >&5
5016 echo "${ECHO_T}yes" >&6; }
5018 { { echo "$as_me:$LINENO: error: too old" >&5
5019 echo "$as_me: error: too old" >&2;}
5020 { (exit 1); exit 1; }; }
5023 am_display_PYTHON
=$PYTHON
5025 # Otherwise, try each interpreter until we find one that satisfies
5027 { echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.5" >&5
5028 echo $ECHO_N "checking for a Python interpreter with version >= 2.5... $ECHO_C" >&6; }
5029 if test "${am_cv_pathless_PYTHON+set}" = set; then
5030 echo $ECHO_N "(cached) $ECHO_C" >&6
5033 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
5034 test "$am_cv_pathless_PYTHON" = none
&& break
5035 prog
="import sys, string
5036 # split strings by '.' and convert to numeric. Append some zeros
5037 # because we need at least 4 digits for the hex conversion.
5038 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5040 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5041 sys.exit(sys.hexversion < minverhex)"
5042 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5043 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5046 (exit $ac_status); }; then
5052 { echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
5053 echo "${ECHO_T}$am_cv_pathless_PYTHON" >&6; }
5054 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5055 if test "$am_cv_pathless_PYTHON" = none
; then
5058 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5059 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5060 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5061 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5062 if test "${ac_cv_path_PYTHON+set}" = set; then
5063 echo $ECHO_N "(cached) $ECHO_C" >&6
5067 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5074 test -z "$as_dir" && as_dir
=.
5075 for ac_exec_ext
in '' $ac_executable_extensions; do
5076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5077 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5088 PYTHON
=$ac_cv_path_PYTHON
5089 if test -n "$PYTHON"; then
5090 { echo "$as_me:$LINENO: result: $PYTHON" >&5
5091 echo "${ECHO_T}$PYTHON" >&6; }
5093 { echo "$as_me:$LINENO: result: no" >&5
5094 echo "${ECHO_T}no" >&6; }
5099 am_display_PYTHON
=$am_cv_pathless_PYTHON
5103 if test "$PYTHON" = :; then
5104 { { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
5105 echo "$as_me: error: no suitable Python interpreter found" >&2;}
5106 { (exit 1); exit 1; }; }
5110 { echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
5111 echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; }
5112 if test "${am_cv_python_version+set}" = set; then
5113 echo $ECHO_N "(cached) $ECHO_C" >&6
5115 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
5117 { echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
5118 echo "${ECHO_T}$am_cv_python_version" >&6; }
5119 PYTHON_VERSION
=$am_cv_python_version
5123 PYTHON_PREFIX
='${prefix}'
5125 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5129 { echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
5130 echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; }
5131 if test "${am_cv_python_platform+set}" = set; then
5132 echo $ECHO_N "(cached) $ECHO_C" >&6
5134 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
5136 { echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
5137 echo "${ECHO_T}$am_cv_python_platform" >&6; }
5138 PYTHON_PLATFORM
=$am_cv_python_platform
5143 { echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
5144 echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6; }
5145 if test "${am_cv_python_pythondir+set}" = set; then
5146 echo $ECHO_N "(cached) $ECHO_C" >&6
5148 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5149 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5151 { echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
5152 echo "${ECHO_T}$am_cv_python_pythondir" >&6; }
5153 pythondir
=$am_cv_python_pythondir
5157 pkgpythondir
=\
${pythondir}/$PACKAGE
5160 { echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
5161 echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6; }
5162 if test "${am_cv_python_pyexecdir+set}" = set; then
5163 echo $ECHO_N "(cached) $ECHO_C" >&6
5165 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5166 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5168 { echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
5169 echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; }
5170 pyexecdir
=$am_cv_python_pyexecdir
5174 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5192 # Check for some includes for the X11 HIDD and the kernel
5195 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5196 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5197 if test "${ac_cv_path_GREP+set}" = set; then
5198 echo $ECHO_N "(cached) $ECHO_C" >&6
5200 # Extract the first word of "grep ggrep" to use in msg output
5201 if test -z "$GREP"; then
5202 set dummy
grep ggrep
; ac_prog_name
=$2
5203 if test "${ac_cv_path_GREP+set}" = set; then
5204 echo $ECHO_N "(cached) $ECHO_C" >&6
5206 ac_path_GREP_found
=false
5207 # Loop through the user's path and test for each of PROGNAME-LIST
5208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5209 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5212 test -z "$as_dir" && as_dir
=.
5213 for ac_prog
in grep ggrep
; do
5214 for ac_exec_ext
in '' $ac_executable_extensions; do
5215 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5216 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5217 # Check for GNU ac_path_GREP and select it if it is found.
5218 # Check for GNU $ac_path_GREP
5219 case `"$ac_path_GREP" --version 2>&1` in
5221 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5224 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5227 cat "conftest.in" "conftest.in" >"conftest.tmp"
5228 mv "conftest.tmp" "conftest.in"
5229 cp "conftest.in" "conftest.nl"
5230 echo 'GREP' >> "conftest.nl"
5231 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5232 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5233 ac_count
=`expr $ac_count + 1`
5234 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5235 # Best one so far, save it but keep looking for a better one
5236 ac_cv_path_GREP
="$ac_path_GREP"
5237 ac_path_GREP_max
=$ac_count
5239 # 10*(2^10) chars as input seems more than enough
5240 test $ac_count -gt 10 && break
5242 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5246 $ac_path_GREP_found && break 3
5256 GREP
="$ac_cv_path_GREP"
5257 if test -z "$GREP"; then
5258 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5259 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5260 { (exit 1); exit 1; }; }
5264 ac_cv_path_GREP
=$GREP
5269 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5270 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5271 GREP
="$ac_cv_path_GREP"
5274 { echo "$as_me:$LINENO: checking for egrep" >&5
5275 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5276 if test "${ac_cv_path_EGREP+set}" = set; then
5277 echo $ECHO_N "(cached) $ECHO_C" >&6
5279 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5280 then ac_cv_path_EGREP
="$GREP -E"
5282 # Extract the first word of "egrep" to use in msg output
5283 if test -z "$EGREP"; then
5284 set dummy
egrep; ac_prog_name
=$2
5285 if test "${ac_cv_path_EGREP+set}" = set; then
5286 echo $ECHO_N "(cached) $ECHO_C" >&6
5288 ac_path_EGREP_found
=false
5289 # Loop through the user's path and test for each of PROGNAME-LIST
5290 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5291 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5294 test -z "$as_dir" && as_dir
=.
5295 for ac_prog
in egrep; do
5296 for ac_exec_ext
in '' $ac_executable_extensions; do
5297 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5298 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5299 # Check for GNU ac_path_EGREP and select it if it is found.
5300 # Check for GNU $ac_path_EGREP
5301 case `"$ac_path_EGREP" --version 2>&1` in
5303 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5306 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5309 cat "conftest.in" "conftest.in" >"conftest.tmp"
5310 mv "conftest.tmp" "conftest.in"
5311 cp "conftest.in" "conftest.nl"
5312 echo 'EGREP' >> "conftest.nl"
5313 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5314 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5315 ac_count
=`expr $ac_count + 1`
5316 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5317 # Best one so far, save it but keep looking for a better one
5318 ac_cv_path_EGREP
="$ac_path_EGREP"
5319 ac_path_EGREP_max
=$ac_count
5321 # 10*(2^10) chars as input seems more than enough
5322 test $ac_count -gt 10 && break
5324 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5328 $ac_path_EGREP_found && break 3
5338 EGREP
="$ac_cv_path_EGREP"
5339 if test -z "$EGREP"; then
5340 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5341 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5342 { (exit 1); exit 1; }; }
5346 ac_cv_path_EGREP
=$EGREP
5352 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5353 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5354 EGREP
="$ac_cv_path_EGREP"
5357 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5358 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5359 if test "${ac_cv_header_stdc+set}" = set; then
5360 echo $ECHO_N "(cached) $ECHO_C" >&6
5362 cat >conftest.
$ac_ext <<_ACEOF
5365 cat confdefs.h
>>conftest.
$ac_ext
5366 cat >>conftest.
$ac_ext <<_ACEOF
5367 /* end confdefs.h. */
5381 rm -f conftest.
$ac_objext
5382 if { (ac_try
="$ac_compile"
5384 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5385 *) ac_try_echo=$ac_try;;
5387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5388 (eval "$ac_compile") 2>conftest.er1
5390 grep -v '^ *+' conftest.er1 >conftest.err
5392 cat conftest.err >&5
5393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5394 (exit $ac_status); } && {
5395 test -z "$ac_c_werror_flag" ||
5396 test ! -s conftest.err
5397 } && test -s conftest.$ac_objext; then
5398 ac_cv_header_stdc=yes
5400 echo "$as_me: failed program was:" >&5
5401 sed 's/^/| /' conftest.$ac_ext >&5
5403 ac_cv_header_stdc=no
5406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5408 if test $ac_cv_header_stdc = yes; then
5409 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5410 cat >conftest.$ac_ext <<_ACEOF
5413 cat confdefs.h >>conftest.$ac_ext
5414 cat >>conftest.$ac_ext <<_ACEOF
5415 /* end confdefs.h. */
5419 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5420 $EGREP "memchr" >/dev/null 2>&1; then
5423 ac_cv_header_stdc=no
5429 if test $ac_cv_header_stdc = yes; then
5430 # ISC 2.0.2 stdlib.h does not declare free, 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 "free" >/dev/null 2>&1; then
5444 ac_cv_header_stdc=no
5450 if test $ac_cv_header_stdc = yes; then
5451 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5452 if test "$cross_compiling" = yes; then
5455 cat >conftest.$ac_ext <<_ACEOF
5458 cat confdefs.h >>conftest.$ac_ext
5459 cat >>conftest.$ac_ext <<_ACEOF
5460 /* end confdefs.h. */
5463 #if ((' ' & 0x0FF) == 0x020)
5464 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5465 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5467 # define ISLOWER(c) \
5468 (('a' <= (c) && (c) <= 'i') \
5469 || ('j' <= (c) && (c) <= 'r') \
5470 || ('s' <= (c) && (c) <= 'z'))
5471 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5474 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5479 for (i = 0; i < 256; i++)
5480 if (XOR (islower (i), ISLOWER (i))
5481 || toupper (i) != TOUPPER (i))
5486 rm -f conftest$ac_exeext
5487 if { (ac_try="$ac_link"
5489 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5490 *) ac_try_echo
=$ac_try;;
5492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5493 (eval "$ac_link") 2>&5
5495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5496 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5497 { (case "(($ac_try" in
5498 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5499 *) ac_try_echo=$ac_try;;
5501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5502 (eval "$ac_try") 2>&5
5504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5505 (exit $ac_status); }; }; then
5508 echo "$as_me: program exited with status $ac_status" >&5
5509 echo "$as_me: failed program was:" >&5
5510 sed 's/^/| /' conftest.$ac_ext >&5
5513 ac_cv_header_stdc=no
5515 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5521 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5522 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5523 if test $ac_cv_header_stdc = yes; then
5525 cat >>confdefs.h <<\_ACEOF
5526 #define STDC_HEADERS 1
5531 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5541 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5542 inttypes.h stdint.h unistd.h
5544 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5545 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5546 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5547 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5548 echo $ECHO_N "(cached) $ECHO_C" >&6
5550 cat >conftest.$ac_ext <<_ACEOF
5553 cat confdefs.h >>conftest.$ac_ext
5554 cat >>conftest.$ac_ext <<_ACEOF
5555 /* end confdefs.h. */
5556 $ac_includes_default
5558 #include <$ac_header>
5560 rm -f conftest.$ac_objext
5561 if { (ac_try="$ac_compile"
5563 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5564 *) ac_try_echo
=$ac_try;;
5566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5567 (eval "$ac_compile") 2>conftest.er1
5569 grep -v '^ *+' conftest.er1
>conftest.err
5571 cat conftest.err
>&5
5572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5573 (exit $ac_status); } && {
5574 test -z "$ac_c_werror_flag" ||
5575 test ! -s conftest.err
5576 } && test -s conftest.
$ac_objext; then
5577 eval "$as_ac_Header=yes"
5579 echo "$as_me: failed program was:" >&5
5580 sed 's/^/| /' conftest.
$ac_ext >&5
5582 eval "$as_ac_Header=no"
5585 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5587 ac_res
=`eval echo '${'$as_ac_Header'}'`
5588 { echo "$as_me:$LINENO: result: $ac_res" >&5
5589 echo "${ECHO_T}$ac_res" >&6; }
5590 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5591 cat >>confdefs.h
<<_ACEOF
5592 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5609 for ac_header
in sys
/ipc.h sys
/shm.h \
5610 sys
/mmap.h sys
/mman.h sysexits.h \
5611 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
5614 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5615 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5616 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5617 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5618 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5619 echo $ECHO_N "(cached) $ECHO_C" >&6
5621 ac_res
=`eval echo '${'$as_ac_Header'}'`
5622 { echo "$as_me:$LINENO: result: $ac_res" >&5
5623 echo "${ECHO_T}$ac_res" >&6; }
5625 # Is the header compilable?
5626 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5627 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5628 cat >conftest.
$ac_ext <<_ACEOF
5631 cat confdefs.h
>>conftest.
$ac_ext
5632 cat >>conftest.
$ac_ext <<_ACEOF
5633 /* end confdefs.h. */
5634 $ac_includes_default
5635 #include <$ac_header>
5637 rm -f conftest.
$ac_objext
5638 if { (ac_try
="$ac_compile"
5640 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5641 *) ac_try_echo=$ac_try;;
5643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5644 (eval "$ac_compile") 2>conftest.er1
5646 grep -v '^ *+' conftest.er1 >conftest.err
5648 cat conftest.err >&5
5649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5650 (exit $ac_status); } && {
5651 test -z "$ac_c_werror_flag" ||
5652 test ! -s conftest.err
5653 } && test -s conftest.$ac_objext; then
5654 ac_header_compiler=yes
5656 echo "$as_me: failed program was:" >&5
5657 sed 's/^/| /' conftest.$ac_ext >&5
5659 ac_header_compiler=no
5662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5663 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5664 echo "${ECHO_T}$ac_header_compiler" >&6; }
5666 # Is the header present?
5667 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5668 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5669 cat >conftest.$ac_ext <<_ACEOF
5672 cat confdefs.h >>conftest.$ac_ext
5673 cat >>conftest.$ac_ext <<_ACEOF
5674 /* end confdefs.h. */
5675 #include <$ac_header>
5677 if { (ac_try="$ac_cpp conftest.$ac_ext"
5679 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5680 *) ac_try_echo
=$ac_try;;
5682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5683 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5685 grep -v '^ *+' conftest.er1
>conftest.err
5687 cat conftest.err
>&5
5688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5689 (exit $ac_status); } >/dev
/null
&& {
5690 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5691 test ! -s conftest.err
5693 ac_header_preproc
=yes
5695 echo "$as_me: failed program was:" >&5
5696 sed 's/^/| /' conftest.
$ac_ext >&5
5698 ac_header_preproc
=no
5701 rm -f conftest.err conftest.
$ac_ext
5702 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5703 echo "${ECHO_T}$ac_header_preproc" >&6; }
5705 # So? What about this header?
5706 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5708 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5709 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5710 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5711 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5712 ac_header_preproc
=yes
5715 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5716 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5717 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5718 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5719 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5720 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5721 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5722 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5723 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5724 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5725 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5726 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5730 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5731 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5732 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5733 echo $ECHO_N "(cached) $ECHO_C" >&6
5735 eval "$as_ac_Header=\$ac_header_preproc"
5737 ac_res
=`eval echo '${'$as_ac_Header'}'`
5738 { echo "$as_me:$LINENO: result: $ac_res" >&5
5739 echo "${ECHO_T}$ac_res" >&6; }
5742 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5743 cat >>confdefs.h
<<_ACEOF
5744 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5753 for ac_header
in sys
/mount.h
5755 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5756 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5757 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5758 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5759 echo $ECHO_N "(cached) $ECHO_C" >&6
5761 cat >conftest.
$ac_ext <<_ACEOF
5764 cat confdefs.h
>>conftest.
$ac_ext
5765 cat >>conftest.
$ac_ext <<_ACEOF
5766 /* end confdefs.h. */
5767 #include <sys/param.h>
5769 #include <$ac_header>
5771 rm -f conftest.
$ac_objext
5772 if { (ac_try
="$ac_compile"
5774 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5775 *) ac_try_echo=$ac_try;;
5777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5778 (eval "$ac_compile") 2>conftest.er1
5780 grep -v '^ *+' conftest.er1 >conftest.err
5782 cat conftest.err >&5
5783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5784 (exit $ac_status); } && {
5785 test -z "$ac_c_werror_flag" ||
5786 test ! -s conftest.err
5787 } && test -s conftest.$ac_objext; then
5788 eval "$as_ac_Header=yes"
5790 echo "$as_me: failed program was:" >&5
5791 sed 's/^/| /' conftest.$ac_ext >&5
5793 eval "$as_ac_Header=no"
5796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5798 ac_res=`eval echo '${'$as_ac_Header'}'`
5799 { echo "$as_me:$LINENO: result: $ac_res" >&5
5800 echo "${ECHO_T}$ac_res" >&6; }
5801 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5802 cat >>confdefs.h <<_ACEOF
5803 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5817 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
5818 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
5819 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
5820 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
5821 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5822 echo $ECHO_N "(cached) $ECHO_C" >&6
5824 cat >conftest.$ac_ext <<_ACEOF
5827 cat confdefs.h >>conftest.$ac_ext
5828 cat >>conftest.$ac_ext <<_ACEOF
5829 /* end confdefs.h. */
5830 #include <sys/types.h>
5842 rm -f conftest.$ac_objext
5843 if { (ac_try="$ac_compile"
5845 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5846 *) ac_try_echo
=$ac_try;;
5848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5849 (eval "$ac_compile") 2>conftest.er1
5851 grep -v '^ *+' conftest.er1
>conftest.err
5853 cat conftest.err
>&5
5854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5855 (exit $ac_status); } && {
5856 test -z "$ac_c_werror_flag" ||
5857 test ! -s conftest.err
5858 } && test -s conftest.
$ac_objext; then
5859 eval "$as_ac_Header=yes"
5861 echo "$as_me: failed program was:" >&5
5862 sed 's/^/| /' conftest.
$ac_ext >&5
5864 eval "$as_ac_Header=no"
5867 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5869 ac_res
=`eval echo '${'$as_ac_Header'}'`
5870 { echo "$as_me:$LINENO: result: $ac_res" >&5
5871 echo "${ECHO_T}$ac_res" >&6; }
5872 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5873 cat >>confdefs.h
<<_ACEOF
5874 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5877 ac_header_dirent
=$ac_hdr; break
5881 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5882 if test $ac_header_dirent = dirent.h
; then
5883 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
5884 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
5885 if test "${ac_cv_search_opendir+set}" = set; then
5886 echo $ECHO_N "(cached) $ECHO_C" >&6
5888 ac_func_search_save_LIBS
=$LIBS
5889 cat >conftest.
$ac_ext <<_ACEOF
5892 cat confdefs.h
>>conftest.
$ac_ext
5893 cat >>conftest.
$ac_ext <<_ACEOF
5894 /* end confdefs.h. */
5896 /* Override any GCC internal prototype to avoid an error.
5897 Use char because int might match the return type of a GCC
5898 builtin and then its argument prototype would still apply. */
5911 for ac_lib
in '' dir
; do
5912 if test -z "$ac_lib"; then
5913 ac_res
="none required"
5916 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5918 rm -f conftest.
$ac_objext conftest
$ac_exeext
5919 if { (ac_try
="$ac_link"
5921 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5922 *) ac_try_echo=$ac_try;;
5924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5925 (eval "$ac_link") 2>conftest.er1
5927 grep -v '^ *+' conftest.er1 >conftest.err
5929 cat conftest.err >&5
5930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5931 (exit $ac_status); } && {
5932 test -z "$ac_c_werror_flag" ||
5933 test ! -s conftest.err
5934 } && test -s conftest$ac_exeext &&
5935 $as_test_x conftest$ac_exeext; then
5936 ac_cv_search_opendir=$ac_res
5938 echo "$as_me: failed program was:" >&5
5939 sed 's/^/| /' conftest.$ac_ext >&5
5944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5946 if test "${ac_cv_search_opendir+set}" = set; then
5950 if test "${ac_cv_search_opendir+set}" = set; then
5953 ac_cv_search_opendir=no
5956 LIBS=$ac_func_search_save_LIBS
5958 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5959 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
5960 ac_res=$ac_cv_search_opendir
5961 if test "$ac_res" != no; then
5962 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5967 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
5968 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
5969 if test "${ac_cv_search_opendir+set}" = set; then
5970 echo $ECHO_N "(cached) $ECHO_C" >&6
5972 ac_func_search_save_LIBS=$LIBS
5973 cat >conftest.$ac_ext <<_ACEOF
5976 cat confdefs.h >>conftest.$ac_ext
5977 cat >>conftest.$ac_ext <<_ACEOF
5978 /* end confdefs.h. */
5980 /* Override any GCC internal prototype to avoid an error.
5981 Use char because int might match the return type of a GCC
5982 builtin and then its argument prototype would still apply. */
5995 for ac_lib in '' x; do
5996 if test -z "$ac_lib"; then
5997 ac_res="none required"
6000 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6002 rm -f conftest.$ac_objext conftest$ac_exeext
6003 if { (ac_try="$ac_link"
6005 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6006 *) ac_try_echo
=$ac_try;;
6008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6009 (eval "$ac_link") 2>conftest.er1
6011 grep -v '^ *+' conftest.er1
>conftest.err
6013 cat conftest.err
>&5
6014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6015 (exit $ac_status); } && {
6016 test -z "$ac_c_werror_flag" ||
6017 test ! -s conftest.err
6018 } && test -s conftest
$ac_exeext &&
6019 $as_test_x conftest
$ac_exeext; then
6020 ac_cv_search_opendir
=$ac_res
6022 echo "$as_me: failed program was:" >&5
6023 sed 's/^/| /' conftest.
$ac_ext >&5
6028 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6030 if test "${ac_cv_search_opendir+set}" = set; then
6034 if test "${ac_cv_search_opendir+set}" = set; then
6037 ac_cv_search_opendir
=no
6040 LIBS
=$ac_func_search_save_LIBS
6042 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6043 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
6044 ac_res
=$ac_cv_search_opendir
6045 if test "$ac_res" != no
; then
6046 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6052 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
6053 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
6054 if test "${ac_cv_header_stat_broken+set}" = set; then
6055 echo $ECHO_N "(cached) $ECHO_C" >&6
6057 cat >conftest.
$ac_ext <<_ACEOF
6060 cat confdefs.h
>>conftest.
$ac_ext
6061 cat >>conftest.
$ac_ext <<_ACEOF
6062 /* end confdefs.h. */
6063 #include <sys/types.h>
6064 #include <sys/stat.h>
6066 #if defined S_ISBLK && defined S_IFDIR
6067 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6070 #if defined S_ISBLK && defined S_IFCHR
6071 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6074 #if defined S_ISLNK && defined S_IFREG
6075 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6078 #if defined S_ISSOCK && defined S_IFREG
6079 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6083 rm -f conftest.
$ac_objext
6084 if { (ac_try
="$ac_compile"
6086 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6087 *) ac_try_echo=$ac_try;;
6089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6090 (eval "$ac_compile") 2>conftest.er1
6092 grep -v '^ *+' conftest.er1 >conftest.err
6094 cat conftest.err >&5
6095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6096 (exit $ac_status); } && {
6097 test -z "$ac_c_werror_flag" ||
6098 test ! -s conftest.err
6099 } && test -s conftest.$ac_objext; then
6100 ac_cv_header_stat_broken=no
6102 echo "$as_me: failed program was:" >&5
6103 sed 's/^/| /' conftest.$ac_ext >&5
6105 ac_cv_header_stat_broken=yes
6108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6110 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
6111 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
6112 if test $ac_cv_header_stat_broken = yes; then
6114 cat >>confdefs.h <<\_ACEOF
6115 #define STAT_MACROS_BROKEN 1
6120 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6121 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6122 if test "${ac_cv_header_stdc+set}" = set; then
6123 echo $ECHO_N "(cached) $ECHO_C" >&6
6125 cat >conftest.$ac_ext <<_ACEOF
6128 cat confdefs.h >>conftest.$ac_ext
6129 cat >>conftest.$ac_ext <<_ACEOF
6130 /* end confdefs.h. */
6144 rm -f conftest.$ac_objext
6145 if { (ac_try="$ac_compile"
6147 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6148 *) ac_try_echo
=$ac_try;;
6150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6151 (eval "$ac_compile") 2>conftest.er1
6153 grep -v '^ *+' conftest.er1
>conftest.err
6155 cat conftest.err
>&5
6156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6157 (exit $ac_status); } && {
6158 test -z "$ac_c_werror_flag" ||
6159 test ! -s conftest.err
6160 } && test -s conftest.
$ac_objext; then
6161 ac_cv_header_stdc
=yes
6163 echo "$as_me: failed program was:" >&5
6164 sed 's/^/| /' conftest.
$ac_ext >&5
6166 ac_cv_header_stdc
=no
6169 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6171 if test $ac_cv_header_stdc = yes; then
6172 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6173 cat >conftest.
$ac_ext <<_ACEOF
6176 cat confdefs.h
>>conftest.
$ac_ext
6177 cat >>conftest.
$ac_ext <<_ACEOF
6178 /* end confdefs.h. */
6182 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6183 $EGREP "memchr" >/dev
/null
2>&1; then
6186 ac_cv_header_stdc
=no
6192 if test $ac_cv_header_stdc = yes; then
6193 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6194 cat >conftest.
$ac_ext <<_ACEOF
6197 cat confdefs.h
>>conftest.
$ac_ext
6198 cat >>conftest.
$ac_ext <<_ACEOF
6199 /* end confdefs.h. */
6203 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6204 $EGREP "free" >/dev
/null
2>&1; then
6207 ac_cv_header_stdc
=no
6213 if test $ac_cv_header_stdc = yes; then
6214 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6215 if test "$cross_compiling" = yes; then
6218 cat >conftest.
$ac_ext <<_ACEOF
6221 cat confdefs.h
>>conftest.
$ac_ext
6222 cat >>conftest.
$ac_ext <<_ACEOF
6223 /* end confdefs.h. */
6226 #if ((' ' & 0x0FF) == 0x020)
6227 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6228 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6230 # define ISLOWER(c) \
6231 (('a' <= (c) && (c) <= 'i') \
6232 || ('j' <= (c) && (c) <= 'r') \
6233 || ('s' <= (c) && (c) <= 'z'))
6234 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6237 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6242 for (i = 0; i < 256; i++)
6243 if (XOR (islower (i), ISLOWER (i))
6244 || toupper (i) != TOUPPER (i))
6249 rm -f conftest
$ac_exeext
6250 if { (ac_try
="$ac_link"
6252 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6253 *) ac_try_echo=$ac_try;;
6255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6256 (eval "$ac_link") 2>&5
6258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6259 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6260 { (case "(($ac_try" in
6261 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6262 *) ac_try_echo
=$ac_try;;
6264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6265 (eval "$ac_try") 2>&5
6267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6268 (exit $ac_status); }; }; then
6271 echo "$as_me: program exited with status $ac_status" >&5
6272 echo "$as_me: failed program was:" >&5
6273 sed 's/^/| /' conftest.
$ac_ext >&5
6276 ac_cv_header_stdc
=no
6278 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6284 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6285 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6286 if test $ac_cv_header_stdc = yes; then
6288 cat >>confdefs.h
<<\_ACEOF
6289 #define STDC_HEADERS 1
6294 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
6295 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
6296 if test "${ac_cv_header_sys_wait_h+set}" = set; then
6297 echo $ECHO_N "(cached) $ECHO_C" >&6
6299 cat >conftest.
$ac_ext <<_ACEOF
6302 cat confdefs.h
>>conftest.
$ac_ext
6303 cat >>conftest.
$ac_ext <<_ACEOF
6304 /* end confdefs.h. */
6305 #include <sys/types.h>
6306 #include <sys/wait.h>
6308 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6311 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6319 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6324 rm -f conftest.
$ac_objext
6325 if { (ac_try
="$ac_compile"
6327 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6328 *) ac_try_echo=$ac_try;;
6330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6331 (eval "$ac_compile") 2>conftest.er1
6333 grep -v '^ *+' conftest.er1 >conftest.err
6335 cat conftest.err >&5
6336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6337 (exit $ac_status); } && {
6338 test -z "$ac_c_werror_flag" ||
6339 test ! -s conftest.err
6340 } && test -s conftest.$ac_objext; then
6341 ac_cv_header_sys_wait_h=yes
6343 echo "$as_me: failed program was:" >&5
6344 sed 's/^/| /' conftest.$ac_ext >&5
6346 ac_cv_header_sys_wait_h=no
6349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6351 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
6352 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
6353 if test $ac_cv_header_sys_wait_h = yes; then
6355 cat >>confdefs.h <<\_ACEOF
6356 #define HAVE_SYS_WAIT_H 1
6361 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6362 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
6363 if test "${ac_cv_header_time+set}" = set; then
6364 echo $ECHO_N "(cached) $ECHO_C" >&6
6366 cat >conftest.$ac_ext <<_ACEOF
6369 cat confdefs.h >>conftest.$ac_ext
6370 cat >>conftest.$ac_ext <<_ACEOF
6371 /* end confdefs.h. */
6372 #include <sys/types.h>
6373 #include <sys/time.h>
6379 if ((struct tm *) 0)
6385 rm -f conftest.$ac_objext
6386 if { (ac_try="$ac_compile"
6388 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6389 *) ac_try_echo
=$ac_try;;
6391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6392 (eval "$ac_compile") 2>conftest.er1
6394 grep -v '^ *+' conftest.er1
>conftest.err
6396 cat conftest.err
>&5
6397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6398 (exit $ac_status); } && {
6399 test -z "$ac_c_werror_flag" ||
6400 test ! -s conftest.err
6401 } && test -s conftest.
$ac_objext; then
6402 ac_cv_header_time
=yes
6404 echo "$as_me: failed program was:" >&5
6405 sed 's/^/| /' conftest.
$ac_ext >&5
6407 ac_cv_header_time
=no
6410 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6412 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6413 echo "${ECHO_T}$ac_cv_header_time" >&6; }
6414 if test $ac_cv_header_time = yes; then
6416 cat >>confdefs.h
<<\_ACEOF
6417 #define TIME_WITH_SYS_TIME 1
6422 { echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6423 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6; }
6424 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6425 echo $ECHO_N "(cached) $ECHO_C" >&6
6427 cat >conftest.
$ac_ext <<_ACEOF
6430 cat confdefs.h
>>conftest.
$ac_ext
6431 cat >>conftest.
$ac_ext <<_ACEOF
6432 /* end confdefs.h. */
6433 $ac_includes_default
6437 static struct stat ac_aggr;
6438 if (ac_aggr.st_blksize)
6444 rm -f conftest.
$ac_objext
6445 if { (ac_try
="$ac_compile"
6447 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6448 *) ac_try_echo=$ac_try;;
6450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6451 (eval "$ac_compile") 2>conftest.er1
6453 grep -v '^ *+' conftest.er1 >conftest.err
6455 cat conftest.err >&5
6456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6457 (exit $ac_status); } && {
6458 test -z "$ac_c_werror_flag" ||
6459 test ! -s conftest.err
6460 } && test -s conftest.$ac_objext; then
6461 ac_cv_member_struct_stat_st_blksize=yes
6463 echo "$as_me: failed program was:" >&5
6464 sed 's/^/| /' conftest.$ac_ext >&5
6466 cat >conftest.$ac_ext <<_ACEOF
6469 cat confdefs.h >>conftest.$ac_ext
6470 cat >>conftest.$ac_ext <<_ACEOF
6471 /* end confdefs.h. */
6472 $ac_includes_default
6476 static struct stat ac_aggr;
6477 if (sizeof ac_aggr.st_blksize)
6483 rm -f conftest.$ac_objext
6484 if { (ac_try="$ac_compile"
6486 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6487 *) ac_try_echo
=$ac_try;;
6489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6490 (eval "$ac_compile") 2>conftest.er1
6492 grep -v '^ *+' conftest.er1
>conftest.err
6494 cat conftest.err
>&5
6495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6496 (exit $ac_status); } && {
6497 test -z "$ac_c_werror_flag" ||
6498 test ! -s conftest.err
6499 } && test -s conftest.
$ac_objext; then
6500 ac_cv_member_struct_stat_st_blksize
=yes
6502 echo "$as_me: failed program was:" >&5
6503 sed 's/^/| /' conftest.
$ac_ext >&5
6505 ac_cv_member_struct_stat_st_blksize
=no
6508 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6511 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6513 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
6514 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6; }
6515 if test $ac_cv_member_struct_stat_st_blksize = yes; then
6517 cat >>confdefs.h
<<_ACEOF
6518 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6522 cat >>confdefs.h
<<\_ACEOF
6523 #define HAVE_ST_BLKSIZE 1
6529 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
6530 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
6531 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
6532 echo $ECHO_N "(cached) $ECHO_C" >&6
6534 cat >conftest.
$ac_ext <<_ACEOF
6537 cat confdefs.h
>>conftest.
$ac_ext
6538 cat >>conftest.
$ac_ext <<_ACEOF
6539 /* end confdefs.h. */
6540 $ac_includes_default
6544 static struct stat ac_aggr;
6545 if (ac_aggr.st_blocks)
6551 rm -f conftest.
$ac_objext
6552 if { (ac_try
="$ac_compile"
6554 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6555 *) ac_try_echo=$ac_try;;
6557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6558 (eval "$ac_compile") 2>conftest.er1
6560 grep -v '^ *+' conftest.er1 >conftest.err
6562 cat conftest.err >&5
6563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6564 (exit $ac_status); } && {
6565 test -z "$ac_c_werror_flag" ||
6566 test ! -s conftest.err
6567 } && test -s conftest.$ac_objext; then
6568 ac_cv_member_struct_stat_st_blocks=yes
6570 echo "$as_me: failed program was:" >&5
6571 sed 's/^/| /' conftest.$ac_ext >&5
6573 cat >conftest.$ac_ext <<_ACEOF
6576 cat confdefs.h >>conftest.$ac_ext
6577 cat >>conftest.$ac_ext <<_ACEOF
6578 /* end confdefs.h. */
6579 $ac_includes_default
6583 static struct stat ac_aggr;
6584 if (sizeof ac_aggr.st_blocks)
6590 rm -f conftest.$ac_objext
6591 if { (ac_try="$ac_compile"
6593 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6594 *) ac_try_echo
=$ac_try;;
6596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6597 (eval "$ac_compile") 2>conftest.er1
6599 grep -v '^ *+' conftest.er1
>conftest.err
6601 cat conftest.err
>&5
6602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6603 (exit $ac_status); } && {
6604 test -z "$ac_c_werror_flag" ||
6605 test ! -s conftest.err
6606 } && test -s conftest.
$ac_objext; then
6607 ac_cv_member_struct_stat_st_blocks
=yes
6609 echo "$as_me: failed program was:" >&5
6610 sed 's/^/| /' conftest.
$ac_ext >&5
6612 ac_cv_member_struct_stat_st_blocks
=no
6615 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6618 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6620 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
6621 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
6622 if test $ac_cv_member_struct_stat_st_blocks = yes; then
6624 cat >>confdefs.h
<<_ACEOF
6625 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6629 cat >>confdefs.h
<<\_ACEOF
6630 #define HAVE_ST_BLOCKS 1
6634 case " $LIBOBJS " in
6635 *" fileblocks.$ac_objext "* ) ;;
6636 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6643 { echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6644 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6; }
6645 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6646 echo $ECHO_N "(cached) $ECHO_C" >&6
6648 cat >conftest.
$ac_ext <<_ACEOF
6651 cat confdefs.h
>>conftest.
$ac_ext
6652 cat >>conftest.
$ac_ext <<_ACEOF
6653 /* end confdefs.h. */
6654 $ac_includes_default
6658 static struct stat ac_aggr;
6659 if (ac_aggr.st_rdev)
6665 rm -f conftest.
$ac_objext
6666 if { (ac_try
="$ac_compile"
6668 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6669 *) ac_try_echo=$ac_try;;
6671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6672 (eval "$ac_compile") 2>conftest.er1
6674 grep -v '^ *+' conftest.er1 >conftest.err
6676 cat conftest.err >&5
6677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6678 (exit $ac_status); } && {
6679 test -z "$ac_c_werror_flag" ||
6680 test ! -s conftest.err
6681 } && test -s conftest.$ac_objext; then
6682 ac_cv_member_struct_stat_st_rdev=yes
6684 echo "$as_me: failed program was:" >&5
6685 sed 's/^/| /' conftest.$ac_ext >&5
6687 cat >conftest.$ac_ext <<_ACEOF
6690 cat confdefs.h >>conftest.$ac_ext
6691 cat >>conftest.$ac_ext <<_ACEOF
6692 /* end confdefs.h. */
6693 $ac_includes_default
6697 static struct stat ac_aggr;
6698 if (sizeof ac_aggr.st_rdev)
6704 rm -f conftest.$ac_objext
6705 if { (ac_try="$ac_compile"
6707 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6708 *) ac_try_echo
=$ac_try;;
6710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6711 (eval "$ac_compile") 2>conftest.er1
6713 grep -v '^ *+' conftest.er1
>conftest.err
6715 cat conftest.err
>&5
6716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6717 (exit $ac_status); } && {
6718 test -z "$ac_c_werror_flag" ||
6719 test ! -s conftest.err
6720 } && test -s conftest.
$ac_objext; then
6721 ac_cv_member_struct_stat_st_rdev
=yes
6723 echo "$as_me: failed program was:" >&5
6724 sed 's/^/| /' conftest.
$ac_ext >&5
6726 ac_cv_member_struct_stat_st_rdev
=no
6729 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6732 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6734 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
6735 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6; }
6736 if test $ac_cv_member_struct_stat_st_rdev = yes; then
6738 cat >>confdefs.h
<<_ACEOF
6739 #define HAVE_STRUCT_STAT_ST_RDEV 1
6743 cat >>confdefs.h
<<\_ACEOF
6744 #define HAVE_ST_RDEV 1
6750 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6751 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
6752 if test "${ac_cv_struct_tm+set}" = set; then
6753 echo $ECHO_N "(cached) $ECHO_C" >&6
6755 cat >conftest.
$ac_ext <<_ACEOF
6758 cat confdefs.h
>>conftest.
$ac_ext
6759 cat >>conftest.
$ac_ext <<_ACEOF
6760 /* end confdefs.h. */
6761 #include <sys/types.h>
6768 int *p = &tm.tm_sec;
6774 rm -f conftest.
$ac_objext
6775 if { (ac_try
="$ac_compile"
6777 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6778 *) ac_try_echo=$ac_try;;
6780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6781 (eval "$ac_compile") 2>conftest.er1
6783 grep -v '^ *+' conftest.er1 >conftest.err
6785 cat conftest.err >&5
6786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6787 (exit $ac_status); } && {
6788 test -z "$ac_c_werror_flag" ||
6789 test ! -s conftest.err
6790 } && test -s conftest.$ac_objext; then
6791 ac_cv_struct_tm=time.h
6793 echo "$as_me: failed program was:" >&5
6794 sed 's/^/| /' conftest.$ac_ext >&5
6796 ac_cv_struct_tm=sys/time.h
6799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6801 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6802 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
6803 if test $ac_cv_struct_tm = sys/time.h; then
6805 cat >>confdefs.h <<\_ACEOF
6806 #define TM_IN_SYS_TIME 1
6811 { echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
6812 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6; }
6813 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
6814 echo $ECHO_N "(cached) $ECHO_C" >&6
6816 cat >conftest.$ac_ext <<_ACEOF
6819 cat confdefs.h >>conftest.$ac_ext
6820 cat >>conftest.$ac_ext <<_ACEOF
6821 /* end confdefs.h. */
6822 #include <sys/types.h>
6823 #include <$ac_cv_struct_tm>
6829 static struct tm ac_aggr;
6830 if (ac_aggr.tm_zone)
6836 rm -f conftest.$ac_objext
6837 if { (ac_try="$ac_compile"
6839 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6840 *) ac_try_echo
=$ac_try;;
6842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6843 (eval "$ac_compile") 2>conftest.er1
6845 grep -v '^ *+' conftest.er1
>conftest.err
6847 cat conftest.err
>&5
6848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6849 (exit $ac_status); } && {
6850 test -z "$ac_c_werror_flag" ||
6851 test ! -s conftest.err
6852 } && test -s conftest.
$ac_objext; then
6853 ac_cv_member_struct_tm_tm_zone
=yes
6855 echo "$as_me: failed program was:" >&5
6856 sed 's/^/| /' conftest.
$ac_ext >&5
6858 cat >conftest.
$ac_ext <<_ACEOF
6861 cat confdefs.h
>>conftest.
$ac_ext
6862 cat >>conftest.
$ac_ext <<_ACEOF
6863 /* end confdefs.h. */
6864 #include <sys/types.h>
6865 #include <$ac_cv_struct_tm>
6871 static struct tm ac_aggr;
6872 if (sizeof ac_aggr.tm_zone)
6878 rm -f conftest.
$ac_objext
6879 if { (ac_try
="$ac_compile"
6881 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6882 *) ac_try_echo=$ac_try;;
6884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6885 (eval "$ac_compile") 2>conftest.er1
6887 grep -v '^ *+' conftest.er1 >conftest.err
6889 cat conftest.err >&5
6890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6891 (exit $ac_status); } && {
6892 test -z "$ac_c_werror_flag" ||
6893 test ! -s conftest.err
6894 } && test -s conftest.$ac_objext; then
6895 ac_cv_member_struct_tm_tm_zone=yes
6897 echo "$as_me: failed program was:" >&5
6898 sed 's/^/| /' conftest.$ac_ext >&5
6900 ac_cv_member_struct_tm_tm_zone=no
6903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6908 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
6909 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6; }
6910 if test $ac_cv_member_struct_tm_tm_zone = yes; then
6912 cat >>confdefs.h <<_ACEOF
6913 #define HAVE_STRUCT_TM_TM_ZONE 1
6919 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6921 cat >>confdefs.h <<\_ACEOF
6922 #define HAVE_TM_ZONE 1
6926 { echo "$as_me:$LINENO: checking whether tzname is declared" >&5
6927 echo $ECHO_N "checking whether tzname is declared... $ECHO_C" >&6; }
6928 if test "${ac_cv_have_decl_tzname+set}" = set; then
6929 echo $ECHO_N "(cached) $ECHO_C" >&6
6931 cat >conftest.$ac_ext <<_ACEOF
6934 cat confdefs.h >>conftest.$ac_ext
6935 cat >>conftest.$ac_ext <<_ACEOF
6936 /* end confdefs.h. */
6950 rm -f conftest.$ac_objext
6951 if { (ac_try="$ac_compile"
6953 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6954 *) ac_try_echo
=$ac_try;;
6956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6957 (eval "$ac_compile") 2>conftest.er1
6959 grep -v '^ *+' conftest.er1
>conftest.err
6961 cat conftest.err
>&5
6962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6963 (exit $ac_status); } && {
6964 test -z "$ac_c_werror_flag" ||
6965 test ! -s conftest.err
6966 } && test -s conftest.
$ac_objext; then
6967 ac_cv_have_decl_tzname
=yes
6969 echo "$as_me: failed program was:" >&5
6970 sed 's/^/| /' conftest.
$ac_ext >&5
6972 ac_cv_have_decl_tzname
=no
6975 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6977 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5
6978 echo "${ECHO_T}$ac_cv_have_decl_tzname" >&6; }
6979 if test $ac_cv_have_decl_tzname = yes; then
6981 cat >>confdefs.h
<<_ACEOF
6982 #define HAVE_DECL_TZNAME 1
6987 cat >>confdefs.h
<<_ACEOF
6988 #define HAVE_DECL_TZNAME 0
6995 { echo "$as_me:$LINENO: checking for tzname" >&5
6996 echo $ECHO_N "checking for tzname... $ECHO_C" >&6; }
6997 if test "${ac_cv_var_tzname+set}" = set; then
6998 echo $ECHO_N "(cached) $ECHO_C" >&6
7000 cat >conftest.
$ac_ext <<_ACEOF
7003 cat confdefs.h
>>conftest.
$ac_ext
7004 cat >>conftest.
$ac_ext <<_ACEOF
7005 /* end confdefs.h. */
7007 #if !HAVE_DECL_TZNAME
7008 extern char *tzname[];
7014 return tzname[0][0];
7019 rm -f conftest.
$ac_objext conftest
$ac_exeext
7020 if { (ac_try
="$ac_link"
7022 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7023 *) ac_try_echo=$ac_try;;
7025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7026 (eval "$ac_link") 2>conftest.er1
7028 grep -v '^ *+' conftest.er1 >conftest.err
7030 cat conftest.err >&5
7031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7032 (exit $ac_status); } && {
7033 test -z "$ac_c_werror_flag" ||
7034 test ! -s conftest.err
7035 } && test -s conftest$ac_exeext &&
7036 $as_test_x conftest$ac_exeext; then
7037 ac_cv_var_tzname=yes
7039 echo "$as_me: failed program was:" >&5
7040 sed 's/^/| /' conftest.$ac_ext >&5
7045 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7046 conftest$ac_exeext conftest.$ac_ext
7048 { echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
7049 echo "${ECHO_T}$ac_cv_var_tzname" >&6; }
7050 if test $ac_cv_var_tzname = yes; then
7052 cat >>confdefs.h <<\_ACEOF
7053 #define HAVE_TZNAME 1
7059 { echo "$as_me:$LINENO: checking for off_t" >&5
7060 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
7061 if test "${ac_cv_type_off_t+set}" = set; then
7062 echo $ECHO_N "(cached) $ECHO_C" >&6
7064 cat >conftest.$ac_ext <<_ACEOF
7067 cat confdefs.h >>conftest.$ac_ext
7068 cat >>conftest.$ac_ext <<_ACEOF
7069 /* end confdefs.h. */
7070 $ac_includes_default
7071 typedef off_t ac__type_new_;
7075 if ((ac__type_new_ *) 0)
7077 if (sizeof (ac__type_new_))
7083 rm -f conftest.$ac_objext
7084 if { (ac_try="$ac_compile"
7086 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7087 *) ac_try_echo
=$ac_try;;
7089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7090 (eval "$ac_compile") 2>conftest.er1
7092 grep -v '^ *+' conftest.er1
>conftest.err
7094 cat conftest.err
>&5
7095 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_objext; then
7100 ac_cv_type_off_t
=yes
7102 echo "$as_me: failed program was:" >&5
7103 sed 's/^/| /' conftest.
$ac_ext >&5
7108 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7110 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
7111 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
7112 if test $ac_cv_type_off_t = yes; then
7116 cat >>confdefs.h
<<_ACEOF
7117 #define off_t long int
7122 { echo "$as_me:$LINENO: checking for pid_t" >&5
7123 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
7124 if test "${ac_cv_type_pid_t+set}" = set; then
7125 echo $ECHO_N "(cached) $ECHO_C" >&6
7127 cat >conftest.
$ac_ext <<_ACEOF
7130 cat confdefs.h
>>conftest.
$ac_ext
7131 cat >>conftest.
$ac_ext <<_ACEOF
7132 /* end confdefs.h. */
7133 $ac_includes_default
7134 typedef pid_t ac__type_new_;
7138 if ((ac__type_new_ *) 0)
7140 if (sizeof (ac__type_new_))
7146 rm -f conftest.
$ac_objext
7147 if { (ac_try
="$ac_compile"
7149 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7150 *) ac_try_echo=$ac_try;;
7152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7153 (eval "$ac_compile") 2>conftest.er1
7155 grep -v '^ *+' conftest.er1 >conftest.err
7157 cat conftest.err >&5
7158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7159 (exit $ac_status); } && {
7160 test -z "$ac_c_werror_flag" ||
7161 test ! -s conftest.err
7162 } && test -s conftest.$ac_objext; then
7163 ac_cv_type_pid_t=yes
7165 echo "$as_me: failed program was:" >&5
7166 sed 's/^/| /' conftest.$ac_ext >&5
7171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7173 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
7174 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
7175 if test $ac_cv_type_pid_t = yes; then
7179 cat >>confdefs.h <<_ACEOF
7185 { echo "$as_me:$LINENO: checking for size_t" >&5
7186 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
7187 if test "${ac_cv_type_size_t+set}" = set; then
7188 echo $ECHO_N "(cached) $ECHO_C" >&6
7190 cat >conftest.$ac_ext <<_ACEOF
7193 cat confdefs.h >>conftest.$ac_ext
7194 cat >>conftest.$ac_ext <<_ACEOF
7195 /* end confdefs.h. */
7196 $ac_includes_default
7197 typedef size_t ac__type_new_;
7201 if ((ac__type_new_ *) 0)
7203 if (sizeof (ac__type_new_))
7209 rm -f conftest.$ac_objext
7210 if { (ac_try="$ac_compile"
7212 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7213 *) ac_try_echo
=$ac_try;;
7215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7216 (eval "$ac_compile") 2>conftest.er1
7218 grep -v '^ *+' conftest.er1
>conftest.err
7220 cat conftest.err
>&5
7221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7222 (exit $ac_status); } && {
7223 test -z "$ac_c_werror_flag" ||
7224 test ! -s conftest.err
7225 } && test -s conftest.
$ac_objext; then
7226 ac_cv_type_size_t
=yes
7228 echo "$as_me: failed program was:" >&5
7229 sed 's/^/| /' conftest.
$ac_ext >&5
7231 ac_cv_type_size_t
=no
7234 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7236 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
7237 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
7238 if test $ac_cv_type_size_t = yes; then
7242 cat >>confdefs.h
<<_ACEOF
7243 #define size_t unsigned int
7248 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
7249 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
7250 if test "${ac_cv_type_uid_t+set}" = set; then
7251 echo $ECHO_N "(cached) $ECHO_C" >&6
7253 cat >conftest.
$ac_ext <<_ACEOF
7256 cat confdefs.h
>>conftest.
$ac_ext
7257 cat >>conftest.
$ac_ext <<_ACEOF
7258 /* end confdefs.h. */
7259 #include <sys/types.h>
7262 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7263 $EGREP "uid_t" >/dev
/null
2>&1; then
7264 ac_cv_type_uid_t
=yes
7271 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
7272 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
7273 if test $ac_cv_type_uid_t = no
; then
7275 cat >>confdefs.h
<<\_ACEOF
7280 cat >>confdefs.h
<<\_ACEOF
7287 { echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
7288 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6; }
7289 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
7290 echo $ECHO_N "(cached) $ECHO_C" >&6
7292 cat >conftest.
$ac_ext <<_ACEOF
7295 cat confdefs.h
>>conftest.
$ac_ext
7296 cat >>conftest.
$ac_ext <<_ACEOF
7297 /* end confdefs.h. */
7298 $ac_includes_default
7302 static struct tm ac_aggr;
7303 if (ac_aggr.tm_gmtoff)
7309 rm -f conftest.
$ac_objext
7310 if { (ac_try
="$ac_compile"
7312 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7313 *) ac_try_echo=$ac_try;;
7315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7316 (eval "$ac_compile") 2>conftest.er1
7318 grep -v '^ *+' conftest.er1 >conftest.err
7320 cat conftest.err >&5
7321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7322 (exit $ac_status); } && {
7323 test -z "$ac_c_werror_flag" ||
7324 test ! -s conftest.err
7325 } && test -s conftest.$ac_objext; then
7326 ac_cv_member_struct_tm_tm_gmtoff=yes
7328 echo "$as_me: failed program was:" >&5
7329 sed 's/^/| /' conftest.$ac_ext >&5
7331 cat >conftest.$ac_ext <<_ACEOF
7334 cat confdefs.h >>conftest.$ac_ext
7335 cat >>conftest.$ac_ext <<_ACEOF
7336 /* end confdefs.h. */
7337 $ac_includes_default
7341 static struct tm ac_aggr;
7342 if (sizeof ac_aggr.tm_gmtoff)
7348 rm -f conftest.$ac_objext
7349 if { (ac_try="$ac_compile"
7351 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7352 *) ac_try_echo
=$ac_try;;
7354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7355 (eval "$ac_compile") 2>conftest.er1
7357 grep -v '^ *+' conftest.er1
>conftest.err
7359 cat conftest.err
>&5
7360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7361 (exit $ac_status); } && {
7362 test -z "$ac_c_werror_flag" ||
7363 test ! -s conftest.err
7364 } && test -s conftest.
$ac_objext; then
7365 ac_cv_member_struct_tm_tm_gmtoff
=yes
7367 echo "$as_me: failed program was:" >&5
7368 sed 's/^/| /' conftest.
$ac_ext >&5
7370 ac_cv_member_struct_tm_tm_gmtoff
=no
7373 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7376 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7378 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
7379 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6; }
7380 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
7382 cat >>confdefs.h
<<_ACEOF
7383 #define HAVE_STRUCT_TM_TM_GMTOFF 1
7390 # Look for some functions
7405 for ac_func
in getpagesize kqueue statfs statvfs \
7406 clone kse_create rfork_thread thr_create sa_register \
7407 getcontext makecontext setcontext sigaltstack swapcontext
7409 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7410 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7412 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7413 echo $ECHO_N "(cached) $ECHO_C" >&6
7415 cat >conftest.
$ac_ext <<_ACEOF
7418 cat confdefs.h
>>conftest.
$ac_ext
7419 cat >>conftest.
$ac_ext <<_ACEOF
7420 /* end confdefs.h. */
7421 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7422 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7423 #define $ac_func innocuous_$ac_func
7425 /* System header to define __stub macros and hopefully few prototypes,
7426 which can conflict with char $ac_func (); below.
7427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7428 <limits.h> exists even on freestanding compilers. */
7431 # include <limits.h>
7433 # include <assert.h>
7438 /* Override any GCC internal prototype to avoid an error.
7439 Use char because int might match the return type of a GCC
7440 builtin and then its argument prototype would still apply. */
7445 /* The GNU C library defines this for functions which it implements
7446 to always fail with ENOSYS. Some functions are actually named
7447 something starting with __ and the normal name is an alias. */
7448 #if defined __stub_$ac_func || defined __stub___$ac_func
7460 rm -f conftest.
$ac_objext conftest
$ac_exeext
7461 if { (ac_try
="$ac_link"
7463 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7464 *) ac_try_echo=$ac_try;;
7466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7467 (eval "$ac_link") 2>conftest.er1
7469 grep -v '^ *+' conftest.er1 >conftest.err
7471 cat conftest.err >&5
7472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7473 (exit $ac_status); } && {
7474 test -z "$ac_c_werror_flag" ||
7475 test ! -s conftest.err
7476 } && test -s conftest$ac_exeext &&
7477 $as_test_x conftest$ac_exeext; then
7478 eval "$as_ac_var=yes"
7480 echo "$as_me: failed program was:" >&5
7481 sed 's/^/| /' conftest.$ac_ext >&5
7483 eval "$as_ac_var=no"
7486 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7487 conftest$ac_exeext conftest.$ac_ext
7489 ac_res=`eval echo '${'$as_ac_var'}'`
7490 { echo "$as_me:$LINENO: result: $ac_res" >&5
7491 echo "${ECHO_T}$ac_res" >&6; }
7492 if test `eval echo '${'$as_ac_var'}'` = yes; then
7493 cat >>confdefs.h <<_ACEOF
7494 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7503 for ac_header in stdlib.h unistd.h
7505 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7506 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7507 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7508 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7509 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7510 echo $ECHO_N "(cached) $ECHO_C" >&6
7512 ac_res=`eval echo '${'$as_ac_Header'}'`
7513 { echo "$as_me:$LINENO: result: $ac_res" >&5
7514 echo "${ECHO_T}$ac_res" >&6; }
7516 # Is the header compilable?
7517 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7518 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7519 cat >conftest.$ac_ext <<_ACEOF
7522 cat confdefs.h >>conftest.$ac_ext
7523 cat >>conftest.$ac_ext <<_ACEOF
7524 /* end confdefs.h. */
7525 $ac_includes_default
7526 #include <$ac_header>
7528 rm -f conftest.$ac_objext
7529 if { (ac_try="$ac_compile"
7531 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7532 *) ac_try_echo
=$ac_try;;
7534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7535 (eval "$ac_compile") 2>conftest.er1
7537 grep -v '^ *+' conftest.er1
>conftest.err
7539 cat conftest.err
>&5
7540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7541 (exit $ac_status); } && {
7542 test -z "$ac_c_werror_flag" ||
7543 test ! -s conftest.err
7544 } && test -s conftest.
$ac_objext; then
7545 ac_header_compiler
=yes
7547 echo "$as_me: failed program was:" >&5
7548 sed 's/^/| /' conftest.
$ac_ext >&5
7550 ac_header_compiler
=no
7553 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7554 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7555 echo "${ECHO_T}$ac_header_compiler" >&6; }
7557 # Is the header present?
7558 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7559 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7560 cat >conftest.
$ac_ext <<_ACEOF
7563 cat confdefs.h
>>conftest.
$ac_ext
7564 cat >>conftest.
$ac_ext <<_ACEOF
7565 /* end confdefs.h. */
7566 #include <$ac_header>
7568 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7570 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7571 *) ac_try_echo=$ac_try;;
7573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7574 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7576 grep -v '^ *+' conftest.er1 >conftest.err
7578 cat conftest.err >&5
7579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7580 (exit $ac_status); } >/dev/null && {
7581 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7582 test ! -s conftest.err
7584 ac_header_preproc=yes
7586 echo "$as_me: failed program was:" >&5
7587 sed 's/^/| /' conftest.$ac_ext >&5
7589 ac_header_preproc=no
7592 rm -f conftest.err conftest.$ac_ext
7593 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7594 echo "${ECHO_T}$ac_header_preproc" >&6; }
7596 # So? What about this header?
7597 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7599 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7600 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7601 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7602 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7603 ac_header_preproc=yes
7606 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7607 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7608 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7609 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7610 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7611 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7612 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7613 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7614 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7615 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7616 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7617 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7621 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7623 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7624 echo $ECHO_N "(cached) $ECHO_C" >&6
7626 eval "$as_ac_Header=\$ac_header_preproc"
7628 ac_res=`eval echo '${'$as_ac_Header'}'`
7629 { echo "$as_me:$LINENO: result: $ac_res" >&5
7630 echo "${ECHO_T}$ac_res" >&6; }
7633 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7634 cat >>confdefs.h <<_ACEOF
7635 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7643 for ac_func in getpagesize
7645 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
7646 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7648 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7649 echo $ECHO_N "(cached) $ECHO_C" >&6
7651 cat >conftest.$ac_ext <<_ACEOF
7654 cat confdefs.h >>conftest.$ac_ext
7655 cat >>conftest.$ac_ext <<_ACEOF
7656 /* end confdefs.h. */
7657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7659 #define $ac_func innocuous_$ac_func
7661 /* System header to define __stub macros and hopefully few prototypes,
7662 which can conflict with char $ac_func (); below.
7663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7664 <limits.h> exists even on freestanding compilers. */
7667 # include <limits.h>
7669 # include <assert.h>
7674 /* Override any GCC internal prototype to avoid an error.
7675 Use char because int might match the return type of a GCC
7676 builtin and then its argument prototype would still apply. */
7681 /* The GNU C library defines this for functions which it implements
7682 to always fail with ENOSYS. Some functions are actually named
7683 something starting with __ and the normal name is an alias. */
7684 #if defined __stub_$ac_func || defined __stub___$ac_func
7696 rm -f conftest.$ac_objext conftest$ac_exeext
7697 if { (ac_try="$ac_link"
7699 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7700 *) ac_try_echo
=$ac_try;;
7702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7703 (eval "$ac_link") 2>conftest.er1
7705 grep -v '^ *+' conftest.er1
>conftest.err
7707 cat conftest.err
>&5
7708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7709 (exit $ac_status); } && {
7710 test -z "$ac_c_werror_flag" ||
7711 test ! -s conftest.err
7712 } && test -s conftest
$ac_exeext &&
7713 $as_test_x conftest
$ac_exeext; then
7714 eval "$as_ac_var=yes"
7716 echo "$as_me: failed program was:" >&5
7717 sed 's/^/| /' conftest.
$ac_ext >&5
7719 eval "$as_ac_var=no"
7722 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7723 conftest
$ac_exeext conftest.
$ac_ext
7725 ac_res
=`eval echo '${'$as_ac_var'}'`
7726 { echo "$as_me:$LINENO: result: $ac_res" >&5
7727 echo "${ECHO_T}$ac_res" >&6; }
7728 if test `eval echo '${'$as_ac_var'}'` = yes; then
7729 cat >>confdefs.h
<<_ACEOF
7730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7736 { echo "$as_me:$LINENO: checking for working mmap" >&5
7737 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
7738 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
7739 echo $ECHO_N "(cached) $ECHO_C" >&6
7741 if test "$cross_compiling" = yes; then
7742 ac_cv_func_mmap_fixed_mapped
=no
7744 cat >conftest.
$ac_ext <<_ACEOF
7747 cat confdefs.h
>>conftest.
$ac_ext
7748 cat >>conftest.
$ac_ext <<_ACEOF
7749 /* end confdefs.h. */
7750 $ac_includes_default
7751 /* malloc might have been renamed as rpl_malloc. */
7754 /* Thanks to Mike Haertel and Jim Avera for this test.
7755 Here is a matrix of mmap possibilities:
7756 mmap private not fixed
7757 mmap private fixed at somewhere currently unmapped
7758 mmap private fixed at somewhere already mapped
7759 mmap shared not fixed
7760 mmap shared fixed at somewhere currently unmapped
7761 mmap shared fixed at somewhere already mapped
7762 For private mappings, we should verify that changes cannot be read()
7763 back from the file, nor mmap's back from the file at a different
7764 address. (There have been systems where private was not correctly
7765 implemented like the infamous i386 svr4.0, and systems where the
7766 VM page cache was not coherent with the file system buffer cache
7767 like early versions of FreeBSD and possibly contemporary NetBSD.)
7768 For shared mappings, we should conversely verify that changes get
7769 propagated back to all the places they're supposed to be.
7771 Grep wants private fixed already mapped.
7772 The main things grep needs to know about mmap are:
7773 * does it exist and is it safe to write into the mmap'd area
7774 * how to use it (BSD variants) */
7777 #include <sys/mman.h>
7779 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7783 /* This mess was copied from the GNU getpagesize.h. */
7784 #ifndef HAVE_GETPAGESIZE
7785 /* Assume that all systems that can run configure have sys/param.h. */
7786 # ifndef HAVE_SYS_PARAM_H
7787 # define HAVE_SYS_PARAM_H 1
7790 # ifdef _SC_PAGESIZE
7791 # define getpagesize() sysconf(_SC_PAGESIZE)
7792 # else /* no _SC_PAGESIZE */
7793 # ifdef HAVE_SYS_PARAM_H
7794 # include <sys/param.h>
7795 # ifdef EXEC_PAGESIZE
7796 # define getpagesize() EXEC_PAGESIZE
7797 # else /* no EXEC_PAGESIZE */
7799 # define getpagesize() NBPG * CLSIZE
7802 # endif /* no CLSIZE */
7803 # else /* no NBPG */
7805 # define getpagesize() NBPC
7806 # else /* no NBPC */
7808 # define getpagesize() PAGESIZE
7809 # endif /* PAGESIZE */
7810 # endif /* no NBPC */
7811 # endif /* no NBPG */
7812 # endif /* no EXEC_PAGESIZE */
7813 # else /* no HAVE_SYS_PARAM_H */
7814 # define getpagesize() 8192 /* punt totally */
7815 # endif /* no HAVE_SYS_PARAM_H */
7816 # endif /* no _SC_PAGESIZE */
7818 #endif /* no HAVE_GETPAGESIZE */
7823 char *data, *data2, *data3;
7827 pagesize = getpagesize ();
7829 /* First, make a file with some known garbage in it. */
7830 data = (char *) malloc (pagesize);
7833 for (i = 0; i < pagesize; ++i)
7834 *(data + i) = rand ();
7836 fd = creat ("conftest.mmap", 0600);
7839 if (write (fd, data, pagesize) != pagesize)
7843 /* Next, try to mmap the file at a fixed address which already has
7844 something else allocated at it. If we can, also make sure that
7845 we see the same garbage. */
7846 fd = open ("conftest.mmap", O_RDWR);
7849 data2 = (char *) malloc (2 * pagesize);
7852 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
7853 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7854 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7856 for (i = 0; i < pagesize; ++i)
7857 if (*(data + i) != *(data2 + i))
7860 /* Finally, make sure that changes to the mapped area do not
7861 percolate back to the file as seen by read(). (This is a bug on
7862 some variants of i386 svr4.0.) */
7863 for (i = 0; i < pagesize; ++i)
7864 *(data2 + i) = *(data2 + i) + 1;
7865 data3 = (char *) malloc (pagesize);
7868 if (read (fd, data3, pagesize) != pagesize)
7870 for (i = 0; i < pagesize; ++i)
7871 if (*(data + i) != *(data3 + i))
7877 rm -f conftest
$ac_exeext
7878 if { (ac_try
="$ac_link"
7880 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7881 *) ac_try_echo=$ac_try;;
7883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7884 (eval "$ac_link") 2>&5
7886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7887 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7888 { (case "(($ac_try" in
7889 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7890 *) ac_try_echo
=$ac_try;;
7892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7893 (eval "$ac_try") 2>&5
7895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7896 (exit $ac_status); }; }; then
7897 ac_cv_func_mmap_fixed_mapped
=yes
7899 echo "$as_me: program exited with status $ac_status" >&5
7900 echo "$as_me: failed program was:" >&5
7901 sed 's/^/| /' conftest.
$ac_ext >&5
7904 ac_cv_func_mmap_fixed_mapped
=no
7906 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7911 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
7912 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
7913 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7915 cat >>confdefs.h
<<\_ACEOF
7925 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7926 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7927 aros_config_ldflags
=""
7929 aros_shared_default
=yes
7931 aros_shared_cflags
="-fPIC"
7932 aros_shared_aflags
=""
7933 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7934 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7936 aros_target_ar_flags
="cr"
7937 aros_target_nm_flags
="-C -ul"
7938 aros_target_strip_flags
="--strip-unneeded -R.comment"
7943 aros_target_genmap
="-Wl,-Map -Xlinker"
7945 # Native flavour stuff
7946 aros_serial_debug
="0"
7948 # Palm native flavour stuff
7949 aros_palm_debug_hack
="0"
7951 # Unix flavour stuff
7952 aros_nesting_supervisor
="0"
7954 # Collect-aros stuff: "-ius" to ignore undefined symbols
7955 ignore_undefined_symbols
=""
7957 #-----------------------------------------------------------------------------
7960 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7961 # it switched on by default, and we use the host compiler, so it compiles AROS
7962 # code with this enabled resulting in link failures as we don't have support
7965 # We use two methods to disable it. For the host compiler (used to compile
7966 # some hosted modules), we test to see if the compiler supports stack
7967 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7968 # work on all platforms.
7970 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
7971 # (this is done unconditionally, as it should have no effect on compilers
7972 # without the stack protection feature). This may be specific to the way that
7973 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
7974 # strong enough to disable it in a generic way though, so we'll live with it
7975 # until another vendor ships GCC with it enabled in a different way, and deal
7979 { echo "$as_me:$LINENO: checking whether ${CC} accepts -fno-stack-protector" >&5
7980 echo $ECHO_N "checking whether ${CC} accepts -fno-stack-protector... $ECHO_C" >&6; }
7981 save_cflags
="$CFLAGS"
7982 CFLAGS
="$CFLAGS -fno-stack-protector"
7983 cat >conftest.
$ac_ext <<_ACEOF
7986 cat confdefs.h
>>conftest.
$ac_ext
7987 cat >>conftest.
$ac_ext <<_ACEOF
7988 /* end confdefs.h. */
7998 rm -f conftest.
$ac_objext
7999 if { (ac_try
="$ac_compile"
8001 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8002 *) ac_try_echo=$ac_try;;
8004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8005 (eval "$ac_compile") 2>conftest.er1
8007 grep -v '^ *+' conftest.er1 >conftest.err
8009 cat conftest.err >&5
8010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8011 (exit $ac_status); } && {
8012 test -z "$ac_c_werror_flag" ||
8013 test ! -s conftest.err
8014 } && test -s conftest.$ac_objext; then
8015 use_no_stack_protector="yes"
8017 echo "$as_me: failed program was:" >&5
8018 sed 's/^/| /' conftest.$ac_ext >&5
8020 use_no_stack_protector="no"
8023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8024 { echo "$as_me:$LINENO: result: $use_no_stack_protector" >&5
8025 echo "${ECHO_T}$use_no_stack_protector" >&6; }
8026 if test "x-$use_no_stack_protector" = "x-yes" ; then
8027 aros_host_cflags="$aros_host_cflags -fno-stack-protector"
8029 CFLAGS="$save_cflags"
8031 #-----------------------------------------------------------------------------
8033 # Disable pointer-signedness warnings if the compiler recognises the option
8034 # (this only works for the host compiler at the moment)
8036 { echo "$as_me:$LINENO: checking whether ${CC} accepts -Wno-pointer-sign" >&5
8037 echo $ECHO_N "checking whether ${CC} accepts -Wno-pointer-sign... $ECHO_C" >&6; }
8038 save_cflags="$CFLAGS"
8039 CFLAGS="$CFLAGS -Wno-pointer-sign"
8040 cat >conftest.$ac_ext <<_ACEOF
8043 cat confdefs.h >>conftest.$ac_ext
8044 cat >>conftest.$ac_ext <<_ACEOF
8045 /* end confdefs.h. */
8055 rm -f conftest.$ac_objext
8056 if { (ac_try="$ac_compile"
8058 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8059 *) ac_try_echo
=$ac_try;;
8061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8062 (eval "$ac_compile") 2>conftest.er1
8064 grep -v '^ *+' conftest.er1
>conftest.err
8066 cat conftest.err
>&5
8067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8068 (exit $ac_status); } && {
8069 test -z "$ac_c_werror_flag" ||
8070 test ! -s conftest.err
8071 } && test -s conftest.
$ac_objext; then
8072 use_no_sign_warning
="yes"
8074 echo "$as_me: failed program was:" >&5
8075 sed 's/^/| /' conftest.
$ac_ext >&5
8077 use_no_sign_warning
="no"
8080 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8081 { echo "$as_me:$LINENO: result: $use_no_sign_warning" >&5
8082 echo "${ECHO_T}$use_no_sign_warning" >&6; }
8083 if test "x-$use_no_sign_warning" = "x-yes" ; then
8084 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
8086 CFLAGS
="$save_cflags"
8088 #-----------------------------------------------------------------------------
8090 { echo "$as_me:$LINENO: checking for type of build" >&5
8091 echo $ECHO_N "checking for type of build... $ECHO_C" >&6; }
8092 # Check whether --enable-build_type was given.
8093 if test "${enable_build_type+set}" = set; then
8094 enableval
=$enable_build_type; build_type
=$enableval
8096 build_type
="personal"
8100 if test "$build_type" = "nightly"; then
8101 build_type_string
="NIGHTLY"
8102 elif test "$build_type" = "snapshot"; then
8103 build_type_string
="SNAPSHOT"
8104 elif test "$build_type" = "milestone"; then
8105 build_type_string
="MILESTONE"
8106 elif test "$build_type" = "release"; then
8107 build_type_string
="RELEASE"
8109 build_type_string
="PERSONAL"
8110 build_type
="personal"
8113 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
8115 { echo "$as_me:$LINENO: result: $build_type" >&5
8116 echo "${ECHO_T}$build_type" >&6; }
8118 #-----------------------------------------------------------------------------
8119 all_debug_types
="messages stack modules mungwall symbols"
8121 { echo "$as_me:$LINENO: checking which debug types to enable" >&5
8122 echo $ECHO_N "checking which debug types to enable... $ECHO_C" >&6; }
8123 # Check whether --enable-debug was given.
8124 if test "${enable_debug+set}" = set; then
8125 enableval
=$enable_debug; debug
="$enableval"
8131 if test "$debug" = "" -o "$debug" = "no"; then
8133 elif test "$debug" = "yes"; then
8137 if test "$debug" = "all" ; then
8138 debug
="messages stack modules symbols"
8139 for d
in $all_debug_types; do
8140 export aros_
${d}_debug
="1"
8143 for d
in $all_debug_types; do
8144 export aros_
${d}_debug
="0"
8148 if test "$debug" != "none"; then
8149 debug
=`echo $debug | sed s/,/\ /g`
8152 for d2
in $all_debug_types; do
8153 if test "$d2" = "$d"; then
8158 if test "$found" = "0"; then
8159 { { echo "$as_me:$LINENO: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&5
8160 echo "$as_me: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&2;}
8161 { (exit 1); exit 1; }; }
8163 export aros_
${d}_debug
="1"
8167 { echo "$as_me:$LINENO: result: $debug" >&5
8168 echo "${ECHO_T}$debug" >&6; }
8170 if test "$aros_messages_debug" = "1"; then
8171 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
8173 aros_messages_debug
=""
8175 if test "$aros_symbols_debug" = "1"; then
8176 aros_symbols_debug
="-g"
8178 aros_symbols_debug
=""
8181 # These are the flags to pass when compiling debugged programs
8182 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8183 aros_debug_aflags
=""
8184 aros_debug_ldflags
="$aros_symbols_debug"
8186 aros_crosstools
="no"
8188 #-----------------------------------------------------------------------------
8189 # Checking if we should build crosstools..
8190 { echo "$as_me:$LINENO: checking whether to build crosstools" >&5
8191 echo $ECHO_N "checking whether to build crosstools... $ECHO_C" >&6; }
8192 # Check whether --enable-crosstools was given.
8193 if test "${enable_crosstools+set}" = set; then
8194 enableval
=$enable_crosstools; crosstools
="$enableval"
8199 if test "$crosstools" != "" -a "$crosstools" != "no"; then
8200 { echo "$as_me:$LINENO: result: yes" >&5
8201 echo "${ECHO_T}yes" >&6; }
8202 aros_crosstools
="yes"
8204 { echo "$as_me:$LINENO: result: no" >&5
8205 echo "${ECHO_T}no" >&6; }
8208 #-----------------------------------------------------------------------------
8209 # Checking for distcc and ccache.
8211 # Always apply the transforms in this particular order. Basically you should
8212 # always run 'ccache distcc compiler' in that order for the best performance.
8214 { echo "$as_me:$LINENO: checking whether to enable distcc" >&5
8215 echo $ECHO_N "checking whether to enable distcc... $ECHO_C" >&6; }
8216 # Check whether --enable-distcc was given.
8217 if test "${enable_distcc+set}" = set; then
8218 enableval
=$enable_distcc; distcc
="$enableval"
8223 if test "$distcc" != "" -a "$distcc" != "no"; then
8224 # AC_CHECK_PROG will print out the result in this case
8225 # Extract the first word of "distcc", so it can be a program name with args.
8226 set dummy distcc
; ac_word
=$2
8227 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8229 if test "${ac_cv_path_DISTCC+set}" = set; then
8230 echo $ECHO_N "(cached) $ECHO_C" >&6
8234 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
8237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8241 test -z "$as_dir" && as_dir
=.
8242 for ac_exec_ext
in '' $ac_executable_extensions; do
8243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8244 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
8245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8252 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
8256 DISTCC
=$ac_cv_path_DISTCC
8257 if test -n "$DISTCC"; then
8258 { echo "$as_me:$LINENO: result: $DISTCC" >&5
8259 echo "${ECHO_T}$DISTCC" >&6; }
8261 { echo "$as_me:$LINENO: result: no" >&5
8262 echo "${ECHO_T}no" >&6; }
8267 { echo "$as_me:$LINENO: result: no" >&5
8268 echo "${ECHO_T}no" >&6; }
8271 { echo "$as_me:$LINENO: checking whether to enable ccache" >&5
8272 echo $ECHO_N "checking whether to enable ccache... $ECHO_C" >&6; }
8273 # Check whether --enable-ccache was given.
8274 if test "${enable_ccache+set}" = set; then
8275 enableval
=$enable_ccache; ccache
="$enableval"
8280 if test "$ccache" != "" -a "$ccache" != "no"; then
8281 # AC_CHECK_PROG will print out the result in this case
8282 # Extract the first word of "ccache", so it can be a program name with args.
8283 set dummy ccache
; ac_word
=$2
8284 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8286 if test "${ac_cv_prog_CCACHE+set}" = set; then
8287 echo $ECHO_N "(cached) $ECHO_C" >&6
8289 if test -n "$CCACHE"; then
8290 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
8292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8296 test -z "$as_dir" && as_dir
=.
8297 for ac_exec_ext
in '' $ac_executable_extensions; do
8298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8299 ac_cv_prog_CCACHE
="ccache"
8300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8309 CCACHE
=$ac_cv_prog_CCACHE
8310 if test -n "$CCACHE"; then
8311 { echo "$as_me:$LINENO: result: $CCACHE" >&5
8312 echo "${ECHO_T}$CCACHE" >&6; }
8314 { echo "$as_me:$LINENO: result: no" >&5
8315 echo "${ECHO_T}no" >&6; }
8320 { echo "$as_me:$LINENO: result: no" >&5
8321 echo "${ECHO_T}no" >&6; }
8324 #-----------------------------------------------------------------------------
8325 { echo "$as_me:$LINENO: checking what specific gcc version to use" >&5
8326 echo $ECHO_N "checking what specific gcc version to use... $ECHO_C" >&6; }
8328 # Check whether --with-gcc-version was given.
8329 if test "${with_gcc_version+set}" = set; then
8330 withval
=$with_gcc_version; target_tool_version
="$withval"
8332 target_tool_version
="default"
8335 { echo "$as_me:$LINENO: result: $target_tool_version" >&5
8336 echo "${ECHO_T}$target_tool_version" >&6; }
8338 #-----------------------------------------------------------------------------
8339 { echo "$as_me:$LINENO: checking what optimization flags to use" >&5
8340 echo $ECHO_N "checking what optimization flags to use... $ECHO_C" >&6; }
8342 # Check whether --with-optimization was given.
8343 if test "${with_optimization+set}" = set; then
8344 withval
=$with_optimization; optimization
="$withval"
8346 optimization
="unknown"
8349 if test "$optimization" = "unknown"; then
8350 if test "$debug" != "none"; then
8356 aros_config_cflags
="$aros_config_cflags $optimization"
8357 { echo "$as_me:$LINENO: result: $optimization" >&5
8358 echo "${ECHO_T}$optimization" >&6; }
8360 #-----------------------------------------------------------------------------
8361 if test "$target_os" = "ios"; then
8363 { echo "$as_me:$LINENO: checking XCode path" >&5
8364 echo $ECHO_N "checking XCode path... $ECHO_C" >&6; }
8366 # Check whether --with-xcode-path was given.
8367 if test "${with_xcode_path+set}" = set; then
8368 withval
=$with_xcode_path; aros_xcode_path
="$withval"
8370 aros_xcode_path
="/Developer"
8373 { echo "$as_me:$LINENO: result: $aros_xcode_path" >&5
8374 echo "${ECHO_T}$aros_xcode_path" >&6; }
8376 { echo "$as_me:$LINENO: checking for minimum supported iOS version" >&5
8377 echo $ECHO_N "checking for minimum supported iOS version... $ECHO_C" >&6; }
8379 # Check whether --with-ios-version was given.
8380 if test "${with_ios_version+set}" = set; then
8381 withval
=$with_ios_version; aros_ios_version
="$withval"
8383 aros_ios_version
="2.0"
8386 { echo "$as_me:$LINENO: result: $aros_ios_version" >&5
8387 echo "${ECHO_T}$aros_ios_version" >&6; }
8389 { echo "$as_me:$LINENO: checking what iOS SDK version to use" >&5
8390 echo $ECHO_N "checking what iOS SDK version to use... $ECHO_C" >&6; }
8392 # Check whether --with-ios-sdk was given.
8393 if test "${with_ios_sdk+set}" = set; then
8394 withval
=$with_ios_sdk; aros_ios_sdk
="$withval"
8399 { echo "$as_me:$LINENO: result: $aros_ios_sdk" >&5
8400 echo "${ECHO_T}$aros_ios_sdk" >&6; }
8404 #-----------------------------------------------------------------------------
8405 { echo "$as_me:$LINENO: checking what target variant to enable" >&5
8406 echo $ECHO_N "checking what target variant to enable... $ECHO_C" >&6; }
8407 # Check whether --enable-target_variant was given.
8408 if test "${enable_target_variant+set}" = set; then
8409 enableval
=$enable_target_variant; target_variant
=$enableval
8411 target_variant
="none"
8414 if test "$target_variant" = "none"; then
8415 aros_target_variant
=""
8416 aros_target_suffix
=""
8418 aros_target_variant
="$target_variant"
8419 aros_target_suffix
="-$target_variant"
8421 { echo "$as_me:$LINENO: result: $enableval" >&5
8422 echo "${ECHO_T}$enableval" >&6; }
8424 target_bootloader
="none"
8426 #-----------------------------------------------------------------------------
8427 # This is the target configuration switch.
8428 case "$target_os" in
8430 aros_target_arch
="linux"
8431 case "$target_cpu" in
8433 aros_target_cpu
="m68k"
8434 aros_object_format
="m68kelf"
8435 aros_flavour
="emulcompat"
8436 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
8437 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
8438 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
8439 gcc_target_cpu
="mc68000"
8442 aros_target_cpu
="i386"
8443 aros_object_format
="elf_i386"
8444 aros_flavour
="emulation"
8445 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
8446 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
8447 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
8448 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
8449 aros_config_ldflags
="-m32 -march=i486"
8450 aros_kernel_ldflags
="-melf_i386"
8451 aros_default_wbdepth
=8
8452 gcc_target_cpu
="i386"
8455 aros_target_cpu
="x86_64"
8456 aros_object_format
="elf_x86_64"
8457 aros_flavour
="emulation"
8458 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
8459 aros_config_cflags
="$aros_config_cflags -mno-red-zone"
8460 aros_default_wbdepth
=8
8461 gcc_target_cpu
="x86_64"
8464 aros_target_cpu
="ppc"
8465 aros_object_format
="elf32ppc"
8466 aros_flavour
="emulation"
8467 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8468 aros_default_wbdepth
=8
8469 gcc_target_cpu
="ppc"
8472 # Same as powerpc, but I need this for the nightly build to work again.
8473 # Actually, the nightly should be made working with powerpc target.
8474 # That just was too much work for the moment, another week or two.
8476 aros_target_cpu
="ppc"
8477 aros_object_format
="elf32ppc"
8478 aros_flavour
="emulation"
8479 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8480 aros_default_wbdepth
=8
8481 gcc_target_cpu
="ppc"
8484 aros_target_cpu
="arm"
8485 aros_object_format
="armelf_linux_eabi"
8486 aros_flavour
="emulation"
8487 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8488 gcc_target_cpu
="arm"
8489 aros_config_cflags
="$aros_config_cflags -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
8490 aros_config_aflags
="$aros_config_aflags -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
8493 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Linux -- $target_cpu\"" >&5
8494 echo "$as_me: error: \"Unknown CPU for Linux -- $target_cpu\"" >&2;}
8495 { (exit 1); exit 1; }; }
8501 aros_target_arch
="pc"
8502 aros_shared_default
="no"
8503 target_bootloader
="grub2"
8504 case "$target_cpu" in
8506 aros_target_cpu
="i386"
8509 if test "$aros_object_format" = "" ; then
8510 aros_object_format
="elf_i386"
8512 aros_flavour
="standalone"
8513 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8514 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
8515 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
8516 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
8517 aros_config_ldflags
="-m32 -march=i486"
8518 aros_kernel_ldflags
="-melf_i386"
8519 aros_default_wbwidth
=640
8520 aros_default_wbheight
=480
8521 gcc_target_cpu
="i386"
8524 aros_target_cpu
="x86_64"
8526 if test "$aros_object_format" = "" ; then
8527 aros_object_format
="elf_x86_64"
8529 aros_flavour
="standalone"
8530 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8531 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone"
8532 aros_kernel_ldflags
=""
8533 aros_default_wbwidth
=640
8534 aros_default_wbheight
=480
8535 gcc_target_cpu
="x86_64"
8538 { { echo "$as_me:$LINENO: error: \"Unknown native CPU -- $target_cpu\"" >&5
8539 echo "$as_me: error: \"Unknown native CPU -- $target_cpu\"" >&2;}
8540 { (exit 1); exit 1; }; }
8546 aros_target_arch
="prep"
8547 aros_shared_default
="no"
8548 aros_target_cpu
="ppc"
8549 aros_object_format
="elf32ppc"
8550 aros_flavour
="ppcnative"
8551 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8552 aros_kernel_ldflags
=""
8553 aros_default_wbwidth
=640
8554 aros_default_wbheight
=480
8555 gcc_target_cpu
="ppc"
8559 aros_target_arch
="freebsd"
8560 aros_target_cpu
="i386"
8561 aros_flavour
="emulation"
8562 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8563 gcc_target_cpu
="i386"
8565 aros_target_strip_flags
="-x"
8569 aros_target_arch
="darwin"
8570 aros_flavour
="emulation"
8571 case "$target_cpu" in
8573 aros_target_cpu
="i386"
8574 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8575 aros_kernel_cflags
="$aros_kernel_cflags -m32"
8576 aros_kernel_ldflags
="$aros_kernel_ldflags -m32"
8577 aros_default_wbdepth
=8
8578 gcc_target_cpu
="i386"
8579 aros_object_format
="elf_i386"
8580 aros_target_strip_flags
="-x"
8581 aros_target_cc
="i386-aros-gcc"
8582 aros_target_cxx
="i386-aros-g++"
8583 aros_target_ld
="i386-aros-ld"
8584 aros_target_as
="i386-aros-as"
8585 aros_target_ar
="i386-aros-ar"
8586 aros_target_ranlib
="i386-aros-ranlib"
8587 aros_target_nm
="i386-aros-nm"
8588 aros_target_strip
="i386-aros-strip"
8589 aros_target_objcopy
="i386-aros-objcopy"
8590 aros_target_objdump
="i386-aros-objdump"
8591 target_tool_prefix
="i686-apple-darwin10-"
8594 aros_target_cpu
="x86_64"
8595 aros_object_format
="elf_x86_64"
8596 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8597 aros_kernel_cflags
="$aros_kernel_cflags -m64"
8598 aros_kernel_ldflags
="$aros_kernel_ldflags -m64"
8599 aros_default_wbdepth
=8
8600 gcc_target_cpu
="x86_64"
8601 aros_target_cc
="x86_64-aros-gcc"
8602 aros_target_cxx
="x86_64-aros-g++"
8603 aros_target_ld
="x86_64-aros-ld"
8604 aros_target_as
="x86_64-aros-as"
8605 aros_target_ar
="x86_64-aros-ar"
8606 aros_target_ranlib
="x86_64-aros-ranlib"
8607 aros_target_nm
="x86_64-aros-nm"
8608 aros_target_strip
="x86_64-aros-strip"
8609 aros_target_objcopy
="x86_64-aros-objcopy"
8610 aros_target_objdump
="x86_64-aros-objdump"
8611 target_tool_prefix
="i686-apple-darwin10-"
8614 aros_target_cpu
="ppc"
8615 aros_object_format
="elf32_ppc"
8616 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8617 aros_default_wbdepth
=8
8618 gcc_target_cpu
="ppc"
8619 aros_target_cc
="ppc-aros-gcc"
8620 aros_target_cxx
="ppc-aros-g++"
8621 aros_target_ld
="ppc-aros-ld"
8622 aros_target_as
="ppc-aros-as"
8623 aros_target_ar
="ppc-aros-ar"
8624 aros_target_ranlib
="ppc-aros-ranlib"
8625 aros_target_nm
="ppc-aros-nm"
8626 aros_target_strip
="ppc-aros-strip"
8627 aros_target_objcopy
="ppc-aros-objcopy"
8628 aros_target_objdump
="ppc-aros-objdump"
8629 target_tool_prefix
="powerpc-apple-darwin10-"
8632 { { echo "$as_me:$LINENO: error: \"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" >&5
8633 echo "$as_me: error: \"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" >&2;}
8634 { (exit 1); exit 1; }; }
8640 aros_target_arch
="ios"
8641 aros_flavour
="emulation"
8642 # This is here because it may depend on iOS or SDK version
8643 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
8644 case "$target_cpu" in
8646 aros_ios_platform
="iPhoneSimulator"
8647 aros_target_cpu
="i386"
8648 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8649 aros_default_wbdepth
=8
8650 gcc_target_cpu
="i386"
8651 aros_object_format
="elf_i386"
8652 aros_target_strip_flags
="-x"
8653 aros_target_cc
="i386-aros-gcc"
8654 aros_target_cxx
="i386-aros-g++"
8655 aros_target_ld
="i386-aros-ld"
8656 aros_target_as
="i386-aros-as"
8657 aros_target_ar
="i386-aros-ar"
8658 aros_target_ranlib
="i386-aros-ranlib"
8659 aros_target_nm
="i386-aros-nm"
8660 aros_target_strip
="i386-aros-strip"
8661 aros_target_objcopy
="i386-aros-objcopy"
8662 aros_target_objdump
="i386-aros-objdump"
8663 target_tool_prefix
="i686-apple-darwin10-"
8664 target_tool_flags
="-m32"
8667 aros_ios_platform
="iPhoneOS"
8668 aros_target_cpu
="arm"
8669 aros_object_format
="armelf_linux_eabi"
8670 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8671 aros_default_wbdepth
=8
8672 gcc_target_cpu
="arm"
8673 aros_kernel_ld
="ld -arch armv6"
8674 aros_target_cc
="arm-elf-gcc"
8675 aros_target_ld
="arm-elf-ld"
8676 aros_target_as
="arm-elf-as"
8677 aros_target_ar
="arm-elf-ar"
8678 aros_target_ranlib
="arm-elf-ranlib"
8679 aros_target_nm
="arm-elf-nm"
8680 aros_target_strip
="arm-elf-strip"
8681 aros_target_objcopy
="arm-elf-objcopy"
8682 aros_target_objdump
="arm-elf-objdump"
8683 target_tool_prefix
="arm-apple-darwin10-"
8684 aros_default_wbwidth
=320
8685 aros_default_wbheight
=480
8686 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
8689 { { echo "$as_me:$LINENO: error: \"Unsupported target CPU for iOS hosted flavour -- $target_cpu\"" >&5
8690 echo "$as_me: error: \"Unsupported target CPU for iOS hosted flavour -- $target_cpu\"" >&2;}
8691 { (exit 1); exit 1; }; }
8694 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_ios_sdk.sdk"
8695 target_tool_flags
="$target_tool_flags --sysroot $aros_ios_sdk"
8699 aros_target_arch
="dragonfly"
8700 aros_flavour
="emulation"
8701 case "$target_cpu" in
8703 aros_target_cpu
="i386"
8704 aros_object_format
="elf_i386"
8705 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
8708 aros_target_cpu
="x86_64"
8709 aros_object_format
="elf_x86_64"
8710 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
8713 { { echo "$as_me:$LINENO: error: \"Unknown CPU for DragonFly -- $target_cpu\"" >&5
8714 echo "$as_me: error: \"Unknown CPU for DragonFly -- $target_cpu\"" >&2;}
8715 { (exit 1); exit 1; }; }
8721 aros_target_arch
="netbsd"
8722 case "$target_cpu" in
8724 aros_target_cpu
="m68k"
8725 aros_object_format
="m68kelf"
8726 aros_flavour
="emulcompat"
8727 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8728 gcc_target_cpu
="mc68000"
8731 aros_target_cpu
="i386"
8732 aros_object_format
="elf_i386"
8733 aros_flavour
="emulation"
8734 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8735 aros_default_wbdepth
=8
8736 gcc_target_cpu
="i386"
8739 { { echo "$as_me:$LINENO: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&5
8740 echo "$as_me: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&2;}
8741 { (exit 1); exit 1; }; }
8744 aros_target_genmap
="-Wl,-M -Xlinker >"
8745 aros_flavour
="emulation"
8746 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8750 aros_target_arch
="openbsd"
8751 case "$target_cpu" in
8753 aros_target_cpu
="i386"
8754 aros_object_format
="elf_i386"
8755 aros_flavour
="emulation"
8756 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8757 gcc_target_cpu
="i386"
8760 { { echo "$as_me:$LINENO: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&5
8761 echo "$as_me: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&2;}
8762 { (exit 1); exit 1; }; }
8765 aros_target_genmap
="-Wl,-M -Xlinker >"
8766 aros_target_nm_flags
="-u"
8767 aros_flavour
="emulation"
8771 aros_target_arch
="solaris"
8772 case "$target_cpu" in
8774 aros_target_cpu
="i386"
8775 aros_object_format
="elf_i386"
8776 aros_flavour
="emulation"
8777 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8778 aros_default_wbdepth
=8
8779 gcc_target_cpu
="i386"
8782 aros_target_cpu
="sparc"
8783 aros_object_format
="elf_sparc"
8784 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8785 gcc_target_cpu
="sparc"
8788 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&5
8789 echo "$as_me: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&2;}
8790 { (exit 1); exit 1; }; }
8793 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8794 aros_flavour
="emulation"
8798 aros_target_arch
="morphos"
8799 aros_shared_default
="no"
8800 aros_target_cpu
="ppc"
8801 aros_object_format
="elf_ppc"
8802 aros_flavour
="nativecompat"
8803 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8804 gcc_target_cpu
="ppc"
8808 aros_target_arch
="sam440"
8809 aros_shared_default
="no"
8810 aros_target_cpu
="ppc"
8811 aros_object_format
="elf32ppc"
8812 aros_flavour
="ppcnative"
8813 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8814 aros_kernel_ldflags
=""
8815 aros_default_wbwidth
=1024
8816 aros_default_wbheight
=768
8817 aros_default_wbdepth
=24
8818 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8819 gcc_target_cpu
="powerpc"
8823 aros_target_arch
="efika"
8824 aros_shared_default
="no"
8825 aros_target_cpu
="arm"
8826 aros_object_format
="armelf_linux_eabi"
8827 aros_flavour
="standalone"
8828 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8829 aros_kernel_ldflags
=""
8830 aros_default_wbwidth
=1024
8831 aros_default_wbheight
=600
8832 aros_arch_libs
="-laeabi"
8833 aros_config_cflags
="$aros_config_cflags -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
8834 aros_config_aflags
="$aros_config_aflags -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
8838 aros_target_arch
="chrp"
8839 aros_shared_default
="no"
8840 aros_target_cpu
="ppc"
8841 aros_object_format
="elf32ppc"
8842 aros_flavour
="ppcnative"
8843 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8844 aros_kernel_ldflags
=""
8845 aros_default_wbwidth
=640
8846 aros_default_wbheight
=480
8847 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
8848 gcc_target_cpu
="powerpc"
8849 case "$aros_target_variant" in
8851 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
8857 aros_target_arch
="amiga"
8858 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8859 aros_shared_default
="no"
8861 aros_config_cflags
="$aros_config_cflags -fomit-frame-pointer -fbuiltin -ffreestanding"
8863 case "$target_cpu" in
8865 aros_target_cpu
="m68k"
8866 aros_object_format
="m68kelf"
8867 aros_flavour
="nativecompat"
8868 gcc_target_cpu
="mc68000"
8872 aros_flavour
="native"
8873 gcc_target_cpu
="ppc"
8876 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Amiga $target_cpu\"" >&5
8877 echo "$as_me: error: \"Unknown CPU for Amiga $target_cpu\"" >&2;}
8878 { (exit 1); exit 1; }; }
8884 aros_target_arch
="mingw32"
8885 aros_shared_default
="no"
8886 aros_flavour
="emulation"
8887 aros_shared_cflags
=""
8890 case "$target_cpu" in
8892 aros_target_cpu
="i386"
8893 aros_object_format
="elf_i386"
8894 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8895 aros_default_wbdepth
=8
8896 gcc_target_cpu
="i386"
8897 aros_target_cc
="i386-aros-gcc"
8898 aros_target_cxx
="i386-aros-g++"
8899 aros_target_ld
="i386-aros-ld"
8900 aros_target_as
="i386-aros-as"
8901 aros_target_ar
="i386-aros-ar"
8902 aros_target_ranlib
="i386-aros-ranlib"
8903 aros_target_nm
="i386-aros-nm"
8904 aros_target_strip
="i386-aros-strip"
8905 aros_target_objcopy
="i386-aros-objcopy"
8906 aros_target_objdump
="i386-aros-objdump"
8907 target_tool_prefix
="i386-mingw32-"
8910 aros_target_cpu
="x86_64"
8911 aros_object_format
="elf_x86_64"
8912 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8913 aros_default_wbdepth
=8
8914 gcc_target_cpu
="x86_64"
8915 aros_target_cc
="x86_64-aros-gcc"
8916 aros_target_cxx
="x86_64-aros-g++"
8917 aros_target_ld
="x86_64-aros-ld"
8918 aros_target_as
="x86_64-aros-as"
8919 aros_target_ar
="x86_64-aros-ar"
8920 aros_target_ranlib
="x86_64-aros-ranlib"
8921 aros_target_nm
="x86_64-aros-nm"
8922 aros_target_strip
="x86_64-aros-strip"
8923 aros_target_objcopy
="x86_64-aros-objcopy"
8924 aros_target_objdump
="x86_64-aros-objdump"
8925 target_tool_prefix
="x86_64-w64-mingw32-"
8928 aros_target_cpu
="arm"
8929 aros_object_format
="armelf_linux_eabi"
8930 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8931 aros_default_wbdepth
=8
8932 gcc_target_cpu
="arm"
8933 aros_target_cc
="arm-elf-gcc"
8934 aros_target_ld
="arm-elf-ld"
8935 aros_target_as
="arm-elf-as"
8936 aros_target_ar
="arm-elf-ar"
8937 aros_target_ranlib
="arm-elf-ranlib"
8938 aros_target_nm
="arm-elf-nm"
8939 aros_target_strip
="arm-elf-strip"
8940 aros_target_objcopy
="arm-elf-objcopy"
8941 aros_target_objdump
="arm-elf-objdump"
8942 target_tool_prefix
="arm-mingw32ce-"
8943 aros_default_wbwidth
=160
8944 aros_default_wbheight
=160
8947 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Mingw32 -- $target_cpu\"" >&5
8948 echo "$as_me: error: \"Unknown CPU for Mingw32 -- $target_cpu\"" >&2;}
8949 { (exit 1); exit 1; }; }
8952 if test $host_os = "cygwin"; then
8953 aros_kernel_cflags
="-mno-cygwin"
8957 aros_target_arch
="pp"
8958 aros_shared_default
="no"
8959 case "$target_cpu" in
8961 aros_target_cpu
="m68k"
8962 aros_object_format
="m68kelf"
8963 aros_flavour
="palmnative"
8964 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8965 aros_default_wbwidth
=160
8966 aros_default_wbheight
=160
8967 aros_default_wbdepth
=1
8968 aros_target_ar_flags
="cru"
8969 aros_compiler_libs
="-lgcc1"
8970 aros_shared_default
=no
8971 aros_shared_cflags
="-fpic"
8972 aros_shared_aflags
=""
8973 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8974 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8975 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
8976 aros_debug_aflags
=""
8977 aros_debug_ldflags
="$aros_symbols_debug"
8978 aros_mungwall_debug
="0"
8979 aros_modules_debug
="0"
8980 gcc_target_cpu
="mc68000"
8981 ignore_undefined_symbols
="-ius"
8984 { { echo "$as_me:$LINENO: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&5
8985 echo "$as_me: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&2;}
8986 { (exit 1); exit 1; }; }
8992 aros_target_arch
="mac"
8993 aros_shared_default
="no"
8994 case "$target_cpu" in
8996 aros_target_cpu
="m68k"
8997 aros_object_format
="m68kelf"
8998 aros_flavour
="mac68knative"
8999 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
9000 aros_default_wbwidth
=512
9001 aros_default_wbheight
=384
9002 aros_default_wbdepth
=8
9003 aros_target_ar_flags
="cru"
9004 aros_compiler_libs
="-lgcc1"
9005 aros_shared_default
=no
9006 aros_shared_cflags
="-fpic"
9007 aros_shared_aflags
=""
9008 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
9009 aros_kernel_ldflags
="-Wl,-rpath,./lib"
9010 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000"
9011 aros_debug_aflags
=""
9012 aros_debug_ldflags
="$aros_symbols_debug"
9013 aros_mungwall_debug
="0"
9014 aros_modules_debug
="0"
9015 gcc_target_cpu
="mc68000"
9016 ignore_undefined_symbols
="-ius"
9019 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&5
9020 echo "$as_me: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&2;}
9021 { (exit 1); exit 1; }; }
9027 { { echo "$as_me:$LINENO: error: Unsupported target architecture $target" >&5
9028 echo "$as_me: error: Unsupported target architecture $target" >&2;}
9029 { (exit 1); exit 1; }; }
9033 { echo "$as_me:$LINENO: checking Where to download sourcecode for external ports" >&5
9034 echo $ECHO_N "checking Where to download sourcecode for external ports... $ECHO_C" >&6; }
9036 # Check whether --with-portssources was given.
9037 if test "${with_portssources+set}" = set; then
9038 withval
=$with_portssources; with_portssrcdir
=$withval
9040 with_portssrcdir
="default"
9043 if test "$with_portssrcdir" = "default"; then
9044 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
9046 AROS_PORTSSRCDIR
="$with_portssrcdir"
9048 { echo "$as_me:$LINENO: result: $AROS_PORTSSRCDIR" >&5
9049 echo "${ECHO_T}$AROS_PORTSSRCDIR" >&6; }
9051 { echo "$as_me:$LINENO: checking which bootloader to use" >&5
9052 echo $ECHO_N "checking which bootloader to use... $ECHO_C" >&6; }
9054 # Check whether --with-bootloader was given.
9055 if test "${with_bootloader+set}" = set; then
9056 withval
=$with_bootloader; target_bootloader
=$withval
9058 target_bootloader
=$target_bootloader
9061 if test "$target_bootloader" = "none"; then
9062 aros_target_bootloader
=""
9064 aros_target_bootloader
="$target_bootloader"
9066 { echo "$as_me:$LINENO: result: $target_bootloader" >&5
9067 echo "${ECHO_T}$target_bootloader" >&6; }
9069 { echo "$as_me:$LINENO: checking which icon-set to use" >&5
9070 echo $ECHO_N "checking which icon-set to use... $ECHO_C" >&6; }
9072 # Check whether --with-iconset was given.
9073 if test "${with_iconset+set}" = set; then
9074 withval
=$with_iconset; target_iconset
=$withval
9076 target_iconset
="default"
9079 if test "$target_iconset" = "default"; then
9080 aros_target_iconset
="Gorilla"
9081 target_iconset
="default (Gorilla)"
9083 aros_target_iconset
="$target_iconset"
9085 { echo "$as_me:$LINENO: result: $target_iconset" >&5
9086 echo "${ECHO_T}$target_iconset" >&6; }
9088 { echo "$as_me:$LINENO: checking which GUI Theme to use" >&5
9089 echo $ECHO_N "checking which GUI Theme to use... $ECHO_C" >&6; }
9091 # Check whether --with-theme was given.
9092 if test "${with_theme+set}" = set; then
9093 withval
=$with_theme; target_guitheme
=$withval
9095 target_guitheme
="default"
9098 if test "$target_guitheme" = "default"; then
9099 aros_target_guitheme
="Ice"
9101 aros_target_guitheme
="$target_guitheme"
9103 { echo "$as_me:$LINENO: result: $aros_target_guitheme" >&5
9104 echo "${ECHO_T}$aros_target_guitheme" >&6; }
9106 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
9109 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
9112 if test "$aros_host_cpu" == "x86_64" ; then
9113 if test "$aros_target_cpu" == "i386" ; then
9114 if test "$aros_target_arch" != "mingw32"; then
9120 # Set prefix for target compiler etc. if we're cross-compiling
9121 # (should possibly be earlier but needs to be after AC_PROG_CC)
9122 if test "$cross_compiling" = "yes" ; then
9123 if test "$target_tool_prefix" = ""; then
9124 target_tool_prefix
=${target_cpu}-elf-
9126 CC
=${target_tool_prefix}gcc
9127 if test "$target_tool_version" != "default"; then
9128 CC
="$CC-$target_tool_version"
9130 # Extract the first word of "$CC", so it can be a program name with args.
9131 set dummy
$CC; ac_word
=$2
9132 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9133 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9134 if test "${ac_cv_path_CC+set}" = set; then
9135 echo $ECHO_N "(cached) $ECHO_C" >&6
9139 ac_cv_path_CC
="$CC" # Let the user override the test with a path.
9142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9146 test -z "$as_dir" && as_dir
=.
9147 for ac_exec_ext
in '' $ac_executable_extensions; do
9148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9149 ac_cv_path_CC
="$as_dir/$ac_word$ac_exec_ext"
9150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9161 if test -n "$CC"; then
9162 { echo "$as_me:$LINENO: result: $CC" >&5
9163 echo "${ECHO_T}$CC" >&6; }
9165 { echo "$as_me:$LINENO: result: no" >&5
9166 echo "${ECHO_T}no" >&6; }
9170 if test "$CC" = ""; then
9171 { { echo "$as_me:$LINENO: error: gcc is required to build AROS. Please install and run configure again." >&5
9172 echo "$as_me: error: gcc is required to build AROS. Please install and run configure again." >&2;}
9173 { (exit 1); exit 1; }; }
9176 CC
="$CC $target_tool_flags"
9178 #-----------------------------------------------------------------------------
9180 # Disable pointer-signedness warnings if the compiler recognises the option
9182 { echo "$as_me:$LINENO: checking whether ${CC} accepts -Wno-pointer-sign" >&5
9183 echo $ECHO_N "checking whether ${CC} accepts -Wno-pointer-sign... $ECHO_C" >&6; }
9184 save_cflags
="$CFLAGS"
9185 CFLAGS
="$CFLAGS -Wno-pointer-sign"
9186 cat >conftest.
$ac_ext <<_ACEOF
9189 cat confdefs.h
>>conftest.
$ac_ext
9190 cat >>conftest.
$ac_ext <<_ACEOF
9191 /* end confdefs.h. */
9201 rm -f conftest.
$ac_objext
9202 if { (ac_try
="$ac_compile"
9204 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9205 *) ac_try_echo=$ac_try;;
9207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9208 (eval "$ac_compile") 2>conftest.er1
9210 grep -v '^ *+' conftest.er1 >conftest.err
9212 cat conftest.err >&5
9213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9214 (exit $ac_status); } && {
9215 test -z "$ac_c_werror_flag" ||
9216 test ! -s conftest.err
9217 } && test -s conftest.$ac_objext; then
9218 use_no_sign_warning="yes"
9220 echo "$as_me: failed program was:" >&5
9221 sed 's/^/| /' conftest.$ac_ext >&5
9223 use_no_sign_warning="no"
9226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9227 { echo "$as_me:$LINENO: result: $use_no_sign_warning" >&5
9228 echo "${ECHO_T}$use_no_sign_warning" >&6; }
9229 if test "x-$use_no_sign_warning" = "x-yes" ; then
9230 aros_config_cflags="$aros_config_cflags -Wno-pointer-sign"
9232 CFLAGS="$save_cflags"
9234 #-----------------------------------------------------------------------------
9236 # Find all the tools we need to compile. This could be cross-compiling
9237 # though! If that is the case we use the GNU form of the target and
9238 # simply add this to the front of the binary name. This is rather simple,
9239 # but it should work under most circumstances.
9241 # The default tools are to use the same as the host, but only if the
9242 # host and target CPU are the same. With GCC this is normally enough.
9246 aros_shared_ld="$aros_host_ld"
9248 aros_target_mkdep="$aros_host_mkdep"
9249 aros_target_incl_def="$aros_host_incl"
9251 aros_kernel_cc="$CC"
9253 # The default tools executables to be linked to.
9254 if test "$aros_target_cc" != ""; then
9255 # Extract the first word of "$aros_target_cc", so it can be a program name with args.
9256 set dummy $aros_target_cc; ac_word=$2
9257 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9259 if test "${ac_cv_path_aros_target_cc+set}" = set; then
9260 echo $ECHO_N "(cached) $ECHO_C" >&6
9262 case $aros_target_cc in
9264 ac_cv_path_aros_target_cc="$aros_target_cc" # Let the user override the test with a path.
9267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9271 test -z "$as_dir" && as_dir=.
9272 for ac_exec_ext in '' $ac_executable_extensions; do
9273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9274 ac_cv_path_aros_target_cc="$as_dir/$ac_word$ac_exec_ext"
9275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9285 aros_target_cc=$ac_cv_path_aros_target_cc
9286 if test -n "$aros_target_cc"; then
9287 { echo "$as_me:$LINENO: result: $aros_target_cc" >&5
9288 echo "${ECHO_T}$aros_target_cc" >&6; }
9290 { echo "$as_me:$LINENO: result: no" >&5
9291 echo "${ECHO_T}no" >&6; }
9295 if test "$aros_target_cc" = ""; then
9296 { { echo "$as_me:$LINENO: error: gcc is required to build AROS. Please install and run configure again." >&5
9297 echo "$as_me: error: gcc is required to build AROS. Please install and run configure again." >&2;}
9298 { (exit 1); exit 1; }; }
9301 if test "$aros_target_ld" != ""; then
9302 # Extract the first word of "$aros_target_ld", so it can be a program name with args.
9303 set dummy $aros_target_ld; ac_word=$2
9304 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9306 if test "${ac_cv_path_aros_target_ld+set}" = set; then
9307 echo $ECHO_N "(cached) $ECHO_C" >&6
9309 case $aros_target_ld in
9311 ac_cv_path_aros_target_ld="$aros_target_ld" # Let the user override the test with a path.
9314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9318 test -z "$as_dir" && as_dir=.
9319 for ac_exec_ext in '' $ac_executable_extensions; do
9320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9321 ac_cv_path_aros_target_ld="$as_dir/$ac_word$ac_exec_ext"
9322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9332 aros_target_ld=$ac_cv_path_aros_target_ld
9333 if test -n "$aros_target_ld"; then
9334 { echo "$as_me:$LINENO: result: $aros_target_ld" >&5
9335 echo "${ECHO_T}$aros_target_ld" >&6; }
9337 { echo "$as_me:$LINENO: result: no" >&5
9338 echo "${ECHO_T}no" >&6; }
9342 if test "$aros_target_ld" = ""; then
9343 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
9344 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
9345 { (exit 1); exit 1; }; }
9349 if test "$crosstools" != "yes"; then
9351 if test "$aros_target_as" = ""; then
9352 if test "$cross_compiling" = "yes" ; then
9353 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
9354 set dummy ${target_tool_prefix}as; ac_word=$2
9355 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9356 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9357 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9358 echo $ECHO_N "(cached) $ECHO_C" >&6
9360 case $aros_target_as_ln in
9362 ac_cv_path_aros_target_as_ln="$aros_target_as_ln" # Let the user override the test with a path.
9365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9369 test -z "$as_dir" && as_dir=.
9370 for ac_exec_ext in '' $ac_executable_extensions; do
9371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9372 ac_cv_path_aros_target_as_ln="$as_dir/$ac_word$ac_exec_ext"
9373 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9383 aros_target_as_ln=$ac_cv_path_aros_target_as_ln
9384 if test -n "$aros_target_as_ln"; then
9385 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9386 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9388 { echo "$as_me:$LINENO: result: no" >&5
9389 echo "${ECHO_T}no" >&6; }
9394 if test "$GCC" = "yes"; then
9395 aros_gcc_as=`$CC -print-prog-name=as
`
9396 # Extract the first word of "`basename $aros_gcc_[as
]`", so it can be a program name with args.
9397 set dummy `basename $aros_gcc_as`; ac_word=$2
9398 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9400 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9401 echo $ECHO_N "(cached) $ECHO_C" >&6
9403 case $aros_target_as_ln in
9405 ac_cv_path_aros_target_as_ln="$aros_target_as_ln" # Let the user override the test with a path.
9408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9409 for as_dir in `dirname $aros_gcc_as`
9412 test -z "$as_dir" && as_dir=.
9413 for ac_exec_ext in '' $ac_executable_extensions; do
9414 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9415 ac_cv_path_aros_target_as_ln="$as_dir/$ac_word$ac_exec_ext"
9416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9426 aros_target_as_ln=$ac_cv_path_aros_target_as_ln
9427 if test -n "$aros_target_as_ln"; then
9428 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9429 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9431 { echo "$as_me:$LINENO: result: no" >&5
9432 echo "${ECHO_T}no" >&6; }
9437 if test "$aros_target_as_ln" = ""; then
9438 # Extract the first word of "as", so it can be a program name with args.
9439 set dummy as; ac_word=$2
9440 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9442 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9443 echo $ECHO_N "(cached) $ECHO_C" >&6
9445 case $aros_target_as_ln in
9447 ac_cv_path_aros_target_as_ln="$aros_target_as_ln" # Let the user override the test with a path.
9450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9454 test -z "$as_dir" && as_dir=.
9455 for ac_exec_ext in '' $ac_executable_extensions; do
9456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9457 ac_cv_path_aros_target_as_ln="$as_dir/$ac_word$ac_exec_ext"
9458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9468 aros_target_as_ln=$ac_cv_path_aros_target_as_ln
9469 if test -n "$aros_target_as_ln"; then
9470 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9471 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9473 { echo "$as_me:$LINENO: result: no" >&5
9474 echo "${ECHO_T}no" >&6; }
9481 # Extract the first word of "$aros_target_as", so it can be a program name with args.
9482 set dummy $aros_target_as; ac_word=$2
9483 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9485 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9486 echo $ECHO_N "(cached) $ECHO_C" >&6
9488 case $aros_target_as_ln in
9490 ac_cv_path_aros_target_as_ln="$aros_target_as_ln" # Let the user override the test with a path.
9493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9497 test -z "$as_dir" && as_dir=.
9498 for ac_exec_ext in '' $ac_executable_extensions; do
9499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9500 ac_cv_path_aros_target_as_ln="$as_dir/$ac_word$ac_exec_ext"
9501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9511 aros_target_as_ln=$ac_cv_path_aros_target_as_ln
9512 if test -n "$aros_target_as_ln"; then
9513 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9514 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9516 { echo "$as_me:$LINENO: result: no" >&5
9517 echo "${ECHO_T}no" >&6; }
9523 if test "$aros_target_as_ln" = ""; then
9524 { { echo "$as_me:$LINENO: error: as is required to build AROS. Please install and run configure again." >&5
9525 echo "$as_me: error: as is required to build AROS. Please install and run configure again." >&2;}
9526 { (exit 1); exit 1; }; }
9529 if test "$aros_kernel_ld" = ""; then
9530 if test "$cross_compiling" = "yes" ; then
9531 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
9532 set dummy ${target_tool_prefix}ld; ac_word=$2
9533 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9535 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9536 echo $ECHO_N "(cached) $ECHO_C" >&6
9538 case $aros_kernel_ld in
9540 ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path.
9543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9547 test -z "$as_dir" && as_dir=.
9548 for ac_exec_ext in '' $ac_executable_extensions; do
9549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9550 ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext"
9551 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9561 aros_kernel_ld=$ac_cv_path_aros_kernel_ld
9562 if test -n "$aros_kernel_ld"; then
9563 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9564 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9566 { echo "$as_me:$LINENO: result: no" >&5
9567 echo "${ECHO_T}no" >&6; }
9572 if test "$GCC" = "yes"; then
9573 aros_gcc_ld=`$CC -print-prog-name=ld
`
9574 # Extract the first word of "`basename $aros_gcc_[ld
]`", so it can be a program name with args.
9575 set dummy `basename $aros_gcc_ld`; ac_word=$2
9576 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9578 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9579 echo $ECHO_N "(cached) $ECHO_C" >&6
9581 case $aros_kernel_ld in
9583 ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path.
9586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9587 for as_dir in `dirname $aros_gcc_ld`
9590 test -z "$as_dir" && as_dir=.
9591 for ac_exec_ext in '' $ac_executable_extensions; do
9592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9593 ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext"
9594 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9604 aros_kernel_ld=$ac_cv_path_aros_kernel_ld
9605 if test -n "$aros_kernel_ld"; then
9606 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9607 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9609 { echo "$as_me:$LINENO: result: no" >&5
9610 echo "${ECHO_T}no" >&6; }
9615 if test "$aros_kernel_ld" = ""; then
9616 # Extract the first word of "ld", so it can be a program name with args.
9617 set dummy ld; ac_word=$2
9618 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9620 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9621 echo $ECHO_N "(cached) $ECHO_C" >&6
9623 case $aros_kernel_ld in
9625 ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path.
9628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9632 test -z "$as_dir" && as_dir=.
9633 for ac_exec_ext in '' $ac_executable_extensions; do
9634 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9635 ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext"
9636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9646 aros_kernel_ld=$ac_cv_path_aros_kernel_ld
9647 if test -n "$aros_kernel_ld"; then
9648 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9649 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9651 { echo "$as_me:$LINENO: result: no" >&5
9652 echo "${ECHO_T}no" >&6; }
9659 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
9660 set dummy $aros_kernel_ld; ac_word=$2
9661 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9663 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9664 echo $ECHO_N "(cached) $ECHO_C" >&6
9666 case $aros_kernel_ld in
9668 ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path.
9671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9675 test -z "$as_dir" && as_dir=.
9676 for ac_exec_ext in '' $ac_executable_extensions; do
9677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9678 ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext"
9679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9689 aros_kernel_ld=$ac_cv_path_aros_kernel_ld
9690 if test -n "$aros_kernel_ld"; then
9691 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9692 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9694 { echo "$as_me:$LINENO: result: no" >&5
9695 echo "${ECHO_T}no" >&6; }
9701 if test "$aros_kernel_ld" = ""; then
9702 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
9703 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
9704 { (exit 1); exit 1; }; }
9707 if test "$aros_target_ar" = ""; then
9708 if test "$cross_compiling" = "yes" ; then
9709 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
9710 set dummy ${target_tool_prefix}ar; ac_word=$2
9711 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9713 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9714 echo $ECHO_N "(cached) $ECHO_C" >&6
9716 case $aros_target_ar_ln in
9718 ac_cv_path_aros_target_ar_ln="$aros_target_ar_ln" # Let the user override the test with a path.
9721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9725 test -z "$as_dir" && as_dir=.
9726 for ac_exec_ext in '' $ac_executable_extensions; do
9727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9728 ac_cv_path_aros_target_ar_ln="$as_dir/$ac_word$ac_exec_ext"
9729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9739 aros_target_ar_ln=$ac_cv_path_aros_target_ar_ln
9740 if test -n "$aros_target_ar_ln"; then
9741 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9742 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9744 { echo "$as_me:$LINENO: result: no" >&5
9745 echo "${ECHO_T}no" >&6; }
9750 if test "$GCC" = "yes"; then
9751 aros_gcc_ar=`$CC -print-prog-name=ar`
9752 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9753 set dummy `basename $aros_gcc_ar`; ac_word=$2
9754 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9756 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9757 echo $ECHO_N "(cached) $ECHO_C" >&6
9759 case $aros_target_ar_ln in
9761 ac_cv_path_aros_target_ar_ln="$aros_target_ar_ln" # Let the user override the test with a path.
9764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9765 for as_dir in `dirname $aros_gcc_ar`
9768 test -z "$as_dir" && as_dir=.
9769 for ac_exec_ext in '' $ac_executable_extensions; do
9770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9771 ac_cv_path_aros_target_ar_ln="$as_dir/$ac_word$ac_exec_ext"
9772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9782 aros_target_ar_ln=$ac_cv_path_aros_target_ar_ln
9783 if test -n "$aros_target_ar_ln"; then
9784 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9785 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9787 { echo "$as_me:$LINENO: result: no" >&5
9788 echo "${ECHO_T}no" >&6; }
9793 if test "$aros_target_ar_ln" = ""; then
9794 # Extract the first word of "ar", so it can be a program name with args.
9795 set dummy ar; ac_word=$2
9796 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9798 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9799 echo $ECHO_N "(cached) $ECHO_C" >&6
9801 case $aros_target_ar_ln in
9803 ac_cv_path_aros_target_ar_ln="$aros_target_ar_ln" # Let the user override the test with a path.
9806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9810 test -z "$as_dir" && as_dir=.
9811 for ac_exec_ext in '' $ac_executable_extensions; do
9812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9813 ac_cv_path_aros_target_ar_ln="$as_dir/$ac_word$ac_exec_ext"
9814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9824 aros_target_ar_ln=$ac_cv_path_aros_target_ar_ln
9825 if test -n "$aros_target_ar_ln"; then
9826 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9827 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9829 { echo "$as_me:$LINENO: result: no" >&5
9830 echo "${ECHO_T}no" >&6; }
9837 # Extract the first word of "$aros_target_ar", so it can be a program name with args.
9838 set dummy $aros_target_ar; ac_word=$2
9839 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9841 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9842 echo $ECHO_N "(cached) $ECHO_C" >&6
9844 case $aros_target_ar_ln in
9846 ac_cv_path_aros_target_ar_ln="$aros_target_ar_ln" # Let the user override the test with a path.
9849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9853 test -z "$as_dir" && as_dir=.
9854 for ac_exec_ext in '' $ac_executable_extensions; do
9855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9856 ac_cv_path_aros_target_ar_ln="$as_dir/$ac_word$ac_exec_ext"
9857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9867 aros_target_ar_ln=$ac_cv_path_aros_target_ar_ln
9868 if test -n "$aros_target_ar_ln"; then
9869 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9870 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9872 { echo "$as_me:$LINENO: result: no" >&5
9873 echo "${ECHO_T}no" >&6; }
9879 if test "$aros_target_ar_ln" = ""; then
9880 { { echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
9881 echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
9882 { (exit 1); exit 1; }; }
9885 if test "$aros_target_nm" = ""; then
9886 if test "$cross_compiling" = "yes" ; then
9887 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
9888 set dummy ${target_tool_prefix}nm; ac_word=$2
9889 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9891 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
9892 echo $ECHO_N "(cached) $ECHO_C" >&6
9894 case $aros_target_nm_ln in
9896 ac_cv_path_aros_target_nm_ln="$aros_target_nm_ln" # Let the user override the test with a path.
9899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9903 test -z "$as_dir" && as_dir=.
9904 for ac_exec_ext in '' $ac_executable_extensions; do
9905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9906 ac_cv_path_aros_target_nm_ln="$as_dir/$ac_word$ac_exec_ext"
9907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9917 aros_target_nm_ln=$ac_cv_path_aros_target_nm_ln
9918 if test -n "$aros_target_nm_ln"; then
9919 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
9920 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
9922 { echo "$as_me:$LINENO: result: no" >&5
9923 echo "${ECHO_T}no" >&6; }
9928 if test "$GCC" = "yes"; then
9929 aros_gcc_nm=`$CC -print-prog-name=nm
`
9930 # Extract the first word of "`basename $aros_gcc_[nm
]`", so it can be a program name with args.
9931 set dummy `basename $aros_gcc_nm`; ac_word=$2
9932 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9934 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
9935 echo $ECHO_N "(cached) $ECHO_C" >&6
9937 case $aros_target_nm_ln in
9939 ac_cv_path_aros_target_nm_ln="$aros_target_nm_ln" # Let the user override the test with a path.
9942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9943 for as_dir in `dirname $aros_gcc_nm`
9946 test -z "$as_dir" && as_dir=.
9947 for ac_exec_ext in '' $ac_executable_extensions; do
9948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9949 ac_cv_path_aros_target_nm_ln="$as_dir/$ac_word$ac_exec_ext"
9950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9960 aros_target_nm_ln=$ac_cv_path_aros_target_nm_ln
9961 if test -n "$aros_target_nm_ln"; then
9962 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
9963 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
9965 { echo "$as_me:$LINENO: result: no" >&5
9966 echo "${ECHO_T}no" >&6; }
9971 if test "$aros_target_nm_ln" = ""; then
9972 # Extract the first word of "nm", so it can be a program name with args.
9973 set dummy nm; ac_word=$2
9974 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9976 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
9977 echo $ECHO_N "(cached) $ECHO_C" >&6
9979 case $aros_target_nm_ln in
9981 ac_cv_path_aros_target_nm_ln="$aros_target_nm_ln" # Let the user override the test with a path.
9984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9988 test -z "$as_dir" && as_dir=.
9989 for ac_exec_ext in '' $ac_executable_extensions; do
9990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9991 ac_cv_path_aros_target_nm_ln="$as_dir/$ac_word$ac_exec_ext"
9992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10002 aros_target_nm_ln=$ac_cv_path_aros_target_nm_ln
10003 if test -n "$aros_target_nm_ln"; then
10004 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10005 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
10007 { echo "$as_me:$LINENO: result: no" >&5
10008 echo "${ECHO_T}no" >&6; }
10015 # Extract the first word of "$aros_target_nm", so it can be a program name with args.
10016 set dummy $aros_target_nm; ac_word=$2
10017 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10018 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10019 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
10020 echo $ECHO_N "(cached) $ECHO_C" >&6
10022 case $aros_target_nm_ln in
10024 ac_cv_path_aros_target_nm_ln="$aros_target_nm_ln" # Let the user override the test with a path.
10027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10028 for as_dir in $PATH
10031 test -z "$as_dir" && as_dir=.
10032 for ac_exec_ext in '' $ac_executable_extensions; do
10033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10034 ac_cv_path_aros_target_nm_ln="$as_dir/$ac_word$ac_exec_ext"
10035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10045 aros_target_nm_ln=$ac_cv_path_aros_target_nm_ln
10046 if test -n "$aros_target_nm_ln"; then
10047 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10048 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
10050 { echo "$as_me:$LINENO: result: no" >&5
10051 echo "${ECHO_T}no" >&6; }
10057 if test "$aros_target_nm_ln" = ""; then
10058 { { echo "$as_me:$LINENO: error: nm is required to build AROS. Please install and run configure again." >&5
10059 echo "$as_me: error: nm is required to build AROS. Please install and run configure again." >&2;}
10060 { (exit 1); exit 1; }; }
10063 if test "$aros_target_objcopy" = ""; then
10064 if test "$cross_compiling" = "yes" ; then
10065 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
10066 set dummy ${target_tool_prefix}objcopy; ac_word=$2
10067 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10069 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10070 echo $ECHO_N "(cached) $ECHO_C" >&6
10072 case $aros_target_objcopy_ln in
10074 ac_cv_path_aros_target_objcopy_ln="$aros_target_objcopy_ln" # Let the user override the test with a path.
10077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10078 for as_dir in $PATH
10081 test -z "$as_dir" && as_dir=.
10082 for ac_exec_ext in '' $ac_executable_extensions; do
10083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10084 ac_cv_path_aros_target_objcopy_ln="$as_dir/$ac_word$ac_exec_ext"
10085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10095 aros_target_objcopy_ln=$ac_cv_path_aros_target_objcopy_ln
10096 if test -n "$aros_target_objcopy_ln"; then
10097 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10098 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
10100 { echo "$as_me:$LINENO: result: no" >&5
10101 echo "${ECHO_T}no" >&6; }
10106 if test "$GCC" = "yes"; then
10107 aros_gcc_objcopy=`$CC -print-prog-name=objcopy
`
10108 # Extract the first word of "`basename $aros_gcc_[objcopy
]`", so it can be a program name with args.
10109 set dummy `basename $aros_gcc_objcopy`; ac_word=$2
10110 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10112 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10113 echo $ECHO_N "(cached) $ECHO_C" >&6
10115 case $aros_target_objcopy_ln in
10117 ac_cv_path_aros_target_objcopy_ln="$aros_target_objcopy_ln" # Let the user override the test with a path.
10120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10121 for as_dir in `dirname $aros_gcc_objcopy`
10124 test -z "$as_dir" && as_dir=.
10125 for ac_exec_ext in '' $ac_executable_extensions; do
10126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10127 ac_cv_path_aros_target_objcopy_ln="$as_dir/$ac_word$ac_exec_ext"
10128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10138 aros_target_objcopy_ln=$ac_cv_path_aros_target_objcopy_ln
10139 if test -n "$aros_target_objcopy_ln"; then
10140 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10141 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
10143 { echo "$as_me:$LINENO: result: no" >&5
10144 echo "${ECHO_T}no" >&6; }
10149 if test "$aros_target_objcopy_ln" = ""; then
10150 # Extract the first word of "objcopy", so it can be a program name with args.
10151 set dummy objcopy; ac_word=$2
10152 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10154 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10155 echo $ECHO_N "(cached) $ECHO_C" >&6
10157 case $aros_target_objcopy_ln in
10159 ac_cv_path_aros_target_objcopy_ln="$aros_target_objcopy_ln" # Let the user override the test with a path.
10162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10163 for as_dir in $PATH
10166 test -z "$as_dir" && as_dir=.
10167 for ac_exec_ext in '' $ac_executable_extensions; do
10168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10169 ac_cv_path_aros_target_objcopy_ln="$as_dir/$ac_word$ac_exec_ext"
10170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10180 aros_target_objcopy_ln=$ac_cv_path_aros_target_objcopy_ln
10181 if test -n "$aros_target_objcopy_ln"; then
10182 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10183 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
10185 { echo "$as_me:$LINENO: result: no" >&5
10186 echo "${ECHO_T}no" >&6; }
10193 # Extract the first word of "$aros_target_objcopy", so it can be a program name with args.
10194 set dummy $aros_target_objcopy; ac_word=$2
10195 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10196 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10197 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10198 echo $ECHO_N "(cached) $ECHO_C" >&6
10200 case $aros_target_objcopy_ln in
10202 ac_cv_path_aros_target_objcopy_ln="$aros_target_objcopy_ln" # Let the user override the test with a path.
10205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10206 for as_dir in $PATH
10209 test -z "$as_dir" && as_dir=.
10210 for ac_exec_ext in '' $ac_executable_extensions; do
10211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10212 ac_cv_path_aros_target_objcopy_ln="$as_dir/$ac_word$ac_exec_ext"
10213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10223 aros_target_objcopy_ln=$ac_cv_path_aros_target_objcopy_ln
10224 if test -n "$aros_target_objcopy_ln"; then
10225 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10226 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
10228 { echo "$as_me:$LINENO: result: no" >&5
10229 echo "${ECHO_T}no" >&6; }
10235 if test "$aros_target_objcopy_ln" = ""; then
10236 { { echo "$as_me:$LINENO: error: objcopy is required to build AROS. Please install and run configure again." >&5
10237 echo "$as_me: error: objcopy is required to build AROS. Please install and run configure again." >&2;}
10238 { (exit 1); exit 1; }; }
10241 if test "$aros_target_objdump" = ""; then
10242 if test "$cross_compiling" = "yes" ; then
10243 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
10244 set dummy ${target_tool_prefix}objdump; ac_word=$2
10245 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10247 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10248 echo $ECHO_N "(cached) $ECHO_C" >&6
10250 case $aros_target_objdump_ln in
10252 ac_cv_path_aros_target_objdump_ln="$aros_target_objdump_ln" # Let the user override the test with a path.
10255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10256 for as_dir in $PATH
10259 test -z "$as_dir" && as_dir=.
10260 for ac_exec_ext in '' $ac_executable_extensions; do
10261 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10262 ac_cv_path_aros_target_objdump_ln="$as_dir/$ac_word$ac_exec_ext"
10263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10273 aros_target_objdump_ln=$ac_cv_path_aros_target_objdump_ln
10274 if test -n "$aros_target_objdump_ln"; then
10275 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10276 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
10278 { echo "$as_me:$LINENO: result: no" >&5
10279 echo "${ECHO_T}no" >&6; }
10284 if test "$GCC" = "yes"; then
10285 aros_gcc_objdump=`$CC -print-prog-name=objdump
`
10286 # Extract the first word of "`basename $aros_gcc_[objdump
]`", so it can be a program name with args.
10287 set dummy `basename $aros_gcc_objdump`; ac_word=$2
10288 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10290 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10291 echo $ECHO_N "(cached) $ECHO_C" >&6
10293 case $aros_target_objdump_ln in
10295 ac_cv_path_aros_target_objdump_ln="$aros_target_objdump_ln" # Let the user override the test with a path.
10298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10299 for as_dir in `dirname $aros_gcc_objdump`
10302 test -z "$as_dir" && as_dir=.
10303 for ac_exec_ext in '' $ac_executable_extensions; do
10304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10305 ac_cv_path_aros_target_objdump_ln="$as_dir/$ac_word$ac_exec_ext"
10306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10316 aros_target_objdump_ln=$ac_cv_path_aros_target_objdump_ln
10317 if test -n "$aros_target_objdump_ln"; then
10318 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10319 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
10321 { echo "$as_me:$LINENO: result: no" >&5
10322 echo "${ECHO_T}no" >&6; }
10327 if test "$aros_target_objdump_ln" = ""; then
10328 # Extract the first word of "objdump", so it can be a program name with args.
10329 set dummy objdump; ac_word=$2
10330 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10331 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10332 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10333 echo $ECHO_N "(cached) $ECHO_C" >&6
10335 case $aros_target_objdump_ln in
10337 ac_cv_path_aros_target_objdump_ln="$aros_target_objdump_ln" # Let the user override the test with a path.
10340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10341 for as_dir in $PATH
10344 test -z "$as_dir" && as_dir=.
10345 for ac_exec_ext in '' $ac_executable_extensions; do
10346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10347 ac_cv_path_aros_target_objdump_ln="$as_dir/$ac_word$ac_exec_ext"
10348 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10358 aros_target_objdump_ln=$ac_cv_path_aros_target_objdump_ln
10359 if test -n "$aros_target_objdump_ln"; then
10360 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10361 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
10363 { echo "$as_me:$LINENO: result: no" >&5
10364 echo "${ECHO_T}no" >&6; }
10371 # Extract the first word of "$aros_target_objdump", so it can be a program name with args.
10372 set dummy $aros_target_objdump; ac_word=$2
10373 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10375 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10376 echo $ECHO_N "(cached) $ECHO_C" >&6
10378 case $aros_target_objdump_ln in
10380 ac_cv_path_aros_target_objdump_ln="$aros_target_objdump_ln" # Let the user override the test with a path.
10383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10384 for as_dir in $PATH
10387 test -z "$as_dir" && as_dir=.
10388 for ac_exec_ext in '' $ac_executable_extensions; do
10389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10390 ac_cv_path_aros_target_objdump_ln="$as_dir/$ac_word$ac_exec_ext"
10391 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10401 aros_target_objdump_ln=$ac_cv_path_aros_target_objdump_ln
10402 if test -n "$aros_target_objdump_ln"; then
10403 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10404 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
10406 { echo "$as_me:$LINENO: result: no" >&5
10407 echo "${ECHO_T}no" >&6; }
10413 if test "$aros_target_objdump_ln" = ""; then
10414 { { echo "$as_me:$LINENO: error: objdump is required to build AROS. Please install and run configure again." >&5
10415 echo "$as_me: error: objdump is required to build AROS. Please install and run configure again." >&2;}
10416 { (exit 1); exit 1; }; }
10419 if test "$aros_target_ranlib" = ""; then
10420 if test "$cross_compiling" = "yes" ; then
10421 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
10422 set dummy ${target_tool_prefix}ranlib; ac_word=$2
10423 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10425 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10426 echo $ECHO_N "(cached) $ECHO_C" >&6
10428 case $aros_target_ranlib_ln in
10430 ac_cv_path_aros_target_ranlib_ln="$aros_target_ranlib_ln" # Let the user override the test with a path.
10433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10434 for as_dir in $PATH
10437 test -z "$as_dir" && as_dir=.
10438 for ac_exec_ext in '' $ac_executable_extensions; do
10439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10440 ac_cv_path_aros_target_ranlib_ln="$as_dir/$ac_word$ac_exec_ext"
10441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10451 aros_target_ranlib_ln=$ac_cv_path_aros_target_ranlib_ln
10452 if test -n "$aros_target_ranlib_ln"; then
10453 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10454 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10456 { echo "$as_me:$LINENO: result: no" >&5
10457 echo "${ECHO_T}no" >&6; }
10462 if test "$GCC" = "yes"; then
10463 aros_gcc_ranlib=`$CC -print-prog-name=ranlib
`
10464 # Extract the first word of "`basename $aros_gcc_[ranlib
]`", so it can be a program name with args.
10465 set dummy `basename $aros_gcc_ranlib`; ac_word=$2
10466 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10468 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10469 echo $ECHO_N "(cached) $ECHO_C" >&6
10471 case $aros_target_ranlib_ln in
10473 ac_cv_path_aros_target_ranlib_ln="$aros_target_ranlib_ln" # Let the user override the test with a path.
10476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10477 for as_dir in `dirname $aros_gcc_ranlib`
10480 test -z "$as_dir" && as_dir=.
10481 for ac_exec_ext in '' $ac_executable_extensions; do
10482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10483 ac_cv_path_aros_target_ranlib_ln="$as_dir/$ac_word$ac_exec_ext"
10484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10494 aros_target_ranlib_ln=$ac_cv_path_aros_target_ranlib_ln
10495 if test -n "$aros_target_ranlib_ln"; then
10496 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10497 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10499 { echo "$as_me:$LINENO: result: no" >&5
10500 echo "${ECHO_T}no" >&6; }
10505 if test "$aros_target_ranlib_ln" = ""; then
10506 # Extract the first word of "ranlib", so it can be a program name with args.
10507 set dummy ranlib; ac_word=$2
10508 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10510 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10511 echo $ECHO_N "(cached) $ECHO_C" >&6
10513 case $aros_target_ranlib_ln in
10515 ac_cv_path_aros_target_ranlib_ln="$aros_target_ranlib_ln" # Let the user override the test with a path.
10518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10519 for as_dir in $PATH
10522 test -z "$as_dir" && as_dir=.
10523 for ac_exec_ext in '' $ac_executable_extensions; do
10524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10525 ac_cv_path_aros_target_ranlib_ln="$as_dir/$ac_word$ac_exec_ext"
10526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10536 aros_target_ranlib_ln=$ac_cv_path_aros_target_ranlib_ln
10537 if test -n "$aros_target_ranlib_ln"; then
10538 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10539 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10541 { echo "$as_me:$LINENO: result: no" >&5
10542 echo "${ECHO_T}no" >&6; }
10549 # Extract the first word of "$aros_target_ranlib", so it can be a program name with args.
10550 set dummy $aros_target_ranlib; ac_word=$2
10551 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10553 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10554 echo $ECHO_N "(cached) $ECHO_C" >&6
10556 case $aros_target_ranlib_ln in
10558 ac_cv_path_aros_target_ranlib_ln="$aros_target_ranlib_ln" # Let the user override the test with a path.
10561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10562 for as_dir in $PATH
10565 test -z "$as_dir" && as_dir=.
10566 for ac_exec_ext in '' $ac_executable_extensions; do
10567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10568 ac_cv_path_aros_target_ranlib_ln="$as_dir/$ac_word$ac_exec_ext"
10569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10579 aros_target_ranlib_ln=$ac_cv_path_aros_target_ranlib_ln
10580 if test -n "$aros_target_ranlib_ln"; then
10581 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10582 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10584 { echo "$as_me:$LINENO: result: no" >&5
10585 echo "${ECHO_T}no" >&6; }
10591 if test "$aros_target_ranlib_ln" = ""; then
10592 { { echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
10593 echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
10594 { (exit 1); exit 1; }; }
10597 if test "$aros_target_strip" = ""; then
10598 if test "$cross_compiling" = "yes" ; then
10599 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
10600 set dummy ${target_tool_prefix}strip; ac_word=$2
10601 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10603 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10604 echo $ECHO_N "(cached) $ECHO_C" >&6
10606 case $aros_target_strip_ln in
10608 ac_cv_path_aros_target_strip_ln="$aros_target_strip_ln" # Let the user override the test with a path.
10611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10612 for as_dir in $PATH
10615 test -z "$as_dir" && as_dir=.
10616 for ac_exec_ext in '' $ac_executable_extensions; do
10617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10618 ac_cv_path_aros_target_strip_ln="$as_dir/$ac_word$ac_exec_ext"
10619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10629 aros_target_strip_ln=$ac_cv_path_aros_target_strip_ln
10630 if test -n "$aros_target_strip_ln"; then
10631 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10632 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10634 { echo "$as_me:$LINENO: result: no" >&5
10635 echo "${ECHO_T}no" >&6; }
10640 if test "$GCC" = "yes"; then
10641 aros_gcc_strip=`$CC -print-prog-name=strip
`
10642 # Extract the first word of "`basename $aros_gcc_[strip
]`", so it can be a program name with args.
10643 set dummy `basename $aros_gcc_strip`; ac_word=$2
10644 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10645 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10646 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10647 echo $ECHO_N "(cached) $ECHO_C" >&6
10649 case $aros_target_strip_ln in
10651 ac_cv_path_aros_target_strip_ln="$aros_target_strip_ln" # Let the user override the test with a path.
10654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10655 for as_dir in `dirname $aros_gcc_strip`
10658 test -z "$as_dir" && as_dir=.
10659 for ac_exec_ext in '' $ac_executable_extensions; do
10660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10661 ac_cv_path_aros_target_strip_ln="$as_dir/$ac_word$ac_exec_ext"
10662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10672 aros_target_strip_ln=$ac_cv_path_aros_target_strip_ln
10673 if test -n "$aros_target_strip_ln"; then
10674 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10675 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10677 { echo "$as_me:$LINENO: result: no" >&5
10678 echo "${ECHO_T}no" >&6; }
10683 if test "$aros_target_strip_ln" = ""; then
10684 # Extract the first word of "strip", so it can be a program name with args.
10685 set dummy strip; ac_word=$2
10686 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10688 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10689 echo $ECHO_N "(cached) $ECHO_C" >&6
10691 case $aros_target_strip_ln in
10693 ac_cv_path_aros_target_strip_ln="$aros_target_strip_ln" # Let the user override the test with a path.
10696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10697 for as_dir in $PATH
10700 test -z "$as_dir" && as_dir=.
10701 for ac_exec_ext in '' $ac_executable_extensions; do
10702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10703 ac_cv_path_aros_target_strip_ln="$as_dir/$ac_word$ac_exec_ext"
10704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10714 aros_target_strip_ln=$ac_cv_path_aros_target_strip_ln
10715 if test -n "$aros_target_strip_ln"; then
10716 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10717 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10719 { echo "$as_me:$LINENO: result: no" >&5
10720 echo "${ECHO_T}no" >&6; }
10727 # Extract the first word of "$aros_target_strip", so it can be a program name with args.
10728 set dummy $aros_target_strip; ac_word=$2
10729 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10731 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10732 echo $ECHO_N "(cached) $ECHO_C" >&6
10734 case $aros_target_strip_ln in
10736 ac_cv_path_aros_target_strip_ln="$aros_target_strip_ln" # Let the user override the test with a path.
10739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10740 for as_dir in $PATH
10743 test -z "$as_dir" && as_dir=.
10744 for ac_exec_ext in '' $ac_executable_extensions; do
10745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10746 ac_cv_path_aros_target_strip_ln="$as_dir/$ac_word$ac_exec_ext"
10747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10757 aros_target_strip_ln=$ac_cv_path_aros_target_strip_ln
10758 if test -n "$aros_target_strip_ln"; then
10759 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10760 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10762 { echo "$as_me:$LINENO: result: no" >&5
10763 echo "${ECHO_T}no" >&6; }
10769 if test "$aros_target_strip_ln" = ""; then
10770 { { echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
10771 echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
10772 { (exit 1); exit 1; }; }
10774 # Temporarily disabled in order to let Windows-hosted port to build.
10775 # if test "$aros_target_cxx" != ""; then
10776 # AC_PATH_PROG(aros_target_cxx,$aros_target_cxx)
10777 # AROS_REQUIRED(c++,$aros_target_cxx)
10780 # Cancel preinstalled C++ compiler because it will be built as part of crosstools
10784 if test "$rescomp" != ""; then
10785 if test "$cross_compiling" = "yes" ; then
10786 rescomp=${target_tool_prefix}${rescomp}
10788 # Extract the first word of "$rescomp", so it can be a program name with args.
10789 set dummy $rescomp; ac_word=$2
10790 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10792 if test "${ac_cv_path_aros_kernel_rescomp+set}" = set; then
10793 echo $ECHO_N "(cached) $ECHO_C" >&6
10795 case $aros_kernel_rescomp in
10797 ac_cv_path_aros_kernel_rescomp="$aros_kernel_rescomp" # Let the user override the test with a path.
10800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10801 for as_dir in $PATH
10804 test -z "$as_dir" && as_dir=.
10805 for ac_exec_ext in '' $ac_executable_extensions; do
10806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10807 ac_cv_path_aros_kernel_rescomp="$as_dir/$ac_word$ac_exec_ext"
10808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10818 aros_kernel_rescomp=$ac_cv_path_aros_kernel_rescomp
10819 if test -n "$aros_kernel_rescomp"; then
10820 { echo "$as_me:$LINENO: result: $aros_kernel_rescomp" >&5
10821 echo "${ECHO_T}$aros_kernel_rescomp" >&6; }
10823 { echo "$as_me:$LINENO: result: no" >&5
10824 echo "${ECHO_T}no" >&6; }
10828 if test "$aros_kernel_rescomp" = ""; then
10829 { { echo "$as_me:$LINENO: error: $rescomp is required to build AROS. Please install and run configure again." >&5
10830 echo "$as_me: error: $rescomp is required to build AROS. Please install and run configure again." >&2;}
10831 { (exit 1); exit 1; }; }
10835 aros_hostcfg_dir="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
10836 aros_targetcfg_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
10837 aros_inc_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
10838 aros_gendir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
10839 aros_geninc_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
10840 aros_tools_dir="bin/${aros_host_arch}-${aros_host_cpu}/tools"
10841 aros_scripts_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
10843 # aros_cc_pre is a variable that is added to the front of the compiler name
10844 # in the generated aros-gcc shell script. We need this to enable the cache
10845 # to work across cleaned builds. Also, support DISTCC using the correct
10846 # environment variable.
10849 if test "x${DISTCC}" != "x" ; then
10850 if test "x${CCACHE}" != "x" ; then
10851 aros_cc_pre="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
10853 aros_cc_pre="${DISTCC} "
10856 if test "x${CCACHE}" != "x" ; then
10857 aros_cc_pre="${CCACHE} "
10861 prefix="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
10863 aros_target_nostdinc_cflags=-nostdinc
10865 aros_target_nostartup_ldflags=-nostartfiles
10867 aros_target_nix_ldflags=-nix
10869 aros_target_detach_ldflags=-detach
10871 aros_target_nostdlib_ldflags=-nostdlib
10875 if test "$aros_target_cc" = ""; then
10876 orig_target_cc=$aros_kernel_cc
10878 orig_target_cc=$aros_target_cc
10880 if test "$aros_target_ld" = ""; then
10881 orig_target_ld=$aros_kernel_ld
10883 orig_target_ld=$aros_target_ld
10885 if test "$GCC" = "yes"; then
10886 aros_target_cc_path=`$orig_target_cc -print-search-dirs |
grep "programs: =" | cut
-c 12-`
10888 aros_target_cc="${prefix}-gcc"
10889 aros_target_as="${prefix}-as"
10890 aros_target_ld="${prefix}-ld"
10891 aros_target_ar="${prefix}-ar $aros_target_ar_flags"
10892 aros_target_objcopy=${prefix}-objcopy
10893 aros_target_objdump=${prefix}-objdump
10894 aros_target_ranlib="${prefix}-ranlib $aros_target_ranlib_flags"
10895 aros_target_nm="${prefix}-nm $aros_target_nm_flags"
10896 aros_kernel_nm="${prefix}-nm"
10897 aros_target_strip=${prefix}-strip
10899 # Find the system include path. We can suggest that an alternative is
10900 # used if we don't get it correct. The default is to use /usr/include.
10901 # Which is set in the aros_target_incl_def variable.
10903 # Check whether --enable-includes was given.
10904 if test "${enable_includes+set}" = set; then
10905 enableval=$enable_includes; aros_target_incl=$enable_includes
10907 aros_target_incl=$aros_target_incl_def
10911 { echo "$as_me:$LINENO: checking for the target compiler's include path" >&5
10912 echo $ECHO_N "checking for the target compiler's include path... $ECHO_C" >&6; }
10913 if test "$aros_target_cc_includes" = "" ; then
10914 #try to guess where the directory is
10915 aros_target_cc_includes=`dirname \
`${orig_target_cc} -print-libgcc-file-name\``/include
10916 if ! test -d $aros_target_cc_includes; then
10917 #the directory doesn't exist, we need to do some more work
10918 aros_target_cc_includes=${PWD}/${aros_gendir}/cc_include
10920 #these are the headers we're looling for
10921 headers="limits.h mmintrin.h stdbool.h syslimits.h float.h \
10922 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
10926 for h in $headers; do
10927 #which other headers each of the above headers needs?
10928 deps=$(echo "#include <$h>" | \
10929 $aros_host_cc -E -M - 2>/dev/null | \
10930 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
10932 #copy all the needed headers to a directory beneath gendir
10935 dir=${aros_target_cc_includes}$(echo $(dirname $d) | \
10936 sed -n "s,^.*/include\(/.*\),\1,p")
10937 ! test -d $dir && mkdir -p $dir
10938 ! test -f $dir/$h && { cp $d $dir; chmod u+w $dir/$h; }
10943 { echo "$as_me:$LINENO: result: $aros_target_cc_includes" >&5
10944 echo "${ECHO_T}$aros_target_cc_includes" >&6; }
10947 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
10948 # On GCC >= 4.0 -iquote should be used
10952 save_cflags="$CFLAGS"
10954 { echo "$as_me:$LINENO: checking whether ${CC} accepts -iquote" >&5
10955 echo $ECHO_N "checking whether ${CC} accepts -iquote... $ECHO_C" >&6; }
10956 cat >conftest.$ac_ext <<_ACEOF
10959 cat confdefs.h >>conftest.$ac_ext
10960 cat >>conftest.$ac_ext <<_ACEOF
10961 /* end confdefs.h. */
10971 rm -f conftest.$ac_objext
10972 if { (ac_try="$ac_compile"
10973 case "(($ac_try" in
10974 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10975 *) ac_try_echo
=$ac_try;;
10977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10978 (eval "$ac_compile") 2>conftest.er1
10980 grep -v '^ *+' conftest.er1
>conftest.err
10982 cat conftest.err
>&5
10983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10984 (exit $ac_status); } && {
10985 test -z "$ac_c_werror_flag" ||
10986 test ! -s conftest.err
10987 } && test -s conftest.
$ac_objext; then
10990 echo "$as_me: failed program was:" >&5
10991 sed 's/^/| /' conftest.
$ac_ext >&5
10996 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10997 { echo "$as_me:$LINENO: result: $has_iquote" >&5
10998 echo "${ECHO_T}$has_iquote" >&6; }
10999 if test "x-$has_iquote" = "x-yes" ; then
11000 host_cflags_iquote
=-iquote
11001 host_cflags_iquote_end
=
11003 host_cflags_iquote
=-I
11004 host_cflags_iquote_end
=-I-
11006 kernel_cflags_iquote
=$host_cflags_iquote
11007 kernel_cflags_iquote_end
=$host_cflags_iquote_end
11008 if test "x-$cross_compiling" = "x-yes"; then
11009 CC
="$aros_kernel_cc"
11010 { echo "$as_me:$LINENO: checking whether ${CC} accepts -fno-stack-protector" >&5
11011 echo $ECHO_N "checking whether ${CC} accepts -fno-stack-protector... $ECHO_C" >&6; }
11012 cat >conftest.
$ac_ext <<_ACEOF
11015 cat confdefs.h
>>conftest.
$ac_ext
11016 cat >>conftest.
$ac_ext <<_ACEOF
11017 /* end confdefs.h. */
11027 rm -f conftest.
$ac_objext
11028 if { (ac_try
="$ac_compile"
11029 case "(($ac_try" in
11030 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11031 *) ac_try_echo=$ac_try;;
11033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11034 (eval "$ac_compile") 2>conftest.er1
11036 grep -v '^ *+' conftest.er1 >conftest.err
11038 cat conftest.err >&5
11039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11040 (exit $ac_status); } && {
11041 test -z "$ac_c_werror_flag" ||
11042 test ! -s conftest.err
11043 } && test -s conftest.$ac_objext; then
11044 use_no_stack_protector="yes"
11046 echo "$as_me: failed program was:" >&5
11047 sed 's/^/| /' conftest.$ac_ext >&5
11049 use_no_stack_protector="no"
11052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11053 { echo "$as_me:$LINENO: result: $use_no_stack_protector" >&5
11054 echo "${ECHO_T}$use_no_stack_protector" >&6; }
11055 { echo "$as_me:$LINENO: checking whether ${CC} accepts -iquote" >&5
11056 echo $ECHO_N "checking whether ${CC} accepts -iquote... $ECHO_C" >&6; }
11057 cat >conftest.$ac_ext <<_ACEOF
11060 cat confdefs.h >>conftest.$ac_ext
11061 cat >>conftest.$ac_ext <<_ACEOF
11062 /* end confdefs.h. */
11072 rm -f conftest.$ac_objext
11073 if { (ac_try="$ac_compile"
11074 case "(($ac_try" in
11075 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11076 *) ac_try_echo
=$ac_try;;
11078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11079 (eval "$ac_compile") 2>conftest.er1
11081 grep -v '^ *+' conftest.er1
>conftest.err
11083 cat conftest.err
>&5
11084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11085 (exit $ac_status); } && {
11086 test -z "$ac_c_werror_flag" ||
11087 test ! -s conftest.err
11088 } && test -s conftest.
$ac_objext; then
11091 echo "$as_me: failed program was:" >&5
11092 sed 's/^/| /' conftest.
$ac_ext >&5
11097 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11098 { echo "$as_me:$LINENO: result: $has_iquote" >&5
11099 echo "${ECHO_T}$has_iquote" >&6; }
11100 if test "x-$has_iquote" = "x-yes" ; then
11101 kernel_cflags_iquote
=-iquote
11102 kernel_cflags_iquote_end
=
11104 kernel_cflags_iquote
=-I
11105 kernel_cflags_iquote_end
=-I-
11108 aros_cflags_iquote
=$kernel_cflags_iquote
11109 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
11110 if test "$orig_target_cc" != "$aros_kernel_cc"; then
11111 CC
="$orig_target_cc"
11112 { echo "$as_me:$LINENO: checking whether ${CC} accepts -iquote" >&5
11113 echo $ECHO_N "checking whether ${CC} accepts -iquote... $ECHO_C" >&6; }
11114 cat >conftest.
$ac_ext <<_ACEOF
11117 cat confdefs.h
>>conftest.
$ac_ext
11118 cat >>conftest.
$ac_ext <<_ACEOF
11119 /* end confdefs.h. */
11129 rm -f conftest.
$ac_objext
11130 if { (ac_try
="$ac_compile"
11131 case "(($ac_try" in
11132 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11133 *) ac_try_echo=$ac_try;;
11135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11136 (eval "$ac_compile") 2>conftest.er1
11138 grep -v '^ *+' conftest.er1 >conftest.err
11140 cat conftest.err >&5
11141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11142 (exit $ac_status); } && {
11143 test -z "$ac_c_werror_flag" ||
11144 test ! -s conftest.err
11145 } && test -s conftest.$ac_objext; then
11148 echo "$as_me: failed program was:" >&5
11149 sed 's/^/| /' conftest.$ac_ext >&5
11154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11155 { echo "$as_me:$LINENO: result: $has_iquote" >&5
11156 echo "${ECHO_T}$has_iquote" >&6; }
11157 if test "x-$has_iquote" = "x-yes" ; then
11158 aros_cflags_iquote=-iquote
11159 aros_cflags_iquote_end=
11161 aros_cflags_iquote=-I
11162 aros_cflags_iquote_end=-I-
11165 if test "x-$use_no_stack_protector" = "x-yes" ; then
11166 aros_kernel_cflags="$aros_kernel_cflags -fno-stack-protector"
11169 #-----------------------------------------------------------------------------
11171 # Check if we can explicitly choose older version of symbol hashing
11173 CFLAGS="save_cflags -Wl,--hash-style=sysv"
11174 CC="$aros_kernel_cc"
11175 { echo "$as_me:$LINENO: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
11176 echo $ECHO_N "checking whether ${CC} accepts -Wl,--hash-style=sysv... $ECHO_C" >&6; }
11177 cat >conftest.$ac_ext <<_ACEOF
11180 cat confdefs.h >>conftest.$ac_ext
11181 cat >>conftest.$ac_ext <<_ACEOF
11182 /* end confdefs.h. */
11192 rm -f conftest.$ac_objext conftest$ac_exeext
11193 if { (ac_try="$ac_link"
11194 case "(($ac_try" in
11195 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11196 *) ac_try_echo
=$ac_try;;
11198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11199 (eval "$ac_link") 2>conftest.er1
11201 grep -v '^ *+' conftest.er1
>conftest.err
11203 cat conftest.err
>&5
11204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11205 (exit $ac_status); } && {
11206 test -z "$ac_c_werror_flag" ||
11207 test ! -s conftest.err
11208 } && test -s conftest
$ac_exeext &&
11209 $as_test_x conftest
$ac_exeext; then
11210 use_hash_style
="yes"
11212 echo "$as_me: failed program was:" >&5
11213 sed 's/^/| /' conftest.
$ac_ext >&5
11215 use_hash_style
="no"
11218 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11219 conftest
$ac_exeext conftest.
$ac_ext
11220 { echo "$as_me:$LINENO: result: $use_hash_style" >&5
11221 echo "${ECHO_T}$use_hash_style" >&6; }
11222 if test "x-$use_hash_style" = "x-yes" ; then
11223 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
11226 CFLAGS
="$save_cflags"
11236 { echo "$as_me:$LINENO: checking for default resolution of WBScreen" >&5
11237 echo $ECHO_N "checking for default resolution of WBScreen... $ECHO_C" >&6; }
11239 # Check whether --with-resolution was given.
11240 if test "${with_resolution+set}" = set; then
11241 withval
=$with_resolution; resolution
=$withval
11246 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
11247 if test "$resolution" = "yes" ; then
11250 if test "$resolution" = "no" ; then
11253 if test "$resolution" != "none" ; then
11254 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
11255 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
11256 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
11258 { echo "$as_me:$LINENO: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
11259 echo "${ECHO_T}$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
11260 aros_cv_default_wbwidth
=$aros_default_wbwidth
11261 aros_cv_default_wbheight
=$aros_default_wbheight
11262 aros_cv_default_wbdepth
=$aros_default_wbdepth
11264 { echo "$as_me:$LINENO: checking if serial debug is enabled" >&5
11265 echo $ECHO_N "checking if serial debug is enabled... $ECHO_C" >&6; }
11267 # Check whether --with-serial-debug was given.
11268 if test "${with_serial_debug+set}" = set; then
11269 withval
=$with_serial_debug; serial_debug
=$withval
11274 if test "$aros_serial_debug" = 0 ; then
11275 serial_debug_forced
=""
11276 if test "$serial_debug" = "yes" ; then
11279 if test "$serial_debug" = "no" ; then
11280 serial_debug
="none"
11283 serial_debug_forced
="(forced)"
11284 serial_debug
=$aros_serial_debug
11286 if test "$serial_debug" != "none" ; then
11287 aros_serial_debug
=$serial_debug
11288 { echo "$as_me:$LINENO: result: $serial_debug_forced on port $serial_debug" >&5
11289 echo "${ECHO_T}$serial_debug_forced on port $serial_debug" >&6; }
11291 { echo "$as_me:$LINENO: result: no" >&5
11292 echo "${ECHO_T}no" >&6; }
11295 { echo "$as_me:$LINENO: checking if palm debug hack is enabled" >&5
11296 echo $ECHO_N "checking if palm debug hack is enabled... $ECHO_C" >&6; }
11297 # Check whether --enable-palm_debug_hack was given.
11298 if test "${enable_palm_debug_hack+set}" = set; then
11299 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
11301 palm_debug_hack
="no"
11304 if test "$palm_debug_hack" = "yes" ; then
11305 aros_palm_debug_hack
="1"
11307 { echo "$as_me:$LINENO: result: $palm_debug_hack" >&5
11308 echo "${ECHO_T}$palm_debug_hack" >&6; }
11311 { echo "$as_me:$LINENO: checking if nesting supervisor support is enabled" >&5
11312 echo $ECHO_N "checking if nesting supervisor support is enabled... $ECHO_C" >&6; }
11313 # Check whether --enable-nesting_supervisor was given.
11314 if test "${enable_nesting_supervisor+set}" = set; then
11315 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
11317 nesting_supervisor
="no"
11320 if test "$nesting_supervisor" = "yes" ; then
11321 aros_nesting_supervisor
="1"
11323 { echo "$as_me:$LINENO: result: $nesting_supervisor" >&5
11324 echo "${ECHO_T}$nesting_supervisor" >&6; }
11327 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
11329 if test "x-$need_dlopen" != "x-no" ; then
11330 { echo "$as_me:$LINENO: checking for dlopen" >&5
11331 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
11332 if test "${ac_cv_func_dlopen+set}" = set; then
11333 echo $ECHO_N "(cached) $ECHO_C" >&6
11335 cat >conftest.
$ac_ext <<_ACEOF
11338 cat confdefs.h
>>conftest.
$ac_ext
11339 cat >>conftest.
$ac_ext <<_ACEOF
11340 /* end confdefs.h. */
11341 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11343 #define dlopen innocuous_dlopen
11345 /* System header to define __stub macros and hopefully few prototypes,
11346 which can conflict with char dlopen (); below.
11347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11348 <limits.h> exists even on freestanding compilers. */
11351 # include <limits.h>
11353 # include <assert.h>
11358 /* Override any GCC internal prototype to avoid an error.
11359 Use char because int might match the return type of a GCC
11360 builtin and then its argument prototype would still apply. */
11365 /* The GNU C library defines this for functions which it implements
11366 to always fail with ENOSYS. Some functions are actually named
11367 something starting with __ and the normal name is an alias. */
11368 #if defined __stub_dlopen || defined __stub___dlopen
11380 rm -f conftest.
$ac_objext conftest
$ac_exeext
11381 if { (ac_try
="$ac_link"
11382 case "(($ac_try" in
11383 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11384 *) ac_try_echo=$ac_try;;
11386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11387 (eval "$ac_link") 2>conftest.er1
11389 grep -v '^ *+' conftest.er1 >conftest.err
11391 cat conftest.err >&5
11392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11393 (exit $ac_status); } && {
11394 test -z "$ac_c_werror_flag" ||
11395 test ! -s conftest.err
11396 } && test -s conftest$ac_exeext &&
11397 $as_test_x conftest$ac_exeext; then
11398 ac_cv_func_dlopen=yes
11400 echo "$as_me: failed program was:" >&5
11401 sed 's/^/| /' conftest.$ac_ext >&5
11403 ac_cv_func_dlopen=no
11406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11407 conftest$ac_exeext conftest.$ac_ext
11409 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11410 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
11411 if test $ac_cv_func_dlopen = yes; then
11417 if test "x-$have_dl" = "x-no" ; then
11418 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11419 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11420 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11421 echo $ECHO_N "(cached) $ECHO_C" >&6
11423 ac_check_lib_save_LIBS=$LIBS
11425 cat >conftest.$ac_ext <<_ACEOF
11428 cat confdefs.h >>conftest.$ac_ext
11429 cat >>conftest.$ac_ext <<_ACEOF
11430 /* end confdefs.h. */
11432 /* Override any GCC internal prototype to avoid an error.
11433 Use char because int might match the return type of a GCC
11434 builtin and then its argument prototype would still apply. */
11447 rm -f conftest.$ac_objext conftest$ac_exeext
11448 if { (ac_try="$ac_link"
11449 case "(($ac_try" in
11450 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11451 *) ac_try_echo
=$ac_try;;
11453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11454 (eval "$ac_link") 2>conftest.er1
11456 grep -v '^ *+' conftest.er1
>conftest.err
11458 cat conftest.err
>&5
11459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11460 (exit $ac_status); } && {
11461 test -z "$ac_c_werror_flag" ||
11462 test ! -s conftest.err
11463 } && test -s conftest
$ac_exeext &&
11464 $as_test_x conftest
$ac_exeext; then
11465 ac_cv_lib_dl_dlopen
=yes
11467 echo "$as_me: failed program was:" >&5
11468 sed 's/^/| /' conftest.
$ac_ext >&5
11470 ac_cv_lib_dl_dlopen
=no
11473 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11474 conftest
$ac_exeext conftest.
$ac_ext
11475 LIBS
=$ac_check_lib_save_LIBS
11477 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11478 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11479 if test $ac_cv_lib_dl_dlopen = yes; then
11481 aros_host_ldflags
="$aros_host_ldflags -ldl"
11487 if test "x-$have_dl" = "x-no" ; then
11488 { { echo "$as_me:$LINENO: error: dlopen() dynamic linker functions not available" >&5
11489 echo "$as_me: error: dlopen() dynamic linker functions not available" >&2;}
11490 { (exit 1); exit 1; }; }
11495 # Check whether --enable-x11_hidd was given.
11496 if test "${enable_x11_hidd+set}" = set; then
11497 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
11502 case "x-$x11_hidd" in
11503 x-yes|x-no|x-auto
) ;;
11504 *) x11_hidd
="auto" ;;
11509 if test "x-$x11_hidd" != "x-no" ; then
11511 { echo "$as_me:$LINENO: checking for X" >&5
11512 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
11515 # Check whether --with-x was given.
11516 if test "${with_x+set}" = set; then
11520 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11521 if test "x$with_x" = xno
; then
11522 # The user explicitly disabled X.
11525 case $x_includes,$x_libraries in #(
11526 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
11527 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
11528 { (exit 1); exit 1; }; };; #(
11529 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then
11530 echo $ECHO_N "(cached) $ECHO_C" >&6
11532 # One or both of the vars are not set, and there is no cached value.
11533 ac_x_includes
=no ac_x_libraries
=no
11534 rm -f -r conftest.dir
11535 if mkdir conftest.dir
; then
11537 cat >Imakefile
<<'_ACEOF'
11539 @echo incroot='${INCROOT}'
11541 @echo usrlibdir='${USRLIBDIR}'
11543 @echo libdir='${LIBDIR}'
11545 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
11546 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11547 for ac_var
in incroot usrlibdir libdir
; do
11548 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
11550 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11551 for ac_extension
in a so sl dylib la dll
; do
11552 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
11553 test -f "$ac_im_libdir/libX11.$ac_extension"; then
11554 ac_im_usrlibdir
=$ac_im_libdir; break
11557 # Screen out bogus values from the imake configuration. They are
11558 # bogus both because they are the default anyway, and because
11559 # using them would break gcc on systems where it needs fixed includes.
11560 case $ac_im_incroot in
11561 /usr
/include
) ac_x_includes
= ;;
11562 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
11564 case $ac_im_usrlibdir in
11565 /usr
/lib |
/lib
) ;;
11566 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
11570 rm -f -r conftest.dir
11573 # Standard set of common directories for X headers.
11574 # Check X11 before X11Rn because it is often a symlink to the current release.
11586 /usr/local/X11/include
11587 /usr/local/X11R6/include
11588 /usr/local/X11R5/include
11589 /usr/local/X11R4/include
11591 /usr/local/include/X11
11592 /usr/local/include/X11R6
11593 /usr/local/include/X11R5
11594 /usr/local/include/X11R4
11598 /usr/XFree86/include/X11
11602 /usr/unsupported/include
11603 /usr/athena/include
11604 /usr/local/x11r5/include
11605 /usr/lpp/Xamples/include
11607 /usr/openwin/include
11608 /usr/openwin/share/include'
11610 if test "$ac_x_includes" = no
; then
11611 # Guess where to find include files, by looking for Xlib.h.
11612 # First, try using that file with no special directory specified.
11613 cat >conftest.
$ac_ext <<_ACEOF
11616 cat confdefs.h
>>conftest.
$ac_ext
11617 cat >>conftest.
$ac_ext <<_ACEOF
11618 /* end confdefs.h. */
11619 #include <X11/Xlib.h>
11621 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11622 case "(($ac_try" in
11623 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11624 *) ac_try_echo=$ac_try;;
11626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11627 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11629 grep -v '^ *+' conftest.er1 >conftest.err
11631 cat conftest.err >&5
11632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11633 (exit $ac_status); } >/dev/null && {
11634 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11635 test ! -s conftest.err
11637 # We can compile using X headers with no special include directory.
11640 echo "$as_me: failed program was:" >&5
11641 sed 's/^/| /' conftest.$ac_ext >&5
11643 for ac_dir in $ac_x_header_dirs; do
11644 if test -r "$ac_dir/X11/Xlib.h"; then
11645 ac_x_includes=$ac_dir
11651 rm -f conftest.err conftest.$ac_ext
11652 fi # $ac_x_includes = no
11654 if test "$ac_x_libraries" = no; then
11655 # Check for the libraries.
11656 # See if we find them without any special options.
11657 # Don't add to $LIBS permanently.
11660 cat >conftest.$ac_ext <<_ACEOF
11663 cat confdefs.h >>conftest.$ac_ext
11664 cat >>conftest.$ac_ext <<_ACEOF
11665 /* end confdefs.h. */
11666 #include <X11/Xlib.h>
11675 rm -f conftest.$ac_objext conftest$ac_exeext
11676 if { (ac_try="$ac_link"
11677 case "(($ac_try" in
11678 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11679 *) ac_try_echo
=$ac_try;;
11681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11682 (eval "$ac_link") 2>conftest.er1
11684 grep -v '^ *+' conftest.er1
>conftest.err
11686 cat conftest.err
>&5
11687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11688 (exit $ac_status); } && {
11689 test -z "$ac_c_werror_flag" ||
11690 test ! -s conftest.err
11691 } && test -s conftest
$ac_exeext &&
11692 $as_test_x conftest
$ac_exeext; then
11694 # We can link X programs with no special library path.
11697 echo "$as_me: failed program was:" >&5
11698 sed 's/^/| /' conftest.
$ac_ext >&5
11701 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
11703 # Don't even attempt the hair of trying to link an X program!
11704 for ac_extension
in a so sl dylib la dll
; do
11705 if test -r "$ac_dir/libX11.$ac_extension"; then
11706 ac_x_libraries
=$ac_dir
11713 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11714 conftest
$ac_exeext conftest.
$ac_ext
11715 fi # $ac_x_libraries = no
11717 case $ac_x_includes,$ac_x_libraries in #(
11718 no
,* |
*,no |
*\'*)
11719 # Didn't find X, or a directory has "'" in its name.
11720 ac_cv_have_x
="have_x=no";; #(
11722 # Record where we found X for the cache.
11723 ac_cv_have_x
="have_x=yes\
11724 ac_x_includes='$ac_x_includes'\
11725 ac_x_libraries='$ac_x_libraries'"
11731 eval "$ac_cv_have_x"
11734 if test "$have_x" != yes; then
11735 { echo "$as_me:$LINENO: result: $have_x" >&5
11736 echo "${ECHO_T}$have_x" >&6; }
11739 # If each of the values was on the command line, it overrides each guess.
11740 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
11741 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
11742 # Update the cache value to reflect the command line values.
11743 ac_cv_have_x
="have_x=yes\
11744 ac_x_includes='$x_includes'\
11745 ac_x_libraries='$x_libraries'"
11746 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
11747 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
11752 for path
in $x_libraries
11754 x_cflags
="$x_cflags -L$path"
11757 for path
in $x_includes
11759 x_cflags
="$x_cflags -I$path"
11762 if test "x-$no_x" = "x-yes" ; then
11764 if test "x-$x11_hidd" != "x-auto" ; then
11765 { { echo "$as_me:$LINENO: error: X11 libs/headers not found, cannot build X11 hidd as requested" >&5
11766 echo "$as_me: error: X11 libs/headers not found, cannot build X11 hidd as requested" >&2;}
11767 { (exit 1); exit 1; }; }
11771 x11_hidd_target
=kernel-x11gfx-kobj
11774 # Check whether --enable-x11_shm was given.
11775 if test "${enable_x11_shm+set}" = set; then
11776 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
11778 x11_hidd_shm
="auto"
11781 case "x-$x11_hidd_shm" in
11782 x-yes|x-no|x-auto
) ;;
11783 *) x11_hidd_shm
="auto" ;;
11788 if test "x-$x11_hidd_shm" != "x-no" ; then
11791 for ac_header
in sys
/ipc.h
11793 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11794 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11795 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11796 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11797 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11798 echo $ECHO_N "(cached) $ECHO_C" >&6
11800 ac_res
=`eval echo '${'$as_ac_Header'}'`
11801 { echo "$as_me:$LINENO: result: $ac_res" >&5
11802 echo "${ECHO_T}$ac_res" >&6; }
11804 # Is the header compilable?
11805 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11806 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11807 cat >conftest.
$ac_ext <<_ACEOF
11810 cat confdefs.h
>>conftest.
$ac_ext
11811 cat >>conftest.
$ac_ext <<_ACEOF
11812 /* end confdefs.h. */
11813 $ac_includes_default
11814 #include <$ac_header>
11816 rm -f conftest.
$ac_objext
11817 if { (ac_try
="$ac_compile"
11818 case "(($ac_try" in
11819 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11820 *) ac_try_echo=$ac_try;;
11822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11823 (eval "$ac_compile") 2>conftest.er1
11825 grep -v '^ *+' conftest.er1 >conftest.err
11827 cat conftest.err >&5
11828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11829 (exit $ac_status); } && {
11830 test -z "$ac_c_werror_flag" ||
11831 test ! -s conftest.err
11832 } && test -s conftest.$ac_objext; then
11833 ac_header_compiler=yes
11835 echo "$as_me: failed program was:" >&5
11836 sed 's/^/| /' conftest.$ac_ext >&5
11838 ac_header_compiler=no
11841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11842 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11843 echo "${ECHO_T}$ac_header_compiler" >&6; }
11845 # Is the header present?
11846 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11847 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11848 cat >conftest.$ac_ext <<_ACEOF
11851 cat confdefs.h >>conftest.$ac_ext
11852 cat >>conftest.$ac_ext <<_ACEOF
11853 /* end confdefs.h. */
11854 #include <$ac_header>
11856 if { (ac_try="$ac_cpp conftest.$ac_ext"
11857 case "(($ac_try" in
11858 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11859 *) ac_try_echo
=$ac_try;;
11861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11862 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11864 grep -v '^ *+' conftest.er1
>conftest.err
11866 cat conftest.err
>&5
11867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11868 (exit $ac_status); } >/dev
/null
&& {
11869 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11870 test ! -s conftest.err
11872 ac_header_preproc
=yes
11874 echo "$as_me: failed program was:" >&5
11875 sed 's/^/| /' conftest.
$ac_ext >&5
11877 ac_header_preproc
=no
11880 rm -f conftest.err conftest.
$ac_ext
11881 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11882 echo "${ECHO_T}$ac_header_preproc" >&6; }
11884 # So? What about this header?
11885 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11887 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11888 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11889 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11890 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11891 ac_header_preproc
=yes
11894 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11895 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11896 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11897 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11898 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11899 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11900 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11901 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11902 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11903 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11904 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11905 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11909 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11910 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11911 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11912 echo $ECHO_N "(cached) $ECHO_C" >&6
11914 eval "$as_ac_Header=\$ac_header_preproc"
11916 ac_res
=`eval echo '${'$as_ac_Header'}'`
11917 { echo "$as_me:$LINENO: result: $ac_res" >&5
11918 echo "${ECHO_T}$ac_res" >&6; }
11921 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11922 cat >>confdefs.h
<<_ACEOF
11923 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11931 for ac_header
in sys
/shm.h
11933 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11934 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11935 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11936 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11937 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11938 echo $ECHO_N "(cached) $ECHO_C" >&6
11940 ac_res
=`eval echo '${'$as_ac_Header'}'`
11941 { echo "$as_me:$LINENO: result: $ac_res" >&5
11942 echo "${ECHO_T}$ac_res" >&6; }
11944 # Is the header compilable?
11945 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11946 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11947 cat >conftest.
$ac_ext <<_ACEOF
11950 cat confdefs.h
>>conftest.
$ac_ext
11951 cat >>conftest.
$ac_ext <<_ACEOF
11952 /* end confdefs.h. */
11953 $ac_includes_default
11954 #include <$ac_header>
11956 rm -f conftest.
$ac_objext
11957 if { (ac_try
="$ac_compile"
11958 case "(($ac_try" in
11959 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11960 *) ac_try_echo=$ac_try;;
11962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11963 (eval "$ac_compile") 2>conftest.er1
11965 grep -v '^ *+' conftest.er1 >conftest.err
11967 cat conftest.err >&5
11968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11969 (exit $ac_status); } && {
11970 test -z "$ac_c_werror_flag" ||
11971 test ! -s conftest.err
11972 } && test -s conftest.$ac_objext; then
11973 ac_header_compiler=yes
11975 echo "$as_me: failed program was:" >&5
11976 sed 's/^/| /' conftest.$ac_ext >&5
11978 ac_header_compiler=no
11981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11982 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11983 echo "${ECHO_T}$ac_header_compiler" >&6; }
11985 # Is the header present?
11986 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11987 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11988 cat >conftest.$ac_ext <<_ACEOF
11991 cat confdefs.h >>conftest.$ac_ext
11992 cat >>conftest.$ac_ext <<_ACEOF
11993 /* end confdefs.h. */
11994 #include <$ac_header>
11996 if { (ac_try="$ac_cpp conftest.$ac_ext"
11997 case "(($ac_try" in
11998 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11999 *) ac_try_echo
=$ac_try;;
12001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12002 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12004 grep -v '^ *+' conftest.er1
>conftest.err
12006 cat conftest.err
>&5
12007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12008 (exit $ac_status); } >/dev
/null
&& {
12009 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12010 test ! -s conftest.err
12012 ac_header_preproc
=yes
12014 echo "$as_me: failed program was:" >&5
12015 sed 's/^/| /' conftest.
$ac_ext >&5
12017 ac_header_preproc
=no
12020 rm -f conftest.err conftest.
$ac_ext
12021 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12022 echo "${ECHO_T}$ac_header_preproc" >&6; }
12024 # So? What about this header?
12025 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12027 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12028 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12029 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12030 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12031 ac_header_preproc
=yes
12034 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12035 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12036 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12037 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12038 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12039 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12040 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12041 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12042 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12043 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12044 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12045 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12049 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12050 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12051 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12052 echo $ECHO_N "(cached) $ECHO_C" >&6
12054 eval "$as_ac_Header=\$ac_header_preproc"
12056 ac_res
=`eval echo '${'$as_ac_Header'}'`
12057 { echo "$as_me:$LINENO: result: $ac_res" >&5
12058 echo "${ECHO_T}$ac_res" >&6; }
12061 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12062 cat >>confdefs.h
<<_ACEOF
12063 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12071 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
12073 save_cflags
="$CFLAGS"
12074 CFLAGS
="$CFLAGS $x_cflags"
12075 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
12076 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
12077 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
12078 echo $ECHO_N "(cached) $ECHO_C" >&6
12080 ac_check_lib_save_LIBS
=$LIBS
12081 LIBS
="-lXext $LIBS"
12082 cat >conftest.
$ac_ext <<_ACEOF
12085 cat confdefs.h
>>conftest.
$ac_ext
12086 cat >>conftest.
$ac_ext <<_ACEOF
12087 /* end confdefs.h. */
12089 /* Override any GCC internal prototype to avoid an error.
12090 Use char because int might match the return type of a GCC
12091 builtin and then its argument prototype would still apply. */
12095 char XShmQueryExtension ();
12099 return XShmQueryExtension ();
12104 rm -f conftest.
$ac_objext conftest
$ac_exeext
12105 if { (ac_try
="$ac_link"
12106 case "(($ac_try" in
12107 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12108 *) ac_try_echo=$ac_try;;
12110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12111 (eval "$ac_link") 2>conftest.er1
12113 grep -v '^ *+' conftest.er1 >conftest.err
12115 cat conftest.err >&5
12116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12117 (exit $ac_status); } && {
12118 test -z "$ac_c_werror_flag" ||
12119 test ! -s conftest.err
12120 } && test -s conftest$ac_exeext &&
12121 $as_test_x conftest$ac_exeext; then
12122 ac_cv_lib_Xext_XShmQueryExtension=yes
12124 echo "$as_me: failed program was:" >&5
12125 sed 's/^/| /' conftest.$ac_ext >&5
12127 ac_cv_lib_Xext_XShmQueryExtension=no
12130 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12131 conftest$ac_exeext conftest.$ac_ext
12132 LIBS=$ac_check_lib_save_LIBS
12134 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
12135 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
12136 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
12140 CFLAGS="$save_cflags"
12144 if test "x-$have_xshm" = "x-yes" ; then
12145 DO_XSHM_SUPPORT="1"
12146 elif test "x-$x11_hidd_shm" = "x-yes" ; then
12147 { { echo "$as_me:$LINENO: error: X11 has no support for shared memory, cannot enable it as requested" >&5
12148 echo "$as_me: error: X11 has no support for shared memory, cannot enable it as requested" >&2;}
12149 { (exit 1); exit 1; }; }
12151 DO_XSHM_SUPPORT="0"
12155 # Check whether --enable-x11_vidmode was given.
12156 if test "${enable_x11_vidmode+set}" = set; then
12157 enableval=$enable_x11_vidmode; x11_hidd_vidmode="$enableval"
12159 x11_hidd_vidmode="auto"
12162 case "x-$x11_hidd_vidmode" in
12163 x-yes|x-no|x-auto) ;;
12164 *) x11_hidd_vidmode="auto" ;;
12169 if test "x-$x11_hidd_vidmode" != "x-no" ; then
12171 save_cflags="$CFLAGS"
12172 CFLAGS="$CFLAGS $x_cflags"
12173 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
12174 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
12175 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
12176 echo $ECHO_N "(cached) $ECHO_C" >&6
12178 ac_check_lib_save_LIBS=$LIBS
12179 LIBS="-lXxf86vm $LIBS"
12180 cat >conftest.$ac_ext <<_ACEOF
12183 cat confdefs.h >>conftest.$ac_ext
12184 cat >>conftest.$ac_ext <<_ACEOF
12185 /* end confdefs.h. */
12187 /* Override any GCC internal prototype to avoid an error.
12188 Use char because int might match the return type of a GCC
12189 builtin and then its argument prototype would still apply. */
12193 char XF86VidModeQueryExtension ();
12197 return XF86VidModeQueryExtension ();
12202 rm -f conftest.$ac_objext conftest$ac_exeext
12203 if { (ac_try="$ac_link"
12204 case "(($ac_try" in
12205 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12206 *) ac_try_echo
=$ac_try;;
12208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12209 (eval "$ac_link") 2>conftest.er1
12211 grep -v '^ *+' conftest.er1
>conftest.err
12213 cat conftest.err
>&5
12214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12215 (exit $ac_status); } && {
12216 test -z "$ac_c_werror_flag" ||
12217 test ! -s conftest.err
12218 } && test -s conftest
$ac_exeext &&
12219 $as_test_x conftest
$ac_exeext; then
12220 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
12222 echo "$as_me: failed program was:" >&5
12223 sed 's/^/| /' conftest.
$ac_ext >&5
12225 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
12228 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12229 conftest
$ac_exeext conftest.
$ac_ext
12230 LIBS
=$ac_check_lib_save_LIBS
12232 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
12233 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
12234 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
12238 CFLAGS
="$save_cflags"
12241 if test "x-$have_vidmode" = "x-yes" ; then
12242 DO_VIDMODE_SUPPORT
="1"
12243 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
12244 { { echo "$as_me:$LINENO: error: X11 vidmode extension not available, cannot enable it as requested" >&5
12245 echo "$as_me: error: X11 vidmode extension not available, cannot enable it as requested" >&2;}
12246 { (exit 1); exit 1; }; }
12248 DO_VIDMODE_SUPPORT
="0"
12252 aros_host_x11_includes
=$x_includes
12253 aros_host_x11_libdirs
=$x_libraries
12257 # Check whether --enable-sdl_hidd was given.
12258 if test "${enable_sdl_hidd+set}" = set; then
12259 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
12264 case "x-$sdl_hidd" in
12265 x-yes|x-no|x-auto
) ;;
12266 *) sdl_hidd
="auto" ;;
12269 if test "x-$sdl_hidd" != "x-no" ; then
12272 # Check whether --with-sdl-prefix was given.
12273 if test "${with_sdl_prefix+set}" = set; then
12274 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
12280 # Check whether --with-sdl-exec-prefix was given.
12281 if test "${with_sdl_exec_prefix+set}" = set; then
12282 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
12287 # Check whether --enable-sdltest was given.
12288 if test "${enable_sdltest+set}" = set; then
12289 enableval
=$enable_sdltest;
12295 if test x
$sdl_exec_prefix != x
; then
12296 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
12297 if test x
${SDL_CONFIG+set} != xset
; then
12298 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
12301 if test x
$sdl_prefix != x
; then
12302 sdl_args
="$sdl_args --prefix=$sdl_prefix"
12303 if test x
${SDL_CONFIG+set} != xset
; then
12304 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
12308 if test "x$prefix" != xNONE
; then
12309 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
12311 # Extract the first word of "sdl-config", so it can be a program name with args.
12312 set dummy sdl-config
; ac_word
=$2
12313 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12315 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
12316 echo $ECHO_N "(cached) $ECHO_C" >&6
12318 case $SDL_CONFIG in
12320 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
12323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12324 for as_dir
in $PATH
12327 test -z "$as_dir" && as_dir
=.
12328 for ac_exec_ext
in '' $ac_executable_extensions; do
12329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12330 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12331 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12338 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
12342 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
12343 if test -n "$SDL_CONFIG"; then
12344 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
12345 echo "${ECHO_T}$SDL_CONFIG" >&6; }
12347 { echo "$as_me:$LINENO: result: no" >&5
12348 echo "${ECHO_T}no" >&6; }
12352 min_sdl_version
=1.2.10
12353 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
12354 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
12356 if test "$SDL_CONFIG" = "no" ; then
12359 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
12360 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
12362 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
12363 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12364 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
12365 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12366 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
12367 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12368 if test "x$enable_sdltest" = "xyes" ; then
12369 ac_save_CFLAGS
="$CFLAGS"
12370 ac_save_CXXFLAGS
="$CXXFLAGS"
12371 ac_save_LIBS
="$LIBS"
12372 CFLAGS
="$CFLAGS $SDL_CFLAGS"
12373 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
12374 LIBS
="$LIBS $SDL_LIBS"
12376 if test "$cross_compiling" = yes; then
12377 echo $ac_n "cross compiling; assumed OK... $ac_c"
12379 cat >conftest.
$ac_ext <<_ACEOF
12382 cat confdefs.h
>>conftest.
$ac_ext
12383 cat >>conftest.
$ac_ext <<_ACEOF
12384 /* end confdefs.h. */
12387 #include <stdlib.h>
12388 #include <string.h>
12392 my_strdup (char *str)
12398 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
12399 strcpy (new_str, str);
12407 int main (int argc, char *argv[])
12409 int major, minor, micro;
12412 /* This hangs on some systems (?)
12413 system ("touch conf.sdltest");
12415 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
12417 /* HP/UX 9 (%@#!) writes to sscanf strings */
12418 tmp_version = my_strdup("$min_sdl_version");
12419 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12420 printf("%s, bad version string\n", "$min_sdl_version");
12424 if (($sdl_major_version > major) ||
12425 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
12426 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
12432 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
12433 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
12434 printf("*** best to upgrade to the required version.\n");
12435 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
12436 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
12437 printf("*** config.cache before re-running configure\n");
12444 rm -f conftest
$ac_exeext
12445 if { (ac_try
="$ac_link"
12446 case "(($ac_try" in
12447 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12448 *) ac_try_echo=$ac_try;;
12450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12451 (eval "$ac_link") 2>&5
12453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12454 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12455 { (case "(($ac_try" in
12456 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12457 *) ac_try_echo
=$ac_try;;
12459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12460 (eval "$ac_try") 2>&5
12462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12463 (exit $ac_status); }; }; then
12466 echo "$as_me: program exited with status $ac_status" >&5
12467 echo "$as_me: failed program was:" >&5
12468 sed 's/^/| /' conftest.
$ac_ext >&5
12470 ( exit $ac_status )
12473 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12477 CFLAGS
="$ac_save_CFLAGS"
12478 CXXFLAGS
="$ac_save_CXXFLAGS"
12479 LIBS
="$ac_save_LIBS"
12482 if test "x$no_sdl" = x
; then
12483 { echo "$as_me:$LINENO: result: yes" >&5
12484 echo "${ECHO_T}yes" >&6; }
12487 { echo "$as_me:$LINENO: result: no" >&5
12488 echo "${ECHO_T}no" >&6; }
12489 if test "$SDL_CONFIG" = "no" ; then
12490 echo "*** The sdl-config script installed by SDL could not be found"
12491 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
12492 echo "*** your path, or set the SDL_CONFIG environment variable to the"
12493 echo "*** full path to sdl-config."
12495 if test -f conf.sdltest
; then
12498 echo "*** Could not run SDL test program, checking why..."
12499 CFLAGS
="$CFLAGS $SDL_CFLAGS"
12500 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
12501 LIBS
="$LIBS $SDL_LIBS"
12502 cat >conftest.
$ac_ext <<_ACEOF
12505 cat confdefs.h
>>conftest.
$ac_ext
12506 cat >>conftest.
$ac_ext <<_ACEOF
12507 /* end confdefs.h. */
12512 int main(int argc, char *argv[])
12515 #define main K_and_R_C_main
12525 rm -f conftest.
$ac_objext conftest
$ac_exeext
12526 if { (ac_try
="$ac_link"
12527 case "(($ac_try" in
12528 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12529 *) ac_try_echo=$ac_try;;
12531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12532 (eval "$ac_link") 2>conftest.er1
12534 grep -v '^ *+' conftest.er1 >conftest.err
12536 cat conftest.err >&5
12537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12538 (exit $ac_status); } && {
12539 test -z "$ac_c_werror_flag" ||
12540 test ! -s conftest.err
12541 } && test -s conftest$ac_exeext &&
12542 $as_test_x conftest$ac_exeext; then
12543 echo "*** The test program compiled, but did not run. This usually means"
12544 echo "*** that the run-time linker is not finding SDL or finding the wrong"
12545 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
12546 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12547 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12548 echo "*** is required on your system"
12550 echo "*** If you have an old version installed, it is best to remove it, although"
12551 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12553 echo "$as_me: failed program was:" >&5
12554 sed 's/^/| /' conftest.$ac_ext >&5
12556 echo "*** The test program failed to compile or link. See the file config.log for the"
12557 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
12558 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
12559 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
12562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12563 conftest$ac_exeext conftest.$ac_ext
12564 CFLAGS="$ac_save_CFLAGS"
12565 CXXFLAGS="$ac_save_CXXFLAGS"
12566 LIBS="$ac_save_LIBS"
12578 if test "x-$have_sdl" != "x-yes" ; then
12580 if test "x-$sdl_hidd" != "x-auto" ; then
12581 { { echo "$as_me:$LINENO: error: SDL libs/headers not found, cannot build SDL hidd as requested" >&5
12582 echo "$as_me: error: SDL libs/headers not found, cannot build SDL hidd as requested" >&2;}
12583 { (exit 1); exit 1; }; }
12587 sdl_hidd_target=kernel-hidd-sdl
12588 aros_host_sdl_cflags=SDL_CFLAGS
12589 aros_host_sdl_libs=SDL_LIBS
12596 { echo "$as_me:$LINENO: checking if building of dbus.library is enabled" >&5
12597 echo $ECHO_N "checking if building of dbus.library is enabled... $ECHO_C" >&6; }
12598 # Check whether --enable-dbus was given.
12599 if test "${enable_dbus+set}" = set; then
12600 enableval=$enable_dbus; dbus="yes"
12605 if test "$dbus" = "yes" ; then
12607 DBUS_CFLAGS=`pkg-config
--cflags dbus-1
`
12608 DBUS_LIBFLAGS=`pkg-config
--libs dbus-1
`
12609 KERNEL_DBUS_KOBJ=kernel-dbus-kobj
12610 KERNEL_DBUS_INCLUDES=kernel-dbus-includes
12614 { echo "$as_me:$LINENO: result: $dbus" >&5
12615 echo "${ECHO_T}$dbus" >&6; }
12716 # Native version related
12719 # Palm native version related
12722 # Unix/Hosted version related
12725 # Apple iOS related
12746 # Collect-aros stuff: "-ius" to ignore undefined symbols
12749 # C compiler related
12752 case "$aros_flavour" in
12753 emulation) aros_flavour_uc="AROS_FLAVOUR_EMULATION"
12754 aros_flavour="emulation" ;;
12755 emulcompat) aros_flavour_uc="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
12756 aros_flavour="emulation" ;;
12757 standalone) aros_flavour_uc="AROS_FLAVOUR_STANDALONE"
12758 aros_flavour="standalone";;
12759 native) aros_flavour_uc="AROS_FLAVOUR_NATIVE"
12760 aros_flavour="native" ;;
12761 nativecompat) aros_flavour_uc="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
12762 aros_flavour="native" ;;
12763 linklib) aros_flavour_uc="AROS_FLAVOUR_LINKLIB"
12764 aros_flavour="linklib" ;;
12765 palmnative) aros_flavour_uc="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
12766 aros_flavour="palmnative" ;;
12767 mac68knative) aros_flavour_uc="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
12768 aros_flavour="mac68knative" ;;
12769 ppcnative) aros_flavour_uc="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
12770 aros_flavour="ppcnative" ;;
12773 if test ! -d ${aros_inc_dir} ; then
12774 ${MKDIR} ${aros_inc_dir}
12776 if test ! -d ${aros_geninc_dir} ; then
12777 ${MKDIR} ${aros_geninc_dir}
12779 if test ! -d ${aros_hostcfg_dir} ; then
12780 ${MKDIR} ${aros_hostcfg_dir}
12782 if test ! -d ${aros_targetcfg_dir} ; then
12783 ${MKDIR} ${aros_targetcfg_dir}
12785 if test ! -d ${aros_tools_dir} ; then
12786 ${MKDIR} ${aros_tools_dir}
12788 if test ! -d ${aros_scripts_dir} ; then
12789 ${MKDIR} ${aros_scripts_dir}
12792 ac_config_headers="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
12795 ac_config_commands="$ac_config_commands compiler_executable"
12797 ac_config_commands="$ac_config_commands genshared_executable"
12799 ac_config_commands="$ac_config_commands genmf_executable"
12802 ac_config_files="$ac_config_files Makefile config/make.cfg ${aros_inc_dir}/config.h:config/config.h.in ${aros_geninc_dir}/config.h:config/config.h.in ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in mmake.config ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in ${aros_targetcfg_dir}/specs:config/specs.in ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-gcc:scripts/aros-gcc.in ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-ld:scripts/aros-ld.in ${aros_scripts_dir}/genshared:compiler/c_lib/source/lib_source/genshared.in ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py tools/collect-aros/env.h"
12805 cat >confcache <<\_ACEOF
12806 # This file is a shell script that caches the results of configure
12807 # tests run on this system so they can be shared between configure
12808 # scripts and configure runs, see configure's option --config-cache.
12809 # It is not useful on other systems. If it contains results you don't
12810 # want to keep, you may remove or edit it.
12812 # config.status only pays attention to the cache file if you give it
12813 # the --recheck option to rerun configure.
12815 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
12816 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12817 # following values.
12821 # The following way of writing the cache mishandles newlines in values,
12822 # but we know of no workaround that is simple, portable, and efficient.
12823 # So, we kill variables containing newlines.
12824 # Ultrix sh set writes to stderr and can't be redirected directly,
12825 # and sets the high bit in the cache file unless we assign to the vars.
12827 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12828 eval ac_val
=\$
$ac_var
12832 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12833 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12836 _ | IFS | as_nl
) ;; #(
12837 *) $as_unset $ac_var ;;
12843 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12844 *${as_nl}ac_space
=\
*)
12845 # `set' does not quote correctly, so add quotes (double-quote
12846 # substitution turns \\\\ into \\, and sed turns \\ into \).
12849 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12852 # `set' quotes correctly as required by POSIX, so do not add quotes.
12853 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12862 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12864 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12866 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12867 if test -w "$cache_file"; then
12868 test "x$cache_file" != "x/dev/null" &&
12869 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12870 echo "$as_me: updating cache $cache_file" >&6;}
12871 cat confcache
>$cache_file
12873 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12874 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12879 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12880 # Let make expand exec_prefix.
12881 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12883 DEFS
=-DHAVE_CONFIG_H
12887 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12888 # 1. Remove the extension, and $U if already installed.
12889 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12890 ac_i
=`echo "$ac_i" | sed "$ac_script"`
12891 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12892 # will be set to the directory where LIBOBJS objects are built.
12893 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12894 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
12896 LIBOBJS
=$ac_libobjs
12898 LTLIBOBJS
=$ac_ltlibobjs
12902 : ${CONFIG_STATUS=./config.status}
12903 ac_clean_files_save
=$ac_clean_files
12904 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12905 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12906 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12907 cat >$CONFIG_STATUS <<_ACEOF
12909 # Generated by $as_me.
12910 # Run this file to recreate the current configuration.
12911 # Compiler output produced by configure, useful for debugging
12912 # configure, is in config.log if it exists.
12915 ac_cs_recheck=false
12917 SHELL=\${CONFIG_SHELL-$SHELL}
12920 cat >>$CONFIG_STATUS <<\_ACEOF
12921 ## --------------------- ##
12922 ## M4sh Initialization. ##
12923 ## --------------------- ##
12925 # Be more Bourne compatible
12926 DUALCASE
=1; export DUALCASE
# for MKS sh
12927 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
12930 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12931 # is contrary to our usage. Disable this feature.
12932 alias -g '${1+"$@"}'='"$@"'
12933 setopt NO_GLOB_SUBST
12935 case `(set -o) 2>/dev/null` in
12936 *posix
*) set -o posix
;;
12945 # Avoid depending upon Character Ranges.
12946 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12947 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12948 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12949 as_cr_digits
='0123456789'
12950 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12952 # The user is always right.
12953 if test "${PATH_SEPARATOR+set}" != set; then
12954 echo "#! /bin/sh" >conf$$.sh
12955 echo "exit 0" >>conf$$.sh
12957 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
12965 # Support unset when possible.
12966 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
12974 # We need space, tab and new line, in precisely that order. Quoting is
12975 # there to prevent editors from complaining about space-tab.
12976 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12977 # splitting by setting IFS to empty value.)
12982 # Find who we are. Look in the path if we contain no directory separator.
12984 *[\\/]* ) as_myself
=$0 ;;
12985 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12986 for as_dir
in $PATH
12989 test -z "$as_dir" && as_dir
=.
12990 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
12996 # We did not find ourselves, most probably we were run as `sh COMMAND'
12997 # in which case we are not to be found in the path.
12998 if test "x$as_myself" = x
; then
13001 if test ! -f "$as_myself"; then
13002 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13003 { (exit 1); exit 1; }
13006 # Work around bugs in pre-3.0 UWIN ksh.
13007 for as_var
in ENV MAIL MAILPATH
13008 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
13016 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
13017 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
13018 LC_TELEPHONE LC_TIME
13020 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
13021 eval $as_var=C
; export $as_var
13023 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
13027 # Required to use basename.
13028 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13029 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13035 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13036 as_basename
=basename
13042 # Name of the executable.
13043 as_me
=`$as_basename -- "$0" ||
13044 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13045 X"$0" : 'X\(//\)$' \| \
13046 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13048 sed '/^.*\/\([^/][^/]*\)\/*$/{
13067 as_lineno_1
=$LINENO
13068 as_lineno_2
=$LINENO
13069 test "x$as_lineno_1" != "x$as_lineno_2" &&
13070 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
13072 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13073 # uniformly replaced by the line number. The first 'sed' inserts a
13074 # line-number line after each line using $LINENO; the second 'sed'
13075 # does the real work. The second script uses 'N' to pair each
13076 # line-number line with the line containing $LINENO, and appends
13077 # trailing '-' during substitution so that $LINENO is not a special
13078 # case at line end.
13079 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13080 # scripts with optimization help from Paolo Bonzini. Blame Lee
13081 # E. McMahon (1931-1989) for sed's syntax. :-)
13093 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13096 ' >$as_me.lineno
&&
13097 chmod +x
"$as_me.lineno" ||
13098 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13099 { (exit 1); exit 1; }; }
13101 # Don't try to exec as it changes $[0], causing all sort of problems
13102 # (the dirname of $[0] is not the place where we might find the
13103 # original and so on. Autoconf is especially sensitive to this).
13104 .
"./$as_me.lineno"
13105 # Exit status is that of the last command.
13110 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13116 ECHO_C
= ECHO_N
= ECHO_T
=
13117 case `echo -n x` in
13119 case `echo 'x\c'` in
13120 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13127 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13128 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13134 rm -f conf$$ conf$$.exe conf$$.
file
13135 if test -d conf$$.dir
; then
13136 rm -f conf$$.dir
/conf$$.
file
13142 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13144 # ... but there are two gotchas:
13145 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13146 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13147 # In both cases, we have to default to `cp -p'.
13148 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13150 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13155 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13156 rmdir conf$$.dir
2>/dev
/null
13158 if mkdir
-p .
2>/dev
/null
; then
13161 test -d .
/-p && rmdir .
/-p
13165 if test -x / >/dev
/null
2>&1; then
13166 as_test_x
='test -x'
13168 if ls -dL / >/dev
/null
2>&1; then
13175 if test -d "$1"; then
13181 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13182 ???[sx]*):;;*)false;;esac;fi
13186 as_executable_p
=$as_test_x
13188 # Sed expression to map a string onto a valid CPP name.
13189 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13191 # Sed expression to map a string onto a valid variable name.
13192 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13197 # Save the log message, to keep $[0] and so on meaningful, and to
13198 # report actual input values of CONFIG_FILES etc. instead of their
13199 # values after options handling.
13201 This file was extended by $as_me, which was
13202 generated by GNU Autoconf 2.61. Invocation command line was
13204 CONFIG_FILES = $CONFIG_FILES
13205 CONFIG_HEADERS = $CONFIG_HEADERS
13206 CONFIG_LINKS = $CONFIG_LINKS
13207 CONFIG_COMMANDS = $CONFIG_COMMANDS
13210 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13215 cat >>$CONFIG_STATUS <<_ACEOF
13216 # Files that config.status was made for.
13217 config_files="$ac_config_files"
13218 config_headers="$ac_config_headers"
13219 config_commands="$ac_config_commands"
13223 cat >>$CONFIG_STATUS <<\_ACEOF
13225 \`$as_me' instantiates files from templates according to the
13226 current configuration.
13228 Usage: $0 [OPTIONS] [FILE]...
13230 -h, --help print this help, then exit
13231 -V, --version print version number and configuration settings, then exit
13232 -q, --quiet do not print progress messages
13233 -d, --debug don't remove temporary files
13234 --recheck update $as_me by reconfiguring in the same conditions
13235 --file=FILE[:TEMPLATE]
13236 instantiate the configuration file FILE
13237 --header=FILE[:TEMPLATE]
13238 instantiate the configuration header FILE
13240 Configuration files:
13243 Configuration headers:
13246 Configuration commands:
13249 Report bugs to <bug-autoconf@gnu.org>."
13252 cat >>$CONFIG_STATUS <<_ACEOF
13255 configured by $0, generated by GNU Autoconf 2.61,
13256 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13258 Copyright (C) 2006 Free Software Foundation, Inc.
13259 This config.status script is free software; the Free Software Foundation
13260 gives unlimited permission to copy, distribute and modify it."
13266 cat >>$CONFIG_STATUS <<\_ACEOF
13267 # If no file are specified by the user, then we need to provide default
13268 # value. By we need to know if files were specified by the user.
13274 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13275 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13286 # Handling of the options.
13287 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13289 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13290 echo "$ac_cs_version"; exit ;;
13291 --debug |
--debu |
--deb |
--de |
--d |
-d )
13293 --file |
--fil |
--fi |
--f )
13295 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
13296 ac_need_defaults
=false
;;
13297 --header |
--heade |
--head |
--hea )
13299 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
13300 ac_need_defaults
=false
;;
13302 # Conflict between --help and --header
13303 { echo "$as_me: error: ambiguous option: $1
13304 Try \`$0 --help' for more information." >&2
13305 { (exit 1); exit 1; }; };;
13306 --help |
--hel |
-h )
13307 echo "$ac_cs_usage"; exit ;;
13308 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13309 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13312 # This is an error.
13313 -*) { echo "$as_me: error: unrecognized option: $1
13314 Try \`$0 --help' for more information." >&2
13315 { (exit 1); exit 1; }; } ;;
13317 *) ac_config_targets
="$ac_config_targets $1"
13318 ac_need_defaults
=false
;;
13324 ac_configure_extra_args
=
13326 if $ac_cs_silent; then
13328 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13332 cat >>$CONFIG_STATUS <<_ACEOF
13333 if \$ac_cs_recheck; then
13334 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13335 CONFIG_SHELL=$SHELL
13336 export CONFIG_SHELL
13337 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13341 cat >>$CONFIG_STATUS <<\_ACEOF
13345 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13346 ## Running $as_me. ##
13352 cat >>$CONFIG_STATUS <<_ACEOF
13357 aros_host_exe_suffix=${aros_host_exe_suffix}
13358 aros_tools_dir=${aros_tools_dir}
13359 aros_target_cpu=${aros_target_cpu}
13360 aros_target_arch=${aros_target_arch}
13361 aros_target_suffix=${aros_target_suffix}
13362 aros_target_nm_ln=${aros_target_nm_ln}
13363 aros_target_as_ln=${aros_target_as_ln}
13364 aros_target_ar_ln=${aros_target_ar_ln}
13365 aros_target_ranlib_ln=${aros_target_ranlib_ln}
13366 aros_target_objdump_ln=${aros_target_objdump_ln}
13367 aros_target_objcopy_ln=${aros_target_objcopy_ln}
13368 aros_target_strip_ln=${aros_target_strip_ln}
13371 aros_scripts_dir=${aros_scripts_dir}
13373 aros_tools_dir=${aros_tools_dir}
13378 cat >>$CONFIG_STATUS <<\_ACEOF
13380 # Handling of arguments.
13381 for ac_config_target
in $ac_config_targets
13383 case $ac_config_target in
13384 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
13385 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
13386 "genshared_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genshared_executable" ;;
13387 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
13388 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13389 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
13390 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
13391 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
13392 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
13393 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
13394 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
13395 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
13396 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
13397 "${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" ;;
13398 "${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" ;;
13399 "${aros_scripts_dir}/genshared") CONFIG_FILES
="$CONFIG_FILES ${aros_scripts_dir}/genshared:compiler/c_lib/source/lib_source/genshared.in" ;;
13400 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
13401 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
13403 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13404 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13405 { (exit 1); exit 1; }; };;
13410 # If the user did not use the arguments to specify the items to instantiate,
13411 # then the envvar interface is used. Set only those that are not.
13412 # We use the long form for the default assignment because of an extremely
13413 # bizarre bug on SunOS 4.1.3.
13414 if $ac_need_defaults; then
13415 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13416 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13417 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13420 # Have a temporary directory for convenience. Make it in the build tree
13421 # simply because there is no reason against having it here, and in addition,
13422 # creating and moving files from /tmp can sometimes cause problems.
13423 # Hook for its removal unless debugging.
13424 # Note that there is a small window in which the directory will not be cleaned:
13425 # after its creation but before its name has been assigned to `$tmp'.
13429 trap 'exit_status=$?
13430 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13432 trap '{ (exit 1); exit 1; }' 1 2 13 15
13434 # Create a (secure) tmp directory for tmp files.
13437 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13438 test -n "$tmp" && test -d "$tmp"
13441 tmp
=.
/conf$$
-$RANDOM
13442 (umask 077 && mkdir
"$tmp")
13445 echo "$me: cannot create a temporary directory in ." >&2
13446 { (exit 1); exit 1; }
13450 # Set up the sed scripts for CONFIG_FILES section.
13453 # No need to generate the scripts if there are no CONFIG_FILES.
13454 # This happens for instance when ./config.status config.h
13455 if test -n "$CONFIG_FILES"; then
13462 for ac_last_try
in false false false false false
:; do
13463 cat >conf$
$subs.
sed <<_ACEOF
13464 SHELL!$SHELL$ac_delim
13465 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
13466 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
13467 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
13468 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
13469 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
13470 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
13471 exec_prefix!$exec_prefix$ac_delim
13472 prefix!$prefix$ac_delim
13473 program_transform_name!$program_transform_name$ac_delim
13474 bindir!$bindir$ac_delim
13475 sbindir!$sbindir$ac_delim
13476 libexecdir!$libexecdir$ac_delim
13477 datarootdir!$datarootdir$ac_delim
13478 datadir!$datadir$ac_delim
13479 sysconfdir!$sysconfdir$ac_delim
13480 sharedstatedir!$sharedstatedir$ac_delim
13481 localstatedir!$localstatedir$ac_delim
13482 includedir!$includedir$ac_delim
13483 oldincludedir!$oldincludedir$ac_delim
13484 docdir!$docdir$ac_delim
13485 infodir!$infodir$ac_delim
13486 htmldir!$htmldir$ac_delim
13487 dvidir!$dvidir$ac_delim
13488 pdfdir!$pdfdir$ac_delim
13489 psdir!$psdir$ac_delim
13490 libdir!$libdir$ac_delim
13491 localedir!$localedir$ac_delim
13492 mandir!$mandir$ac_delim
13493 DEFS!$DEFS$ac_delim
13494 ECHO_C!$ECHO_C$ac_delim
13495 ECHO_N!$ECHO_N$ac_delim
13496 ECHO_T!$ECHO_T$ac_delim
13497 LIBS!$LIBS$ac_delim
13498 build_alias!$build_alias$ac_delim
13499 host_alias!$host_alias$ac_delim
13500 target_alias!$target_alias$ac_delim
13501 build!$build$ac_delim
13502 build_cpu!$build_cpu$ac_delim
13503 build_vendor!$build_vendor$ac_delim
13504 build_os!$build_os$ac_delim
13505 host!$host$ac_delim
13506 host_cpu!$host_cpu$ac_delim
13507 host_vendor!$host_vendor$ac_delim
13508 host_os!$host_os$ac_delim
13510 CFLAGS!$CFLAGS$ac_delim
13511 LDFLAGS!$LDFLAGS$ac_delim
13512 CPPFLAGS!$CPPFLAGS$ac_delim
13513 ac_ct_CC!$ac_ct_CC$ac_delim
13514 EXEEXT!$EXEEXT$ac_delim
13515 OBJEXT!$OBJEXT$ac_delim
13518 MMAKE!$MMAKE$ac_delim
13519 aros_host_ld!$aros_host_ld$ac_delim
13520 aros_host_aclocal!$aros_host_aclocal$ac_delim
13521 aros_host_autoconf!$aros_host_autoconf$ac_delim
13522 aros_host_autoheader!$aros_host_autoheader$ac_delim
13523 aros_host_automake!$aros_host_automake$ac_delim
13524 aros_host_ar!$aros_host_ar$ac_delim
13525 aros_host_ranlib!$aros_host_ranlib$ac_delim
13526 aros_host_strip!$aros_host_strip$ac_delim
13530 ECHO!$ECHO$ac_delim
13531 MKDIR!$MKDIR$ac_delim
13532 TOUCH!$TOUCH$ac_delim
13533 SORT!$SORT$ac_delim
13534 UNIQ!$UNIQ$ac_delim
13537 BISON!$BISON$ac_delim
13538 FLEX!$FLEX$ac_delim
13539 PNGTOPNM!$PNGTOPNM$ac_delim
13540 PPMTOILBM!$PPMTOILBM$ac_delim
13542 CHMOD!$CHMOD$ac_delim
13543 PYTHON!$PYTHON$ac_delim
13544 PYTHON_VERSION!$PYTHON_VERSION$ac_delim
13545 PYTHON_PREFIX!$PYTHON_PREFIX$ac_delim
13546 PYTHON_EXEC_PREFIX!$PYTHON_EXEC_PREFIX$ac_delim
13547 PYTHON_PLATFORM!$PYTHON_PLATFORM$ac_delim
13548 pythondir!$pythondir$ac_delim
13549 pkgpythondir!$pkgpythondir$ac_delim
13550 pyexecdir!$pyexecdir$ac_delim
13551 pkgpyexecdir!$pkgpyexecdir$ac_delim
13554 TEST!$TEST$ac_delim
13556 GREP!$GREP$ac_delim
13557 EGREP!$EGREP$ac_delim
13558 LIBOBJS!$LIBOBJS$ac_delim
13559 DISTCC!$DISTCC$ac_delim
13560 CCACHE!$CCACHE$ac_delim
13563 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
13565 elif $ac_last_try; then
13566 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13567 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13568 { (exit 1); exit 1; }; }
13570 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
13574 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13575 if test -n "$ac_eof"; then
13576 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
13577 ac_eof
=`expr $ac_eof + 1`
13580 cat >>$CONFIG_STATUS <<_ACEOF
13581 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
13582 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13585 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13586 s/^/s,@/; s/!/@,|#_!!_#|/
13589 s/'"$ac_delim"'$/,g/; t
13591 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13592 ' >>$CONFIG_STATUS <conf$
$subs.
sed
13593 rm -f conf$
$subs.
sed
13594 cat >>$CONFIG_STATUS <<_ACEOF
13600 for ac_last_try
in false false false false false
:; do
13601 cat >conf$
$subs.
sed <<_ACEOF
13602 aros_target_cc!$aros_target_cc$ac_delim
13603 aros_target_ld!$aros_target_ld$ac_delim
13604 aros_target_as_ln!$aros_target_as_ln$ac_delim
13605 aros_kernel_ld!$aros_kernel_ld$ac_delim
13606 aros_target_ar_ln!$aros_target_ar_ln$ac_delim
13607 aros_target_nm_ln!$aros_target_nm_ln$ac_delim
13608 aros_target_objcopy_ln!$aros_target_objcopy_ln$ac_delim
13609 aros_target_objdump_ln!$aros_target_objdump_ln$ac_delim
13610 aros_target_ranlib_ln!$aros_target_ranlib_ln$ac_delim
13611 aros_target_strip_ln!$aros_target_strip_ln$ac_delim
13612 aros_kernel_rescomp!$aros_kernel_rescomp$ac_delim
13613 aros_target_nostdinc_cflags!$aros_target_nostdinc_cflags$ac_delim
13614 aros_target_nostartup_ldflags!$aros_target_nostartup_ldflags$ac_delim
13615 aros_target_nix_ldflags!$aros_target_nix_ldflags$ac_delim
13616 aros_target_detach_ldflags!$aros_target_detach_ldflags$ac_delim
13617 aros_target_nostdlib_ldflags!$aros_target_nostdlib_ldflags$ac_delim
13618 host_cflags_iquote!$host_cflags_iquote$ac_delim
13619 host_cflags_iquote_end!$host_cflags_iquote_end$ac_delim
13620 kernel_cflags_iquote!$kernel_cflags_iquote$ac_delim
13621 kernel_cflags_iquote_end!$kernel_cflags_iquote_end$ac_delim
13622 aros_cflags_iquote!$aros_cflags_iquote$ac_delim
13623 aros_cflags_iquote_end!$aros_cflags_iquote_end$ac_delim
13624 XMKMF!$XMKMF$ac_delim
13625 SDL_CONFIG!$SDL_CONFIG$ac_delim
13626 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
13627 SDL_LIBS!$SDL_LIBS$ac_delim
13628 aros_arch!$aros_arch$ac_delim
13629 aros_cpu!$aros_cpu$ac_delim
13630 aros_flavour!$aros_flavour$ac_delim
13631 aros_flavour_uc!$aros_flavour_uc$ac_delim
13632 AROS_BUILDDIR!$AROS_BUILDDIR$ac_delim
13633 AROS_BUILDDIR_UNIX!$AROS_BUILDDIR_UNIX$ac_delim
13634 SRCDIR!$SRCDIR$ac_delim
13635 AROS_PORTSSRCDIR!$AROS_PORTSSRCDIR$ac_delim
13636 aros_cc_pre!$aros_cc_pre$ac_delim
13637 aros_host_arch!$aros_host_arch$ac_delim
13638 aros_host_cpu!$aros_host_cpu$ac_delim
13639 aros_host_cc!$aros_host_cc$ac_delim
13640 aros_host_make!$aros_host_make$ac_delim
13641 aros_host_cflags!$aros_host_cflags$ac_delim
13642 aros_host_ldflags!$aros_host_ldflags$ac_delim
13643 aros_host_debug!$aros_host_debug$ac_delim
13644 aros_host_mkdep!$aros_host_mkdep$ac_delim
13645 aros_host_mkargs!$aros_host_mkargs$ac_delim
13646 aros_host_exe_suffix!$aros_host_exe_suffix$ac_delim
13647 aros_host_lib_suffix!$aros_host_lib_suffix$ac_delim
13648 aros_tools_dir!$aros_tools_dir$ac_delim
13649 aros_target_guitheme!$aros_target_guitheme$ac_delim
13650 aros_target_iconset!$aros_target_iconset$ac_delim
13651 aros_target_bootloader!$aros_target_bootloader$ac_delim
13652 aros_target_arch!$aros_target_arch$ac_delim
13653 aros_target_cpu!$aros_target_cpu$ac_delim
13654 aros_target_variant!$aros_target_variant$ac_delim
13655 aros_target_suffix!$aros_target_suffix$ac_delim
13656 aros_target_incl!$aros_target_incl$ac_delim
13657 aros_target_ar!$aros_target_ar$ac_delim
13658 aros_target_ranlib!$aros_target_ranlib$ac_delim
13659 aros_kernel_nm!$aros_kernel_nm$ac_delim
13660 orig_target_cc!$orig_target_cc$ac_delim
13661 aros_target_cxx!$aros_target_cxx$ac_delim
13662 aros_kernel_cc!$aros_kernel_cc$ac_delim
13663 aros_target_as!$aros_target_as$ac_delim
13664 orig_target_ld!$orig_target_ld$ac_delim
13665 aros_target_cc_includes!$aros_target_cc_includes$ac_delim
13666 aros_target_cc_path!$aros_target_cc_path$ac_delim
13667 aros_target_objdump!$aros_target_objdump$ac_delim
13668 aros_target_objcopy!$aros_target_objcopy$ac_delim
13669 aros_target_strip!$aros_target_strip$ac_delim
13670 aros_target_nm!$aros_target_nm$ac_delim
13671 aros_shared_default!$aros_shared_default$ac_delim
13672 aros_shared_ld!$aros_shared_ld$ac_delim
13673 aros_object_format!$aros_object_format$ac_delim
13674 aros_compiler_libs!$aros_compiler_libs$ac_delim
13675 aros_arch_libs!$aros_arch_libs$ac_delim
13676 aros_config_cflags!$aros_config_cflags$ac_delim
13677 aros_config_aflags!$aros_config_aflags$ac_delim
13678 aros_config_ldflags!$aros_config_ldflags$ac_delim
13679 aros_shared_cflags!$aros_shared_cflags$ac_delim
13680 aros_shared_aflags!$aros_shared_aflags$ac_delim
13681 aros_shared_ldflags!$aros_shared_ldflags$ac_delim
13682 aros_kernel_cflags!$aros_kernel_cflags$ac_delim
13683 aros_kernel_objcflags!$aros_kernel_objcflags$ac_delim
13684 aros_kernel_ldflags!$aros_kernel_ldflags$ac_delim
13685 aros_debug_cflags!$aros_debug_cflags$ac_delim
13686 aros_debug_aflags!$aros_debug_aflags$ac_delim
13687 aros_debug_ldflags!$aros_debug_ldflags$ac_delim
13688 aros_target_genmap!$aros_target_genmap$ac_delim
13689 aros_target_strip_flags!$aros_target_strip_flags$ac_delim
13690 x11_hidd_target!$x11_hidd_target$ac_delim
13691 sdl_hidd_target!$sdl_hidd_target$ac_delim
13692 aros_default_wbwidth!$aros_default_wbwidth$ac_delim
13693 aros_default_wbheight!$aros_default_wbheight$ac_delim
13694 aros_default_wbdepth!$aros_default_wbdepth$ac_delim
13695 DO_XSHM_SUPPORT!$DO_XSHM_SUPPORT$ac_delim
13696 DO_VIDMODE_SUPPORT!$DO_VIDMODE_SUPPORT$ac_delim
13697 aros_host_x11_includes!$aros_host_x11_includes$ac_delim
13698 aros_host_x11_libdirs!$aros_host_x11_libdirs$ac_delim
13701 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
13703 elif $ac_last_try; then
13704 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13705 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13706 { (exit 1); exit 1; }; }
13708 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
13712 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13713 if test -n "$ac_eof"; then
13714 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
13715 ac_eof
=`expr $ac_eof + 1`
13718 cat >>$CONFIG_STATUS <<_ACEOF
13719 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
13720 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13723 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13724 s/^/s,@/; s/!/@,|#_!!_#|/
13727 s/'"$ac_delim"'$/,g/; t
13729 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13730 ' >>$CONFIG_STATUS <conf$
$subs.
sed
13731 rm -f conf$
$subs.
sed
13732 cat >>$CONFIG_STATUS <<_ACEOF
13738 for ac_last_try
in false false false false false
:; do
13739 cat >conf$
$subs.
sed <<_ACEOF
13740 aros_host_sdl_cflags!$aros_host_sdl_cflags$ac_delim
13741 aros_host_sdl_libs!$aros_host_sdl_libs$ac_delim
13742 aros_serial_debug!$aros_serial_debug$ac_delim
13743 aros_palm_debug_hack!$aros_palm_debug_hack$ac_delim
13744 aros_nesting_supervisor!$aros_nesting_supervisor$ac_delim
13745 aros_ios_platform!$aros_ios_platform$ac_delim
13746 aros_ios_version!$aros_ios_version$ac_delim
13747 aros_ios_sdk!$aros_ios_sdk$ac_delim
13748 ENABLE_DBUS!$ENABLE_DBUS$ac_delim
13749 DBUS_CFLAGS!$DBUS_CFLAGS$ac_delim
13750 DBUS_LIBFLAGS!$DBUS_LIBFLAGS$ac_delim
13751 KERNEL_DBUS_KOBJ!$KERNEL_DBUS_KOBJ$ac_delim
13752 KERNEL_DBUS_INCLUDES!$KERNEL_DBUS_INCLUDES$ac_delim
13753 ENABLE_X11!$ENABLE_X11$ac_delim
13754 aros_debug!$aros_debug$ac_delim
13755 aros_mungwall_debug!$aros_mungwall_debug$ac_delim
13756 aros_stack_debug!$aros_stack_debug$ac_delim
13757 aros_modules_debug!$aros_modules_debug$ac_delim
13758 ignore_undefined_symbols!$ignore_undefined_symbols$ac_delim
13759 gcc_target_cpu!$gcc_target_cpu$ac_delim
13760 LTLIBOBJS!$LTLIBOBJS$ac_delim
13763 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 21; then
13765 elif $ac_last_try; then
13766 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13767 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13768 { (exit 1); exit 1; }; }
13770 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
13774 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13775 if test -n "$ac_eof"; then
13776 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
13777 ac_eof
=`expr $ac_eof + 1`
13780 cat >>$CONFIG_STATUS <<_ACEOF
13781 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
13782 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
13785 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13786 s/^/s,@/; s/!/@,|#_!!_#|/
13789 s/'"$ac_delim"'$/,g/; t
13791 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13792 ' >>$CONFIG_STATUS <conf$
$subs.
sed
13793 rm -f conf$
$subs.
sed
13794 cat >>$CONFIG_STATUS <<_ACEOF
13801 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13802 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13803 # trailing colons and then remove the whole line if VPATH becomes empty
13804 # (actually we leave an empty line to preserve line numbers).
13805 if test "x$srcdir" = x.
; then
13806 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
13807 s/:*\$(srcdir):*/:/
13808 s/:*\${srcdir}:*/:/
13810 s/^\([^=]*=[ ]*\):*/\1/
13816 cat >>$CONFIG_STATUS <<\_ACEOF
13817 fi # test -n "$CONFIG_FILES"
13820 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
13823 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13825 case $ac_mode$ac_tag in
13827 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
13828 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
13829 { (exit 1); exit 1; }; };;
13830 :[FH
]-) ac_tag
=-:-;;
13831 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13848 -) ac_f
="$tmp/stdin";;
13849 *) # Look for the file first in the build tree, then in the source tree
13850 # (if the path is not absolute). The absolute path cannot be DOS-style,
13851 # because $ac_f cannot contain `:'.
13855 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13857 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
13858 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
13859 { (exit 1); exit 1; }; };;
13861 ac_file_inputs
="$ac_file_inputs $ac_f"
13864 # Let's still pretend it is `configure' which instantiates (i.e., don't
13865 # use $as_me), people would be surprised to read:
13866 # /* config.h. Generated by config.status. */
13867 configure_input
="Generated from "`IFS=:
13868 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
13869 if test x
"$ac_file" != x-
; then
13870 configure_input
="$ac_file. $configure_input"
13871 { echo "$as_me:$LINENO: creating $ac_file" >&5
13872 echo "$as_me: creating $ac_file" >&6;}
13876 *:-:* |
*:-) cat >"$tmp/stdin";;
13881 ac_dir
=`$as_dirname -- "$ac_file" ||
13882 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13883 X"$ac_file" : 'X\(//\)[^/]' \| \
13884 X"$ac_file" : 'X\(//\)$' \| \
13885 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13887 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13891 /^X\(\/\/\)[^/].*/{
13906 -*) as_dir
=.
/$as_dir;;
13908 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
13912 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
13913 *) as_qdir
=$as_dir;;
13915 as_dirs
="'$as_qdir' $as_dirs"
13916 as_dir
=`$as_dirname -- "$as_dir" ||
13917 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13918 X"$as_dir" : 'X\(//\)[^/]' \| \
13919 X"$as_dir" : 'X\(//\)$' \| \
13920 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13922 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13926 /^X\(\/\/\)[^/].*/{
13939 test -d "$as_dir" && break
13941 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
13942 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13943 echo "$as_me: error: cannot create directory $as_dir" >&2;}
13944 { (exit 1); exit 1; }; }; }
13948 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13950 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13951 # A ".." for each directory in $ac_dir_suffix.
13952 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
13953 case $ac_top_builddir_sub in
13954 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13955 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13958 ac_abs_top_builddir
=$ac_pwd
13959 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13960 # for backward compatibility:
13961 ac_top_builddir
=$ac_top_build_prefix
13964 .
) # We are building in place.
13966 ac_top_srcdir
=$ac_top_builddir_sub
13967 ac_abs_top_srcdir
=$ac_pwd ;;
13968 [\\/]* | ?
:[\\/]* ) # Absolute name.
13969 ac_srcdir
=$srcdir$ac_dir_suffix;
13970 ac_top_srcdir
=$srcdir
13971 ac_abs_top_srcdir
=$srcdir ;;
13972 *) # Relative name.
13973 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13974 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13975 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13977 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13988 cat >>$CONFIG_STATUS <<\_ACEOF
13989 # If the template does not know about datarootdir, expand it.
13990 # FIXME: This hack should be removed a few years after 2.60.
13991 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13993 case `sed -n '/datarootdir/ {
14002 ' $ac_file_inputs` in
14003 *datarootdir
*) ac_datarootdir_seen
=yes;;
14004 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14005 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14006 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14008 cat >>$CONFIG_STATUS <<_ACEOF
14009 ac_datarootdir_hack='
14010 s&@datadir@&$datadir&g
14011 s&@docdir@&$docdir&g
14012 s&@infodir@&$infodir&g
14013 s&@localedir@&$localedir&g
14014 s&@mandir@&$mandir&g
14015 s&\\\${datarootdir}&$datarootdir&g' ;;
14019 # Neutralize VPATH when `$srcdir' = `.'.
14020 # Shell code in configure.ac might set extrasub.
14021 # FIXME: do we really want to maintain this feature?
14022 cat >>$CONFIG_STATUS <<_ACEOF
14026 cat >>$CONFIG_STATUS <<\_ACEOF
14028 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14029 s
&@configure_input@
&$configure_input&;t t
14030 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14031 s
&@srcdir@
&$ac_srcdir&;t t
14032 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14033 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14034 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14035 s
&@builddir@
&$ac_builddir&;t t
14036 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14037 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14038 $ac_datarootdir_hack
14039 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" | sed -f "$tmp/subs-3.
sed" >$tmp/out
14041 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14042 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
14043 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
14044 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14045 which seems to be undefined. Please make sure it is defined." >&5
14046 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14047 which seems to be undefined. Please make sure it is defined." >&2;}
14051 -) cat "$tmp/out"; rm -f "$tmp/out";;
14052 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
14061 # Transform confdefs.h into a sed script `conftest.defines', that
14062 # substitutes the proper values into config.h.in to produce config.h.
14063 rm -f conftest.defines conftest.
tail
14064 # First, append a space to every undef/define line, to ease matching.
14065 echo 's/$/ /' >conftest.defines
14066 # Then, protect against being on the right side of a sed subst, or in
14067 # an unquoted here document, in config.status. If some macros were
14068 # called several times there might be several #defines for the same
14069 # symbol, which is useless. But do not sort them, since the last
14070 # AC_DEFINE must be honored.
14071 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
14072 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
14073 # NAME is the cpp macro being defined, VALUE is the value it is being given.
14074 # PARAMS is the parameter list in the macro definition--in most cases, it's
14075 # just an empty string.
14076 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
14077 ac_dB
='\\)[ (].*,\\1define\\2'
14085 s/^[ ]*#[ ]*define[ ][ ]*//
14090 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
14091 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
14092 ' >>conftest.defines
14094 # Remove the space that was appended to ease matching.
14095 # Then replace #undef with comments. This is necessary, for
14096 # example, in the case of _POSIX_SOURCE, which is predefined and required
14097 # on some systems where configure will not decide to define it.
14098 # (The regexp can be short, since the line contains either #define or #undef.)
14100 s,^[ #]*u.*,/* & */,' >>conftest.defines
14102 # Break up conftest.defines:
14103 ac_max_sed_lines
=50
14105 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
14106 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
14107 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
14109 ac_in
='$ac_file_inputs'
14110 ac_out
='"$tmp/out1"'
14111 ac_nxt
='"$tmp/out2"'
14115 # Write a here document:
14116 cat >>$CONFIG_STATUS <<_ACEOF
14117 # First, check the format of the line:
14118 cat >"\$tmp/defines.sed" <<\\CEOF
14119 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
14120 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
14124 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
14126 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
14127 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
14128 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
14129 grep . conftest.
tail >/dev
/null ||
break
14130 rm -f conftest.defines
14131 mv conftest.
tail conftest.defines
14133 rm -f conftest.defines conftest.
tail
14135 echo "ac_result=$ac_in" >>$CONFIG_STATUS
14136 cat >>$CONFIG_STATUS <<\_ACEOF
14137 if test x
"$ac_file" != x-
; then
14138 echo "/* $configure_input */" >"$tmp/config.h"
14139 cat "$ac_result" >>"$tmp/config.h"
14140 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
14141 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14142 echo "$as_me: $ac_file is unchanged" >&6;}
14145 mv "$tmp/config.h" $ac_file
14148 echo "/* $configure_input */"
14154 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
14155 echo "$as_me: executing $ac_file commands" >&6;}
14160 case $ac_file$ac_mode in
14161 "compiler_executable":C
)
14162 prefix
=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
14164 prefix
="${prefix}/${aros_target_cpu}-aros"
14165 prefix2
=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
14169 chmod a
+x
${prefix2}-gcc ${prefix2}-ld
14171 ln -sf ${prefix2}-gcc ${prefix}-gcc
14172 ln -sf ${prefix2}-ld ${prefix}-ld
14174 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix}-as
14175 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix}-nm
14176 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix}-ar
14177 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix}-ranlib
14178 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix}-objcopy
14179 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix}-objdump
14180 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix}-strip
14182 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix2}-as
14183 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix2}-nm
14184 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix2}-ar
14185 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix2}-ranlib
14186 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix2}-objcopy
14187 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix2}-objdump
14188 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix2}-strip
14190 "genshared_executable":C
) chmod a
+x
${aros_scripts_dir}/genshared
;;
14191 "genmf_executable":C
) chmod a
+x
${aros_tools_dir}/genmf.py
;;
14197 { (exit 0); exit 0; }
14199 chmod +x
$CONFIG_STATUS
14200 ac_clean_files
=$ac_clean_files_save
14203 # configure is writing to config.log, and then calls config.status.
14204 # config.status does its own redirection, appending to config.log.
14205 # Unfortunately, on DOS this fails, as config.log is still kept open
14206 # by configure, so config.status won't be able to write to it; its
14207 # output is simply discarded. So we exec the FD to /dev/null,
14208 # effectively closing config.log, so it can be properly (re)opened and
14209 # appended to by config.status. When coming back to configure, we
14210 # need to make the FD available again.
14211 if test "$no_create" != yes; then
14213 ac_config_status_args
=
14214 test "$silent" = yes &&
14215 ac_config_status_args
="$ac_config_status_args --quiet"
14217 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14219 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14220 # would make configure fail if this is the last instruction.
14221 $ac_cs_success ||
{ (exit 1); exit 1; }
14226 #XXX compatability...
14227 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
14229 if test -n "$aros_shared_cflags" ; then
14230 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
14231 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg