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
725 aros_target_nostdinc_cflags
726 aros_target_nostartup_ldflags
727 aros_target_nix_ldflags
728 aros_target_detach_ldflags
729 aros_target_nostdlib_ldflags
731 host_cflags_iquote_end
733 kernel_cflags_iquote_end
735 aros_cflags_iquote_end
763 aros_target_bootloader
777 aros_target_cc_includes
796 aros_kernel_objcflags
803 aros_target_strip_flags
808 aros_default_wbheight
812 aros_host_x11_includes
813 aros_host_x11_libdirs
818 aros_nesting_supervisor
832 ignore_undefined_symbols
836 ac_precious_vars
='build_alias
848 # Initialize some variables set by options.
850 ac_init_version
=false
851 # The variables have the same names as the options, with
852 # dashes changed to underlines.
860 program_transform_name
=s
,x
,x
,
868 # Installation directory options.
869 # These are left unexpanded so users can "make install exec_prefix=/foo"
870 # and all the variables that are supposed to be based on exec_prefix
871 # by default will actually change.
872 # Use braces instead of parens because sh, perl, etc. also accept them.
873 # (The list follows the same order as the GNU Coding Standards.)
874 bindir
='${exec_prefix}/bin'
875 sbindir
='${exec_prefix}/sbin'
876 libexecdir
='${exec_prefix}/libexec'
877 datarootdir
='${prefix}/share'
878 datadir
='${datarootdir}'
879 sysconfdir
='${prefix}/etc'
880 sharedstatedir
='${prefix}/com'
881 localstatedir
='${prefix}/var'
882 includedir
='${prefix}/include'
883 oldincludedir
='/usr/include'
884 docdir
='${datarootdir}/doc/${PACKAGE}'
885 infodir
='${datarootdir}/info'
890 libdir
='${exec_prefix}/lib'
891 localedir
='${datarootdir}/locale'
892 mandir
='${datarootdir}/man'
898 # If the previous option needs an argument, assign it.
899 if test -n "$ac_prev"; then
900 eval $ac_prev=\
$ac_option
906 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
910 # Accept the important Cygnus configure options, so we can diagnose typos.
912 case $ac_dashdash$ac_option in
916 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
918 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
921 -build |
--build |
--buil |
--bui |
--bu)
922 ac_prev
=build_alias
;;
923 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
924 build_alias
=$ac_optarg ;;
926 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
927 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
928 ac_prev
=cache_file
;;
929 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
930 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
931 cache_file
=$ac_optarg ;;
934 cache_file
=config.cache
;;
936 -datadir |
--datadir |
--datadi |
--datad)
938 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
939 datadir
=$ac_optarg ;;
941 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
942 |
--dataroo |
--dataro |
--datar)
943 ac_prev
=datarootdir
;;
944 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
945 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
946 datarootdir
=$ac_optarg ;;
948 -disable-* |
--disable-*)
949 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
950 # Reject names that are not valid shell variable names.
951 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
952 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
953 { (exit 1); exit 1; }; }
954 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
955 eval enable_
$ac_feature=no
;;
957 -docdir |
--docdir |
--docdi |
--doc |
--do)
959 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
962 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
964 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
967 -enable-* |
--enable-*)
968 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
969 # Reject names that are not valid shell variable names.
970 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
971 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
972 { (exit 1); exit 1; }; }
973 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
974 eval enable_
$ac_feature=\
$ac_optarg ;;
976 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
977 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
978 |
--exec |
--exe |
--ex)
979 ac_prev
=exec_prefix
;;
980 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
981 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
982 |
--exec=* |
--exe=* |
--ex=*)
983 exec_prefix
=$ac_optarg ;;
985 -gas |
--gas |
--ga |
--g)
986 # Obsolete; use --with-gas.
989 -help |
--help |
--hel |
--he |
-h)
991 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
992 ac_init_help
=recursive
;;
993 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
994 ac_init_help
=short
;;
996 -host |
--host |
--hos |
--ho)
997 ac_prev
=host_alias
;;
998 -host=* |
--host=* |
--hos=* |
--ho=*)
999 host_alias
=$ac_optarg ;;
1001 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1003 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1005 htmldir
=$ac_optarg ;;
1007 -includedir |
--includedir |
--includedi |
--included |
--include \
1008 |
--includ |
--inclu |
--incl |
--inc)
1009 ac_prev
=includedir
;;
1010 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1011 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1012 includedir
=$ac_optarg ;;
1014 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1016 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1017 infodir
=$ac_optarg ;;
1019 -libdir |
--libdir |
--libdi |
--libd)
1021 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1022 libdir
=$ac_optarg ;;
1024 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1025 |
--libexe |
--libex |
--libe)
1026 ac_prev
=libexecdir
;;
1027 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1028 |
--libexe=* |
--libex=* |
--libe=*)
1029 libexecdir
=$ac_optarg ;;
1031 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1032 ac_prev
=localedir
;;
1033 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1034 localedir
=$ac_optarg ;;
1036 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1037 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1038 ac_prev
=localstatedir
;;
1039 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1040 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1041 localstatedir
=$ac_optarg ;;
1043 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1045 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1046 mandir
=$ac_optarg ;;
1048 -nfp |
--nfp |
--nf)
1049 # Obsolete; use --without-fp.
1052 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1053 |
--no-cr |
--no-c |
-n)
1056 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1057 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1060 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1061 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1062 |
--oldin |
--oldi |
--old |
--ol |
--o)
1063 ac_prev
=oldincludedir
;;
1064 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1065 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1066 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1067 oldincludedir
=$ac_optarg ;;
1069 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1071 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1072 prefix
=$ac_optarg ;;
1074 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1075 |
--program-pre |
--program-pr |
--program-p)
1076 ac_prev
=program_prefix
;;
1077 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1078 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1079 program_prefix
=$ac_optarg ;;
1081 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1082 |
--program-suf |
--program-su |
--program-s)
1083 ac_prev
=program_suffix
;;
1084 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1085 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1086 program_suffix
=$ac_optarg ;;
1088 -program-transform-name |
--program-transform-name \
1089 |
--program-transform-nam |
--program-transform-na \
1090 |
--program-transform-n |
--program-transform- \
1091 |
--program-transform |
--program-transfor \
1092 |
--program-transfo |
--program-transf \
1093 |
--program-trans |
--program-tran \
1094 |
--progr-tra |
--program-tr |
--program-t)
1095 ac_prev
=program_transform_name
;;
1096 -program-transform-name=* |
--program-transform-name=* \
1097 |
--program-transform-nam=* |
--program-transform-na=* \
1098 |
--program-transform-n=* |
--program-transform-=* \
1099 |
--program-transform=* |
--program-transfor=* \
1100 |
--program-transfo=* |
--program-transf=* \
1101 |
--program-trans=* |
--program-tran=* \
1102 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1103 program_transform_name
=$ac_optarg ;;
1105 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1107 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1108 pdfdir
=$ac_optarg ;;
1110 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1112 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1115 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1116 |
-silent |
--silent |
--silen |
--sile |
--sil)
1119 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1121 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1123 sbindir
=$ac_optarg ;;
1125 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1126 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1127 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1129 ac_prev
=sharedstatedir
;;
1130 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1131 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1132 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1134 sharedstatedir
=$ac_optarg ;;
1136 -site |
--site |
--sit)
1138 -site=* |
--site=* |
--sit=*)
1141 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1143 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1144 srcdir
=$ac_optarg ;;
1146 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1147 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1148 ac_prev
=sysconfdir
;;
1149 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1150 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1151 sysconfdir
=$ac_optarg ;;
1153 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1154 ac_prev
=target_alias
;;
1155 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1156 target_alias
=$ac_optarg ;;
1158 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1161 -version |
--version |
--versio |
--versi |
--vers |
-V)
1162 ac_init_version
=: ;;
1165 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1166 # Reject names that are not valid shell variable names.
1167 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1168 { echo "$as_me: error: invalid package name: $ac_package" >&2
1169 { (exit 1); exit 1; }; }
1170 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1171 eval with_
$ac_package=\
$ac_optarg ;;
1173 -without-* |
--without-*)
1174 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1175 # Reject names that are not valid shell variable names.
1176 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1177 { echo "$as_me: error: invalid package name: $ac_package" >&2
1178 { (exit 1); exit 1; }; }
1179 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1180 eval with_
$ac_package=no
;;
1183 # Obsolete; use --with-x.
1186 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1187 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1188 ac_prev
=x_includes
;;
1189 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1190 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1191 x_includes
=$ac_optarg ;;
1193 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1194 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1195 ac_prev
=x_libraries
;;
1196 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1197 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1198 x_libraries
=$ac_optarg ;;
1200 -*) { echo "$as_me: error: unrecognized option: $ac_option
1201 Try \`$0 --help' for more information." >&2
1202 { (exit 1); exit 1; }; }
1206 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1207 # Reject names that are not valid shell variable names.
1208 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1209 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1210 { (exit 1); exit 1; }; }
1211 eval $ac_envvar=\
$ac_optarg
1212 export $ac_envvar ;;
1215 # FIXME: should be removed in autoconf 3.0.
1216 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1217 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1218 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1219 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1225 if test -n "$ac_prev"; then
1226 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1227 { echo "$as_me: error: missing argument to $ac_option" >&2
1228 { (exit 1); exit 1; }; }
1231 # Be sure to have absolute directory names.
1232 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1233 datadir sysconfdir sharedstatedir localstatedir includedir \
1234 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1235 libdir localedir mandir
1237 eval ac_val
=\$
$ac_var
1239 [\\/$
]* | ?
:[\\/]* ) continue;;
1240 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1242 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1243 { (exit 1); exit 1; }; }
1246 # There might be people who depend on the old broken behavior: `$host'
1247 # used to hold the argument of --host etc.
1248 # FIXME: To remove some day.
1251 target
=$target_alias
1253 # FIXME: To remove some day.
1254 if test "x$host_alias" != x
; then
1255 if test "x$build_alias" = x
; then
1256 cross_compiling
=maybe
1257 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1258 If a cross compiler is detected then cross compile mode will be used." >&2
1259 elif test "x$build_alias" != "x$host_alias"; then
1265 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1267 test "$silent" = yes && exec 6>/dev
/null
1270 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1271 ac_ls_di
=`ls -di .` &&
1272 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1273 { echo "$as_me: error: Working directory cannot be determined" >&2
1274 { (exit 1); exit 1; }; }
1275 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1276 { echo "$as_me: error: pwd does not report name of working directory" >&2
1277 { (exit 1); exit 1; }; }
1280 # Find the source files, if location was not specified.
1281 if test -z "$srcdir"; then
1282 ac_srcdir_defaulted
=yes
1283 # Try the directory containing this script, then the parent directory.
1284 ac_confdir
=`$as_dirname -- "$0" ||
1285 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1286 X"$0" : 'X\(//\)[^/]' \| \
1287 X"$0" : 'X\(//\)$' \| \
1288 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1290 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1308 if test ! -r "$srcdir/$ac_unique_file"; then
1312 ac_srcdir_defaulted
=no
1314 if test ! -r "$srcdir/$ac_unique_file"; then
1315 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1316 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1317 { (exit 1); exit 1; }; }
1319 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1321 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1322 { (exit 1); exit 1; }; }
1324 # When building in place, set srcdir=.
1325 if test "$ac_abs_confdir" = "$ac_pwd"; then
1328 # Remove unnecessary trailing slashes from srcdir.
1329 # Double slashes in file names in object file debugging info
1330 # mess up M-x gdb in Emacs.
1332 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1334 for ac_var
in $ac_precious_vars; do
1335 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1336 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1337 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1338 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1342 # Report the --help message.
1344 if test "$ac_init_help" = "long"; then
1345 # Omit some internal or obsolete options to make the list less imposing.
1346 # This message is too long to be a string in the A/UX 3.1 sh.
1348 \`configure' configures this package to adapt to many kinds of systems.
1350 Usage: $0 [OPTION]... [VAR=VALUE]...
1352 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1353 VAR=VALUE. See below for descriptions of some of the useful variables.
1355 Defaults for the options are specified in brackets.
1358 -h, --help display this help and exit
1359 --help=short display options specific to this package
1360 --help=recursive display the short help of all the included packages
1361 -V, --version display version information and exit
1362 -q, --quiet, --silent do not print \`checking...' messages
1363 --cache-file=FILE cache test results in FILE [disabled]
1364 -C, --config-cache alias for \`--cache-file=config.cache'
1365 -n, --no-create do not create output files
1366 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1368 Installation directories:
1369 --prefix=PREFIX install architecture-independent files in PREFIX
1370 [$ac_default_prefix]
1371 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1374 By default, \`make install' will install all the files in
1375 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1376 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1377 for instance \`--prefix=\$HOME'.
1379 For better control, use the options below.
1381 Fine tuning of the installation directories:
1382 --bindir=DIR user executables [EPREFIX/bin]
1383 --sbindir=DIR system admin executables [EPREFIX/sbin]
1384 --libexecdir=DIR program executables [EPREFIX/libexec]
1385 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1386 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1387 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1388 --libdir=DIR object code libraries [EPREFIX/lib]
1389 --includedir=DIR C header files [PREFIX/include]
1390 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1391 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1392 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1393 --infodir=DIR info documentation [DATAROOTDIR/info]
1394 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1395 --mandir=DIR man documentation [DATAROOTDIR/man]
1396 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1397 --htmldir=DIR html documentation [DOCDIR]
1398 --dvidir=DIR dvi documentation [DOCDIR]
1399 --pdfdir=DIR pdf documentation [DOCDIR]
1400 --psdir=DIR ps documentation [DOCDIR]
1406 --x-includes=DIR X include files are
in DIR
1407 --x-libraries=DIR X library files are
in DIR
1410 --build=BUILD configure
for building on BUILD
[guessed
]
1411 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1415 if test -n "$ac_init_help"; then
1420 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1421 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1422 --enable-build-type=TYPE
1423 Select the build
type. Available types are
:
1424 personal
, nightly
, snapshot
, milestone
, release. Do
1425 NOT use this option unless you know what you are
1426 doing
! (default
=personal
)
1427 --enable-debug=list Enable different types of debug. Commas or
1428 whitespaces can be used to separate the items
in the
1429 list. Available types of debug are
: all
, none
,
1430 messages
, stack
, mungwall
, modules
, symbols. If no
1431 list is provided
then "all" is assumed.
1433 --enable-crosstools Build cross-compiler toolchains
if necessary
1435 --enable-distcc Use distcc as a front end to the compiler
1437 --enable-ccache Use ccache as a front end to the compiler
1439 --enable-target-variant=NAME
1440 Enable a specific target variant
(default
=none
)
1441 --enable-includes=dir Alternative system include directory
1442 --enable-palm-debug-hack
1443 Enable palm debug output hack
in palm native
1445 --enable-nesting-supervisor
1446 Enable nesting supervisor support
in unix
1448 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1449 --enable-x11-shm use X11 shared memory
(default
=auto
)
1450 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1451 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1452 --disable-sdltest Do not try to compile and run a
test SDL program
1453 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1456 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1457 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1458 --with-gcc-version=VERSION
1459 Use gcc-VERSION
for building AROS
1460 --with-optimization=FLAGS
1461 Use optimization flags FLAGS
(default
=-O2).
1462 --with-paranoia=FLAGS CC flags to
enable paranoia
1463 --with-xcode=PATH Specify XCode path
for iOS targets
1464 (default
=/Developer
).
1465 --with-ios-version=VERSION
1466 Specify minimum supported iOS version
(default
=2.0).
1467 --with-ios-sdk=VERSION Use iOS SDK version VERSION
(default
=4.1).
1468 --with-portssources=DIR Where to download sourcecode
for external ports
1469 --with-bootloader=NAME Use a specific bootloader
1470 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1471 --with-theme=NAME Use a specific GUI Theme
1472 --with-resolution=XRESxYRESxDEPTH
1473 Default resolution of the initial WorkbenchScreen
1474 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1475 --with-x use the X Window System
1476 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1477 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1479 Some influential environment variables
:
1480 CC C compiler
command
1481 CFLAGS C compiler flags
1482 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1483 nonstandard directory
<lib dir
>
1484 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1485 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1486 you have headers
in a nonstandard directory
<include dir
>
1488 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1490 Use these variables to override the choices made by
`configure' or to help
1491 it to find libraries and programs with nonstandard names/locations.
1497 if test "$ac_init_help" = "recursive"; then
1498 # If there are subdirs, report their specific --help.
1499 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1500 test -d "$ac_dir" || continue
1504 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1506 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1507 # A ".." for each directory in $ac_dir_suffix.
1508 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1509 case $ac_top_builddir_sub in
1510 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1511 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1514 ac_abs_top_builddir=$ac_pwd
1515 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1516 # for backward compatibility:
1517 ac_top_builddir=$ac_top_build_prefix
1520 .) # We are building in place.
1522 ac_top_srcdir=$ac_top_builddir_sub
1523 ac_abs_top_srcdir=$ac_pwd ;;
1524 [\\/]* | ?:[\\/]* ) # Absolute name.
1525 ac_srcdir=$srcdir$ac_dir_suffix;
1526 ac_top_srcdir=$srcdir
1527 ac_abs_top_srcdir=$srcdir ;;
1529 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1530 ac_top_srcdir=$ac_top_build_prefix$srcdir
1531 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1533 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1535 cd "$ac_dir" || { ac_status=$?; continue; }
1536 # Check for guested configure.
1537 if test -f "$ac_srcdir/configure.gnu"; then
1539 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1540 elif test -f "$ac_srcdir/configure"; then
1542 $SHELL "$ac_srcdir/configure" --help=recursive
1544 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1546 cd "$ac_pwd" || { ac_status=$?; break; }
1550 test -n "$ac_init_help" && exit $ac_status
1551 if $ac_init_version; then
1554 generated by GNU Autoconf 2.61
1556 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1557 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1558 This configure script is free software; the Free Software Foundation
1559 gives unlimited permission to copy, distribute and modify it.
1563 cat >config.log <<_ACEOF
1564 This file contains any messages produced by compilers while
1565 running configure, to aid debugging if configure makes a mistake.
1567 It was created by $as_me, which was
1568 generated by GNU Autoconf 2.61. Invocation command line was
1580 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1581 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1582 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1583 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1584 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1586 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1587 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1589 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1590 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1591 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1592 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1593 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1594 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1595 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1603 test -z "$as_dir" && as_dir=.
1604 echo "PATH: $as_dir"
1620 # Keep a trace of the command line.
1621 # Strip out --no-create and --no-recursion so they do not pile up.
1622 # Strip out --silent because we don't want to record it for future runs.
1623 # Also quote any args containing shell meta-characters.
1624 # Make two passes to allow for proper duplicate-argument suppression.
1628 ac_must_keep_next=false
1634 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1635 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1636 | -silent | --silent | --silen | --sile | --sil)
1639 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1642 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1644 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1645 if test $ac_must_keep_next = true; then
1646 ac_must_keep_next=false # Got value, back to normal.
1649 *=* | --config-cache | -C | -disable-* | --disable-* \
1650 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1651 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1652 | -with-* | --with-* | -without-* | --without-* | --x)
1653 case "$ac_configure_args0 " in
1654 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1657 -* ) ac_must_keep_next=true ;;
1660 ac_configure_args="$ac_configure_args '$ac_arg'"
1665 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1666 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1668 # When interrupted or exit'd, cleanup temporary files, and complete
1669 # config.log. We remove comments because anyway the quotes in there
1670 # would cause problems or look ugly.
1671 # WARNING: Use '\'' to represent an apostrophe within the trap.
1672 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1673 trap 'exit_status=$?
1674 # Save into config.log some information that might help in debugging.
1679 ## ---------------- ##
1680 ## Cache variables. ##
1681 ## ---------------- ##
1684 # The following way of writing the cache mishandles newlines in values,
1686 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1687 eval ac_val=\$$ac_var
1691 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1692 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1695 _ | IFS | as_nl) ;; #(
1696 *) $as_unset $ac_var ;;
1701 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1702 *${as_nl}ac_space=\ *)
1704 "s/'\''/'\''\\\\'\'''\''/g;
1705 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1708 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1716 ## ----------------- ##
1717 ## Output variables. ##
1718 ## ----------------- ##
1721 for ac_var in $ac_subst_vars
1723 eval ac_val=\$$ac_var
1725 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1727 echo "$ac_var='\''$ac_val'\''"
1731 if test -n "$ac_subst_files"; then
1733 ## ------------------- ##
1734 ## File substitutions. ##
1735 ## ------------------- ##
1738 for ac_var in $ac_subst_files
1740 eval ac_val=\$$ac_var
1742 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1744 echo "$ac_var='\''$ac_val'\''"
1749 if test -s confdefs.h; then
1759 test "$ac_signal" != 0 &&
1760 echo "$as_me: caught signal $ac_signal"
1761 echo "$as_me: exit $exit_status"
1763 rm -f core *.core core.conftest.* &&
1764 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1767 for ac_signal in 1 2 13 15; do
1768 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1772 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1773 rm -f -r conftest* confdefs.h
1775 # Predefined preprocessor variables.
1777 cat >>confdefs.h <<_ACEOF
1778 #define PACKAGE_NAME "$PACKAGE_NAME"
1782 cat >>confdefs.h <<_ACEOF
1783 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1787 cat >>confdefs.h <<_ACEOF
1788 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1792 cat >>confdefs.h <<_ACEOF
1793 #define PACKAGE_STRING "$PACKAGE_STRING"
1797 cat >>confdefs.h <<_ACEOF
1798 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1802 # Let the site file select an alternate cache file if it wants to.
1803 # Prefer explicitly selected file to automatically selected ones.
1804 if test -n "$CONFIG_SITE"; then
1805 set x "$CONFIG_SITE"
1806 elif test "x$prefix" != xNONE; then
1807 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1809 set x "$ac_default_prefix/share/config.site" \
1810 "$ac_default_prefix/etc/config.site"
1815 if test -r "$ac_site_file"; then
1816 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1817 echo "$as_me: loading site script $ac_site_file" >&6;}
1818 sed 's/^/| /' "$ac_site_file" >&5
1823 if test -r "$cache_file"; then
1824 # Some versions of bash will fail to source /dev/null (special
1825 # files actually), so we avoid doing that.
1826 if test -f "$cache_file"; then
1827 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1828 echo "$as_me: loading cache $cache_file" >&6;}
1830 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1831 *) . "./$cache_file";;
1835 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1836 echo "$as_me: creating cache $cache_file" >&6;}
1840 # Check that the precious variables saved in the cache have kept the same
1842 ac_cache_corrupted=false
1843 for ac_var in $ac_precious_vars; do
1844 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1845 eval ac_new_set=\$ac_env_${ac_var}_set
1846 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1847 eval ac_new_val=\$ac_env_${ac_var}_value
1848 case $ac_old_set,$ac_new_set in
1850 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1851 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1852 ac_cache_corrupted=: ;;
1854 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1855 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1856 ac_cache_corrupted=: ;;
1859 if test "x$ac_old_val" != "x$ac_new_val"; then
1860 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1861 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1862 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1863 echo "$as_me: former value
: $ac_old_val" >&2;}
1864 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1865 echo "$as_me: current value
: $ac_new_val" >&2;}
1866 ac_cache_corrupted=:
1869 # Pass precious variables to config.status.
1870 if test "$ac_new_set" = set; then
1872 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1873 *) ac_arg=$ac_var=$ac_new_val ;;
1875 case " $ac_configure_args " in
1876 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1877 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1881 if $ac_cache_corrupted; then
1882 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1883 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1884 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1885 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1886 { (exit 1); exit 1; }; }
1906 ac_cpp='$CPP $CPPFLAGS'
1907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1914 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
1915 if test -f "$ac_dir/install-sh"; then
1917 ac_install_sh="$ac_aux_dir/install-sh -c"
1919 elif test -f "$ac_dir/install.sh"; then
1921 ac_install_sh="$ac_aux_dir/install.sh -c"
1923 elif test -f "$ac_dir/shtool"; then
1925 ac_install_sh="$ac_aux_dir/shtool install -c"
1929 if test -z "$ac_aux_dir"; then
1930 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts/autoconf \"$srcdir\"/scripts/autoconf" >&5
1931 echo "$as_me: error: cannot find install-sh or install.sh in scripts/autoconf \"$srcdir\"/scripts/autoconf" >&2;}
1932 { (exit 1); exit 1; }; }
1935 # These three variables are undocumented and unsupported,
1936 # and are intended to be withdrawn in a future Autoconf release.
1937 # They can cause serious problems if a builder's source tree is in a directory
1938 # whose full name contains unusual characters.
1939 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1940 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1941 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1945 # Check what host we are running on.
1946 # If a target is not suggested, we use this one.
1947 # Note that what we call a target, Autoconf calls a host.
1948 # Make sure we can run config.sub.
1949 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1950 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1951 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1952 { (exit 1); exit 1; }; }
1954 { echo "$as_me:$LINENO: checking build system type" >&5
1955 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1956 if test "${ac_cv_build+set}" = set; then
1957 echo $ECHO_N "(cached) $ECHO_C" >&6
1959 ac_build_alias=$build_alias
1960 test "x$ac_build_alias" = x &&
1961 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1962 test "x$ac_build_alias" = x &&
1963 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1964 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1965 { (exit 1); exit 1; }; }
1966 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1967 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1968 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1969 { (exit 1); exit 1; }; }
1972 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1973 echo "${ECHO_T}$ac_cv_build" >&6; }
1974 case $ac_cv_build in
1976 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1977 echo "$as_me: error: invalid value of canonical build" >&2;}
1978 { (exit 1); exit 1; }; };;
1981 ac_save_IFS=$IFS; IFS='-'
1987 # Remember, the first character of IFS is used to create $*,
1988 # except with old shells:
1991 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
1994 { echo "$as_me:$LINENO: checking host system type" >&5
1995 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1996 if test "${ac_cv_host+set}" = set; then
1997 echo $ECHO_N "(cached) $ECHO_C" >&6
1999 if test "x$host_alias" = x; then
2000 ac_cv_host=$ac_cv_build
2002 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2003 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2004 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2005 { (exit 1); exit 1; }; }
2009 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2010 echo "${ECHO_T}$ac_cv_host" >&6; }
2013 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2014 echo "$as_me: error: invalid value of canonical host" >&2;}
2015 { (exit 1); exit 1; }; };;
2018 ac_save_IFS=$IFS; IFS='-'
2024 # Remember, the first character of IFS is used to create $*,
2025 # except with old shells:
2028 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2032 # The AROS target is slightly different to the normal GNU style
2033 # format. We don't have the middle part, and we reverse the order
2034 # of the $(CPU) and $(OS) bits.
2036 # Don't strip the version of the target yet, it might be
2037 # useful on some systems.
2039 { echo "$as_me:$LINENO: checking for AROS style target" >&5
2040 echo $ECHO_N "checking for AROS style target... $ECHO_C" >&6; }
2042 if test "$target" = "NONE" ; then
2043 target=$host_os-$host_cpu
2046 if test "$target" = "" ; then
2047 target=$host_os-$host_cpu
2053 { echo "$as_me:$LINENO: result: $target" >&5
2054 echo "${ECHO_T}$target" >&6; }
2056 if test "$host_os" = "mingw32" ; then
2060 #don't know where else to put this...
2061 { echo "$as_me:$LINENO: checking Building AROS in .. " >&5
2062 echo $ECHO_N "checking Building AROS in .. ... $ECHO_C" >&6; }
2063 AROS_BUILDDIR=`${PWDCMD-pwd}`
2064 AROS_BUILDDIR_UNIX=${PWD}
2065 { echo "$as_me:$LINENO: result: $AROS_BUILDDIR" >&5
2066 echo "${ECHO_T}$AROS_BUILDDIR" >&6; }
2068 { echo "$as_me:$LINENO: checking AROS Source in .. " >&5
2069 echo $ECHO_N "checking AROS Source in .. ... $ECHO_C" >&6; }
2070 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2072 { echo "$as_me:$LINENO: result: $SRCDIR" >&5
2073 echo "${ECHO_T}$SRCDIR" >&6; }
2075 # Parse the target field into something useful.
2077 target_os=`echo $target |
sed 's/^\([^-]*\)-\(.*\)$/\1/'`
2078 target_cpu=`echo $target |
sed 's/^\([^-]*\)-\(.*\)$/\2/'`
2081 aros_default_wbwidth=800
2082 aros_default_wbheight=600
2083 aros_default_wbdepth=4
2086 # The first step is to find the host binaries.
2087 # Check for a compiler.
2089 ac_cpp='$CPP $CPPFLAGS'
2090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2093 if test -n "$ac_tool_prefix"; then
2094 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2095 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2096 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2098 if test "${ac_cv_prog_CC+set}" = set; then
2099 echo $ECHO_N "(cached) $ECHO_C" >&6
2101 if test -n "$CC"; then
2102 ac_cv_prog_CC="$CC" # Let the user override the test.
2104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2108 test -z "$as_dir" && as_dir=.
2109 for ac_exec_ext in '' $ac_executable_extensions; do
2110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2111 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2122 if test -n "$CC"; then
2123 { echo "$as_me:$LINENO: result: $CC" >&5
2124 echo "${ECHO_T}$CC" >&6; }
2126 { echo "$as_me:$LINENO: result: no" >&5
2127 echo "${ECHO_T}no" >&6; }
2132 if test -z "$ac_cv_prog_CC"; then
2134 # Extract the first word of "gcc", so it can be a program name with args.
2135 set dummy gcc; ac_word=$2
2136 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2138 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2139 echo $ECHO_N "(cached) $ECHO_C" >&6
2141 if test -n "$ac_ct_CC"; then
2142 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2148 test -z "$as_dir" && as_dir=.
2149 for ac_exec_ext in '' $ac_executable_extensions; do
2150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2151 ac_cv_prog_ac_ct_CC="gcc"
2152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2161 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2162 if test -n "$ac_ct_CC"; then
2163 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2164 echo "${ECHO_T}$ac_ct_CC" >&6; }
2166 { echo "$as_me:$LINENO: result: no" >&5
2167 echo "${ECHO_T}no" >&6; }
2170 if test "x$ac_ct_CC" = x; then
2173 case $cross_compiling:$ac_tool_warned in
2175 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2176 whose name does not start with the host triplet. If you think this
2177 configuration is useful to you, please write to autoconf@gnu.org." >&5
2178 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2179 whose name does not start with the host triplet. If you think this
2180 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2181 ac_tool_warned=yes ;;
2189 if test -z "$CC"; then
2190 if test -n "$ac_tool_prefix"; then
2191 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2192 set dummy ${ac_tool_prefix}cc; ac_word=$2
2193 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2195 if test "${ac_cv_prog_CC+set}" = set; then
2196 echo $ECHO_N "(cached) $ECHO_C" >&6
2198 if test -n "$CC"; then
2199 ac_cv_prog_CC="$CC" # Let the user override the test.
2201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2205 test -z "$as_dir" && as_dir=.
2206 for ac_exec_ext in '' $ac_executable_extensions; do
2207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2208 ac_cv_prog_CC="${ac_tool_prefix}cc"
2209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2219 if test -n "$CC"; then
2220 { echo "$as_me:$LINENO: result: $CC" >&5
2221 echo "${ECHO_T}$CC" >&6; }
2223 { echo "$as_me:$LINENO: result: no" >&5
2224 echo "${ECHO_T}no" >&6; }
2230 if test -z "$CC"; then
2231 # Extract the first word of "cc", so it can be a program name with args.
2232 set dummy cc; ac_word=$2
2233 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2235 if test "${ac_cv_prog_CC+set}" = set; then
2236 echo $ECHO_N "(cached) $ECHO_C" >&6
2238 if test -n "$CC"; then
2239 ac_cv_prog_CC="$CC" # Let the user override the test.
2242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2246 test -z "$as_dir" && as_dir=.
2247 for ac_exec_ext in '' $ac_executable_extensions; do
2248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2249 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2250 ac_prog_rejected=yes
2254 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2261 if test $ac_prog_rejected = yes; then
2262 # We found a bogon in the path, so make sure we never use it.
2263 set dummy $ac_cv_prog_CC
2265 if test $# != 0; then
2266 # We chose a different compiler from the bogus one.
2267 # However, it has the same basename, so the bogon will be chosen
2268 # first if we set CC to just the basename; use the full file name.
2270 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2276 if test -n "$CC"; then
2277 { echo "$as_me:$LINENO: result: $CC" >&5
2278 echo "${ECHO_T}$CC" >&6; }
2280 { echo "$as_me:$LINENO: result: no" >&5
2281 echo "${ECHO_T}no" >&6; }
2286 if test -z "$CC"; then
2287 if test -n "$ac_tool_prefix"; then
2288 for ac_prog in cl.exe
2290 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2291 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2292 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2294 if test "${ac_cv_prog_CC+set}" = set; then
2295 echo $ECHO_N "(cached) $ECHO_C" >&6
2297 if test -n "$CC"; then
2298 ac_cv_prog_CC="$CC" # Let the user override the test.
2300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2304 test -z "$as_dir" && as_dir=.
2305 for ac_exec_ext in '' $ac_executable_extensions; do
2306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2307 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2318 if test -n "$CC"; then
2319 { echo "$as_me:$LINENO: result: $CC" >&5
2320 echo "${ECHO_T}$CC" >&6; }
2322 { echo "$as_me:$LINENO: result: no" >&5
2323 echo "${ECHO_T}no" >&6; }
2327 test -n "$CC" && break
2330 if test -z "$CC"; then
2332 for ac_prog in cl.exe
2334 # Extract the first word of "$ac_prog", so it can be a program name with args.
2335 set dummy $ac_prog; ac_word=$2
2336 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2338 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2339 echo $ECHO_N "(cached) $ECHO_C" >&6
2341 if test -n "$ac_ct_CC"; then
2342 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2348 test -z "$as_dir" && as_dir=.
2349 for ac_exec_ext in '' $ac_executable_extensions; do
2350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2351 ac_cv_prog_ac_ct_CC="$ac_prog"
2352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2361 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2362 if test -n "$ac_ct_CC"; then
2363 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2364 echo "${ECHO_T}$ac_ct_CC" >&6; }
2366 { echo "$as_me:$LINENO: result: no" >&5
2367 echo "${ECHO_T}no" >&6; }
2371 test -n "$ac_ct_CC" && break
2374 if test "x$ac_ct_CC" = x; then
2377 case $cross_compiling:$ac_tool_warned in
2379 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2380 whose name does not start with the host triplet. If you think this
2381 configuration is useful to you, please write to autoconf@gnu.org." >&5
2382 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2383 whose name does not start with the host triplet. If you think this
2384 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2385 ac_tool_warned=yes ;;
2394 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2395 See \`config.log
' for more details." >&5
2396 echo "$as_me: error: no acceptable C compiler found in \$PATH
2397 See \`config.log' for more details.
" >&2;}
2398 { (exit 1); exit 1; }; }
2400 # Provide some information about the compiler.
2401 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2402 ac_compiler=`set X $ac_compile; echo $2`
2403 { (ac_try="$ac_compiler --version >&5"
2405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2406 *) ac_try_echo=$ac_try;;
2408 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2409 (eval "$ac_compiler --version >&5") 2>&5
2411 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2412 (exit $ac_status); }
2413 { (ac_try="$ac_compiler -v >&5"
2415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2416 *) ac_try_echo=$ac_try;;
2418 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2419 (eval "$ac_compiler -v >&5") 2>&5
2421 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2422 (exit $ac_status); }
2423 { (ac_try="$ac_compiler -V >&5"
2425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2426 *) ac_try_echo=$ac_try;;
2428 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2429 (eval "$ac_compiler -V >&5") 2>&5
2431 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2432 (exit $ac_status); }
2434 cat >conftest.$ac_ext <<_ACEOF
2437 cat confdefs.h >>conftest.$ac_ext
2438 cat >>conftest.$ac_ext <<_ACEOF
2439 /* end confdefs.h. */
2449 ac_clean_files_save=$ac_clean_files
2450 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2451 # Try to create an executable without -o first, disregard a.out.
2452 # It will help us diagnose broken compilers, and finding out an intuition
2454 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2455 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2456 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2458 # List of possible output files, starting from the most likely.
2459 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2460 # only as a last resort. b.out is created by i960 compilers.
2461 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2463 # The IRIX 6 linker writes into existing files which may not be
2464 # executable, retaining their permissions. Remove them first so a
2465 # subsequent execution test works.
2467 for ac_file in $ac_files
2470 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2471 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2476 if { (ac_try="$ac_link_default"
2478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2479 *) ac_try_echo=$ac_try;;
2481 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2482 (eval "$ac_link_default") 2>&5
2484 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2485 (exit $ac_status); }; then
2486 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2487 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2488 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2489 # so that the user can short-circuit this test for compilers unknown to
2491 for ac_file in $ac_files ''
2493 test -f "$ac_file" || continue
2495 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2498 # We found the default executable, but exeext='' is most
2502 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2504 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2506 # We set ac_cv_exeext here because the later test for it is not
2507 # safe: cross compilers may not add the suffix if given an `-o'
2508 # argument, so we may need to know it at that point already.
2509 # Even if this section looks crufty: it has the advantage of
2516 test "$ac_cv_exeext" = no && ac_cv_exeext=
2522 { echo "$as_me:$LINENO: result
: $ac_file" >&5
2523 echo "${ECHO_T}$ac_file" >&6; }
2524 if test -z "$ac_file"; then
2525 echo "$as_me: failed program was
:" >&5
2526 sed 's/^/| /' conftest.$ac_ext >&5
2528 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2529 See \
`config.log' for more details." >&5
2530 echo "$as_me: error: C compiler cannot create executables
2531 See \`config.log
' for more details." >&2;}
2532 { (exit 77); exit 77; }; }
2535 ac_exeext=$ac_cv_exeext
2537 # Check that the compiler produces executables we can run. If not, either
2538 # the compiler is broken, or we cross compile.
2539 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2540 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2541 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2542 # If not cross compiling, check that we can run a simple program.
2543 if test "$cross_compiling" != yes; then
2544 if { ac_try='.
/$ac_file'
2545 { (case "(($ac_try" in
2546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2547 *) ac_try_echo=$ac_try;;
2549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2550 (eval "$ac_try") 2>&5
2552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2553 (exit $ac_status); }; }; then
2556 if test "$cross_compiling" = maybe; then
2559 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2560 If you meant to cross compile, use \`--host'.
2561 See \
`config.log' for more details." >&5
2562 echo "$as_me: error: cannot run C compiled programs.
2563 If you meant to cross compile, use \`--host'.
2564 See \`config.log' for more details.
" >&2;}
2565 { (exit 1); exit 1; }; }
2569 { echo "$as_me:$LINENO: result
: yes" >&5
2570 echo "${ECHO_T}yes" >&6; }
2572 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2573 ac_clean_files=$ac_clean_files_save
2574 # Check that the compiler produces executables we can run. If not, either
2575 # the compiler is broken, or we cross compile.
2576 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2577 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2578 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2579 echo "${ECHO_T}$cross_compiling" >&6; }
2581 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2582 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2583 if { (ac_try="$ac_link"
2585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2586 *) ac_try_echo=$ac_try;;
2588 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2589 (eval "$ac_link") 2>&5
2591 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2592 (exit $ac_status); }; then
2593 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2594 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2595 # work properly (i.e., refer to `conftest.exe'), while it won't with
2597 for ac_file in conftest.exe conftest conftest.*; do
2598 test -f "$ac_file" || continue
2600 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2601 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2607 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2608 See \
`config.log' for more details." >&5
2609 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2610 See \`config.log
' for more details." >&2;}
2611 { (exit 1); exit 1; }; }
2614 rm -f conftest$ac_cv_exeext
2615 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2616 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2618 rm -f conftest.$ac_ext
2619 EXEEXT=$ac_cv_exeext
2621 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2622 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2623 if test "${ac_cv_objext+set}" = set; then
2624 echo $ECHO_N "(cached) $ECHO_C" >&6
2626 cat >conftest.$ac_ext <<_ACEOF
2629 cat confdefs.h >>conftest.$ac_ext
2630 cat >>conftest.$ac_ext <<_ACEOF
2631 /* end confdefs.h. */
2641 rm -f conftest.o conftest.obj
2642 if { (ac_try="$ac_compile"
2644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2645 *) ac_try_echo=$ac_try;;
2647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2648 (eval "$ac_compile") 2>&5
2650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2651 (exit $ac_status); }; then
2652 for ac_file in conftest.o conftest.obj conftest.*; do
2653 test -f "$ac_file" || continue;
2655 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2656 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2661 echo "$as_me: failed program was:" >&5
2662 sed 's
/^
/|
/' conftest.$ac_ext >&5
2664 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2665 See \`config.log' for more details.
" >&5
2666 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2667 See \
`config.log' for more details." >&2;}
2668 { (exit 1); exit 1; }; }
2671 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2673 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2674 echo "${ECHO_T}$ac_cv_objext" >&6; }
2675 OBJEXT=$ac_cv_objext
2677 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2678 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2679 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2680 echo $ECHO_N "(cached) $ECHO_C" >&6
2682 cat >conftest.$ac_ext <<_ACEOF
2685 cat confdefs.h >>conftest.$ac_ext
2686 cat >>conftest.$ac_ext <<_ACEOF
2687 /* end confdefs.h. */
2700 rm -f conftest.$ac_objext
2701 if { (ac_try="$ac_compile"
2703 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2704 *) ac_try_echo
=$ac_try;;
2706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2707 (eval "$ac_compile") 2>conftest.er1
2709 grep -v '^ *+' conftest.er1
>conftest.err
2711 cat conftest.err
>&5
2712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2713 (exit $ac_status); } && {
2714 test -z "$ac_c_werror_flag" ||
2715 test ! -s conftest.err
2716 } && test -s conftest.
$ac_objext; then
2719 echo "$as_me: failed program was:" >&5
2720 sed 's/^/| /' conftest.
$ac_ext >&5
2725 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2726 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2729 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2730 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2731 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2732 ac_test_CFLAGS
=${CFLAGS+set}
2733 ac_save_CFLAGS
=$CFLAGS
2734 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2735 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2736 if test "${ac_cv_prog_cc_g+set}" = set; then
2737 echo $ECHO_N "(cached) $ECHO_C" >&6
2739 ac_save_c_werror_flag
=$ac_c_werror_flag
2740 ac_c_werror_flag
=yes
2743 cat >conftest.
$ac_ext <<_ACEOF
2746 cat confdefs.h
>>conftest.
$ac_ext
2747 cat >>conftest.
$ac_ext <<_ACEOF
2748 /* end confdefs.h. */
2758 rm -f conftest.
$ac_objext
2759 if { (ac_try
="$ac_compile"
2761 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2762 *) ac_try_echo=$ac_try;;
2764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2765 (eval "$ac_compile") 2>conftest.er1
2767 grep -v '^ *+' conftest.er1 >conftest.err
2769 cat conftest.err >&5
2770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771 (exit $ac_status); } && {
2772 test -z "$ac_c_werror_flag" ||
2773 test ! -s conftest.err
2774 } && test -s conftest.$ac_objext; then
2777 echo "$as_me: failed program was:" >&5
2778 sed 's/^/| /' conftest.$ac_ext >&5
2781 cat >conftest.$ac_ext <<_ACEOF
2784 cat confdefs.h >>conftest.$ac_ext
2785 cat >>conftest.$ac_ext <<_ACEOF
2786 /* end confdefs.h. */
2796 rm -f conftest.$ac_objext
2797 if { (ac_try="$ac_compile"
2799 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2800 *) ac_try_echo
=$ac_try;;
2802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2803 (eval "$ac_compile") 2>conftest.er1
2805 grep -v '^ *+' conftest.er1
>conftest.err
2807 cat conftest.err
>&5
2808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2809 (exit $ac_status); } && {
2810 test -z "$ac_c_werror_flag" ||
2811 test ! -s conftest.err
2812 } && test -s conftest.
$ac_objext; then
2815 echo "$as_me: failed program was:" >&5
2816 sed 's/^/| /' conftest.
$ac_ext >&5
2818 ac_c_werror_flag
=$ac_save_c_werror_flag
2820 cat >conftest.
$ac_ext <<_ACEOF
2823 cat confdefs.h
>>conftest.
$ac_ext
2824 cat >>conftest.
$ac_ext <<_ACEOF
2825 /* end confdefs.h. */
2835 rm -f conftest.
$ac_objext
2836 if { (ac_try
="$ac_compile"
2838 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2839 *) ac_try_echo=$ac_try;;
2841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2842 (eval "$ac_compile") 2>conftest.er1
2844 grep -v '^ *+' conftest.er1 >conftest.err
2846 cat conftest.err >&5
2847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2848 (exit $ac_status); } && {
2849 test -z "$ac_c_werror_flag" ||
2850 test ! -s conftest.err
2851 } && test -s conftest.$ac_objext; then
2854 echo "$as_me: failed program was:" >&5
2855 sed 's/^/| /' conftest.$ac_ext >&5
2860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2867 ac_c_werror_flag=$ac_save_c_werror_flag
2869 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2870 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2871 if test "$ac_test_CFLAGS" = set; then
2872 CFLAGS=$ac_save_CFLAGS
2873 elif test $ac_cv_prog_cc_g = yes; then
2874 if test "$GCC" = yes; then
2880 if test "$GCC" = yes; then
2886 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2887 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2888 if test "${ac_cv_prog_cc_c89+set}" = set; then
2889 echo $ECHO_N "(cached) $ECHO_C" >&6
2891 ac_cv_prog_cc_c89=no
2893 cat >conftest.$ac_ext <<_ACEOF
2896 cat confdefs.h >>conftest.$ac_ext
2897 cat >>conftest.$ac_ext <<_ACEOF
2898 /* end confdefs.h. */
2901 #include <sys/types.h>
2902 #include <sys/stat.h>
2903 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2904 struct buf { int x; };
2905 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2906 static char *e (p, i)
2912 static char *f (char * (*g) (char **, int), char **p, ...)
2917 s = g (p, va_arg (v,int));
2922 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2923 function prototypes and stuff, but not '\xHH' hex character constants.
2924 These don't provoke an error unfortunately, instead are silently treated
2925 as 'x'. The following induces an error, until -std is added to get
2926 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2927 array size at least. It's necessary to write '\x00'==0 to get something
2928 that's true only with -std. */
2929 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2931 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2932 inside strings and character constants. */
2934 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2936 int test (int i, double x);
2937 struct s1 {int (*f) (int a);};
2938 struct s2 {int (*f) (double a);};
2939 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2945 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2950 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2951 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2953 CC="$ac_save_CC $ac_arg"
2954 rm -f conftest.$ac_objext
2955 if { (ac_try="$ac_compile"
2957 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2958 *) ac_try_echo
=$ac_try;;
2960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2961 (eval "$ac_compile") 2>conftest.er1
2963 grep -v '^ *+' conftest.er1
>conftest.err
2965 cat conftest.err
>&5
2966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2967 (exit $ac_status); } && {
2968 test -z "$ac_c_werror_flag" ||
2969 test ! -s conftest.err
2970 } && test -s conftest.
$ac_objext; then
2971 ac_cv_prog_cc_c89
=$ac_arg
2973 echo "$as_me: failed program was:" >&5
2974 sed 's/^/| /' conftest.
$ac_ext >&5
2979 rm -f core conftest.err conftest.
$ac_objext
2980 test "x$ac_cv_prog_cc_c89" != "xno" && break
2982 rm -f conftest.
$ac_ext
2987 case "x$ac_cv_prog_cc_c89" in
2989 { echo "$as_me:$LINENO: result: none needed" >&5
2990 echo "${ECHO_T}none needed" >&6; } ;;
2992 { echo "$as_me:$LINENO: result: unsupported" >&5
2993 echo "${ECHO_T}unsupported" >&6; } ;;
2995 CC
="$CC $ac_cv_prog_cc_c89"
2996 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2997 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3002 ac_cpp
='$CPP $CPPFLAGS'
3003 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3004 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3005 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3007 case $ac_cv_prog_cc_stdc in
3008 no
) ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;;
3009 *) { echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
3010 echo $ECHO_N "checking for $CC option to accept ISO C99... $ECHO_C" >&6; }
3011 if test "${ac_cv_prog_cc_c99+set}" = set; then
3012 echo $ECHO_N "(cached) $ECHO_C" >&6
3014 ac_cv_prog_cc_c99
=no
3016 cat >conftest.
$ac_ext <<_ACEOF
3019 cat confdefs.h
>>conftest.
$ac_ext
3020 cat >>conftest.
$ac_ext <<_ACEOF
3021 /* end confdefs.h. */
3023 #include <stdbool.h>
3028 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3029 #define debug(...) fprintf (stderr, __VA_ARGS__)
3030 #define showlist(...) puts (#__VA_ARGS__)
3031 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3033 test_varargs_macros (void)
3038 debug ("X = %d\n", x);
3039 showlist (The first, second, and third items.);
3040 report (x>y, "x is %d but y is %d", x, y);
3043 // Check long long types.
3044 #define BIG64 18446744073709551615ull
3045 #define BIG32 4294967295ul
3046 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3048 your preprocessor is broken;
3052 your preprocessor is broken;
3054 static long long int bignum = -9223372036854775807LL;
3055 static unsigned long long int ubignum = BIG64;
3057 struct incomplete_array
3065 const wchar_t *name;
3069 typedef const char *ccp;
3072 test_restrict (ccp restrict text)
3074 // See if C++-style comments work.
3075 // Iterate through items via the restricted pointer.
3076 // Also check for declarations in for loops.
3077 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3082 // Check varargs and va_copy.
3084 test_varargs (const char *format, ...)
3087 va_start (args, format);
3089 va_copy (args_copy, args);
3100 str = va_arg (args_copy, const char *);
3103 number = va_arg (args_copy, int);
3106 fnumber = va_arg (args_copy, double);
3121 _Bool success = false;
3124 if (test_restrict ("String literal") == 0)
3126 char *restrict newvar = "Another string";
3129 test_varargs ("s, d' f .", "string", 65, 34.234);
3130 test_varargs_macros ();
3132 // Check flexible array members.
3133 struct incomplete_array *ia =
3134 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3136 for (int i = 0; i < ia->datasize; ++i)
3137 ia->data[i] = i * 1.234;
3139 // Check named initializers.
3140 struct named_init ni = {
3142 .name = L"Test wide string",
3143 .average = 543.34343,
3148 int dynamic_array[ni.number];
3149 dynamic_array[ni.number - 1] = 543;
3151 // work around unused variable warnings
3152 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3153 || dynamic_array[ni.number - 1] != 543);
3159 for ac_arg
in '' -std=gnu99
-c99 -qlanglvl=extc99
3161 CC
="$ac_save_CC $ac_arg"
3162 rm -f conftest.
$ac_objext
3163 if { (ac_try
="$ac_compile"
3165 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3166 *) ac_try_echo=$ac_try;;
3168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3169 (eval "$ac_compile") 2>conftest.er1
3171 grep -v '^ *+' conftest.er1 >conftest.err
3173 cat conftest.err >&5
3174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3175 (exit $ac_status); } && {
3176 test -z "$ac_c_werror_flag" ||
3177 test ! -s conftest.err
3178 } && test -s conftest.$ac_objext; then
3179 ac_cv_prog_cc_c99=$ac_arg
3181 echo "$as_me: failed program was:" >&5
3182 sed 's/^/| /' conftest.$ac_ext >&5
3187 rm -f core conftest.err conftest.$ac_objext
3188 test "x$ac_cv_prog_cc_c99" != "xno" && break
3190 rm -f conftest.$ac_ext
3195 case "x$ac_cv_prog_cc_c99" in
3197 { echo "$as_me:$LINENO: result: none needed" >&5
3198 echo "${ECHO_T}none needed" >&6; } ;;
3200 { echo "$as_me:$LINENO: result: unsupported" >&5
3201 echo "${ECHO_T}unsupported" >&6; } ;;
3203 CC="$CC $ac_cv_prog_cc_c99"
3204 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
3205 echo "${ECHO_T}$ac_cv_prog_cc_c99" >&6; } ;;
3207 if test "x$ac_cv_prog_cc_c99" != xno; then
3208 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3210 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3211 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3212 if test "${ac_cv_prog_cc_c89+set}" = set; then
3213 echo $ECHO_N "(cached) $ECHO_C" >&6
3215 ac_cv_prog_cc_c89=no
3217 cat >conftest.$ac_ext <<_ACEOF
3220 cat confdefs.h >>conftest.$ac_ext
3221 cat >>conftest.$ac_ext <<_ACEOF
3222 /* end confdefs.h. */
3225 #include <sys/types.h>
3226 #include <sys/stat.h>
3227 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3228 struct buf { int x; };
3229 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3230 static char *e (p, i)
3236 static char *f (char * (*g) (char **, int), char **p, ...)
3241 s = g (p, va_arg (v,int));
3246 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3247 function prototypes and stuff, but not '\xHH' hex character constants.
3248 These don't provoke an error unfortunately, instead are silently treated
3249 as 'x'. The following induces an error, until -std is added to get
3250 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3251 array size at least. It's necessary to write '\x00'==0 to get something
3252 that's true only with -std. */
3253 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3255 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3256 inside strings and character constants. */
3258 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3260 int test (int i, double x);
3261 struct s1 {int (*f) (int a);};
3262 struct s2 {int (*f) (double a);};
3263 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3269 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3274 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3275 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3277 CC="$ac_save_CC $ac_arg"
3278 rm -f conftest.$ac_objext
3279 if { (ac_try="$ac_compile"
3281 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3282 *) ac_try_echo
=$ac_try;;
3284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3285 (eval "$ac_compile") 2>conftest.er1
3287 grep -v '^ *+' conftest.er1
>conftest.err
3289 cat conftest.err
>&5
3290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3291 (exit $ac_status); } && {
3292 test -z "$ac_c_werror_flag" ||
3293 test ! -s conftest.err
3294 } && test -s conftest.
$ac_objext; then
3295 ac_cv_prog_cc_c89
=$ac_arg
3297 echo "$as_me: failed program was:" >&5
3298 sed 's/^/| /' conftest.
$ac_ext >&5
3303 rm -f core conftest.err conftest.
$ac_objext
3304 test "x$ac_cv_prog_cc_c89" != "xno" && break
3306 rm -f conftest.
$ac_ext
3311 case "x$ac_cv_prog_cc_c89" in
3313 { echo "$as_me:$LINENO: result: none needed" >&5
3314 echo "${ECHO_T}none needed" >&6; } ;;
3316 { echo "$as_me:$LINENO: result: unsupported" >&5
3317 echo "${ECHO_T}unsupported" >&6; } ;;
3319 CC
="$CC $ac_cv_prog_cc_c89"
3320 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3321 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3323 if test "x$ac_cv_prog_cc_c89" != xno
; then
3324 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
3326 ac_cv_prog_cc_stdc
=no
3334 { echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5
3335 echo $ECHO_N "checking for $CC option to accept ISO Standard C... $ECHO_C" >&6; }
3336 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3337 echo $ECHO_N "(cached) $ECHO_C" >&6
3340 case $ac_cv_prog_cc_stdc in
3341 no
) { echo "$as_me:$LINENO: result: unsupported" >&5
3342 echo "${ECHO_T}unsupported" >&6; } ;;
3343 '') { echo "$as_me:$LINENO: result: none needed" >&5
3344 echo "${ECHO_T}none needed" >&6; } ;;
3345 *) { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3346 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; } ;;
3351 ac_cpp
='$CPP $CPPFLAGS'
3352 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3353 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3354 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3355 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3356 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3357 # On Suns, sometimes $CPP names a directory.
3358 if test -n "$CPP" && test -d "$CPP"; then
3361 if test -z "$CPP"; then
3362 if test "${ac_cv_prog_CPP+set}" = set; then
3363 echo $ECHO_N "(cached) $ECHO_C" >&6
3365 # Double quotes because CPP needs to be expanded
3366 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3369 for ac_c_preproc_warn_flag
in '' yes
3371 # Use a header file that comes with gcc, so configuring glibc
3372 # with a fresh cross-compiler works.
3373 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3374 # <limits.h> exists even on freestanding compilers.
3375 # On the NeXT, cc -E runs the code through the compiler's parser,
3376 # not just through cpp. "Syntax error" is here to catch this case.
3377 cat >conftest.
$ac_ext <<_ACEOF
3380 cat confdefs.h
>>conftest.
$ac_ext
3381 cat >>conftest.
$ac_ext <<_ACEOF
3382 /* end confdefs.h. */
3384 # include <limits.h>
3386 # include <assert.h>
3390 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3392 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3393 *) ac_try_echo=$ac_try;;
3395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3396 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3398 grep -v '^ *+' conftest.er1 >conftest.err
3400 cat conftest.err >&5
3401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3402 (exit $ac_status); } >/dev/null && {
3403 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3404 test ! -s conftest.err
3408 echo "$as_me: failed program was:" >&5
3409 sed 's/^/| /' conftest.$ac_ext >&5
3411 # Broken: fails on valid input.
3415 rm -f conftest.err conftest.$ac_ext
3417 # OK, works on sane cases. Now check whether nonexistent headers
3418 # can be detected and how.
3419 cat >conftest.$ac_ext <<_ACEOF
3422 cat confdefs.h >>conftest.$ac_ext
3423 cat >>conftest.$ac_ext <<_ACEOF
3424 /* end confdefs.h. */
3425 #include <ac_nonexistent.h>
3427 if { (ac_try="$ac_cpp conftest.$ac_ext"
3429 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3430 *) ac_try_echo
=$ac_try;;
3432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3433 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3435 grep -v '^ *+' conftest.er1
>conftest.err
3437 cat conftest.err
>&5
3438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3439 (exit $ac_status); } >/dev
/null
&& {
3440 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3441 test ! -s conftest.err
3443 # Broken: success on invalid input.
3446 echo "$as_me: failed program was:" >&5
3447 sed 's/^/| /' conftest.
$ac_ext >&5
3449 # Passes both tests.
3454 rm -f conftest.err conftest.
$ac_ext
3457 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3458 rm -f conftest.err conftest.
$ac_ext
3459 if $ac_preproc_ok; then
3471 { echo "$as_me:$LINENO: result: $CPP" >&5
3472 echo "${ECHO_T}$CPP" >&6; }
3474 for ac_c_preproc_warn_flag
in '' yes
3476 # Use a header file that comes with gcc, so configuring glibc
3477 # with a fresh cross-compiler works.
3478 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3479 # <limits.h> exists even on freestanding compilers.
3480 # On the NeXT, cc -E runs the code through the compiler's parser,
3481 # not just through cpp. "Syntax error" is here to catch this case.
3482 cat >conftest.
$ac_ext <<_ACEOF
3485 cat confdefs.h
>>conftest.
$ac_ext
3486 cat >>conftest.
$ac_ext <<_ACEOF
3487 /* end confdefs.h. */
3489 # include <limits.h>
3491 # include <assert.h>
3495 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3497 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3498 *) ac_try_echo=$ac_try;;
3500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3501 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3503 grep -v '^ *+' conftest.er1 >conftest.err
3505 cat conftest.err >&5
3506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3507 (exit $ac_status); } >/dev/null && {
3508 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3509 test ! -s conftest.err
3513 echo "$as_me: failed program was:" >&5
3514 sed 's/^/| /' conftest.$ac_ext >&5
3516 # Broken: fails on valid input.
3520 rm -f conftest.err conftest.$ac_ext
3522 # OK, works on sane cases. Now check whether nonexistent headers
3523 # can be detected and how.
3524 cat >conftest.$ac_ext <<_ACEOF
3527 cat confdefs.h >>conftest.$ac_ext
3528 cat >>conftest.$ac_ext <<_ACEOF
3529 /* end confdefs.h. */
3530 #include <ac_nonexistent.h>
3532 if { (ac_try="$ac_cpp conftest.$ac_ext"
3534 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3535 *) ac_try_echo
=$ac_try;;
3537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3538 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3540 grep -v '^ *+' conftest.er1
>conftest.err
3542 cat conftest.err
>&5
3543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3544 (exit $ac_status); } >/dev
/null
&& {
3545 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3546 test ! -s conftest.err
3548 # Broken: success on invalid input.
3551 echo "$as_me: failed program was:" >&5
3552 sed 's/^/| /' conftest.
$ac_ext >&5
3554 # Passes both tests.
3559 rm -f conftest.err conftest.
$ac_ext
3562 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3563 rm -f conftest.err conftest.
$ac_ext
3564 if $ac_preproc_ok; then
3567 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3568 See \`config.log' for more details." >&5
3569 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3570 See \`config.log' for more details." >&2;}
3571 { (exit 1); exit 1; }; }
3575 ac_cpp
='$CPP $CPPFLAGS'
3576 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3577 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3578 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3581 # Check for a compatible awk
3582 for ac_prog
in gawk nawk
3584 # Extract the first word of "$ac_prog", so it can be a program name with args.
3585 set dummy
$ac_prog; ac_word
=$2
3586 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3588 if test "${ac_cv_prog_AWK+set}" = set; then
3589 echo $ECHO_N "(cached) $ECHO_C" >&6
3591 if test -n "$AWK"; then
3592 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3598 test -z "$as_dir" && as_dir
=.
3599 for ac_exec_ext
in '' $ac_executable_extensions; do
3600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3601 ac_cv_prog_AWK
="$ac_prog"
3602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3612 if test -n "$AWK"; then
3613 { echo "$as_me:$LINENO: result: $AWK" >&5
3614 echo "${ECHO_T}$AWK" >&6; }
3616 { echo "$as_me:$LINENO: result: no" >&5
3617 echo "${ECHO_T}no" >&6; }
3621 test -n "$AWK" && break
3624 if test "$AWK" = ""; then
3625 { { echo "$as_me:$LINENO: error: gawk is required to build AROS. Please install and run configure again." >&5
3626 echo "$as_me: error: gawk is required to build AROS. Please install and run configure again." >&2;}
3627 { (exit 1); exit 1; }; }
3629 # Extract the first word of "mmake", so it can be a program name with args.
3630 set dummy mmake
; ac_word
=$2
3631 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3633 if test "${ac_cv_prog_MMAKE+set}" = set; then
3634 echo $ECHO_N "(cached) $ECHO_C" >&6
3636 if test -n "$MMAKE"; then
3637 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
3639 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3643 test -z "$as_dir" && as_dir
=.
3644 for ac_exec_ext
in '' $ac_executable_extensions; do
3645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3646 ac_cv_prog_MMAKE
="mmake "
3647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3656 MMAKE
=$ac_cv_prog_MMAKE
3657 if test -n "$MMAKE"; then
3658 { echo "$as_me:$LINENO: result: $MMAKE" >&5
3659 echo "${ECHO_T}$MMAKE" >&6; }
3661 { echo "$as_me:$LINENO: result: no" >&5
3662 echo "${ECHO_T}no" >&6; }
3667 # Perform some default variable assignments. Note all of these will be
3668 # Regenerated from the script, so there is no need to cache them.
3671 if test "$GCC" = "yes"; then
3672 aros_gcc_ld
=`$CC -print-prog-name=ld`
3673 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
3674 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
3675 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3677 if test "${ac_cv_path_aros_host_ld+set}" = set; then
3678 echo $ECHO_N "(cached) $ECHO_C" >&6
3680 case $aros_host_ld in
3682 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3685 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3686 for as_dir
in `dirname $aros_gcc_ld`
3689 test -z "$as_dir" && as_dir
=.
3690 for ac_exec_ext
in '' $ac_executable_extensions; do
3691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3692 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3693 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3703 aros_host_ld
=$ac_cv_path_aros_host_ld
3704 if test -n "$aros_host_ld"; then
3705 { echo "$as_me:$LINENO: result: $aros_host_ld" >&5
3706 echo "${ECHO_T}$aros_host_ld" >&6; }
3708 { echo "$as_me:$LINENO: result: no" >&5
3709 echo "${ECHO_T}no" >&6; }
3714 if test "$aros_host_ld" = ""; then
3715 # Extract the first word of "ld", so it can be a program name with args.
3716 set dummy ld
; ac_word
=$2
3717 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3719 if test "${ac_cv_path_aros_host_ld+set}" = set; then
3720 echo $ECHO_N "(cached) $ECHO_C" >&6
3722 case $aros_host_ld in
3724 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3731 test -z "$as_dir" && as_dir
=.
3732 for ac_exec_ext
in '' $ac_executable_extensions; do
3733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3734 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3735 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3745 aros_host_ld
=$ac_cv_path_aros_host_ld
3746 if test -n "$aros_host_ld"; then
3747 { echo "$as_me:$LINENO: result: $aros_host_ld" >&5
3748 echo "${ECHO_T}$aros_host_ld" >&6; }
3750 { echo "$as_me:$LINENO: result: no" >&5
3751 echo "${ECHO_T}no" >&6; }
3756 if test "$aros_host_ld" = ""; then
3757 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
3758 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
3759 { (exit 1); exit 1; }; }
3761 aros_host_make
="make"
3762 aros_host_cflags
=$CFLAGS
3763 aros_host_ldflags
=$LDFLAGS
3764 aros_host_debug
="-g -O0"
3765 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
3766 aros_host_mkargs
="--no-print-directory"
3767 aros_host_incl
="/usr/include"
3768 aros_host_exe_suffix
="$EXEEXT"
3769 aros_host_lib_suffix
=""
3771 for ac_prog
in aclocal aclocal19 aclocal-1.9
3773 # Extract the first word of "$ac_prog", so it can be a program name with args.
3774 set dummy
$ac_prog; ac_word
=$2
3775 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3777 if test "${ac_cv_prog_aros_host_aclocal+set}" = set; then
3778 echo $ECHO_N "(cached) $ECHO_C" >&6
3780 if test -n "$aros_host_aclocal"; then
3781 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
3783 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3787 test -z "$as_dir" && as_dir
=.
3788 for ac_exec_ext
in '' $ac_executable_extensions; do
3789 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3790 ac_cv_prog_aros_host_aclocal
="$ac_prog"
3791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3800 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
3801 if test -n "$aros_host_aclocal"; then
3802 { echo "$as_me:$LINENO: result: $aros_host_aclocal" >&5
3803 echo "${ECHO_T}$aros_host_aclocal" >&6; }
3805 { echo "$as_me:$LINENO: result: no" >&5
3806 echo "${ECHO_T}no" >&6; }
3810 test -n "$aros_host_aclocal" && break
3813 for ac_prog
in autoconf autoconf259 autoconf253
3815 # Extract the first word of "$ac_prog", so it can be a program name with args.
3816 set dummy
$ac_prog; ac_word
=$2
3817 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3818 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3819 if test "${ac_cv_prog_aros_host_autoconf+set}" = set; then
3820 echo $ECHO_N "(cached) $ECHO_C" >&6
3822 if test -n "$aros_host_autoconf"; then
3823 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
3825 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3829 test -z "$as_dir" && as_dir
=.
3830 for ac_exec_ext
in '' $ac_executable_extensions; do
3831 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3832 ac_cv_prog_aros_host_autoconf
="$ac_prog"
3833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3842 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
3843 if test -n "$aros_host_autoconf"; then
3844 { echo "$as_me:$LINENO: result: $aros_host_autoconf" >&5
3845 echo "${ECHO_T}$aros_host_autoconf" >&6; }
3847 { echo "$as_me:$LINENO: result: no" >&5
3848 echo "${ECHO_T}no" >&6; }
3852 test -n "$aros_host_autoconf" && break
3855 for ac_prog
in autoheader autoheader259 autoheader253
3857 # Extract the first word of "$ac_prog", so it can be a program name with args.
3858 set dummy
$ac_prog; ac_word
=$2
3859 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3861 if test "${ac_cv_prog_aros_host_autoheader+set}" = set; then
3862 echo $ECHO_N "(cached) $ECHO_C" >&6
3864 if test -n "$aros_host_autoheader"; then
3865 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
3867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3871 test -z "$as_dir" && as_dir
=.
3872 for ac_exec_ext
in '' $ac_executable_extensions; do
3873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3874 ac_cv_prog_aros_host_autoheader
="$ac_prog"
3875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3884 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
3885 if test -n "$aros_host_autoheader"; then
3886 { echo "$as_me:$LINENO: result: $aros_host_autoheader" >&5
3887 echo "${ECHO_T}$aros_host_autoheader" >&6; }
3889 { echo "$as_me:$LINENO: result: no" >&5
3890 echo "${ECHO_T}no" >&6; }
3894 test -n "$aros_host_autoheader" && break
3897 for ac_prog
in automake automake19 automake-1.9
3899 # Extract the first word of "$ac_prog", so it can be a program name with args.
3900 set dummy
$ac_prog; ac_word
=$2
3901 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3903 if test "${ac_cv_prog_aros_host_automake+set}" = set; then
3904 echo $ECHO_N "(cached) $ECHO_C" >&6
3906 if test -n "$aros_host_automake"; then
3907 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
3909 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3913 test -z "$as_dir" && as_dir
=.
3914 for ac_exec_ext
in '' $ac_executable_extensions; do
3915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3916 ac_cv_prog_aros_host_automake
="$ac_prog"
3917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3926 aros_host_automake
=$ac_cv_prog_aros_host_automake
3927 if test -n "$aros_host_automake"; then
3928 { echo "$as_me:$LINENO: result: $aros_host_automake" >&5
3929 echo "${ECHO_T}$aros_host_automake" >&6; }
3931 { echo "$as_me:$LINENO: result: no" >&5
3932 echo "${ECHO_T}no" >&6; }
3936 test -n "$aros_host_automake" && break
3940 if test "$aros_host_aclocal" = ""; then
3941 { { echo "$as_me:$LINENO: error: aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." >&5
3942 echo "$as_me: error: aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." >&2;}
3943 { (exit 1); exit 1; }; }
3945 if test "$aros_host_automake" = ""; then
3946 { { echo "$as_me:$LINENO: error: automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." >&5
3947 echo "$as_me: error: automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." >&2;}
3948 { (exit 1); exit 1; }; }
3951 case "$aros_host_cc" in
3953 aros_host_cc_pipe
="-pipe"
3956 aros_host_cc_pipe
=""
3959 aros_host_cc_pipe
=""
3963 aros_kernel_cc_includes
=""
3964 aros_target_cc_includes
=""
3966 # This is the main host configuration section. It is where the host
3967 # can change the values of any variables it needs to change. We do
3968 # not look at anything that compiles to the target yet, we'll get
3973 aros_host_arch
="aros"
3974 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3977 aros_host_cpu
="i386"
3980 aros_host_cpu
="x86_64"
3986 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
3987 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
3988 aros_host_cpu
="$host_cpu"
3994 aros_host_arch
="linux"
3995 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3998 aros_host_cpu
="i386"
4001 aros_host_cpu
="x86_64"
4004 aros_host_cpu
="m68k"
4013 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4014 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4015 aros_host_cpu
="$host_cpu"
4021 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4022 aros_host_make
="gmake"
4023 aros_host_arch
="freebsd"
4024 aros_host_cpu
="i386"
4026 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4030 aros_object_format
="elf_i386"
4034 aros_object_format
="elf_i386_fbsd"
4041 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4042 aros_host_arch
="darwin"
4045 aros_host_cpu
="i386"
4048 aros_host_cpu
="x86_64"
4054 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4055 echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4056 aros_host_cpu
="$host_cpu"
4060 aros_host_ldflags
="$aros_host_ldflags -liconv"
4065 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4066 aros_host_make
="gmake"
4067 aros_host_arch
="dragonfly"
4070 aros_host_cpu
="i386"
4073 aros_host_cpu
="x86_64"
4076 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4077 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4078 aros_host_cpu
="$host_cpu"
4084 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4085 aros_host_make
="gmake"
4086 aros_host_arch
="netbsd"
4089 aros_host_cpu
="i386"
4092 aros_host_cpu
="m68k"
4095 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4096 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4097 aros_host_cpu
="$host_cpu"
4100 aros_host_lib_suffix
=".0.0"
4104 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4105 aros_host_make
="gmake"
4106 aros_host_arch
="openbsd"
4109 aros_host_cpu
="i386"
4112 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4113 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4114 aros_host_cpu
="$host_cpu"
4120 aros_host_arch
="solaris"
4121 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4124 aros_host_cpu
="i386"
4127 aros_host_cpu
="sparc"
4130 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4131 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4132 aros_host_cpu
="$host_cpu"
4138 aros_host_arch
="morphos"
4143 aros_host_arch
="amiga"
4148 TOUCH
="/gg/bin/touch"
4151 aros_host_cpu
="m68k"
4157 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4158 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4159 aros_host_cpu
="$host_cpu"
4165 aros_host_arch
="cygwin"
4166 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4169 aros_host_cpu
="i386"
4172 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4173 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4174 aros_host_cpu
="$host_cpu"
4180 aros_host_arch
="mingw32"
4181 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4184 aros_host_cpu
="i386"
4187 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4188 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4189 aros_host_cpu
="$host_cpu"
4194 { { echo "$as_me:$LINENO: error: Unsupported host architecture $host" >&5
4195 echo "$as_me: error: Unsupported host architecture $host" >&2;}
4196 { (exit 1); exit 1; }; }
4200 # Extract the first word of "ar", so it can be a program name with args.
4201 set dummy
ar; ac_word
=$2
4202 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4204 if test "${ac_cv_prog_aros_host_ar+set}" = set; then
4205 echo $ECHO_N "(cached) $ECHO_C" >&6
4207 if test -n "$aros_host_ar"; then
4208 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4214 test -z "$as_dir" && as_dir
=.
4215 for ac_exec_ext
in '' $ac_executable_extensions; do
4216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4217 ac_cv_prog_aros_host_ar
="ar cr"
4218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4227 aros_host_ar
=$ac_cv_prog_aros_host_ar
4228 if test -n "$aros_host_ar"; then
4229 { echo "$as_me:$LINENO: result: $aros_host_ar" >&5
4230 echo "${ECHO_T}$aros_host_ar" >&6; }
4232 { echo "$as_me:$LINENO: result: no" >&5
4233 echo "${ECHO_T}no" >&6; }
4237 if test "$aros_host_ar" = ""; then
4238 { { echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
4239 echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
4240 { (exit 1); exit 1; }; }
4242 # Extract the first word of "ranlib", so it can be a program name with args.
4243 set dummy ranlib
; ac_word
=$2
4244 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4246 if test "${ac_cv_prog_aros_host_ranlib+set}" = set; then
4247 echo $ECHO_N "(cached) $ECHO_C" >&6
4249 if test -n "$aros_host_ranlib"; then
4250 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4256 test -z "$as_dir" && as_dir
=.
4257 for ac_exec_ext
in '' $ac_executable_extensions; do
4258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4259 ac_cv_prog_aros_host_ranlib
="ranlib "
4260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4269 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4270 if test -n "$aros_host_ranlib"; then
4271 { echo "$as_me:$LINENO: result: $aros_host_ranlib" >&5
4272 echo "${ECHO_T}$aros_host_ranlib" >&6; }
4274 { echo "$as_me:$LINENO: result: no" >&5
4275 echo "${ECHO_T}no" >&6; }
4279 if test "$aros_host_ranlib" = ""; then
4280 { { echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
4281 echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
4282 { (exit 1); exit 1; }; }
4284 # Extract the first word of "strip", so it can be a program name with args.
4285 set dummy strip
; ac_word
=$2
4286 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4288 if test "${ac_cv_prog_aros_host_strip+set}" = set; then
4289 echo $ECHO_N "(cached) $ECHO_C" >&6
4291 if test -n "$aros_host_strip"; then
4292 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4294 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4298 test -z "$as_dir" && as_dir
=.
4299 for ac_exec_ext
in '' $ac_executable_extensions; do
4300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4301 ac_cv_prog_aros_host_strip
="strip "
4302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4311 aros_host_strip
=$ac_cv_prog_aros_host_strip
4312 if test -n "$aros_host_strip"; then
4313 { echo "$as_me:$LINENO: result: $aros_host_strip" >&5
4314 echo "${ECHO_T}$aros_host_strip" >&6; }
4316 { echo "$as_me:$LINENO: result: no" >&5
4317 echo "${ECHO_T}no" >&6; }
4321 if test "$aros_host_strip" = ""; then
4322 { { echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
4323 echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
4324 { (exit 1); exit 1; }; }
4327 # Extract the first word of "rm", so it can be a program name with args.
4328 set dummy
rm; ac_word
=$2
4329 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4331 if test "${ac_cv_prog_RM+set}" = set; then
4332 echo $ECHO_N "(cached) $ECHO_C" >&6
4334 if test -n "$RM"; then
4335 ac_cv_prog_RM
="$RM" # Let the user override the test.
4337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4341 test -z "$as_dir" && as_dir
=.
4342 for ac_exec_ext
in '' $ac_executable_extensions; do
4343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4344 ac_cv_prog_RM
="rm -rf"
4345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4355 if test -n "$RM"; then
4356 { echo "$as_me:$LINENO: result: $RM" >&5
4357 echo "${ECHO_T}$RM" >&6; }
4359 { echo "$as_me:$LINENO: result: no" >&5
4360 echo "${ECHO_T}no" >&6; }
4364 if test "$RM" = ""; then
4365 { { echo "$as_me:$LINENO: error: rm is required to build AROS. Please install and run configure again." >&5
4366 echo "$as_me: error: rm is required to build AROS. Please install and run configure again." >&2;}
4367 { (exit 1); exit 1; }; }
4369 # Extract the first word of "cp", so it can be a program name with args.
4370 set dummy
cp; ac_word
=$2
4371 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4373 if test "${ac_cv_prog_CP+set}" = set; then
4374 echo $ECHO_N "(cached) $ECHO_C" >&6
4376 if test -n "$CP"; then
4377 ac_cv_prog_CP
="$CP" # Let the user override the test.
4379 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4383 test -z "$as_dir" && as_dir
=.
4384 for ac_exec_ext
in '' $ac_executable_extensions; do
4385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4397 if test -n "$CP"; then
4398 { echo "$as_me:$LINENO: result: $CP" >&5
4399 echo "${ECHO_T}$CP" >&6; }
4401 { echo "$as_me:$LINENO: result: no" >&5
4402 echo "${ECHO_T}no" >&6; }
4406 if test "$CP" = ""; then
4407 { { echo "$as_me:$LINENO: error: cp is required to build AROS. Please install and run configure again." >&5
4408 echo "$as_me: error: cp is required to build AROS. Please install and run configure again." >&2;}
4409 { (exit 1); exit 1; }; }
4411 # Extract the first word of "mv", so it can be a program name with args.
4412 set dummy
mv; ac_word
=$2
4413 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4414 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4415 if test "${ac_cv_prog_MV+set}" = set; then
4416 echo $ECHO_N "(cached) $ECHO_C" >&6
4418 if test -n "$MV"; then
4419 ac_cv_prog_MV
="$MV" # Let the user override the test.
4421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4425 test -z "$as_dir" && as_dir
=.
4426 for ac_exec_ext
in '' $ac_executable_extensions; do
4427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4429 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4439 if test -n "$MV"; then
4440 { echo "$as_me:$LINENO: result: $MV" >&5
4441 echo "${ECHO_T}$MV" >&6; }
4443 { echo "$as_me:$LINENO: result: no" >&5
4444 echo "${ECHO_T}no" >&6; }
4448 if test "$MV" = ""; then
4449 { { echo "$as_me:$LINENO: error: mv is required to build AROS. Please install and run configure again." >&5
4450 echo "$as_me: error: mv is required to build AROS. Please install and run configure again." >&2;}
4451 { (exit 1); exit 1; }; }
4453 # Extract the first word of "echo", so it can be a program name with args.
4454 set dummy
echo; ac_word
=$2
4455 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4457 if test "${ac_cv_prog_ECHO+set}" = set; then
4458 echo $ECHO_N "(cached) $ECHO_C" >&6
4460 if test -n "$ECHO"; then
4461 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
4463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4467 test -z "$as_dir" && as_dir
=.
4468 for ac_exec_ext
in '' $ac_executable_extensions; do
4469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4470 ac_cv_prog_ECHO
="echo "
4471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4480 ECHO
=$ac_cv_prog_ECHO
4481 if test -n "$ECHO"; then
4482 { echo "$as_me:$LINENO: result: $ECHO" >&5
4483 echo "${ECHO_T}$ECHO" >&6; }
4485 { echo "$as_me:$LINENO: result: no" >&5
4486 echo "${ECHO_T}no" >&6; }
4490 if test "$ECHO" = ""; then
4491 { { echo "$as_me:$LINENO: error: echo is required to build AROS. Please install and run configure again." >&5
4492 echo "$as_me: error: echo is required to build AROS. Please install and run configure again." >&2;}
4493 { (exit 1); exit 1; }; }
4495 # Extract the first word of "mkdir", so it can be a program name with args.
4496 set dummy mkdir
; ac_word
=$2
4497 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4499 if test "${ac_cv_prog_MKDIR+set}" = set; then
4500 echo $ECHO_N "(cached) $ECHO_C" >&6
4502 if test -n "$MKDIR"; then
4503 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
4505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4509 test -z "$as_dir" && as_dir
=.
4510 for ac_exec_ext
in '' $ac_executable_extensions; do
4511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4512 ac_cv_prog_MKDIR
="mkdir -p"
4513 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4522 MKDIR
=$ac_cv_prog_MKDIR
4523 if test -n "$MKDIR"; then
4524 { echo "$as_me:$LINENO: result: $MKDIR" >&5
4525 echo "${ECHO_T}$MKDIR" >&6; }
4527 { echo "$as_me:$LINENO: result: no" >&5
4528 echo "${ECHO_T}no" >&6; }
4532 if test "$MKDIR" = ""; then
4533 { { echo "$as_me:$LINENO: error: mkdir is required to build AROS. Please install and run configure again." >&5
4534 echo "$as_me: error: mkdir is required to build AROS. Please install and run configure again." >&2;}
4535 { (exit 1); exit 1; }; }
4537 # Extract the first word of "touch", so it can be a program name with args.
4538 set dummy
touch; ac_word
=$2
4539 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4541 if test "${ac_cv_prog_TOUCH+set}" = set; then
4542 echo $ECHO_N "(cached) $ECHO_C" >&6
4544 if test -n "$TOUCH"; then
4545 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
4547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4551 test -z "$as_dir" && as_dir
=.
4552 for ac_exec_ext
in '' $ac_executable_extensions; do
4553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4554 ac_cv_prog_TOUCH
="touch "
4555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4564 TOUCH
=$ac_cv_prog_TOUCH
4565 if test -n "$TOUCH"; then
4566 { echo "$as_me:$LINENO: result: $TOUCH" >&5
4567 echo "${ECHO_T}$TOUCH" >&6; }
4569 { echo "$as_me:$LINENO: result: no" >&5
4570 echo "${ECHO_T}no" >&6; }
4574 if test "$TOUCH" = ""; then
4575 { { echo "$as_me:$LINENO: error: touch is required to build AROS. Please install and run configure again." >&5
4576 echo "$as_me: error: touch is required to build AROS. Please install and run configure again." >&2;}
4577 { (exit 1); exit 1; }; }
4579 # Extract the first word of "sort", so it can be a program name with args.
4580 set dummy
sort; ac_word
=$2
4581 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4583 if test "${ac_cv_prog_SORT+set}" = set; then
4584 echo $ECHO_N "(cached) $ECHO_C" >&6
4586 if test -n "$SORT"; then
4587 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
4589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4593 test -z "$as_dir" && as_dir
=.
4594 for ac_exec_ext
in '' $ac_executable_extensions; do
4595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4596 ac_cv_prog_SORT
="sort "
4597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4606 SORT
=$ac_cv_prog_SORT
4607 if test -n "$SORT"; then
4608 { echo "$as_me:$LINENO: result: $SORT" >&5
4609 echo "${ECHO_T}$SORT" >&6; }
4611 { echo "$as_me:$LINENO: result: no" >&5
4612 echo "${ECHO_T}no" >&6; }
4616 if test "$SORT" = ""; then
4617 { { echo "$as_me:$LINENO: error: sort is required to build AROS. Please install and run configure again." >&5
4618 echo "$as_me: error: sort is required to build AROS. Please install and run configure again." >&2;}
4619 { (exit 1); exit 1; }; }
4621 # Extract the first word of "uniq", so it can be a program name with args.
4622 set dummy
uniq; ac_word
=$2
4623 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4624 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4625 if test "${ac_cv_prog_UNIQ+set}" = set; then
4626 echo $ECHO_N "(cached) $ECHO_C" >&6
4628 if test -n "$UNIQ"; then
4629 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
4631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4635 test -z "$as_dir" && as_dir
=.
4636 for ac_exec_ext
in '' $ac_executable_extensions; do
4637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4638 ac_cv_prog_UNIQ
="uniq "
4639 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4648 UNIQ
=$ac_cv_prog_UNIQ
4649 if test -n "$UNIQ"; then
4650 { echo "$as_me:$LINENO: result: $UNIQ" >&5
4651 echo "${ECHO_T}$UNIQ" >&6; }
4653 { echo "$as_me:$LINENO: result: no" >&5
4654 echo "${ECHO_T}no" >&6; }
4658 if test "$UNIQ" = ""; then
4659 { { echo "$as_me:$LINENO: error: uniq is required to build AROS. Please install and run configure again." >&5
4660 echo "$as_me: error: uniq is required to build AROS. Please install and run configure again." >&2;}
4661 { (exit 1); exit 1; }; }
4663 # Extract the first word of "true", so it can be a program name with args.
4664 set dummy true
; ac_word
=$2
4665 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4667 if test "${ac_cv_prog_NOP+set}" = set; then
4668 echo $ECHO_N "(cached) $ECHO_C" >&6
4670 if test -n "$NOP"; then
4671 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
4673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4677 test -z "$as_dir" && as_dir
=.
4678 for ac_exec_ext
in '' $ac_executable_extensions; do
4679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4680 ac_cv_prog_NOP
="true "
4681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4691 if test -n "$NOP"; then
4692 { echo "$as_me:$LINENO: result: $NOP" >&5
4693 echo "${ECHO_T}$NOP" >&6; }
4695 { echo "$as_me:$LINENO: result: no" >&5
4696 echo "${ECHO_T}no" >&6; }
4700 if test "$NOP" = ""; then
4701 { { echo "$as_me:$LINENO: error: true is required to build AROS. Please install and run configure again." >&5
4702 echo "$as_me: error: true is required to build AROS. Please install and run configure again." >&2;}
4703 { (exit 1); exit 1; }; }
4705 # Extract the first word of "cat", so it can be a program name with args.
4706 set dummy
cat; ac_word
=$2
4707 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4709 if test "${ac_cv_prog_CAT+set}" = set; then
4710 echo $ECHO_N "(cached) $ECHO_C" >&6
4712 if test -n "$CAT"; then
4713 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
4715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4719 test -z "$as_dir" && as_dir
=.
4720 for ac_exec_ext
in '' $ac_executable_extensions; do
4721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4722 ac_cv_prog_CAT
="cat "
4723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4733 if test -n "$CAT"; then
4734 { echo "$as_me:$LINENO: result: $CAT" >&5
4735 echo "${ECHO_T}$CAT" >&6; }
4737 { echo "$as_me:$LINENO: result: no" >&5
4738 echo "${ECHO_T}no" >&6; }
4742 if test "$CAT" = ""; then
4743 { { echo "$as_me:$LINENO: error: cat is required to build AROS. Please install and run configure again." >&5
4744 echo "$as_me: error: cat is required to build AROS. Please install and run configure again." >&2;}
4745 { (exit 1); exit 1; }; }
4747 # Extract the first word of "bison", so it can be a program name with args.
4748 set dummy bison
; ac_word
=$2
4749 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4751 if test "${ac_cv_prog_BISON+set}" = set; then
4752 echo $ECHO_N "(cached) $ECHO_C" >&6
4754 if test -n "$BISON"; then
4755 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4757 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4761 test -z "$as_dir" && as_dir
=.
4762 for ac_exec_ext
in '' $ac_executable_extensions; do
4763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4764 ac_cv_prog_BISON
="bison "
4765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4774 BISON
=$ac_cv_prog_BISON
4775 if test -n "$BISON"; then
4776 { echo "$as_me:$LINENO: result: $BISON" >&5
4777 echo "${ECHO_T}$BISON" >&6; }
4779 { echo "$as_me:$LINENO: result: no" >&5
4780 echo "${ECHO_T}no" >&6; }
4784 if test "$BISON" = ""; then
4785 { { echo "$as_me:$LINENO: error: bison is required to build AROS. Please install and run configure again." >&5
4786 echo "$as_me: error: bison is required to build AROS. Please install and run configure again." >&2;}
4787 { (exit 1); exit 1; }; }
4789 # Extract the first word of "flex", so it can be a program name with args.
4790 set dummy flex
; ac_word
=$2
4791 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4793 if test "${ac_cv_prog_FLEX+set}" = set; then
4794 echo $ECHO_N "(cached) $ECHO_C" >&6
4796 if test -n "$FLEX"; then
4797 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4803 test -z "$as_dir" && as_dir
=.
4804 for ac_exec_ext
in '' $ac_executable_extensions; do
4805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4806 ac_cv_prog_FLEX
="flex "
4807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4816 FLEX
=$ac_cv_prog_FLEX
4817 if test -n "$FLEX"; then
4818 { echo "$as_me:$LINENO: result: $FLEX" >&5
4819 echo "${ECHO_T}$FLEX" >&6; }
4821 { echo "$as_me:$LINENO: result: no" >&5
4822 echo "${ECHO_T}no" >&6; }
4826 if test "$FLEX" = ""; then
4827 { { echo "$as_me:$LINENO: error: flex is required to build AROS. Please install and run configure again." >&5
4828 echo "$as_me: error: flex is required to build AROS. Please install and run configure again." >&2;}
4829 { (exit 1); exit 1; }; }
4831 # Extract the first word of "pngtopnm", so it can be a program name with args.
4832 set dummy pngtopnm
; ac_word
=$2
4833 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4835 if test "${ac_cv_prog_PNGTOPNM+set}" = set; then
4836 echo $ECHO_N "(cached) $ECHO_C" >&6
4838 if test -n "$PNGTOPNM"; then
4839 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
4841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4845 test -z "$as_dir" && as_dir
=.
4846 for ac_exec_ext
in '' $ac_executable_extensions; do
4847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4848 ac_cv_prog_PNGTOPNM
="pngtopnm "
4849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4858 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
4859 if test -n "$PNGTOPNM"; then
4860 { echo "$as_me:$LINENO: result: $PNGTOPNM" >&5
4861 echo "${ECHO_T}$PNGTOPNM" >&6; }
4863 { echo "$as_me:$LINENO: result: no" >&5
4864 echo "${ECHO_T}no" >&6; }
4868 if test "$PNGTOPNM" = ""; then
4869 { { echo "$as_me:$LINENO: error: pngtopnm is required to build AROS. Please install and run configure again." >&5
4870 echo "$as_me: error: pngtopnm is required to build AROS. Please install and run configure again." >&2;}
4871 { (exit 1); exit 1; }; }
4873 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
4874 set dummy ppmtoilbm
; ac_word
=$2
4875 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4877 if test "${ac_cv_prog_PPMTOILBM+set}" = set; then
4878 echo $ECHO_N "(cached) $ECHO_C" >&6
4880 if test -n "$PPMTOILBM"; then
4881 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
4883 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4887 test -z "$as_dir" && as_dir
=.
4888 for ac_exec_ext
in '' $ac_executable_extensions; do
4889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4890 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
4891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4900 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
4901 if test -n "$PPMTOILBM"; then
4902 { echo "$as_me:$LINENO: result: $PPMTOILBM" >&5
4903 echo "${ECHO_T}$PPMTOILBM" >&6; }
4905 { echo "$as_me:$LINENO: result: no" >&5
4906 echo "${ECHO_T}no" >&6; }
4910 if test "$PPMTOILBM" = ""; then
4911 { { echo "$as_me:$LINENO: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&5
4912 echo "$as_me: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&2;}
4913 { (exit 1); exit 1; }; }
4915 # Extract the first word of "sed", so it can be a program name with args.
4916 set dummy
sed; ac_word
=$2
4917 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4919 if test "${ac_cv_prog_SED+set}" = set; then
4920 echo $ECHO_N "(cached) $ECHO_C" >&6
4922 if test -n "$SED"; then
4923 ac_cv_prog_SED
="$SED" # Let the user override the test.
4925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4929 test -z "$as_dir" && as_dir
=.
4930 for ac_exec_ext
in '' $ac_executable_extensions; do
4931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4932 ac_cv_prog_SED
="sed "
4933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4943 if test -n "$SED"; then
4944 { echo "$as_me:$LINENO: result: $SED" >&5
4945 echo "${ECHO_T}$SED" >&6; }
4947 { echo "$as_me:$LINENO: result: no" >&5
4948 echo "${ECHO_T}no" >&6; }
4952 if test "$SED" = ""; then
4953 { { echo "$as_me:$LINENO: error: sed is required to build AROS. Please install and run configure again." >&5
4954 echo "$as_me: error: sed is required to build AROS. Please install and run configure again." >&2;}
4955 { (exit 1); exit 1; }; }
4957 # Extract the first word of "chmod", so it can be a program name with args.
4958 set dummy
chmod; ac_word
=$2
4959 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4961 if test "${ac_cv_prog_CHMOD+set}" = set; then
4962 echo $ECHO_N "(cached) $ECHO_C" >&6
4964 if test -n "$CHMOD"; then
4965 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
4967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4971 test -z "$as_dir" && as_dir
=.
4972 for ac_exec_ext
in '' $ac_executable_extensions; do
4973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4974 ac_cv_prog_CHMOD
="chmod "
4975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4984 CHMOD
=$ac_cv_prog_CHMOD
4985 if test -n "$CHMOD"; then
4986 { echo "$as_me:$LINENO: result: $CHMOD" >&5
4987 echo "${ECHO_T}$CHMOD" >&6; }
4989 { echo "$as_me:$LINENO: result: no" >&5
4990 echo "${ECHO_T}no" >&6; }
4994 if test "$CHMOD" = ""; then
4995 { { echo "$as_me:$LINENO: error: chmod is required to build AROS. Please install and run configure again." >&5
4996 echo "$as_me: error: chmod is required to build AROS. Please install and run configure again." >&2;}
4997 { (exit 1); exit 1; }; }
5004 if test -n "$PYTHON"; then
5005 # If the user set $PYTHON, use it and don't search something else.
5006 { echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.5" >&5
5007 echo $ECHO_N "checking whether $PYTHON version >= 2.5... $ECHO_C" >&6; }
5008 prog
="import sys, string
5009 # split strings by '.' and convert to numeric. Append some zeros
5010 # because we need at least 4 digits for the hex conversion.
5011 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5013 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5014 sys.exit(sys.hexversion < minverhex)"
5015 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5016 ($PYTHON -c "$prog") >&5 2>&5
5018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5019 (exit $ac_status); }; then
5020 { echo "$as_me:$LINENO: result: yes" >&5
5021 echo "${ECHO_T}yes" >&6; }
5023 { { echo "$as_me:$LINENO: error: too old" >&5
5024 echo "$as_me: error: too old" >&2;}
5025 { (exit 1); exit 1; }; }
5028 am_display_PYTHON
=$PYTHON
5030 # Otherwise, try each interpreter until we find one that satisfies
5032 { echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.5" >&5
5033 echo $ECHO_N "checking for a Python interpreter with version >= 2.5... $ECHO_C" >&6; }
5034 if test "${am_cv_pathless_PYTHON+set}" = set; then
5035 echo $ECHO_N "(cached) $ECHO_C" >&6
5038 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
5039 test "$am_cv_pathless_PYTHON" = none
&& break
5040 prog
="import sys, string
5041 # split strings by '.' and convert to numeric. Append some zeros
5042 # because we need at least 4 digits for the hex conversion.
5043 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5045 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5046 sys.exit(sys.hexversion < minverhex)"
5047 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5048 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5051 (exit $ac_status); }; then
5057 { echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
5058 echo "${ECHO_T}$am_cv_pathless_PYTHON" >&6; }
5059 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5060 if test "$am_cv_pathless_PYTHON" = none
; then
5063 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5064 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5065 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5067 if test "${ac_cv_path_PYTHON+set}" = set; then
5068 echo $ECHO_N "(cached) $ECHO_C" >&6
5072 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5079 test -z "$as_dir" && as_dir
=.
5080 for ac_exec_ext
in '' $ac_executable_extensions; do
5081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5082 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5093 PYTHON
=$ac_cv_path_PYTHON
5094 if test -n "$PYTHON"; then
5095 { echo "$as_me:$LINENO: result: $PYTHON" >&5
5096 echo "${ECHO_T}$PYTHON" >&6; }
5098 { echo "$as_me:$LINENO: result: no" >&5
5099 echo "${ECHO_T}no" >&6; }
5104 am_display_PYTHON
=$am_cv_pathless_PYTHON
5108 if test "$PYTHON" = :; then
5109 { { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
5110 echo "$as_me: error: no suitable Python interpreter found" >&2;}
5111 { (exit 1); exit 1; }; }
5115 { echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
5116 echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; }
5117 if test "${am_cv_python_version+set}" = set; then
5118 echo $ECHO_N "(cached) $ECHO_C" >&6
5120 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
5122 { echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
5123 echo "${ECHO_T}$am_cv_python_version" >&6; }
5124 PYTHON_VERSION
=$am_cv_python_version
5128 PYTHON_PREFIX
='${prefix}'
5130 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5134 { echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
5135 echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; }
5136 if test "${am_cv_python_platform+set}" = set; then
5137 echo $ECHO_N "(cached) $ECHO_C" >&6
5139 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
5141 { echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
5142 echo "${ECHO_T}$am_cv_python_platform" >&6; }
5143 PYTHON_PLATFORM
=$am_cv_python_platform
5148 { echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
5149 echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6; }
5150 if test "${am_cv_python_pythondir+set}" = set; then
5151 echo $ECHO_N "(cached) $ECHO_C" >&6
5153 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5154 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5156 { echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
5157 echo "${ECHO_T}$am_cv_python_pythondir" >&6; }
5158 pythondir
=$am_cv_python_pythondir
5162 pkgpythondir
=\
${pythondir}/$PACKAGE
5165 { echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
5166 echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6; }
5167 if test "${am_cv_python_pyexecdir+set}" = set; then
5168 echo $ECHO_N "(cached) $ECHO_C" >&6
5170 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5171 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5173 { echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
5174 echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; }
5175 pyexecdir
=$am_cv_python_pyexecdir
5179 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5197 # Check for some includes for the X11 HIDD and the kernel
5200 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5201 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5202 if test "${ac_cv_path_GREP+set}" = set; then
5203 echo $ECHO_N "(cached) $ECHO_C" >&6
5205 # Extract the first word of "grep ggrep" to use in msg output
5206 if test -z "$GREP"; then
5207 set dummy
grep ggrep
; ac_prog_name
=$2
5208 if test "${ac_cv_path_GREP+set}" = set; then
5209 echo $ECHO_N "(cached) $ECHO_C" >&6
5211 ac_path_GREP_found
=false
5212 # Loop through the user's path and test for each of PROGNAME-LIST
5213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5214 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5217 test -z "$as_dir" && as_dir
=.
5218 for ac_prog
in grep ggrep
; do
5219 for ac_exec_ext
in '' $ac_executable_extensions; do
5220 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5221 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5222 # Check for GNU ac_path_GREP and select it if it is found.
5223 # Check for GNU $ac_path_GREP
5224 case `"$ac_path_GREP" --version 2>&1` in
5226 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5229 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5232 cat "conftest.in" "conftest.in" >"conftest.tmp"
5233 mv "conftest.tmp" "conftest.in"
5234 cp "conftest.in" "conftest.nl"
5235 echo 'GREP' >> "conftest.nl"
5236 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5237 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5238 ac_count
=`expr $ac_count + 1`
5239 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5240 # Best one so far, save it but keep looking for a better one
5241 ac_cv_path_GREP
="$ac_path_GREP"
5242 ac_path_GREP_max
=$ac_count
5244 # 10*(2^10) chars as input seems more than enough
5245 test $ac_count -gt 10 && break
5247 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5251 $ac_path_GREP_found && break 3
5261 GREP
="$ac_cv_path_GREP"
5262 if test -z "$GREP"; then
5263 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5264 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5265 { (exit 1); exit 1; }; }
5269 ac_cv_path_GREP
=$GREP
5274 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5275 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5276 GREP
="$ac_cv_path_GREP"
5279 { echo "$as_me:$LINENO: checking for egrep" >&5
5280 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5281 if test "${ac_cv_path_EGREP+set}" = set; then
5282 echo $ECHO_N "(cached) $ECHO_C" >&6
5284 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5285 then ac_cv_path_EGREP
="$GREP -E"
5287 # Extract the first word of "egrep" to use in msg output
5288 if test -z "$EGREP"; then
5289 set dummy
egrep; ac_prog_name
=$2
5290 if test "${ac_cv_path_EGREP+set}" = set; then
5291 echo $ECHO_N "(cached) $ECHO_C" >&6
5293 ac_path_EGREP_found
=false
5294 # Loop through the user's path and test for each of PROGNAME-LIST
5295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5296 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5299 test -z "$as_dir" && as_dir
=.
5300 for ac_prog
in egrep; do
5301 for ac_exec_ext
in '' $ac_executable_extensions; do
5302 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5303 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5304 # Check for GNU ac_path_EGREP and select it if it is found.
5305 # Check for GNU $ac_path_EGREP
5306 case `"$ac_path_EGREP" --version 2>&1` in
5308 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5311 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5314 cat "conftest.in" "conftest.in" >"conftest.tmp"
5315 mv "conftest.tmp" "conftest.in"
5316 cp "conftest.in" "conftest.nl"
5317 echo 'EGREP' >> "conftest.nl"
5318 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5319 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5320 ac_count
=`expr $ac_count + 1`
5321 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5322 # Best one so far, save it but keep looking for a better one
5323 ac_cv_path_EGREP
="$ac_path_EGREP"
5324 ac_path_EGREP_max
=$ac_count
5326 # 10*(2^10) chars as input seems more than enough
5327 test $ac_count -gt 10 && break
5329 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5333 $ac_path_EGREP_found && break 3
5343 EGREP
="$ac_cv_path_EGREP"
5344 if test -z "$EGREP"; then
5345 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5346 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5347 { (exit 1); exit 1; }; }
5351 ac_cv_path_EGREP
=$EGREP
5357 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5358 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5359 EGREP
="$ac_cv_path_EGREP"
5362 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5363 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5364 if test "${ac_cv_header_stdc+set}" = set; then
5365 echo $ECHO_N "(cached) $ECHO_C" >&6
5367 cat >conftest.
$ac_ext <<_ACEOF
5370 cat confdefs.h
>>conftest.
$ac_ext
5371 cat >>conftest.
$ac_ext <<_ACEOF
5372 /* end confdefs.h. */
5386 rm -f conftest.
$ac_objext
5387 if { (ac_try
="$ac_compile"
5389 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5390 *) ac_try_echo=$ac_try;;
5392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5393 (eval "$ac_compile") 2>conftest.er1
5395 grep -v '^ *+' conftest.er1 >conftest.err
5397 cat conftest.err >&5
5398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5399 (exit $ac_status); } && {
5400 test -z "$ac_c_werror_flag" ||
5401 test ! -s conftest.err
5402 } && test -s conftest.$ac_objext; then
5403 ac_cv_header_stdc=yes
5405 echo "$as_me: failed program was:" >&5
5406 sed 's/^/| /' conftest.$ac_ext >&5
5408 ac_cv_header_stdc=no
5411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5413 if test $ac_cv_header_stdc = yes; then
5414 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5415 cat >conftest.$ac_ext <<_ACEOF
5418 cat confdefs.h >>conftest.$ac_ext
5419 cat >>conftest.$ac_ext <<_ACEOF
5420 /* end confdefs.h. */
5424 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5425 $EGREP "memchr" >/dev/null 2>&1; then
5428 ac_cv_header_stdc=no
5434 if test $ac_cv_header_stdc = yes; then
5435 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5436 cat >conftest.$ac_ext <<_ACEOF
5439 cat confdefs.h >>conftest.$ac_ext
5440 cat >>conftest.$ac_ext <<_ACEOF
5441 /* end confdefs.h. */
5445 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5446 $EGREP "free" >/dev/null 2>&1; then
5449 ac_cv_header_stdc=no
5455 if test $ac_cv_header_stdc = yes; then
5456 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5457 if test "$cross_compiling" = yes; then
5460 cat >conftest.$ac_ext <<_ACEOF
5463 cat confdefs.h >>conftest.$ac_ext
5464 cat >>conftest.$ac_ext <<_ACEOF
5465 /* end confdefs.h. */
5468 #if ((' ' & 0x0FF) == 0x020)
5469 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5470 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5472 # define ISLOWER(c) \
5473 (('a' <= (c) && (c) <= 'i') \
5474 || ('j' <= (c) && (c) <= 'r') \
5475 || ('s' <= (c) && (c) <= 'z'))
5476 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5479 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5484 for (i = 0; i < 256; i++)
5485 if (XOR (islower (i), ISLOWER (i))
5486 || toupper (i) != TOUPPER (i))
5491 rm -f conftest$ac_exeext
5492 if { (ac_try="$ac_link"
5494 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5495 *) ac_try_echo
=$ac_try;;
5497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5498 (eval "$ac_link") 2>&5
5500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5501 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5502 { (case "(($ac_try" in
5503 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5504 *) ac_try_echo=$ac_try;;
5506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5507 (eval "$ac_try") 2>&5
5509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5510 (exit $ac_status); }; }; then
5513 echo "$as_me: program exited with status $ac_status" >&5
5514 echo "$as_me: failed program was:" >&5
5515 sed 's/^/| /' conftest.$ac_ext >&5
5518 ac_cv_header_stdc=no
5520 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5526 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5527 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5528 if test $ac_cv_header_stdc = yes; then
5530 cat >>confdefs.h <<\_ACEOF
5531 #define STDC_HEADERS 1
5536 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5546 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5547 inttypes.h stdint.h unistd.h
5549 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5550 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5551 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5552 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5553 echo $ECHO_N "(cached) $ECHO_C" >&6
5555 cat >conftest.$ac_ext <<_ACEOF
5558 cat confdefs.h >>conftest.$ac_ext
5559 cat >>conftest.$ac_ext <<_ACEOF
5560 /* end confdefs.h. */
5561 $ac_includes_default
5563 #include <$ac_header>
5565 rm -f conftest.$ac_objext
5566 if { (ac_try="$ac_compile"
5568 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5569 *) ac_try_echo
=$ac_try;;
5571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5572 (eval "$ac_compile") 2>conftest.er1
5574 grep -v '^ *+' conftest.er1
>conftest.err
5576 cat conftest.err
>&5
5577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5578 (exit $ac_status); } && {
5579 test -z "$ac_c_werror_flag" ||
5580 test ! -s conftest.err
5581 } && test -s conftest.
$ac_objext; then
5582 eval "$as_ac_Header=yes"
5584 echo "$as_me: failed program was:" >&5
5585 sed 's/^/| /' conftest.
$ac_ext >&5
5587 eval "$as_ac_Header=no"
5590 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5592 ac_res
=`eval echo '${'$as_ac_Header'}'`
5593 { echo "$as_me:$LINENO: result: $ac_res" >&5
5594 echo "${ECHO_T}$ac_res" >&6; }
5595 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5596 cat >>confdefs.h
<<_ACEOF
5597 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5614 for ac_header
in sys
/ipc.h sys
/shm.h \
5615 sys
/mmap.h sys
/mman.h sysexits.h \
5616 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
5619 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5620 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5621 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5623 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5624 echo $ECHO_N "(cached) $ECHO_C" >&6
5626 ac_res
=`eval echo '${'$as_ac_Header'}'`
5627 { echo "$as_me:$LINENO: result: $ac_res" >&5
5628 echo "${ECHO_T}$ac_res" >&6; }
5630 # Is the header compilable?
5631 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5632 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5633 cat >conftest.
$ac_ext <<_ACEOF
5636 cat confdefs.h
>>conftest.
$ac_ext
5637 cat >>conftest.
$ac_ext <<_ACEOF
5638 /* end confdefs.h. */
5639 $ac_includes_default
5640 #include <$ac_header>
5642 rm -f conftest.
$ac_objext
5643 if { (ac_try
="$ac_compile"
5645 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5646 *) ac_try_echo=$ac_try;;
5648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5649 (eval "$ac_compile") 2>conftest.er1
5651 grep -v '^ *+' conftest.er1 >conftest.err
5653 cat conftest.err >&5
5654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5655 (exit $ac_status); } && {
5656 test -z "$ac_c_werror_flag" ||
5657 test ! -s conftest.err
5658 } && test -s conftest.$ac_objext; then
5659 ac_header_compiler=yes
5661 echo "$as_me: failed program was:" >&5
5662 sed 's/^/| /' conftest.$ac_ext >&5
5664 ac_header_compiler=no
5667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5668 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5669 echo "${ECHO_T}$ac_header_compiler" >&6; }
5671 # Is the header present?
5672 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5673 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5674 cat >conftest.$ac_ext <<_ACEOF
5677 cat confdefs.h >>conftest.$ac_ext
5678 cat >>conftest.$ac_ext <<_ACEOF
5679 /* end confdefs.h. */
5680 #include <$ac_header>
5682 if { (ac_try="$ac_cpp conftest.$ac_ext"
5684 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5685 *) ac_try_echo
=$ac_try;;
5687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5688 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5690 grep -v '^ *+' conftest.er1
>conftest.err
5692 cat conftest.err
>&5
5693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5694 (exit $ac_status); } >/dev
/null
&& {
5695 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5696 test ! -s conftest.err
5698 ac_header_preproc
=yes
5700 echo "$as_me: failed program was:" >&5
5701 sed 's/^/| /' conftest.
$ac_ext >&5
5703 ac_header_preproc
=no
5706 rm -f conftest.err conftest.
$ac_ext
5707 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5708 echo "${ECHO_T}$ac_header_preproc" >&6; }
5710 # So? What about this header?
5711 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5713 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5714 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5715 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5716 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5717 ac_header_preproc
=yes
5720 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5721 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5722 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5723 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5724 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5725 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5726 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5727 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5728 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5729 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5730 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5731 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5735 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5736 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5737 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5738 echo $ECHO_N "(cached) $ECHO_C" >&6
5740 eval "$as_ac_Header=\$ac_header_preproc"
5742 ac_res
=`eval echo '${'$as_ac_Header'}'`
5743 { echo "$as_me:$LINENO: result: $ac_res" >&5
5744 echo "${ECHO_T}$ac_res" >&6; }
5747 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5748 cat >>confdefs.h
<<_ACEOF
5749 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5758 for ac_header
in sys
/mount.h
5760 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5761 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5763 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5764 echo $ECHO_N "(cached) $ECHO_C" >&6
5766 cat >conftest.
$ac_ext <<_ACEOF
5769 cat confdefs.h
>>conftest.
$ac_ext
5770 cat >>conftest.
$ac_ext <<_ACEOF
5771 /* end confdefs.h. */
5772 #include <sys/param.h>
5774 #include <$ac_header>
5776 rm -f conftest.
$ac_objext
5777 if { (ac_try
="$ac_compile"
5779 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5780 *) ac_try_echo=$ac_try;;
5782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5783 (eval "$ac_compile") 2>conftest.er1
5785 grep -v '^ *+' conftest.er1 >conftest.err
5787 cat conftest.err >&5
5788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5789 (exit $ac_status); } && {
5790 test -z "$ac_c_werror_flag" ||
5791 test ! -s conftest.err
5792 } && test -s conftest.$ac_objext; then
5793 eval "$as_ac_Header=yes"
5795 echo "$as_me: failed program was:" >&5
5796 sed 's/^/| /' conftest.$ac_ext >&5
5798 eval "$as_ac_Header=no"
5801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5803 ac_res=`eval echo '${'$as_ac_Header'}'`
5804 { echo "$as_me:$LINENO: result: $ac_res" >&5
5805 echo "${ECHO_T}$ac_res" >&6; }
5806 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5807 cat >>confdefs.h <<_ACEOF
5808 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5822 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
5823 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
5824 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
5825 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
5826 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5827 echo $ECHO_N "(cached) $ECHO_C" >&6
5829 cat >conftest.$ac_ext <<_ACEOF
5832 cat confdefs.h >>conftest.$ac_ext
5833 cat >>conftest.$ac_ext <<_ACEOF
5834 /* end confdefs.h. */
5835 #include <sys/types.h>
5847 rm -f conftest.$ac_objext
5848 if { (ac_try="$ac_compile"
5850 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5851 *) ac_try_echo
=$ac_try;;
5853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5854 (eval "$ac_compile") 2>conftest.er1
5856 grep -v '^ *+' conftest.er1
>conftest.err
5858 cat conftest.err
>&5
5859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5860 (exit $ac_status); } && {
5861 test -z "$ac_c_werror_flag" ||
5862 test ! -s conftest.err
5863 } && test -s conftest.
$ac_objext; then
5864 eval "$as_ac_Header=yes"
5866 echo "$as_me: failed program was:" >&5
5867 sed 's/^/| /' conftest.
$ac_ext >&5
5869 eval "$as_ac_Header=no"
5872 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5874 ac_res
=`eval echo '${'$as_ac_Header'}'`
5875 { echo "$as_me:$LINENO: result: $ac_res" >&5
5876 echo "${ECHO_T}$ac_res" >&6; }
5877 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5878 cat >>confdefs.h
<<_ACEOF
5879 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5882 ac_header_dirent
=$ac_hdr; break
5886 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5887 if test $ac_header_dirent = dirent.h
; then
5888 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
5889 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
5890 if test "${ac_cv_search_opendir+set}" = set; then
5891 echo $ECHO_N "(cached) $ECHO_C" >&6
5893 ac_func_search_save_LIBS
=$LIBS
5894 cat >conftest.
$ac_ext <<_ACEOF
5897 cat confdefs.h
>>conftest.
$ac_ext
5898 cat >>conftest.
$ac_ext <<_ACEOF
5899 /* end confdefs.h. */
5901 /* Override any GCC internal prototype to avoid an error.
5902 Use char because int might match the return type of a GCC
5903 builtin and then its argument prototype would still apply. */
5916 for ac_lib
in '' dir
; do
5917 if test -z "$ac_lib"; then
5918 ac_res
="none required"
5921 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5923 rm -f conftest.
$ac_objext conftest
$ac_exeext
5924 if { (ac_try
="$ac_link"
5926 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5927 *) ac_try_echo=$ac_try;;
5929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5930 (eval "$ac_link") 2>conftest.er1
5932 grep -v '^ *+' conftest.er1 >conftest.err
5934 cat conftest.err >&5
5935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5936 (exit $ac_status); } && {
5937 test -z "$ac_c_werror_flag" ||
5938 test ! -s conftest.err
5939 } && test -s conftest$ac_exeext &&
5940 $as_test_x conftest$ac_exeext; then
5941 ac_cv_search_opendir=$ac_res
5943 echo "$as_me: failed program was:" >&5
5944 sed 's/^/| /' conftest.$ac_ext >&5
5949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5951 if test "${ac_cv_search_opendir+set}" = set; then
5955 if test "${ac_cv_search_opendir+set}" = set; then
5958 ac_cv_search_opendir=no
5961 LIBS=$ac_func_search_save_LIBS
5963 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5964 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
5965 ac_res=$ac_cv_search_opendir
5966 if test "$ac_res" != no; then
5967 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5972 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
5973 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
5974 if test "${ac_cv_search_opendir+set}" = set; then
5975 echo $ECHO_N "(cached) $ECHO_C" >&6
5977 ac_func_search_save_LIBS=$LIBS
5978 cat >conftest.$ac_ext <<_ACEOF
5981 cat confdefs.h >>conftest.$ac_ext
5982 cat >>conftest.$ac_ext <<_ACEOF
5983 /* end confdefs.h. */
5985 /* Override any GCC internal prototype to avoid an error.
5986 Use char because int might match the return type of a GCC
5987 builtin and then its argument prototype would still apply. */
6000 for ac_lib in '' x; do
6001 if test -z "$ac_lib"; then
6002 ac_res="none required"
6005 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6007 rm -f conftest.$ac_objext conftest$ac_exeext
6008 if { (ac_try="$ac_link"
6010 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6011 *) ac_try_echo
=$ac_try;;
6013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6014 (eval "$ac_link") 2>conftest.er1
6016 grep -v '^ *+' conftest.er1
>conftest.err
6018 cat conftest.err
>&5
6019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6020 (exit $ac_status); } && {
6021 test -z "$ac_c_werror_flag" ||
6022 test ! -s conftest.err
6023 } && test -s conftest
$ac_exeext &&
6024 $as_test_x conftest
$ac_exeext; then
6025 ac_cv_search_opendir
=$ac_res
6027 echo "$as_me: failed program was:" >&5
6028 sed 's/^/| /' conftest.
$ac_ext >&5
6033 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6035 if test "${ac_cv_search_opendir+set}" = set; then
6039 if test "${ac_cv_search_opendir+set}" = set; then
6042 ac_cv_search_opendir
=no
6045 LIBS
=$ac_func_search_save_LIBS
6047 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6048 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
6049 ac_res
=$ac_cv_search_opendir
6050 if test "$ac_res" != no
; then
6051 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6057 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
6058 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
6059 if test "${ac_cv_header_stat_broken+set}" = set; then
6060 echo $ECHO_N "(cached) $ECHO_C" >&6
6062 cat >conftest.
$ac_ext <<_ACEOF
6065 cat confdefs.h
>>conftest.
$ac_ext
6066 cat >>conftest.
$ac_ext <<_ACEOF
6067 /* end confdefs.h. */
6068 #include <sys/types.h>
6069 #include <sys/stat.h>
6071 #if defined S_ISBLK && defined S_IFDIR
6072 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6075 #if defined S_ISBLK && defined S_IFCHR
6076 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6079 #if defined S_ISLNK && defined S_IFREG
6080 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6083 #if defined S_ISSOCK && defined S_IFREG
6084 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6088 rm -f conftest.
$ac_objext
6089 if { (ac_try
="$ac_compile"
6091 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6092 *) ac_try_echo=$ac_try;;
6094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6095 (eval "$ac_compile") 2>conftest.er1
6097 grep -v '^ *+' conftest.er1 >conftest.err
6099 cat conftest.err >&5
6100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6101 (exit $ac_status); } && {
6102 test -z "$ac_c_werror_flag" ||
6103 test ! -s conftest.err
6104 } && test -s conftest.$ac_objext; then
6105 ac_cv_header_stat_broken=no
6107 echo "$as_me: failed program was:" >&5
6108 sed 's/^/| /' conftest.$ac_ext >&5
6110 ac_cv_header_stat_broken=yes
6113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6115 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
6116 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
6117 if test $ac_cv_header_stat_broken = yes; then
6119 cat >>confdefs.h <<\_ACEOF
6120 #define STAT_MACROS_BROKEN 1
6125 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6126 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6127 if test "${ac_cv_header_stdc+set}" = set; then
6128 echo $ECHO_N "(cached) $ECHO_C" >&6
6130 cat >conftest.$ac_ext <<_ACEOF
6133 cat confdefs.h >>conftest.$ac_ext
6134 cat >>conftest.$ac_ext <<_ACEOF
6135 /* end confdefs.h. */
6149 rm -f conftest.$ac_objext
6150 if { (ac_try="$ac_compile"
6152 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6153 *) ac_try_echo
=$ac_try;;
6155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6156 (eval "$ac_compile") 2>conftest.er1
6158 grep -v '^ *+' conftest.er1
>conftest.err
6160 cat conftest.err
>&5
6161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6162 (exit $ac_status); } && {
6163 test -z "$ac_c_werror_flag" ||
6164 test ! -s conftest.err
6165 } && test -s conftest.
$ac_objext; then
6166 ac_cv_header_stdc
=yes
6168 echo "$as_me: failed program was:" >&5
6169 sed 's/^/| /' conftest.
$ac_ext >&5
6171 ac_cv_header_stdc
=no
6174 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6176 if test $ac_cv_header_stdc = yes; then
6177 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6178 cat >conftest.
$ac_ext <<_ACEOF
6181 cat confdefs.h
>>conftest.
$ac_ext
6182 cat >>conftest.
$ac_ext <<_ACEOF
6183 /* end confdefs.h. */
6187 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6188 $EGREP "memchr" >/dev
/null
2>&1; then
6191 ac_cv_header_stdc
=no
6197 if test $ac_cv_header_stdc = yes; then
6198 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6199 cat >conftest.
$ac_ext <<_ACEOF
6202 cat confdefs.h
>>conftest.
$ac_ext
6203 cat >>conftest.
$ac_ext <<_ACEOF
6204 /* end confdefs.h. */
6208 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6209 $EGREP "free" >/dev
/null
2>&1; then
6212 ac_cv_header_stdc
=no
6218 if test $ac_cv_header_stdc = yes; then
6219 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6220 if test "$cross_compiling" = yes; then
6223 cat >conftest.
$ac_ext <<_ACEOF
6226 cat confdefs.h
>>conftest.
$ac_ext
6227 cat >>conftest.
$ac_ext <<_ACEOF
6228 /* end confdefs.h. */
6231 #if ((' ' & 0x0FF) == 0x020)
6232 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6233 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6235 # define ISLOWER(c) \
6236 (('a' <= (c) && (c) <= 'i') \
6237 || ('j' <= (c) && (c) <= 'r') \
6238 || ('s' <= (c) && (c) <= 'z'))
6239 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6242 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6247 for (i = 0; i < 256; i++)
6248 if (XOR (islower (i), ISLOWER (i))
6249 || toupper (i) != TOUPPER (i))
6254 rm -f conftest
$ac_exeext
6255 if { (ac_try
="$ac_link"
6257 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6258 *) ac_try_echo=$ac_try;;
6260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6261 (eval "$ac_link") 2>&5
6263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6264 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6265 { (case "(($ac_try" in
6266 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6267 *) ac_try_echo
=$ac_try;;
6269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6270 (eval "$ac_try") 2>&5
6272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6273 (exit $ac_status); }; }; then
6276 echo "$as_me: program exited with status $ac_status" >&5
6277 echo "$as_me: failed program was:" >&5
6278 sed 's/^/| /' conftest.
$ac_ext >&5
6281 ac_cv_header_stdc
=no
6283 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6289 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6290 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6291 if test $ac_cv_header_stdc = yes; then
6293 cat >>confdefs.h
<<\_ACEOF
6294 #define STDC_HEADERS 1
6299 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
6300 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
6301 if test "${ac_cv_header_sys_wait_h+set}" = set; then
6302 echo $ECHO_N "(cached) $ECHO_C" >&6
6304 cat >conftest.
$ac_ext <<_ACEOF
6307 cat confdefs.h
>>conftest.
$ac_ext
6308 cat >>conftest.
$ac_ext <<_ACEOF
6309 /* end confdefs.h. */
6310 #include <sys/types.h>
6311 #include <sys/wait.h>
6313 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6316 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6324 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6329 rm -f conftest.
$ac_objext
6330 if { (ac_try
="$ac_compile"
6332 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6333 *) ac_try_echo=$ac_try;;
6335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6336 (eval "$ac_compile") 2>conftest.er1
6338 grep -v '^ *+' conftest.er1 >conftest.err
6340 cat conftest.err >&5
6341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6342 (exit $ac_status); } && {
6343 test -z "$ac_c_werror_flag" ||
6344 test ! -s conftest.err
6345 } && test -s conftest.$ac_objext; then
6346 ac_cv_header_sys_wait_h=yes
6348 echo "$as_me: failed program was:" >&5
6349 sed 's/^/| /' conftest.$ac_ext >&5
6351 ac_cv_header_sys_wait_h=no
6354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6356 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
6357 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
6358 if test $ac_cv_header_sys_wait_h = yes; then
6360 cat >>confdefs.h <<\_ACEOF
6361 #define HAVE_SYS_WAIT_H 1
6366 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6367 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
6368 if test "${ac_cv_header_time+set}" = set; then
6369 echo $ECHO_N "(cached) $ECHO_C" >&6
6371 cat >conftest.$ac_ext <<_ACEOF
6374 cat confdefs.h >>conftest.$ac_ext
6375 cat >>conftest.$ac_ext <<_ACEOF
6376 /* end confdefs.h. */
6377 #include <sys/types.h>
6378 #include <sys/time.h>
6384 if ((struct tm *) 0)
6390 rm -f conftest.$ac_objext
6391 if { (ac_try="$ac_compile"
6393 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6394 *) ac_try_echo
=$ac_try;;
6396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6397 (eval "$ac_compile") 2>conftest.er1
6399 grep -v '^ *+' conftest.er1
>conftest.err
6401 cat conftest.err
>&5
6402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6403 (exit $ac_status); } && {
6404 test -z "$ac_c_werror_flag" ||
6405 test ! -s conftest.err
6406 } && test -s conftest.
$ac_objext; then
6407 ac_cv_header_time
=yes
6409 echo "$as_me: failed program was:" >&5
6410 sed 's/^/| /' conftest.
$ac_ext >&5
6412 ac_cv_header_time
=no
6415 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6417 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6418 echo "${ECHO_T}$ac_cv_header_time" >&6; }
6419 if test $ac_cv_header_time = yes; then
6421 cat >>confdefs.h
<<\_ACEOF
6422 #define TIME_WITH_SYS_TIME 1
6427 { echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6428 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6; }
6429 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6430 echo $ECHO_N "(cached) $ECHO_C" >&6
6432 cat >conftest.
$ac_ext <<_ACEOF
6435 cat confdefs.h
>>conftest.
$ac_ext
6436 cat >>conftest.
$ac_ext <<_ACEOF
6437 /* end confdefs.h. */
6438 $ac_includes_default
6442 static struct stat ac_aggr;
6443 if (ac_aggr.st_blksize)
6449 rm -f conftest.
$ac_objext
6450 if { (ac_try
="$ac_compile"
6452 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6453 *) ac_try_echo=$ac_try;;
6455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6456 (eval "$ac_compile") 2>conftest.er1
6458 grep -v '^ *+' conftest.er1 >conftest.err
6460 cat conftest.err >&5
6461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6462 (exit $ac_status); } && {
6463 test -z "$ac_c_werror_flag" ||
6464 test ! -s conftest.err
6465 } && test -s conftest.$ac_objext; then
6466 ac_cv_member_struct_stat_st_blksize=yes
6468 echo "$as_me: failed program was:" >&5
6469 sed 's/^/| /' conftest.$ac_ext >&5
6471 cat >conftest.$ac_ext <<_ACEOF
6474 cat confdefs.h >>conftest.$ac_ext
6475 cat >>conftest.$ac_ext <<_ACEOF
6476 /* end confdefs.h. */
6477 $ac_includes_default
6481 static struct stat ac_aggr;
6482 if (sizeof ac_aggr.st_blksize)
6488 rm -f conftest.$ac_objext
6489 if { (ac_try="$ac_compile"
6491 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6492 *) ac_try_echo
=$ac_try;;
6494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6495 (eval "$ac_compile") 2>conftest.er1
6497 grep -v '^ *+' conftest.er1
>conftest.err
6499 cat conftest.err
>&5
6500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6501 (exit $ac_status); } && {
6502 test -z "$ac_c_werror_flag" ||
6503 test ! -s conftest.err
6504 } && test -s conftest.
$ac_objext; then
6505 ac_cv_member_struct_stat_st_blksize
=yes
6507 echo "$as_me: failed program was:" >&5
6508 sed 's/^/| /' conftest.
$ac_ext >&5
6510 ac_cv_member_struct_stat_st_blksize
=no
6513 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6516 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6518 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
6519 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6; }
6520 if test $ac_cv_member_struct_stat_st_blksize = yes; then
6522 cat >>confdefs.h
<<_ACEOF
6523 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6527 cat >>confdefs.h
<<\_ACEOF
6528 #define HAVE_ST_BLKSIZE 1
6534 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
6535 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
6536 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
6537 echo $ECHO_N "(cached) $ECHO_C" >&6
6539 cat >conftest.
$ac_ext <<_ACEOF
6542 cat confdefs.h
>>conftest.
$ac_ext
6543 cat >>conftest.
$ac_ext <<_ACEOF
6544 /* end confdefs.h. */
6545 $ac_includes_default
6549 static struct stat ac_aggr;
6550 if (ac_aggr.st_blocks)
6556 rm -f conftest.
$ac_objext
6557 if { (ac_try
="$ac_compile"
6559 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6560 *) ac_try_echo=$ac_try;;
6562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6563 (eval "$ac_compile") 2>conftest.er1
6565 grep -v '^ *+' conftest.er1 >conftest.err
6567 cat conftest.err >&5
6568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6569 (exit $ac_status); } && {
6570 test -z "$ac_c_werror_flag" ||
6571 test ! -s conftest.err
6572 } && test -s conftest.$ac_objext; then
6573 ac_cv_member_struct_stat_st_blocks=yes
6575 echo "$as_me: failed program was:" >&5
6576 sed 's/^/| /' conftest.$ac_ext >&5
6578 cat >conftest.$ac_ext <<_ACEOF
6581 cat confdefs.h >>conftest.$ac_ext
6582 cat >>conftest.$ac_ext <<_ACEOF
6583 /* end confdefs.h. */
6584 $ac_includes_default
6588 static struct stat ac_aggr;
6589 if (sizeof ac_aggr.st_blocks)
6595 rm -f conftest.$ac_objext
6596 if { (ac_try="$ac_compile"
6598 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6599 *) ac_try_echo
=$ac_try;;
6601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6602 (eval "$ac_compile") 2>conftest.er1
6604 grep -v '^ *+' conftest.er1
>conftest.err
6606 cat conftest.err
>&5
6607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6608 (exit $ac_status); } && {
6609 test -z "$ac_c_werror_flag" ||
6610 test ! -s conftest.err
6611 } && test -s conftest.
$ac_objext; then
6612 ac_cv_member_struct_stat_st_blocks
=yes
6614 echo "$as_me: failed program was:" >&5
6615 sed 's/^/| /' conftest.
$ac_ext >&5
6617 ac_cv_member_struct_stat_st_blocks
=no
6620 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6623 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6625 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
6626 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
6627 if test $ac_cv_member_struct_stat_st_blocks = yes; then
6629 cat >>confdefs.h
<<_ACEOF
6630 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6634 cat >>confdefs.h
<<\_ACEOF
6635 #define HAVE_ST_BLOCKS 1
6639 case " $LIBOBJS " in
6640 *" fileblocks.$ac_objext "* ) ;;
6641 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6648 { echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6649 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6; }
6650 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6651 echo $ECHO_N "(cached) $ECHO_C" >&6
6653 cat >conftest.
$ac_ext <<_ACEOF
6656 cat confdefs.h
>>conftest.
$ac_ext
6657 cat >>conftest.
$ac_ext <<_ACEOF
6658 /* end confdefs.h. */
6659 $ac_includes_default
6663 static struct stat ac_aggr;
6664 if (ac_aggr.st_rdev)
6670 rm -f conftest.
$ac_objext
6671 if { (ac_try
="$ac_compile"
6673 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6674 *) ac_try_echo=$ac_try;;
6676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6677 (eval "$ac_compile") 2>conftest.er1
6679 grep -v '^ *+' conftest.er1 >conftest.err
6681 cat conftest.err >&5
6682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6683 (exit $ac_status); } && {
6684 test -z "$ac_c_werror_flag" ||
6685 test ! -s conftest.err
6686 } && test -s conftest.$ac_objext; then
6687 ac_cv_member_struct_stat_st_rdev=yes
6689 echo "$as_me: failed program was:" >&5
6690 sed 's/^/| /' conftest.$ac_ext >&5
6692 cat >conftest.$ac_ext <<_ACEOF
6695 cat confdefs.h >>conftest.$ac_ext
6696 cat >>conftest.$ac_ext <<_ACEOF
6697 /* end confdefs.h. */
6698 $ac_includes_default
6702 static struct stat ac_aggr;
6703 if (sizeof ac_aggr.st_rdev)
6709 rm -f conftest.$ac_objext
6710 if { (ac_try="$ac_compile"
6712 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6713 *) ac_try_echo
=$ac_try;;
6715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6716 (eval "$ac_compile") 2>conftest.er1
6718 grep -v '^ *+' conftest.er1
>conftest.err
6720 cat conftest.err
>&5
6721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6722 (exit $ac_status); } && {
6723 test -z "$ac_c_werror_flag" ||
6724 test ! -s conftest.err
6725 } && test -s conftest.
$ac_objext; then
6726 ac_cv_member_struct_stat_st_rdev
=yes
6728 echo "$as_me: failed program was:" >&5
6729 sed 's/^/| /' conftest.
$ac_ext >&5
6731 ac_cv_member_struct_stat_st_rdev
=no
6734 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6737 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6739 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
6740 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6; }
6741 if test $ac_cv_member_struct_stat_st_rdev = yes; then
6743 cat >>confdefs.h
<<_ACEOF
6744 #define HAVE_STRUCT_STAT_ST_RDEV 1
6748 cat >>confdefs.h
<<\_ACEOF
6749 #define HAVE_ST_RDEV 1
6755 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6756 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
6757 if test "${ac_cv_struct_tm+set}" = set; then
6758 echo $ECHO_N "(cached) $ECHO_C" >&6
6760 cat >conftest.
$ac_ext <<_ACEOF
6763 cat confdefs.h
>>conftest.
$ac_ext
6764 cat >>conftest.
$ac_ext <<_ACEOF
6765 /* end confdefs.h. */
6766 #include <sys/types.h>
6773 int *p = &tm.tm_sec;
6779 rm -f conftest.
$ac_objext
6780 if { (ac_try
="$ac_compile"
6782 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6783 *) ac_try_echo=$ac_try;;
6785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6786 (eval "$ac_compile") 2>conftest.er1
6788 grep -v '^ *+' conftest.er1 >conftest.err
6790 cat conftest.err >&5
6791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6792 (exit $ac_status); } && {
6793 test -z "$ac_c_werror_flag" ||
6794 test ! -s conftest.err
6795 } && test -s conftest.$ac_objext; then
6796 ac_cv_struct_tm=time.h
6798 echo "$as_me: failed program was:" >&5
6799 sed 's/^/| /' conftest.$ac_ext >&5
6801 ac_cv_struct_tm=sys/time.h
6804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6806 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6807 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
6808 if test $ac_cv_struct_tm = sys/time.h; then
6810 cat >>confdefs.h <<\_ACEOF
6811 #define TM_IN_SYS_TIME 1
6816 { echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
6817 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6; }
6818 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
6819 echo $ECHO_N "(cached) $ECHO_C" >&6
6821 cat >conftest.$ac_ext <<_ACEOF
6824 cat confdefs.h >>conftest.$ac_ext
6825 cat >>conftest.$ac_ext <<_ACEOF
6826 /* end confdefs.h. */
6827 #include <sys/types.h>
6828 #include <$ac_cv_struct_tm>
6834 static struct tm ac_aggr;
6835 if (ac_aggr.tm_zone)
6841 rm -f conftest.$ac_objext
6842 if { (ac_try="$ac_compile"
6844 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6845 *) ac_try_echo
=$ac_try;;
6847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6848 (eval "$ac_compile") 2>conftest.er1
6850 grep -v '^ *+' conftest.er1
>conftest.err
6852 cat conftest.err
>&5
6853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6854 (exit $ac_status); } && {
6855 test -z "$ac_c_werror_flag" ||
6856 test ! -s conftest.err
6857 } && test -s conftest.
$ac_objext; then
6858 ac_cv_member_struct_tm_tm_zone
=yes
6860 echo "$as_me: failed program was:" >&5
6861 sed 's/^/| /' conftest.
$ac_ext >&5
6863 cat >conftest.
$ac_ext <<_ACEOF
6866 cat confdefs.h
>>conftest.
$ac_ext
6867 cat >>conftest.
$ac_ext <<_ACEOF
6868 /* end confdefs.h. */
6869 #include <sys/types.h>
6870 #include <$ac_cv_struct_tm>
6876 static struct tm ac_aggr;
6877 if (sizeof ac_aggr.tm_zone)
6883 rm -f conftest.
$ac_objext
6884 if { (ac_try
="$ac_compile"
6886 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6887 *) ac_try_echo=$ac_try;;
6889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6890 (eval "$ac_compile") 2>conftest.er1
6892 grep -v '^ *+' conftest.er1 >conftest.err
6894 cat conftest.err >&5
6895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6896 (exit $ac_status); } && {
6897 test -z "$ac_c_werror_flag" ||
6898 test ! -s conftest.err
6899 } && test -s conftest.$ac_objext; then
6900 ac_cv_member_struct_tm_tm_zone=yes
6902 echo "$as_me: failed program was:" >&5
6903 sed 's/^/| /' conftest.$ac_ext >&5
6905 ac_cv_member_struct_tm_tm_zone=no
6908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6913 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
6914 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6; }
6915 if test $ac_cv_member_struct_tm_tm_zone = yes; then
6917 cat >>confdefs.h <<_ACEOF
6918 #define HAVE_STRUCT_TM_TM_ZONE 1
6924 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6926 cat >>confdefs.h <<\_ACEOF
6927 #define HAVE_TM_ZONE 1
6931 { echo "$as_me:$LINENO: checking whether tzname is declared" >&5
6932 echo $ECHO_N "checking whether tzname is declared... $ECHO_C" >&6; }
6933 if test "${ac_cv_have_decl_tzname+set}" = set; then
6934 echo $ECHO_N "(cached) $ECHO_C" >&6
6936 cat >conftest.$ac_ext <<_ACEOF
6939 cat confdefs.h >>conftest.$ac_ext
6940 cat >>conftest.$ac_ext <<_ACEOF
6941 /* end confdefs.h. */
6955 rm -f conftest.$ac_objext
6956 if { (ac_try="$ac_compile"
6958 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6959 *) ac_try_echo
=$ac_try;;
6961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6962 (eval "$ac_compile") 2>conftest.er1
6964 grep -v '^ *+' conftest.er1
>conftest.err
6966 cat conftest.err
>&5
6967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6968 (exit $ac_status); } && {
6969 test -z "$ac_c_werror_flag" ||
6970 test ! -s conftest.err
6971 } && test -s conftest.
$ac_objext; then
6972 ac_cv_have_decl_tzname
=yes
6974 echo "$as_me: failed program was:" >&5
6975 sed 's/^/| /' conftest.
$ac_ext >&5
6977 ac_cv_have_decl_tzname
=no
6980 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6982 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5
6983 echo "${ECHO_T}$ac_cv_have_decl_tzname" >&6; }
6984 if test $ac_cv_have_decl_tzname = yes; then
6986 cat >>confdefs.h
<<_ACEOF
6987 #define HAVE_DECL_TZNAME 1
6992 cat >>confdefs.h
<<_ACEOF
6993 #define HAVE_DECL_TZNAME 0
7000 { echo "$as_me:$LINENO: checking for tzname" >&5
7001 echo $ECHO_N "checking for tzname... $ECHO_C" >&6; }
7002 if test "${ac_cv_var_tzname+set}" = set; then
7003 echo $ECHO_N "(cached) $ECHO_C" >&6
7005 cat >conftest.
$ac_ext <<_ACEOF
7008 cat confdefs.h
>>conftest.
$ac_ext
7009 cat >>conftest.
$ac_ext <<_ACEOF
7010 /* end confdefs.h. */
7012 #if !HAVE_DECL_TZNAME
7013 extern char *tzname[];
7019 return tzname[0][0];
7024 rm -f conftest.
$ac_objext conftest
$ac_exeext
7025 if { (ac_try
="$ac_link"
7027 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7028 *) ac_try_echo=$ac_try;;
7030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7031 (eval "$ac_link") 2>conftest.er1
7033 grep -v '^ *+' conftest.er1 >conftest.err
7035 cat conftest.err >&5
7036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7037 (exit $ac_status); } && {
7038 test -z "$ac_c_werror_flag" ||
7039 test ! -s conftest.err
7040 } && test -s conftest$ac_exeext &&
7041 $as_test_x conftest$ac_exeext; then
7042 ac_cv_var_tzname=yes
7044 echo "$as_me: failed program was:" >&5
7045 sed 's/^/| /' conftest.$ac_ext >&5
7050 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7051 conftest$ac_exeext conftest.$ac_ext
7053 { echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
7054 echo "${ECHO_T}$ac_cv_var_tzname" >&6; }
7055 if test $ac_cv_var_tzname = yes; then
7057 cat >>confdefs.h <<\_ACEOF
7058 #define HAVE_TZNAME 1
7064 { echo "$as_me:$LINENO: checking for off_t" >&5
7065 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
7066 if test "${ac_cv_type_off_t+set}" = set; then
7067 echo $ECHO_N "(cached) $ECHO_C" >&6
7069 cat >conftest.$ac_ext <<_ACEOF
7072 cat confdefs.h >>conftest.$ac_ext
7073 cat >>conftest.$ac_ext <<_ACEOF
7074 /* end confdefs.h. */
7075 $ac_includes_default
7076 typedef off_t ac__type_new_;
7080 if ((ac__type_new_ *) 0)
7082 if (sizeof (ac__type_new_))
7088 rm -f conftest.$ac_objext
7089 if { (ac_try="$ac_compile"
7091 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7092 *) ac_try_echo
=$ac_try;;
7094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7095 (eval "$ac_compile") 2>conftest.er1
7097 grep -v '^ *+' conftest.er1
>conftest.err
7099 cat conftest.err
>&5
7100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7101 (exit $ac_status); } && {
7102 test -z "$ac_c_werror_flag" ||
7103 test ! -s conftest.err
7104 } && test -s conftest.
$ac_objext; then
7105 ac_cv_type_off_t
=yes
7107 echo "$as_me: failed program was:" >&5
7108 sed 's/^/| /' conftest.
$ac_ext >&5
7113 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7115 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
7116 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
7117 if test $ac_cv_type_off_t = yes; then
7121 cat >>confdefs.h
<<_ACEOF
7122 #define off_t long int
7127 { echo "$as_me:$LINENO: checking for pid_t" >&5
7128 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
7129 if test "${ac_cv_type_pid_t+set}" = set; then
7130 echo $ECHO_N "(cached) $ECHO_C" >&6
7132 cat >conftest.
$ac_ext <<_ACEOF
7135 cat confdefs.h
>>conftest.
$ac_ext
7136 cat >>conftest.
$ac_ext <<_ACEOF
7137 /* end confdefs.h. */
7138 $ac_includes_default
7139 typedef pid_t ac__type_new_;
7143 if ((ac__type_new_ *) 0)
7145 if (sizeof (ac__type_new_))
7151 rm -f conftest.
$ac_objext
7152 if { (ac_try
="$ac_compile"
7154 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7155 *) ac_try_echo=$ac_try;;
7157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7158 (eval "$ac_compile") 2>conftest.er1
7160 grep -v '^ *+' conftest.er1 >conftest.err
7162 cat conftest.err >&5
7163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7164 (exit $ac_status); } && {
7165 test -z "$ac_c_werror_flag" ||
7166 test ! -s conftest.err
7167 } && test -s conftest.$ac_objext; then
7168 ac_cv_type_pid_t=yes
7170 echo "$as_me: failed program was:" >&5
7171 sed 's/^/| /' conftest.$ac_ext >&5
7176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7178 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
7179 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
7180 if test $ac_cv_type_pid_t = yes; then
7184 cat >>confdefs.h <<_ACEOF
7190 { echo "$as_me:$LINENO: checking for size_t" >&5
7191 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
7192 if test "${ac_cv_type_size_t+set}" = set; then
7193 echo $ECHO_N "(cached) $ECHO_C" >&6
7195 cat >conftest.$ac_ext <<_ACEOF
7198 cat confdefs.h >>conftest.$ac_ext
7199 cat >>conftest.$ac_ext <<_ACEOF
7200 /* end confdefs.h. */
7201 $ac_includes_default
7202 typedef size_t ac__type_new_;
7206 if ((ac__type_new_ *) 0)
7208 if (sizeof (ac__type_new_))
7214 rm -f conftest.$ac_objext
7215 if { (ac_try="$ac_compile"
7217 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7218 *) ac_try_echo
=$ac_try;;
7220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7221 (eval "$ac_compile") 2>conftest.er1
7223 grep -v '^ *+' conftest.er1
>conftest.err
7225 cat conftest.err
>&5
7226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7227 (exit $ac_status); } && {
7228 test -z "$ac_c_werror_flag" ||
7229 test ! -s conftest.err
7230 } && test -s conftest.
$ac_objext; then
7231 ac_cv_type_size_t
=yes
7233 echo "$as_me: failed program was:" >&5
7234 sed 's/^/| /' conftest.
$ac_ext >&5
7236 ac_cv_type_size_t
=no
7239 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7241 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
7242 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
7243 if test $ac_cv_type_size_t = yes; then
7247 cat >>confdefs.h
<<_ACEOF
7248 #define size_t unsigned int
7253 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
7254 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
7255 if test "${ac_cv_type_uid_t+set}" = set; then
7256 echo $ECHO_N "(cached) $ECHO_C" >&6
7258 cat >conftest.
$ac_ext <<_ACEOF
7261 cat confdefs.h
>>conftest.
$ac_ext
7262 cat >>conftest.
$ac_ext <<_ACEOF
7263 /* end confdefs.h. */
7264 #include <sys/types.h>
7267 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7268 $EGREP "uid_t" >/dev
/null
2>&1; then
7269 ac_cv_type_uid_t
=yes
7276 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
7277 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
7278 if test $ac_cv_type_uid_t = no
; then
7280 cat >>confdefs.h
<<\_ACEOF
7285 cat >>confdefs.h
<<\_ACEOF
7292 { echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
7293 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6; }
7294 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
7295 echo $ECHO_N "(cached) $ECHO_C" >&6
7297 cat >conftest.
$ac_ext <<_ACEOF
7300 cat confdefs.h
>>conftest.
$ac_ext
7301 cat >>conftest.
$ac_ext <<_ACEOF
7302 /* end confdefs.h. */
7303 $ac_includes_default
7307 static struct tm ac_aggr;
7308 if (ac_aggr.tm_gmtoff)
7314 rm -f conftest.
$ac_objext
7315 if { (ac_try
="$ac_compile"
7317 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7318 *) ac_try_echo=$ac_try;;
7320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7321 (eval "$ac_compile") 2>conftest.er1
7323 grep -v '^ *+' conftest.er1 >conftest.err
7325 cat conftest.err >&5
7326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7327 (exit $ac_status); } && {
7328 test -z "$ac_c_werror_flag" ||
7329 test ! -s conftest.err
7330 } && test -s conftest.$ac_objext; then
7331 ac_cv_member_struct_tm_tm_gmtoff=yes
7333 echo "$as_me: failed program was:" >&5
7334 sed 's/^/| /' conftest.$ac_ext >&5
7336 cat >conftest.$ac_ext <<_ACEOF
7339 cat confdefs.h >>conftest.$ac_ext
7340 cat >>conftest.$ac_ext <<_ACEOF
7341 /* end confdefs.h. */
7342 $ac_includes_default
7346 static struct tm ac_aggr;
7347 if (sizeof ac_aggr.tm_gmtoff)
7353 rm -f conftest.$ac_objext
7354 if { (ac_try="$ac_compile"
7356 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7357 *) ac_try_echo
=$ac_try;;
7359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7360 (eval "$ac_compile") 2>conftest.er1
7362 grep -v '^ *+' conftest.er1
>conftest.err
7364 cat conftest.err
>&5
7365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7366 (exit $ac_status); } && {
7367 test -z "$ac_c_werror_flag" ||
7368 test ! -s conftest.err
7369 } && test -s conftest.
$ac_objext; then
7370 ac_cv_member_struct_tm_tm_gmtoff
=yes
7372 echo "$as_me: failed program was:" >&5
7373 sed 's/^/| /' conftest.
$ac_ext >&5
7375 ac_cv_member_struct_tm_tm_gmtoff
=no
7378 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7381 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7383 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
7384 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6; }
7385 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
7387 cat >>confdefs.h
<<_ACEOF
7388 #define HAVE_STRUCT_TM_TM_GMTOFF 1
7395 # Look for some functions
7410 for ac_func
in getpagesize kqueue statfs statvfs \
7411 clone kse_create rfork_thread thr_create sa_register \
7412 getcontext makecontext setcontext sigaltstack swapcontext
7414 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7415 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7417 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7418 echo $ECHO_N "(cached) $ECHO_C" >&6
7420 cat >conftest.
$ac_ext <<_ACEOF
7423 cat confdefs.h
>>conftest.
$ac_ext
7424 cat >>conftest.
$ac_ext <<_ACEOF
7425 /* end confdefs.h. */
7426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7428 #define $ac_func innocuous_$ac_func
7430 /* System header to define __stub macros and hopefully few prototypes,
7431 which can conflict with char $ac_func (); below.
7432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7433 <limits.h> exists even on freestanding compilers. */
7436 # include <limits.h>
7438 # include <assert.h>
7443 /* Override any GCC internal prototype to avoid an error.
7444 Use char because int might match the return type of a GCC
7445 builtin and then its argument prototype would still apply. */
7450 /* The GNU C library defines this for functions which it implements
7451 to always fail with ENOSYS. Some functions are actually named
7452 something starting with __ and the normal name is an alias. */
7453 #if defined __stub_$ac_func || defined __stub___$ac_func
7465 rm -f conftest.
$ac_objext conftest
$ac_exeext
7466 if { (ac_try
="$ac_link"
7468 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7469 *) ac_try_echo=$ac_try;;
7471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7472 (eval "$ac_link") 2>conftest.er1
7474 grep -v '^ *+' conftest.er1 >conftest.err
7476 cat conftest.err >&5
7477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7478 (exit $ac_status); } && {
7479 test -z "$ac_c_werror_flag" ||
7480 test ! -s conftest.err
7481 } && test -s conftest$ac_exeext &&
7482 $as_test_x conftest$ac_exeext; then
7483 eval "$as_ac_var=yes"
7485 echo "$as_me: failed program was:" >&5
7486 sed 's/^/| /' conftest.$ac_ext >&5
7488 eval "$as_ac_var=no"
7491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7492 conftest$ac_exeext conftest.$ac_ext
7494 ac_res=`eval echo '${'$as_ac_var'}'`
7495 { echo "$as_me:$LINENO: result: $ac_res" >&5
7496 echo "${ECHO_T}$ac_res" >&6; }
7497 if test `eval echo '${'$as_ac_var'}'` = yes; then
7498 cat >>confdefs.h <<_ACEOF
7499 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7508 for ac_header in stdlib.h unistd.h
7510 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7511 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7512 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7513 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7514 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7515 echo $ECHO_N "(cached) $ECHO_C" >&6
7517 ac_res=`eval echo '${'$as_ac_Header'}'`
7518 { echo "$as_me:$LINENO: result: $ac_res" >&5
7519 echo "${ECHO_T}$ac_res" >&6; }
7521 # Is the header compilable?
7522 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7523 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7524 cat >conftest.$ac_ext <<_ACEOF
7527 cat confdefs.h >>conftest.$ac_ext
7528 cat >>conftest.$ac_ext <<_ACEOF
7529 /* end confdefs.h. */
7530 $ac_includes_default
7531 #include <$ac_header>
7533 rm -f conftest.$ac_objext
7534 if { (ac_try="$ac_compile"
7536 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7537 *) ac_try_echo
=$ac_try;;
7539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7540 (eval "$ac_compile") 2>conftest.er1
7542 grep -v '^ *+' conftest.er1
>conftest.err
7544 cat conftest.err
>&5
7545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7546 (exit $ac_status); } && {
7547 test -z "$ac_c_werror_flag" ||
7548 test ! -s conftest.err
7549 } && test -s conftest.
$ac_objext; then
7550 ac_header_compiler
=yes
7552 echo "$as_me: failed program was:" >&5
7553 sed 's/^/| /' conftest.
$ac_ext >&5
7555 ac_header_compiler
=no
7558 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7559 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7560 echo "${ECHO_T}$ac_header_compiler" >&6; }
7562 # Is the header present?
7563 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7564 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7565 cat >conftest.
$ac_ext <<_ACEOF
7568 cat confdefs.h
>>conftest.
$ac_ext
7569 cat >>conftest.
$ac_ext <<_ACEOF
7570 /* end confdefs.h. */
7571 #include <$ac_header>
7573 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7575 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7576 *) ac_try_echo=$ac_try;;
7578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7579 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7581 grep -v '^ *+' conftest.er1 >conftest.err
7583 cat conftest.err >&5
7584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7585 (exit $ac_status); } >/dev/null && {
7586 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7587 test ! -s conftest.err
7589 ac_header_preproc=yes
7591 echo "$as_me: failed program was:" >&5
7592 sed 's/^/| /' conftest.$ac_ext >&5
7594 ac_header_preproc=no
7597 rm -f conftest.err conftest.$ac_ext
7598 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7599 echo "${ECHO_T}$ac_header_preproc" >&6; }
7601 # So? What about this header?
7602 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7604 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7605 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7606 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7607 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7608 ac_header_preproc=yes
7611 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7612 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7613 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7614 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7615 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7616 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7617 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7618 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7619 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7620 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7621 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7622 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7626 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7627 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7628 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7629 echo $ECHO_N "(cached) $ECHO_C" >&6
7631 eval "$as_ac_Header=\$ac_header_preproc"
7633 ac_res=`eval echo '${'$as_ac_Header'}'`
7634 { echo "$as_me:$LINENO: result: $ac_res" >&5
7635 echo "${ECHO_T}$ac_res" >&6; }
7638 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7639 cat >>confdefs.h <<_ACEOF
7640 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7648 for ac_func in getpagesize
7650 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
7651 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7653 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7654 echo $ECHO_N "(cached) $ECHO_C" >&6
7656 cat >conftest.$ac_ext <<_ACEOF
7659 cat confdefs.h >>conftest.$ac_ext
7660 cat >>conftest.$ac_ext <<_ACEOF
7661 /* end confdefs.h. */
7662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7664 #define $ac_func innocuous_$ac_func
7666 /* System header to define __stub macros and hopefully few prototypes,
7667 which can conflict with char $ac_func (); below.
7668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7669 <limits.h> exists even on freestanding compilers. */
7672 # include <limits.h>
7674 # include <assert.h>
7679 /* Override any GCC internal prototype to avoid an error.
7680 Use char because int might match the return type of a GCC
7681 builtin and then its argument prototype would still apply. */
7686 /* The GNU C library defines this for functions which it implements
7687 to always fail with ENOSYS. Some functions are actually named
7688 something starting with __ and the normal name is an alias. */
7689 #if defined __stub_$ac_func || defined __stub___$ac_func
7701 rm -f conftest.$ac_objext conftest$ac_exeext
7702 if { (ac_try="$ac_link"
7704 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7705 *) ac_try_echo
=$ac_try;;
7707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7708 (eval "$ac_link") 2>conftest.er1
7710 grep -v '^ *+' conftest.er1
>conftest.err
7712 cat conftest.err
>&5
7713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7714 (exit $ac_status); } && {
7715 test -z "$ac_c_werror_flag" ||
7716 test ! -s conftest.err
7717 } && test -s conftest
$ac_exeext &&
7718 $as_test_x conftest
$ac_exeext; then
7719 eval "$as_ac_var=yes"
7721 echo "$as_me: failed program was:" >&5
7722 sed 's/^/| /' conftest.
$ac_ext >&5
7724 eval "$as_ac_var=no"
7727 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7728 conftest
$ac_exeext conftest.
$ac_ext
7730 ac_res
=`eval echo '${'$as_ac_var'}'`
7731 { echo "$as_me:$LINENO: result: $ac_res" >&5
7732 echo "${ECHO_T}$ac_res" >&6; }
7733 if test `eval echo '${'$as_ac_var'}'` = yes; then
7734 cat >>confdefs.h
<<_ACEOF
7735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7741 { echo "$as_me:$LINENO: checking for working mmap" >&5
7742 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
7743 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
7744 echo $ECHO_N "(cached) $ECHO_C" >&6
7746 if test "$cross_compiling" = yes; then
7747 ac_cv_func_mmap_fixed_mapped
=no
7749 cat >conftest.
$ac_ext <<_ACEOF
7752 cat confdefs.h
>>conftest.
$ac_ext
7753 cat >>conftest.
$ac_ext <<_ACEOF
7754 /* end confdefs.h. */
7755 $ac_includes_default
7756 /* malloc might have been renamed as rpl_malloc. */
7759 /* Thanks to Mike Haertel and Jim Avera for this test.
7760 Here is a matrix of mmap possibilities:
7761 mmap private not fixed
7762 mmap private fixed at somewhere currently unmapped
7763 mmap private fixed at somewhere already mapped
7764 mmap shared not fixed
7765 mmap shared fixed at somewhere currently unmapped
7766 mmap shared fixed at somewhere already mapped
7767 For private mappings, we should verify that changes cannot be read()
7768 back from the file, nor mmap's back from the file at a different
7769 address. (There have been systems where private was not correctly
7770 implemented like the infamous i386 svr4.0, and systems where the
7771 VM page cache was not coherent with the file system buffer cache
7772 like early versions of FreeBSD and possibly contemporary NetBSD.)
7773 For shared mappings, we should conversely verify that changes get
7774 propagated back to all the places they're supposed to be.
7776 Grep wants private fixed already mapped.
7777 The main things grep needs to know about mmap are:
7778 * does it exist and is it safe to write into the mmap'd area
7779 * how to use it (BSD variants) */
7782 #include <sys/mman.h>
7784 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7788 /* This mess was copied from the GNU getpagesize.h. */
7789 #ifndef HAVE_GETPAGESIZE
7790 /* Assume that all systems that can run configure have sys/param.h. */
7791 # ifndef HAVE_SYS_PARAM_H
7792 # define HAVE_SYS_PARAM_H 1
7795 # ifdef _SC_PAGESIZE
7796 # define getpagesize() sysconf(_SC_PAGESIZE)
7797 # else /* no _SC_PAGESIZE */
7798 # ifdef HAVE_SYS_PARAM_H
7799 # include <sys/param.h>
7800 # ifdef EXEC_PAGESIZE
7801 # define getpagesize() EXEC_PAGESIZE
7802 # else /* no EXEC_PAGESIZE */
7804 # define getpagesize() NBPG * CLSIZE
7807 # endif /* no CLSIZE */
7808 # else /* no NBPG */
7810 # define getpagesize() NBPC
7811 # else /* no NBPC */
7813 # define getpagesize() PAGESIZE
7814 # endif /* PAGESIZE */
7815 # endif /* no NBPC */
7816 # endif /* no NBPG */
7817 # endif /* no EXEC_PAGESIZE */
7818 # else /* no HAVE_SYS_PARAM_H */
7819 # define getpagesize() 8192 /* punt totally */
7820 # endif /* no HAVE_SYS_PARAM_H */
7821 # endif /* no _SC_PAGESIZE */
7823 #endif /* no HAVE_GETPAGESIZE */
7828 char *data, *data2, *data3;
7832 pagesize = getpagesize ();
7834 /* First, make a file with some known garbage in it. */
7835 data = (char *) malloc (pagesize);
7838 for (i = 0; i < pagesize; ++i)
7839 *(data + i) = rand ();
7841 fd = creat ("conftest.mmap", 0600);
7844 if (write (fd, data, pagesize) != pagesize)
7848 /* Next, try to mmap the file at a fixed address which already has
7849 something else allocated at it. If we can, also make sure that
7850 we see the same garbage. */
7851 fd = open ("conftest.mmap", O_RDWR);
7854 data2 = (char *) malloc (2 * pagesize);
7857 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
7858 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7859 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7861 for (i = 0; i < pagesize; ++i)
7862 if (*(data + i) != *(data2 + i))
7865 /* Finally, make sure that changes to the mapped area do not
7866 percolate back to the file as seen by read(). (This is a bug on
7867 some variants of i386 svr4.0.) */
7868 for (i = 0; i < pagesize; ++i)
7869 *(data2 + i) = *(data2 + i) + 1;
7870 data3 = (char *) malloc (pagesize);
7873 if (read (fd, data3, pagesize) != pagesize)
7875 for (i = 0; i < pagesize; ++i)
7876 if (*(data + i) != *(data3 + i))
7882 rm -f conftest
$ac_exeext
7883 if { (ac_try
="$ac_link"
7885 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7886 *) ac_try_echo=$ac_try;;
7888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7889 (eval "$ac_link") 2>&5
7891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7892 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7893 { (case "(($ac_try" in
7894 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7895 *) ac_try_echo
=$ac_try;;
7897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7898 (eval "$ac_try") 2>&5
7900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7901 (exit $ac_status); }; }; then
7902 ac_cv_func_mmap_fixed_mapped
=yes
7904 echo "$as_me: program exited with status $ac_status" >&5
7905 echo "$as_me: failed program was:" >&5
7906 sed 's/^/| /' conftest.
$ac_ext >&5
7909 ac_cv_func_mmap_fixed_mapped
=no
7911 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7916 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
7917 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
7918 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7920 cat >>confdefs.h
<<\_ACEOF
7930 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7931 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7932 aros_config_ldflags
=""
7934 aros_shared_default
=yes
7936 aros_shared_cflags
="-fPIC"
7937 aros_shared_aflags
=""
7938 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7939 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7941 aros_target_ar_flags
="cr"
7942 aros_target_nm_flags
="-C -ul"
7943 aros_target_strip_flags
="--strip-unneeded -R.comment"
7948 aros_target_genmap
="-Wl,-Map -Xlinker"
7950 # Native flavour stuff
7951 aros_serial_debug
="0"
7953 # Palm native flavour stuff
7954 aros_palm_debug_hack
="0"
7956 # Unix flavour stuff
7957 aros_nesting_supervisor
="0"
7959 # Collect-aros stuff: "-ius" to ignore undefined symbols
7960 ignore_undefined_symbols
=""
7962 #-----------------------------------------------------------------------------
7965 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7966 # it switched on by default, and we use the host compiler, so it compiles AROS
7967 # code with this enabled resulting in link failures as we don't have support
7970 # We use two methods to disable it. For the host compiler (used to compile
7971 # some hosted modules), we test to see if the compiler supports stack
7972 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7973 # work on all platforms.
7975 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
7976 # (this is done unconditionally, as it should have no effect on compilers
7977 # without the stack protection feature). This may be specific to the way that
7978 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
7979 # strong enough to disable it in a generic way though, so we'll live with it
7980 # until another vendor ships GCC with it enabled in a different way, and deal
7984 { echo "$as_me:$LINENO: checking whether ${CC} accepts -fno-stack-protector" >&5
7985 echo $ECHO_N "checking whether ${CC} accepts -fno-stack-protector... $ECHO_C" >&6; }
7986 save_cflags
="$CFLAGS"
7987 CFLAGS
="$CFLAGS -fno-stack-protector"
7988 cat >conftest.
$ac_ext <<_ACEOF
7991 cat confdefs.h
>>conftest.
$ac_ext
7992 cat >>conftest.
$ac_ext <<_ACEOF
7993 /* end confdefs.h. */
8003 rm -f conftest.
$ac_objext
8004 if { (ac_try
="$ac_compile"
8006 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8007 *) ac_try_echo=$ac_try;;
8009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8010 (eval "$ac_compile") 2>conftest.er1
8012 grep -v '^ *+' conftest.er1 >conftest.err
8014 cat conftest.err >&5
8015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8016 (exit $ac_status); } && {
8017 test -z "$ac_c_werror_flag" ||
8018 test ! -s conftest.err
8019 } && test -s conftest.$ac_objext; then
8020 use_no_stack_protector="yes"
8022 echo "$as_me: failed program was:" >&5
8023 sed 's/^/| /' conftest.$ac_ext >&5
8025 use_no_stack_protector="no"
8028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8029 { echo "$as_me:$LINENO: result: $use_no_stack_protector" >&5
8030 echo "${ECHO_T}$use_no_stack_protector" >&6; }
8031 if test "x-$use_no_stack_protector" = "x-yes" ; then
8032 aros_host_cflags="$aros_host_cflags -fno-stack-protector"
8034 CFLAGS="$save_cflags"
8036 #-----------------------------------------------------------------------------
8038 # Disable pointer-signedness warnings if the compiler recognises the option
8039 # (this only works for the host compiler at the moment)
8041 { echo "$as_me:$LINENO: checking whether ${CC} accepts -Wno-pointer-sign" >&5
8042 echo $ECHO_N "checking whether ${CC} accepts -Wno-pointer-sign... $ECHO_C" >&6; }
8043 save_cflags="$CFLAGS"
8044 CFLAGS="$CFLAGS -Wno-pointer-sign"
8045 cat >conftest.$ac_ext <<_ACEOF
8048 cat confdefs.h >>conftest.$ac_ext
8049 cat >>conftest.$ac_ext <<_ACEOF
8050 /* end confdefs.h. */
8060 rm -f conftest.$ac_objext
8061 if { (ac_try="$ac_compile"
8063 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8064 *) ac_try_echo
=$ac_try;;
8066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8067 (eval "$ac_compile") 2>conftest.er1
8069 grep -v '^ *+' conftest.er1
>conftest.err
8071 cat conftest.err
>&5
8072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8073 (exit $ac_status); } && {
8074 test -z "$ac_c_werror_flag" ||
8075 test ! -s conftest.err
8076 } && test -s conftest.
$ac_objext; then
8077 use_no_sign_warning
="yes"
8079 echo "$as_me: failed program was:" >&5
8080 sed 's/^/| /' conftest.
$ac_ext >&5
8082 use_no_sign_warning
="no"
8085 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8086 { echo "$as_me:$LINENO: result: $use_no_sign_warning" >&5
8087 echo "${ECHO_T}$use_no_sign_warning" >&6; }
8088 if test "x-$use_no_sign_warning" = "x-yes" ; then
8089 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
8091 CFLAGS
="$save_cflags"
8093 #-----------------------------------------------------------------------------
8095 { echo "$as_me:$LINENO: checking for type of build" >&5
8096 echo $ECHO_N "checking for type of build... $ECHO_C" >&6; }
8097 # Check whether --enable-build_type was given.
8098 if test "${enable_build_type+set}" = set; then
8099 enableval
=$enable_build_type; build_type
=$enableval
8101 build_type
="personal"
8105 if test "$build_type" = "nightly"; then
8106 build_type_string
="NIGHTLY"
8107 elif test "$build_type" = "snapshot"; then
8108 build_type_string
="SNAPSHOT"
8109 elif test "$build_type" = "milestone"; then
8110 build_type_string
="MILESTONE"
8111 elif test "$build_type" = "release"; then
8112 build_type_string
="RELEASE"
8114 build_type_string
="PERSONAL"
8115 build_type
="personal"
8118 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
8120 { echo "$as_me:$LINENO: result: $build_type" >&5
8121 echo "${ECHO_T}$build_type" >&6; }
8123 #-----------------------------------------------------------------------------
8124 all_debug_types
="messages stack modules mungwall symbols"
8126 { echo "$as_me:$LINENO: checking which debug types to enable" >&5
8127 echo $ECHO_N "checking which debug types to enable... $ECHO_C" >&6; }
8128 # Check whether --enable-debug was given.
8129 if test "${enable_debug+set}" = set; then
8130 enableval
=$enable_debug; debug
="$enableval"
8136 if test "$debug" = "" -o "$debug" = "no"; then
8138 elif test "$debug" = "yes"; then
8142 if test "$debug" = "all" ; then
8143 debug
="messages stack modules symbols"
8144 for d
in $all_debug_types; do
8145 export aros_
${d}_debug
="1"
8148 for d
in $all_debug_types; do
8149 export aros_
${d}_debug
="0"
8153 if test "$debug" != "none"; then
8154 debug
=`echo $debug | sed s/,/\ /g`
8157 for d2
in $all_debug_types; do
8158 if test "$d2" = "$d"; then
8163 if test "$found" = "0"; then
8164 { { echo "$as_me:$LINENO: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&5
8165 echo "$as_me: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&2;}
8166 { (exit 1); exit 1; }; }
8168 export aros_
${d}_debug
="1"
8172 { echo "$as_me:$LINENO: result: $debug" >&5
8173 echo "${ECHO_T}$debug" >&6; }
8175 if test "$aros_messages_debug" = "1"; then
8176 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
8178 aros_messages_debug
=""
8180 if test "$aros_symbols_debug" = "1"; then
8181 aros_symbols_debug
="-g"
8183 aros_symbols_debug
=""
8186 # These are the flags to pass when compiling debugged programs
8187 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8188 aros_debug_aflags
=""
8189 aros_debug_ldflags
="$aros_symbols_debug"
8191 aros_crosstools
="no"
8193 #-----------------------------------------------------------------------------
8194 # Checking if we should build crosstools..
8195 { echo "$as_me:$LINENO: checking whether to build crosstools" >&5
8196 echo $ECHO_N "checking whether to build crosstools... $ECHO_C" >&6; }
8197 # Check whether --enable-crosstools was given.
8198 if test "${enable_crosstools+set}" = set; then
8199 enableval
=$enable_crosstools; crosstools
="$enableval"
8204 if test "$crosstools" != "" -a "$crosstools" != "no"; then
8205 { echo "$as_me:$LINENO: result: yes" >&5
8206 echo "${ECHO_T}yes" >&6; }
8207 aros_crosstools
="yes"
8209 { echo "$as_me:$LINENO: result: no" >&5
8210 echo "${ECHO_T}no" >&6; }
8213 #-----------------------------------------------------------------------------
8214 # Checking for distcc and ccache.
8216 # Always apply the transforms in this particular order. Basically you should
8217 # always run 'ccache distcc compiler' in that order for the best performance.
8219 { echo "$as_me:$LINENO: checking whether to enable distcc" >&5
8220 echo $ECHO_N "checking whether to enable distcc... $ECHO_C" >&6; }
8221 # Check whether --enable-distcc was given.
8222 if test "${enable_distcc+set}" = set; then
8223 enableval
=$enable_distcc; distcc
="$enableval"
8228 if test "$distcc" != "" -a "$distcc" != "no"; then
8229 # AC_CHECK_PROG will print out the result in this case
8230 # Extract the first word of "distcc", so it can be a program name with args.
8231 set dummy distcc
; ac_word
=$2
8232 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8234 if test "${ac_cv_path_DISTCC+set}" = set; then
8235 echo $ECHO_N "(cached) $ECHO_C" >&6
8239 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
8242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8246 test -z "$as_dir" && as_dir
=.
8247 for ac_exec_ext
in '' $ac_executable_extensions; do
8248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8249 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
8250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8257 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
8261 DISTCC
=$ac_cv_path_DISTCC
8262 if test -n "$DISTCC"; then
8263 { echo "$as_me:$LINENO: result: $DISTCC" >&5
8264 echo "${ECHO_T}$DISTCC" >&6; }
8266 { echo "$as_me:$LINENO: result: no" >&5
8267 echo "${ECHO_T}no" >&6; }
8272 { echo "$as_me:$LINENO: result: no" >&5
8273 echo "${ECHO_T}no" >&6; }
8276 { echo "$as_me:$LINENO: checking whether to enable ccache" >&5
8277 echo $ECHO_N "checking whether to enable ccache... $ECHO_C" >&6; }
8278 # Check whether --enable-ccache was given.
8279 if test "${enable_ccache+set}" = set; then
8280 enableval
=$enable_ccache; ccache
="$enableval"
8285 if test "$ccache" != "" -a "$ccache" != "no"; then
8286 # AC_CHECK_PROG will print out the result in this case
8287 # Extract the first word of "ccache", so it can be a program name with args.
8288 set dummy ccache
; ac_word
=$2
8289 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8291 if test "${ac_cv_prog_CCACHE+set}" = set; then
8292 echo $ECHO_N "(cached) $ECHO_C" >&6
8294 if test -n "$CCACHE"; then
8295 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
8297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8301 test -z "$as_dir" && as_dir
=.
8302 for ac_exec_ext
in '' $ac_executable_extensions; do
8303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8304 ac_cv_prog_CCACHE
="ccache"
8305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8314 CCACHE
=$ac_cv_prog_CCACHE
8315 if test -n "$CCACHE"; then
8316 { echo "$as_me:$LINENO: result: $CCACHE" >&5
8317 echo "${ECHO_T}$CCACHE" >&6; }
8319 { echo "$as_me:$LINENO: result: no" >&5
8320 echo "${ECHO_T}no" >&6; }
8325 { echo "$as_me:$LINENO: result: no" >&5
8326 echo "${ECHO_T}no" >&6; }
8329 #-----------------------------------------------------------------------------
8330 { echo "$as_me:$LINENO: checking what specific gcc version to use" >&5
8331 echo $ECHO_N "checking what specific gcc version to use... $ECHO_C" >&6; }
8333 # Check whether --with-gcc-version was given.
8334 if test "${with_gcc_version+set}" = set; then
8335 withval
=$with_gcc_version; target_tool_version
="$withval"
8337 target_tool_version
="default"
8340 { echo "$as_me:$LINENO: result: $target_tool_version" >&5
8341 echo "${ECHO_T}$target_tool_version" >&6; }
8343 #-----------------------------------------------------------------------------
8344 { echo "$as_me:$LINENO: checking what optimization flags to use" >&5
8345 echo $ECHO_N "checking what optimization flags to use... $ECHO_C" >&6; }
8347 # Check whether --with-optimization was given.
8348 if test "${with_optimization+set}" = set; then
8349 withval
=$with_optimization; optimization
="$withval"
8351 optimization
="unknown"
8354 if test "$optimization" = "unknown"; then
8355 if test "$debug" != "none"; then
8361 aros_config_cflags
="$aros_config_cflags $optimization"
8362 { echo "$as_me:$LINENO: result: $optimization" >&5
8363 echo "${ECHO_T}$optimization" >&6; }
8365 #-----------------------------------------------------------------------------
8366 { echo "$as_me:$LINENO: checking what paranoia flags to use" >&5
8367 echo $ECHO_N "checking what paranoia flags to use... $ECHO_C" >&6; }
8369 # Check whether --with-paranoia was given.
8370 if test "${with_paranoia+set}" = set; then
8371 withval
=$with_paranoia; paranoia_flags
="$withval"
8373 paranoia_flags
="default"
8376 if test "$paranoia_flags" = "default"; then
8378 else if test "$paranoia_flags" = "yes"; then
8379 paranoia_flags
="-Wall -W -Werror"
8381 { echo "$as_me:$LINENO: result: $paranoia_flags" >&5
8382 echo "${ECHO_T}$paranoia_flags" >&6; }
8383 aros_paranoia_cflags
="$paranoia_flags"
8385 #-----------------------------------------------------------------------------
8386 if test "$target_os" = "ios"; then
8388 { echo "$as_me:$LINENO: checking XCode path" >&5
8389 echo $ECHO_N "checking XCode path... $ECHO_C" >&6; }
8391 # Check whether --with-xcode-path was given.
8392 if test "${with_xcode_path+set}" = set; then
8393 withval
=$with_xcode_path; aros_xcode_path
="$withval"
8395 aros_xcode_path
="/Developer"
8398 { echo "$as_me:$LINENO: result: $aros_xcode_path" >&5
8399 echo "${ECHO_T}$aros_xcode_path" >&6; }
8401 { echo "$as_me:$LINENO: checking for minimum supported iOS version" >&5
8402 echo $ECHO_N "checking for minimum supported iOS version... $ECHO_C" >&6; }
8404 # Check whether --with-ios-version was given.
8405 if test "${with_ios_version+set}" = set; then
8406 withval
=$with_ios_version; aros_ios_version
="$withval"
8408 aros_ios_version
="2.0"
8411 { echo "$as_me:$LINENO: result: $aros_ios_version" >&5
8412 echo "${ECHO_T}$aros_ios_version" >&6; }
8414 { echo "$as_me:$LINENO: checking what iOS SDK version to use" >&5
8415 echo $ECHO_N "checking what iOS SDK version to use... $ECHO_C" >&6; }
8417 # Check whether --with-ios-sdk was given.
8418 if test "${with_ios_sdk+set}" = set; then
8419 withval
=$with_ios_sdk; aros_ios_sdk
="$withval"
8424 { echo "$as_me:$LINENO: result: $aros_ios_sdk" >&5
8425 echo "${ECHO_T}$aros_ios_sdk" >&6; }
8429 #-----------------------------------------------------------------------------
8430 { echo "$as_me:$LINENO: checking what target variant to enable" >&5
8431 echo $ECHO_N "checking what target variant to enable... $ECHO_C" >&6; }
8432 # Check whether --enable-target_variant was given.
8433 if test "${enable_target_variant+set}" = set; then
8434 enableval
=$enable_target_variant; target_variant
=$enableval
8436 target_variant
="none"
8439 if test "$target_variant" = "none"; then
8440 aros_target_variant
=""
8441 aros_target_suffix
=""
8443 aros_target_variant
="$target_variant"
8444 aros_target_suffix
="-$target_variant"
8446 { echo "$as_me:$LINENO: result: $enableval" >&5
8447 echo "${ECHO_T}$enableval" >&6; }
8449 target_bootloader
="none"
8451 #-----------------------------------------------------------------------------
8452 # This is the target configuration switch.
8453 case "$target_os" in
8455 aros_target_arch
="linux"
8456 aros_target_family
="unix"
8457 case "$target_cpu" in
8459 aros_target_cpu
="m68k"
8460 aros_object_format
="m68kelf"
8461 aros_flavour
="emulcompat"
8462 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
8463 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
8464 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
8465 gcc_target_cpu
="mc68000"
8468 aros_target_cpu
="i386"
8469 aros_object_format
="elf_i386"
8470 aros_flavour
="emulation"
8471 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
8472 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
8473 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
8474 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
8475 aros_config_ldflags
="-m32 -march=i486"
8476 aros_kernel_ldflags
="-melf_i386"
8477 aros_default_wbdepth
=8
8478 gcc_target_cpu
="i386"
8481 aros_target_cpu
="x86_64"
8482 aros_object_format
="elf_x86_64"
8483 aros_flavour
="emulation"
8484 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
8485 aros_config_cflags
="$aros_config_cflags -mno-red-zone"
8486 aros_default_wbdepth
=8
8487 gcc_target_cpu
="x86_64"
8490 aros_target_cpu
="ppc"
8491 aros_object_format
="elf32ppc"
8492 aros_flavour
="emulation"
8493 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8494 aros_default_wbdepth
=8
8495 gcc_target_cpu
="ppc"
8498 # Same as powerpc, but I need this for the nightly build to work again.
8499 # Actually, the nightly should be made working with powerpc target.
8500 # That just was too much work for the moment, another week or two.
8502 aros_target_cpu
="ppc"
8503 aros_object_format
="elf32ppc"
8504 aros_flavour
="emulation"
8505 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8506 aros_default_wbdepth
=8
8507 gcc_target_cpu
="ppc"
8510 aros_target_cpu
="arm"
8511 aros_object_format
="armelf_linux_eabi"
8512 aros_flavour
="emulation"
8513 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8514 gcc_target_cpu
="arm"
8515 aros_config_cflags
="$aros_config_cflags -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
8516 aros_config_aflags
="$aros_config_aflags -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
8519 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Linux -- $target_cpu\"" >&5
8520 echo "$as_me: error: \"Unknown CPU for Linux -- $target_cpu\"" >&2;}
8521 { (exit 1); exit 1; }; }
8527 aros_target_arch
="pc"
8528 aros_shared_default
="no"
8529 target_bootloader
="grub2"
8530 case "$target_cpu" in
8532 aros_target_cpu
="i386"
8535 if test "$aros_object_format" = "" ; then
8536 aros_object_format
="elf_i386"
8538 aros_flavour
="standalone"
8539 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8540 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
8541 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
8542 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
8543 aros_config_ldflags
="-m32 -march=i486"
8544 aros_kernel_ldflags
="-melf_i386"
8545 aros_default_wbwidth
=640
8546 aros_default_wbheight
=480
8547 gcc_target_cpu
="i386"
8550 aros_target_cpu
="x86_64"
8552 if test "$aros_object_format" = "" ; then
8553 aros_object_format
="elf_x86_64"
8555 aros_flavour
="standalone"
8556 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8557 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone"
8558 aros_kernel_ldflags
=""
8559 aros_default_wbwidth
=640
8560 aros_default_wbheight
=480
8561 gcc_target_cpu
="x86_64"
8564 { { echo "$as_me:$LINENO: error: \"Unknown native CPU -- $target_cpu\"" >&5
8565 echo "$as_me: error: \"Unknown native CPU -- $target_cpu\"" >&2;}
8566 { (exit 1); exit 1; }; }
8572 aros_target_arch
="prep"
8573 aros_shared_default
="no"
8574 aros_target_cpu
="ppc"
8575 aros_object_format
="elf32ppc"
8576 aros_flavour
="ppcnative"
8577 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8578 aros_kernel_ldflags
=""
8579 aros_default_wbwidth
=640
8580 aros_default_wbheight
=480
8581 gcc_target_cpu
="ppc"
8585 aros_target_arch
="freebsd"
8586 aros_target_family
="unix"
8587 aros_target_cpu
="i386"
8588 aros_flavour
="emulation"
8589 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8590 gcc_target_cpu
="i386"
8592 aros_target_strip_flags
="-x"
8596 aros_target_arch
="darwin"
8597 aros_target_family
="unix"
8598 aros_flavour
="emulation"
8599 case "$target_cpu" in
8601 aros_target_cpu
="i386"
8602 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8603 aros_kernel_cflags
="$aros_kernel_cflags -m32"
8604 aros_kernel_ldflags
="$aros_kernel_ldflags -m32"
8605 aros_default_wbdepth
=8
8606 gcc_target_cpu
="i386"
8607 aros_object_format
="elf_i386"
8608 aros_target_strip_flags
="-x"
8609 aros_target_cc
="i386-aros-gcc"
8610 aros_target_cxx
="i386-aros-g++"
8611 aros_target_ld
="i386-aros-ld"
8612 aros_target_as
="i386-aros-as"
8613 aros_target_ar
="i386-aros-ar"
8614 aros_target_ranlib
="i386-aros-ranlib"
8615 aros_target_nm
="i386-aros-nm"
8616 aros_target_strip
="i386-aros-strip"
8617 aros_target_objcopy
="i386-aros-objcopy"
8618 aros_target_objdump
="i386-aros-objdump"
8619 target_tool_prefix
="i686-apple-darwin10-"
8622 aros_target_cpu
="x86_64"
8623 aros_object_format
="elf_x86_64"
8624 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8625 aros_kernel_cflags
="$aros_kernel_cflags -m64"
8626 aros_kernel_ldflags
="$aros_kernel_ldflags -m64"
8627 aros_default_wbdepth
=8
8628 gcc_target_cpu
="x86_64"
8629 aros_target_cc
="x86_64-aros-gcc"
8630 aros_target_cxx
="x86_64-aros-g++"
8631 aros_target_ld
="x86_64-aros-ld"
8632 aros_target_as
="x86_64-aros-as"
8633 aros_target_ar
="x86_64-aros-ar"
8634 aros_target_ranlib
="x86_64-aros-ranlib"
8635 aros_target_nm
="x86_64-aros-nm"
8636 aros_target_strip
="x86_64-aros-strip"
8637 aros_target_objcopy
="x86_64-aros-objcopy"
8638 aros_target_objdump
="x86_64-aros-objdump"
8639 target_tool_prefix
="i686-apple-darwin10-"
8642 aros_target_cpu
="ppc"
8643 aros_object_format
="elf32_ppc"
8644 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8645 aros_default_wbdepth
=8
8646 gcc_target_cpu
="ppc"
8647 aros_target_cc
="ppc-aros-gcc"
8648 aros_target_cxx
="ppc-aros-g++"
8649 aros_target_ld
="ppc-aros-ld"
8650 aros_target_as
="ppc-aros-as"
8651 aros_target_ar
="ppc-aros-ar"
8652 aros_target_ranlib
="ppc-aros-ranlib"
8653 aros_target_nm
="ppc-aros-nm"
8654 aros_target_strip
="ppc-aros-strip"
8655 aros_target_objcopy
="ppc-aros-objcopy"
8656 aros_target_objdump
="ppc-aros-objdump"
8657 target_tool_prefix
="powerpc-apple-darwin10-"
8660 { { echo "$as_me:$LINENO: error: \"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" >&5
8661 echo "$as_me: error: \"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" >&2;}
8662 { (exit 1); exit 1; }; }
8668 aros_target_arch
="ios"
8669 aros_target_family
="unix"
8670 aros_flavour
="emulation"
8671 # This is here because it may depend on iOS or SDK version
8672 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
8673 case "$target_cpu" in
8675 aros_ios_platform
="iPhoneSimulator"
8676 aros_target_cpu
="i386"
8677 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8678 aros_default_wbdepth
=8
8679 gcc_target_cpu
="i386"
8680 aros_object_format
="elf_i386"
8681 aros_target_strip_flags
="-x"
8682 aros_target_cc
="i386-aros-gcc"
8683 aros_target_cxx
="i386-aros-g++"
8684 aros_target_ld
="i386-aros-ld"
8685 aros_target_as
="i386-aros-as"
8686 aros_target_ar
="i386-aros-ar"
8687 aros_target_ranlib
="i386-aros-ranlib"
8688 aros_target_nm
="i386-aros-nm"
8689 aros_target_strip
="i386-aros-strip"
8690 aros_target_objcopy
="i386-aros-objcopy"
8691 aros_target_objdump
="i386-aros-objdump"
8692 target_tool_prefix
="i686-apple-darwin10-"
8693 target_tool_flags
="-m32"
8696 aros_ios_platform
="iPhoneOS"
8697 aros_target_cpu
="arm"
8698 aros_object_format
="armelf_linux_eabi"
8699 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8700 aros_config_cflags
="$aros_config_cflags -march=armv6 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
8701 aros_config_aflags
="$aros_config_aflags -march=armv6 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
8702 aros_arch_libs
="-laeabi"
8703 aros_default_wbdepth
=8
8704 gcc_target_cpu
="arm"
8705 aros_kernel_ld
="ld -arch armv6"
8706 aros_target_cc
="arm-aros-gcc"
8707 aros_target_cxx
="arm-aros-g++"
8708 aros_target_ld
="arm-aros-ld"
8709 aros_target_as
="arm-aros-as"
8710 aros_target_ar
="arm-aros-ar"
8711 aros_target_ranlib
="arm-aros-ranlib"
8712 aros_target_nm
="arm-aros-nm"
8713 aros_target_strip
="arm-aros-strip"
8714 aros_target_objcopy
="arm-aros-objcopy"
8715 aros_target_objdump
="arm-aros-objdump"
8716 target_tool_prefix
="arm-apple-darwin10-"
8717 aros_default_wbwidth
=320
8718 aros_default_wbheight
=480
8719 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
8722 { { echo "$as_me:$LINENO: error: \"Unsupported target CPU for iOS hosted flavour -- $target_cpu\"" >&5
8723 echo "$as_me: error: \"Unsupported target CPU for iOS hosted flavour -- $target_cpu\"" >&2;}
8724 { (exit 1); exit 1; }; }
8727 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_ios_sdk.sdk"
8728 target_tool_flags
="$target_tool_flags --sysroot $aros_ios_sdk"
8732 aros_target_arch
="dragonfly"
8733 aros_target_family
="unix"
8734 aros_flavour
="emulation"
8735 case "$target_cpu" in
8737 aros_target_cpu
="i386"
8738 aros_object_format
="elf_i386"
8739 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
8742 aros_target_cpu
="x86_64"
8743 aros_object_format
="elf_x86_64"
8744 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
8747 { { echo "$as_me:$LINENO: error: \"Unknown CPU for DragonFly -- $target_cpu\"" >&5
8748 echo "$as_me: error: \"Unknown CPU for DragonFly -- $target_cpu\"" >&2;}
8749 { (exit 1); exit 1; }; }
8755 aros_target_arch
="netbsd"
8756 aros_target_family
="unix"
8757 case "$target_cpu" in
8759 aros_target_cpu
="m68k"
8760 aros_object_format
="m68kelf"
8761 aros_flavour
="emulcompat"
8762 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8763 gcc_target_cpu
="mc68000"
8766 aros_target_cpu
="i386"
8767 aros_object_format
="elf_i386"
8768 aros_flavour
="emulation"
8769 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8770 aros_default_wbdepth
=8
8771 gcc_target_cpu
="i386"
8774 { { echo "$as_me:$LINENO: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&5
8775 echo "$as_me: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&2;}
8776 { (exit 1); exit 1; }; }
8779 aros_target_genmap
="-Wl,-M -Xlinker >"
8780 aros_flavour
="emulation"
8781 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8785 aros_target_arch
="openbsd"
8786 aros_target_family
="unix"
8787 case "$target_cpu" in
8789 aros_target_cpu
="i386"
8790 aros_object_format
="elf_i386"
8791 aros_flavour
="emulation"
8792 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8793 gcc_target_cpu
="i386"
8796 { { echo "$as_me:$LINENO: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&5
8797 echo "$as_me: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&2;}
8798 { (exit 1); exit 1; }; }
8801 aros_target_genmap
="-Wl,-M -Xlinker >"
8802 aros_target_nm_flags
="-u"
8803 aros_flavour
="emulation"
8807 aros_target_arch
="solaris"
8808 aros_target_family
="unix"
8809 case "$target_cpu" in
8811 aros_target_cpu
="i386"
8812 aros_object_format
="elf_i386"
8813 aros_flavour
="emulation"
8814 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8815 aros_default_wbdepth
=8
8816 gcc_target_cpu
="i386"
8819 aros_target_cpu
="sparc"
8820 aros_object_format
="elf_sparc"
8821 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8822 gcc_target_cpu
="sparc"
8825 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&5
8826 echo "$as_me: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&2;}
8827 { (exit 1); exit 1; }; }
8830 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8831 aros_flavour
="emulation"
8835 aros_target_arch
="morphos"
8836 aros_shared_default
="no"
8837 aros_target_cpu
="ppc"
8838 aros_object_format
="elf_ppc"
8839 aros_flavour
="nativecompat"
8840 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8841 gcc_target_cpu
="ppc"
8845 aros_target_arch
="sam440"
8846 aros_shared_default
="no"
8847 aros_target_cpu
="ppc"
8848 aros_object_format
="elf32ppc"
8849 aros_flavour
="ppcnative"
8850 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8851 aros_kernel_ldflags
=""
8852 aros_default_wbwidth
=1024
8853 aros_default_wbheight
=768
8854 aros_default_wbdepth
=24
8855 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8856 gcc_target_cpu
="powerpc"
8860 aros_target_arch
="efika"
8861 aros_shared_default
="no"
8862 aros_target_cpu
="arm"
8863 aros_object_format
="armelf_linux_eabi"
8864 aros_flavour
="standalone"
8865 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8866 aros_kernel_ldflags
=""
8867 aros_default_wbwidth
=1024
8868 aros_default_wbheight
=600
8869 aros_arch_libs
="-laeabi"
8870 aros_config_cflags
="$aros_config_cflags -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions -fno-strict-aliasing"
8871 aros_config_aflags
="$aros_config_aflags -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions -fno-strict-aliasing"
8875 aros_target_arch
="chrp"
8876 aros_shared_default
="no"
8877 aros_target_cpu
="ppc"
8878 aros_object_format
="elf32ppc"
8879 aros_flavour
="ppcnative"
8880 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8881 aros_kernel_ldflags
=""
8882 aros_default_wbwidth
=640
8883 aros_default_wbheight
=480
8884 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
8885 gcc_target_cpu
="powerpc"
8886 case "$aros_target_variant" in
8888 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
8894 aros_target_arch
="amiga"
8895 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8896 aros_shared_default
="no"
8898 case "$target_cpu" in
8900 aros_target_cpu
="m68k"
8901 aros_object_format
="m68kelf"
8902 aros_flavour
="standalone"
8903 gcc_target_cpu
="mc68000"
8904 aros_config_cflags
="$aros_config_cflags -g3 -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -${gcc_target_cpu} -fbuiltin"
8905 aros_config_aflags
="$aros_config_aflags -g3 -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -${gcc_target_cpu}"
8906 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -${gcc_target_cpu}"
8907 target_tool_prefix
="m68k-elf-"
8908 aros_target_nostdlib_ldflags
="" # We always need -lgcc
8909 aros_target_strip_flags
="-R.comment"
8912 aros_target_cpu
="m68k"
8913 aros_object_format
="m68kelf"
8914 aros_flavour
="standcompat"
8915 gcc_target_cpu
="mc68000"
8916 aros_config_cflags
="$aros_config_cflags -g3 -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -${gcc_target_cpu} -fbuiltin"
8917 aros_config_aflags
="$aros_config_aflags -g3 -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -${gcc_target_cpu}"
8918 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -${gcc_target_cpu}"
8919 target_tool_prefix
="m68k-elf-"
8920 aros_target_nostdlib_ldflags
="" # We always need -lgcc
8921 aros_target_strip_flags
="-R.comment"
8925 aros_flavour
="native"
8926 gcc_target_cpu
="ppc"
8929 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Amiga $target_cpu\"" >&5
8930 echo "$as_me: error: \"Unknown CPU for Amiga $target_cpu\"" >&2;}
8931 { (exit 1); exit 1; }; }
8937 aros_target_arch
="mingw32"
8938 aros_shared_default
="no"
8939 aros_flavour
="emulation"
8940 aros_shared_cflags
=""
8943 case "$target_cpu" in
8945 aros_target_cpu
="i386"
8946 aros_object_format
="elf_i386"
8947 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8948 aros_default_wbdepth
=8
8949 gcc_target_cpu
="i386"
8950 aros_target_cc
="i386-aros-gcc"
8951 aros_target_cxx
="i386-aros-g++"
8952 aros_target_ld
="i386-aros-ld"
8953 aros_target_as
="i386-aros-as"
8954 aros_target_ar
="i386-aros-ar"
8955 aros_target_ranlib
="i386-aros-ranlib"
8956 aros_target_nm
="i386-aros-nm"
8957 aros_target_strip
="i386-aros-strip"
8958 aros_target_objcopy
="i386-aros-objcopy"
8959 aros_target_objdump
="i386-aros-objdump"
8960 target_tool_prefix
="i386-mingw32-"
8963 aros_target_cpu
="x86_64"
8964 aros_object_format
="elf_x86_64"
8965 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8966 aros_default_wbdepth
=8
8967 gcc_target_cpu
="x86_64"
8968 aros_target_cc
="x86_64-aros-gcc"
8969 aros_target_cxx
="x86_64-aros-g++"
8970 aros_target_ld
="x86_64-aros-ld"
8971 aros_target_as
="x86_64-aros-as"
8972 aros_target_ar
="x86_64-aros-ar"
8973 aros_target_ranlib
="x86_64-aros-ranlib"
8974 aros_target_nm
="x86_64-aros-nm"
8975 aros_target_strip
="x86_64-aros-strip"
8976 aros_target_objcopy
="x86_64-aros-objcopy"
8977 aros_target_objdump
="x86_64-aros-objdump"
8978 target_tool_prefix
="x86_64-w64-mingw32-"
8981 aros_target_cpu
="arm"
8982 aros_object_format
="armelf_linux_eabi"
8983 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8984 aros_arch_libs
="-laeabi"
8985 aros_default_wbdepth
=8
8986 gcc_target_cpu
="arm"
8987 aros_target_cc
="arm-aros-gcc"
8988 aros_target_cxx
="arm-aros-g++"
8989 aros_target_ld
="arm-aros-ld"
8990 aros_target_as
="arm-aros-as"
8991 aros_target_ar
="arm-aros-ar"
8992 aros_target_ranlib
="arm-aros-ranlib"
8993 aros_target_nm
="arm-aros-nm"
8994 aros_target_strip
="arm-aros-strip"
8995 aros_target_objcopy
="arm-aros-objcopy"
8996 aros_target_objdump
="arm-aros-objdump"
8997 target_tool_prefix
="arm-mingw32ce-"
8998 aros_default_wbwidth
=160
8999 aros_default_wbheight
=160
9002 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Mingw32 -- $target_cpu\"" >&5
9003 echo "$as_me: error: \"Unknown CPU for Mingw32 -- $target_cpu\"" >&2;}
9004 { (exit 1); exit 1; }; }
9007 if test $host_os = "cygwin"; then
9008 aros_kernel_cflags
="-mno-cygwin"
9012 aros_target_arch
="pp"
9013 aros_shared_default
="no"
9014 case "$target_cpu" in
9016 aros_target_cpu
="m68k"
9017 aros_object_format
="m68kelf"
9018 aros_flavour
="palmnative"
9019 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
9020 aros_default_wbwidth
=160
9021 aros_default_wbheight
=160
9022 aros_default_wbdepth
=1
9023 aros_target_ar_flags
="cru"
9024 aros_compiler_libs
="-lgcc1"
9025 aros_shared_default
=no
9026 aros_shared_cflags
="-fpic"
9027 aros_shared_aflags
=""
9028 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
9029 aros_kernel_ldflags
="-Wl,-rpath,./lib"
9030 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
9031 aros_debug_aflags
=""
9032 aros_debug_ldflags
="$aros_symbols_debug"
9033 aros_mungwall_debug
="0"
9034 aros_modules_debug
="0"
9035 gcc_target_cpu
="mc68000"
9036 ignore_undefined_symbols
="-ius"
9039 { { echo "$as_me:$LINENO: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&5
9040 echo "$as_me: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&2;}
9041 { (exit 1); exit 1; }; }
9047 aros_target_arch
="mac"
9048 aros_shared_default
="no"
9049 case "$target_cpu" in
9051 aros_target_cpu
="m68k"
9052 aros_object_format
="m68kelf"
9053 aros_flavour
="mac68knative"
9054 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
9055 aros_default_wbwidth
=512
9056 aros_default_wbheight
=384
9057 aros_default_wbdepth
=8
9058 aros_target_ar_flags
="cru"
9059 aros_compiler_libs
="-lgcc1"
9060 aros_shared_default
=no
9061 aros_shared_cflags
="-fpic"
9062 aros_shared_aflags
=""
9063 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
9064 aros_kernel_ldflags
="-Wl,-rpath,./lib"
9065 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000"
9066 aros_debug_aflags
=""
9067 aros_debug_ldflags
="$aros_symbols_debug"
9068 aros_mungwall_debug
="0"
9069 aros_modules_debug
="0"
9070 gcc_target_cpu
="mc68000"
9071 ignore_undefined_symbols
="-ius"
9074 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&5
9075 echo "$as_me: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&2;}
9076 { (exit 1); exit 1; }; }
9082 { { echo "$as_me:$LINENO: error: Unsupported target architecture $target" >&5
9083 echo "$as_me: error: Unsupported target architecture $target" >&2;}
9084 { (exit 1); exit 1; }; }
9088 # FIXME: for cross-compiling this should point to another location
9089 if test "$aros_flavour" = "emulation"; then
9090 aros_kernel_includes
="-isystem /usr/include"
9092 if test "$aros_flavour" = "emulcompat"; then
9093 aros_kernel_includes
="-isystem /usr/include"
9096 { echo "$as_me:$LINENO: checking Where to download sourcecode for external ports" >&5
9097 echo $ECHO_N "checking Where to download sourcecode for external ports... $ECHO_C" >&6; }
9099 # Check whether --with-portssources was given.
9100 if test "${with_portssources+set}" = set; then
9101 withval
=$with_portssources; with_portssrcdir
=$withval
9103 with_portssrcdir
="default"
9106 if test "$with_portssrcdir" = "default"; then
9107 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
9109 AROS_PORTSSRCDIR
="$with_portssrcdir"
9111 { echo "$as_me:$LINENO: result: $AROS_PORTSSRCDIR" >&5
9112 echo "${ECHO_T}$AROS_PORTSSRCDIR" >&6; }
9114 { echo "$as_me:$LINENO: checking which bootloader to use" >&5
9115 echo $ECHO_N "checking which bootloader to use... $ECHO_C" >&6; }
9117 # Check whether --with-bootloader was given.
9118 if test "${with_bootloader+set}" = set; then
9119 withval
=$with_bootloader; target_bootloader
=$withval
9121 target_bootloader
=$target_bootloader
9124 if test "$target_bootloader" = "none"; then
9125 aros_target_bootloader
=""
9127 aros_target_bootloader
="$target_bootloader"
9129 { echo "$as_me:$LINENO: result: $target_bootloader" >&5
9130 echo "${ECHO_T}$target_bootloader" >&6; }
9132 { echo "$as_me:$LINENO: checking which icon-set to use" >&5
9133 echo $ECHO_N "checking which icon-set to use... $ECHO_C" >&6; }
9135 # Check whether --with-iconset was given.
9136 if test "${with_iconset+set}" = set; then
9137 withval
=$with_iconset; target_iconset
=$withval
9139 target_iconset
="default"
9142 if test "$target_iconset" = "default"; then
9143 aros_target_iconset
="Gorilla"
9144 target_iconset
="default (Gorilla)"
9146 aros_target_iconset
="$target_iconset"
9148 { echo "$as_me:$LINENO: result: $target_iconset" >&5
9149 echo "${ECHO_T}$target_iconset" >&6; }
9151 { echo "$as_me:$LINENO: checking which GUI Theme to use" >&5
9152 echo $ECHO_N "checking which GUI Theme to use... $ECHO_C" >&6; }
9154 # Check whether --with-theme was given.
9155 if test "${with_theme+set}" = set; then
9156 withval
=$with_theme; target_guitheme
=$withval
9158 target_guitheme
="default"
9161 if test "$target_guitheme" = "default"; then
9162 aros_target_guitheme
="Ice"
9164 aros_target_guitheme
="$target_guitheme"
9166 { echo "$as_me:$LINENO: result: $aros_target_guitheme" >&5
9167 echo "${ECHO_T}$aros_target_guitheme" >&6; }
9169 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
9172 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
9175 if test "$aros_host_cpu" == "x86_64" ; then
9176 if test "$aros_target_cpu" == "i386" ; then
9177 if test "$aros_target_arch" != "mingw32"; then
9183 # Set prefix for target compiler etc. if we're cross-compiling
9184 # (should possibly be earlier but needs to be after AC_PROG_CC)
9185 if test "$cross_compiling" = "yes" ; then
9186 if test "$target_tool_prefix" = ""; then
9187 target_tool_prefix
=${target_cpu}-elf-
9189 CC
=${target_tool_prefix}gcc
9190 if test "$target_tool_version" != "default"; then
9191 CC
="$CC-$target_tool_version"
9193 # Extract the first word of "$CC", so it can be a program name with args.
9194 set dummy
$CC; ac_word
=$2
9195 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9196 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9197 if test "${ac_cv_path_CC+set}" = set; then
9198 echo $ECHO_N "(cached) $ECHO_C" >&6
9202 ac_cv_path_CC
="$CC" # Let the user override the test with a path.
9205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9209 test -z "$as_dir" && as_dir
=.
9210 for ac_exec_ext
in '' $ac_executable_extensions; do
9211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9212 ac_cv_path_CC
="$as_dir/$ac_word$ac_exec_ext"
9213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9224 if test -n "$CC"; then
9225 { echo "$as_me:$LINENO: result: $CC" >&5
9226 echo "${ECHO_T}$CC" >&6; }
9228 { echo "$as_me:$LINENO: result: no" >&5
9229 echo "${ECHO_T}no" >&6; }
9233 if test "$CC" = ""; then
9234 { { echo "$as_me:$LINENO: error: gcc is required to build AROS. Please install and run configure again." >&5
9235 echo "$as_me: error: gcc is required to build AROS. Please install and run configure again." >&2;}
9236 { (exit 1); exit 1; }; }
9239 CC
="$CC $target_tool_flags"
9241 #-----------------------------------------------------------------------------
9243 # Disable pointer-signedness warnings if the compiler recognises the option
9245 { echo "$as_me:$LINENO: checking whether ${CC} accepts -Wno-pointer-sign" >&5
9246 echo $ECHO_N "checking whether ${CC} accepts -Wno-pointer-sign... $ECHO_C" >&6; }
9247 save_cflags
="$CFLAGS"
9248 CFLAGS
="$CFLAGS -Wno-pointer-sign"
9249 cat >conftest.
$ac_ext <<_ACEOF
9252 cat confdefs.h
>>conftest.
$ac_ext
9253 cat >>conftest.
$ac_ext <<_ACEOF
9254 /* end confdefs.h. */
9264 rm -f conftest.
$ac_objext
9265 if { (ac_try
="$ac_compile"
9267 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9268 *) ac_try_echo=$ac_try;;
9270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9271 (eval "$ac_compile") 2>conftest.er1
9273 grep -v '^ *+' conftest.er1 >conftest.err
9275 cat conftest.err >&5
9276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9277 (exit $ac_status); } && {
9278 test -z "$ac_c_werror_flag" ||
9279 test ! -s conftest.err
9280 } && test -s conftest.$ac_objext; then
9281 use_no_sign_warning="yes"
9283 echo "$as_me: failed program was:" >&5
9284 sed 's/^/| /' conftest.$ac_ext >&5
9286 use_no_sign_warning="no"
9289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9290 { echo "$as_me:$LINENO: result: $use_no_sign_warning" >&5
9291 echo "${ECHO_T}$use_no_sign_warning" >&6; }
9292 if test "x-$use_no_sign_warning" = "x-yes" ; then
9293 aros_config_cflags="$aros_config_cflags -Wno-pointer-sign"
9295 CFLAGS="$save_cflags"
9297 #-----------------------------------------------------------------------------
9299 # Find all the tools we need to compile. This could be cross-compiling
9300 # though! If that is the case we use the GNU form of the target and
9301 # simply add this to the front of the binary name. This is rather simple,
9302 # but it should work under most circumstances.
9304 # The default tools are to use the same as the host, but only if the
9305 # host and target CPU are the same. With GCC this is normally enough.
9309 aros_shared_ld="$aros_host_ld"
9311 aros_target_mkdep="$aros_host_mkdep"
9312 aros_target_incl_def="$aros_host_incl"
9314 aros_kernel_cc="$CC"
9316 # The default tools executables to be linked to.
9317 if test "$aros_target_cc" != ""; then
9318 # Extract the first word of "$aros_target_cc", so it can be a program name with args.
9319 set dummy $aros_target_cc; ac_word=$2
9320 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9321 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9322 if test "${ac_cv_path_aros_target_cc+set}" = set; then
9323 echo $ECHO_N "(cached) $ECHO_C" >&6
9325 case $aros_target_cc in
9327 ac_cv_path_aros_target_cc="$aros_target_cc" # Let the user override the test with a path.
9330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9334 test -z "$as_dir" && as_dir=.
9335 for ac_exec_ext in '' $ac_executable_extensions; do
9336 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9337 ac_cv_path_aros_target_cc="$as_dir/$ac_word$ac_exec_ext"
9338 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9348 aros_target_cc=$ac_cv_path_aros_target_cc
9349 if test -n "$aros_target_cc"; then
9350 { echo "$as_me:$LINENO: result: $aros_target_cc" >&5
9351 echo "${ECHO_T}$aros_target_cc" >&6; }
9353 { echo "$as_me:$LINENO: result: no" >&5
9354 echo "${ECHO_T}no" >&6; }
9358 if test "$aros_target_cc" = ""; then
9359 { { echo "$as_me:$LINENO: error: gcc is required to build AROS. Please install and run configure again." >&5
9360 echo "$as_me: error: gcc is required to build AROS. Please install and run configure again." >&2;}
9361 { (exit 1); exit 1; }; }
9364 if test "$aros_target_ld" != ""; then
9365 # Extract the first word of "$aros_target_ld", so it can be a program name with args.
9366 set dummy $aros_target_ld; ac_word=$2
9367 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9369 if test "${ac_cv_path_aros_target_ld+set}" = set; then
9370 echo $ECHO_N "(cached) $ECHO_C" >&6
9372 case $aros_target_ld in
9374 ac_cv_path_aros_target_ld="$aros_target_ld" # Let the user override the test with a path.
9377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9381 test -z "$as_dir" && as_dir=.
9382 for ac_exec_ext in '' $ac_executable_extensions; do
9383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9384 ac_cv_path_aros_target_ld="$as_dir/$ac_word$ac_exec_ext"
9385 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9395 aros_target_ld=$ac_cv_path_aros_target_ld
9396 if test -n "$aros_target_ld"; then
9397 { echo "$as_me:$LINENO: result: $aros_target_ld" >&5
9398 echo "${ECHO_T}$aros_target_ld" >&6; }
9400 { echo "$as_me:$LINENO: result: no" >&5
9401 echo "${ECHO_T}no" >&6; }
9405 if test "$aros_target_ld" = ""; then
9406 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
9407 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
9408 { (exit 1); exit 1; }; }
9412 if test "$crosstools" != "yes"; then
9414 if test "$aros_target_as" = ""; then
9415 if test "$cross_compiling" = "yes" ; then
9416 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
9417 set dummy ${target_tool_prefix}as; ac_word=$2
9418 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9420 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9421 echo $ECHO_N "(cached) $ECHO_C" >&6
9423 case $aros_target_as_ln in
9425 ac_cv_path_aros_target_as_ln="$aros_target_as_ln" # Let the user override the test with a path.
9428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9432 test -z "$as_dir" && as_dir=.
9433 for ac_exec_ext in '' $ac_executable_extensions; do
9434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9435 ac_cv_path_aros_target_as_ln="$as_dir/$ac_word$ac_exec_ext"
9436 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9446 aros_target_as_ln=$ac_cv_path_aros_target_as_ln
9447 if test -n "$aros_target_as_ln"; then
9448 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9449 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9451 { echo "$as_me:$LINENO: result: no" >&5
9452 echo "${ECHO_T}no" >&6; }
9457 if test "$GCC" = "yes"; then
9458 aros_gcc_as=`$CC -print-prog-name=as
`
9459 # Extract the first word of "`basename $aros_gcc_[as
]`", so it can be a program name with args.
9460 set dummy `basename $aros_gcc_as`; ac_word=$2
9461 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9462 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9463 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9464 echo $ECHO_N "(cached) $ECHO_C" >&6
9466 case $aros_target_as_ln in
9468 ac_cv_path_aros_target_as_ln="$aros_target_as_ln" # Let the user override the test with a path.
9471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9472 for as_dir in `dirname $aros_gcc_as`
9475 test -z "$as_dir" && as_dir=.
9476 for ac_exec_ext in '' $ac_executable_extensions; do
9477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9478 ac_cv_path_aros_target_as_ln="$as_dir/$ac_word$ac_exec_ext"
9479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9489 aros_target_as_ln=$ac_cv_path_aros_target_as_ln
9490 if test -n "$aros_target_as_ln"; then
9491 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9492 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9494 { echo "$as_me:$LINENO: result: no" >&5
9495 echo "${ECHO_T}no" >&6; }
9500 if test "$aros_target_as_ln" = ""; then
9501 # Extract the first word of "as", so it can be a program name with args.
9502 set dummy as; ac_word=$2
9503 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9505 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9506 echo $ECHO_N "(cached) $ECHO_C" >&6
9508 case $aros_target_as_ln in
9510 ac_cv_path_aros_target_as_ln="$aros_target_as_ln" # Let the user override the test with a path.
9513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9517 test -z "$as_dir" && as_dir=.
9518 for ac_exec_ext in '' $ac_executable_extensions; do
9519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9520 ac_cv_path_aros_target_as_ln="$as_dir/$ac_word$ac_exec_ext"
9521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9531 aros_target_as_ln=$ac_cv_path_aros_target_as_ln
9532 if test -n "$aros_target_as_ln"; then
9533 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9534 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9536 { echo "$as_me:$LINENO: result: no" >&5
9537 echo "${ECHO_T}no" >&6; }
9544 # Extract the first word of "$aros_target_as", so it can be a program name with args.
9545 set dummy $aros_target_as; ac_word=$2
9546 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9548 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9549 echo $ECHO_N "(cached) $ECHO_C" >&6
9551 case $aros_target_as_ln in
9553 ac_cv_path_aros_target_as_ln="$aros_target_as_ln" # Let the user override the test with a path.
9556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9560 test -z "$as_dir" && as_dir=.
9561 for ac_exec_ext in '' $ac_executable_extensions; do
9562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9563 ac_cv_path_aros_target_as_ln="$as_dir/$ac_word$ac_exec_ext"
9564 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9574 aros_target_as_ln=$ac_cv_path_aros_target_as_ln
9575 if test -n "$aros_target_as_ln"; then
9576 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9577 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9579 { echo "$as_me:$LINENO: result: no" >&5
9580 echo "${ECHO_T}no" >&6; }
9586 if test "$aros_target_as_ln" = ""; then
9587 { { echo "$as_me:$LINENO: error: as is required to build AROS. Please install and run configure again." >&5
9588 echo "$as_me: error: as is required to build AROS. Please install and run configure again." >&2;}
9589 { (exit 1); exit 1; }; }
9592 if test "$aros_kernel_ld" = ""; then
9593 if test "$cross_compiling" = "yes" ; then
9594 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
9595 set dummy ${target_tool_prefix}ld; ac_word=$2
9596 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9598 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9599 echo $ECHO_N "(cached) $ECHO_C" >&6
9601 case $aros_kernel_ld in
9603 ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path.
9606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9610 test -z "$as_dir" && as_dir=.
9611 for ac_exec_ext in '' $ac_executable_extensions; do
9612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9613 ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext"
9614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9624 aros_kernel_ld=$ac_cv_path_aros_kernel_ld
9625 if test -n "$aros_kernel_ld"; then
9626 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9627 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9629 { echo "$as_me:$LINENO: result: no" >&5
9630 echo "${ECHO_T}no" >&6; }
9635 if test "$GCC" = "yes"; then
9636 aros_gcc_ld=`$CC -print-prog-name=ld
`
9637 # Extract the first word of "`basename $aros_gcc_[ld
]`", so it can be a program name with args.
9638 set dummy `basename $aros_gcc_ld`; ac_word=$2
9639 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9641 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9642 echo $ECHO_N "(cached) $ECHO_C" >&6
9644 case $aros_kernel_ld in
9646 ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path.
9649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9650 for as_dir in `dirname $aros_gcc_ld`
9653 test -z "$as_dir" && as_dir=.
9654 for ac_exec_ext in '' $ac_executable_extensions; do
9655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9656 ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext"
9657 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9667 aros_kernel_ld=$ac_cv_path_aros_kernel_ld
9668 if test -n "$aros_kernel_ld"; then
9669 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9670 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9672 { echo "$as_me:$LINENO: result: no" >&5
9673 echo "${ECHO_T}no" >&6; }
9678 if test "$aros_kernel_ld" = ""; then
9679 # Extract the first word of "ld", so it can be a program name with args.
9680 set dummy ld; ac_word=$2
9681 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9683 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9684 echo $ECHO_N "(cached) $ECHO_C" >&6
9686 case $aros_kernel_ld in
9688 ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path.
9691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9695 test -z "$as_dir" && as_dir=.
9696 for ac_exec_ext in '' $ac_executable_extensions; do
9697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9698 ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext"
9699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9709 aros_kernel_ld=$ac_cv_path_aros_kernel_ld
9710 if test -n "$aros_kernel_ld"; then
9711 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9712 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9714 { echo "$as_me:$LINENO: result: no" >&5
9715 echo "${ECHO_T}no" >&6; }
9722 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
9723 set dummy $aros_kernel_ld; ac_word=$2
9724 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9726 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9727 echo $ECHO_N "(cached) $ECHO_C" >&6
9729 case $aros_kernel_ld in
9731 ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path.
9734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9738 test -z "$as_dir" && as_dir=.
9739 for ac_exec_ext in '' $ac_executable_extensions; do
9740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9741 ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext"
9742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9752 aros_kernel_ld=$ac_cv_path_aros_kernel_ld
9753 if test -n "$aros_kernel_ld"; then
9754 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9755 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9757 { echo "$as_me:$LINENO: result: no" >&5
9758 echo "${ECHO_T}no" >&6; }
9764 if test "$aros_kernel_ld" = ""; then
9765 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
9766 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
9767 { (exit 1); exit 1; }; }
9770 if test "$aros_target_ar" = ""; then
9771 if test "$cross_compiling" = "yes" ; then
9772 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
9773 set dummy ${target_tool_prefix}ar; ac_word=$2
9774 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9775 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9776 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9777 echo $ECHO_N "(cached) $ECHO_C" >&6
9779 case $aros_target_ar_ln in
9781 ac_cv_path_aros_target_ar_ln="$aros_target_ar_ln" # Let the user override the test with a path.
9784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9788 test -z "$as_dir" && as_dir=.
9789 for ac_exec_ext in '' $ac_executable_extensions; do
9790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9791 ac_cv_path_aros_target_ar_ln="$as_dir/$ac_word$ac_exec_ext"
9792 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9802 aros_target_ar_ln=$ac_cv_path_aros_target_ar_ln
9803 if test -n "$aros_target_ar_ln"; then
9804 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9805 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9807 { echo "$as_me:$LINENO: result: no" >&5
9808 echo "${ECHO_T}no" >&6; }
9813 if test "$GCC" = "yes"; then
9814 aros_gcc_ar=`$CC -print-prog-name=ar`
9815 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9816 set dummy `basename $aros_gcc_ar`; ac_word=$2
9817 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9818 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9819 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9820 echo $ECHO_N "(cached) $ECHO_C" >&6
9822 case $aros_target_ar_ln in
9824 ac_cv_path_aros_target_ar_ln="$aros_target_ar_ln" # Let the user override the test with a path.
9827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9828 for as_dir in `dirname $aros_gcc_ar`
9831 test -z "$as_dir" && as_dir=.
9832 for ac_exec_ext in '' $ac_executable_extensions; do
9833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9834 ac_cv_path_aros_target_ar_ln="$as_dir/$ac_word$ac_exec_ext"
9835 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9845 aros_target_ar_ln=$ac_cv_path_aros_target_ar_ln
9846 if test -n "$aros_target_ar_ln"; then
9847 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9848 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9850 { echo "$as_me:$LINENO: result: no" >&5
9851 echo "${ECHO_T}no" >&6; }
9856 if test "$aros_target_ar_ln" = ""; then
9857 # Extract the first word of "ar", so it can be a program name with args.
9858 set dummy ar; ac_word=$2
9859 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9861 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9862 echo $ECHO_N "(cached) $ECHO_C" >&6
9864 case $aros_target_ar_ln in
9866 ac_cv_path_aros_target_ar_ln="$aros_target_ar_ln" # Let the user override the test with a path.
9869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9873 test -z "$as_dir" && as_dir=.
9874 for ac_exec_ext in '' $ac_executable_extensions; do
9875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9876 ac_cv_path_aros_target_ar_ln="$as_dir/$ac_word$ac_exec_ext"
9877 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9887 aros_target_ar_ln=$ac_cv_path_aros_target_ar_ln
9888 if test -n "$aros_target_ar_ln"; then
9889 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9890 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9892 { echo "$as_me:$LINENO: result: no" >&5
9893 echo "${ECHO_T}no" >&6; }
9900 # Extract the first word of "$aros_target_ar", so it can be a program name with args.
9901 set dummy $aros_target_ar; ac_word=$2
9902 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9904 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9905 echo $ECHO_N "(cached) $ECHO_C" >&6
9907 case $aros_target_ar_ln in
9909 ac_cv_path_aros_target_ar_ln="$aros_target_ar_ln" # Let the user override the test with a path.
9912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9916 test -z "$as_dir" && as_dir=.
9917 for ac_exec_ext in '' $ac_executable_extensions; do
9918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9919 ac_cv_path_aros_target_ar_ln="$as_dir/$ac_word$ac_exec_ext"
9920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9930 aros_target_ar_ln=$ac_cv_path_aros_target_ar_ln
9931 if test -n "$aros_target_ar_ln"; then
9932 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9933 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9935 { echo "$as_me:$LINENO: result: no" >&5
9936 echo "${ECHO_T}no" >&6; }
9942 if test "$aros_target_ar_ln" = ""; then
9943 { { echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
9944 echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
9945 { (exit 1); exit 1; }; }
9948 if test "$aros_target_nm" = ""; then
9949 if test "$cross_compiling" = "yes" ; then
9950 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
9951 set dummy ${target_tool_prefix}nm; ac_word=$2
9952 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9953 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9954 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
9955 echo $ECHO_N "(cached) $ECHO_C" >&6
9957 case $aros_target_nm_ln in
9959 ac_cv_path_aros_target_nm_ln="$aros_target_nm_ln" # Let the user override the test with a path.
9962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9966 test -z "$as_dir" && as_dir=.
9967 for ac_exec_ext in '' $ac_executable_extensions; do
9968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9969 ac_cv_path_aros_target_nm_ln="$as_dir/$ac_word$ac_exec_ext"
9970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9980 aros_target_nm_ln=$ac_cv_path_aros_target_nm_ln
9981 if test -n "$aros_target_nm_ln"; then
9982 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
9983 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
9985 { echo "$as_me:$LINENO: result: no" >&5
9986 echo "${ECHO_T}no" >&6; }
9991 if test "$GCC" = "yes"; then
9992 aros_gcc_nm=`$CC -print-prog-name=nm
`
9993 # Extract the first word of "`basename $aros_gcc_[nm
]`", so it can be a program name with args.
9994 set dummy `basename $aros_gcc_nm`; ac_word=$2
9995 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9997 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
9998 echo $ECHO_N "(cached) $ECHO_C" >&6
10000 case $aros_target_nm_ln in
10002 ac_cv_path_aros_target_nm_ln="$aros_target_nm_ln" # Let the user override the test with a path.
10005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10006 for as_dir in `dirname $aros_gcc_nm`
10009 test -z "$as_dir" && as_dir=.
10010 for ac_exec_ext in '' $ac_executable_extensions; do
10011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10012 ac_cv_path_aros_target_nm_ln="$as_dir/$ac_word$ac_exec_ext"
10013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10023 aros_target_nm_ln=$ac_cv_path_aros_target_nm_ln
10024 if test -n "$aros_target_nm_ln"; then
10025 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10026 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
10028 { echo "$as_me:$LINENO: result: no" >&5
10029 echo "${ECHO_T}no" >&6; }
10034 if test "$aros_target_nm_ln" = ""; then
10035 # Extract the first word of "nm", so it can be a program name with args.
10036 set dummy nm; ac_word=$2
10037 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10039 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
10040 echo $ECHO_N "(cached) $ECHO_C" >&6
10042 case $aros_target_nm_ln in
10044 ac_cv_path_aros_target_nm_ln="$aros_target_nm_ln" # Let the user override the test with a path.
10047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10048 for as_dir in $PATH
10051 test -z "$as_dir" && as_dir=.
10052 for ac_exec_ext in '' $ac_executable_extensions; do
10053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10054 ac_cv_path_aros_target_nm_ln="$as_dir/$ac_word$ac_exec_ext"
10055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10065 aros_target_nm_ln=$ac_cv_path_aros_target_nm_ln
10066 if test -n "$aros_target_nm_ln"; then
10067 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10068 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
10070 { echo "$as_me:$LINENO: result: no" >&5
10071 echo "${ECHO_T}no" >&6; }
10078 # Extract the first word of "$aros_target_nm", so it can be a program name with args.
10079 set dummy $aros_target_nm; ac_word=$2
10080 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10082 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
10083 echo $ECHO_N "(cached) $ECHO_C" >&6
10085 case $aros_target_nm_ln in
10087 ac_cv_path_aros_target_nm_ln="$aros_target_nm_ln" # Let the user override the test with a path.
10090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10091 for as_dir in $PATH
10094 test -z "$as_dir" && as_dir=.
10095 for ac_exec_ext in '' $ac_executable_extensions; do
10096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10097 ac_cv_path_aros_target_nm_ln="$as_dir/$ac_word$ac_exec_ext"
10098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10108 aros_target_nm_ln=$ac_cv_path_aros_target_nm_ln
10109 if test -n "$aros_target_nm_ln"; then
10110 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10111 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
10113 { echo "$as_me:$LINENO: result: no" >&5
10114 echo "${ECHO_T}no" >&6; }
10120 if test "$aros_target_nm_ln" = ""; then
10121 { { echo "$as_me:$LINENO: error: nm is required to build AROS. Please install and run configure again." >&5
10122 echo "$as_me: error: nm is required to build AROS. Please install and run configure again." >&2;}
10123 { (exit 1); exit 1; }; }
10126 if test "$aros_target_objcopy" = ""; then
10127 if test "$cross_compiling" = "yes" ; then
10128 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
10129 set dummy ${target_tool_prefix}objcopy; ac_word=$2
10130 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10131 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10132 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10133 echo $ECHO_N "(cached) $ECHO_C" >&6
10135 case $aros_target_objcopy_ln in
10137 ac_cv_path_aros_target_objcopy_ln="$aros_target_objcopy_ln" # Let the user override the test with a path.
10140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10141 for as_dir in $PATH
10144 test -z "$as_dir" && as_dir=.
10145 for ac_exec_ext in '' $ac_executable_extensions; do
10146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10147 ac_cv_path_aros_target_objcopy_ln="$as_dir/$ac_word$ac_exec_ext"
10148 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10158 aros_target_objcopy_ln=$ac_cv_path_aros_target_objcopy_ln
10159 if test -n "$aros_target_objcopy_ln"; then
10160 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10161 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
10163 { echo "$as_me:$LINENO: result: no" >&5
10164 echo "${ECHO_T}no" >&6; }
10169 if test "$GCC" = "yes"; then
10170 aros_gcc_objcopy=`$CC -print-prog-name=objcopy
`
10171 # Extract the first word of "`basename $aros_gcc_[objcopy
]`", so it can be a program name with args.
10172 set dummy `basename $aros_gcc_objcopy`; ac_word=$2
10173 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10174 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10175 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10176 echo $ECHO_N "(cached) $ECHO_C" >&6
10178 case $aros_target_objcopy_ln in
10180 ac_cv_path_aros_target_objcopy_ln="$aros_target_objcopy_ln" # Let the user override the test with a path.
10183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10184 for as_dir in `dirname $aros_gcc_objcopy`
10187 test -z "$as_dir" && as_dir=.
10188 for ac_exec_ext in '' $ac_executable_extensions; do
10189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10190 ac_cv_path_aros_target_objcopy_ln="$as_dir/$ac_word$ac_exec_ext"
10191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10201 aros_target_objcopy_ln=$ac_cv_path_aros_target_objcopy_ln
10202 if test -n "$aros_target_objcopy_ln"; then
10203 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10204 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
10206 { echo "$as_me:$LINENO: result: no" >&5
10207 echo "${ECHO_T}no" >&6; }
10212 if test "$aros_target_objcopy_ln" = ""; then
10213 # Extract the first word of "objcopy", so it can be a program name with args.
10214 set dummy objcopy; ac_word=$2
10215 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10217 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10218 echo $ECHO_N "(cached) $ECHO_C" >&6
10220 case $aros_target_objcopy_ln in
10222 ac_cv_path_aros_target_objcopy_ln="$aros_target_objcopy_ln" # Let the user override the test with a path.
10225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10226 for as_dir in $PATH
10229 test -z "$as_dir" && as_dir=.
10230 for ac_exec_ext in '' $ac_executable_extensions; do
10231 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10232 ac_cv_path_aros_target_objcopy_ln="$as_dir/$ac_word$ac_exec_ext"
10233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10243 aros_target_objcopy_ln=$ac_cv_path_aros_target_objcopy_ln
10244 if test -n "$aros_target_objcopy_ln"; then
10245 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10246 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
10248 { echo "$as_me:$LINENO: result: no" >&5
10249 echo "${ECHO_T}no" >&6; }
10256 # Extract the first word of "$aros_target_objcopy", so it can be a program name with args.
10257 set dummy $aros_target_objcopy; ac_word=$2
10258 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10260 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10261 echo $ECHO_N "(cached) $ECHO_C" >&6
10263 case $aros_target_objcopy_ln in
10265 ac_cv_path_aros_target_objcopy_ln="$aros_target_objcopy_ln" # Let the user override the test with a path.
10268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10269 for as_dir in $PATH
10272 test -z "$as_dir" && as_dir=.
10273 for ac_exec_ext in '' $ac_executable_extensions; do
10274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10275 ac_cv_path_aros_target_objcopy_ln="$as_dir/$ac_word$ac_exec_ext"
10276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10286 aros_target_objcopy_ln=$ac_cv_path_aros_target_objcopy_ln
10287 if test -n "$aros_target_objcopy_ln"; then
10288 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10289 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
10291 { echo "$as_me:$LINENO: result: no" >&5
10292 echo "${ECHO_T}no" >&6; }
10298 if test "$aros_target_objcopy_ln" = ""; then
10299 { { echo "$as_me:$LINENO: error: objcopy is required to build AROS. Please install and run configure again." >&5
10300 echo "$as_me: error: objcopy is required to build AROS. Please install and run configure again." >&2;}
10301 { (exit 1); exit 1; }; }
10304 if test "$aros_target_objdump" = ""; then
10305 if test "$cross_compiling" = "yes" ; then
10306 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
10307 set dummy ${target_tool_prefix}objdump; ac_word=$2
10308 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10310 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10311 echo $ECHO_N "(cached) $ECHO_C" >&6
10313 case $aros_target_objdump_ln in
10315 ac_cv_path_aros_target_objdump_ln="$aros_target_objdump_ln" # Let the user override the test with a path.
10318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10319 for as_dir in $PATH
10322 test -z "$as_dir" && as_dir=.
10323 for ac_exec_ext in '' $ac_executable_extensions; do
10324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10325 ac_cv_path_aros_target_objdump_ln="$as_dir/$ac_word$ac_exec_ext"
10326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10336 aros_target_objdump_ln=$ac_cv_path_aros_target_objdump_ln
10337 if test -n "$aros_target_objdump_ln"; then
10338 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10339 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
10341 { echo "$as_me:$LINENO: result: no" >&5
10342 echo "${ECHO_T}no" >&6; }
10347 if test "$GCC" = "yes"; then
10348 aros_gcc_objdump=`$CC -print-prog-name=objdump
`
10349 # Extract the first word of "`basename $aros_gcc_[objdump
]`", so it can be a program name with args.
10350 set dummy `basename $aros_gcc_objdump`; ac_word=$2
10351 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10353 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10354 echo $ECHO_N "(cached) $ECHO_C" >&6
10356 case $aros_target_objdump_ln in
10358 ac_cv_path_aros_target_objdump_ln="$aros_target_objdump_ln" # Let the user override the test with a path.
10361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10362 for as_dir in `dirname $aros_gcc_objdump`
10365 test -z "$as_dir" && as_dir=.
10366 for ac_exec_ext in '' $ac_executable_extensions; do
10367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10368 ac_cv_path_aros_target_objdump_ln="$as_dir/$ac_word$ac_exec_ext"
10369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10379 aros_target_objdump_ln=$ac_cv_path_aros_target_objdump_ln
10380 if test -n "$aros_target_objdump_ln"; then
10381 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10382 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
10384 { echo "$as_me:$LINENO: result: no" >&5
10385 echo "${ECHO_T}no" >&6; }
10390 if test "$aros_target_objdump_ln" = ""; then
10391 # Extract the first word of "objdump", so it can be a program name with args.
10392 set dummy objdump; ac_word=$2
10393 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10395 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10396 echo $ECHO_N "(cached) $ECHO_C" >&6
10398 case $aros_target_objdump_ln in
10400 ac_cv_path_aros_target_objdump_ln="$aros_target_objdump_ln" # Let the user override the test with a path.
10403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10404 for as_dir in $PATH
10407 test -z "$as_dir" && as_dir=.
10408 for ac_exec_ext in '' $ac_executable_extensions; do
10409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10410 ac_cv_path_aros_target_objdump_ln="$as_dir/$ac_word$ac_exec_ext"
10411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10421 aros_target_objdump_ln=$ac_cv_path_aros_target_objdump_ln
10422 if test -n "$aros_target_objdump_ln"; then
10423 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10424 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
10426 { echo "$as_me:$LINENO: result: no" >&5
10427 echo "${ECHO_T}no" >&6; }
10434 # Extract the first word of "$aros_target_objdump", so it can be a program name with args.
10435 set dummy $aros_target_objdump; ac_word=$2
10436 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10438 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10439 echo $ECHO_N "(cached) $ECHO_C" >&6
10441 case $aros_target_objdump_ln in
10443 ac_cv_path_aros_target_objdump_ln="$aros_target_objdump_ln" # Let the user override the test with a path.
10446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10447 for as_dir in $PATH
10450 test -z "$as_dir" && as_dir=.
10451 for ac_exec_ext in '' $ac_executable_extensions; do
10452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10453 ac_cv_path_aros_target_objdump_ln="$as_dir/$ac_word$ac_exec_ext"
10454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10464 aros_target_objdump_ln=$ac_cv_path_aros_target_objdump_ln
10465 if test -n "$aros_target_objdump_ln"; then
10466 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10467 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
10469 { echo "$as_me:$LINENO: result: no" >&5
10470 echo "${ECHO_T}no" >&6; }
10476 if test "$aros_target_objdump_ln" = ""; then
10477 { { echo "$as_me:$LINENO: error: objdump is required to build AROS. Please install and run configure again." >&5
10478 echo "$as_me: error: objdump is required to build AROS. Please install and run configure again." >&2;}
10479 { (exit 1); exit 1; }; }
10482 if test "$aros_target_ranlib" = ""; then
10483 if test "$cross_compiling" = "yes" ; then
10484 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
10485 set dummy ${target_tool_prefix}ranlib; ac_word=$2
10486 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10488 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10489 echo $ECHO_N "(cached) $ECHO_C" >&6
10491 case $aros_target_ranlib_ln in
10493 ac_cv_path_aros_target_ranlib_ln="$aros_target_ranlib_ln" # Let the user override the test with a path.
10496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10497 for as_dir in $PATH
10500 test -z "$as_dir" && as_dir=.
10501 for ac_exec_ext in '' $ac_executable_extensions; do
10502 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10503 ac_cv_path_aros_target_ranlib_ln="$as_dir/$ac_word$ac_exec_ext"
10504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10514 aros_target_ranlib_ln=$ac_cv_path_aros_target_ranlib_ln
10515 if test -n "$aros_target_ranlib_ln"; then
10516 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10517 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10519 { echo "$as_me:$LINENO: result: no" >&5
10520 echo "${ECHO_T}no" >&6; }
10525 if test "$GCC" = "yes"; then
10526 aros_gcc_ranlib=`$CC -print-prog-name=ranlib
`
10527 # Extract the first word of "`basename $aros_gcc_[ranlib
]`", so it can be a program name with args.
10528 set dummy `basename $aros_gcc_ranlib`; ac_word=$2
10529 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10531 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10532 echo $ECHO_N "(cached) $ECHO_C" >&6
10534 case $aros_target_ranlib_ln in
10536 ac_cv_path_aros_target_ranlib_ln="$aros_target_ranlib_ln" # Let the user override the test with a path.
10539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10540 for as_dir in `dirname $aros_gcc_ranlib`
10543 test -z "$as_dir" && as_dir=.
10544 for ac_exec_ext in '' $ac_executable_extensions; do
10545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10546 ac_cv_path_aros_target_ranlib_ln="$as_dir/$ac_word$ac_exec_ext"
10547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10557 aros_target_ranlib_ln=$ac_cv_path_aros_target_ranlib_ln
10558 if test -n "$aros_target_ranlib_ln"; then
10559 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10560 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10562 { echo "$as_me:$LINENO: result: no" >&5
10563 echo "${ECHO_T}no" >&6; }
10568 if test "$aros_target_ranlib_ln" = ""; then
10569 # Extract the first word of "ranlib", so it can be a program name with args.
10570 set dummy ranlib; ac_word=$2
10571 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10572 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10573 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10574 echo $ECHO_N "(cached) $ECHO_C" >&6
10576 case $aros_target_ranlib_ln in
10578 ac_cv_path_aros_target_ranlib_ln="$aros_target_ranlib_ln" # Let the user override the test with a path.
10581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10582 for as_dir in $PATH
10585 test -z "$as_dir" && as_dir=.
10586 for ac_exec_ext in '' $ac_executable_extensions; do
10587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10588 ac_cv_path_aros_target_ranlib_ln="$as_dir/$ac_word$ac_exec_ext"
10589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10599 aros_target_ranlib_ln=$ac_cv_path_aros_target_ranlib_ln
10600 if test -n "$aros_target_ranlib_ln"; then
10601 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10602 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10604 { echo "$as_me:$LINENO: result: no" >&5
10605 echo "${ECHO_T}no" >&6; }
10612 # Extract the first word of "$aros_target_ranlib", so it can be a program name with args.
10613 set dummy $aros_target_ranlib; ac_word=$2
10614 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10615 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10616 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10617 echo $ECHO_N "(cached) $ECHO_C" >&6
10619 case $aros_target_ranlib_ln in
10621 ac_cv_path_aros_target_ranlib_ln="$aros_target_ranlib_ln" # Let the user override the test with a path.
10624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10625 for as_dir in $PATH
10628 test -z "$as_dir" && as_dir=.
10629 for ac_exec_ext in '' $ac_executable_extensions; do
10630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10631 ac_cv_path_aros_target_ranlib_ln="$as_dir/$ac_word$ac_exec_ext"
10632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10642 aros_target_ranlib_ln=$ac_cv_path_aros_target_ranlib_ln
10643 if test -n "$aros_target_ranlib_ln"; then
10644 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10645 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10647 { echo "$as_me:$LINENO: result: no" >&5
10648 echo "${ECHO_T}no" >&6; }
10654 if test "$aros_target_ranlib_ln" = ""; then
10655 { { echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
10656 echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
10657 { (exit 1); exit 1; }; }
10660 if test "$aros_target_strip" = ""; then
10661 if test "$cross_compiling" = "yes" ; then
10662 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
10663 set dummy ${target_tool_prefix}strip; ac_word=$2
10664 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10666 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10667 echo $ECHO_N "(cached) $ECHO_C" >&6
10669 case $aros_target_strip_ln in
10671 ac_cv_path_aros_target_strip_ln="$aros_target_strip_ln" # Let the user override the test with a path.
10674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10675 for as_dir in $PATH
10678 test -z "$as_dir" && as_dir=.
10679 for ac_exec_ext in '' $ac_executable_extensions; do
10680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10681 ac_cv_path_aros_target_strip_ln="$as_dir/$ac_word$ac_exec_ext"
10682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10692 aros_target_strip_ln=$ac_cv_path_aros_target_strip_ln
10693 if test -n "$aros_target_strip_ln"; then
10694 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10695 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10697 { echo "$as_me:$LINENO: result: no" >&5
10698 echo "${ECHO_T}no" >&6; }
10703 if test "$GCC" = "yes"; then
10704 aros_gcc_strip=`$CC -print-prog-name=strip
`
10705 # Extract the first word of "`basename $aros_gcc_[strip
]`", so it can be a program name with args.
10706 set dummy `basename $aros_gcc_strip`; ac_word=$2
10707 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10709 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10710 echo $ECHO_N "(cached) $ECHO_C" >&6
10712 case $aros_target_strip_ln in
10714 ac_cv_path_aros_target_strip_ln="$aros_target_strip_ln" # Let the user override the test with a path.
10717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10718 for as_dir in `dirname $aros_gcc_strip`
10721 test -z "$as_dir" && as_dir=.
10722 for ac_exec_ext in '' $ac_executable_extensions; do
10723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10724 ac_cv_path_aros_target_strip_ln="$as_dir/$ac_word$ac_exec_ext"
10725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10735 aros_target_strip_ln=$ac_cv_path_aros_target_strip_ln
10736 if test -n "$aros_target_strip_ln"; then
10737 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10738 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10740 { echo "$as_me:$LINENO: result: no" >&5
10741 echo "${ECHO_T}no" >&6; }
10746 if test "$aros_target_strip_ln" = ""; then
10747 # Extract the first word of "strip", so it can be a program name with args.
10748 set dummy strip; ac_word=$2
10749 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10751 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10752 echo $ECHO_N "(cached) $ECHO_C" >&6
10754 case $aros_target_strip_ln in
10756 ac_cv_path_aros_target_strip_ln="$aros_target_strip_ln" # Let the user override the test with a path.
10759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10760 for as_dir in $PATH
10763 test -z "$as_dir" && as_dir=.
10764 for ac_exec_ext in '' $ac_executable_extensions; do
10765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10766 ac_cv_path_aros_target_strip_ln="$as_dir/$ac_word$ac_exec_ext"
10767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10777 aros_target_strip_ln=$ac_cv_path_aros_target_strip_ln
10778 if test -n "$aros_target_strip_ln"; then
10779 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10780 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10782 { echo "$as_me:$LINENO: result: no" >&5
10783 echo "${ECHO_T}no" >&6; }
10790 # Extract the first word of "$aros_target_strip", so it can be a program name with args.
10791 set dummy $aros_target_strip; ac_word=$2
10792 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10794 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10795 echo $ECHO_N "(cached) $ECHO_C" >&6
10797 case $aros_target_strip_ln in
10799 ac_cv_path_aros_target_strip_ln="$aros_target_strip_ln" # Let the user override the test with a path.
10802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10803 for as_dir in $PATH
10806 test -z "$as_dir" && as_dir=.
10807 for ac_exec_ext in '' $ac_executable_extensions; do
10808 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10809 ac_cv_path_aros_target_strip_ln="$as_dir/$ac_word$ac_exec_ext"
10810 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10820 aros_target_strip_ln=$ac_cv_path_aros_target_strip_ln
10821 if test -n "$aros_target_strip_ln"; then
10822 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10823 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10825 { echo "$as_me:$LINENO: result: no" >&5
10826 echo "${ECHO_T}no" >&6; }
10832 if test "$aros_target_strip_ln" = ""; then
10833 { { echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
10834 echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
10835 { (exit 1); exit 1; }; }
10837 if test "$aros_target_cxx" != ""; then
10838 # Extract the first word of "$aros_target_cxx", so it can be a program name with args.
10839 set dummy $aros_target_cxx; ac_word=$2
10840 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10842 if test "${ac_cv_path_aros_target_cxx+set}" = set; then
10843 echo $ECHO_N "(cached) $ECHO_C" >&6
10845 case $aros_target_cxx in
10847 ac_cv_path_aros_target_cxx="$aros_target_cxx" # Let the user override the test with a path.
10850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10851 for as_dir in $PATH
10854 test -z "$as_dir" && as_dir=.
10855 for ac_exec_ext in '' $ac_executable_extensions; do
10856 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10857 ac_cv_path_aros_target_cxx="$as_dir/$ac_word$ac_exec_ext"
10858 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10868 aros_target_cxx=$ac_cv_path_aros_target_cxx
10869 if test -n "$aros_target_cxx"; then
10870 { echo "$as_me:$LINENO: result: $aros_target_cxx" >&5
10871 echo "${ECHO_T}$aros_target_cxx" >&6; }
10873 { echo "$as_me:$LINENO: result: no" >&5
10874 echo "${ECHO_T}no" >&6; }
10878 # Temporarily disabled in order to let Mingw32-hosted nightly build to work
10879 # AROS_REQUIRED(c++,$aros_target_cxx)
10882 # Cancel preinstalled C++ compiler because it will be built as part of crosstools
10886 # Build crosstools if we have no C++ - temporary thing
10887 if test "$aros_target_cxx" = ""; then
10888 crosstools_target=tools-crosstools
10891 if test "$rescomp" != ""; then
10892 if test "$cross_compiling" = "yes" ; then
10893 rescomp=${target_tool_prefix}${rescomp}
10895 # Extract the first word of "$rescomp", so it can be a program name with args.
10896 set dummy $rescomp; ac_word=$2
10897 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10899 if test "${ac_cv_path_aros_kernel_rescomp+set}" = set; then
10900 echo $ECHO_N "(cached) $ECHO_C" >&6
10902 case $aros_kernel_rescomp in
10904 ac_cv_path_aros_kernel_rescomp="$aros_kernel_rescomp" # Let the user override the test with a path.
10907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10908 for as_dir in $PATH
10911 test -z "$as_dir" && as_dir=.
10912 for ac_exec_ext in '' $ac_executable_extensions; do
10913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10914 ac_cv_path_aros_kernel_rescomp="$as_dir/$ac_word$ac_exec_ext"
10915 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10925 aros_kernel_rescomp=$ac_cv_path_aros_kernel_rescomp
10926 if test -n "$aros_kernel_rescomp"; then
10927 { echo "$as_me:$LINENO: result: $aros_kernel_rescomp" >&5
10928 echo "${ECHO_T}$aros_kernel_rescomp" >&6; }
10930 { echo "$as_me:$LINENO: result: no" >&5
10931 echo "${ECHO_T}no" >&6; }
10935 if test "$aros_kernel_rescomp" = ""; then
10936 { { echo "$as_me:$LINENO: error: $rescomp is required to build AROS. Please install and run configure again." >&5
10937 echo "$as_me: error: $rescomp is required to build AROS. Please install and run configure again." >&2;}
10938 { (exit 1); exit 1; }; }
10942 aros_hostcfg_dir="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
10943 aros_targetcfg_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
10944 aros_inc_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
10945 aros_gendir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
10946 aros_geninc_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
10947 aros_tools_dir="bin/${aros_host_arch}-${aros_host_cpu}/tools"
10948 aros_scripts_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
10950 # aros_cc_pre is a variable that is added to the front of the compiler name
10951 # in the generated aros-gcc shell script. We need this to enable the cache
10952 # to work across cleaned builds. Also, support DISTCC using the correct
10953 # environment variable.
10956 if test "x${DISTCC}" != "x" ; then
10957 if test "x${CCACHE}" != "x" ; then
10958 aros_cc_pre="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
10960 aros_cc_pre="${DISTCC} "
10963 if test "x${CCACHE}" != "x" ; then
10964 aros_cc_pre="${CCACHE} "
10968 prefix="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
10970 aros_target_nostdinc_cflags=-nostdinc
10972 aros_target_nostartup_ldflags=-nostartfiles
10974 aros_target_nix_ldflags=-nix
10976 aros_target_detach_ldflags=-detach
10978 aros_target_nostdlib_ldflags=-nostdlib
10982 if test "$aros_target_cc" = ""; then
10983 orig_target_cc=$aros_kernel_cc
10985 orig_target_cc=$aros_target_cc
10987 if test "$aros_target_ld" = ""; then
10988 orig_target_ld=$aros_kernel_ld
10990 orig_target_ld=$aros_target_ld
10992 if test "$GCC" = "yes"; then
10993 aros_target_cc_path=`$orig_target_cc -print-search-dirs |
grep "programs: =" | cut
-c 12-`
10995 aros_target_cc="${prefix}-gcc"
10996 aros_target_as="${prefix}-as"
10997 aros_target_ld="${prefix}-ld"
10998 aros_target_ar="${prefix}-ar $aros_target_ar_flags"
10999 aros_target_objcopy=${prefix}-objcopy
11000 aros_target_objdump=${prefix}-objdump
11001 aros_target_ranlib="${prefix}-ranlib $aros_target_ranlib_flags"
11002 aros_target_nm="${prefix}-nm $aros_target_nm_flags"
11003 aros_kernel_nm="${prefix}-nm"
11004 aros_target_strip=${prefix}-strip
11006 # Find the system include path. We can suggest that an alternative is
11007 # used if we don't get it correct. The default is to use /usr/include.
11008 # Which is set in the aros_target_incl_def variable.
11010 # Check whether --enable-includes was given.
11011 if test "${enable_includes+set}" = set; then
11012 enableval=$enable_includes; aros_target_incl=$enable_includes
11014 aros_target_incl=$aros_target_incl_def
11018 if test "$aros_kernel_includes" != "" ; then
11019 { echo "$as_me:$LINENO: checking for the kernel compiler's include path" >&5
11020 echo $ECHO_N "checking for the kernel compiler's include path... $ECHO_C" >&6; }
11021 if test "$aros_kernel_cc_includes" = "" ; then
11022 #try to guess where the directory is
11023 aros_kernel_cc_includes=`dirname \
`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\``/include
11024 if ! test -d $aros_kernel_cc_includes; then
11025 #the directory doesn't exist, we need to do some more work
11026 aros_kernel_cc_includes=${PWD}/${aros_gendir}/cc_include
11028 #these are the headers we're looling for
11029 headers="limits.h mmintrin.h stdbool.h syslimits.h float.h \
11030 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
11034 for h in $headers; do
11035 #which other headers each of the above headers needs?
11036 deps=$(echo "#include <$h>" | \
11037 $aros_kernel_cc -E -M - 2>/dev/null | \
11038 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
11040 #copy all the needed headers to a directory beneath gendir
11043 dir=${aros_kernel_cc_includes}$(echo $(dirname $d) | \
11044 sed -n "s,^.*/include\(/.*\),\1,p")
11045 ! test -d $dir && mkdir -p $dir
11046 ! test -f $dir/$h && { cp $d $dir; chmod u+w $dir/$h; }
11051 { echo "$as_me:$LINENO: result: $aros_kernel_cc_includes" >&5
11052 echo "${ECHO_T}$aros_kernel_cc_includes" >&6; }
11053 aros_kernel_includes="$aros_kernel_includes -isystem $aros_kernel_cc_includes"
11056 { echo "$as_me:$LINENO: checking for the target compiler's include path" >&5
11057 echo $ECHO_N "checking for the target compiler's include path... $ECHO_C" >&6; }
11058 if test "$aros_target_cc_includes" = "" ; then
11059 #try to guess where the directory is
11060 aros_target_cc_includes=`dirname \
`${orig_target_cc} -print-libgcc-file-name\``/include
11061 if ! test -d $aros_target_cc_includes; then
11062 #the directory doesn't exist, we need to do some more work
11063 aros_target_cc_includes=${PWD}/${aros_gendir}/cc_include
11065 #these are the headers we're looling for
11066 headers="limits.h mmintrin.h stdbool.h syslimits.h float.h \
11067 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
11071 for h in $headers; do
11072 #which other headers each of the above headers needs?
11073 deps=$(echo "#include <$h>" | \
11074 $orig_target_cc -E -M - 2>/dev/null | \
11075 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
11077 #copy all the needed headers to a directory beneath gendir
11080 dir=${aros_target_cc_includes}$(echo $(dirname $d) | \
11081 sed -n "s,^.*/include\(/.*\),\1,p")
11082 ! test -d $dir && mkdir -p $dir
11083 ! test -f $dir/$h && { cp $d $dir; chmod u+w $dir/$h; }
11088 { echo "$as_me:$LINENO: result: $aros_target_cc_includes" >&5
11089 echo "${ECHO_T}$aros_target_cc_includes" >&6; }
11092 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
11093 # On GCC >= 4.0 -iquote should be used
11097 save_cflags="$CFLAGS"
11099 { echo "$as_me:$LINENO: checking whether ${CC} accepts -iquote" >&5
11100 echo $ECHO_N "checking whether ${CC} accepts -iquote... $ECHO_C" >&6; }
11101 cat >conftest.$ac_ext <<_ACEOF
11104 cat confdefs.h >>conftest.$ac_ext
11105 cat >>conftest.$ac_ext <<_ACEOF
11106 /* end confdefs.h. */
11116 rm -f conftest.$ac_objext
11117 if { (ac_try="$ac_compile"
11118 case "(($ac_try" in
11119 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11120 *) ac_try_echo
=$ac_try;;
11122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11123 (eval "$ac_compile") 2>conftest.er1
11125 grep -v '^ *+' conftest.er1
>conftest.err
11127 cat conftest.err
>&5
11128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11129 (exit $ac_status); } && {
11130 test -z "$ac_c_werror_flag" ||
11131 test ! -s conftest.err
11132 } && test -s conftest.
$ac_objext; then
11135 echo "$as_me: failed program was:" >&5
11136 sed 's/^/| /' conftest.
$ac_ext >&5
11141 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11142 { echo "$as_me:$LINENO: result: $has_iquote" >&5
11143 echo "${ECHO_T}$has_iquote" >&6; }
11144 if test "x-$has_iquote" = "x-yes" ; then
11145 host_cflags_iquote
=-iquote
11146 host_cflags_iquote_end
=
11148 host_cflags_iquote
=-I
11149 host_cflags_iquote_end
=-I-
11151 kernel_cflags_iquote
=$host_cflags_iquote
11152 kernel_cflags_iquote_end
=$host_cflags_iquote_end
11153 if test "x-$cross_compiling" = "x-yes"; then
11154 CC
="$aros_kernel_cc"
11155 { echo "$as_me:$LINENO: checking whether ${CC} accepts -fno-stack-protector" >&5
11156 echo $ECHO_N "checking whether ${CC} accepts -fno-stack-protector... $ECHO_C" >&6; }
11157 cat >conftest.
$ac_ext <<_ACEOF
11160 cat confdefs.h
>>conftest.
$ac_ext
11161 cat >>conftest.
$ac_ext <<_ACEOF
11162 /* end confdefs.h. */
11172 rm -f conftest.
$ac_objext
11173 if { (ac_try
="$ac_compile"
11174 case "(($ac_try" in
11175 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11176 *) ac_try_echo=$ac_try;;
11178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11179 (eval "$ac_compile") 2>conftest.er1
11181 grep -v '^ *+' conftest.er1 >conftest.err
11183 cat conftest.err >&5
11184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11185 (exit $ac_status); } && {
11186 test -z "$ac_c_werror_flag" ||
11187 test ! -s conftest.err
11188 } && test -s conftest.$ac_objext; then
11189 use_no_stack_protector="yes"
11191 echo "$as_me: failed program was:" >&5
11192 sed 's/^/| /' conftest.$ac_ext >&5
11194 use_no_stack_protector="no"
11197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11198 { echo "$as_me:$LINENO: result: $use_no_stack_protector" >&5
11199 echo "${ECHO_T}$use_no_stack_protector" >&6; }
11200 { echo "$as_me:$LINENO: checking whether ${CC} accepts -iquote" >&5
11201 echo $ECHO_N "checking whether ${CC} accepts -iquote... $ECHO_C" >&6; }
11202 cat >conftest.$ac_ext <<_ACEOF
11205 cat confdefs.h >>conftest.$ac_ext
11206 cat >>conftest.$ac_ext <<_ACEOF
11207 /* end confdefs.h. */
11217 rm -f conftest.$ac_objext
11218 if { (ac_try="$ac_compile"
11219 case "(($ac_try" in
11220 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11221 *) ac_try_echo
=$ac_try;;
11223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11224 (eval "$ac_compile") 2>conftest.er1
11226 grep -v '^ *+' conftest.er1
>conftest.err
11228 cat conftest.err
>&5
11229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11230 (exit $ac_status); } && {
11231 test -z "$ac_c_werror_flag" ||
11232 test ! -s conftest.err
11233 } && test -s conftest.
$ac_objext; then
11236 echo "$as_me: failed program was:" >&5
11237 sed 's/^/| /' conftest.
$ac_ext >&5
11242 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11243 { echo "$as_me:$LINENO: result: $has_iquote" >&5
11244 echo "${ECHO_T}$has_iquote" >&6; }
11245 if test "x-$has_iquote" = "x-yes" ; then
11246 kernel_cflags_iquote
=-iquote
11247 kernel_cflags_iquote_end
=
11249 kernel_cflags_iquote
=-I
11250 kernel_cflags_iquote_end
=-I-
11253 aros_cflags_iquote
=$kernel_cflags_iquote
11254 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
11255 if test "$orig_target_cc" != "$aros_kernel_cc"; then
11256 CC
="$orig_target_cc"
11257 { echo "$as_me:$LINENO: checking whether ${CC} accepts -iquote" >&5
11258 echo $ECHO_N "checking whether ${CC} accepts -iquote... $ECHO_C" >&6; }
11259 cat >conftest.
$ac_ext <<_ACEOF
11262 cat confdefs.h
>>conftest.
$ac_ext
11263 cat >>conftest.
$ac_ext <<_ACEOF
11264 /* end confdefs.h. */
11274 rm -f conftest.
$ac_objext
11275 if { (ac_try
="$ac_compile"
11276 case "(($ac_try" in
11277 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11278 *) ac_try_echo=$ac_try;;
11280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11281 (eval "$ac_compile") 2>conftest.er1
11283 grep -v '^ *+' conftest.er1 >conftest.err
11285 cat conftest.err >&5
11286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11287 (exit $ac_status); } && {
11288 test -z "$ac_c_werror_flag" ||
11289 test ! -s conftest.err
11290 } && test -s conftest.$ac_objext; then
11293 echo "$as_me: failed program was:" >&5
11294 sed 's/^/| /' conftest.$ac_ext >&5
11299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11300 { echo "$as_me:$LINENO: result: $has_iquote" >&5
11301 echo "${ECHO_T}$has_iquote" >&6; }
11302 if test "x-$has_iquote" = "x-yes" ; then
11303 aros_cflags_iquote=-iquote
11304 aros_cflags_iquote_end=
11306 aros_cflags_iquote=-I
11307 aros_cflags_iquote_end=-I-
11310 if test "x-$use_no_stack_protector" = "x-yes" ; then
11311 aros_kernel_cflags="$aros_kernel_cflags -fno-stack-protector"
11314 #-----------------------------------------------------------------------------
11316 # Check if we can explicitly choose older version of symbol hashing
11318 CFLAGS="save_cflags -Wl,--hash-style=sysv"
11319 CC="$aros_kernel_cc"
11320 { echo "$as_me:$LINENO: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
11321 echo $ECHO_N "checking whether ${CC} accepts -Wl,--hash-style=sysv... $ECHO_C" >&6; }
11322 cat >conftest.$ac_ext <<_ACEOF
11325 cat confdefs.h >>conftest.$ac_ext
11326 cat >>conftest.$ac_ext <<_ACEOF
11327 /* end confdefs.h. */
11337 rm -f conftest.$ac_objext conftest$ac_exeext
11338 if { (ac_try="$ac_link"
11339 case "(($ac_try" in
11340 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11341 *) ac_try_echo
=$ac_try;;
11343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11344 (eval "$ac_link") 2>conftest.er1
11346 grep -v '^ *+' conftest.er1
>conftest.err
11348 cat conftest.err
>&5
11349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11350 (exit $ac_status); } && {
11351 test -z "$ac_c_werror_flag" ||
11352 test ! -s conftest.err
11353 } && test -s conftest
$ac_exeext &&
11354 $as_test_x conftest
$ac_exeext; then
11355 use_hash_style
="yes"
11357 echo "$as_me: failed program was:" >&5
11358 sed 's/^/| /' conftest.
$ac_ext >&5
11360 use_hash_style
="no"
11363 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11364 conftest
$ac_exeext conftest.
$ac_ext
11365 { echo "$as_me:$LINENO: result: $use_hash_style" >&5
11366 echo "${ECHO_T}$use_hash_style" >&6; }
11367 if test "x-$use_hash_style" = "x-yes" ; then
11368 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
11371 CFLAGS
="$save_cflags"
11381 { echo "$as_me:$LINENO: checking for default resolution of WBScreen" >&5
11382 echo $ECHO_N "checking for default resolution of WBScreen... $ECHO_C" >&6; }
11384 # Check whether --with-resolution was given.
11385 if test "${with_resolution+set}" = set; then
11386 withval
=$with_resolution; resolution
=$withval
11391 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
11392 if test "$resolution" = "yes" ; then
11395 if test "$resolution" = "no" ; then
11398 if test "$resolution" != "none" ; then
11399 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
11400 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
11401 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
11403 { echo "$as_me:$LINENO: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
11404 echo "${ECHO_T}$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
11405 aros_cv_default_wbwidth
=$aros_default_wbwidth
11406 aros_cv_default_wbheight
=$aros_default_wbheight
11407 aros_cv_default_wbdepth
=$aros_default_wbdepth
11409 { echo "$as_me:$LINENO: checking if serial debug is enabled" >&5
11410 echo $ECHO_N "checking if serial debug is enabled... $ECHO_C" >&6; }
11412 # Check whether --with-serial-debug was given.
11413 if test "${with_serial_debug+set}" = set; then
11414 withval
=$with_serial_debug; serial_debug
=$withval
11419 if test "$aros_serial_debug" = 0 ; then
11420 serial_debug_forced
=""
11421 if test "$serial_debug" = "yes" ; then
11424 if test "$serial_debug" = "no" ; then
11425 serial_debug
="none"
11428 serial_debug_forced
="(forced)"
11429 serial_debug
=$aros_serial_debug
11431 if test "$serial_debug" != "none" ; then
11432 aros_serial_debug
=$serial_debug
11433 { echo "$as_me:$LINENO: result: $serial_debug_forced on port $serial_debug" >&5
11434 echo "${ECHO_T}$serial_debug_forced on port $serial_debug" >&6; }
11436 { echo "$as_me:$LINENO: result: no" >&5
11437 echo "${ECHO_T}no" >&6; }
11440 { echo "$as_me:$LINENO: checking if palm debug hack is enabled" >&5
11441 echo $ECHO_N "checking if palm debug hack is enabled... $ECHO_C" >&6; }
11442 # Check whether --enable-palm_debug_hack was given.
11443 if test "${enable_palm_debug_hack+set}" = set; then
11444 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
11446 palm_debug_hack
="no"
11449 if test "$palm_debug_hack" = "yes" ; then
11450 aros_palm_debug_hack
="1"
11452 { echo "$as_me:$LINENO: result: $palm_debug_hack" >&5
11453 echo "${ECHO_T}$palm_debug_hack" >&6; }
11456 { echo "$as_me:$LINENO: checking if nesting supervisor support is enabled" >&5
11457 echo $ECHO_N "checking if nesting supervisor support is enabled... $ECHO_C" >&6; }
11458 # Check whether --enable-nesting_supervisor was given.
11459 if test "${enable_nesting_supervisor+set}" = set; then
11460 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
11462 nesting_supervisor
="no"
11465 if test "$nesting_supervisor" = "yes" ; then
11466 aros_nesting_supervisor
="1"
11468 { echo "$as_me:$LINENO: result: $nesting_supervisor" >&5
11469 echo "${ECHO_T}$nesting_supervisor" >&6; }
11472 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
11474 if test "x-$need_dlopen" != "x-no" ; then
11475 { echo "$as_me:$LINENO: checking for dlopen" >&5
11476 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
11477 if test "${ac_cv_func_dlopen+set}" = set; then
11478 echo $ECHO_N "(cached) $ECHO_C" >&6
11480 cat >conftest.
$ac_ext <<_ACEOF
11483 cat confdefs.h
>>conftest.
$ac_ext
11484 cat >>conftest.
$ac_ext <<_ACEOF
11485 /* end confdefs.h. */
11486 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11488 #define dlopen innocuous_dlopen
11490 /* System header to define __stub macros and hopefully few prototypes,
11491 which can conflict with char dlopen (); below.
11492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11493 <limits.h> exists even on freestanding compilers. */
11496 # include <limits.h>
11498 # include <assert.h>
11503 /* Override any GCC internal prototype to avoid an error.
11504 Use char because int might match the return type of a GCC
11505 builtin and then its argument prototype would still apply. */
11510 /* The GNU C library defines this for functions which it implements
11511 to always fail with ENOSYS. Some functions are actually named
11512 something starting with __ and the normal name is an alias. */
11513 #if defined __stub_dlopen || defined __stub___dlopen
11525 rm -f conftest.
$ac_objext conftest
$ac_exeext
11526 if { (ac_try
="$ac_link"
11527 case "(($ac_try" in
11528 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11529 *) ac_try_echo=$ac_try;;
11531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11532 (eval "$ac_link") 2>conftest.er1
11534 grep -v '^ *+' conftest.er1 >conftest.err
11536 cat conftest.err >&5
11537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11538 (exit $ac_status); } && {
11539 test -z "$ac_c_werror_flag" ||
11540 test ! -s conftest.err
11541 } && test -s conftest$ac_exeext &&
11542 $as_test_x conftest$ac_exeext; then
11543 ac_cv_func_dlopen=yes
11545 echo "$as_me: failed program was:" >&5
11546 sed 's/^/| /' conftest.$ac_ext >&5
11548 ac_cv_func_dlopen=no
11551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11552 conftest$ac_exeext conftest.$ac_ext
11554 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11555 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
11556 if test $ac_cv_func_dlopen = yes; then
11562 if test "x-$have_dl" = "x-no" ; then
11563 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11564 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11565 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11566 echo $ECHO_N "(cached) $ECHO_C" >&6
11568 ac_check_lib_save_LIBS=$LIBS
11570 cat >conftest.$ac_ext <<_ACEOF
11573 cat confdefs.h >>conftest.$ac_ext
11574 cat >>conftest.$ac_ext <<_ACEOF
11575 /* end confdefs.h. */
11577 /* Override any GCC internal prototype to avoid an error.
11578 Use char because int might match the return type of a GCC
11579 builtin and then its argument prototype would still apply. */
11592 rm -f conftest.$ac_objext conftest$ac_exeext
11593 if { (ac_try="$ac_link"
11594 case "(($ac_try" in
11595 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11596 *) ac_try_echo
=$ac_try;;
11598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11599 (eval "$ac_link") 2>conftest.er1
11601 grep -v '^ *+' conftest.er1
>conftest.err
11603 cat conftest.err
>&5
11604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11605 (exit $ac_status); } && {
11606 test -z "$ac_c_werror_flag" ||
11607 test ! -s conftest.err
11608 } && test -s conftest
$ac_exeext &&
11609 $as_test_x conftest
$ac_exeext; then
11610 ac_cv_lib_dl_dlopen
=yes
11612 echo "$as_me: failed program was:" >&5
11613 sed 's/^/| /' conftest.
$ac_ext >&5
11615 ac_cv_lib_dl_dlopen
=no
11618 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11619 conftest
$ac_exeext conftest.
$ac_ext
11620 LIBS
=$ac_check_lib_save_LIBS
11622 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11623 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11624 if test $ac_cv_lib_dl_dlopen = yes; then
11626 aros_host_ldflags
="$aros_host_ldflags -ldl"
11632 if test "x-$have_dl" = "x-no" ; then
11633 { { echo "$as_me:$LINENO: error: dlopen() dynamic linker functions not available" >&5
11634 echo "$as_me: error: dlopen() dynamic linker functions not available" >&2;}
11635 { (exit 1); exit 1; }; }
11640 # Check whether --enable-x11_hidd was given.
11641 if test "${enable_x11_hidd+set}" = set; then
11642 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
11647 case "x-$x11_hidd" in
11648 x-yes|x-no|x-auto
) ;;
11649 *) x11_hidd
="auto" ;;
11654 if test "x-$x11_hidd" != "x-no" ; then
11656 { echo "$as_me:$LINENO: checking for X" >&5
11657 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
11660 # Check whether --with-x was given.
11661 if test "${with_x+set}" = set; then
11665 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11666 if test "x$with_x" = xno
; then
11667 # The user explicitly disabled X.
11670 case $x_includes,$x_libraries in #(
11671 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
11672 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
11673 { (exit 1); exit 1; }; };; #(
11674 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then
11675 echo $ECHO_N "(cached) $ECHO_C" >&6
11677 # One or both of the vars are not set, and there is no cached value.
11678 ac_x_includes
=no ac_x_libraries
=no
11679 rm -f -r conftest.dir
11680 if mkdir conftest.dir
; then
11682 cat >Imakefile
<<'_ACEOF'
11684 @echo incroot='${INCROOT}'
11686 @echo usrlibdir='${USRLIBDIR}'
11688 @echo libdir='${LIBDIR}'
11690 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
11691 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11692 for ac_var
in incroot usrlibdir libdir
; do
11693 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
11695 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11696 for ac_extension
in a so sl dylib la dll
; do
11697 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
11698 test -f "$ac_im_libdir/libX11.$ac_extension"; then
11699 ac_im_usrlibdir
=$ac_im_libdir; break
11702 # Screen out bogus values from the imake configuration. They are
11703 # bogus both because they are the default anyway, and because
11704 # using them would break gcc on systems where it needs fixed includes.
11705 case $ac_im_incroot in
11706 /usr
/include
) ac_x_includes
= ;;
11707 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
11709 case $ac_im_usrlibdir in
11710 /usr
/lib |
/lib
) ;;
11711 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
11715 rm -f -r conftest.dir
11718 # Standard set of common directories for X headers.
11719 # Check X11 before X11Rn because it is often a symlink to the current release.
11731 /usr/local/X11/include
11732 /usr/local/X11R6/include
11733 /usr/local/X11R5/include
11734 /usr/local/X11R4/include
11736 /usr/local/include/X11
11737 /usr/local/include/X11R6
11738 /usr/local/include/X11R5
11739 /usr/local/include/X11R4
11743 /usr/XFree86/include/X11
11747 /usr/unsupported/include
11748 /usr/athena/include
11749 /usr/local/x11r5/include
11750 /usr/lpp/Xamples/include
11752 /usr/openwin/include
11753 /usr/openwin/share/include'
11755 if test "$ac_x_includes" = no
; then
11756 # Guess where to find include files, by looking for Xlib.h.
11757 # First, try using that file with no special directory specified.
11758 cat >conftest.
$ac_ext <<_ACEOF
11761 cat confdefs.h
>>conftest.
$ac_ext
11762 cat >>conftest.
$ac_ext <<_ACEOF
11763 /* end confdefs.h. */
11764 #include <X11/Xlib.h>
11766 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11767 case "(($ac_try" in
11768 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11769 *) ac_try_echo=$ac_try;;
11771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11772 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11774 grep -v '^ *+' conftest.er1 >conftest.err
11776 cat conftest.err >&5
11777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11778 (exit $ac_status); } >/dev/null && {
11779 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11780 test ! -s conftest.err
11782 # We can compile using X headers with no special include directory.
11785 echo "$as_me: failed program was:" >&5
11786 sed 's/^/| /' conftest.$ac_ext >&5
11788 for ac_dir in $ac_x_header_dirs; do
11789 if test -r "$ac_dir/X11/Xlib.h"; then
11790 ac_x_includes=$ac_dir
11796 rm -f conftest.err conftest.$ac_ext
11797 fi # $ac_x_includes = no
11799 if test "$ac_x_libraries" = no; then
11800 # Check for the libraries.
11801 # See if we find them without any special options.
11802 # Don't add to $LIBS permanently.
11805 cat >conftest.$ac_ext <<_ACEOF
11808 cat confdefs.h >>conftest.$ac_ext
11809 cat >>conftest.$ac_ext <<_ACEOF
11810 /* end confdefs.h. */
11811 #include <X11/Xlib.h>
11820 rm -f conftest.$ac_objext conftest$ac_exeext
11821 if { (ac_try="$ac_link"
11822 case "(($ac_try" in
11823 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11824 *) ac_try_echo
=$ac_try;;
11826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11827 (eval "$ac_link") 2>conftest.er1
11829 grep -v '^ *+' conftest.er1
>conftest.err
11831 cat conftest.err
>&5
11832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11833 (exit $ac_status); } && {
11834 test -z "$ac_c_werror_flag" ||
11835 test ! -s conftest.err
11836 } && test -s conftest
$ac_exeext &&
11837 $as_test_x conftest
$ac_exeext; then
11839 # We can link X programs with no special library path.
11842 echo "$as_me: failed program was:" >&5
11843 sed 's/^/| /' conftest.
$ac_ext >&5
11846 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
11848 # Don't even attempt the hair of trying to link an X program!
11849 for ac_extension
in a so sl dylib la dll
; do
11850 if test -r "$ac_dir/libX11.$ac_extension"; then
11851 ac_x_libraries
=$ac_dir
11858 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11859 conftest
$ac_exeext conftest.
$ac_ext
11860 fi # $ac_x_libraries = no
11862 case $ac_x_includes,$ac_x_libraries in #(
11863 no
,* |
*,no |
*\'*)
11864 # Didn't find X, or a directory has "'" in its name.
11865 ac_cv_have_x
="have_x=no";; #(
11867 # Record where we found X for the cache.
11868 ac_cv_have_x
="have_x=yes\
11869 ac_x_includes='$ac_x_includes'\
11870 ac_x_libraries='$ac_x_libraries'"
11876 eval "$ac_cv_have_x"
11879 if test "$have_x" != yes; then
11880 { echo "$as_me:$LINENO: result: $have_x" >&5
11881 echo "${ECHO_T}$have_x" >&6; }
11884 # If each of the values was on the command line, it overrides each guess.
11885 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
11886 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
11887 # Update the cache value to reflect the command line values.
11888 ac_cv_have_x
="have_x=yes\
11889 ac_x_includes='$x_includes'\
11890 ac_x_libraries='$x_libraries'"
11891 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
11892 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
11897 for path
in $x_libraries
11899 x_cflags
="$x_cflags -L$path"
11902 for path
in $x_includes
11904 x_cflags
="$x_cflags -I$path"
11907 if test "x-$no_x" = "x-yes" ; then
11909 if test "x-$x11_hidd" != "x-auto" ; then
11910 { { echo "$as_me:$LINENO: error: X11 libs/headers not found, cannot build X11 hidd as requested" >&5
11911 echo "$as_me: error: X11 libs/headers not found, cannot build X11 hidd as requested" >&2;}
11912 { (exit 1); exit 1; }; }
11916 x11_hidd_target
=kernel-x11gfx-kobj
11919 # Check whether --enable-x11_shm was given.
11920 if test "${enable_x11_shm+set}" = set; then
11921 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
11923 x11_hidd_shm
="auto"
11926 case "x-$x11_hidd_shm" in
11927 x-yes|x-no|x-auto
) ;;
11928 *) x11_hidd_shm
="auto" ;;
11933 if test "x-$x11_hidd_shm" != "x-no" ; then
11936 for ac_header
in sys
/ipc.h
11938 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11939 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11940 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11941 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11942 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11943 echo $ECHO_N "(cached) $ECHO_C" >&6
11945 ac_res
=`eval echo '${'$as_ac_Header'}'`
11946 { echo "$as_me:$LINENO: result: $ac_res" >&5
11947 echo "${ECHO_T}$ac_res" >&6; }
11949 # Is the header compilable?
11950 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11951 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11952 cat >conftest.
$ac_ext <<_ACEOF
11955 cat confdefs.h
>>conftest.
$ac_ext
11956 cat >>conftest.
$ac_ext <<_ACEOF
11957 /* end confdefs.h. */
11958 $ac_includes_default
11959 #include <$ac_header>
11961 rm -f conftest.
$ac_objext
11962 if { (ac_try
="$ac_compile"
11963 case "(($ac_try" in
11964 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11965 *) ac_try_echo=$ac_try;;
11967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11968 (eval "$ac_compile") 2>conftest.er1
11970 grep -v '^ *+' conftest.er1 >conftest.err
11972 cat conftest.err >&5
11973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11974 (exit $ac_status); } && {
11975 test -z "$ac_c_werror_flag" ||
11976 test ! -s conftest.err
11977 } && test -s conftest.$ac_objext; then
11978 ac_header_compiler=yes
11980 echo "$as_me: failed program was:" >&5
11981 sed 's/^/| /' conftest.$ac_ext >&5
11983 ac_header_compiler=no
11986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11987 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11988 echo "${ECHO_T}$ac_header_compiler" >&6; }
11990 # Is the header present?
11991 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11992 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11993 cat >conftest.$ac_ext <<_ACEOF
11996 cat confdefs.h >>conftest.$ac_ext
11997 cat >>conftest.$ac_ext <<_ACEOF
11998 /* end confdefs.h. */
11999 #include <$ac_header>
12001 if { (ac_try="$ac_cpp conftest.$ac_ext"
12002 case "(($ac_try" in
12003 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12004 *) ac_try_echo
=$ac_try;;
12006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12007 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12009 grep -v '^ *+' conftest.er1
>conftest.err
12011 cat conftest.err
>&5
12012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12013 (exit $ac_status); } >/dev
/null
&& {
12014 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12015 test ! -s conftest.err
12017 ac_header_preproc
=yes
12019 echo "$as_me: failed program was:" >&5
12020 sed 's/^/| /' conftest.
$ac_ext >&5
12022 ac_header_preproc
=no
12025 rm -f conftest.err conftest.
$ac_ext
12026 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12027 echo "${ECHO_T}$ac_header_preproc" >&6; }
12029 # So? What about this header?
12030 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12032 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12033 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12034 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12035 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12036 ac_header_preproc
=yes
12039 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12040 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12041 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12042 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12043 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12044 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12045 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12046 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12047 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12048 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12049 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12050 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12054 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12055 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12056 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12057 echo $ECHO_N "(cached) $ECHO_C" >&6
12059 eval "$as_ac_Header=\$ac_header_preproc"
12061 ac_res
=`eval echo '${'$as_ac_Header'}'`
12062 { echo "$as_me:$LINENO: result: $ac_res" >&5
12063 echo "${ECHO_T}$ac_res" >&6; }
12066 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12067 cat >>confdefs.h
<<_ACEOF
12068 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12076 for ac_header
in sys
/shm.h
12078 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12079 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12080 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12081 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12082 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12083 echo $ECHO_N "(cached) $ECHO_C" >&6
12085 ac_res
=`eval echo '${'$as_ac_Header'}'`
12086 { echo "$as_me:$LINENO: result: $ac_res" >&5
12087 echo "${ECHO_T}$ac_res" >&6; }
12089 # Is the header compilable?
12090 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12091 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12092 cat >conftest.
$ac_ext <<_ACEOF
12095 cat confdefs.h
>>conftest.
$ac_ext
12096 cat >>conftest.
$ac_ext <<_ACEOF
12097 /* end confdefs.h. */
12098 $ac_includes_default
12099 #include <$ac_header>
12101 rm -f conftest.
$ac_objext
12102 if { (ac_try
="$ac_compile"
12103 case "(($ac_try" in
12104 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12105 *) ac_try_echo=$ac_try;;
12107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12108 (eval "$ac_compile") 2>conftest.er1
12110 grep -v '^ *+' conftest.er1 >conftest.err
12112 cat conftest.err >&5
12113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12114 (exit $ac_status); } && {
12115 test -z "$ac_c_werror_flag" ||
12116 test ! -s conftest.err
12117 } && test -s conftest.$ac_objext; then
12118 ac_header_compiler=yes
12120 echo "$as_me: failed program was:" >&5
12121 sed 's/^/| /' conftest.$ac_ext >&5
12123 ac_header_compiler=no
12126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12127 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12128 echo "${ECHO_T}$ac_header_compiler" >&6; }
12130 # Is the header present?
12131 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12132 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12133 cat >conftest.$ac_ext <<_ACEOF
12136 cat confdefs.h >>conftest.$ac_ext
12137 cat >>conftest.$ac_ext <<_ACEOF
12138 /* end confdefs.h. */
12139 #include <$ac_header>
12141 if { (ac_try="$ac_cpp conftest.$ac_ext"
12142 case "(($ac_try" in
12143 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12144 *) ac_try_echo
=$ac_try;;
12146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12147 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12149 grep -v '^ *+' conftest.er1
>conftest.err
12151 cat conftest.err
>&5
12152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12153 (exit $ac_status); } >/dev
/null
&& {
12154 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12155 test ! -s conftest.err
12157 ac_header_preproc
=yes
12159 echo "$as_me: failed program was:" >&5
12160 sed 's/^/| /' conftest.
$ac_ext >&5
12162 ac_header_preproc
=no
12165 rm -f conftest.err conftest.
$ac_ext
12166 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12167 echo "${ECHO_T}$ac_header_preproc" >&6; }
12169 # So? What about this header?
12170 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12172 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12173 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12174 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12175 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12176 ac_header_preproc
=yes
12179 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12180 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12181 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12182 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12183 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12184 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12185 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12186 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12187 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12188 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12189 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12190 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12194 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12195 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12196 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12197 echo $ECHO_N "(cached) $ECHO_C" >&6
12199 eval "$as_ac_Header=\$ac_header_preproc"
12201 ac_res
=`eval echo '${'$as_ac_Header'}'`
12202 { echo "$as_me:$LINENO: result: $ac_res" >&5
12203 echo "${ECHO_T}$ac_res" >&6; }
12206 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12207 cat >>confdefs.h
<<_ACEOF
12208 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12216 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
12218 save_cflags
="$CFLAGS"
12219 CFLAGS
="$CFLAGS $x_cflags"
12220 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
12221 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
12222 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
12223 echo $ECHO_N "(cached) $ECHO_C" >&6
12225 ac_check_lib_save_LIBS
=$LIBS
12226 LIBS
="-lXext $LIBS"
12227 cat >conftest.
$ac_ext <<_ACEOF
12230 cat confdefs.h
>>conftest.
$ac_ext
12231 cat >>conftest.
$ac_ext <<_ACEOF
12232 /* end confdefs.h. */
12234 /* Override any GCC internal prototype to avoid an error.
12235 Use char because int might match the return type of a GCC
12236 builtin and then its argument prototype would still apply. */
12240 char XShmQueryExtension ();
12244 return XShmQueryExtension ();
12249 rm -f conftest.
$ac_objext conftest
$ac_exeext
12250 if { (ac_try
="$ac_link"
12251 case "(($ac_try" in
12252 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12253 *) ac_try_echo=$ac_try;;
12255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12256 (eval "$ac_link") 2>conftest.er1
12258 grep -v '^ *+' conftest.er1 >conftest.err
12260 cat conftest.err >&5
12261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12262 (exit $ac_status); } && {
12263 test -z "$ac_c_werror_flag" ||
12264 test ! -s conftest.err
12265 } && test -s conftest$ac_exeext &&
12266 $as_test_x conftest$ac_exeext; then
12267 ac_cv_lib_Xext_XShmQueryExtension=yes
12269 echo "$as_me: failed program was:" >&5
12270 sed 's/^/| /' conftest.$ac_ext >&5
12272 ac_cv_lib_Xext_XShmQueryExtension=no
12275 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12276 conftest$ac_exeext conftest.$ac_ext
12277 LIBS=$ac_check_lib_save_LIBS
12279 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
12280 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
12281 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
12285 CFLAGS="$save_cflags"
12289 if test "x-$have_xshm" = "x-yes" ; then
12290 DO_XSHM_SUPPORT="1"
12291 elif test "x-$x11_hidd_shm" = "x-yes" ; then
12292 { { echo "$as_me:$LINENO: error: X11 has no support for shared memory, cannot enable it as requested" >&5
12293 echo "$as_me: error: X11 has no support for shared memory, cannot enable it as requested" >&2;}
12294 { (exit 1); exit 1; }; }
12296 DO_XSHM_SUPPORT="0"
12300 # Check whether --enable-x11_vidmode was given.
12301 if test "${enable_x11_vidmode+set}" = set; then
12302 enableval=$enable_x11_vidmode; x11_hidd_vidmode="$enableval"
12304 x11_hidd_vidmode="auto"
12307 case "x-$x11_hidd_vidmode" in
12308 x-yes|x-no|x-auto) ;;
12309 *) x11_hidd_vidmode="auto" ;;
12314 if test "x-$x11_hidd_vidmode" != "x-no" ; then
12316 save_cflags="$CFLAGS"
12317 CFLAGS="$CFLAGS $x_cflags"
12318 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
12319 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
12320 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
12321 echo $ECHO_N "(cached) $ECHO_C" >&6
12323 ac_check_lib_save_LIBS=$LIBS
12324 LIBS="-lXxf86vm $LIBS"
12325 cat >conftest.$ac_ext <<_ACEOF
12328 cat confdefs.h >>conftest.$ac_ext
12329 cat >>conftest.$ac_ext <<_ACEOF
12330 /* end confdefs.h. */
12332 /* Override any GCC internal prototype to avoid an error.
12333 Use char because int might match the return type of a GCC
12334 builtin and then its argument prototype would still apply. */
12338 char XF86VidModeQueryExtension ();
12342 return XF86VidModeQueryExtension ();
12347 rm -f conftest.$ac_objext conftest$ac_exeext
12348 if { (ac_try="$ac_link"
12349 case "(($ac_try" in
12350 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12351 *) ac_try_echo
=$ac_try;;
12353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12354 (eval "$ac_link") 2>conftest.er1
12356 grep -v '^ *+' conftest.er1
>conftest.err
12358 cat conftest.err
>&5
12359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12360 (exit $ac_status); } && {
12361 test -z "$ac_c_werror_flag" ||
12362 test ! -s conftest.err
12363 } && test -s conftest
$ac_exeext &&
12364 $as_test_x conftest
$ac_exeext; then
12365 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
12367 echo "$as_me: failed program was:" >&5
12368 sed 's/^/| /' conftest.
$ac_ext >&5
12370 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
12373 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12374 conftest
$ac_exeext conftest.
$ac_ext
12375 LIBS
=$ac_check_lib_save_LIBS
12377 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
12378 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
12379 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
12383 CFLAGS
="$save_cflags"
12386 if test "x-$have_vidmode" = "x-yes" ; then
12387 DO_VIDMODE_SUPPORT
="1"
12388 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
12389 { { echo "$as_me:$LINENO: error: X11 vidmode extension not available, cannot enable it as requested" >&5
12390 echo "$as_me: error: X11 vidmode extension not available, cannot enable it as requested" >&2;}
12391 { (exit 1); exit 1; }; }
12393 DO_VIDMODE_SUPPORT
="0"
12397 aros_host_x11_includes
=$x_includes
12398 aros_host_x11_libdirs
=$x_libraries
12402 # Check whether --enable-sdl_hidd was given.
12403 if test "${enable_sdl_hidd+set}" = set; then
12404 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
12409 case "x-$sdl_hidd" in
12410 x-yes|x-no|x-auto
) ;;
12411 *) sdl_hidd
="auto" ;;
12414 if test "x-$sdl_hidd" != "x-no" ; then
12417 # Check whether --with-sdl-prefix was given.
12418 if test "${with_sdl_prefix+set}" = set; then
12419 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
12425 # Check whether --with-sdl-exec-prefix was given.
12426 if test "${with_sdl_exec_prefix+set}" = set; then
12427 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
12432 # Check whether --enable-sdltest was given.
12433 if test "${enable_sdltest+set}" = set; then
12434 enableval
=$enable_sdltest;
12440 if test x
$sdl_exec_prefix != x
; then
12441 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
12442 if test x
${SDL_CONFIG+set} != xset
; then
12443 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
12446 if test x
$sdl_prefix != x
; then
12447 sdl_args
="$sdl_args --prefix=$sdl_prefix"
12448 if test x
${SDL_CONFIG+set} != xset
; then
12449 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
12453 if test "x$prefix" != xNONE
; then
12454 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
12456 # Extract the first word of "sdl-config", so it can be a program name with args.
12457 set dummy sdl-config
; ac_word
=$2
12458 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12460 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
12461 echo $ECHO_N "(cached) $ECHO_C" >&6
12463 case $SDL_CONFIG in
12465 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
12468 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12469 for as_dir
in $PATH
12472 test -z "$as_dir" && as_dir
=.
12473 for ac_exec_ext
in '' $ac_executable_extensions; do
12474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12475 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12483 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
12487 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
12488 if test -n "$SDL_CONFIG"; then
12489 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
12490 echo "${ECHO_T}$SDL_CONFIG" >&6; }
12492 { echo "$as_me:$LINENO: result: no" >&5
12493 echo "${ECHO_T}no" >&6; }
12497 min_sdl_version
=1.2.10
12498 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
12499 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
12501 if test "$SDL_CONFIG" = "no" ; then
12504 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
12505 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
12507 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
12508 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12509 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
12510 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12511 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
12512 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12513 if test "x$enable_sdltest" = "xyes" ; then
12514 ac_save_CFLAGS
="$CFLAGS"
12515 ac_save_CXXFLAGS
="$CXXFLAGS"
12516 ac_save_LIBS
="$LIBS"
12517 CFLAGS
="$CFLAGS $SDL_CFLAGS"
12518 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
12519 LIBS
="$LIBS $SDL_LIBS"
12521 if test "$cross_compiling" = yes; then
12522 echo $ac_n "cross compiling; assumed OK... $ac_c"
12524 cat >conftest.
$ac_ext <<_ACEOF
12527 cat confdefs.h
>>conftest.
$ac_ext
12528 cat >>conftest.
$ac_ext <<_ACEOF
12529 /* end confdefs.h. */
12532 #include <stdlib.h>
12533 #include <string.h>
12537 my_strdup (char *str)
12543 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
12544 strcpy (new_str, str);
12552 int main (int argc, char *argv[])
12554 int major, minor, micro;
12557 /* This hangs on some systems (?)
12558 system ("touch conf.sdltest");
12560 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
12562 /* HP/UX 9 (%@#!) writes to sscanf strings */
12563 tmp_version = my_strdup("$min_sdl_version");
12564 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12565 printf("%s, bad version string\n", "$min_sdl_version");
12569 if (($sdl_major_version > major) ||
12570 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
12571 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
12577 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
12578 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
12579 printf("*** best to upgrade to the required version.\n");
12580 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
12581 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
12582 printf("*** config.cache before re-running configure\n");
12589 rm -f conftest
$ac_exeext
12590 if { (ac_try
="$ac_link"
12591 case "(($ac_try" in
12592 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12593 *) ac_try_echo=$ac_try;;
12595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12596 (eval "$ac_link") 2>&5
12598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12599 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12600 { (case "(($ac_try" in
12601 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12602 *) ac_try_echo
=$ac_try;;
12604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12605 (eval "$ac_try") 2>&5
12607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12608 (exit $ac_status); }; }; then
12611 echo "$as_me: program exited with status $ac_status" >&5
12612 echo "$as_me: failed program was:" >&5
12613 sed 's/^/| /' conftest.
$ac_ext >&5
12615 ( exit $ac_status )
12618 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12622 CFLAGS
="$ac_save_CFLAGS"
12623 CXXFLAGS
="$ac_save_CXXFLAGS"
12624 LIBS
="$ac_save_LIBS"
12627 if test "x$no_sdl" = x
; then
12628 { echo "$as_me:$LINENO: result: yes" >&5
12629 echo "${ECHO_T}yes" >&6; }
12632 { echo "$as_me:$LINENO: result: no" >&5
12633 echo "${ECHO_T}no" >&6; }
12634 if test "$SDL_CONFIG" = "no" ; then
12635 echo "*** The sdl-config script installed by SDL could not be found"
12636 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
12637 echo "*** your path, or set the SDL_CONFIG environment variable to the"
12638 echo "*** full path to sdl-config."
12640 if test -f conf.sdltest
; then
12643 echo "*** Could not run SDL test program, checking why..."
12644 CFLAGS
="$CFLAGS $SDL_CFLAGS"
12645 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
12646 LIBS
="$LIBS $SDL_LIBS"
12647 cat >conftest.
$ac_ext <<_ACEOF
12650 cat confdefs.h
>>conftest.
$ac_ext
12651 cat >>conftest.
$ac_ext <<_ACEOF
12652 /* end confdefs.h. */
12657 int main(int argc, char *argv[])
12660 #define main K_and_R_C_main
12670 rm -f conftest.
$ac_objext conftest
$ac_exeext
12671 if { (ac_try
="$ac_link"
12672 case "(($ac_try" in
12673 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12674 *) ac_try_echo=$ac_try;;
12676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12677 (eval "$ac_link") 2>conftest.er1
12679 grep -v '^ *+' conftest.er1 >conftest.err
12681 cat conftest.err >&5
12682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12683 (exit $ac_status); } && {
12684 test -z "$ac_c_werror_flag" ||
12685 test ! -s conftest.err
12686 } && test -s conftest$ac_exeext &&
12687 $as_test_x conftest$ac_exeext; then
12688 echo "*** The test program compiled, but did not run. This usually means"
12689 echo "*** that the run-time linker is not finding SDL or finding the wrong"
12690 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
12691 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12692 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12693 echo "*** is required on your system"
12695 echo "*** If you have an old version installed, it is best to remove it, although"
12696 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12698 echo "$as_me: failed program was:" >&5
12699 sed 's/^/| /' conftest.$ac_ext >&5
12701 echo "*** The test program failed to compile or link. See the file config.log for the"
12702 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
12703 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
12704 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
12707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12708 conftest$ac_exeext conftest.$ac_ext
12709 CFLAGS="$ac_save_CFLAGS"
12710 CXXFLAGS="$ac_save_CXXFLAGS"
12711 LIBS="$ac_save_LIBS"
12723 if test "x-$have_sdl" != "x-yes" ; then
12725 if test "x-$sdl_hidd" != "x-auto" ; then
12726 { { echo "$as_me:$LINENO: error: SDL libs/headers not found, cannot build SDL hidd as requested" >&5
12727 echo "$as_me: error: SDL libs/headers not found, cannot build SDL hidd as requested" >&2;}
12728 { (exit 1); exit 1; }; }
12732 sdl_hidd_target=kernel-hidd-sdl
12733 aros_host_sdl_cflags=SDL_CFLAGS
12734 aros_host_sdl_libs=SDL_LIBS
12741 { echo "$as_me:$LINENO: checking if building of dbus.library is enabled" >&5
12742 echo $ECHO_N "checking if building of dbus.library is enabled... $ECHO_C" >&6; }
12743 # Check whether --enable-dbus was given.
12744 if test "${enable_dbus+set}" = set; then
12745 enableval=$enable_dbus; dbus="yes"
12750 if test "$dbus" = "yes" ; then
12752 DBUS_CFLAGS=`pkg-config
--cflags dbus-1
`
12753 DBUS_LIBFLAGS=`pkg-config
--libs dbus-1
`
12754 KERNEL_DBUS_KOBJ=kernel-dbus-kobj
12755 KERNEL_DBUS_INCLUDES=kernel-dbus-includes
12759 { echo "$as_me:$LINENO: result: $dbus" >&5
12760 echo "${ECHO_T}$dbus" >&6; }
12866 # Native version related
12869 # Palm native version related
12872 # Unix/Hosted version related
12875 # Apple iOS related
12896 # Collect-aros stuff: "-ius" to ignore undefined symbols
12899 # C compiler related
12902 case "$aros_flavour" in
12903 emulation) aros_flavour_uc="AROS_FLAVOUR_EMULATION"
12904 aros_flavour="emulation" ;;
12905 emulcompat) aros_flavour_uc="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
12906 aros_flavour="emulation" ;;
12907 standalone) aros_flavour_uc="AROS_FLAVOUR_STANDALONE"
12908 aros_flavour="standalone";;
12909 standcompat) aros_flavour_uc="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
12910 aros_flavour="standalone";;
12911 native) aros_flavour_uc="AROS_FLAVOUR_NATIVE"
12912 aros_flavour="native" ;;
12913 nativecompat) aros_flavour_uc="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
12914 aros_flavour="native" ;;
12915 linklib) aros_flavour_uc="AROS_FLAVOUR_LINKLIB"
12916 aros_flavour="linklib" ;;
12917 palmnative) aros_flavour_uc="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
12918 aros_flavour="palmnative" ;;
12919 mac68knative) aros_flavour_uc="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
12920 aros_flavour="mac68knative" ;;
12921 ppcnative) aros_flavour_uc="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
12922 aros_flavour="ppcnative" ;;
12925 if test ! -d ${aros_inc_dir} ; then
12926 ${MKDIR} ${aros_inc_dir}
12928 if test ! -d ${aros_geninc_dir} ; then
12929 ${MKDIR} ${aros_geninc_dir}
12931 if test ! -d ${aros_hostcfg_dir} ; then
12932 ${MKDIR} ${aros_hostcfg_dir}
12934 if test ! -d ${aros_targetcfg_dir} ; then
12935 ${MKDIR} ${aros_targetcfg_dir}
12937 if test ! -d ${aros_tools_dir} ; then
12938 ${MKDIR} ${aros_tools_dir}
12940 if test ! -d ${aros_scripts_dir} ; then
12941 ${MKDIR} ${aros_scripts_dir}
12944 ac_config_headers="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
12947 ac_config_commands="$ac_config_commands compiler_executable"
12949 ac_config_commands="$ac_config_commands genshared_executable"
12951 ac_config_commands="$ac_config_commands genmf_executable"
12954 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"
12957 cat >confcache <<\_ACEOF
12958 # This file is a shell script that caches the results of configure
12959 # tests run on this system so they can be shared between configure
12960 # scripts and configure runs, see configure's option --config-cache.
12961 # It is not useful on other systems. If it contains results you don't
12962 # want to keep, you may remove or edit it.
12964 # config.status only pays attention to the cache file if you give it
12965 # the --recheck option to rerun configure.
12967 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
12968 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12969 # following values.
12973 # The following way of writing the cache mishandles newlines in values,
12974 # but we know of no workaround that is simple, portable, and efficient.
12975 # So, we kill variables containing newlines.
12976 # Ultrix sh set writes to stderr and can't be redirected directly,
12977 # and sets the high bit in the cache file unless we assign to the vars.
12979 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12980 eval ac_val
=\$
$ac_var
12984 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12985 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12988 _ | IFS | as_nl
) ;; #(
12989 *) $as_unset $ac_var ;;
12995 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12996 *${as_nl}ac_space
=\
*)
12997 # `set' does not quote correctly, so add quotes (double-quote
12998 # substitution turns \\\\ into \\, and sed turns \\ into \).
13001 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13004 # `set' quotes correctly as required by POSIX, so do not add quotes.
13005 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13014 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13016 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13018 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
13019 if test -w "$cache_file"; then
13020 test "x$cache_file" != "x/dev/null" &&
13021 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
13022 echo "$as_me: updating cache $cache_file" >&6;}
13023 cat confcache
>$cache_file
13025 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13026 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13031 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13032 # Let make expand exec_prefix.
13033 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13035 DEFS
=-DHAVE_CONFIG_H
13039 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
13040 # 1. Remove the extension, and $U if already installed.
13041 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
13042 ac_i
=`echo "$ac_i" | sed "$ac_script"`
13043 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
13044 # will be set to the directory where LIBOBJS objects are built.
13045 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13046 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
13048 LIBOBJS
=$ac_libobjs
13050 LTLIBOBJS
=$ac_ltlibobjs
13054 : ${CONFIG_STATUS=./config.status}
13055 ac_clean_files_save
=$ac_clean_files
13056 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
13057 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13058 echo "$as_me: creating $CONFIG_STATUS" >&6;}
13059 cat >$CONFIG_STATUS <<_ACEOF
13061 # Generated by $as_me.
13062 # Run this file to recreate the current configuration.
13063 # Compiler output produced by configure, useful for debugging
13064 # configure, is in config.log if it exists.
13067 ac_cs_recheck=false
13069 SHELL=\${CONFIG_SHELL-$SHELL}
13072 cat >>$CONFIG_STATUS <<\_ACEOF
13073 ## --------------------- ##
13074 ## M4sh Initialization. ##
13075 ## --------------------- ##
13077 # Be more Bourne compatible
13078 DUALCASE
=1; export DUALCASE
# for MKS sh
13079 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
13082 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
13083 # is contrary to our usage. Disable this feature.
13084 alias -g '${1+"$@"}'='"$@"'
13085 setopt NO_GLOB_SUBST
13087 case `(set -o) 2>/dev/null` in
13088 *posix
*) set -o posix
;;
13097 # Avoid depending upon Character Ranges.
13098 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13099 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13100 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13101 as_cr_digits
='0123456789'
13102 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13104 # The user is always right.
13105 if test "${PATH_SEPARATOR+set}" != set; then
13106 echo "#! /bin/sh" >conf$$.sh
13107 echo "exit 0" >>conf$$.sh
13109 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
13117 # Support unset when possible.
13118 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
13126 # We need space, tab and new line, in precisely that order. Quoting is
13127 # there to prevent editors from complaining about space-tab.
13128 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13129 # splitting by setting IFS to empty value.)
13134 # Find who we are. Look in the path if we contain no directory separator.
13136 *[\\/]* ) as_myself
=$0 ;;
13137 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13138 for as_dir
in $PATH
13141 test -z "$as_dir" && as_dir
=.
13142 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
13148 # We did not find ourselves, most probably we were run as `sh COMMAND'
13149 # in which case we are not to be found in the path.
13150 if test "x$as_myself" = x
; then
13153 if test ! -f "$as_myself"; then
13154 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13155 { (exit 1); exit 1; }
13158 # Work around bugs in pre-3.0 UWIN ksh.
13159 for as_var
in ENV MAIL MAILPATH
13160 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
13168 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
13169 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
13170 LC_TELEPHONE LC_TIME
13172 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
13173 eval $as_var=C
; export $as_var
13175 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
13179 # Required to use basename.
13180 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13181 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13187 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13188 as_basename
=basename
13194 # Name of the executable.
13195 as_me
=`$as_basename -- "$0" ||
13196 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13197 X"$0" : 'X\(//\)$' \| \
13198 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13200 sed '/^.*\/\([^/][^/]*\)\/*$/{
13219 as_lineno_1
=$LINENO
13220 as_lineno_2
=$LINENO
13221 test "x$as_lineno_1" != "x$as_lineno_2" &&
13222 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
13224 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13225 # uniformly replaced by the line number. The first 'sed' inserts a
13226 # line-number line after each line using $LINENO; the second 'sed'
13227 # does the real work. The second script uses 'N' to pair each
13228 # line-number line with the line containing $LINENO, and appends
13229 # trailing '-' during substitution so that $LINENO is not a special
13230 # case at line end.
13231 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13232 # scripts with optimization help from Paolo Bonzini. Blame Lee
13233 # E. McMahon (1931-1989) for sed's syntax. :-)
13245 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13248 ' >$as_me.lineno
&&
13249 chmod +x
"$as_me.lineno" ||
13250 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13251 { (exit 1); exit 1; }; }
13253 # Don't try to exec as it changes $[0], causing all sort of problems
13254 # (the dirname of $[0] is not the place where we might find the
13255 # original and so on. Autoconf is especially sensitive to this).
13256 .
"./$as_me.lineno"
13257 # Exit status is that of the last command.
13262 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13268 ECHO_C
= ECHO_N
= ECHO_T
=
13269 case `echo -n x` in
13271 case `echo 'x\c'` in
13272 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13279 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13280 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13286 rm -f conf$$ conf$$.exe conf$$.
file
13287 if test -d conf$$.dir
; then
13288 rm -f conf$$.dir
/conf$$.
file
13294 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13296 # ... but there are two gotchas:
13297 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13298 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13299 # In both cases, we have to default to `cp -p'.
13300 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13302 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13307 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13308 rmdir conf$$.dir
2>/dev
/null
13310 if mkdir
-p .
2>/dev
/null
; then
13313 test -d .
/-p && rmdir .
/-p
13317 if test -x / >/dev
/null
2>&1; then
13318 as_test_x
='test -x'
13320 if ls -dL / >/dev
/null
2>&1; then
13327 if test -d "$1"; then
13333 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13334 ???[sx]*):;;*)false;;esac;fi
13338 as_executable_p
=$as_test_x
13340 # Sed expression to map a string onto a valid CPP name.
13341 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13343 # Sed expression to map a string onto a valid variable name.
13344 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13349 # Save the log message, to keep $[0] and so on meaningful, and to
13350 # report actual input values of CONFIG_FILES etc. instead of their
13351 # values after options handling.
13353 This file was extended by $as_me, which was
13354 generated by GNU Autoconf 2.61. Invocation command line was
13356 CONFIG_FILES = $CONFIG_FILES
13357 CONFIG_HEADERS = $CONFIG_HEADERS
13358 CONFIG_LINKS = $CONFIG_LINKS
13359 CONFIG_COMMANDS = $CONFIG_COMMANDS
13362 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13367 cat >>$CONFIG_STATUS <<_ACEOF
13368 # Files that config.status was made for.
13369 config_files="$ac_config_files"
13370 config_headers="$ac_config_headers"
13371 config_commands="$ac_config_commands"
13375 cat >>$CONFIG_STATUS <<\_ACEOF
13377 \`$as_me' instantiates files from templates according to the
13378 current configuration.
13380 Usage: $0 [OPTIONS] [FILE]...
13382 -h, --help print this help, then exit
13383 -V, --version print version number and configuration settings, then exit
13384 -q, --quiet do not print progress messages
13385 -d, --debug don't remove temporary files
13386 --recheck update $as_me by reconfiguring in the same conditions
13387 --file=FILE[:TEMPLATE]
13388 instantiate the configuration file FILE
13389 --header=FILE[:TEMPLATE]
13390 instantiate the configuration header FILE
13392 Configuration files:
13395 Configuration headers:
13398 Configuration commands:
13401 Report bugs to <bug-autoconf@gnu.org>."
13404 cat >>$CONFIG_STATUS <<_ACEOF
13407 configured by $0, generated by GNU Autoconf 2.61,
13408 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13410 Copyright (C) 2006 Free Software Foundation, Inc.
13411 This config.status script is free software; the Free Software Foundation
13412 gives unlimited permission to copy, distribute and modify it."
13418 cat >>$CONFIG_STATUS <<\_ACEOF
13419 # If no file are specified by the user, then we need to provide default
13420 # value. By we need to know if files were specified by the user.
13426 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13427 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13438 # Handling of the options.
13439 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13441 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13442 echo "$ac_cs_version"; exit ;;
13443 --debug |
--debu |
--deb |
--de |
--d |
-d )
13445 --file |
--fil |
--fi |
--f )
13447 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
13448 ac_need_defaults
=false
;;
13449 --header |
--heade |
--head |
--hea )
13451 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
13452 ac_need_defaults
=false
;;
13454 # Conflict between --help and --header
13455 { echo "$as_me: error: ambiguous option: $1
13456 Try \`$0 --help' for more information." >&2
13457 { (exit 1); exit 1; }; };;
13458 --help |
--hel |
-h )
13459 echo "$ac_cs_usage"; exit ;;
13460 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13461 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13464 # This is an error.
13465 -*) { echo "$as_me: error: unrecognized option: $1
13466 Try \`$0 --help' for more information." >&2
13467 { (exit 1); exit 1; }; } ;;
13469 *) ac_config_targets
="$ac_config_targets $1"
13470 ac_need_defaults
=false
;;
13476 ac_configure_extra_args
=
13478 if $ac_cs_silent; then
13480 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13484 cat >>$CONFIG_STATUS <<_ACEOF
13485 if \$ac_cs_recheck; then
13486 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13487 CONFIG_SHELL=$SHELL
13488 export CONFIG_SHELL
13489 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13493 cat >>$CONFIG_STATUS <<\_ACEOF
13497 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13498 ## Running $as_me. ##
13504 cat >>$CONFIG_STATUS <<_ACEOF
13509 aros_host_exe_suffix=${aros_host_exe_suffix}
13510 aros_tools_dir=${aros_tools_dir}
13511 aros_target_cpu=${aros_target_cpu}
13512 aros_target_arch=${aros_target_arch}
13513 aros_target_suffix=${aros_target_suffix}
13514 aros_target_nm_ln=${aros_target_nm_ln}
13515 aros_target_as_ln=${aros_target_as_ln}
13516 aros_target_ar_ln=${aros_target_ar_ln}
13517 aros_target_ranlib_ln=${aros_target_ranlib_ln}
13518 aros_target_objdump_ln=${aros_target_objdump_ln}
13519 aros_target_objcopy_ln=${aros_target_objcopy_ln}
13520 aros_target_strip_ln=${aros_target_strip_ln}
13523 aros_scripts_dir=${aros_scripts_dir}
13525 aros_tools_dir=${aros_tools_dir}
13530 cat >>$CONFIG_STATUS <<\_ACEOF
13532 # Handling of arguments.
13533 for ac_config_target
in $ac_config_targets
13535 case $ac_config_target in
13536 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
13537 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
13538 "genshared_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genshared_executable" ;;
13539 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
13540 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13541 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
13542 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
13543 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
13544 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
13545 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
13546 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
13547 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
13548 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
13549 "${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" ;;
13550 "${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" ;;
13551 "${aros_scripts_dir}/genshared") CONFIG_FILES
="$CONFIG_FILES ${aros_scripts_dir}/genshared:compiler/c_lib/source/lib_source/genshared.in" ;;
13552 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
13553 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
13555 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13556 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13557 { (exit 1); exit 1; }; };;
13562 # If the user did not use the arguments to specify the items to instantiate,
13563 # then the envvar interface is used. Set only those that are not.
13564 # We use the long form for the default assignment because of an extremely
13565 # bizarre bug on SunOS 4.1.3.
13566 if $ac_need_defaults; then
13567 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13568 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13569 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13572 # Have a temporary directory for convenience. Make it in the build tree
13573 # simply because there is no reason against having it here, and in addition,
13574 # creating and moving files from /tmp can sometimes cause problems.
13575 # Hook for its removal unless debugging.
13576 # Note that there is a small window in which the directory will not be cleaned:
13577 # after its creation but before its name has been assigned to `$tmp'.
13581 trap 'exit_status=$?
13582 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13584 trap '{ (exit 1); exit 1; }' 1 2 13 15
13586 # Create a (secure) tmp directory for tmp files.
13589 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13590 test -n "$tmp" && test -d "$tmp"
13593 tmp
=.
/conf$$
-$RANDOM
13594 (umask 077 && mkdir
"$tmp")
13597 echo "$me: cannot create a temporary directory in ." >&2
13598 { (exit 1); exit 1; }
13602 # Set up the sed scripts for CONFIG_FILES section.
13605 # No need to generate the scripts if there are no CONFIG_FILES.
13606 # This happens for instance when ./config.status config.h
13607 if test -n "$CONFIG_FILES"; then
13614 for ac_last_try
in false false false false false
:; do
13615 cat >conf$
$subs.
sed <<_ACEOF
13616 SHELL!$SHELL$ac_delim
13617 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
13618 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
13619 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
13620 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
13621 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
13622 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
13623 exec_prefix!$exec_prefix$ac_delim
13624 prefix!$prefix$ac_delim
13625 program_transform_name!$program_transform_name$ac_delim
13626 bindir!$bindir$ac_delim
13627 sbindir!$sbindir$ac_delim
13628 libexecdir!$libexecdir$ac_delim
13629 datarootdir!$datarootdir$ac_delim
13630 datadir!$datadir$ac_delim
13631 sysconfdir!$sysconfdir$ac_delim
13632 sharedstatedir!$sharedstatedir$ac_delim
13633 localstatedir!$localstatedir$ac_delim
13634 includedir!$includedir$ac_delim
13635 oldincludedir!$oldincludedir$ac_delim
13636 docdir!$docdir$ac_delim
13637 infodir!$infodir$ac_delim
13638 htmldir!$htmldir$ac_delim
13639 dvidir!$dvidir$ac_delim
13640 pdfdir!$pdfdir$ac_delim
13641 psdir!$psdir$ac_delim
13642 libdir!$libdir$ac_delim
13643 localedir!$localedir$ac_delim
13644 mandir!$mandir$ac_delim
13645 DEFS!$DEFS$ac_delim
13646 ECHO_C!$ECHO_C$ac_delim
13647 ECHO_N!$ECHO_N$ac_delim
13648 ECHO_T!$ECHO_T$ac_delim
13649 LIBS!$LIBS$ac_delim
13650 build_alias!$build_alias$ac_delim
13651 host_alias!$host_alias$ac_delim
13652 target_alias!$target_alias$ac_delim
13653 build!$build$ac_delim
13654 build_cpu!$build_cpu$ac_delim
13655 build_vendor!$build_vendor$ac_delim
13656 build_os!$build_os$ac_delim
13657 host!$host$ac_delim
13658 host_cpu!$host_cpu$ac_delim
13659 host_vendor!$host_vendor$ac_delim
13660 host_os!$host_os$ac_delim
13662 CFLAGS!$CFLAGS$ac_delim
13663 LDFLAGS!$LDFLAGS$ac_delim
13664 CPPFLAGS!$CPPFLAGS$ac_delim
13665 ac_ct_CC!$ac_ct_CC$ac_delim
13666 EXEEXT!$EXEEXT$ac_delim
13667 OBJEXT!$OBJEXT$ac_delim
13670 MMAKE!$MMAKE$ac_delim
13671 aros_host_ld!$aros_host_ld$ac_delim
13672 aros_host_aclocal!$aros_host_aclocal$ac_delim
13673 aros_host_autoconf!$aros_host_autoconf$ac_delim
13674 aros_host_autoheader!$aros_host_autoheader$ac_delim
13675 aros_host_automake!$aros_host_automake$ac_delim
13676 aros_host_ar!$aros_host_ar$ac_delim
13677 aros_host_ranlib!$aros_host_ranlib$ac_delim
13678 aros_host_strip!$aros_host_strip$ac_delim
13682 ECHO!$ECHO$ac_delim
13683 MKDIR!$MKDIR$ac_delim
13684 TOUCH!$TOUCH$ac_delim
13685 SORT!$SORT$ac_delim
13686 UNIQ!$UNIQ$ac_delim
13689 BISON!$BISON$ac_delim
13690 FLEX!$FLEX$ac_delim
13691 PNGTOPNM!$PNGTOPNM$ac_delim
13692 PPMTOILBM!$PPMTOILBM$ac_delim
13694 CHMOD!$CHMOD$ac_delim
13695 PYTHON!$PYTHON$ac_delim
13696 PYTHON_VERSION!$PYTHON_VERSION$ac_delim
13697 PYTHON_PREFIX!$PYTHON_PREFIX$ac_delim
13698 PYTHON_EXEC_PREFIX!$PYTHON_EXEC_PREFIX$ac_delim
13699 PYTHON_PLATFORM!$PYTHON_PLATFORM$ac_delim
13700 pythondir!$pythondir$ac_delim
13701 pkgpythondir!$pkgpythondir$ac_delim
13702 pyexecdir!$pyexecdir$ac_delim
13703 pkgpyexecdir!$pkgpyexecdir$ac_delim
13706 TEST!$TEST$ac_delim
13708 GREP!$GREP$ac_delim
13709 EGREP!$EGREP$ac_delim
13710 LIBOBJS!$LIBOBJS$ac_delim
13711 DISTCC!$DISTCC$ac_delim
13712 CCACHE!$CCACHE$ac_delim
13715 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
13717 elif $ac_last_try; then
13718 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13719 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13720 { (exit 1); exit 1; }; }
13722 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
13726 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13727 if test -n "$ac_eof"; then
13728 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
13729 ac_eof
=`expr $ac_eof + 1`
13732 cat >>$CONFIG_STATUS <<_ACEOF
13733 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
13734 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13737 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13738 s/^/s,@/; s/!/@,|#_!!_#|/
13741 s/'"$ac_delim"'$/,g/; t
13743 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13744 ' >>$CONFIG_STATUS <conf$
$subs.
sed
13745 rm -f conf$
$subs.
sed
13746 cat >>$CONFIG_STATUS <<_ACEOF
13752 for ac_last_try
in false false false false false
:; do
13753 cat >conf$
$subs.
sed <<_ACEOF
13754 aros_target_cc!$aros_target_cc$ac_delim
13755 aros_target_ld!$aros_target_ld$ac_delim
13756 aros_target_as_ln!$aros_target_as_ln$ac_delim
13757 aros_kernel_ld!$aros_kernel_ld$ac_delim
13758 aros_target_ar_ln!$aros_target_ar_ln$ac_delim
13759 aros_target_nm_ln!$aros_target_nm_ln$ac_delim
13760 aros_target_objcopy_ln!$aros_target_objcopy_ln$ac_delim
13761 aros_target_objdump_ln!$aros_target_objdump_ln$ac_delim
13762 aros_target_ranlib_ln!$aros_target_ranlib_ln$ac_delim
13763 aros_target_strip_ln!$aros_target_strip_ln$ac_delim
13764 aros_target_cxx!$aros_target_cxx$ac_delim
13765 aros_kernel_rescomp!$aros_kernel_rescomp$ac_delim
13766 aros_target_nostdinc_cflags!$aros_target_nostdinc_cflags$ac_delim
13767 aros_target_nostartup_ldflags!$aros_target_nostartup_ldflags$ac_delim
13768 aros_target_nix_ldflags!$aros_target_nix_ldflags$ac_delim
13769 aros_target_detach_ldflags!$aros_target_detach_ldflags$ac_delim
13770 aros_target_nostdlib_ldflags!$aros_target_nostdlib_ldflags$ac_delim
13771 host_cflags_iquote!$host_cflags_iquote$ac_delim
13772 host_cflags_iquote_end!$host_cflags_iquote_end$ac_delim
13773 kernel_cflags_iquote!$kernel_cflags_iquote$ac_delim
13774 kernel_cflags_iquote_end!$kernel_cflags_iquote_end$ac_delim
13775 aros_cflags_iquote!$aros_cflags_iquote$ac_delim
13776 aros_cflags_iquote_end!$aros_cflags_iquote_end$ac_delim
13777 XMKMF!$XMKMF$ac_delim
13778 SDL_CONFIG!$SDL_CONFIG$ac_delim
13779 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
13780 SDL_LIBS!$SDL_LIBS$ac_delim
13781 aros_arch!$aros_arch$ac_delim
13782 aros_cpu!$aros_cpu$ac_delim
13783 aros_flavour!$aros_flavour$ac_delim
13784 aros_flavour_uc!$aros_flavour_uc$ac_delim
13785 AROS_BUILDDIR!$AROS_BUILDDIR$ac_delim
13786 AROS_BUILDDIR_UNIX!$AROS_BUILDDIR_UNIX$ac_delim
13787 SRCDIR!$SRCDIR$ac_delim
13788 AROS_PORTSSRCDIR!$AROS_PORTSSRCDIR$ac_delim
13789 aros_cc_pre!$aros_cc_pre$ac_delim
13790 aros_host_arch!$aros_host_arch$ac_delim
13791 aros_host_cpu!$aros_host_cpu$ac_delim
13792 aros_host_cc!$aros_host_cc$ac_delim
13793 aros_host_make!$aros_host_make$ac_delim
13794 aros_host_cflags!$aros_host_cflags$ac_delim
13795 aros_host_ldflags!$aros_host_ldflags$ac_delim
13796 aros_host_debug!$aros_host_debug$ac_delim
13797 aros_host_mkdep!$aros_host_mkdep$ac_delim
13798 aros_host_mkargs!$aros_host_mkargs$ac_delim
13799 aros_host_exe_suffix!$aros_host_exe_suffix$ac_delim
13800 aros_host_lib_suffix!$aros_host_lib_suffix$ac_delim
13801 aros_tools_dir!$aros_tools_dir$ac_delim
13802 aros_target_guitheme!$aros_target_guitheme$ac_delim
13803 aros_target_iconset!$aros_target_iconset$ac_delim
13804 aros_target_bootloader!$aros_target_bootloader$ac_delim
13805 aros_target_arch!$aros_target_arch$ac_delim
13806 aros_target_family!$aros_target_family$ac_delim
13807 aros_target_cpu!$aros_target_cpu$ac_delim
13808 aros_target_variant!$aros_target_variant$ac_delim
13809 aros_target_suffix!$aros_target_suffix$ac_delim
13810 aros_target_incl!$aros_target_incl$ac_delim
13811 aros_target_ar!$aros_target_ar$ac_delim
13812 aros_target_ranlib!$aros_target_ranlib$ac_delim
13813 aros_kernel_nm!$aros_kernel_nm$ac_delim
13814 orig_target_cc!$orig_target_cc$ac_delim
13815 aros_kernel_cc!$aros_kernel_cc$ac_delim
13816 aros_target_as!$aros_target_as$ac_delim
13817 orig_target_ld!$orig_target_ld$ac_delim
13818 aros_target_cc_includes!$aros_target_cc_includes$ac_delim
13819 aros_target_cc_path!$aros_target_cc_path$ac_delim
13820 aros_target_objdump!$aros_target_objdump$ac_delim
13821 aros_target_objcopy!$aros_target_objcopy$ac_delim
13822 aros_target_strip!$aros_target_strip$ac_delim
13823 aros_target_nm!$aros_target_nm$ac_delim
13824 aros_shared_default!$aros_shared_default$ac_delim
13825 aros_shared_ld!$aros_shared_ld$ac_delim
13826 aros_object_format!$aros_object_format$ac_delim
13827 aros_compiler_libs!$aros_compiler_libs$ac_delim
13828 aros_arch_libs!$aros_arch_libs$ac_delim
13829 aros_config_cflags!$aros_config_cflags$ac_delim
13830 aros_config_aflags!$aros_config_aflags$ac_delim
13831 aros_config_ldflags!$aros_config_ldflags$ac_delim
13832 aros_shared_cflags!$aros_shared_cflags$ac_delim
13833 aros_shared_aflags!$aros_shared_aflags$ac_delim
13834 aros_shared_ldflags!$aros_shared_ldflags$ac_delim
13835 aros_kernel_cflags!$aros_kernel_cflags$ac_delim
13836 aros_kernel_includes!$aros_kernel_includes$ac_delim
13837 aros_kernel_objcflags!$aros_kernel_objcflags$ac_delim
13838 aros_kernel_ldflags!$aros_kernel_ldflags$ac_delim
13839 aros_debug_cflags!$aros_debug_cflags$ac_delim
13840 aros_debug_aflags!$aros_debug_aflags$ac_delim
13841 aros_debug_ldflags!$aros_debug_ldflags$ac_delim
13842 aros_paranoia_cflags!$aros_paranoia_cflags$ac_delim
13843 aros_target_genmap!$aros_target_genmap$ac_delim
13844 aros_target_strip_flags!$aros_target_strip_flags$ac_delim
13845 crosstools_target!$crosstools_target$ac_delim
13846 x11_hidd_target!$x11_hidd_target$ac_delim
13847 sdl_hidd_target!$sdl_hidd_target$ac_delim
13848 aros_default_wbwidth!$aros_default_wbwidth$ac_delim
13849 aros_default_wbheight!$aros_default_wbheight$ac_delim
13850 aros_default_wbdepth!$aros_default_wbdepth$ac_delim
13853 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
13855 elif $ac_last_try; then
13856 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13857 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13858 { (exit 1); exit 1; }; }
13860 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
13864 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13865 if test -n "$ac_eof"; then
13866 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
13867 ac_eof
=`expr $ac_eof + 1`
13870 cat >>$CONFIG_STATUS <<_ACEOF
13871 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
13872 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13875 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13876 s/^/s,@/; s/!/@,|#_!!_#|/
13879 s/'"$ac_delim"'$/,g/; t
13881 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13882 ' >>$CONFIG_STATUS <conf$
$subs.
sed
13883 rm -f conf$
$subs.
sed
13884 cat >>$CONFIG_STATUS <<_ACEOF
13890 for ac_last_try
in false false false false false
:; do
13891 cat >conf$
$subs.
sed <<_ACEOF
13892 DO_XSHM_SUPPORT!$DO_XSHM_SUPPORT$ac_delim
13893 DO_VIDMODE_SUPPORT!$DO_VIDMODE_SUPPORT$ac_delim
13894 aros_host_x11_includes!$aros_host_x11_includes$ac_delim
13895 aros_host_x11_libdirs!$aros_host_x11_libdirs$ac_delim
13896 aros_host_sdl_cflags!$aros_host_sdl_cflags$ac_delim
13897 aros_host_sdl_libs!$aros_host_sdl_libs$ac_delim
13898 aros_serial_debug!$aros_serial_debug$ac_delim
13899 aros_palm_debug_hack!$aros_palm_debug_hack$ac_delim
13900 aros_nesting_supervisor!$aros_nesting_supervisor$ac_delim
13901 aros_ios_platform!$aros_ios_platform$ac_delim
13902 aros_ios_version!$aros_ios_version$ac_delim
13903 aros_ios_sdk!$aros_ios_sdk$ac_delim
13904 ENABLE_DBUS!$ENABLE_DBUS$ac_delim
13905 DBUS_CFLAGS!$DBUS_CFLAGS$ac_delim
13906 DBUS_LIBFLAGS!$DBUS_LIBFLAGS$ac_delim
13907 KERNEL_DBUS_KOBJ!$KERNEL_DBUS_KOBJ$ac_delim
13908 KERNEL_DBUS_INCLUDES!$KERNEL_DBUS_INCLUDES$ac_delim
13909 ENABLE_X11!$ENABLE_X11$ac_delim
13910 aros_debug!$aros_debug$ac_delim
13911 aros_mungwall_debug!$aros_mungwall_debug$ac_delim
13912 aros_stack_debug!$aros_stack_debug$ac_delim
13913 aros_modules_debug!$aros_modules_debug$ac_delim
13914 ignore_undefined_symbols!$ignore_undefined_symbols$ac_delim
13915 gcc_target_cpu!$gcc_target_cpu$ac_delim
13916 LTLIBOBJS!$LTLIBOBJS$ac_delim
13919 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 25; then
13921 elif $ac_last_try; then
13922 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13923 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13924 { (exit 1); exit 1; }; }
13926 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
13930 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13931 if test -n "$ac_eof"; then
13932 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
13933 ac_eof
=`expr $ac_eof + 1`
13936 cat >>$CONFIG_STATUS <<_ACEOF
13937 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
13938 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
13941 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13942 s/^/s,@/; s/!/@,|#_!!_#|/
13945 s/'"$ac_delim"'$/,g/; t
13947 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13948 ' >>$CONFIG_STATUS <conf$
$subs.
sed
13949 rm -f conf$
$subs.
sed
13950 cat >>$CONFIG_STATUS <<_ACEOF
13957 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13958 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13959 # trailing colons and then remove the whole line if VPATH becomes empty
13960 # (actually we leave an empty line to preserve line numbers).
13961 if test "x$srcdir" = x.
; then
13962 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
13963 s/:*\$(srcdir):*/:/
13964 s/:*\${srcdir}:*/:/
13966 s/^\([^=]*=[ ]*\):*/\1/
13972 cat >>$CONFIG_STATUS <<\_ACEOF
13973 fi # test -n "$CONFIG_FILES"
13976 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
13979 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13981 case $ac_mode$ac_tag in
13983 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
13984 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
13985 { (exit 1); exit 1; }; };;
13986 :[FH
]-) ac_tag
=-:-;;
13987 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
14004 -) ac_f
="$tmp/stdin";;
14005 *) # Look for the file first in the build tree, then in the source tree
14006 # (if the path is not absolute). The absolute path cannot be DOS-style,
14007 # because $ac_f cannot contain `:'.
14011 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
14013 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
14014 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
14015 { (exit 1); exit 1; }; };;
14017 ac_file_inputs
="$ac_file_inputs $ac_f"
14020 # Let's still pretend it is `configure' which instantiates (i.e., don't
14021 # use $as_me), people would be surprised to read:
14022 # /* config.h. Generated by config.status. */
14023 configure_input
="Generated from "`IFS=:
14024 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
14025 if test x
"$ac_file" != x-
; then
14026 configure_input
="$ac_file. $configure_input"
14027 { echo "$as_me:$LINENO: creating $ac_file" >&5
14028 echo "$as_me: creating $ac_file" >&6;}
14032 *:-:* |
*:-) cat >"$tmp/stdin";;
14037 ac_dir
=`$as_dirname -- "$ac_file" ||
14038 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14039 X"$ac_file" : 'X\(//\)[^/]' \| \
14040 X"$ac_file" : 'X\(//\)$' \| \
14041 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14043 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14047 /^X\(\/\/\)[^/].*/{
14062 -*) as_dir
=.
/$as_dir;;
14064 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
14068 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
14069 *) as_qdir
=$as_dir;;
14071 as_dirs
="'$as_qdir' $as_dirs"
14072 as_dir
=`$as_dirname -- "$as_dir" ||
14073 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14074 X"$as_dir" : 'X\(//\)[^/]' \| \
14075 X"$as_dir" : 'X\(//\)$' \| \
14076 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14078 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14082 /^X\(\/\/\)[^/].*/{
14095 test -d "$as_dir" && break
14097 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14098 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14099 echo "$as_me: error: cannot create directory $as_dir" >&2;}
14100 { (exit 1); exit 1; }; }; }
14104 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14106 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14107 # A ".." for each directory in $ac_dir_suffix.
14108 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
14109 case $ac_top_builddir_sub in
14110 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14111 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14114 ac_abs_top_builddir
=$ac_pwd
14115 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14116 # for backward compatibility:
14117 ac_top_builddir
=$ac_top_build_prefix
14120 .
) # We are building in place.
14122 ac_top_srcdir
=$ac_top_builddir_sub
14123 ac_abs_top_srcdir
=$ac_pwd ;;
14124 [\\/]* | ?
:[\\/]* ) # Absolute name.
14125 ac_srcdir
=$srcdir$ac_dir_suffix;
14126 ac_top_srcdir
=$srcdir
14127 ac_abs_top_srcdir
=$srcdir ;;
14128 *) # Relative name.
14129 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14130 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14131 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14133 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14144 cat >>$CONFIG_STATUS <<\_ACEOF
14145 # If the template does not know about datarootdir, expand it.
14146 # FIXME: This hack should be removed a few years after 2.60.
14147 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14149 case `sed -n '/datarootdir/ {
14158 ' $ac_file_inputs` in
14159 *datarootdir
*) ac_datarootdir_seen
=yes;;
14160 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14161 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14162 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14164 cat >>$CONFIG_STATUS <<_ACEOF
14165 ac_datarootdir_hack='
14166 s&@datadir@&$datadir&g
14167 s&@docdir@&$docdir&g
14168 s&@infodir@&$infodir&g
14169 s&@localedir@&$localedir&g
14170 s&@mandir@&$mandir&g
14171 s&\\\${datarootdir}&$datarootdir&g' ;;
14175 # Neutralize VPATH when `$srcdir' = `.'.
14176 # Shell code in configure.ac might set extrasub.
14177 # FIXME: do we really want to maintain this feature?
14178 cat >>$CONFIG_STATUS <<_ACEOF
14182 cat >>$CONFIG_STATUS <<\_ACEOF
14184 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14185 s
&@configure_input@
&$configure_input&;t t
14186 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14187 s
&@srcdir@
&$ac_srcdir&;t t
14188 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14189 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14190 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14191 s
&@builddir@
&$ac_builddir&;t t
14192 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14193 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14194 $ac_datarootdir_hack
14195 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" | sed -f "$tmp/subs-3.
sed" >$tmp/out
14197 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14198 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
14199 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
14200 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14201 which seems to be undefined. Please make sure it is defined." >&5
14202 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14203 which seems to be undefined. Please make sure it is defined." >&2;}
14207 -) cat "$tmp/out"; rm -f "$tmp/out";;
14208 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
14217 # Transform confdefs.h into a sed script `conftest.defines', that
14218 # substitutes the proper values into config.h.in to produce config.h.
14219 rm -f conftest.defines conftest.
tail
14220 # First, append a space to every undef/define line, to ease matching.
14221 echo 's/$/ /' >conftest.defines
14222 # Then, protect against being on the right side of a sed subst, or in
14223 # an unquoted here document, in config.status. If some macros were
14224 # called several times there might be several #defines for the same
14225 # symbol, which is useless. But do not sort them, since the last
14226 # AC_DEFINE must be honored.
14227 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
14228 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
14229 # NAME is the cpp macro being defined, VALUE is the value it is being given.
14230 # PARAMS is the parameter list in the macro definition--in most cases, it's
14231 # just an empty string.
14232 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
14233 ac_dB
='\\)[ (].*,\\1define\\2'
14241 s/^[ ]*#[ ]*define[ ][ ]*//
14246 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
14247 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
14248 ' >>conftest.defines
14250 # Remove the space that was appended to ease matching.
14251 # Then replace #undef with comments. This is necessary, for
14252 # example, in the case of _POSIX_SOURCE, which is predefined and required
14253 # on some systems where configure will not decide to define it.
14254 # (The regexp can be short, since the line contains either #define or #undef.)
14256 s,^[ #]*u.*,/* & */,' >>conftest.defines
14258 # Break up conftest.defines:
14259 ac_max_sed_lines
=50
14261 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
14262 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
14263 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
14265 ac_in
='$ac_file_inputs'
14266 ac_out
='"$tmp/out1"'
14267 ac_nxt
='"$tmp/out2"'
14271 # Write a here document:
14272 cat >>$CONFIG_STATUS <<_ACEOF
14273 # First, check the format of the line:
14274 cat >"\$tmp/defines.sed" <<\\CEOF
14275 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
14276 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
14280 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
14282 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
14283 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
14284 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
14285 grep . conftest.
tail >/dev
/null ||
break
14286 rm -f conftest.defines
14287 mv conftest.
tail conftest.defines
14289 rm -f conftest.defines conftest.
tail
14291 echo "ac_result=$ac_in" >>$CONFIG_STATUS
14292 cat >>$CONFIG_STATUS <<\_ACEOF
14293 if test x
"$ac_file" != x-
; then
14294 echo "/* $configure_input */" >"$tmp/config.h"
14295 cat "$ac_result" >>"$tmp/config.h"
14296 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
14297 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14298 echo "$as_me: $ac_file is unchanged" >&6;}
14301 mv "$tmp/config.h" $ac_file
14304 echo "/* $configure_input */"
14310 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
14311 echo "$as_me: executing $ac_file commands" >&6;}
14316 case $ac_file$ac_mode in
14317 "compiler_executable":C
)
14318 prefix
=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
14320 prefix
="${prefix}/${aros_target_cpu}-aros"
14321 prefix2
=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
14325 chmod a
+x
${prefix2}-gcc ${prefix2}-ld
14327 ln -sf ${prefix2}-gcc ${prefix}-gcc
14328 ln -sf ${prefix2}-ld ${prefix}-ld
14330 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix}-as
14331 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix}-nm
14332 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix}-ar
14333 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix}-ranlib
14334 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix}-objcopy
14335 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix}-objdump
14336 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix}-strip
14338 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix2}-as
14339 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix2}-nm
14340 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix2}-ar
14341 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix2}-ranlib
14342 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix2}-objcopy
14343 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix2}-objdump
14344 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix2}-strip
14346 "genshared_executable":C
) chmod a
+x
${aros_scripts_dir}/genshared
;;
14347 "genmf_executable":C
) chmod a
+x
${aros_tools_dir}/genmf.py
;;
14353 { (exit 0); exit 0; }
14355 chmod +x
$CONFIG_STATUS
14356 ac_clean_files
=$ac_clean_files_save
14359 # configure is writing to config.log, and then calls config.status.
14360 # config.status does its own redirection, appending to config.log.
14361 # Unfortunately, on DOS this fails, as config.log is still kept open
14362 # by configure, so config.status won't be able to write to it; its
14363 # output is simply discarded. So we exec the FD to /dev/null,
14364 # effectively closing config.log, so it can be properly (re)opened and
14365 # appended to by config.status. When coming back to configure, we
14366 # need to make the FD available again.
14367 if test "$no_create" != yes; then
14369 ac_config_status_args
=
14370 test "$silent" = yes &&
14371 ac_config_status_args
="$ac_config_status_args --quiet"
14373 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14375 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14376 # would make configure fail if this is the last instruction.
14377 $ac_cs_success ||
{ (exit 1); exit 1; }
14382 #XXX compatability...
14383 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
14385 if test -n "$aros_shared_cflags" ; then
14386 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
14387 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg