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
776 aros_target_cc_includes
794 aros_kernel_objcflags
801 aros_target_strip_flags
806 aros_default_wbheight
810 aros_host_x11_includes
811 aros_host_x11_libdirs
816 aros_nesting_supervisor
830 ignore_undefined_symbols
834 ac_precious_vars
='build_alias
846 # Initialize some variables set by options.
848 ac_init_version
=false
849 # The variables have the same names as the options, with
850 # dashes changed to underlines.
858 program_transform_name
=s
,x
,x
,
866 # Installation directory options.
867 # These are left unexpanded so users can "make install exec_prefix=/foo"
868 # and all the variables that are supposed to be based on exec_prefix
869 # by default will actually change.
870 # Use braces instead of parens because sh, perl, etc. also accept them.
871 # (The list follows the same order as the GNU Coding Standards.)
872 bindir
='${exec_prefix}/bin'
873 sbindir
='${exec_prefix}/sbin'
874 libexecdir
='${exec_prefix}/libexec'
875 datarootdir
='${prefix}/share'
876 datadir
='${datarootdir}'
877 sysconfdir
='${prefix}/etc'
878 sharedstatedir
='${prefix}/com'
879 localstatedir
='${prefix}/var'
880 includedir
='${prefix}/include'
881 oldincludedir
='/usr/include'
882 docdir
='${datarootdir}/doc/${PACKAGE}'
883 infodir
='${datarootdir}/info'
888 libdir
='${exec_prefix}/lib'
889 localedir
='${datarootdir}/locale'
890 mandir
='${datarootdir}/man'
896 # If the previous option needs an argument, assign it.
897 if test -n "$ac_prev"; then
898 eval $ac_prev=\
$ac_option
904 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
908 # Accept the important Cygnus configure options, so we can diagnose typos.
910 case $ac_dashdash$ac_option in
914 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
916 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
919 -build |
--build |
--buil |
--bui |
--bu)
920 ac_prev
=build_alias
;;
921 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
922 build_alias
=$ac_optarg ;;
924 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
925 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
926 ac_prev
=cache_file
;;
927 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
928 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
929 cache_file
=$ac_optarg ;;
932 cache_file
=config.cache
;;
934 -datadir |
--datadir |
--datadi |
--datad)
936 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
937 datadir
=$ac_optarg ;;
939 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
940 |
--dataroo |
--dataro |
--datar)
941 ac_prev
=datarootdir
;;
942 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
943 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
944 datarootdir
=$ac_optarg ;;
946 -disable-* |
--disable-*)
947 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
948 # Reject names that are not valid shell variable names.
949 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
950 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
951 { (exit 1); exit 1; }; }
952 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
953 eval enable_
$ac_feature=no
;;
955 -docdir |
--docdir |
--docdi |
--doc |
--do)
957 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
960 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
962 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
965 -enable-* |
--enable-*)
966 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
967 # Reject names that are not valid shell variable names.
968 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
969 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
970 { (exit 1); exit 1; }; }
971 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
972 eval enable_
$ac_feature=\
$ac_optarg ;;
974 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
975 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
976 |
--exec |
--exe |
--ex)
977 ac_prev
=exec_prefix
;;
978 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
979 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
980 |
--exec=* |
--exe=* |
--ex=*)
981 exec_prefix
=$ac_optarg ;;
983 -gas |
--gas |
--ga |
--g)
984 # Obsolete; use --with-gas.
987 -help |
--help |
--hel |
--he |
-h)
989 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
990 ac_init_help
=recursive
;;
991 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
992 ac_init_help
=short
;;
994 -host |
--host |
--hos |
--ho)
995 ac_prev
=host_alias
;;
996 -host=* |
--host=* |
--hos=* |
--ho=*)
997 host_alias
=$ac_optarg ;;
999 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1001 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1003 htmldir
=$ac_optarg ;;
1005 -includedir |
--includedir |
--includedi |
--included |
--include \
1006 |
--includ |
--inclu |
--incl |
--inc)
1007 ac_prev
=includedir
;;
1008 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1009 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1010 includedir
=$ac_optarg ;;
1012 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1014 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1015 infodir
=$ac_optarg ;;
1017 -libdir |
--libdir |
--libdi |
--libd)
1019 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1020 libdir
=$ac_optarg ;;
1022 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1023 |
--libexe |
--libex |
--libe)
1024 ac_prev
=libexecdir
;;
1025 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1026 |
--libexe=* |
--libex=* |
--libe=*)
1027 libexecdir
=$ac_optarg ;;
1029 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1030 ac_prev
=localedir
;;
1031 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1032 localedir
=$ac_optarg ;;
1034 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1035 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1036 ac_prev
=localstatedir
;;
1037 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1038 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1039 localstatedir
=$ac_optarg ;;
1041 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1043 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1044 mandir
=$ac_optarg ;;
1046 -nfp |
--nfp |
--nf)
1047 # Obsolete; use --without-fp.
1050 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1051 |
--no-cr |
--no-c |
-n)
1054 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1055 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1058 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1059 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1060 |
--oldin |
--oldi |
--old |
--ol |
--o)
1061 ac_prev
=oldincludedir
;;
1062 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1063 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1064 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1065 oldincludedir
=$ac_optarg ;;
1067 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1069 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1070 prefix
=$ac_optarg ;;
1072 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1073 |
--program-pre |
--program-pr |
--program-p)
1074 ac_prev
=program_prefix
;;
1075 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1076 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1077 program_prefix
=$ac_optarg ;;
1079 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1080 |
--program-suf |
--program-su |
--program-s)
1081 ac_prev
=program_suffix
;;
1082 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1083 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1084 program_suffix
=$ac_optarg ;;
1086 -program-transform-name |
--program-transform-name \
1087 |
--program-transform-nam |
--program-transform-na \
1088 |
--program-transform-n |
--program-transform- \
1089 |
--program-transform |
--program-transfor \
1090 |
--program-transfo |
--program-transf \
1091 |
--program-trans |
--program-tran \
1092 |
--progr-tra |
--program-tr |
--program-t)
1093 ac_prev
=program_transform_name
;;
1094 -program-transform-name=* |
--program-transform-name=* \
1095 |
--program-transform-nam=* |
--program-transform-na=* \
1096 |
--program-transform-n=* |
--program-transform-=* \
1097 |
--program-transform=* |
--program-transfor=* \
1098 |
--program-transfo=* |
--program-transf=* \
1099 |
--program-trans=* |
--program-tran=* \
1100 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1101 program_transform_name
=$ac_optarg ;;
1103 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1105 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1106 pdfdir
=$ac_optarg ;;
1108 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1110 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1113 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1114 |
-silent |
--silent |
--silen |
--sile |
--sil)
1117 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1119 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1121 sbindir
=$ac_optarg ;;
1123 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1124 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1125 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1127 ac_prev
=sharedstatedir
;;
1128 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1129 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1130 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1132 sharedstatedir
=$ac_optarg ;;
1134 -site |
--site |
--sit)
1136 -site=* |
--site=* |
--sit=*)
1139 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1141 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1142 srcdir
=$ac_optarg ;;
1144 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1145 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1146 ac_prev
=sysconfdir
;;
1147 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1148 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1149 sysconfdir
=$ac_optarg ;;
1151 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1152 ac_prev
=target_alias
;;
1153 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1154 target_alias
=$ac_optarg ;;
1156 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1159 -version |
--version |
--versio |
--versi |
--vers |
-V)
1160 ac_init_version
=: ;;
1163 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1164 # Reject names that are not valid shell variable names.
1165 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1166 { echo "$as_me: error: invalid package name: $ac_package" >&2
1167 { (exit 1); exit 1; }; }
1168 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1169 eval with_
$ac_package=\
$ac_optarg ;;
1171 -without-* |
--without-*)
1172 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1173 # Reject names that are not valid shell variable names.
1174 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1175 { echo "$as_me: error: invalid package name: $ac_package" >&2
1176 { (exit 1); exit 1; }; }
1177 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1178 eval with_
$ac_package=no
;;
1181 # Obsolete; use --with-x.
1184 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1185 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1186 ac_prev
=x_includes
;;
1187 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1188 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1189 x_includes
=$ac_optarg ;;
1191 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1192 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1193 ac_prev
=x_libraries
;;
1194 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1195 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1196 x_libraries
=$ac_optarg ;;
1198 -*) { echo "$as_me: error: unrecognized option: $ac_option
1199 Try \`$0 --help' for more information." >&2
1200 { (exit 1); exit 1; }; }
1204 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1205 # Reject names that are not valid shell variable names.
1206 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1207 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1208 { (exit 1); exit 1; }; }
1209 eval $ac_envvar=\
$ac_optarg
1210 export $ac_envvar ;;
1213 # FIXME: should be removed in autoconf 3.0.
1214 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1215 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1216 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1217 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1223 if test -n "$ac_prev"; then
1224 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1225 { echo "$as_me: error: missing argument to $ac_option" >&2
1226 { (exit 1); exit 1; }; }
1229 # Be sure to have absolute directory names.
1230 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1231 datadir sysconfdir sharedstatedir localstatedir includedir \
1232 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1233 libdir localedir mandir
1235 eval ac_val
=\$
$ac_var
1237 [\\/$
]* | ?
:[\\/]* ) continue;;
1238 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1240 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1241 { (exit 1); exit 1; }; }
1244 # There might be people who depend on the old broken behavior: `$host'
1245 # used to hold the argument of --host etc.
1246 # FIXME: To remove some day.
1249 target
=$target_alias
1251 # FIXME: To remove some day.
1252 if test "x$host_alias" != x
; then
1253 if test "x$build_alias" = x
; then
1254 cross_compiling
=maybe
1255 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1256 If a cross compiler is detected then cross compile mode will be used." >&2
1257 elif test "x$build_alias" != "x$host_alias"; then
1263 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1265 test "$silent" = yes && exec 6>/dev
/null
1268 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1269 ac_ls_di
=`ls -di .` &&
1270 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1271 { echo "$as_me: error: Working directory cannot be determined" >&2
1272 { (exit 1); exit 1; }; }
1273 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1274 { echo "$as_me: error: pwd does not report name of working directory" >&2
1275 { (exit 1); exit 1; }; }
1278 # Find the source files, if location was not specified.
1279 if test -z "$srcdir"; then
1280 ac_srcdir_defaulted
=yes
1281 # Try the directory containing this script, then the parent directory.
1282 ac_confdir
=`$as_dirname -- "$0" ||
1283 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1284 X"$0" : 'X\(//\)[^/]' \| \
1285 X"$0" : 'X\(//\)$' \| \
1286 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1288 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1306 if test ! -r "$srcdir/$ac_unique_file"; then
1310 ac_srcdir_defaulted
=no
1312 if test ! -r "$srcdir/$ac_unique_file"; then
1313 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1314 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1315 { (exit 1); exit 1; }; }
1317 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1319 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1320 { (exit 1); exit 1; }; }
1322 # When building in place, set srcdir=.
1323 if test "$ac_abs_confdir" = "$ac_pwd"; then
1326 # Remove unnecessary trailing slashes from srcdir.
1327 # Double slashes in file names in object file debugging info
1328 # mess up M-x gdb in Emacs.
1330 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1332 for ac_var
in $ac_precious_vars; do
1333 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1334 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1335 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1336 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1340 # Report the --help message.
1342 if test "$ac_init_help" = "long"; then
1343 # Omit some internal or obsolete options to make the list less imposing.
1344 # This message is too long to be a string in the A/UX 3.1 sh.
1346 \`configure' configures this package to adapt to many kinds of systems.
1348 Usage: $0 [OPTION]... [VAR=VALUE]...
1350 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1351 VAR=VALUE. See below for descriptions of some of the useful variables.
1353 Defaults for the options are specified in brackets.
1356 -h, --help display this help and exit
1357 --help=short display options specific to this package
1358 --help=recursive display the short help of all the included packages
1359 -V, --version display version information and exit
1360 -q, --quiet, --silent do not print \`checking...' messages
1361 --cache-file=FILE cache test results in FILE [disabled]
1362 -C, --config-cache alias for \`--cache-file=config.cache'
1363 -n, --no-create do not create output files
1364 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1366 Installation directories:
1367 --prefix=PREFIX install architecture-independent files in PREFIX
1368 [$ac_default_prefix]
1369 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1372 By default, \`make install' will install all the files in
1373 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1374 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1375 for instance \`--prefix=\$HOME'.
1377 For better control, use the options below.
1379 Fine tuning of the installation directories:
1380 --bindir=DIR user executables [EPREFIX/bin]
1381 --sbindir=DIR system admin executables [EPREFIX/sbin]
1382 --libexecdir=DIR program executables [EPREFIX/libexec]
1383 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1384 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1385 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1386 --libdir=DIR object code libraries [EPREFIX/lib]
1387 --includedir=DIR C header files [PREFIX/include]
1388 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1389 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1390 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1391 --infodir=DIR info documentation [DATAROOTDIR/info]
1392 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1393 --mandir=DIR man documentation [DATAROOTDIR/man]
1394 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1395 --htmldir=DIR html documentation [DOCDIR]
1396 --dvidir=DIR dvi documentation [DOCDIR]
1397 --pdfdir=DIR pdf documentation [DOCDIR]
1398 --psdir=DIR ps documentation [DOCDIR]
1404 --x-includes=DIR X include files are
in DIR
1405 --x-libraries=DIR X library files are
in DIR
1408 --build=BUILD configure
for building on BUILD
[guessed
]
1409 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1413 if test -n "$ac_init_help"; then
1418 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1419 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1420 --enable-build-type=TYPE
1421 Select the build
type. Available types are
:
1422 personal
, nightly
, snapshot
, milestone
, release. Do
1423 NOT use this option unless you know what you are
1424 doing
! (default
=personal
)
1425 --enable-debug=list Enable different types of debug. Commas or
1426 whitespaces can be used to separate the items
in the
1427 list. Available types of debug are
: all
, none
,
1428 messages
, stack
, mungwall
, modules
, symbols. If no
1429 list is provided
then "all" is assumed.
1431 --enable-crosstools Build cross-compiler toolchains
if necessary
1433 --enable-distcc Use distcc as a front end to the compiler
1435 --enable-ccache Use ccache as a front end to the compiler
1437 --enable-target-variant=NAME
1438 Enable a specific target variant
(default
=none
)
1439 --enable-includes=dir Alternative system include directory
1440 --enable-palm-debug-hack
1441 Enable palm debug output hack
in palm native
1443 --enable-nesting-supervisor
1444 Enable nesting supervisor support
in unix
1446 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1447 --enable-x11-shm use X11 shared memory
(default
=auto
)
1448 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1449 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1450 --disable-sdltest Do not try to compile and run a
test SDL program
1451 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1454 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1455 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1456 --with-gcc-version=VERSION
1457 Use gcc-VERSION
for building AROS
1458 --with-optimization=FLAGS
1459 Use optimization flags FLAGS
(default
=-O2).
1460 --with-paranoia=FLAGS CC flags to
enable paranoia
1461 --with-xcode=PATH Specify XCode path
for iOS targets
1462 (default
=/Developer
).
1463 --with-ios-version=VERSION
1464 Specify minimum supported iOS version
(default
=2.0).
1465 --with-ios-sdk=VERSION Use iOS SDK version VERSION
(default
=4.1).
1466 --with-portssources=DIR Where to download sourcecode
for external ports
1467 --with-bootloader=NAME Use a specific bootloader
1468 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1469 --with-theme=NAME Use a specific GUI Theme
1470 --with-resolution=XRESxYRESxDEPTH
1471 Default resolution of the initial WorkbenchScreen
1472 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1473 --with-x use the X Window System
1474 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1475 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1477 Some influential environment variables
:
1478 CC C compiler
command
1479 CFLAGS C compiler flags
1480 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1481 nonstandard directory
<lib dir
>
1482 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1483 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1484 you have headers
in a nonstandard directory
<include dir
>
1486 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1488 Use these variables to override the choices made by
`configure' or to help
1489 it to find libraries and programs with nonstandard names/locations.
1495 if test "$ac_init_help" = "recursive"; then
1496 # If there are subdirs, report their specific --help.
1497 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1498 test -d "$ac_dir" || continue
1502 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1504 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1505 # A ".." for each directory in $ac_dir_suffix.
1506 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1507 case $ac_top_builddir_sub in
1508 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1509 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1512 ac_abs_top_builddir=$ac_pwd
1513 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1514 # for backward compatibility:
1515 ac_top_builddir=$ac_top_build_prefix
1518 .) # We are building in place.
1520 ac_top_srcdir=$ac_top_builddir_sub
1521 ac_abs_top_srcdir=$ac_pwd ;;
1522 [\\/]* | ?:[\\/]* ) # Absolute name.
1523 ac_srcdir=$srcdir$ac_dir_suffix;
1524 ac_top_srcdir=$srcdir
1525 ac_abs_top_srcdir=$srcdir ;;
1527 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1528 ac_top_srcdir=$ac_top_build_prefix$srcdir
1529 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1531 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1533 cd "$ac_dir" || { ac_status=$?; continue; }
1534 # Check for guested configure.
1535 if test -f "$ac_srcdir/configure.gnu"; then
1537 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1538 elif test -f "$ac_srcdir/configure"; then
1540 $SHELL "$ac_srcdir/configure" --help=recursive
1542 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1544 cd "$ac_pwd" || { ac_status=$?; break; }
1548 test -n "$ac_init_help" && exit $ac_status
1549 if $ac_init_version; then
1552 generated by GNU Autoconf 2.61
1554 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1555 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1556 This configure script is free software; the Free Software Foundation
1557 gives unlimited permission to copy, distribute and modify it.
1561 cat >config.log <<_ACEOF
1562 This file contains any messages produced by compilers while
1563 running configure, to aid debugging if configure makes a mistake.
1565 It was created by $as_me, which was
1566 generated by GNU Autoconf 2.61. Invocation command line was
1578 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1579 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1580 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1581 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1582 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1584 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1585 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1587 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1588 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1589 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1590 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1591 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1592 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1593 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1601 test -z "$as_dir" && as_dir=.
1602 echo "PATH: $as_dir"
1618 # Keep a trace of the command line.
1619 # Strip out --no-create and --no-recursion so they do not pile up.
1620 # Strip out --silent because we don't want to record it for future runs.
1621 # Also quote any args containing shell meta-characters.
1622 # Make two passes to allow for proper duplicate-argument suppression.
1626 ac_must_keep_next=false
1632 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1633 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1634 | -silent | --silent | --silen | --sile | --sil)
1637 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1640 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1642 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1643 if test $ac_must_keep_next = true; then
1644 ac_must_keep_next=false # Got value, back to normal.
1647 *=* | --config-cache | -C | -disable-* | --disable-* \
1648 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1649 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1650 | -with-* | --with-* | -without-* | --without-* | --x)
1651 case "$ac_configure_args0 " in
1652 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1655 -* ) ac_must_keep_next=true ;;
1658 ac_configure_args="$ac_configure_args '$ac_arg'"
1663 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1664 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1666 # When interrupted or exit'd, cleanup temporary files, and complete
1667 # config.log. We remove comments because anyway the quotes in there
1668 # would cause problems or look ugly.
1669 # WARNING: Use '\'' to represent an apostrophe within the trap.
1670 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1671 trap 'exit_status=$?
1672 # Save into config.log some information that might help in debugging.
1677 ## ---------------- ##
1678 ## Cache variables. ##
1679 ## ---------------- ##
1682 # The following way of writing the cache mishandles newlines in values,
1684 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1685 eval ac_val=\$$ac_var
1689 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1690 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1693 _ | IFS | as_nl) ;; #(
1694 *) $as_unset $ac_var ;;
1699 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1700 *${as_nl}ac_space=\ *)
1702 "s/'\''/'\''\\\\'\'''\''/g;
1703 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1706 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1714 ## ----------------- ##
1715 ## Output variables. ##
1716 ## ----------------- ##
1719 for ac_var in $ac_subst_vars
1721 eval ac_val=\$$ac_var
1723 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1725 echo "$ac_var='\''$ac_val'\''"
1729 if test -n "$ac_subst_files"; then
1731 ## ------------------- ##
1732 ## File substitutions. ##
1733 ## ------------------- ##
1736 for ac_var in $ac_subst_files
1738 eval ac_val=\$$ac_var
1740 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1742 echo "$ac_var='\''$ac_val'\''"
1747 if test -s confdefs.h; then
1757 test "$ac_signal" != 0 &&
1758 echo "$as_me: caught signal $ac_signal"
1759 echo "$as_me: exit $exit_status"
1761 rm -f core *.core core.conftest.* &&
1762 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1765 for ac_signal in 1 2 13 15; do
1766 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1770 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1771 rm -f -r conftest* confdefs.h
1773 # Predefined preprocessor variables.
1775 cat >>confdefs.h <<_ACEOF
1776 #define PACKAGE_NAME "$PACKAGE_NAME"
1780 cat >>confdefs.h <<_ACEOF
1781 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1785 cat >>confdefs.h <<_ACEOF
1786 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1790 cat >>confdefs.h <<_ACEOF
1791 #define PACKAGE_STRING "$PACKAGE_STRING"
1795 cat >>confdefs.h <<_ACEOF
1796 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1800 # Let the site file select an alternate cache file if it wants to.
1801 # Prefer explicitly selected file to automatically selected ones.
1802 if test -n "$CONFIG_SITE"; then
1803 set x "$CONFIG_SITE"
1804 elif test "x$prefix" != xNONE; then
1805 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1807 set x "$ac_default_prefix/share/config.site" \
1808 "$ac_default_prefix/etc/config.site"
1813 if test -r "$ac_site_file"; then
1814 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1815 echo "$as_me: loading site script $ac_site_file" >&6;}
1816 sed 's/^/| /' "$ac_site_file" >&5
1821 if test -r "$cache_file"; then
1822 # Some versions of bash will fail to source /dev/null (special
1823 # files actually), so we avoid doing that.
1824 if test -f "$cache_file"; then
1825 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1826 echo "$as_me: loading cache $cache_file" >&6;}
1828 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1829 *) . "./$cache_file";;
1833 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1834 echo "$as_me: creating cache $cache_file" >&6;}
1838 # Check that the precious variables saved in the cache have kept the same
1840 ac_cache_corrupted=false
1841 for ac_var in $ac_precious_vars; do
1842 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1843 eval ac_new_set=\$ac_env_${ac_var}_set
1844 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1845 eval ac_new_val=\$ac_env_${ac_var}_value
1846 case $ac_old_set,$ac_new_set in
1848 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1849 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1850 ac_cache_corrupted=: ;;
1852 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1853 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1854 ac_cache_corrupted=: ;;
1857 if test "x$ac_old_val" != "x$ac_new_val"; then
1858 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1859 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1860 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1861 echo "$as_me: former value
: $ac_old_val" >&2;}
1862 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1863 echo "$as_me: current value
: $ac_new_val" >&2;}
1864 ac_cache_corrupted=:
1867 # Pass precious variables to config.status.
1868 if test "$ac_new_set" = set; then
1870 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1871 *) ac_arg=$ac_var=$ac_new_val ;;
1873 case " $ac_configure_args " in
1874 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1875 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1879 if $ac_cache_corrupted; then
1880 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1881 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1882 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1883 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1884 { (exit 1); exit 1; }; }
1904 ac_cpp='$CPP $CPPFLAGS'
1905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1912 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
1913 if test -f "$ac_dir/install-sh"; then
1915 ac_install_sh="$ac_aux_dir/install-sh -c"
1917 elif test -f "$ac_dir/install.sh"; then
1919 ac_install_sh="$ac_aux_dir/install.sh -c"
1921 elif test -f "$ac_dir/shtool"; then
1923 ac_install_sh="$ac_aux_dir/shtool install -c"
1927 if test -z "$ac_aux_dir"; then
1928 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts/autoconf \"$srcdir\"/scripts/autoconf" >&5
1929 echo "$as_me: error: cannot find install-sh or install.sh in scripts/autoconf \"$srcdir\"/scripts/autoconf" >&2;}
1930 { (exit 1); exit 1; }; }
1933 # These three variables are undocumented and unsupported,
1934 # and are intended to be withdrawn in a future Autoconf release.
1935 # They can cause serious problems if a builder's source tree is in a directory
1936 # whose full name contains unusual characters.
1937 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1938 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1939 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1943 # Check what host we are running on.
1944 # If a target is not suggested, we use this one.
1945 # Note that what we call a target, Autoconf calls a host.
1946 # Make sure we can run config.sub.
1947 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1948 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1949 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1950 { (exit 1); exit 1; }; }
1952 { echo "$as_me:$LINENO: checking build system type" >&5
1953 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1954 if test "${ac_cv_build+set}" = set; then
1955 echo $ECHO_N "(cached) $ECHO_C" >&6
1957 ac_build_alias=$build_alias
1958 test "x$ac_build_alias" = x &&
1959 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1960 test "x$ac_build_alias" = x &&
1961 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1962 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1963 { (exit 1); exit 1; }; }
1964 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1965 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1966 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1967 { (exit 1); exit 1; }; }
1970 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1971 echo "${ECHO_T}$ac_cv_build" >&6; }
1972 case $ac_cv_build in
1974 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1975 echo "$as_me: error: invalid value of canonical build" >&2;}
1976 { (exit 1); exit 1; }; };;
1979 ac_save_IFS=$IFS; IFS='-'
1985 # Remember, the first character of IFS is used to create $*,
1986 # except with old shells:
1989 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
1992 { echo "$as_me:$LINENO: checking host system type" >&5
1993 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1994 if test "${ac_cv_host+set}" = set; then
1995 echo $ECHO_N "(cached) $ECHO_C" >&6
1997 if test "x$host_alias" = x; then
1998 ac_cv_host=$ac_cv_build
2000 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2001 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2002 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2003 { (exit 1); exit 1; }; }
2007 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2008 echo "${ECHO_T}$ac_cv_host" >&6; }
2011 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2012 echo "$as_me: error: invalid value of canonical host" >&2;}
2013 { (exit 1); exit 1; }; };;
2016 ac_save_IFS=$IFS; IFS='-'
2022 # Remember, the first character of IFS is used to create $*,
2023 # except with old shells:
2026 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
2030 # The AROS target is slightly different to the normal GNU style
2031 # format. We don't have the middle part, and we reverse the order
2032 # of the $(CPU) and $(OS) bits.
2034 # Don't strip the version of the target yet, it might be
2035 # useful on some systems.
2037 { echo "$as_me:$LINENO: checking for AROS style target" >&5
2038 echo $ECHO_N "checking for AROS style target... $ECHO_C" >&6; }
2040 if test "$target" = "NONE" ; then
2041 target=$host_os-$host_cpu
2044 if test "$target" = "" ; then
2045 target=$host_os-$host_cpu
2051 { echo "$as_me:$LINENO: result: $target" >&5
2052 echo "${ECHO_T}$target" >&6; }
2054 if test "$host_os" = "mingw32" ; then
2058 #don't know where else to put this...
2059 { echo "$as_me:$LINENO: checking Building AROS in .. " >&5
2060 echo $ECHO_N "checking Building AROS in .. ... $ECHO_C" >&6; }
2061 AROS_BUILDDIR=`${PWDCMD-pwd}`
2062 AROS_BUILDDIR_UNIX=${PWD}
2063 { echo "$as_me:$LINENO: result: $AROS_BUILDDIR" >&5
2064 echo "${ECHO_T}$AROS_BUILDDIR" >&6; }
2066 { echo "$as_me:$LINENO: checking AROS Source in .. " >&5
2067 echo $ECHO_N "checking AROS Source in .. ... $ECHO_C" >&6; }
2068 srcpwd=`cd ${srcdir} ; ${PWDCMD-pwd}`
2070 { echo "$as_me:$LINENO: result: $SRCDIR" >&5
2071 echo "${ECHO_T}$SRCDIR" >&6; }
2073 # Parse the target field into something useful.
2075 target_os=`echo $target |
sed 's/^\([^-]*\)-\(.*\)$/\1/'`
2076 target_cpu=`echo $target |
sed 's/^\([^-]*\)-\(.*\)$/\2/'`
2079 aros_default_wbwidth=800
2080 aros_default_wbheight=600
2081 aros_default_wbdepth=4
2084 # The first step is to find the host binaries.
2085 # Check for a compiler.
2087 ac_cpp='$CPP $CPPFLAGS'
2088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2091 if test -n "$ac_tool_prefix"; then
2092 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2093 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2094 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2096 if test "${ac_cv_prog_CC+set}" = set; then
2097 echo $ECHO_N "(cached) $ECHO_C" >&6
2099 if test -n "$CC"; then
2100 ac_cv_prog_CC="$CC" # Let the user override the test.
2102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2106 test -z "$as_dir" && as_dir=.
2107 for ac_exec_ext in '' $ac_executable_extensions; do
2108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2109 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2120 if test -n "$CC"; then
2121 { echo "$as_me:$LINENO: result: $CC" >&5
2122 echo "${ECHO_T}$CC" >&6; }
2124 { echo "$as_me:$LINENO: result: no" >&5
2125 echo "${ECHO_T}no" >&6; }
2130 if test -z "$ac_cv_prog_CC"; then
2132 # Extract the first word of "gcc", so it can be a program name with args.
2133 set dummy gcc; ac_word=$2
2134 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2136 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2137 echo $ECHO_N "(cached) $ECHO_C" >&6
2139 if test -n "$ac_ct_CC"; then
2140 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2146 test -z "$as_dir" && as_dir=.
2147 for ac_exec_ext in '' $ac_executable_extensions; do
2148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2149 ac_cv_prog_ac_ct_CC="gcc"
2150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2159 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2160 if test -n "$ac_ct_CC"; then
2161 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2162 echo "${ECHO_T}$ac_ct_CC" >&6; }
2164 { echo "$as_me:$LINENO: result: no" >&5
2165 echo "${ECHO_T}no" >&6; }
2168 if test "x$ac_ct_CC" = x; then
2171 case $cross_compiling:$ac_tool_warned in
2173 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2174 whose name does not start with the host triplet. If you think this
2175 configuration is useful to you, please write to autoconf@gnu.org." >&5
2176 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2177 whose name does not start with the host triplet. If you think this
2178 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2179 ac_tool_warned=yes ;;
2187 if test -z "$CC"; then
2188 if test -n "$ac_tool_prefix"; then
2189 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2190 set dummy ${ac_tool_prefix}cc; ac_word=$2
2191 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2193 if test "${ac_cv_prog_CC+set}" = set; then
2194 echo $ECHO_N "(cached) $ECHO_C" >&6
2196 if test -n "$CC"; then
2197 ac_cv_prog_CC="$CC" # Let the user override the test.
2199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2203 test -z "$as_dir" && as_dir=.
2204 for ac_exec_ext in '' $ac_executable_extensions; do
2205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2206 ac_cv_prog_CC="${ac_tool_prefix}cc"
2207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2217 if test -n "$CC"; then
2218 { echo "$as_me:$LINENO: result: $CC" >&5
2219 echo "${ECHO_T}$CC" >&6; }
2221 { echo "$as_me:$LINENO: result: no" >&5
2222 echo "${ECHO_T}no" >&6; }
2228 if test -z "$CC"; then
2229 # Extract the first word of "cc", so it can be a program name with args.
2230 set dummy cc; ac_word=$2
2231 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2233 if test "${ac_cv_prog_CC+set}" = set; then
2234 echo $ECHO_N "(cached) $ECHO_C" >&6
2236 if test -n "$CC"; then
2237 ac_cv_prog_CC="$CC" # Let the user override the test.
2240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2244 test -z "$as_dir" && as_dir=.
2245 for ac_exec_ext in '' $ac_executable_extensions; do
2246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2247 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2248 ac_prog_rejected=yes
2252 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2259 if test $ac_prog_rejected = yes; then
2260 # We found a bogon in the path, so make sure we never use it.
2261 set dummy $ac_cv_prog_CC
2263 if test $# != 0; then
2264 # We chose a different compiler from the bogus one.
2265 # However, it has the same basename, so the bogon will be chosen
2266 # first if we set CC to just the basename; use the full file name.
2268 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2274 if test -n "$CC"; then
2275 { echo "$as_me:$LINENO: result: $CC" >&5
2276 echo "${ECHO_T}$CC" >&6; }
2278 { echo "$as_me:$LINENO: result: no" >&5
2279 echo "${ECHO_T}no" >&6; }
2284 if test -z "$CC"; then
2285 if test -n "$ac_tool_prefix"; then
2286 for ac_prog in cl.exe
2288 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2289 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2290 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2292 if test "${ac_cv_prog_CC+set}" = set; then
2293 echo $ECHO_N "(cached) $ECHO_C" >&6
2295 if test -n "$CC"; then
2296 ac_cv_prog_CC="$CC" # Let the user override the test.
2298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2302 test -z "$as_dir" && as_dir=.
2303 for ac_exec_ext in '' $ac_executable_extensions; do
2304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2305 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2316 if test -n "$CC"; then
2317 { echo "$as_me:$LINENO: result: $CC" >&5
2318 echo "${ECHO_T}$CC" >&6; }
2320 { echo "$as_me:$LINENO: result: no" >&5
2321 echo "${ECHO_T}no" >&6; }
2325 test -n "$CC" && break
2328 if test -z "$CC"; then
2330 for ac_prog in cl.exe
2332 # Extract the first word of "$ac_prog", so it can be a program name with args.
2333 set dummy $ac_prog; ac_word=$2
2334 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2336 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2337 echo $ECHO_N "(cached) $ECHO_C" >&6
2339 if test -n "$ac_ct_CC"; then
2340 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2346 test -z "$as_dir" && as_dir=.
2347 for ac_exec_ext in '' $ac_executable_extensions; do
2348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2349 ac_cv_prog_ac_ct_CC="$ac_prog"
2350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2359 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2360 if test -n "$ac_ct_CC"; then
2361 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2362 echo "${ECHO_T}$ac_ct_CC" >&6; }
2364 { echo "$as_me:$LINENO: result: no" >&5
2365 echo "${ECHO_T}no" >&6; }
2369 test -n "$ac_ct_CC" && break
2372 if test "x$ac_ct_CC" = x; then
2375 case $cross_compiling:$ac_tool_warned in
2377 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2378 whose name does not start with the host triplet. If you think this
2379 configuration is useful to you, please write to autoconf@gnu.org." >&5
2380 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2381 whose name does not start with the host triplet. If you think this
2382 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2383 ac_tool_warned=yes ;;
2392 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2393 See \`config.log
' for more details." >&5
2394 echo "$as_me: error: no acceptable C compiler found in \$PATH
2395 See \`config.log' for more details.
" >&2;}
2396 { (exit 1); exit 1; }; }
2398 # Provide some information about the compiler.
2399 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2400 ac_compiler=`set X $ac_compile; echo $2`
2401 { (ac_try="$ac_compiler --version >&5"
2403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2404 *) ac_try_echo=$ac_try;;
2406 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2407 (eval "$ac_compiler --version >&5") 2>&5
2409 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2410 (exit $ac_status); }
2411 { (ac_try="$ac_compiler -v >&5"
2413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2414 *) ac_try_echo=$ac_try;;
2416 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2417 (eval "$ac_compiler -v >&5") 2>&5
2419 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2420 (exit $ac_status); }
2421 { (ac_try="$ac_compiler -V >&5"
2423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2424 *) ac_try_echo=$ac_try;;
2426 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2427 (eval "$ac_compiler -V >&5") 2>&5
2429 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2430 (exit $ac_status); }
2432 cat >conftest.$ac_ext <<_ACEOF
2435 cat confdefs.h >>conftest.$ac_ext
2436 cat >>conftest.$ac_ext <<_ACEOF
2437 /* end confdefs.h. */
2447 ac_clean_files_save=$ac_clean_files
2448 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2449 # Try to create an executable without -o first, disregard a.out.
2450 # It will help us diagnose broken compilers, and finding out an intuition
2452 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2453 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2454 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2456 # List of possible output files, starting from the most likely.
2457 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2458 # only as a last resort. b.out is created by i960 compilers.
2459 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2461 # The IRIX 6 linker writes into existing files which may not be
2462 # executable, retaining their permissions. Remove them first so a
2463 # subsequent execution test works.
2465 for ac_file in $ac_files
2468 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2469 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2474 if { (ac_try="$ac_link_default"
2476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2477 *) ac_try_echo=$ac_try;;
2479 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2480 (eval "$ac_link_default") 2>&5
2482 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2483 (exit $ac_status); }; then
2484 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2485 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2486 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2487 # so that the user can short-circuit this test for compilers unknown to
2489 for ac_file in $ac_files ''
2491 test -f "$ac_file" || continue
2493 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2496 # We found the default executable, but exeext='' is most
2500 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2502 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2504 # We set ac_cv_exeext here because the later test for it is not
2505 # safe: cross compilers may not add the suffix if given an `-o'
2506 # argument, so we may need to know it at that point already.
2507 # Even if this section looks crufty: it has the advantage of
2514 test "$ac_cv_exeext" = no && ac_cv_exeext=
2520 { echo "$as_me:$LINENO: result
: $ac_file" >&5
2521 echo "${ECHO_T}$ac_file" >&6; }
2522 if test -z "$ac_file"; then
2523 echo "$as_me: failed program was
:" >&5
2524 sed 's/^/| /' conftest.$ac_ext >&5
2526 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2527 See \
`config.log' for more details." >&5
2528 echo "$as_me: error: C compiler cannot create executables
2529 See \`config.log
' for more details." >&2;}
2530 { (exit 77); exit 77; }; }
2533 ac_exeext=$ac_cv_exeext
2535 # Check that the compiler produces executables we can run. If not, either
2536 # the compiler is broken, or we cross compile.
2537 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2538 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2539 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2540 # If not cross compiling, check that we can run a simple program.
2541 if test "$cross_compiling" != yes; then
2542 if { ac_try='.
/$ac_file'
2543 { (case "(($ac_try" in
2544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2545 *) ac_try_echo=$ac_try;;
2547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2548 (eval "$ac_try") 2>&5
2550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2551 (exit $ac_status); }; }; then
2554 if test "$cross_compiling" = maybe; then
2557 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2558 If you meant to cross compile, use \`--host'.
2559 See \
`config.log' for more details." >&5
2560 echo "$as_me: error: cannot run C compiled programs.
2561 If you meant to cross compile, use \`--host'.
2562 See \`config.log' for more details.
" >&2;}
2563 { (exit 1); exit 1; }; }
2567 { echo "$as_me:$LINENO: result
: yes" >&5
2568 echo "${ECHO_T}yes" >&6; }
2570 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2571 ac_clean_files=$ac_clean_files_save
2572 # Check that the compiler produces executables we can run. If not, either
2573 # the compiler is broken, or we cross compile.
2574 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2575 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2576 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2577 echo "${ECHO_T}$cross_compiling" >&6; }
2579 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2580 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2581 if { (ac_try="$ac_link"
2583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2584 *) ac_try_echo=$ac_try;;
2586 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2587 (eval "$ac_link") 2>&5
2589 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2590 (exit $ac_status); }; then
2591 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2592 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2593 # work properly (i.e., refer to `conftest.exe'), while it won't with
2595 for ac_file in conftest.exe conftest conftest.*; do
2596 test -f "$ac_file" || continue
2598 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2599 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2605 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2606 See \
`config.log' for more details." >&5
2607 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2608 See \`config.log
' for more details." >&2;}
2609 { (exit 1); exit 1; }; }
2612 rm -f conftest$ac_cv_exeext
2613 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2614 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2616 rm -f conftest.$ac_ext
2617 EXEEXT=$ac_cv_exeext
2619 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2620 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2621 if test "${ac_cv_objext+set}" = set; then
2622 echo $ECHO_N "(cached) $ECHO_C" >&6
2624 cat >conftest.$ac_ext <<_ACEOF
2627 cat confdefs.h >>conftest.$ac_ext
2628 cat >>conftest.$ac_ext <<_ACEOF
2629 /* end confdefs.h. */
2639 rm -f conftest.o conftest.obj
2640 if { (ac_try="$ac_compile"
2642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2643 *) ac_try_echo=$ac_try;;
2645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2646 (eval "$ac_compile") 2>&5
2648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649 (exit $ac_status); }; then
2650 for ac_file in conftest.o conftest.obj conftest.*; do
2651 test -f "$ac_file" || continue;
2653 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2654 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2659 echo "$as_me: failed program was:" >&5
2660 sed 's
/^
/|
/' conftest.$ac_ext >&5
2662 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2663 See \`config.log' for more details.
" >&5
2664 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2665 See \
`config.log' for more details." >&2;}
2666 { (exit 1); exit 1; }; }
2669 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2671 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2672 echo "${ECHO_T}$ac_cv_objext" >&6; }
2673 OBJEXT=$ac_cv_objext
2675 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2676 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2677 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2678 echo $ECHO_N "(cached) $ECHO_C" >&6
2680 cat >conftest.$ac_ext <<_ACEOF
2683 cat confdefs.h >>conftest.$ac_ext
2684 cat >>conftest.$ac_ext <<_ACEOF
2685 /* end confdefs.h. */
2698 rm -f conftest.$ac_objext
2699 if { (ac_try="$ac_compile"
2701 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2702 *) ac_try_echo
=$ac_try;;
2704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2705 (eval "$ac_compile") 2>conftest.er1
2707 grep -v '^ *+' conftest.er1
>conftest.err
2709 cat conftest.err
>&5
2710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2711 (exit $ac_status); } && {
2712 test -z "$ac_c_werror_flag" ||
2713 test ! -s conftest.err
2714 } && test -s conftest.
$ac_objext; then
2717 echo "$as_me: failed program was:" >&5
2718 sed 's/^/| /' conftest.
$ac_ext >&5
2723 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2724 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2727 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2728 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2729 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2730 ac_test_CFLAGS
=${CFLAGS+set}
2731 ac_save_CFLAGS
=$CFLAGS
2732 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2733 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2734 if test "${ac_cv_prog_cc_g+set}" = set; then
2735 echo $ECHO_N "(cached) $ECHO_C" >&6
2737 ac_save_c_werror_flag
=$ac_c_werror_flag
2738 ac_c_werror_flag
=yes
2741 cat >conftest.
$ac_ext <<_ACEOF
2744 cat confdefs.h
>>conftest.
$ac_ext
2745 cat >>conftest.
$ac_ext <<_ACEOF
2746 /* end confdefs.h. */
2756 rm -f conftest.
$ac_objext
2757 if { (ac_try
="$ac_compile"
2759 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2760 *) ac_try_echo=$ac_try;;
2762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2763 (eval "$ac_compile") 2>conftest.er1
2765 grep -v '^ *+' conftest.er1 >conftest.err
2767 cat conftest.err >&5
2768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2769 (exit $ac_status); } && {
2770 test -z "$ac_c_werror_flag" ||
2771 test ! -s conftest.err
2772 } && test -s conftest.$ac_objext; then
2775 echo "$as_me: failed program was:" >&5
2776 sed 's/^/| /' conftest.$ac_ext >&5
2779 cat >conftest.$ac_ext <<_ACEOF
2782 cat confdefs.h >>conftest.$ac_ext
2783 cat >>conftest.$ac_ext <<_ACEOF
2784 /* end confdefs.h. */
2794 rm -f conftest.$ac_objext
2795 if { (ac_try="$ac_compile"
2797 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2798 *) ac_try_echo
=$ac_try;;
2800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2801 (eval "$ac_compile") 2>conftest.er1
2803 grep -v '^ *+' conftest.er1
>conftest.err
2805 cat conftest.err
>&5
2806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2807 (exit $ac_status); } && {
2808 test -z "$ac_c_werror_flag" ||
2809 test ! -s conftest.err
2810 } && test -s conftest.
$ac_objext; then
2813 echo "$as_me: failed program was:" >&5
2814 sed 's/^/| /' conftest.
$ac_ext >&5
2816 ac_c_werror_flag
=$ac_save_c_werror_flag
2818 cat >conftest.
$ac_ext <<_ACEOF
2821 cat confdefs.h
>>conftest.
$ac_ext
2822 cat >>conftest.
$ac_ext <<_ACEOF
2823 /* end confdefs.h. */
2833 rm -f conftest.
$ac_objext
2834 if { (ac_try
="$ac_compile"
2836 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2837 *) ac_try_echo=$ac_try;;
2839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2840 (eval "$ac_compile") 2>conftest.er1
2842 grep -v '^ *+' conftest.er1 >conftest.err
2844 cat conftest.err >&5
2845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846 (exit $ac_status); } && {
2847 test -z "$ac_c_werror_flag" ||
2848 test ! -s conftest.err
2849 } && test -s conftest.$ac_objext; then
2852 echo "$as_me: failed program was:" >&5
2853 sed 's/^/| /' conftest.$ac_ext >&5
2858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2865 ac_c_werror_flag=$ac_save_c_werror_flag
2867 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2868 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2869 if test "$ac_test_CFLAGS" = set; then
2870 CFLAGS=$ac_save_CFLAGS
2871 elif test $ac_cv_prog_cc_g = yes; then
2872 if test "$GCC" = yes; then
2878 if test "$GCC" = yes; then
2884 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2885 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2886 if test "${ac_cv_prog_cc_c89+set}" = set; then
2887 echo $ECHO_N "(cached) $ECHO_C" >&6
2889 ac_cv_prog_cc_c89=no
2891 cat >conftest.$ac_ext <<_ACEOF
2894 cat confdefs.h >>conftest.$ac_ext
2895 cat >>conftest.$ac_ext <<_ACEOF
2896 /* end confdefs.h. */
2899 #include <sys/types.h>
2900 #include <sys/stat.h>
2901 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2902 struct buf { int x; };
2903 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2904 static char *e (p, i)
2910 static char *f (char * (*g) (char **, int), char **p, ...)
2915 s = g (p, va_arg (v,int));
2920 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2921 function prototypes and stuff, but not '\xHH' hex character constants.
2922 These don't provoke an error unfortunately, instead are silently treated
2923 as 'x'. The following induces an error, until -std is added to get
2924 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2925 array size at least. It's necessary to write '\x00'==0 to get something
2926 that's true only with -std. */
2927 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2929 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2930 inside strings and character constants. */
2932 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2934 int test (int i, double x);
2935 struct s1 {int (*f) (int a);};
2936 struct s2 {int (*f) (double a);};
2937 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2943 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2948 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2949 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2951 CC="$ac_save_CC $ac_arg"
2952 rm -f conftest.$ac_objext
2953 if { (ac_try="$ac_compile"
2955 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2956 *) ac_try_echo
=$ac_try;;
2958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2959 (eval "$ac_compile") 2>conftest.er1
2961 grep -v '^ *+' conftest.er1
>conftest.err
2963 cat conftest.err
>&5
2964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2965 (exit $ac_status); } && {
2966 test -z "$ac_c_werror_flag" ||
2967 test ! -s conftest.err
2968 } && test -s conftest.
$ac_objext; then
2969 ac_cv_prog_cc_c89
=$ac_arg
2971 echo "$as_me: failed program was:" >&5
2972 sed 's/^/| /' conftest.
$ac_ext >&5
2977 rm -f core conftest.err conftest.
$ac_objext
2978 test "x$ac_cv_prog_cc_c89" != "xno" && break
2980 rm -f conftest.
$ac_ext
2985 case "x$ac_cv_prog_cc_c89" in
2987 { echo "$as_me:$LINENO: result: none needed" >&5
2988 echo "${ECHO_T}none needed" >&6; } ;;
2990 { echo "$as_me:$LINENO: result: unsupported" >&5
2991 echo "${ECHO_T}unsupported" >&6; } ;;
2993 CC
="$CC $ac_cv_prog_cc_c89"
2994 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2995 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3000 ac_cpp
='$CPP $CPPFLAGS'
3001 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3002 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3003 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3005 case $ac_cv_prog_cc_stdc in
3006 no
) ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;;
3007 *) { echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
3008 echo $ECHO_N "checking for $CC option to accept ISO C99... $ECHO_C" >&6; }
3009 if test "${ac_cv_prog_cc_c99+set}" = set; then
3010 echo $ECHO_N "(cached) $ECHO_C" >&6
3012 ac_cv_prog_cc_c99
=no
3014 cat >conftest.
$ac_ext <<_ACEOF
3017 cat confdefs.h
>>conftest.
$ac_ext
3018 cat >>conftest.
$ac_ext <<_ACEOF
3019 /* end confdefs.h. */
3021 #include <stdbool.h>
3026 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3027 #define debug(...) fprintf (stderr, __VA_ARGS__)
3028 #define showlist(...) puts (#__VA_ARGS__)
3029 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3031 test_varargs_macros (void)
3036 debug ("X = %d\n", x);
3037 showlist (The first, second, and third items.);
3038 report (x>y, "x is %d but y is %d", x, y);
3041 // Check long long types.
3042 #define BIG64 18446744073709551615ull
3043 #define BIG32 4294967295ul
3044 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3046 your preprocessor is broken;
3050 your preprocessor is broken;
3052 static long long int bignum = -9223372036854775807LL;
3053 static unsigned long long int ubignum = BIG64;
3055 struct incomplete_array
3063 const wchar_t *name;
3067 typedef const char *ccp;
3070 test_restrict (ccp restrict text)
3072 // See if C++-style comments work.
3073 // Iterate through items via the restricted pointer.
3074 // Also check for declarations in for loops.
3075 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3080 // Check varargs and va_copy.
3082 test_varargs (const char *format, ...)
3085 va_start (args, format);
3087 va_copy (args_copy, args);
3098 str = va_arg (args_copy, const char *);
3101 number = va_arg (args_copy, int);
3104 fnumber = va_arg (args_copy, double);
3119 _Bool success = false;
3122 if (test_restrict ("String literal") == 0)
3124 char *restrict newvar = "Another string";
3127 test_varargs ("s, d' f .", "string", 65, 34.234);
3128 test_varargs_macros ();
3130 // Check flexible array members.
3131 struct incomplete_array *ia =
3132 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3134 for (int i = 0; i < ia->datasize; ++i)
3135 ia->data[i] = i * 1.234;
3137 // Check named initializers.
3138 struct named_init ni = {
3140 .name = L"Test wide string",
3141 .average = 543.34343,
3146 int dynamic_array[ni.number];
3147 dynamic_array[ni.number - 1] = 543;
3149 // work around unused variable warnings
3150 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3151 || dynamic_array[ni.number - 1] != 543);
3157 for ac_arg
in '' -std=gnu99
-c99 -qlanglvl=extc99
3159 CC
="$ac_save_CC $ac_arg"
3160 rm -f conftest.
$ac_objext
3161 if { (ac_try
="$ac_compile"
3163 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3164 *) ac_try_echo=$ac_try;;
3166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3167 (eval "$ac_compile") 2>conftest.er1
3169 grep -v '^ *+' conftest.er1 >conftest.err
3171 cat conftest.err >&5
3172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3173 (exit $ac_status); } && {
3174 test -z "$ac_c_werror_flag" ||
3175 test ! -s conftest.err
3176 } && test -s conftest.$ac_objext; then
3177 ac_cv_prog_cc_c99=$ac_arg
3179 echo "$as_me: failed program was:" >&5
3180 sed 's/^/| /' conftest.$ac_ext >&5
3185 rm -f core conftest.err conftest.$ac_objext
3186 test "x$ac_cv_prog_cc_c99" != "xno" && break
3188 rm -f conftest.$ac_ext
3193 case "x$ac_cv_prog_cc_c99" in
3195 { echo "$as_me:$LINENO: result: none needed" >&5
3196 echo "${ECHO_T}none needed" >&6; } ;;
3198 { echo "$as_me:$LINENO: result: unsupported" >&5
3199 echo "${ECHO_T}unsupported" >&6; } ;;
3201 CC="$CC $ac_cv_prog_cc_c99"
3202 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
3203 echo "${ECHO_T}$ac_cv_prog_cc_c99" >&6; } ;;
3205 if test "x$ac_cv_prog_cc_c99" != xno; then
3206 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3208 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3209 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3210 if test "${ac_cv_prog_cc_c89+set}" = set; then
3211 echo $ECHO_N "(cached) $ECHO_C" >&6
3213 ac_cv_prog_cc_c89=no
3215 cat >conftest.$ac_ext <<_ACEOF
3218 cat confdefs.h >>conftest.$ac_ext
3219 cat >>conftest.$ac_ext <<_ACEOF
3220 /* end confdefs.h. */
3223 #include <sys/types.h>
3224 #include <sys/stat.h>
3225 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3226 struct buf { int x; };
3227 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3228 static char *e (p, i)
3234 static char *f (char * (*g) (char **, int), char **p, ...)
3239 s = g (p, va_arg (v,int));
3244 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3245 function prototypes and stuff, but not '\xHH' hex character constants.
3246 These don't provoke an error unfortunately, instead are silently treated
3247 as 'x'. The following induces an error, until -std is added to get
3248 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3249 array size at least. It's necessary to write '\x00'==0 to get something
3250 that's true only with -std. */
3251 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3253 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3254 inside strings and character constants. */
3256 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3258 int test (int i, double x);
3259 struct s1 {int (*f) (int a);};
3260 struct s2 {int (*f) (double a);};
3261 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3267 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3272 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3273 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3275 CC="$ac_save_CC $ac_arg"
3276 rm -f conftest.$ac_objext
3277 if { (ac_try="$ac_compile"
3279 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3280 *) ac_try_echo
=$ac_try;;
3282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3283 (eval "$ac_compile") 2>conftest.er1
3285 grep -v '^ *+' conftest.er1
>conftest.err
3287 cat conftest.err
>&5
3288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3289 (exit $ac_status); } && {
3290 test -z "$ac_c_werror_flag" ||
3291 test ! -s conftest.err
3292 } && test -s conftest.
$ac_objext; then
3293 ac_cv_prog_cc_c89
=$ac_arg
3295 echo "$as_me: failed program was:" >&5
3296 sed 's/^/| /' conftest.
$ac_ext >&5
3301 rm -f core conftest.err conftest.
$ac_objext
3302 test "x$ac_cv_prog_cc_c89" != "xno" && break
3304 rm -f conftest.
$ac_ext
3309 case "x$ac_cv_prog_cc_c89" in
3311 { echo "$as_me:$LINENO: result: none needed" >&5
3312 echo "${ECHO_T}none needed" >&6; } ;;
3314 { echo "$as_me:$LINENO: result: unsupported" >&5
3315 echo "${ECHO_T}unsupported" >&6; } ;;
3317 CC
="$CC $ac_cv_prog_cc_c89"
3318 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3319 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3321 if test "x$ac_cv_prog_cc_c89" != xno
; then
3322 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
3324 ac_cv_prog_cc_stdc
=no
3332 { echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5
3333 echo $ECHO_N "checking for $CC option to accept ISO Standard C... $ECHO_C" >&6; }
3334 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3335 echo $ECHO_N "(cached) $ECHO_C" >&6
3338 case $ac_cv_prog_cc_stdc in
3339 no
) { echo "$as_me:$LINENO: result: unsupported" >&5
3340 echo "${ECHO_T}unsupported" >&6; } ;;
3341 '') { echo "$as_me:$LINENO: result: none needed" >&5
3342 echo "${ECHO_T}none needed" >&6; } ;;
3343 *) { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3344 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; } ;;
3349 ac_cpp
='$CPP $CPPFLAGS'
3350 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3351 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3352 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3353 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3354 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3355 # On Suns, sometimes $CPP names a directory.
3356 if test -n "$CPP" && test -d "$CPP"; then
3359 if test -z "$CPP"; then
3360 if test "${ac_cv_prog_CPP+set}" = set; then
3361 echo $ECHO_N "(cached) $ECHO_C" >&6
3363 # Double quotes because CPP needs to be expanded
3364 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3367 for ac_c_preproc_warn_flag
in '' yes
3369 # Use a header file that comes with gcc, so configuring glibc
3370 # with a fresh cross-compiler works.
3371 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3372 # <limits.h> exists even on freestanding compilers.
3373 # On the NeXT, cc -E runs the code through the compiler's parser,
3374 # not just through cpp. "Syntax error" is here to catch this case.
3375 cat >conftest.
$ac_ext <<_ACEOF
3378 cat confdefs.h
>>conftest.
$ac_ext
3379 cat >>conftest.
$ac_ext <<_ACEOF
3380 /* end confdefs.h. */
3382 # include <limits.h>
3384 # include <assert.h>
3388 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3390 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3391 *) ac_try_echo=$ac_try;;
3393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3394 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3396 grep -v '^ *+' conftest.er1 >conftest.err
3398 cat conftest.err >&5
3399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3400 (exit $ac_status); } >/dev/null && {
3401 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3402 test ! -s conftest.err
3406 echo "$as_me: failed program was:" >&5
3407 sed 's/^/| /' conftest.$ac_ext >&5
3409 # Broken: fails on valid input.
3413 rm -f conftest.err conftest.$ac_ext
3415 # OK, works on sane cases. Now check whether nonexistent headers
3416 # can be detected and how.
3417 cat >conftest.$ac_ext <<_ACEOF
3420 cat confdefs.h >>conftest.$ac_ext
3421 cat >>conftest.$ac_ext <<_ACEOF
3422 /* end confdefs.h. */
3423 #include <ac_nonexistent.h>
3425 if { (ac_try="$ac_cpp conftest.$ac_ext"
3427 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3428 *) ac_try_echo
=$ac_try;;
3430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3431 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3433 grep -v '^ *+' conftest.er1
>conftest.err
3435 cat conftest.err
>&5
3436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3437 (exit $ac_status); } >/dev
/null
&& {
3438 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3439 test ! -s conftest.err
3441 # Broken: success on invalid input.
3444 echo "$as_me: failed program was:" >&5
3445 sed 's/^/| /' conftest.
$ac_ext >&5
3447 # Passes both tests.
3452 rm -f conftest.err conftest.
$ac_ext
3455 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3456 rm -f conftest.err conftest.
$ac_ext
3457 if $ac_preproc_ok; then
3469 { echo "$as_me:$LINENO: result: $CPP" >&5
3470 echo "${ECHO_T}$CPP" >&6; }
3472 for ac_c_preproc_warn_flag
in '' yes
3474 # Use a header file that comes with gcc, so configuring glibc
3475 # with a fresh cross-compiler works.
3476 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3477 # <limits.h> exists even on freestanding compilers.
3478 # On the NeXT, cc -E runs the code through the compiler's parser,
3479 # not just through cpp. "Syntax error" is here to catch this case.
3480 cat >conftest.
$ac_ext <<_ACEOF
3483 cat confdefs.h
>>conftest.
$ac_ext
3484 cat >>conftest.
$ac_ext <<_ACEOF
3485 /* end confdefs.h. */
3487 # include <limits.h>
3489 # include <assert.h>
3493 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3495 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3496 *) ac_try_echo=$ac_try;;
3498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3499 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3501 grep -v '^ *+' conftest.er1 >conftest.err
3503 cat conftest.err >&5
3504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3505 (exit $ac_status); } >/dev/null && {
3506 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3507 test ! -s conftest.err
3511 echo "$as_me: failed program was:" >&5
3512 sed 's/^/| /' conftest.$ac_ext >&5
3514 # Broken: fails on valid input.
3518 rm -f conftest.err conftest.$ac_ext
3520 # OK, works on sane cases. Now check whether nonexistent headers
3521 # can be detected and how.
3522 cat >conftest.$ac_ext <<_ACEOF
3525 cat confdefs.h >>conftest.$ac_ext
3526 cat >>conftest.$ac_ext <<_ACEOF
3527 /* end confdefs.h. */
3528 #include <ac_nonexistent.h>
3530 if { (ac_try="$ac_cpp conftest.$ac_ext"
3532 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3533 *) ac_try_echo
=$ac_try;;
3535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3536 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3538 grep -v '^ *+' conftest.er1
>conftest.err
3540 cat conftest.err
>&5
3541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3542 (exit $ac_status); } >/dev
/null
&& {
3543 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3544 test ! -s conftest.err
3546 # Broken: success on invalid input.
3549 echo "$as_me: failed program was:" >&5
3550 sed 's/^/| /' conftest.
$ac_ext >&5
3552 # Passes both tests.
3557 rm -f conftest.err conftest.
$ac_ext
3560 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3561 rm -f conftest.err conftest.
$ac_ext
3562 if $ac_preproc_ok; then
3565 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3566 See \`config.log' for more details." >&5
3567 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3568 See \`config.log' for more details." >&2;}
3569 { (exit 1); exit 1; }; }
3573 ac_cpp
='$CPP $CPPFLAGS'
3574 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3575 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3576 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3579 # Check for a compatible awk
3580 for ac_prog
in gawk nawk
3582 # Extract the first word of "$ac_prog", so it can be a program name with args.
3583 set dummy
$ac_prog; ac_word
=$2
3584 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3586 if test "${ac_cv_prog_AWK+set}" = set; then
3587 echo $ECHO_N "(cached) $ECHO_C" >&6
3589 if test -n "$AWK"; then
3590 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3596 test -z "$as_dir" && as_dir
=.
3597 for ac_exec_ext
in '' $ac_executable_extensions; do
3598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3599 ac_cv_prog_AWK
="$ac_prog"
3600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3610 if test -n "$AWK"; then
3611 { echo "$as_me:$LINENO: result: $AWK" >&5
3612 echo "${ECHO_T}$AWK" >&6; }
3614 { echo "$as_me:$LINENO: result: no" >&5
3615 echo "${ECHO_T}no" >&6; }
3619 test -n "$AWK" && break
3622 if test "$AWK" = ""; then
3623 { { echo "$as_me:$LINENO: error: gawk is required to build AROS. Please install and run configure again." >&5
3624 echo "$as_me: error: gawk is required to build AROS. Please install and run configure again." >&2;}
3625 { (exit 1); exit 1; }; }
3627 # Extract the first word of "mmake", so it can be a program name with args.
3628 set dummy mmake
; ac_word
=$2
3629 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3630 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3631 if test "${ac_cv_prog_MMAKE+set}" = set; then
3632 echo $ECHO_N "(cached) $ECHO_C" >&6
3634 if test -n "$MMAKE"; then
3635 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
3637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3641 test -z "$as_dir" && as_dir
=.
3642 for ac_exec_ext
in '' $ac_executable_extensions; do
3643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3644 ac_cv_prog_MMAKE
="mmake "
3645 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3654 MMAKE
=$ac_cv_prog_MMAKE
3655 if test -n "$MMAKE"; then
3656 { echo "$as_me:$LINENO: result: $MMAKE" >&5
3657 echo "${ECHO_T}$MMAKE" >&6; }
3659 { echo "$as_me:$LINENO: result: no" >&5
3660 echo "${ECHO_T}no" >&6; }
3665 # Perform some default variable assignments. Note all of these will be
3666 # Regenerated from the script, so there is no need to cache them.
3669 if test "$GCC" = "yes"; then
3670 aros_gcc_ld
=`$CC -print-prog-name=ld`
3671 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
3672 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
3673 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3674 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3675 if test "${ac_cv_path_aros_host_ld+set}" = set; then
3676 echo $ECHO_N "(cached) $ECHO_C" >&6
3678 case $aros_host_ld in
3680 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3684 for as_dir
in `dirname $aros_gcc_ld`
3687 test -z "$as_dir" && as_dir
=.
3688 for ac_exec_ext
in '' $ac_executable_extensions; do
3689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3690 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3691 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3701 aros_host_ld
=$ac_cv_path_aros_host_ld
3702 if test -n "$aros_host_ld"; then
3703 { echo "$as_me:$LINENO: result: $aros_host_ld" >&5
3704 echo "${ECHO_T}$aros_host_ld" >&6; }
3706 { echo "$as_me:$LINENO: result: no" >&5
3707 echo "${ECHO_T}no" >&6; }
3712 if test "$aros_host_ld" = ""; then
3713 # Extract the first word of "ld", so it can be a program name with args.
3714 set dummy ld
; ac_word
=$2
3715 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3717 if test "${ac_cv_path_aros_host_ld+set}" = set; then
3718 echo $ECHO_N "(cached) $ECHO_C" >&6
3720 case $aros_host_ld in
3722 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3729 test -z "$as_dir" && as_dir
=.
3730 for ac_exec_ext
in '' $ac_executable_extensions; do
3731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3732 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3743 aros_host_ld
=$ac_cv_path_aros_host_ld
3744 if test -n "$aros_host_ld"; then
3745 { echo "$as_me:$LINENO: result: $aros_host_ld" >&5
3746 echo "${ECHO_T}$aros_host_ld" >&6; }
3748 { echo "$as_me:$LINENO: result: no" >&5
3749 echo "${ECHO_T}no" >&6; }
3754 if test "$aros_host_ld" = ""; then
3755 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
3756 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
3757 { (exit 1); exit 1; }; }
3759 aros_host_make
="make"
3760 aros_host_cflags
=$CFLAGS
3761 aros_host_ldflags
=$LDFLAGS
3762 aros_host_debug
="-g -O0"
3763 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
3764 aros_host_mkargs
="--no-print-directory"
3765 aros_host_incl
="/usr/include"
3766 aros_host_exe_suffix
="$EXEEXT"
3767 aros_host_lib_suffix
=""
3769 for ac_prog
in aclocal aclocal19 aclocal-1.9
3771 # Extract the first word of "$ac_prog", so it can be a program name with args.
3772 set dummy
$ac_prog; ac_word
=$2
3773 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3774 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3775 if test "${ac_cv_prog_aros_host_aclocal+set}" = set; then
3776 echo $ECHO_N "(cached) $ECHO_C" >&6
3778 if test -n "$aros_host_aclocal"; then
3779 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
3781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3785 test -z "$as_dir" && as_dir
=.
3786 for ac_exec_ext
in '' $ac_executable_extensions; do
3787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3788 ac_cv_prog_aros_host_aclocal
="$ac_prog"
3789 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3798 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
3799 if test -n "$aros_host_aclocal"; then
3800 { echo "$as_me:$LINENO: result: $aros_host_aclocal" >&5
3801 echo "${ECHO_T}$aros_host_aclocal" >&6; }
3803 { echo "$as_me:$LINENO: result: no" >&5
3804 echo "${ECHO_T}no" >&6; }
3808 test -n "$aros_host_aclocal" && break
3811 for ac_prog
in autoconf autoconf259 autoconf253
3813 # Extract the first word of "$ac_prog", so it can be a program name with args.
3814 set dummy
$ac_prog; ac_word
=$2
3815 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3817 if test "${ac_cv_prog_aros_host_autoconf+set}" = set; then
3818 echo $ECHO_N "(cached) $ECHO_C" >&6
3820 if test -n "$aros_host_autoconf"; then
3821 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
3823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3827 test -z "$as_dir" && as_dir
=.
3828 for ac_exec_ext
in '' $ac_executable_extensions; do
3829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3830 ac_cv_prog_aros_host_autoconf
="$ac_prog"
3831 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3840 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
3841 if test -n "$aros_host_autoconf"; then
3842 { echo "$as_me:$LINENO: result: $aros_host_autoconf" >&5
3843 echo "${ECHO_T}$aros_host_autoconf" >&6; }
3845 { echo "$as_me:$LINENO: result: no" >&5
3846 echo "${ECHO_T}no" >&6; }
3850 test -n "$aros_host_autoconf" && break
3853 for ac_prog
in autoheader autoheader259 autoheader253
3855 # Extract the first word of "$ac_prog", so it can be a program name with args.
3856 set dummy
$ac_prog; ac_word
=$2
3857 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3859 if test "${ac_cv_prog_aros_host_autoheader+set}" = set; then
3860 echo $ECHO_N "(cached) $ECHO_C" >&6
3862 if test -n "$aros_host_autoheader"; then
3863 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
3865 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3869 test -z "$as_dir" && as_dir
=.
3870 for ac_exec_ext
in '' $ac_executable_extensions; do
3871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3872 ac_cv_prog_aros_host_autoheader
="$ac_prog"
3873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3882 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
3883 if test -n "$aros_host_autoheader"; then
3884 { echo "$as_me:$LINENO: result: $aros_host_autoheader" >&5
3885 echo "${ECHO_T}$aros_host_autoheader" >&6; }
3887 { echo "$as_me:$LINENO: result: no" >&5
3888 echo "${ECHO_T}no" >&6; }
3892 test -n "$aros_host_autoheader" && break
3895 for ac_prog
in automake automake19 automake-1.9
3897 # Extract the first word of "$ac_prog", so it can be a program name with args.
3898 set dummy
$ac_prog; ac_word
=$2
3899 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3900 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3901 if test "${ac_cv_prog_aros_host_automake+set}" = set; then
3902 echo $ECHO_N "(cached) $ECHO_C" >&6
3904 if test -n "$aros_host_automake"; then
3905 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
3907 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3911 test -z "$as_dir" && as_dir
=.
3912 for ac_exec_ext
in '' $ac_executable_extensions; do
3913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3914 ac_cv_prog_aros_host_automake
="$ac_prog"
3915 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3924 aros_host_automake
=$ac_cv_prog_aros_host_automake
3925 if test -n "$aros_host_automake"; then
3926 { echo "$as_me:$LINENO: result: $aros_host_automake" >&5
3927 echo "${ECHO_T}$aros_host_automake" >&6; }
3929 { echo "$as_me:$LINENO: result: no" >&5
3930 echo "${ECHO_T}no" >&6; }
3934 test -n "$aros_host_automake" && break
3938 if test "$aros_host_aclocal" = ""; then
3939 { { echo "$as_me:$LINENO: error: aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." >&5
3940 echo "$as_me: error: aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." >&2;}
3941 { (exit 1); exit 1; }; }
3943 if test "$aros_host_automake" = ""; then
3944 { { echo "$as_me:$LINENO: error: automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." >&5
3945 echo "$as_me: error: automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." >&2;}
3946 { (exit 1); exit 1; }; }
3949 case "$aros_host_cc" in
3951 aros_host_cc_pipe
="-pipe"
3954 aros_host_cc_pipe
=""
3957 aros_host_cc_pipe
=""
3961 aros_target_cc_includes
=""
3963 # This is the main host configuration section. It is where the host
3964 # can change the values of any variables it needs to change. We do
3965 # not look at anything that compiles to the target yet, we'll get
3970 aros_host_arch
="aros"
3971 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3974 aros_host_cpu
="i386"
3977 aros_host_cpu
="x86_64"
3983 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
3984 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
3985 aros_host_cpu
="$host_cpu"
3991 aros_host_arch
="linux"
3992 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3995 aros_host_cpu
="i386"
3998 aros_host_cpu
="x86_64"
4001 aros_host_cpu
="m68k"
4010 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4011 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4012 aros_host_cpu
="$host_cpu"
4018 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4019 aros_host_make
="gmake"
4020 aros_host_arch
="freebsd"
4021 aros_host_cpu
="i386"
4023 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4028 aros_object_format
="elf_i386"
4032 aros_object_format
="elf_i386_fbsd"
4039 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4040 aros_host_arch
="darwin"
4043 aros_host_cpu
="i386"
4046 aros_host_cpu
="x86_64"
4052 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4053 echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4054 aros_host_cpu
="$host_cpu"
4058 aros_host_ldflags
="$aros_host_ldflags -liconv"
4063 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4064 aros_host_make
="gmake"
4065 aros_host_arch
="dragonfly"
4068 aros_host_cpu
="i386"
4071 aros_host_cpu
="x86_64"
4074 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4075 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4076 aros_host_cpu
="$host_cpu"
4082 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4083 aros_host_make
="gmake"
4084 aros_host_arch
="netbsd"
4087 aros_host_cpu
="i386"
4090 aros_host_cpu
="m68k"
4093 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4094 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4095 aros_host_cpu
="$host_cpu"
4098 aros_host_lib_suffix
=".0.0"
4102 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4103 aros_host_make
="gmake"
4104 aros_host_arch
="openbsd"
4107 aros_host_cpu
="i386"
4110 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4111 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4112 aros_host_cpu
="$host_cpu"
4118 aros_host_arch
="solaris"
4119 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4122 aros_host_cpu
="i386"
4125 aros_host_cpu
="sparc"
4128 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4129 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4130 aros_host_cpu
="$host_cpu"
4136 aros_host_arch
="morphos"
4141 aros_host_arch
="amiga"
4146 TOUCH
="/gg/bin/touch"
4149 aros_host_cpu
="m68k"
4155 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4156 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4157 aros_host_cpu
="$host_cpu"
4163 aros_host_arch
="cygwin"
4164 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4167 aros_host_cpu
="i386"
4170 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4171 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4172 aros_host_cpu
="$host_cpu"
4178 aros_host_arch
="mingw32"
4179 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4182 aros_host_cpu
="i386"
4185 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4186 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4187 aros_host_cpu
="$host_cpu"
4192 { { echo "$as_me:$LINENO: error: Unsupported host architecture $host" >&5
4193 echo "$as_me: error: Unsupported host architecture $host" >&2;}
4194 { (exit 1); exit 1; }; }
4198 # Extract the first word of "ar", so it can be a program name with args.
4199 set dummy
ar; ac_word
=$2
4200 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4202 if test "${ac_cv_prog_aros_host_ar+set}" = set; then
4203 echo $ECHO_N "(cached) $ECHO_C" >&6
4205 if test -n "$aros_host_ar"; then
4206 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4212 test -z "$as_dir" && as_dir
=.
4213 for ac_exec_ext
in '' $ac_executable_extensions; do
4214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4215 ac_cv_prog_aros_host_ar
="ar cr"
4216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4225 aros_host_ar
=$ac_cv_prog_aros_host_ar
4226 if test -n "$aros_host_ar"; then
4227 { echo "$as_me:$LINENO: result: $aros_host_ar" >&5
4228 echo "${ECHO_T}$aros_host_ar" >&6; }
4230 { echo "$as_me:$LINENO: result: no" >&5
4231 echo "${ECHO_T}no" >&6; }
4235 if test "$aros_host_ar" = ""; then
4236 { { echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
4237 echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
4238 { (exit 1); exit 1; }; }
4240 # Extract the first word of "ranlib", so it can be a program name with args.
4241 set dummy ranlib
; ac_word
=$2
4242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4244 if test "${ac_cv_prog_aros_host_ranlib+set}" = set; then
4245 echo $ECHO_N "(cached) $ECHO_C" >&6
4247 if test -n "$aros_host_ranlib"; then
4248 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4254 test -z "$as_dir" && as_dir
=.
4255 for ac_exec_ext
in '' $ac_executable_extensions; do
4256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4257 ac_cv_prog_aros_host_ranlib
="ranlib "
4258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4267 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4268 if test -n "$aros_host_ranlib"; then
4269 { echo "$as_me:$LINENO: result: $aros_host_ranlib" >&5
4270 echo "${ECHO_T}$aros_host_ranlib" >&6; }
4272 { echo "$as_me:$LINENO: result: no" >&5
4273 echo "${ECHO_T}no" >&6; }
4277 if test "$aros_host_ranlib" = ""; then
4278 { { echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
4279 echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
4280 { (exit 1); exit 1; }; }
4282 # Extract the first word of "strip", so it can be a program name with args.
4283 set dummy strip
; ac_word
=$2
4284 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4286 if test "${ac_cv_prog_aros_host_strip+set}" = set; then
4287 echo $ECHO_N "(cached) $ECHO_C" >&6
4289 if test -n "$aros_host_strip"; then
4290 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4296 test -z "$as_dir" && as_dir
=.
4297 for ac_exec_ext
in '' $ac_executable_extensions; do
4298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4299 ac_cv_prog_aros_host_strip
="strip "
4300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4309 aros_host_strip
=$ac_cv_prog_aros_host_strip
4310 if test -n "$aros_host_strip"; then
4311 { echo "$as_me:$LINENO: result: $aros_host_strip" >&5
4312 echo "${ECHO_T}$aros_host_strip" >&6; }
4314 { echo "$as_me:$LINENO: result: no" >&5
4315 echo "${ECHO_T}no" >&6; }
4319 if test "$aros_host_strip" = ""; then
4320 { { echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
4321 echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
4322 { (exit 1); exit 1; }; }
4325 # Extract the first word of "rm", so it can be a program name with args.
4326 set dummy
rm; ac_word
=$2
4327 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4329 if test "${ac_cv_prog_RM+set}" = set; then
4330 echo $ECHO_N "(cached) $ECHO_C" >&6
4332 if test -n "$RM"; then
4333 ac_cv_prog_RM
="$RM" # Let the user override the test.
4335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4339 test -z "$as_dir" && as_dir
=.
4340 for ac_exec_ext
in '' $ac_executable_extensions; do
4341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4342 ac_cv_prog_RM
="rm -rf"
4343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4353 if test -n "$RM"; then
4354 { echo "$as_me:$LINENO: result: $RM" >&5
4355 echo "${ECHO_T}$RM" >&6; }
4357 { echo "$as_me:$LINENO: result: no" >&5
4358 echo "${ECHO_T}no" >&6; }
4362 if test "$RM" = ""; then
4363 { { echo "$as_me:$LINENO: error: rm is required to build AROS. Please install and run configure again." >&5
4364 echo "$as_me: error: rm is required to build AROS. Please install and run configure again." >&2;}
4365 { (exit 1); exit 1; }; }
4367 # Extract the first word of "cp", so it can be a program name with args.
4368 set dummy
cp; ac_word
=$2
4369 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4370 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4371 if test "${ac_cv_prog_CP+set}" = set; then
4372 echo $ECHO_N "(cached) $ECHO_C" >&6
4374 if test -n "$CP"; then
4375 ac_cv_prog_CP
="$CP" # Let the user override the test.
4377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4381 test -z "$as_dir" && as_dir
=.
4382 for ac_exec_ext
in '' $ac_executable_extensions; do
4383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4385 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4395 if test -n "$CP"; then
4396 { echo "$as_me:$LINENO: result: $CP" >&5
4397 echo "${ECHO_T}$CP" >&6; }
4399 { echo "$as_me:$LINENO: result: no" >&5
4400 echo "${ECHO_T}no" >&6; }
4404 if test "$CP" = ""; then
4405 { { echo "$as_me:$LINENO: error: cp is required to build AROS. Please install and run configure again." >&5
4406 echo "$as_me: error: cp is required to build AROS. Please install and run configure again." >&2;}
4407 { (exit 1); exit 1; }; }
4409 # Extract the first word of "mv", so it can be a program name with args.
4410 set dummy
mv; ac_word
=$2
4411 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4413 if test "${ac_cv_prog_MV+set}" = set; then
4414 echo $ECHO_N "(cached) $ECHO_C" >&6
4416 if test -n "$MV"; then
4417 ac_cv_prog_MV
="$MV" # Let the user override the test.
4419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4423 test -z "$as_dir" && as_dir
=.
4424 for ac_exec_ext
in '' $ac_executable_extensions; do
4425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4437 if test -n "$MV"; then
4438 { echo "$as_me:$LINENO: result: $MV" >&5
4439 echo "${ECHO_T}$MV" >&6; }
4441 { echo "$as_me:$LINENO: result: no" >&5
4442 echo "${ECHO_T}no" >&6; }
4446 if test "$MV" = ""; then
4447 { { echo "$as_me:$LINENO: error: mv is required to build AROS. Please install and run configure again." >&5
4448 echo "$as_me: error: mv is required to build AROS. Please install and run configure again." >&2;}
4449 { (exit 1); exit 1; }; }
4451 # Extract the first word of "echo", so it can be a program name with args.
4452 set dummy
echo; ac_word
=$2
4453 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4454 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4455 if test "${ac_cv_prog_ECHO+set}" = set; then
4456 echo $ECHO_N "(cached) $ECHO_C" >&6
4458 if test -n "$ECHO"; then
4459 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
4461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4465 test -z "$as_dir" && as_dir
=.
4466 for ac_exec_ext
in '' $ac_executable_extensions; do
4467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4468 ac_cv_prog_ECHO
="echo "
4469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4478 ECHO
=$ac_cv_prog_ECHO
4479 if test -n "$ECHO"; then
4480 { echo "$as_me:$LINENO: result: $ECHO" >&5
4481 echo "${ECHO_T}$ECHO" >&6; }
4483 { echo "$as_me:$LINENO: result: no" >&5
4484 echo "${ECHO_T}no" >&6; }
4488 if test "$ECHO" = ""; then
4489 { { echo "$as_me:$LINENO: error: echo is required to build AROS. Please install and run configure again." >&5
4490 echo "$as_me: error: echo is required to build AROS. Please install and run configure again." >&2;}
4491 { (exit 1); exit 1; }; }
4493 # Extract the first word of "mkdir", so it can be a program name with args.
4494 set dummy mkdir
; ac_word
=$2
4495 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4497 if test "${ac_cv_prog_MKDIR+set}" = set; then
4498 echo $ECHO_N "(cached) $ECHO_C" >&6
4500 if test -n "$MKDIR"; then
4501 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
4503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4507 test -z "$as_dir" && as_dir
=.
4508 for ac_exec_ext
in '' $ac_executable_extensions; do
4509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4510 ac_cv_prog_MKDIR
="mkdir -p"
4511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4520 MKDIR
=$ac_cv_prog_MKDIR
4521 if test -n "$MKDIR"; then
4522 { echo "$as_me:$LINENO: result: $MKDIR" >&5
4523 echo "${ECHO_T}$MKDIR" >&6; }
4525 { echo "$as_me:$LINENO: result: no" >&5
4526 echo "${ECHO_T}no" >&6; }
4530 if test "$MKDIR" = ""; then
4531 { { echo "$as_me:$LINENO: error: mkdir is required to build AROS. Please install and run configure again." >&5
4532 echo "$as_me: error: mkdir is required to build AROS. Please install and run configure again." >&2;}
4533 { (exit 1); exit 1; }; }
4535 # Extract the first word of "touch", so it can be a program name with args.
4536 set dummy
touch; ac_word
=$2
4537 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4539 if test "${ac_cv_prog_TOUCH+set}" = set; then
4540 echo $ECHO_N "(cached) $ECHO_C" >&6
4542 if test -n "$TOUCH"; then
4543 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
4545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4549 test -z "$as_dir" && as_dir
=.
4550 for ac_exec_ext
in '' $ac_executable_extensions; do
4551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4552 ac_cv_prog_TOUCH
="touch "
4553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4562 TOUCH
=$ac_cv_prog_TOUCH
4563 if test -n "$TOUCH"; then
4564 { echo "$as_me:$LINENO: result: $TOUCH" >&5
4565 echo "${ECHO_T}$TOUCH" >&6; }
4567 { echo "$as_me:$LINENO: result: no" >&5
4568 echo "${ECHO_T}no" >&6; }
4572 if test "$TOUCH" = ""; then
4573 { { echo "$as_me:$LINENO: error: touch is required to build AROS. Please install and run configure again." >&5
4574 echo "$as_me: error: touch is required to build AROS. Please install and run configure again." >&2;}
4575 { (exit 1); exit 1; }; }
4577 # Extract the first word of "sort", so it can be a program name with args.
4578 set dummy
sort; ac_word
=$2
4579 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4581 if test "${ac_cv_prog_SORT+set}" = set; then
4582 echo $ECHO_N "(cached) $ECHO_C" >&6
4584 if test -n "$SORT"; then
4585 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
4587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4591 test -z "$as_dir" && as_dir
=.
4592 for ac_exec_ext
in '' $ac_executable_extensions; do
4593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4594 ac_cv_prog_SORT
="sort "
4595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4604 SORT
=$ac_cv_prog_SORT
4605 if test -n "$SORT"; then
4606 { echo "$as_me:$LINENO: result: $SORT" >&5
4607 echo "${ECHO_T}$SORT" >&6; }
4609 { echo "$as_me:$LINENO: result: no" >&5
4610 echo "${ECHO_T}no" >&6; }
4614 if test "$SORT" = ""; then
4615 { { echo "$as_me:$LINENO: error: sort is required to build AROS. Please install and run configure again." >&5
4616 echo "$as_me: error: sort is required to build AROS. Please install and run configure again." >&2;}
4617 { (exit 1); exit 1; }; }
4619 # Extract the first word of "uniq", so it can be a program name with args.
4620 set dummy
uniq; ac_word
=$2
4621 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4623 if test "${ac_cv_prog_UNIQ+set}" = set; then
4624 echo $ECHO_N "(cached) $ECHO_C" >&6
4626 if test -n "$UNIQ"; then
4627 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
4629 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4633 test -z "$as_dir" && as_dir
=.
4634 for ac_exec_ext
in '' $ac_executable_extensions; do
4635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4636 ac_cv_prog_UNIQ
="uniq "
4637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4646 UNIQ
=$ac_cv_prog_UNIQ
4647 if test -n "$UNIQ"; then
4648 { echo "$as_me:$LINENO: result: $UNIQ" >&5
4649 echo "${ECHO_T}$UNIQ" >&6; }
4651 { echo "$as_me:$LINENO: result: no" >&5
4652 echo "${ECHO_T}no" >&6; }
4656 if test "$UNIQ" = ""; then
4657 { { echo "$as_me:$LINENO: error: uniq is required to build AROS. Please install and run configure again." >&5
4658 echo "$as_me: error: uniq is required to build AROS. Please install and run configure again." >&2;}
4659 { (exit 1); exit 1; }; }
4661 # Extract the first word of "true", so it can be a program name with args.
4662 set dummy true
; ac_word
=$2
4663 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4665 if test "${ac_cv_prog_NOP+set}" = set; then
4666 echo $ECHO_N "(cached) $ECHO_C" >&6
4668 if test -n "$NOP"; then
4669 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
4671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4675 test -z "$as_dir" && as_dir
=.
4676 for ac_exec_ext
in '' $ac_executable_extensions; do
4677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4678 ac_cv_prog_NOP
="true "
4679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4689 if test -n "$NOP"; then
4690 { echo "$as_me:$LINENO: result: $NOP" >&5
4691 echo "${ECHO_T}$NOP" >&6; }
4693 { echo "$as_me:$LINENO: result: no" >&5
4694 echo "${ECHO_T}no" >&6; }
4698 if test "$NOP" = ""; then
4699 { { echo "$as_me:$LINENO: error: true is required to build AROS. Please install and run configure again." >&5
4700 echo "$as_me: error: true is required to build AROS. Please install and run configure again." >&2;}
4701 { (exit 1); exit 1; }; }
4703 # Extract the first word of "cat", so it can be a program name with args.
4704 set dummy
cat; ac_word
=$2
4705 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4707 if test "${ac_cv_prog_CAT+set}" = set; then
4708 echo $ECHO_N "(cached) $ECHO_C" >&6
4710 if test -n "$CAT"; then
4711 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
4713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4717 test -z "$as_dir" && as_dir
=.
4718 for ac_exec_ext
in '' $ac_executable_extensions; do
4719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4720 ac_cv_prog_CAT
="cat "
4721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4731 if test -n "$CAT"; then
4732 { echo "$as_me:$LINENO: result: $CAT" >&5
4733 echo "${ECHO_T}$CAT" >&6; }
4735 { echo "$as_me:$LINENO: result: no" >&5
4736 echo "${ECHO_T}no" >&6; }
4740 if test "$CAT" = ""; then
4741 { { echo "$as_me:$LINENO: error: cat is required to build AROS. Please install and run configure again." >&5
4742 echo "$as_me: error: cat is required to build AROS. Please install and run configure again." >&2;}
4743 { (exit 1); exit 1; }; }
4745 # Extract the first word of "bison", so it can be a program name with args.
4746 set dummy bison
; ac_word
=$2
4747 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4748 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4749 if test "${ac_cv_prog_BISON+set}" = set; then
4750 echo $ECHO_N "(cached) $ECHO_C" >&6
4752 if test -n "$BISON"; then
4753 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4759 test -z "$as_dir" && as_dir
=.
4760 for ac_exec_ext
in '' $ac_executable_extensions; do
4761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4762 ac_cv_prog_BISON
="bison "
4763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4772 BISON
=$ac_cv_prog_BISON
4773 if test -n "$BISON"; then
4774 { echo "$as_me:$LINENO: result: $BISON" >&5
4775 echo "${ECHO_T}$BISON" >&6; }
4777 { echo "$as_me:$LINENO: result: no" >&5
4778 echo "${ECHO_T}no" >&6; }
4782 if test "$BISON" = ""; then
4783 { { echo "$as_me:$LINENO: error: bison is required to build AROS. Please install and run configure again." >&5
4784 echo "$as_me: error: bison is required to build AROS. Please install and run configure again." >&2;}
4785 { (exit 1); exit 1; }; }
4787 # Extract the first word of "flex", so it can be a program name with args.
4788 set dummy flex
; ac_word
=$2
4789 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4791 if test "${ac_cv_prog_FLEX+set}" = set; then
4792 echo $ECHO_N "(cached) $ECHO_C" >&6
4794 if test -n "$FLEX"; then
4795 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4801 test -z "$as_dir" && as_dir
=.
4802 for ac_exec_ext
in '' $ac_executable_extensions; do
4803 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4804 ac_cv_prog_FLEX
="flex "
4805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4814 FLEX
=$ac_cv_prog_FLEX
4815 if test -n "$FLEX"; then
4816 { echo "$as_me:$LINENO: result: $FLEX" >&5
4817 echo "${ECHO_T}$FLEX" >&6; }
4819 { echo "$as_me:$LINENO: result: no" >&5
4820 echo "${ECHO_T}no" >&6; }
4824 if test "$FLEX" = ""; then
4825 { { echo "$as_me:$LINENO: error: flex is required to build AROS. Please install and run configure again." >&5
4826 echo "$as_me: error: flex is required to build AROS. Please install and run configure again." >&2;}
4827 { (exit 1); exit 1; }; }
4829 # Extract the first word of "pngtopnm", so it can be a program name with args.
4830 set dummy pngtopnm
; ac_word
=$2
4831 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4833 if test "${ac_cv_prog_PNGTOPNM+set}" = set; then
4834 echo $ECHO_N "(cached) $ECHO_C" >&6
4836 if test -n "$PNGTOPNM"; then
4837 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
4839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4843 test -z "$as_dir" && as_dir
=.
4844 for ac_exec_ext
in '' $ac_executable_extensions; do
4845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4846 ac_cv_prog_PNGTOPNM
="pngtopnm "
4847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4856 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
4857 if test -n "$PNGTOPNM"; then
4858 { echo "$as_me:$LINENO: result: $PNGTOPNM" >&5
4859 echo "${ECHO_T}$PNGTOPNM" >&6; }
4861 { echo "$as_me:$LINENO: result: no" >&5
4862 echo "${ECHO_T}no" >&6; }
4866 if test "$PNGTOPNM" = ""; then
4867 { { echo "$as_me:$LINENO: error: pngtopnm is required to build AROS. Please install and run configure again." >&5
4868 echo "$as_me: error: pngtopnm is required to build AROS. Please install and run configure again." >&2;}
4869 { (exit 1); exit 1; }; }
4871 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
4872 set dummy ppmtoilbm
; ac_word
=$2
4873 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4875 if test "${ac_cv_prog_PPMTOILBM+set}" = set; then
4876 echo $ECHO_N "(cached) $ECHO_C" >&6
4878 if test -n "$PPMTOILBM"; then
4879 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
4881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4885 test -z "$as_dir" && as_dir
=.
4886 for ac_exec_ext
in '' $ac_executable_extensions; do
4887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4888 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
4889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4898 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
4899 if test -n "$PPMTOILBM"; then
4900 { echo "$as_me:$LINENO: result: $PPMTOILBM" >&5
4901 echo "${ECHO_T}$PPMTOILBM" >&6; }
4903 { echo "$as_me:$LINENO: result: no" >&5
4904 echo "${ECHO_T}no" >&6; }
4908 if test "$PPMTOILBM" = ""; then
4909 { { echo "$as_me:$LINENO: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&5
4910 echo "$as_me: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&2;}
4911 { (exit 1); exit 1; }; }
4913 # Extract the first word of "sed", so it can be a program name with args.
4914 set dummy
sed; ac_word
=$2
4915 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4917 if test "${ac_cv_prog_SED+set}" = set; then
4918 echo $ECHO_N "(cached) $ECHO_C" >&6
4920 if test -n "$SED"; then
4921 ac_cv_prog_SED
="$SED" # Let the user override the test.
4923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4927 test -z "$as_dir" && as_dir
=.
4928 for ac_exec_ext
in '' $ac_executable_extensions; do
4929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4930 ac_cv_prog_SED
="sed "
4931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4941 if test -n "$SED"; then
4942 { echo "$as_me:$LINENO: result: $SED" >&5
4943 echo "${ECHO_T}$SED" >&6; }
4945 { echo "$as_me:$LINENO: result: no" >&5
4946 echo "${ECHO_T}no" >&6; }
4950 if test "$SED" = ""; then
4951 { { echo "$as_me:$LINENO: error: sed is required to build AROS. Please install and run configure again." >&5
4952 echo "$as_me: error: sed is required to build AROS. Please install and run configure again." >&2;}
4953 { (exit 1); exit 1; }; }
4955 # Extract the first word of "chmod", so it can be a program name with args.
4956 set dummy
chmod; ac_word
=$2
4957 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4959 if test "${ac_cv_prog_CHMOD+set}" = set; then
4960 echo $ECHO_N "(cached) $ECHO_C" >&6
4962 if test -n "$CHMOD"; then
4963 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
4965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4969 test -z "$as_dir" && as_dir
=.
4970 for ac_exec_ext
in '' $ac_executable_extensions; do
4971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4972 ac_cv_prog_CHMOD
="chmod "
4973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4982 CHMOD
=$ac_cv_prog_CHMOD
4983 if test -n "$CHMOD"; then
4984 { echo "$as_me:$LINENO: result: $CHMOD" >&5
4985 echo "${ECHO_T}$CHMOD" >&6; }
4987 { echo "$as_me:$LINENO: result: no" >&5
4988 echo "${ECHO_T}no" >&6; }
4992 if test "$CHMOD" = ""; then
4993 { { echo "$as_me:$LINENO: error: chmod is required to build AROS. Please install and run configure again." >&5
4994 echo "$as_me: error: chmod is required to build AROS. Please install and run configure again." >&2;}
4995 { (exit 1); exit 1; }; }
5002 if test -n "$PYTHON"; then
5003 # If the user set $PYTHON, use it and don't search something else.
5004 { echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.5" >&5
5005 echo $ECHO_N "checking whether $PYTHON version >= 2.5... $ECHO_C" >&6; }
5006 prog
="import sys, string
5007 # split strings by '.' and convert to numeric. Append some zeros
5008 # because we need at least 4 digits for the hex conversion.
5009 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5011 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5012 sys.exit(sys.hexversion < minverhex)"
5013 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5014 ($PYTHON -c "$prog") >&5 2>&5
5016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5017 (exit $ac_status); }; then
5018 { echo "$as_me:$LINENO: result: yes" >&5
5019 echo "${ECHO_T}yes" >&6; }
5021 { { echo "$as_me:$LINENO: error: too old" >&5
5022 echo "$as_me: error: too old" >&2;}
5023 { (exit 1); exit 1; }; }
5026 am_display_PYTHON
=$PYTHON
5028 # Otherwise, try each interpreter until we find one that satisfies
5030 { echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.5" >&5
5031 echo $ECHO_N "checking for a Python interpreter with version >= 2.5... $ECHO_C" >&6; }
5032 if test "${am_cv_pathless_PYTHON+set}" = set; then
5033 echo $ECHO_N "(cached) $ECHO_C" >&6
5036 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
5037 test "$am_cv_pathless_PYTHON" = none
&& break
5038 prog
="import sys, string
5039 # split strings by '.' and convert to numeric. Append some zeros
5040 # because we need at least 4 digits for the hex conversion.
5041 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5043 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5044 sys.exit(sys.hexversion < minverhex)"
5045 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5046 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5049 (exit $ac_status); }; then
5055 { echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
5056 echo "${ECHO_T}$am_cv_pathless_PYTHON" >&6; }
5057 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5058 if test "$am_cv_pathless_PYTHON" = none
; then
5061 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5062 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5063 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5065 if test "${ac_cv_path_PYTHON+set}" = set; then
5066 echo $ECHO_N "(cached) $ECHO_C" >&6
5070 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5077 test -z "$as_dir" && as_dir
=.
5078 for ac_exec_ext
in '' $ac_executable_extensions; do
5079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5080 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5091 PYTHON
=$ac_cv_path_PYTHON
5092 if test -n "$PYTHON"; then
5093 { echo "$as_me:$LINENO: result: $PYTHON" >&5
5094 echo "${ECHO_T}$PYTHON" >&6; }
5096 { echo "$as_me:$LINENO: result: no" >&5
5097 echo "${ECHO_T}no" >&6; }
5102 am_display_PYTHON
=$am_cv_pathless_PYTHON
5106 if test "$PYTHON" = :; then
5107 { { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
5108 echo "$as_me: error: no suitable Python interpreter found" >&2;}
5109 { (exit 1); exit 1; }; }
5113 { echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
5114 echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; }
5115 if test "${am_cv_python_version+set}" = set; then
5116 echo $ECHO_N "(cached) $ECHO_C" >&6
5118 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
5120 { echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
5121 echo "${ECHO_T}$am_cv_python_version" >&6; }
5122 PYTHON_VERSION
=$am_cv_python_version
5126 PYTHON_PREFIX
='${prefix}'
5128 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5132 { echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
5133 echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; }
5134 if test "${am_cv_python_platform+set}" = set; then
5135 echo $ECHO_N "(cached) $ECHO_C" >&6
5137 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
5139 { echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
5140 echo "${ECHO_T}$am_cv_python_platform" >&6; }
5141 PYTHON_PLATFORM
=$am_cv_python_platform
5146 { echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
5147 echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6; }
5148 if test "${am_cv_python_pythondir+set}" = set; then
5149 echo $ECHO_N "(cached) $ECHO_C" >&6
5151 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5152 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5154 { echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
5155 echo "${ECHO_T}$am_cv_python_pythondir" >&6; }
5156 pythondir
=$am_cv_python_pythondir
5160 pkgpythondir
=\
${pythondir}/$PACKAGE
5163 { echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
5164 echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6; }
5165 if test "${am_cv_python_pyexecdir+set}" = set; then
5166 echo $ECHO_N "(cached) $ECHO_C" >&6
5168 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5169 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5171 { echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
5172 echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; }
5173 pyexecdir
=$am_cv_python_pyexecdir
5177 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5195 # Check for some includes for the X11 HIDD and the kernel
5198 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5199 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5200 if test "${ac_cv_path_GREP+set}" = set; then
5201 echo $ECHO_N "(cached) $ECHO_C" >&6
5203 # Extract the first word of "grep ggrep" to use in msg output
5204 if test -z "$GREP"; then
5205 set dummy
grep ggrep
; ac_prog_name
=$2
5206 if test "${ac_cv_path_GREP+set}" = set; then
5207 echo $ECHO_N "(cached) $ECHO_C" >&6
5209 ac_path_GREP_found
=false
5210 # Loop through the user's path and test for each of PROGNAME-LIST
5211 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5212 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5215 test -z "$as_dir" && as_dir
=.
5216 for ac_prog
in grep ggrep
; do
5217 for ac_exec_ext
in '' $ac_executable_extensions; do
5218 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5219 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5220 # Check for GNU ac_path_GREP and select it if it is found.
5221 # Check for GNU $ac_path_GREP
5222 case `"$ac_path_GREP" --version 2>&1` in
5224 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5227 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5230 cat "conftest.in" "conftest.in" >"conftest.tmp"
5231 mv "conftest.tmp" "conftest.in"
5232 cp "conftest.in" "conftest.nl"
5233 echo 'GREP' >> "conftest.nl"
5234 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5235 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5236 ac_count
=`expr $ac_count + 1`
5237 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5238 # Best one so far, save it but keep looking for a better one
5239 ac_cv_path_GREP
="$ac_path_GREP"
5240 ac_path_GREP_max
=$ac_count
5242 # 10*(2^10) chars as input seems more than enough
5243 test $ac_count -gt 10 && break
5245 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5249 $ac_path_GREP_found && break 3
5259 GREP
="$ac_cv_path_GREP"
5260 if test -z "$GREP"; then
5261 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5262 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5263 { (exit 1); exit 1; }; }
5267 ac_cv_path_GREP
=$GREP
5272 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5273 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5274 GREP
="$ac_cv_path_GREP"
5277 { echo "$as_me:$LINENO: checking for egrep" >&5
5278 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5279 if test "${ac_cv_path_EGREP+set}" = set; then
5280 echo $ECHO_N "(cached) $ECHO_C" >&6
5282 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5283 then ac_cv_path_EGREP
="$GREP -E"
5285 # Extract the first word of "egrep" to use in msg output
5286 if test -z "$EGREP"; then
5287 set dummy
egrep; ac_prog_name
=$2
5288 if test "${ac_cv_path_EGREP+set}" = set; then
5289 echo $ECHO_N "(cached) $ECHO_C" >&6
5291 ac_path_EGREP_found
=false
5292 # Loop through the user's path and test for each of PROGNAME-LIST
5293 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5294 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5297 test -z "$as_dir" && as_dir
=.
5298 for ac_prog
in egrep; do
5299 for ac_exec_ext
in '' $ac_executable_extensions; do
5300 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5301 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5302 # Check for GNU ac_path_EGREP and select it if it is found.
5303 # Check for GNU $ac_path_EGREP
5304 case `"$ac_path_EGREP" --version 2>&1` in
5306 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5309 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5312 cat "conftest.in" "conftest.in" >"conftest.tmp"
5313 mv "conftest.tmp" "conftest.in"
5314 cp "conftest.in" "conftest.nl"
5315 echo 'EGREP' >> "conftest.nl"
5316 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5317 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5318 ac_count
=`expr $ac_count + 1`
5319 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5320 # Best one so far, save it but keep looking for a better one
5321 ac_cv_path_EGREP
="$ac_path_EGREP"
5322 ac_path_EGREP_max
=$ac_count
5324 # 10*(2^10) chars as input seems more than enough
5325 test $ac_count -gt 10 && break
5327 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5331 $ac_path_EGREP_found && break 3
5341 EGREP
="$ac_cv_path_EGREP"
5342 if test -z "$EGREP"; then
5343 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5344 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5345 { (exit 1); exit 1; }; }
5349 ac_cv_path_EGREP
=$EGREP
5355 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5356 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5357 EGREP
="$ac_cv_path_EGREP"
5360 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5361 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5362 if test "${ac_cv_header_stdc+set}" = set; then
5363 echo $ECHO_N "(cached) $ECHO_C" >&6
5365 cat >conftest.
$ac_ext <<_ACEOF
5368 cat confdefs.h
>>conftest.
$ac_ext
5369 cat >>conftest.
$ac_ext <<_ACEOF
5370 /* end confdefs.h. */
5384 rm -f conftest.
$ac_objext
5385 if { (ac_try
="$ac_compile"
5387 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5388 *) ac_try_echo=$ac_try;;
5390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5391 (eval "$ac_compile") 2>conftest.er1
5393 grep -v '^ *+' conftest.er1 >conftest.err
5395 cat conftest.err >&5
5396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5397 (exit $ac_status); } && {
5398 test -z "$ac_c_werror_flag" ||
5399 test ! -s conftest.err
5400 } && test -s conftest.$ac_objext; then
5401 ac_cv_header_stdc=yes
5403 echo "$as_me: failed program was:" >&5
5404 sed 's/^/| /' conftest.$ac_ext >&5
5406 ac_cv_header_stdc=no
5409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5411 if test $ac_cv_header_stdc = yes; then
5412 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5413 cat >conftest.$ac_ext <<_ACEOF
5416 cat confdefs.h >>conftest.$ac_ext
5417 cat >>conftest.$ac_ext <<_ACEOF
5418 /* end confdefs.h. */
5422 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5423 $EGREP "memchr" >/dev/null 2>&1; then
5426 ac_cv_header_stdc=no
5432 if test $ac_cv_header_stdc = yes; then
5433 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5434 cat >conftest.$ac_ext <<_ACEOF
5437 cat confdefs.h >>conftest.$ac_ext
5438 cat >>conftest.$ac_ext <<_ACEOF
5439 /* end confdefs.h. */
5443 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5444 $EGREP "free" >/dev/null 2>&1; then
5447 ac_cv_header_stdc=no
5453 if test $ac_cv_header_stdc = yes; then
5454 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5455 if test "$cross_compiling" = yes; then
5458 cat >conftest.$ac_ext <<_ACEOF
5461 cat confdefs.h >>conftest.$ac_ext
5462 cat >>conftest.$ac_ext <<_ACEOF
5463 /* end confdefs.h. */
5466 #if ((' ' & 0x0FF) == 0x020)
5467 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5468 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5470 # define ISLOWER(c) \
5471 (('a' <= (c) && (c) <= 'i') \
5472 || ('j' <= (c) && (c) <= 'r') \
5473 || ('s' <= (c) && (c) <= 'z'))
5474 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5477 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5482 for (i = 0; i < 256; i++)
5483 if (XOR (islower (i), ISLOWER (i))
5484 || toupper (i) != TOUPPER (i))
5489 rm -f conftest$ac_exeext
5490 if { (ac_try="$ac_link"
5492 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5493 *) ac_try_echo
=$ac_try;;
5495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5496 (eval "$ac_link") 2>&5
5498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5499 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5500 { (case "(($ac_try" in
5501 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5502 *) ac_try_echo=$ac_try;;
5504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5505 (eval "$ac_try") 2>&5
5507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5508 (exit $ac_status); }; }; then
5511 echo "$as_me: program exited with status $ac_status" >&5
5512 echo "$as_me: failed program was:" >&5
5513 sed 's/^/| /' conftest.$ac_ext >&5
5516 ac_cv_header_stdc=no
5518 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5524 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5525 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5526 if test $ac_cv_header_stdc = yes; then
5528 cat >>confdefs.h <<\_ACEOF
5529 #define STDC_HEADERS 1
5534 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5544 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5545 inttypes.h stdint.h unistd.h
5547 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5548 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5549 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5550 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5551 echo $ECHO_N "(cached) $ECHO_C" >&6
5553 cat >conftest.$ac_ext <<_ACEOF
5556 cat confdefs.h >>conftest.$ac_ext
5557 cat >>conftest.$ac_ext <<_ACEOF
5558 /* end confdefs.h. */
5559 $ac_includes_default
5561 #include <$ac_header>
5563 rm -f conftest.$ac_objext
5564 if { (ac_try="$ac_compile"
5566 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5567 *) ac_try_echo
=$ac_try;;
5569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5570 (eval "$ac_compile") 2>conftest.er1
5572 grep -v '^ *+' conftest.er1
>conftest.err
5574 cat conftest.err
>&5
5575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5576 (exit $ac_status); } && {
5577 test -z "$ac_c_werror_flag" ||
5578 test ! -s conftest.err
5579 } && test -s conftest.
$ac_objext; then
5580 eval "$as_ac_Header=yes"
5582 echo "$as_me: failed program was:" >&5
5583 sed 's/^/| /' conftest.
$ac_ext >&5
5585 eval "$as_ac_Header=no"
5588 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5590 ac_res
=`eval echo '${'$as_ac_Header'}'`
5591 { echo "$as_me:$LINENO: result: $ac_res" >&5
5592 echo "${ECHO_T}$ac_res" >&6; }
5593 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5594 cat >>confdefs.h
<<_ACEOF
5595 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5612 for ac_header
in sys
/ipc.h sys
/shm.h \
5613 sys
/mmap.h sys
/mman.h sysexits.h \
5614 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
5617 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5618 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5619 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5620 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5621 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5622 echo $ECHO_N "(cached) $ECHO_C" >&6
5624 ac_res
=`eval echo '${'$as_ac_Header'}'`
5625 { echo "$as_me:$LINENO: result: $ac_res" >&5
5626 echo "${ECHO_T}$ac_res" >&6; }
5628 # Is the header compilable?
5629 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5630 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5631 cat >conftest.
$ac_ext <<_ACEOF
5634 cat confdefs.h
>>conftest.
$ac_ext
5635 cat >>conftest.
$ac_ext <<_ACEOF
5636 /* end confdefs.h. */
5637 $ac_includes_default
5638 #include <$ac_header>
5640 rm -f conftest.
$ac_objext
5641 if { (ac_try
="$ac_compile"
5643 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5644 *) ac_try_echo=$ac_try;;
5646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5647 (eval "$ac_compile") 2>conftest.er1
5649 grep -v '^ *+' conftest.er1 >conftest.err
5651 cat conftest.err >&5
5652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5653 (exit $ac_status); } && {
5654 test -z "$ac_c_werror_flag" ||
5655 test ! -s conftest.err
5656 } && test -s conftest.$ac_objext; then
5657 ac_header_compiler=yes
5659 echo "$as_me: failed program was:" >&5
5660 sed 's/^/| /' conftest.$ac_ext >&5
5662 ac_header_compiler=no
5665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5666 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5667 echo "${ECHO_T}$ac_header_compiler" >&6; }
5669 # Is the header present?
5670 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5671 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5672 cat >conftest.$ac_ext <<_ACEOF
5675 cat confdefs.h >>conftest.$ac_ext
5676 cat >>conftest.$ac_ext <<_ACEOF
5677 /* end confdefs.h. */
5678 #include <$ac_header>
5680 if { (ac_try="$ac_cpp conftest.$ac_ext"
5682 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5683 *) ac_try_echo
=$ac_try;;
5685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5686 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5688 grep -v '^ *+' conftest.er1
>conftest.err
5690 cat conftest.err
>&5
5691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5692 (exit $ac_status); } >/dev
/null
&& {
5693 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5694 test ! -s conftest.err
5696 ac_header_preproc
=yes
5698 echo "$as_me: failed program was:" >&5
5699 sed 's/^/| /' conftest.
$ac_ext >&5
5701 ac_header_preproc
=no
5704 rm -f conftest.err conftest.
$ac_ext
5705 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5706 echo "${ECHO_T}$ac_header_preproc" >&6; }
5708 # So? What about this header?
5709 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5711 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5712 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5713 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5714 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5715 ac_header_preproc
=yes
5718 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5719 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5720 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5721 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5722 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5723 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5724 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5725 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5726 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5727 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5728 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5729 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5733 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5734 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5735 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5736 echo $ECHO_N "(cached) $ECHO_C" >&6
5738 eval "$as_ac_Header=\$ac_header_preproc"
5740 ac_res
=`eval echo '${'$as_ac_Header'}'`
5741 { echo "$as_me:$LINENO: result: $ac_res" >&5
5742 echo "${ECHO_T}$ac_res" >&6; }
5745 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5746 cat >>confdefs.h
<<_ACEOF
5747 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5756 for ac_header
in sys
/mount.h
5758 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5759 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5760 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5761 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5762 echo $ECHO_N "(cached) $ECHO_C" >&6
5764 cat >conftest.
$ac_ext <<_ACEOF
5767 cat confdefs.h
>>conftest.
$ac_ext
5768 cat >>conftest.
$ac_ext <<_ACEOF
5769 /* end confdefs.h. */
5770 #include <sys/param.h>
5772 #include <$ac_header>
5774 rm -f conftest.
$ac_objext
5775 if { (ac_try
="$ac_compile"
5777 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5778 *) ac_try_echo=$ac_try;;
5780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5781 (eval "$ac_compile") 2>conftest.er1
5783 grep -v '^ *+' conftest.er1 >conftest.err
5785 cat conftest.err >&5
5786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5787 (exit $ac_status); } && {
5788 test -z "$ac_c_werror_flag" ||
5789 test ! -s conftest.err
5790 } && test -s conftest.$ac_objext; then
5791 eval "$as_ac_Header=yes"
5793 echo "$as_me: failed program was:" >&5
5794 sed 's/^/| /' conftest.$ac_ext >&5
5796 eval "$as_ac_Header=no"
5799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5801 ac_res=`eval echo '${'$as_ac_Header'}'`
5802 { echo "$as_me:$LINENO: result: $ac_res" >&5
5803 echo "${ECHO_T}$ac_res" >&6; }
5804 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5805 cat >>confdefs.h <<_ACEOF
5806 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5820 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
5821 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
5822 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
5823 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
5824 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5825 echo $ECHO_N "(cached) $ECHO_C" >&6
5827 cat >conftest.$ac_ext <<_ACEOF
5830 cat confdefs.h >>conftest.$ac_ext
5831 cat >>conftest.$ac_ext <<_ACEOF
5832 /* end confdefs.h. */
5833 #include <sys/types.h>
5845 rm -f conftest.$ac_objext
5846 if { (ac_try="$ac_compile"
5848 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5849 *) ac_try_echo
=$ac_try;;
5851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5852 (eval "$ac_compile") 2>conftest.er1
5854 grep -v '^ *+' conftest.er1
>conftest.err
5856 cat conftest.err
>&5
5857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5858 (exit $ac_status); } && {
5859 test -z "$ac_c_werror_flag" ||
5860 test ! -s conftest.err
5861 } && test -s conftest.
$ac_objext; then
5862 eval "$as_ac_Header=yes"
5864 echo "$as_me: failed program was:" >&5
5865 sed 's/^/| /' conftest.
$ac_ext >&5
5867 eval "$as_ac_Header=no"
5870 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5872 ac_res
=`eval echo '${'$as_ac_Header'}'`
5873 { echo "$as_me:$LINENO: result: $ac_res" >&5
5874 echo "${ECHO_T}$ac_res" >&6; }
5875 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5876 cat >>confdefs.h
<<_ACEOF
5877 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5880 ac_header_dirent
=$ac_hdr; break
5884 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5885 if test $ac_header_dirent = dirent.h
; then
5886 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
5887 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
5888 if test "${ac_cv_search_opendir+set}" = set; then
5889 echo $ECHO_N "(cached) $ECHO_C" >&6
5891 ac_func_search_save_LIBS
=$LIBS
5892 cat >conftest.
$ac_ext <<_ACEOF
5895 cat confdefs.h
>>conftest.
$ac_ext
5896 cat >>conftest.
$ac_ext <<_ACEOF
5897 /* end confdefs.h. */
5899 /* Override any GCC internal prototype to avoid an error.
5900 Use char because int might match the return type of a GCC
5901 builtin and then its argument prototype would still apply. */
5914 for ac_lib
in '' dir
; do
5915 if test -z "$ac_lib"; then
5916 ac_res
="none required"
5919 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5921 rm -f conftest.
$ac_objext conftest
$ac_exeext
5922 if { (ac_try
="$ac_link"
5924 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5925 *) ac_try_echo=$ac_try;;
5927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5928 (eval "$ac_link") 2>conftest.er1
5930 grep -v '^ *+' conftest.er1 >conftest.err
5932 cat conftest.err >&5
5933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5934 (exit $ac_status); } && {
5935 test -z "$ac_c_werror_flag" ||
5936 test ! -s conftest.err
5937 } && test -s conftest$ac_exeext &&
5938 $as_test_x conftest$ac_exeext; then
5939 ac_cv_search_opendir=$ac_res
5941 echo "$as_me: failed program was:" >&5
5942 sed 's/^/| /' conftest.$ac_ext >&5
5947 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5949 if test "${ac_cv_search_opendir+set}" = set; then
5953 if test "${ac_cv_search_opendir+set}" = set; then
5956 ac_cv_search_opendir=no
5959 LIBS=$ac_func_search_save_LIBS
5961 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5962 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
5963 ac_res=$ac_cv_search_opendir
5964 if test "$ac_res" != no; then
5965 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5970 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
5971 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
5972 if test "${ac_cv_search_opendir+set}" = set; then
5973 echo $ECHO_N "(cached) $ECHO_C" >&6
5975 ac_func_search_save_LIBS=$LIBS
5976 cat >conftest.$ac_ext <<_ACEOF
5979 cat confdefs.h >>conftest.$ac_ext
5980 cat >>conftest.$ac_ext <<_ACEOF
5981 /* end confdefs.h. */
5983 /* Override any GCC internal prototype to avoid an error.
5984 Use char because int might match the return type of a GCC
5985 builtin and then its argument prototype would still apply. */
5998 for ac_lib in '' x; do
5999 if test -z "$ac_lib"; then
6000 ac_res="none required"
6003 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6005 rm -f conftest.$ac_objext conftest$ac_exeext
6006 if { (ac_try="$ac_link"
6008 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6009 *) ac_try_echo
=$ac_try;;
6011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6012 (eval "$ac_link") 2>conftest.er1
6014 grep -v '^ *+' conftest.er1
>conftest.err
6016 cat conftest.err
>&5
6017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6018 (exit $ac_status); } && {
6019 test -z "$ac_c_werror_flag" ||
6020 test ! -s conftest.err
6021 } && test -s conftest
$ac_exeext &&
6022 $as_test_x conftest
$ac_exeext; then
6023 ac_cv_search_opendir
=$ac_res
6025 echo "$as_me: failed program was:" >&5
6026 sed 's/^/| /' conftest.
$ac_ext >&5
6031 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6033 if test "${ac_cv_search_opendir+set}" = set; then
6037 if test "${ac_cv_search_opendir+set}" = set; then
6040 ac_cv_search_opendir
=no
6043 LIBS
=$ac_func_search_save_LIBS
6045 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
6046 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
6047 ac_res
=$ac_cv_search_opendir
6048 if test "$ac_res" != no
; then
6049 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
6055 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
6056 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
6057 if test "${ac_cv_header_stat_broken+set}" = set; then
6058 echo $ECHO_N "(cached) $ECHO_C" >&6
6060 cat >conftest.
$ac_ext <<_ACEOF
6063 cat confdefs.h
>>conftest.
$ac_ext
6064 cat >>conftest.
$ac_ext <<_ACEOF
6065 /* end confdefs.h. */
6066 #include <sys/types.h>
6067 #include <sys/stat.h>
6069 #if defined S_ISBLK && defined S_IFDIR
6070 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6073 #if defined S_ISBLK && defined S_IFCHR
6074 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6077 #if defined S_ISLNK && defined S_IFREG
6078 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6081 #if defined S_ISSOCK && defined S_IFREG
6082 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6086 rm -f conftest.
$ac_objext
6087 if { (ac_try
="$ac_compile"
6089 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6090 *) ac_try_echo=$ac_try;;
6092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6093 (eval "$ac_compile") 2>conftest.er1
6095 grep -v '^ *+' conftest.er1 >conftest.err
6097 cat conftest.err >&5
6098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6099 (exit $ac_status); } && {
6100 test -z "$ac_c_werror_flag" ||
6101 test ! -s conftest.err
6102 } && test -s conftest.$ac_objext; then
6103 ac_cv_header_stat_broken=no
6105 echo "$as_me: failed program was:" >&5
6106 sed 's/^/| /' conftest.$ac_ext >&5
6108 ac_cv_header_stat_broken=yes
6111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6113 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
6114 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
6115 if test $ac_cv_header_stat_broken = yes; then
6117 cat >>confdefs.h <<\_ACEOF
6118 #define STAT_MACROS_BROKEN 1
6123 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6124 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6125 if test "${ac_cv_header_stdc+set}" = set; then
6126 echo $ECHO_N "(cached) $ECHO_C" >&6
6128 cat >conftest.$ac_ext <<_ACEOF
6131 cat confdefs.h >>conftest.$ac_ext
6132 cat >>conftest.$ac_ext <<_ACEOF
6133 /* end confdefs.h. */
6147 rm -f conftest.$ac_objext
6148 if { (ac_try="$ac_compile"
6150 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6151 *) ac_try_echo
=$ac_try;;
6153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6154 (eval "$ac_compile") 2>conftest.er1
6156 grep -v '^ *+' conftest.er1
>conftest.err
6158 cat conftest.err
>&5
6159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6160 (exit $ac_status); } && {
6161 test -z "$ac_c_werror_flag" ||
6162 test ! -s conftest.err
6163 } && test -s conftest.
$ac_objext; then
6164 ac_cv_header_stdc
=yes
6166 echo "$as_me: failed program was:" >&5
6167 sed 's/^/| /' conftest.
$ac_ext >&5
6169 ac_cv_header_stdc
=no
6172 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6174 if test $ac_cv_header_stdc = yes; then
6175 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6176 cat >conftest.
$ac_ext <<_ACEOF
6179 cat confdefs.h
>>conftest.
$ac_ext
6180 cat >>conftest.
$ac_ext <<_ACEOF
6181 /* end confdefs.h. */
6185 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6186 $EGREP "memchr" >/dev
/null
2>&1; then
6189 ac_cv_header_stdc
=no
6195 if test $ac_cv_header_stdc = yes; then
6196 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6197 cat >conftest.
$ac_ext <<_ACEOF
6200 cat confdefs.h
>>conftest.
$ac_ext
6201 cat >>conftest.
$ac_ext <<_ACEOF
6202 /* end confdefs.h. */
6206 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6207 $EGREP "free" >/dev
/null
2>&1; then
6210 ac_cv_header_stdc
=no
6216 if test $ac_cv_header_stdc = yes; then
6217 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6218 if test "$cross_compiling" = yes; then
6221 cat >conftest.
$ac_ext <<_ACEOF
6224 cat confdefs.h
>>conftest.
$ac_ext
6225 cat >>conftest.
$ac_ext <<_ACEOF
6226 /* end confdefs.h. */
6229 #if ((' ' & 0x0FF) == 0x020)
6230 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6231 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6233 # define ISLOWER(c) \
6234 (('a' <= (c) && (c) <= 'i') \
6235 || ('j' <= (c) && (c) <= 'r') \
6236 || ('s' <= (c) && (c) <= 'z'))
6237 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6240 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6245 for (i = 0; i < 256; i++)
6246 if (XOR (islower (i), ISLOWER (i))
6247 || toupper (i) != TOUPPER (i))
6252 rm -f conftest
$ac_exeext
6253 if { (ac_try
="$ac_link"
6255 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6256 *) ac_try_echo=$ac_try;;
6258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6259 (eval "$ac_link") 2>&5
6261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6262 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6263 { (case "(($ac_try" in
6264 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6265 *) ac_try_echo
=$ac_try;;
6267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6268 (eval "$ac_try") 2>&5
6270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6271 (exit $ac_status); }; }; then
6274 echo "$as_me: program exited with status $ac_status" >&5
6275 echo "$as_me: failed program was:" >&5
6276 sed 's/^/| /' conftest.
$ac_ext >&5
6279 ac_cv_header_stdc
=no
6281 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6287 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6288 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6289 if test $ac_cv_header_stdc = yes; then
6291 cat >>confdefs.h
<<\_ACEOF
6292 #define STDC_HEADERS 1
6297 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
6298 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
6299 if test "${ac_cv_header_sys_wait_h+set}" = set; then
6300 echo $ECHO_N "(cached) $ECHO_C" >&6
6302 cat >conftest.
$ac_ext <<_ACEOF
6305 cat confdefs.h
>>conftest.
$ac_ext
6306 cat >>conftest.
$ac_ext <<_ACEOF
6307 /* end confdefs.h. */
6308 #include <sys/types.h>
6309 #include <sys/wait.h>
6311 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6314 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6322 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6327 rm -f conftest.
$ac_objext
6328 if { (ac_try
="$ac_compile"
6330 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6331 *) ac_try_echo=$ac_try;;
6333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6334 (eval "$ac_compile") 2>conftest.er1
6336 grep -v '^ *+' conftest.er1 >conftest.err
6338 cat conftest.err >&5
6339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6340 (exit $ac_status); } && {
6341 test -z "$ac_c_werror_flag" ||
6342 test ! -s conftest.err
6343 } && test -s conftest.$ac_objext; then
6344 ac_cv_header_sys_wait_h=yes
6346 echo "$as_me: failed program was:" >&5
6347 sed 's/^/| /' conftest.$ac_ext >&5
6349 ac_cv_header_sys_wait_h=no
6352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6354 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
6355 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
6356 if test $ac_cv_header_sys_wait_h = yes; then
6358 cat >>confdefs.h <<\_ACEOF
6359 #define HAVE_SYS_WAIT_H 1
6364 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6365 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
6366 if test "${ac_cv_header_time+set}" = set; then
6367 echo $ECHO_N "(cached) $ECHO_C" >&6
6369 cat >conftest.$ac_ext <<_ACEOF
6372 cat confdefs.h >>conftest.$ac_ext
6373 cat >>conftest.$ac_ext <<_ACEOF
6374 /* end confdefs.h. */
6375 #include <sys/types.h>
6376 #include <sys/time.h>
6382 if ((struct tm *) 0)
6388 rm -f conftest.$ac_objext
6389 if { (ac_try="$ac_compile"
6391 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6392 *) ac_try_echo
=$ac_try;;
6394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6395 (eval "$ac_compile") 2>conftest.er1
6397 grep -v '^ *+' conftest.er1
>conftest.err
6399 cat conftest.err
>&5
6400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6401 (exit $ac_status); } && {
6402 test -z "$ac_c_werror_flag" ||
6403 test ! -s conftest.err
6404 } && test -s conftest.
$ac_objext; then
6405 ac_cv_header_time
=yes
6407 echo "$as_me: failed program was:" >&5
6408 sed 's/^/| /' conftest.
$ac_ext >&5
6410 ac_cv_header_time
=no
6413 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6415 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6416 echo "${ECHO_T}$ac_cv_header_time" >&6; }
6417 if test $ac_cv_header_time = yes; then
6419 cat >>confdefs.h
<<\_ACEOF
6420 #define TIME_WITH_SYS_TIME 1
6425 { echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6426 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6; }
6427 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6428 echo $ECHO_N "(cached) $ECHO_C" >&6
6430 cat >conftest.
$ac_ext <<_ACEOF
6433 cat confdefs.h
>>conftest.
$ac_ext
6434 cat >>conftest.
$ac_ext <<_ACEOF
6435 /* end confdefs.h. */
6436 $ac_includes_default
6440 static struct stat ac_aggr;
6441 if (ac_aggr.st_blksize)
6447 rm -f conftest.
$ac_objext
6448 if { (ac_try
="$ac_compile"
6450 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6451 *) ac_try_echo=$ac_try;;
6453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6454 (eval "$ac_compile") 2>conftest.er1
6456 grep -v '^ *+' conftest.er1 >conftest.err
6458 cat conftest.err >&5
6459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6460 (exit $ac_status); } && {
6461 test -z "$ac_c_werror_flag" ||
6462 test ! -s conftest.err
6463 } && test -s conftest.$ac_objext; then
6464 ac_cv_member_struct_stat_st_blksize=yes
6466 echo "$as_me: failed program was:" >&5
6467 sed 's/^/| /' conftest.$ac_ext >&5
6469 cat >conftest.$ac_ext <<_ACEOF
6472 cat confdefs.h >>conftest.$ac_ext
6473 cat >>conftest.$ac_ext <<_ACEOF
6474 /* end confdefs.h. */
6475 $ac_includes_default
6479 static struct stat ac_aggr;
6480 if (sizeof ac_aggr.st_blksize)
6486 rm -f conftest.$ac_objext
6487 if { (ac_try="$ac_compile"
6489 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6490 *) ac_try_echo
=$ac_try;;
6492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6493 (eval "$ac_compile") 2>conftest.er1
6495 grep -v '^ *+' conftest.er1
>conftest.err
6497 cat conftest.err
>&5
6498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6499 (exit $ac_status); } && {
6500 test -z "$ac_c_werror_flag" ||
6501 test ! -s conftest.err
6502 } && test -s conftest.
$ac_objext; then
6503 ac_cv_member_struct_stat_st_blksize
=yes
6505 echo "$as_me: failed program was:" >&5
6506 sed 's/^/| /' conftest.
$ac_ext >&5
6508 ac_cv_member_struct_stat_st_blksize
=no
6511 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6514 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6516 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
6517 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6; }
6518 if test $ac_cv_member_struct_stat_st_blksize = yes; then
6520 cat >>confdefs.h
<<_ACEOF
6521 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6525 cat >>confdefs.h
<<\_ACEOF
6526 #define HAVE_ST_BLKSIZE 1
6532 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
6533 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
6534 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
6535 echo $ECHO_N "(cached) $ECHO_C" >&6
6537 cat >conftest.
$ac_ext <<_ACEOF
6540 cat confdefs.h
>>conftest.
$ac_ext
6541 cat >>conftest.
$ac_ext <<_ACEOF
6542 /* end confdefs.h. */
6543 $ac_includes_default
6547 static struct stat ac_aggr;
6548 if (ac_aggr.st_blocks)
6554 rm -f conftest.
$ac_objext
6555 if { (ac_try
="$ac_compile"
6557 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6558 *) ac_try_echo=$ac_try;;
6560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6561 (eval "$ac_compile") 2>conftest.er1
6563 grep -v '^ *+' conftest.er1 >conftest.err
6565 cat conftest.err >&5
6566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6567 (exit $ac_status); } && {
6568 test -z "$ac_c_werror_flag" ||
6569 test ! -s conftest.err
6570 } && test -s conftest.$ac_objext; then
6571 ac_cv_member_struct_stat_st_blocks=yes
6573 echo "$as_me: failed program was:" >&5
6574 sed 's/^/| /' conftest.$ac_ext >&5
6576 cat >conftest.$ac_ext <<_ACEOF
6579 cat confdefs.h >>conftest.$ac_ext
6580 cat >>conftest.$ac_ext <<_ACEOF
6581 /* end confdefs.h. */
6582 $ac_includes_default
6586 static struct stat ac_aggr;
6587 if (sizeof ac_aggr.st_blocks)
6593 rm -f conftest.$ac_objext
6594 if { (ac_try="$ac_compile"
6596 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6597 *) ac_try_echo
=$ac_try;;
6599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6600 (eval "$ac_compile") 2>conftest.er1
6602 grep -v '^ *+' conftest.er1
>conftest.err
6604 cat conftest.err
>&5
6605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6606 (exit $ac_status); } && {
6607 test -z "$ac_c_werror_flag" ||
6608 test ! -s conftest.err
6609 } && test -s conftest.
$ac_objext; then
6610 ac_cv_member_struct_stat_st_blocks
=yes
6612 echo "$as_me: failed program was:" >&5
6613 sed 's/^/| /' conftest.
$ac_ext >&5
6615 ac_cv_member_struct_stat_st_blocks
=no
6618 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6623 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
6624 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
6625 if test $ac_cv_member_struct_stat_st_blocks = yes; then
6627 cat >>confdefs.h
<<_ACEOF
6628 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6632 cat >>confdefs.h
<<\_ACEOF
6633 #define HAVE_ST_BLOCKS 1
6637 case " $LIBOBJS " in
6638 *" fileblocks.$ac_objext "* ) ;;
6639 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6646 { echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6647 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6; }
6648 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6649 echo $ECHO_N "(cached) $ECHO_C" >&6
6651 cat >conftest.
$ac_ext <<_ACEOF
6654 cat confdefs.h
>>conftest.
$ac_ext
6655 cat >>conftest.
$ac_ext <<_ACEOF
6656 /* end confdefs.h. */
6657 $ac_includes_default
6661 static struct stat ac_aggr;
6662 if (ac_aggr.st_rdev)
6668 rm -f conftest.
$ac_objext
6669 if { (ac_try
="$ac_compile"
6671 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6672 *) ac_try_echo=$ac_try;;
6674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6675 (eval "$ac_compile") 2>conftest.er1
6677 grep -v '^ *+' conftest.er1 >conftest.err
6679 cat conftest.err >&5
6680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6681 (exit $ac_status); } && {
6682 test -z "$ac_c_werror_flag" ||
6683 test ! -s conftest.err
6684 } && test -s conftest.$ac_objext; then
6685 ac_cv_member_struct_stat_st_rdev=yes
6687 echo "$as_me: failed program was:" >&5
6688 sed 's/^/| /' conftest.$ac_ext >&5
6690 cat >conftest.$ac_ext <<_ACEOF
6693 cat confdefs.h >>conftest.$ac_ext
6694 cat >>conftest.$ac_ext <<_ACEOF
6695 /* end confdefs.h. */
6696 $ac_includes_default
6700 static struct stat ac_aggr;
6701 if (sizeof ac_aggr.st_rdev)
6707 rm -f conftest.$ac_objext
6708 if { (ac_try="$ac_compile"
6710 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6711 *) ac_try_echo
=$ac_try;;
6713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6714 (eval "$ac_compile") 2>conftest.er1
6716 grep -v '^ *+' conftest.er1
>conftest.err
6718 cat conftest.err
>&5
6719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6720 (exit $ac_status); } && {
6721 test -z "$ac_c_werror_flag" ||
6722 test ! -s conftest.err
6723 } && test -s conftest.
$ac_objext; then
6724 ac_cv_member_struct_stat_st_rdev
=yes
6726 echo "$as_me: failed program was:" >&5
6727 sed 's/^/| /' conftest.
$ac_ext >&5
6729 ac_cv_member_struct_stat_st_rdev
=no
6732 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6735 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6737 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
6738 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6; }
6739 if test $ac_cv_member_struct_stat_st_rdev = yes; then
6741 cat >>confdefs.h
<<_ACEOF
6742 #define HAVE_STRUCT_STAT_ST_RDEV 1
6746 cat >>confdefs.h
<<\_ACEOF
6747 #define HAVE_ST_RDEV 1
6753 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6754 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
6755 if test "${ac_cv_struct_tm+set}" = set; then
6756 echo $ECHO_N "(cached) $ECHO_C" >&6
6758 cat >conftest.
$ac_ext <<_ACEOF
6761 cat confdefs.h
>>conftest.
$ac_ext
6762 cat >>conftest.
$ac_ext <<_ACEOF
6763 /* end confdefs.h. */
6764 #include <sys/types.h>
6771 int *p = &tm.tm_sec;
6777 rm -f conftest.
$ac_objext
6778 if { (ac_try
="$ac_compile"
6780 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6781 *) ac_try_echo=$ac_try;;
6783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6784 (eval "$ac_compile") 2>conftest.er1
6786 grep -v '^ *+' conftest.er1 >conftest.err
6788 cat conftest.err >&5
6789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6790 (exit $ac_status); } && {
6791 test -z "$ac_c_werror_flag" ||
6792 test ! -s conftest.err
6793 } && test -s conftest.$ac_objext; then
6794 ac_cv_struct_tm=time.h
6796 echo "$as_me: failed program was:" >&5
6797 sed 's/^/| /' conftest.$ac_ext >&5
6799 ac_cv_struct_tm=sys/time.h
6802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6804 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6805 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
6806 if test $ac_cv_struct_tm = sys/time.h; then
6808 cat >>confdefs.h <<\_ACEOF
6809 #define TM_IN_SYS_TIME 1
6814 { echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
6815 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6; }
6816 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
6817 echo $ECHO_N "(cached) $ECHO_C" >&6
6819 cat >conftest.$ac_ext <<_ACEOF
6822 cat confdefs.h >>conftest.$ac_ext
6823 cat >>conftest.$ac_ext <<_ACEOF
6824 /* end confdefs.h. */
6825 #include <sys/types.h>
6826 #include <$ac_cv_struct_tm>
6832 static struct tm ac_aggr;
6833 if (ac_aggr.tm_zone)
6839 rm -f conftest.$ac_objext
6840 if { (ac_try="$ac_compile"
6842 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6843 *) ac_try_echo
=$ac_try;;
6845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6846 (eval "$ac_compile") 2>conftest.er1
6848 grep -v '^ *+' conftest.er1
>conftest.err
6850 cat conftest.err
>&5
6851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6852 (exit $ac_status); } && {
6853 test -z "$ac_c_werror_flag" ||
6854 test ! -s conftest.err
6855 } && test -s conftest.
$ac_objext; then
6856 ac_cv_member_struct_tm_tm_zone
=yes
6858 echo "$as_me: failed program was:" >&5
6859 sed 's/^/| /' conftest.
$ac_ext >&5
6861 cat >conftest.
$ac_ext <<_ACEOF
6864 cat confdefs.h
>>conftest.
$ac_ext
6865 cat >>conftest.
$ac_ext <<_ACEOF
6866 /* end confdefs.h. */
6867 #include <sys/types.h>
6868 #include <$ac_cv_struct_tm>
6874 static struct tm ac_aggr;
6875 if (sizeof ac_aggr.tm_zone)
6881 rm -f conftest.
$ac_objext
6882 if { (ac_try
="$ac_compile"
6884 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6885 *) ac_try_echo=$ac_try;;
6887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6888 (eval "$ac_compile") 2>conftest.er1
6890 grep -v '^ *+' conftest.er1 >conftest.err
6892 cat conftest.err >&5
6893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6894 (exit $ac_status); } && {
6895 test -z "$ac_c_werror_flag" ||
6896 test ! -s conftest.err
6897 } && test -s conftest.$ac_objext; then
6898 ac_cv_member_struct_tm_tm_zone=yes
6900 echo "$as_me: failed program was:" >&5
6901 sed 's/^/| /' conftest.$ac_ext >&5
6903 ac_cv_member_struct_tm_tm_zone=no
6906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6911 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
6912 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6; }
6913 if test $ac_cv_member_struct_tm_tm_zone = yes; then
6915 cat >>confdefs.h <<_ACEOF
6916 #define HAVE_STRUCT_TM_TM_ZONE 1
6922 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6924 cat >>confdefs.h <<\_ACEOF
6925 #define HAVE_TM_ZONE 1
6929 { echo "$as_me:$LINENO: checking whether tzname is declared" >&5
6930 echo $ECHO_N "checking whether tzname is declared... $ECHO_C" >&6; }
6931 if test "${ac_cv_have_decl_tzname+set}" = set; then
6932 echo $ECHO_N "(cached) $ECHO_C" >&6
6934 cat >conftest.$ac_ext <<_ACEOF
6937 cat confdefs.h >>conftest.$ac_ext
6938 cat >>conftest.$ac_ext <<_ACEOF
6939 /* end confdefs.h. */
6953 rm -f conftest.$ac_objext
6954 if { (ac_try="$ac_compile"
6956 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6957 *) ac_try_echo
=$ac_try;;
6959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6960 (eval "$ac_compile") 2>conftest.er1
6962 grep -v '^ *+' conftest.er1
>conftest.err
6964 cat conftest.err
>&5
6965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6966 (exit $ac_status); } && {
6967 test -z "$ac_c_werror_flag" ||
6968 test ! -s conftest.err
6969 } && test -s conftest.
$ac_objext; then
6970 ac_cv_have_decl_tzname
=yes
6972 echo "$as_me: failed program was:" >&5
6973 sed 's/^/| /' conftest.
$ac_ext >&5
6975 ac_cv_have_decl_tzname
=no
6978 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6980 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5
6981 echo "${ECHO_T}$ac_cv_have_decl_tzname" >&6; }
6982 if test $ac_cv_have_decl_tzname = yes; then
6984 cat >>confdefs.h
<<_ACEOF
6985 #define HAVE_DECL_TZNAME 1
6990 cat >>confdefs.h
<<_ACEOF
6991 #define HAVE_DECL_TZNAME 0
6998 { echo "$as_me:$LINENO: checking for tzname" >&5
6999 echo $ECHO_N "checking for tzname... $ECHO_C" >&6; }
7000 if test "${ac_cv_var_tzname+set}" = set; then
7001 echo $ECHO_N "(cached) $ECHO_C" >&6
7003 cat >conftest.
$ac_ext <<_ACEOF
7006 cat confdefs.h
>>conftest.
$ac_ext
7007 cat >>conftest.
$ac_ext <<_ACEOF
7008 /* end confdefs.h. */
7010 #if !HAVE_DECL_TZNAME
7011 extern char *tzname[];
7017 return tzname[0][0];
7022 rm -f conftest.
$ac_objext conftest
$ac_exeext
7023 if { (ac_try
="$ac_link"
7025 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7026 *) ac_try_echo=$ac_try;;
7028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7029 (eval "$ac_link") 2>conftest.er1
7031 grep -v '^ *+' conftest.er1 >conftest.err
7033 cat conftest.err >&5
7034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7035 (exit $ac_status); } && {
7036 test -z "$ac_c_werror_flag" ||
7037 test ! -s conftest.err
7038 } && test -s conftest$ac_exeext &&
7039 $as_test_x conftest$ac_exeext; then
7040 ac_cv_var_tzname=yes
7042 echo "$as_me: failed program was:" >&5
7043 sed 's/^/| /' conftest.$ac_ext >&5
7048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7049 conftest$ac_exeext conftest.$ac_ext
7051 { echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
7052 echo "${ECHO_T}$ac_cv_var_tzname" >&6; }
7053 if test $ac_cv_var_tzname = yes; then
7055 cat >>confdefs.h <<\_ACEOF
7056 #define HAVE_TZNAME 1
7062 { echo "$as_me:$LINENO: checking for off_t" >&5
7063 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
7064 if test "${ac_cv_type_off_t+set}" = set; then
7065 echo $ECHO_N "(cached) $ECHO_C" >&6
7067 cat >conftest.$ac_ext <<_ACEOF
7070 cat confdefs.h >>conftest.$ac_ext
7071 cat >>conftest.$ac_ext <<_ACEOF
7072 /* end confdefs.h. */
7073 $ac_includes_default
7074 typedef off_t ac__type_new_;
7078 if ((ac__type_new_ *) 0)
7080 if (sizeof (ac__type_new_))
7086 rm -f conftest.$ac_objext
7087 if { (ac_try="$ac_compile"
7089 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7090 *) ac_try_echo
=$ac_try;;
7092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7093 (eval "$ac_compile") 2>conftest.er1
7095 grep -v '^ *+' conftest.er1
>conftest.err
7097 cat conftest.err
>&5
7098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7099 (exit $ac_status); } && {
7100 test -z "$ac_c_werror_flag" ||
7101 test ! -s conftest.err
7102 } && test -s conftest.
$ac_objext; then
7103 ac_cv_type_off_t
=yes
7105 echo "$as_me: failed program was:" >&5
7106 sed 's/^/| /' conftest.
$ac_ext >&5
7111 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7113 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
7114 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
7115 if test $ac_cv_type_off_t = yes; then
7119 cat >>confdefs.h
<<_ACEOF
7120 #define off_t long int
7125 { echo "$as_me:$LINENO: checking for pid_t" >&5
7126 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
7127 if test "${ac_cv_type_pid_t+set}" = set; then
7128 echo $ECHO_N "(cached) $ECHO_C" >&6
7130 cat >conftest.
$ac_ext <<_ACEOF
7133 cat confdefs.h
>>conftest.
$ac_ext
7134 cat >>conftest.
$ac_ext <<_ACEOF
7135 /* end confdefs.h. */
7136 $ac_includes_default
7137 typedef pid_t ac__type_new_;
7141 if ((ac__type_new_ *) 0)
7143 if (sizeof (ac__type_new_))
7149 rm -f conftest.
$ac_objext
7150 if { (ac_try
="$ac_compile"
7152 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7153 *) ac_try_echo=$ac_try;;
7155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7156 (eval "$ac_compile") 2>conftest.er1
7158 grep -v '^ *+' conftest.er1 >conftest.err
7160 cat conftest.err >&5
7161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7162 (exit $ac_status); } && {
7163 test -z "$ac_c_werror_flag" ||
7164 test ! -s conftest.err
7165 } && test -s conftest.$ac_objext; then
7166 ac_cv_type_pid_t=yes
7168 echo "$as_me: failed program was:" >&5
7169 sed 's/^/| /' conftest.$ac_ext >&5
7174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7176 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
7177 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
7178 if test $ac_cv_type_pid_t = yes; then
7182 cat >>confdefs.h <<_ACEOF
7188 { echo "$as_me:$LINENO: checking for size_t" >&5
7189 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
7190 if test "${ac_cv_type_size_t+set}" = set; then
7191 echo $ECHO_N "(cached) $ECHO_C" >&6
7193 cat >conftest.$ac_ext <<_ACEOF
7196 cat confdefs.h >>conftest.$ac_ext
7197 cat >>conftest.$ac_ext <<_ACEOF
7198 /* end confdefs.h. */
7199 $ac_includes_default
7200 typedef size_t ac__type_new_;
7204 if ((ac__type_new_ *) 0)
7206 if (sizeof (ac__type_new_))
7212 rm -f conftest.$ac_objext
7213 if { (ac_try="$ac_compile"
7215 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7216 *) ac_try_echo
=$ac_try;;
7218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7219 (eval "$ac_compile") 2>conftest.er1
7221 grep -v '^ *+' conftest.er1
>conftest.err
7223 cat conftest.err
>&5
7224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7225 (exit $ac_status); } && {
7226 test -z "$ac_c_werror_flag" ||
7227 test ! -s conftest.err
7228 } && test -s conftest.
$ac_objext; then
7229 ac_cv_type_size_t
=yes
7231 echo "$as_me: failed program was:" >&5
7232 sed 's/^/| /' conftest.
$ac_ext >&5
7234 ac_cv_type_size_t
=no
7237 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7239 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
7240 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
7241 if test $ac_cv_type_size_t = yes; then
7245 cat >>confdefs.h
<<_ACEOF
7246 #define size_t unsigned int
7251 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
7252 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
7253 if test "${ac_cv_type_uid_t+set}" = set; then
7254 echo $ECHO_N "(cached) $ECHO_C" >&6
7256 cat >conftest.
$ac_ext <<_ACEOF
7259 cat confdefs.h
>>conftest.
$ac_ext
7260 cat >>conftest.
$ac_ext <<_ACEOF
7261 /* end confdefs.h. */
7262 #include <sys/types.h>
7265 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7266 $EGREP "uid_t" >/dev
/null
2>&1; then
7267 ac_cv_type_uid_t
=yes
7274 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
7275 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
7276 if test $ac_cv_type_uid_t = no
; then
7278 cat >>confdefs.h
<<\_ACEOF
7283 cat >>confdefs.h
<<\_ACEOF
7290 { echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
7291 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6; }
7292 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
7293 echo $ECHO_N "(cached) $ECHO_C" >&6
7295 cat >conftest.
$ac_ext <<_ACEOF
7298 cat confdefs.h
>>conftest.
$ac_ext
7299 cat >>conftest.
$ac_ext <<_ACEOF
7300 /* end confdefs.h. */
7301 $ac_includes_default
7305 static struct tm ac_aggr;
7306 if (ac_aggr.tm_gmtoff)
7312 rm -f conftest.
$ac_objext
7313 if { (ac_try
="$ac_compile"
7315 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7316 *) ac_try_echo=$ac_try;;
7318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7319 (eval "$ac_compile") 2>conftest.er1
7321 grep -v '^ *+' conftest.er1 >conftest.err
7323 cat conftest.err >&5
7324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7325 (exit $ac_status); } && {
7326 test -z "$ac_c_werror_flag" ||
7327 test ! -s conftest.err
7328 } && test -s conftest.$ac_objext; then
7329 ac_cv_member_struct_tm_tm_gmtoff=yes
7331 echo "$as_me: failed program was:" >&5
7332 sed 's/^/| /' conftest.$ac_ext >&5
7334 cat >conftest.$ac_ext <<_ACEOF
7337 cat confdefs.h >>conftest.$ac_ext
7338 cat >>conftest.$ac_ext <<_ACEOF
7339 /* end confdefs.h. */
7340 $ac_includes_default
7344 static struct tm ac_aggr;
7345 if (sizeof ac_aggr.tm_gmtoff)
7351 rm -f conftest.$ac_objext
7352 if { (ac_try="$ac_compile"
7354 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7355 *) ac_try_echo
=$ac_try;;
7357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7358 (eval "$ac_compile") 2>conftest.er1
7360 grep -v '^ *+' conftest.er1
>conftest.err
7362 cat conftest.err
>&5
7363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7364 (exit $ac_status); } && {
7365 test -z "$ac_c_werror_flag" ||
7366 test ! -s conftest.err
7367 } && test -s conftest.
$ac_objext; then
7368 ac_cv_member_struct_tm_tm_gmtoff
=yes
7370 echo "$as_me: failed program was:" >&5
7371 sed 's/^/| /' conftest.
$ac_ext >&5
7373 ac_cv_member_struct_tm_tm_gmtoff
=no
7376 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7379 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7381 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
7382 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6; }
7383 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
7385 cat >>confdefs.h
<<_ACEOF
7386 #define HAVE_STRUCT_TM_TM_GMTOFF 1
7393 # Look for some functions
7408 for ac_func
in getpagesize kqueue statfs statvfs \
7409 clone kse_create rfork_thread thr_create sa_register \
7410 getcontext makecontext setcontext sigaltstack swapcontext
7412 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7413 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7415 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7416 echo $ECHO_N "(cached) $ECHO_C" >&6
7418 cat >conftest.
$ac_ext <<_ACEOF
7421 cat confdefs.h
>>conftest.
$ac_ext
7422 cat >>conftest.
$ac_ext <<_ACEOF
7423 /* end confdefs.h. */
7424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7426 #define $ac_func innocuous_$ac_func
7428 /* System header to define __stub macros and hopefully few prototypes,
7429 which can conflict with char $ac_func (); below.
7430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7431 <limits.h> exists even on freestanding compilers. */
7434 # include <limits.h>
7436 # include <assert.h>
7441 /* Override any GCC internal prototype to avoid an error.
7442 Use char because int might match the return type of a GCC
7443 builtin and then its argument prototype would still apply. */
7448 /* The GNU C library defines this for functions which it implements
7449 to always fail with ENOSYS. Some functions are actually named
7450 something starting with __ and the normal name is an alias. */
7451 #if defined __stub_$ac_func || defined __stub___$ac_func
7463 rm -f conftest.
$ac_objext conftest
$ac_exeext
7464 if { (ac_try
="$ac_link"
7466 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7467 *) ac_try_echo=$ac_try;;
7469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7470 (eval "$ac_link") 2>conftest.er1
7472 grep -v '^ *+' conftest.er1 >conftest.err
7474 cat conftest.err >&5
7475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7476 (exit $ac_status); } && {
7477 test -z "$ac_c_werror_flag" ||
7478 test ! -s conftest.err
7479 } && test -s conftest$ac_exeext &&
7480 $as_test_x conftest$ac_exeext; then
7481 eval "$as_ac_var=yes"
7483 echo "$as_me: failed program was:" >&5
7484 sed 's/^/| /' conftest.$ac_ext >&5
7486 eval "$as_ac_var=no"
7489 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7490 conftest$ac_exeext conftest.$ac_ext
7492 ac_res=`eval echo '${'$as_ac_var'}'`
7493 { echo "$as_me:$LINENO: result: $ac_res" >&5
7494 echo "${ECHO_T}$ac_res" >&6; }
7495 if test `eval echo '${'$as_ac_var'}'` = yes; then
7496 cat >>confdefs.h <<_ACEOF
7497 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7506 for ac_header in stdlib.h unistd.h
7508 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7509 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7510 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7511 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7512 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7513 echo $ECHO_N "(cached) $ECHO_C" >&6
7515 ac_res=`eval echo '${'$as_ac_Header'}'`
7516 { echo "$as_me:$LINENO: result: $ac_res" >&5
7517 echo "${ECHO_T}$ac_res" >&6; }
7519 # Is the header compilable?
7520 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7521 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7522 cat >conftest.$ac_ext <<_ACEOF
7525 cat confdefs.h >>conftest.$ac_ext
7526 cat >>conftest.$ac_ext <<_ACEOF
7527 /* end confdefs.h. */
7528 $ac_includes_default
7529 #include <$ac_header>
7531 rm -f conftest.$ac_objext
7532 if { (ac_try="$ac_compile"
7534 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7535 *) ac_try_echo
=$ac_try;;
7537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7538 (eval "$ac_compile") 2>conftest.er1
7540 grep -v '^ *+' conftest.er1
>conftest.err
7542 cat conftest.err
>&5
7543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7544 (exit $ac_status); } && {
7545 test -z "$ac_c_werror_flag" ||
7546 test ! -s conftest.err
7547 } && test -s conftest.
$ac_objext; then
7548 ac_header_compiler
=yes
7550 echo "$as_me: failed program was:" >&5
7551 sed 's/^/| /' conftest.
$ac_ext >&5
7553 ac_header_compiler
=no
7556 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7557 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7558 echo "${ECHO_T}$ac_header_compiler" >&6; }
7560 # Is the header present?
7561 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7562 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7563 cat >conftest.
$ac_ext <<_ACEOF
7566 cat confdefs.h
>>conftest.
$ac_ext
7567 cat >>conftest.
$ac_ext <<_ACEOF
7568 /* end confdefs.h. */
7569 #include <$ac_header>
7571 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7573 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7574 *) ac_try_echo=$ac_try;;
7576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7577 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7579 grep -v '^ *+' conftest.er1 >conftest.err
7581 cat conftest.err >&5
7582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7583 (exit $ac_status); } >/dev/null && {
7584 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7585 test ! -s conftest.err
7587 ac_header_preproc=yes
7589 echo "$as_me: failed program was:" >&5
7590 sed 's/^/| /' conftest.$ac_ext >&5
7592 ac_header_preproc=no
7595 rm -f conftest.err conftest.$ac_ext
7596 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7597 echo "${ECHO_T}$ac_header_preproc" >&6; }
7599 # So? What about this header?
7600 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7602 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7603 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7604 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7605 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7606 ac_header_preproc=yes
7609 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7610 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7611 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7612 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7613 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7614 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7615 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7616 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7617 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7618 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7619 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7620 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7624 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7625 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7626 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7627 echo $ECHO_N "(cached) $ECHO_C" >&6
7629 eval "$as_ac_Header=\$ac_header_preproc"
7631 ac_res=`eval echo '${'$as_ac_Header'}'`
7632 { echo "$as_me:$LINENO: result: $ac_res" >&5
7633 echo "${ECHO_T}$ac_res" >&6; }
7636 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7637 cat >>confdefs.h <<_ACEOF
7638 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7646 for ac_func in getpagesize
7648 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
7649 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7651 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7652 echo $ECHO_N "(cached) $ECHO_C" >&6
7654 cat >conftest.$ac_ext <<_ACEOF
7657 cat confdefs.h >>conftest.$ac_ext
7658 cat >>conftest.$ac_ext <<_ACEOF
7659 /* end confdefs.h. */
7660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7662 #define $ac_func innocuous_$ac_func
7664 /* System header to define __stub macros and hopefully few prototypes,
7665 which can conflict with char $ac_func (); below.
7666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7667 <limits.h> exists even on freestanding compilers. */
7670 # include <limits.h>
7672 # include <assert.h>
7677 /* Override any GCC internal prototype to avoid an error.
7678 Use char because int might match the return type of a GCC
7679 builtin and then its argument prototype would still apply. */
7684 /* The GNU C library defines this for functions which it implements
7685 to always fail with ENOSYS. Some functions are actually named
7686 something starting with __ and the normal name is an alias. */
7687 #if defined __stub_$ac_func || defined __stub___$ac_func
7699 rm -f conftest.$ac_objext conftest$ac_exeext
7700 if { (ac_try="$ac_link"
7702 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7703 *) ac_try_echo
=$ac_try;;
7705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7706 (eval "$ac_link") 2>conftest.er1
7708 grep -v '^ *+' conftest.er1
>conftest.err
7710 cat conftest.err
>&5
7711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7712 (exit $ac_status); } && {
7713 test -z "$ac_c_werror_flag" ||
7714 test ! -s conftest.err
7715 } && test -s conftest
$ac_exeext &&
7716 $as_test_x conftest
$ac_exeext; then
7717 eval "$as_ac_var=yes"
7719 echo "$as_me: failed program was:" >&5
7720 sed 's/^/| /' conftest.
$ac_ext >&5
7722 eval "$as_ac_var=no"
7725 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7726 conftest
$ac_exeext conftest.
$ac_ext
7728 ac_res
=`eval echo '${'$as_ac_var'}'`
7729 { echo "$as_me:$LINENO: result: $ac_res" >&5
7730 echo "${ECHO_T}$ac_res" >&6; }
7731 if test `eval echo '${'$as_ac_var'}'` = yes; then
7732 cat >>confdefs.h
<<_ACEOF
7733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7739 { echo "$as_me:$LINENO: checking for working mmap" >&5
7740 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
7741 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
7742 echo $ECHO_N "(cached) $ECHO_C" >&6
7744 if test "$cross_compiling" = yes; then
7745 ac_cv_func_mmap_fixed_mapped
=no
7747 cat >conftest.
$ac_ext <<_ACEOF
7750 cat confdefs.h
>>conftest.
$ac_ext
7751 cat >>conftest.
$ac_ext <<_ACEOF
7752 /* end confdefs.h. */
7753 $ac_includes_default
7754 /* malloc might have been renamed as rpl_malloc. */
7757 /* Thanks to Mike Haertel and Jim Avera for this test.
7758 Here is a matrix of mmap possibilities:
7759 mmap private not fixed
7760 mmap private fixed at somewhere currently unmapped
7761 mmap private fixed at somewhere already mapped
7762 mmap shared not fixed
7763 mmap shared fixed at somewhere currently unmapped
7764 mmap shared fixed at somewhere already mapped
7765 For private mappings, we should verify that changes cannot be read()
7766 back from the file, nor mmap's back from the file at a different
7767 address. (There have been systems where private was not correctly
7768 implemented like the infamous i386 svr4.0, and systems where the
7769 VM page cache was not coherent with the file system buffer cache
7770 like early versions of FreeBSD and possibly contemporary NetBSD.)
7771 For shared mappings, we should conversely verify that changes get
7772 propagated back to all the places they're supposed to be.
7774 Grep wants private fixed already mapped.
7775 The main things grep needs to know about mmap are:
7776 * does it exist and is it safe to write into the mmap'd area
7777 * how to use it (BSD variants) */
7780 #include <sys/mman.h>
7782 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7786 /* This mess was copied from the GNU getpagesize.h. */
7787 #ifndef HAVE_GETPAGESIZE
7788 /* Assume that all systems that can run configure have sys/param.h. */
7789 # ifndef HAVE_SYS_PARAM_H
7790 # define HAVE_SYS_PARAM_H 1
7793 # ifdef _SC_PAGESIZE
7794 # define getpagesize() sysconf(_SC_PAGESIZE)
7795 # else /* no _SC_PAGESIZE */
7796 # ifdef HAVE_SYS_PARAM_H
7797 # include <sys/param.h>
7798 # ifdef EXEC_PAGESIZE
7799 # define getpagesize() EXEC_PAGESIZE
7800 # else /* no EXEC_PAGESIZE */
7802 # define getpagesize() NBPG * CLSIZE
7805 # endif /* no CLSIZE */
7806 # else /* no NBPG */
7808 # define getpagesize() NBPC
7809 # else /* no NBPC */
7811 # define getpagesize() PAGESIZE
7812 # endif /* PAGESIZE */
7813 # endif /* no NBPC */
7814 # endif /* no NBPG */
7815 # endif /* no EXEC_PAGESIZE */
7816 # else /* no HAVE_SYS_PARAM_H */
7817 # define getpagesize() 8192 /* punt totally */
7818 # endif /* no HAVE_SYS_PARAM_H */
7819 # endif /* no _SC_PAGESIZE */
7821 #endif /* no HAVE_GETPAGESIZE */
7826 char *data, *data2, *data3;
7830 pagesize = getpagesize ();
7832 /* First, make a file with some known garbage in it. */
7833 data = (char *) malloc (pagesize);
7836 for (i = 0; i < pagesize; ++i)
7837 *(data + i) = rand ();
7839 fd = creat ("conftest.mmap", 0600);
7842 if (write (fd, data, pagesize) != pagesize)
7846 /* Next, try to mmap the file at a fixed address which already has
7847 something else allocated at it. If we can, also make sure that
7848 we see the same garbage. */
7849 fd = open ("conftest.mmap", O_RDWR);
7852 data2 = (char *) malloc (2 * pagesize);
7855 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
7856 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7857 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7859 for (i = 0; i < pagesize; ++i)
7860 if (*(data + i) != *(data2 + i))
7863 /* Finally, make sure that changes to the mapped area do not
7864 percolate back to the file as seen by read(). (This is a bug on
7865 some variants of i386 svr4.0.) */
7866 for (i = 0; i < pagesize; ++i)
7867 *(data2 + i) = *(data2 + i) + 1;
7868 data3 = (char *) malloc (pagesize);
7871 if (read (fd, data3, pagesize) != pagesize)
7873 for (i = 0; i < pagesize; ++i)
7874 if (*(data + i) != *(data3 + i))
7880 rm -f conftest
$ac_exeext
7881 if { (ac_try
="$ac_link"
7883 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7884 *) ac_try_echo=$ac_try;;
7886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7887 (eval "$ac_link") 2>&5
7889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7890 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7891 { (case "(($ac_try" in
7892 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7893 *) ac_try_echo
=$ac_try;;
7895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7896 (eval "$ac_try") 2>&5
7898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7899 (exit $ac_status); }; }; then
7900 ac_cv_func_mmap_fixed_mapped
=yes
7902 echo "$as_me: program exited with status $ac_status" >&5
7903 echo "$as_me: failed program was:" >&5
7904 sed 's/^/| /' conftest.
$ac_ext >&5
7907 ac_cv_func_mmap_fixed_mapped
=no
7909 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7914 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
7915 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
7916 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7918 cat >>confdefs.h
<<\_ACEOF
7928 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7929 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7930 aros_config_ldflags
=""
7932 aros_shared_default
=yes
7934 aros_shared_cflags
="-fPIC"
7935 aros_shared_aflags
=""
7936 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7937 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7939 aros_target_ar_flags
="cr"
7940 aros_target_nm_flags
="-C -ul"
7941 aros_target_strip_flags
="--strip-unneeded -R.comment"
7946 aros_target_genmap
="-Wl,-Map -Xlinker"
7948 # Native flavour stuff
7949 aros_serial_debug
="0"
7951 # Palm native flavour stuff
7952 aros_palm_debug_hack
="0"
7954 # Unix flavour stuff
7955 aros_nesting_supervisor
="0"
7957 # Collect-aros stuff: "-ius" to ignore undefined symbols
7958 ignore_undefined_symbols
=""
7960 #-----------------------------------------------------------------------------
7963 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
7964 # it switched on by default, and we use the host compiler, so it compiles AROS
7965 # code with this enabled resulting in link failures as we don't have support
7968 # We use two methods to disable it. For the host compiler (used to compile
7969 # some hosted modules), we test to see if the compiler supports stack
7970 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
7971 # work on all platforms.
7973 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
7974 # (this is done unconditionally, as it should have no effect on compilers
7975 # without the stack protection feature). This may be specific to the way that
7976 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
7977 # strong enough to disable it in a generic way though, so we'll live with it
7978 # until another vendor ships GCC with it enabled in a different way, and deal
7982 { echo "$as_me:$LINENO: checking whether ${CC} accepts -fno-stack-protector" >&5
7983 echo $ECHO_N "checking whether ${CC} accepts -fno-stack-protector... $ECHO_C" >&6; }
7984 save_cflags
="$CFLAGS"
7985 CFLAGS
="$CFLAGS -fno-stack-protector"
7986 cat >conftest.
$ac_ext <<_ACEOF
7989 cat confdefs.h
>>conftest.
$ac_ext
7990 cat >>conftest.
$ac_ext <<_ACEOF
7991 /* end confdefs.h. */
8001 rm -f conftest.
$ac_objext
8002 if { (ac_try
="$ac_compile"
8004 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8005 *) ac_try_echo=$ac_try;;
8007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8008 (eval "$ac_compile") 2>conftest.er1
8010 grep -v '^ *+' conftest.er1 >conftest.err
8012 cat conftest.err >&5
8013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8014 (exit $ac_status); } && {
8015 test -z "$ac_c_werror_flag" ||
8016 test ! -s conftest.err
8017 } && test -s conftest.$ac_objext; then
8018 use_no_stack_protector="yes"
8020 echo "$as_me: failed program was:" >&5
8021 sed 's/^/| /' conftest.$ac_ext >&5
8023 use_no_stack_protector="no"
8026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8027 { echo "$as_me:$LINENO: result: $use_no_stack_protector" >&5
8028 echo "${ECHO_T}$use_no_stack_protector" >&6; }
8029 if test "x-$use_no_stack_protector" = "x-yes" ; then
8030 aros_host_cflags="$aros_host_cflags -fno-stack-protector"
8032 CFLAGS="$save_cflags"
8034 #-----------------------------------------------------------------------------
8036 # Disable pointer-signedness warnings if the compiler recognises the option
8037 # (this only works for the host compiler at the moment)
8039 { echo "$as_me:$LINENO: checking whether ${CC} accepts -Wno-pointer-sign" >&5
8040 echo $ECHO_N "checking whether ${CC} accepts -Wno-pointer-sign... $ECHO_C" >&6; }
8041 save_cflags="$CFLAGS"
8042 CFLAGS="$CFLAGS -Wno-pointer-sign"
8043 cat >conftest.$ac_ext <<_ACEOF
8046 cat confdefs.h >>conftest.$ac_ext
8047 cat >>conftest.$ac_ext <<_ACEOF
8048 /* end confdefs.h. */
8058 rm -f conftest.$ac_objext
8059 if { (ac_try="$ac_compile"
8061 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8062 *) ac_try_echo
=$ac_try;;
8064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8065 (eval "$ac_compile") 2>conftest.er1
8067 grep -v '^ *+' conftest.er1
>conftest.err
8069 cat conftest.err
>&5
8070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8071 (exit $ac_status); } && {
8072 test -z "$ac_c_werror_flag" ||
8073 test ! -s conftest.err
8074 } && test -s conftest.
$ac_objext; then
8075 use_no_sign_warning
="yes"
8077 echo "$as_me: failed program was:" >&5
8078 sed 's/^/| /' conftest.
$ac_ext >&5
8080 use_no_sign_warning
="no"
8083 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8084 { echo "$as_me:$LINENO: result: $use_no_sign_warning" >&5
8085 echo "${ECHO_T}$use_no_sign_warning" >&6; }
8086 if test "x-$use_no_sign_warning" = "x-yes" ; then
8087 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
8089 CFLAGS
="$save_cflags"
8091 #-----------------------------------------------------------------------------
8093 { echo "$as_me:$LINENO: checking for type of build" >&5
8094 echo $ECHO_N "checking for type of build... $ECHO_C" >&6; }
8095 # Check whether --enable-build_type was given.
8096 if test "${enable_build_type+set}" = set; then
8097 enableval
=$enable_build_type; build_type
=$enableval
8099 build_type
="personal"
8103 if test "$build_type" = "nightly"; then
8104 build_type_string
="NIGHTLY"
8105 elif test "$build_type" = "snapshot"; then
8106 build_type_string
="SNAPSHOT"
8107 elif test "$build_type" = "milestone"; then
8108 build_type_string
="MILESTONE"
8109 elif test "$build_type" = "release"; then
8110 build_type_string
="RELEASE"
8112 build_type_string
="PERSONAL"
8113 build_type
="personal"
8116 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
8118 { echo "$as_me:$LINENO: result: $build_type" >&5
8119 echo "${ECHO_T}$build_type" >&6; }
8121 #-----------------------------------------------------------------------------
8122 all_debug_types
="messages stack modules mungwall symbols"
8124 { echo "$as_me:$LINENO: checking which debug types to enable" >&5
8125 echo $ECHO_N "checking which debug types to enable... $ECHO_C" >&6; }
8126 # Check whether --enable-debug was given.
8127 if test "${enable_debug+set}" = set; then
8128 enableval
=$enable_debug; debug
="$enableval"
8134 if test "$debug" = "" -o "$debug" = "no"; then
8136 elif test "$debug" = "yes"; then
8140 if test "$debug" = "all" ; then
8141 debug
="messages stack modules symbols"
8142 for d
in $all_debug_types; do
8143 export aros_
${d}_debug
="1"
8146 for d
in $all_debug_types; do
8147 export aros_
${d}_debug
="0"
8151 if test "$debug" != "none"; then
8152 debug
=`echo $debug | sed s/,/\ /g`
8155 for d2
in $all_debug_types; do
8156 if test "$d2" = "$d"; then
8161 if test "$found" = "0"; then
8162 { { echo "$as_me:$LINENO: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&5
8163 echo "$as_me: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&2;}
8164 { (exit 1); exit 1; }; }
8166 export aros_
${d}_debug
="1"
8170 { echo "$as_me:$LINENO: result: $debug" >&5
8171 echo "${ECHO_T}$debug" >&6; }
8173 if test "$aros_messages_debug" = "1"; then
8174 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
8176 aros_messages_debug
=""
8178 if test "$aros_symbols_debug" = "1"; then
8179 aros_symbols_debug
="-g"
8181 aros_symbols_debug
=""
8184 # These are the flags to pass when compiling debugged programs
8185 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8186 aros_debug_aflags
=""
8187 aros_debug_ldflags
="$aros_symbols_debug"
8189 aros_crosstools
="no"
8191 #-----------------------------------------------------------------------------
8192 # Checking if we should build crosstools..
8193 { echo "$as_me:$LINENO: checking whether to build crosstools" >&5
8194 echo $ECHO_N "checking whether to build crosstools... $ECHO_C" >&6; }
8195 # Check whether --enable-crosstools was given.
8196 if test "${enable_crosstools+set}" = set; then
8197 enableval
=$enable_crosstools; crosstools
="$enableval"
8202 if test "$crosstools" != "" -a "$crosstools" != "no"; then
8203 { echo "$as_me:$LINENO: result: yes" >&5
8204 echo "${ECHO_T}yes" >&6; }
8205 aros_crosstools
="yes"
8207 { echo "$as_me:$LINENO: result: no" >&5
8208 echo "${ECHO_T}no" >&6; }
8211 #-----------------------------------------------------------------------------
8212 # Checking for distcc and ccache.
8214 # Always apply the transforms in this particular order. Basically you should
8215 # always run 'ccache distcc compiler' in that order for the best performance.
8217 { echo "$as_me:$LINENO: checking whether to enable distcc" >&5
8218 echo $ECHO_N "checking whether to enable distcc... $ECHO_C" >&6; }
8219 # Check whether --enable-distcc was given.
8220 if test "${enable_distcc+set}" = set; then
8221 enableval
=$enable_distcc; distcc
="$enableval"
8226 if test "$distcc" != "" -a "$distcc" != "no"; then
8227 # AC_CHECK_PROG will print out the result in this case
8228 # Extract the first word of "distcc", so it can be a program name with args.
8229 set dummy distcc
; ac_word
=$2
8230 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8232 if test "${ac_cv_path_DISTCC+set}" = set; then
8233 echo $ECHO_N "(cached) $ECHO_C" >&6
8237 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
8240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8244 test -z "$as_dir" && as_dir
=.
8245 for ac_exec_ext
in '' $ac_executable_extensions; do
8246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8247 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
8248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8255 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
8259 DISTCC
=$ac_cv_path_DISTCC
8260 if test -n "$DISTCC"; then
8261 { echo "$as_me:$LINENO: result: $DISTCC" >&5
8262 echo "${ECHO_T}$DISTCC" >&6; }
8264 { echo "$as_me:$LINENO: result: no" >&5
8265 echo "${ECHO_T}no" >&6; }
8270 { echo "$as_me:$LINENO: result: no" >&5
8271 echo "${ECHO_T}no" >&6; }
8274 { echo "$as_me:$LINENO: checking whether to enable ccache" >&5
8275 echo $ECHO_N "checking whether to enable ccache... $ECHO_C" >&6; }
8276 # Check whether --enable-ccache was given.
8277 if test "${enable_ccache+set}" = set; then
8278 enableval
=$enable_ccache; ccache
="$enableval"
8283 if test "$ccache" != "" -a "$ccache" != "no"; then
8284 # AC_CHECK_PROG will print out the result in this case
8285 # Extract the first word of "ccache", so it can be a program name with args.
8286 set dummy ccache
; ac_word
=$2
8287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8289 if test "${ac_cv_prog_CCACHE+set}" = set; then
8290 echo $ECHO_N "(cached) $ECHO_C" >&6
8292 if test -n "$CCACHE"; then
8293 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
8295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8299 test -z "$as_dir" && as_dir
=.
8300 for ac_exec_ext
in '' $ac_executable_extensions; do
8301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8302 ac_cv_prog_CCACHE
="ccache"
8303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8312 CCACHE
=$ac_cv_prog_CCACHE
8313 if test -n "$CCACHE"; then
8314 { echo "$as_me:$LINENO: result: $CCACHE" >&5
8315 echo "${ECHO_T}$CCACHE" >&6; }
8317 { echo "$as_me:$LINENO: result: no" >&5
8318 echo "${ECHO_T}no" >&6; }
8323 { echo "$as_me:$LINENO: result: no" >&5
8324 echo "${ECHO_T}no" >&6; }
8327 #-----------------------------------------------------------------------------
8328 { echo "$as_me:$LINENO: checking what specific gcc version to use" >&5
8329 echo $ECHO_N "checking what specific gcc version to use... $ECHO_C" >&6; }
8331 # Check whether --with-gcc-version was given.
8332 if test "${with_gcc_version+set}" = set; then
8333 withval
=$with_gcc_version; target_tool_version
="$withval"
8335 target_tool_version
="default"
8338 { echo "$as_me:$LINENO: result: $target_tool_version" >&5
8339 echo "${ECHO_T}$target_tool_version" >&6; }
8341 #-----------------------------------------------------------------------------
8342 { echo "$as_me:$LINENO: checking what optimization flags to use" >&5
8343 echo $ECHO_N "checking what optimization flags to use... $ECHO_C" >&6; }
8345 # Check whether --with-optimization was given.
8346 if test "${with_optimization+set}" = set; then
8347 withval
=$with_optimization; optimization
="$withval"
8349 optimization
="unknown"
8352 if test "$optimization" = "unknown"; then
8353 if test "$debug" != "none"; then
8359 aros_config_cflags
="$aros_config_cflags $optimization"
8360 { echo "$as_me:$LINENO: result: $optimization" >&5
8361 echo "${ECHO_T}$optimization" >&6; }
8363 #-----------------------------------------------------------------------------
8364 { echo "$as_me:$LINENO: checking what paranoia flags to use" >&5
8365 echo $ECHO_N "checking what paranoia flags to use... $ECHO_C" >&6; }
8367 # Check whether --with-paranoia was given.
8368 if test "${with_paranoia+set}" = set; then
8369 withval
=$with_paranoia; paranoia_flags
="$withval"
8371 paranoia_flags
="default"
8374 if test "$paranoia_flags" = "default"; then
8376 else if test "$paranoia_flags" = "yes"; then
8377 paranoia_flags
="-Wall -W -Werror"
8379 { echo "$as_me:$LINENO: result: $paranoia_flags" >&5
8380 echo "${ECHO_T}$paranoia_flags" >&6; }
8381 aros_paranoia_cflags
="$paranoia_flags"
8383 #-----------------------------------------------------------------------------
8384 if test "$target_os" = "ios"; then
8386 { echo "$as_me:$LINENO: checking XCode path" >&5
8387 echo $ECHO_N "checking XCode path... $ECHO_C" >&6; }
8389 # Check whether --with-xcode-path was given.
8390 if test "${with_xcode_path+set}" = set; then
8391 withval
=$with_xcode_path; aros_xcode_path
="$withval"
8393 aros_xcode_path
="/Developer"
8396 { echo "$as_me:$LINENO: result: $aros_xcode_path" >&5
8397 echo "${ECHO_T}$aros_xcode_path" >&6; }
8399 { echo "$as_me:$LINENO: checking for minimum supported iOS version" >&5
8400 echo $ECHO_N "checking for minimum supported iOS version... $ECHO_C" >&6; }
8402 # Check whether --with-ios-version was given.
8403 if test "${with_ios_version+set}" = set; then
8404 withval
=$with_ios_version; aros_ios_version
="$withval"
8406 aros_ios_version
="2.0"
8409 { echo "$as_me:$LINENO: result: $aros_ios_version" >&5
8410 echo "${ECHO_T}$aros_ios_version" >&6; }
8412 { echo "$as_me:$LINENO: checking what iOS SDK version to use" >&5
8413 echo $ECHO_N "checking what iOS SDK version to use... $ECHO_C" >&6; }
8415 # Check whether --with-ios-sdk was given.
8416 if test "${with_ios_sdk+set}" = set; then
8417 withval
=$with_ios_sdk; aros_ios_sdk
="$withval"
8422 { echo "$as_me:$LINENO: result: $aros_ios_sdk" >&5
8423 echo "${ECHO_T}$aros_ios_sdk" >&6; }
8427 #-----------------------------------------------------------------------------
8428 { echo "$as_me:$LINENO: checking what target variant to enable" >&5
8429 echo $ECHO_N "checking what target variant to enable... $ECHO_C" >&6; }
8430 # Check whether --enable-target_variant was given.
8431 if test "${enable_target_variant+set}" = set; then
8432 enableval
=$enable_target_variant; target_variant
=$enableval
8434 target_variant
="none"
8437 if test "$target_variant" = "none"; then
8438 aros_target_variant
=""
8439 aros_target_suffix
=""
8441 aros_target_variant
="$target_variant"
8442 aros_target_suffix
="-$target_variant"
8444 { echo "$as_me:$LINENO: result: $enableval" >&5
8445 echo "${ECHO_T}$enableval" >&6; }
8447 target_bootloader
="none"
8449 #-----------------------------------------------------------------------------
8450 # This is the target configuration switch.
8451 case "$target_os" in
8453 aros_target_arch
="linux"
8454 case "$target_cpu" in
8456 aros_target_cpu
="m68k"
8457 aros_object_format
="m68kelf"
8458 aros_flavour
="emulcompat"
8459 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
8460 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
8461 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
8462 gcc_target_cpu
="mc68000"
8465 aros_target_cpu
="i386"
8466 aros_object_format
="elf_i386"
8467 aros_flavour
="emulation"
8468 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
8469 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
8470 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
8471 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
8472 aros_config_ldflags
="-m32 -march=i486"
8473 aros_kernel_ldflags
="-melf_i386"
8474 aros_default_wbdepth
=8
8475 gcc_target_cpu
="i386"
8478 aros_target_cpu
="x86_64"
8479 aros_object_format
="elf_x86_64"
8480 aros_flavour
="emulation"
8481 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
8482 aros_config_cflags
="$aros_config_cflags -mno-red-zone"
8483 aros_default_wbdepth
=8
8484 gcc_target_cpu
="x86_64"
8487 aros_target_cpu
="ppc"
8488 aros_object_format
="elf32ppc"
8489 aros_flavour
="emulation"
8490 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8491 aros_default_wbdepth
=8
8492 gcc_target_cpu
="ppc"
8495 # Same as powerpc, but I need this for the nightly build to work again.
8496 # Actually, the nightly should be made working with powerpc target.
8497 # That just was too much work for the moment, another week or two.
8499 aros_target_cpu
="ppc"
8500 aros_object_format
="elf32ppc"
8501 aros_flavour
="emulation"
8502 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8503 aros_default_wbdepth
=8
8504 gcc_target_cpu
="ppc"
8507 aros_target_cpu
="arm"
8508 aros_object_format
="armelf_linux_eabi"
8509 aros_flavour
="emulation"
8510 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
8511 gcc_target_cpu
="arm"
8512 aros_config_cflags
="$aros_config_cflags -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
8513 aros_config_aflags
="$aros_config_aflags -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
8516 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Linux -- $target_cpu\"" >&5
8517 echo "$as_me: error: \"Unknown CPU for Linux -- $target_cpu\"" >&2;}
8518 { (exit 1); exit 1; }; }
8524 aros_target_arch
="pc"
8525 aros_shared_default
="no"
8526 target_bootloader
="grub2"
8527 case "$target_cpu" in
8529 aros_target_cpu
="i386"
8532 if test "$aros_object_format" = "" ; then
8533 aros_object_format
="elf_i386"
8535 aros_flavour
="standalone"
8536 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8537 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
8538 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
8539 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
8540 aros_config_ldflags
="-m32 -march=i486"
8541 aros_kernel_ldflags
="-melf_i386"
8542 aros_default_wbwidth
=640
8543 aros_default_wbheight
=480
8544 gcc_target_cpu
="i386"
8547 aros_target_cpu
="x86_64"
8549 if test "$aros_object_format" = "" ; then
8550 aros_object_format
="elf_x86_64"
8552 aros_flavour
="standalone"
8553 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8554 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone"
8555 aros_kernel_ldflags
=""
8556 aros_default_wbwidth
=640
8557 aros_default_wbheight
=480
8558 gcc_target_cpu
="x86_64"
8561 { { echo "$as_me:$LINENO: error: \"Unknown native CPU -- $target_cpu\"" >&5
8562 echo "$as_me: error: \"Unknown native CPU -- $target_cpu\"" >&2;}
8563 { (exit 1); exit 1; }; }
8569 aros_target_arch
="prep"
8570 aros_shared_default
="no"
8571 aros_target_cpu
="ppc"
8572 aros_object_format
="elf32ppc"
8573 aros_flavour
="ppcnative"
8574 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8575 aros_kernel_ldflags
=""
8576 aros_default_wbwidth
=640
8577 aros_default_wbheight
=480
8578 gcc_target_cpu
="ppc"
8582 aros_target_arch
="freebsd"
8583 aros_target_cpu
="i386"
8584 aros_flavour
="emulation"
8585 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8586 gcc_target_cpu
="i386"
8588 aros_target_strip_flags
="-x"
8592 aros_target_arch
="darwin"
8593 aros_flavour
="emulation"
8594 case "$target_cpu" in
8596 aros_target_cpu
="i386"
8597 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8598 aros_kernel_cflags
="$aros_kernel_cflags -m32"
8599 aros_kernel_ldflags
="$aros_kernel_ldflags -m32"
8600 aros_default_wbdepth
=8
8601 gcc_target_cpu
="i386"
8602 aros_object_format
="elf_i386"
8603 aros_target_strip_flags
="-x"
8604 aros_target_cc
="i386-aros-gcc"
8605 aros_target_cxx
="i386-aros-g++"
8606 aros_target_ld
="i386-aros-ld"
8607 aros_target_as
="i386-aros-as"
8608 aros_target_ar
="i386-aros-ar"
8609 aros_target_ranlib
="i386-aros-ranlib"
8610 aros_target_nm
="i386-aros-nm"
8611 aros_target_strip
="i386-aros-strip"
8612 aros_target_objcopy
="i386-aros-objcopy"
8613 aros_target_objdump
="i386-aros-objdump"
8614 target_tool_prefix
="i686-apple-darwin10-"
8617 aros_target_cpu
="x86_64"
8618 aros_object_format
="elf_x86_64"
8619 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8620 aros_kernel_cflags
="$aros_kernel_cflags -m64"
8621 aros_kernel_ldflags
="$aros_kernel_ldflags -m64"
8622 aros_default_wbdepth
=8
8623 gcc_target_cpu
="x86_64"
8624 aros_target_cc
="x86_64-aros-gcc"
8625 aros_target_cxx
="x86_64-aros-g++"
8626 aros_target_ld
="x86_64-aros-ld"
8627 aros_target_as
="x86_64-aros-as"
8628 aros_target_ar
="x86_64-aros-ar"
8629 aros_target_ranlib
="x86_64-aros-ranlib"
8630 aros_target_nm
="x86_64-aros-nm"
8631 aros_target_strip
="x86_64-aros-strip"
8632 aros_target_objcopy
="x86_64-aros-objcopy"
8633 aros_target_objdump
="x86_64-aros-objdump"
8634 target_tool_prefix
="i686-apple-darwin10-"
8637 aros_target_cpu
="ppc"
8638 aros_object_format
="elf32_ppc"
8639 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8640 aros_default_wbdepth
=8
8641 gcc_target_cpu
="ppc"
8642 aros_target_cc
="ppc-aros-gcc"
8643 aros_target_cxx
="ppc-aros-g++"
8644 aros_target_ld
="ppc-aros-ld"
8645 aros_target_as
="ppc-aros-as"
8646 aros_target_ar
="ppc-aros-ar"
8647 aros_target_ranlib
="ppc-aros-ranlib"
8648 aros_target_nm
="ppc-aros-nm"
8649 aros_target_strip
="ppc-aros-strip"
8650 aros_target_objcopy
="ppc-aros-objcopy"
8651 aros_target_objdump
="ppc-aros-objdump"
8652 target_tool_prefix
="powerpc-apple-darwin10-"
8655 { { echo "$as_me:$LINENO: error: \"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" >&5
8656 echo "$as_me: error: \"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" >&2;}
8657 { (exit 1); exit 1; }; }
8663 aros_target_arch
="ios"
8664 aros_flavour
="emulation"
8665 # This is here because it may depend on iOS or SDK version
8666 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
8667 case "$target_cpu" in
8669 aros_ios_platform
="iPhoneSimulator"
8670 aros_target_cpu
="i386"
8671 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8672 aros_default_wbdepth
=8
8673 gcc_target_cpu
="i386"
8674 aros_object_format
="elf_i386"
8675 aros_target_strip_flags
="-x"
8676 aros_target_cc
="i386-aros-gcc"
8677 aros_target_cxx
="i386-aros-g++"
8678 aros_target_ld
="i386-aros-ld"
8679 aros_target_as
="i386-aros-as"
8680 aros_target_ar
="i386-aros-ar"
8681 aros_target_ranlib
="i386-aros-ranlib"
8682 aros_target_nm
="i386-aros-nm"
8683 aros_target_strip
="i386-aros-strip"
8684 aros_target_objcopy
="i386-aros-objcopy"
8685 aros_target_objdump
="i386-aros-objdump"
8686 target_tool_prefix
="i686-apple-darwin10-"
8687 target_tool_flags
="-m32"
8690 aros_ios_platform
="iPhoneOS"
8691 aros_target_cpu
="arm"
8692 aros_object_format
="armelf_linux_eabi"
8693 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8694 aros_config_cflags
="$aros_config_cflags -march=armv6 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
8695 aros_config_aflags
="$aros_config_aflags -march=armv6 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
8696 aros_arch_libs
="-laeabi"
8697 aros_default_wbdepth
=8
8698 gcc_target_cpu
="arm"
8699 aros_kernel_ld
="ld -arch armv6"
8700 aros_target_cc
="arm-aros-gcc"
8701 aros_target_cxx
="arm-aros-g++"
8702 aros_target_ld
="arm-aros-ld"
8703 aros_target_as
="arm-aros-as"
8704 aros_target_ar
="arm-aros-ar"
8705 aros_target_ranlib
="arm-aros-ranlib"
8706 aros_target_nm
="arm-aros-nm"
8707 aros_target_strip
="arm-aros-strip"
8708 aros_target_objcopy
="arm-aros-objcopy"
8709 aros_target_objdump
="arm-aros-objdump"
8710 target_tool_prefix
="arm-apple-darwin10-"
8711 aros_default_wbwidth
=320
8712 aros_default_wbheight
=480
8713 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
8716 { { echo "$as_me:$LINENO: error: \"Unsupported target CPU for iOS hosted flavour -- $target_cpu\"" >&5
8717 echo "$as_me: error: \"Unsupported target CPU for iOS hosted flavour -- $target_cpu\"" >&2;}
8718 { (exit 1); exit 1; }; }
8721 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_ios_sdk.sdk"
8722 target_tool_flags
="$target_tool_flags --sysroot $aros_ios_sdk"
8726 aros_target_arch
="dragonfly"
8727 aros_flavour
="emulation"
8728 case "$target_cpu" in
8730 aros_target_cpu
="i386"
8731 aros_object_format
="elf_i386"
8732 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
8735 aros_target_cpu
="x86_64"
8736 aros_object_format
="elf_x86_64"
8737 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
8740 { { echo "$as_me:$LINENO: error: \"Unknown CPU for DragonFly -- $target_cpu\"" >&5
8741 echo "$as_me: error: \"Unknown CPU for DragonFly -- $target_cpu\"" >&2;}
8742 { (exit 1); exit 1; }; }
8748 aros_target_arch
="netbsd"
8749 case "$target_cpu" in
8751 aros_target_cpu
="m68k"
8752 aros_object_format
="m68kelf"
8753 aros_flavour
="emulcompat"
8754 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8755 gcc_target_cpu
="mc68000"
8758 aros_target_cpu
="i386"
8759 aros_object_format
="elf_i386"
8760 aros_flavour
="emulation"
8761 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8762 aros_default_wbdepth
=8
8763 gcc_target_cpu
="i386"
8766 { { echo "$as_me:$LINENO: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&5
8767 echo "$as_me: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&2;}
8768 { (exit 1); exit 1; }; }
8771 aros_target_genmap
="-Wl,-M -Xlinker >"
8772 aros_flavour
="emulation"
8773 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8777 aros_target_arch
="openbsd"
8778 case "$target_cpu" in
8780 aros_target_cpu
="i386"
8781 aros_object_format
="elf_i386"
8782 aros_flavour
="emulation"
8783 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8784 gcc_target_cpu
="i386"
8787 { { echo "$as_me:$LINENO: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&5
8788 echo "$as_me: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&2;}
8789 { (exit 1); exit 1; }; }
8792 aros_target_genmap
="-Wl,-M -Xlinker >"
8793 aros_target_nm_flags
="-u"
8794 aros_flavour
="emulation"
8798 aros_target_arch
="solaris"
8799 case "$target_cpu" in
8801 aros_target_cpu
="i386"
8802 aros_object_format
="elf_i386"
8803 aros_flavour
="emulation"
8804 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
8805 aros_default_wbdepth
=8
8806 gcc_target_cpu
="i386"
8809 aros_target_cpu
="sparc"
8810 aros_object_format
="elf_sparc"
8811 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8812 gcc_target_cpu
="sparc"
8815 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&5
8816 echo "$as_me: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&2;}
8817 { (exit 1); exit 1; }; }
8820 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8821 aros_flavour
="emulation"
8825 aros_target_arch
="morphos"
8826 aros_shared_default
="no"
8827 aros_target_cpu
="ppc"
8828 aros_object_format
="elf_ppc"
8829 aros_flavour
="nativecompat"
8830 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8831 gcc_target_cpu
="ppc"
8835 aros_target_arch
="sam440"
8836 aros_shared_default
="no"
8837 aros_target_cpu
="ppc"
8838 aros_object_format
="elf32ppc"
8839 aros_flavour
="ppcnative"
8840 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8841 aros_kernel_ldflags
=""
8842 aros_default_wbwidth
=1024
8843 aros_default_wbheight
=768
8844 aros_default_wbdepth
=24
8845 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
8846 gcc_target_cpu
="powerpc"
8850 aros_target_arch
="efika"
8851 aros_shared_default
="no"
8852 aros_target_cpu
="arm"
8853 aros_object_format
="armelf_linux_eabi"
8854 aros_flavour
="standalone"
8855 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8856 aros_kernel_ldflags
=""
8857 aros_default_wbwidth
=1024
8858 aros_default_wbheight
=600
8859 aros_arch_libs
="-laeabi"
8860 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"
8861 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"
8865 aros_target_arch
="chrp"
8866 aros_shared_default
="no"
8867 aros_target_cpu
="ppc"
8868 aros_object_format
="elf32ppc"
8869 aros_flavour
="ppcnative"
8870 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8871 aros_kernel_ldflags
=""
8872 aros_default_wbwidth
=640
8873 aros_default_wbheight
=480
8874 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
8875 gcc_target_cpu
="powerpc"
8876 case "$aros_target_variant" in
8878 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
8884 aros_target_arch
="amiga"
8885 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8886 aros_shared_default
="no"
8888 case "$target_cpu" in
8890 aros_target_cpu
="m68k"
8891 aros_object_format
="m68kelf"
8892 aros_flavour
="standalone"
8893 gcc_target_cpu
="mc68000"
8894 aros_config_cflags
="$aros_config_cflags -g3 -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -${gcc_target_cpu} -fbuiltin"
8895 aros_config_aflags
="$aros_config_aflags -g3 -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -${gcc_target_cpu}"
8896 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -${gcc_target_cpu}"
8897 target_tool_prefix
="m68k-elf-"
8898 aros_target_nostdlib_ldflags
="" # We always need -lgcc
8899 aros_target_strip_flags
="-R.comment"
8902 aros_target_cpu
="m68k"
8903 aros_object_format
="m68kelf"
8904 aros_flavour
="standcompat"
8905 gcc_target_cpu
="mc68000"
8906 aros_config_cflags
="$aros_config_cflags -g3 -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -${gcc_target_cpu} -fbuiltin"
8907 aros_config_aflags
="$aros_config_aflags -g3 -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -${gcc_target_cpu}"
8908 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -${gcc_target_cpu}"
8909 target_tool_prefix
="m68k-elf-"
8910 aros_target_nostdlib_ldflags
="" # We always need -lgcc
8911 aros_target_strip_flags
="-R.comment"
8915 aros_flavour
="native"
8916 gcc_target_cpu
="ppc"
8919 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Amiga $target_cpu\"" >&5
8920 echo "$as_me: error: \"Unknown CPU for Amiga $target_cpu\"" >&2;}
8921 { (exit 1); exit 1; }; }
8927 aros_target_arch
="mingw32"
8928 aros_shared_default
="no"
8929 aros_flavour
="emulation"
8930 aros_shared_cflags
=""
8933 case "$target_cpu" in
8935 aros_target_cpu
="i386"
8936 aros_object_format
="elf_i386"
8937 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8938 aros_default_wbdepth
=8
8939 gcc_target_cpu
="i386"
8940 aros_target_cc
="i386-aros-gcc"
8941 aros_target_cxx
="i386-aros-g++"
8942 aros_target_ld
="i386-aros-ld"
8943 aros_target_as
="i386-aros-as"
8944 aros_target_ar
="i386-aros-ar"
8945 aros_target_ranlib
="i386-aros-ranlib"
8946 aros_target_nm
="i386-aros-nm"
8947 aros_target_strip
="i386-aros-strip"
8948 aros_target_objcopy
="i386-aros-objcopy"
8949 aros_target_objdump
="i386-aros-objdump"
8950 target_tool_prefix
="i386-mingw32-"
8953 aros_target_cpu
="x86_64"
8954 aros_object_format
="elf_x86_64"
8955 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8956 aros_default_wbdepth
=8
8957 gcc_target_cpu
="x86_64"
8958 aros_target_cc
="x86_64-aros-gcc"
8959 aros_target_cxx
="x86_64-aros-g++"
8960 aros_target_ld
="x86_64-aros-ld"
8961 aros_target_as
="x86_64-aros-as"
8962 aros_target_ar
="x86_64-aros-ar"
8963 aros_target_ranlib
="x86_64-aros-ranlib"
8964 aros_target_nm
="x86_64-aros-nm"
8965 aros_target_strip
="x86_64-aros-strip"
8966 aros_target_objcopy
="x86_64-aros-objcopy"
8967 aros_target_objdump
="x86_64-aros-objdump"
8968 target_tool_prefix
="x86_64-w64-mingw32-"
8971 aros_target_cpu
="arm"
8972 aros_object_format
="armelf_linux_eabi"
8973 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
8974 aros_arch_libs
="-laeabi"
8975 aros_default_wbdepth
=8
8976 gcc_target_cpu
="arm"
8977 aros_target_cc
="arm-aros-gcc"
8978 aros_target_cxx
="arm-aros-g++"
8979 aros_target_ld
="arm-aros-ld"
8980 aros_target_as
="arm-aros-as"
8981 aros_target_ar
="arm-aros-ar"
8982 aros_target_ranlib
="arm-aros-ranlib"
8983 aros_target_nm
="arm-aros-nm"
8984 aros_target_strip
="arm-aros-strip"
8985 aros_target_objcopy
="arm-aros-objcopy"
8986 aros_target_objdump
="arm-aros-objdump"
8987 target_tool_prefix
="arm-mingw32ce-"
8988 aros_default_wbwidth
=160
8989 aros_default_wbheight
=160
8992 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Mingw32 -- $target_cpu\"" >&5
8993 echo "$as_me: error: \"Unknown CPU for Mingw32 -- $target_cpu\"" >&2;}
8994 { (exit 1); exit 1; }; }
8997 if test $host_os = "cygwin"; then
8998 aros_kernel_cflags
="-mno-cygwin"
9002 aros_target_arch
="pp"
9003 aros_shared_default
="no"
9004 case "$target_cpu" in
9006 aros_target_cpu
="m68k"
9007 aros_object_format
="m68kelf"
9008 aros_flavour
="palmnative"
9009 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
9010 aros_default_wbwidth
=160
9011 aros_default_wbheight
=160
9012 aros_default_wbdepth
=1
9013 aros_target_ar_flags
="cru"
9014 aros_compiler_libs
="-lgcc1"
9015 aros_shared_default
=no
9016 aros_shared_cflags
="-fpic"
9017 aros_shared_aflags
=""
9018 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
9019 aros_kernel_ldflags
="-Wl,-rpath,./lib"
9020 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
9021 aros_debug_aflags
=""
9022 aros_debug_ldflags
="$aros_symbols_debug"
9023 aros_mungwall_debug
="0"
9024 aros_modules_debug
="0"
9025 gcc_target_cpu
="mc68000"
9026 ignore_undefined_symbols
="-ius"
9029 { { echo "$as_me:$LINENO: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&5
9030 echo "$as_me: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&2;}
9031 { (exit 1); exit 1; }; }
9037 aros_target_arch
="mac"
9038 aros_shared_default
="no"
9039 case "$target_cpu" in
9041 aros_target_cpu
="m68k"
9042 aros_object_format
="m68kelf"
9043 aros_flavour
="mac68knative"
9044 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
9045 aros_default_wbwidth
=512
9046 aros_default_wbheight
=384
9047 aros_default_wbdepth
=8
9048 aros_target_ar_flags
="cru"
9049 aros_compiler_libs
="-lgcc1"
9050 aros_shared_default
=no
9051 aros_shared_cflags
="-fpic"
9052 aros_shared_aflags
=""
9053 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
9054 aros_kernel_ldflags
="-Wl,-rpath,./lib"
9055 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000"
9056 aros_debug_aflags
=""
9057 aros_debug_ldflags
="$aros_symbols_debug"
9058 aros_mungwall_debug
="0"
9059 aros_modules_debug
="0"
9060 gcc_target_cpu
="mc68000"
9061 ignore_undefined_symbols
="-ius"
9064 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&5
9065 echo "$as_me: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&2;}
9066 { (exit 1); exit 1; }; }
9072 { { echo "$as_me:$LINENO: error: Unsupported target architecture $target" >&5
9073 echo "$as_me: error: Unsupported target architecture $target" >&2;}
9074 { (exit 1); exit 1; }; }
9078 { echo "$as_me:$LINENO: checking Where to download sourcecode for external ports" >&5
9079 echo $ECHO_N "checking Where to download sourcecode for external ports... $ECHO_C" >&6; }
9081 # Check whether --with-portssources was given.
9082 if test "${with_portssources+set}" = set; then
9083 withval
=$with_portssources; with_portssrcdir
=$withval
9085 with_portssrcdir
="default"
9088 if test "$with_portssrcdir" = "default"; then
9089 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
9091 AROS_PORTSSRCDIR
="$with_portssrcdir"
9093 { echo "$as_me:$LINENO: result: $AROS_PORTSSRCDIR" >&5
9094 echo "${ECHO_T}$AROS_PORTSSRCDIR" >&6; }
9096 { echo "$as_me:$LINENO: checking which bootloader to use" >&5
9097 echo $ECHO_N "checking which bootloader to use... $ECHO_C" >&6; }
9099 # Check whether --with-bootloader was given.
9100 if test "${with_bootloader+set}" = set; then
9101 withval
=$with_bootloader; target_bootloader
=$withval
9103 target_bootloader
=$target_bootloader
9106 if test "$target_bootloader" = "none"; then
9107 aros_target_bootloader
=""
9109 aros_target_bootloader
="$target_bootloader"
9111 { echo "$as_me:$LINENO: result: $target_bootloader" >&5
9112 echo "${ECHO_T}$target_bootloader" >&6; }
9114 { echo "$as_me:$LINENO: checking which icon-set to use" >&5
9115 echo $ECHO_N "checking which icon-set to use... $ECHO_C" >&6; }
9117 # Check whether --with-iconset was given.
9118 if test "${with_iconset+set}" = set; then
9119 withval
=$with_iconset; target_iconset
=$withval
9121 target_iconset
="default"
9124 if test "$target_iconset" = "default"; then
9125 aros_target_iconset
="Gorilla"
9126 target_iconset
="default (Gorilla)"
9128 aros_target_iconset
="$target_iconset"
9130 { echo "$as_me:$LINENO: result: $target_iconset" >&5
9131 echo "${ECHO_T}$target_iconset" >&6; }
9133 { echo "$as_me:$LINENO: checking which GUI Theme to use" >&5
9134 echo $ECHO_N "checking which GUI Theme to use... $ECHO_C" >&6; }
9136 # Check whether --with-theme was given.
9137 if test "${with_theme+set}" = set; then
9138 withval
=$with_theme; target_guitheme
=$withval
9140 target_guitheme
="default"
9143 if test "$target_guitheme" = "default"; then
9144 aros_target_guitheme
="Ice"
9146 aros_target_guitheme
="$target_guitheme"
9148 { echo "$as_me:$LINENO: result: $aros_target_guitheme" >&5
9149 echo "${ECHO_T}$aros_target_guitheme" >&6; }
9151 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
9154 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
9157 if test "$aros_host_cpu" == "x86_64" ; then
9158 if test "$aros_target_cpu" == "i386" ; then
9159 if test "$aros_target_arch" != "mingw32"; then
9165 # Set prefix for target compiler etc. if we're cross-compiling
9166 # (should possibly be earlier but needs to be after AC_PROG_CC)
9167 if test "$cross_compiling" = "yes" ; then
9168 if test "$target_tool_prefix" = ""; then
9169 target_tool_prefix
=${target_cpu}-elf-
9171 CC
=${target_tool_prefix}gcc
9172 if test "$target_tool_version" != "default"; then
9173 CC
="$CC-$target_tool_version"
9175 # Extract the first word of "$CC", so it can be a program name with args.
9176 set dummy
$CC; ac_word
=$2
9177 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9179 if test "${ac_cv_path_CC+set}" = set; then
9180 echo $ECHO_N "(cached) $ECHO_C" >&6
9184 ac_cv_path_CC
="$CC" # Let the user override the test with a path.
9187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9191 test -z "$as_dir" && as_dir
=.
9192 for ac_exec_ext
in '' $ac_executable_extensions; do
9193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9194 ac_cv_path_CC
="$as_dir/$ac_word$ac_exec_ext"
9195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9206 if test -n "$CC"; then
9207 { echo "$as_me:$LINENO: result: $CC" >&5
9208 echo "${ECHO_T}$CC" >&6; }
9210 { echo "$as_me:$LINENO: result: no" >&5
9211 echo "${ECHO_T}no" >&6; }
9215 if test "$CC" = ""; then
9216 { { echo "$as_me:$LINENO: error: gcc is required to build AROS. Please install and run configure again." >&5
9217 echo "$as_me: error: gcc is required to build AROS. Please install and run configure again." >&2;}
9218 { (exit 1); exit 1; }; }
9221 CC
="$CC $target_tool_flags"
9223 #-----------------------------------------------------------------------------
9225 # Disable pointer-signedness warnings if the compiler recognises the option
9227 { echo "$as_me:$LINENO: checking whether ${CC} accepts -Wno-pointer-sign" >&5
9228 echo $ECHO_N "checking whether ${CC} accepts -Wno-pointer-sign... $ECHO_C" >&6; }
9229 save_cflags
="$CFLAGS"
9230 CFLAGS
="$CFLAGS -Wno-pointer-sign"
9231 cat >conftest.
$ac_ext <<_ACEOF
9234 cat confdefs.h
>>conftest.
$ac_ext
9235 cat >>conftest.
$ac_ext <<_ACEOF
9236 /* end confdefs.h. */
9246 rm -f conftest.
$ac_objext
9247 if { (ac_try
="$ac_compile"
9249 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9250 *) ac_try_echo=$ac_try;;
9252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9253 (eval "$ac_compile") 2>conftest.er1
9255 grep -v '^ *+' conftest.er1 >conftest.err
9257 cat conftest.err >&5
9258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9259 (exit $ac_status); } && {
9260 test -z "$ac_c_werror_flag" ||
9261 test ! -s conftest.err
9262 } && test -s conftest.$ac_objext; then
9263 use_no_sign_warning="yes"
9265 echo "$as_me: failed program was:" >&5
9266 sed 's/^/| /' conftest.$ac_ext >&5
9268 use_no_sign_warning="no"
9271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9272 { echo "$as_me:$LINENO: result: $use_no_sign_warning" >&5
9273 echo "${ECHO_T}$use_no_sign_warning" >&6; }
9274 if test "x-$use_no_sign_warning" = "x-yes" ; then
9275 aros_config_cflags="$aros_config_cflags -Wno-pointer-sign"
9277 CFLAGS="$save_cflags"
9279 #-----------------------------------------------------------------------------
9281 # Find all the tools we need to compile. This could be cross-compiling
9282 # though! If that is the case we use the GNU form of the target and
9283 # simply add this to the front of the binary name. This is rather simple,
9284 # but it should work under most circumstances.
9286 # The default tools are to use the same as the host, but only if the
9287 # host and target CPU are the same. With GCC this is normally enough.
9291 aros_shared_ld="$aros_host_ld"
9293 aros_target_mkdep="$aros_host_mkdep"
9294 aros_target_incl_def="$aros_host_incl"
9296 aros_kernel_cc="$CC"
9298 # The default tools executables to be linked to.
9299 if test "$aros_target_cc" != ""; then
9300 # Extract the first word of "$aros_target_cc", so it can be a program name with args.
9301 set dummy $aros_target_cc; ac_word=$2
9302 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9304 if test "${ac_cv_path_aros_target_cc+set}" = set; then
9305 echo $ECHO_N "(cached) $ECHO_C" >&6
9307 case $aros_target_cc in
9309 ac_cv_path_aros_target_cc="$aros_target_cc" # Let the user override the test with a path.
9312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9316 test -z "$as_dir" && as_dir=.
9317 for ac_exec_ext in '' $ac_executable_extensions; do
9318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9319 ac_cv_path_aros_target_cc="$as_dir/$ac_word$ac_exec_ext"
9320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9330 aros_target_cc=$ac_cv_path_aros_target_cc
9331 if test -n "$aros_target_cc"; then
9332 { echo "$as_me:$LINENO: result: $aros_target_cc" >&5
9333 echo "${ECHO_T}$aros_target_cc" >&6; }
9335 { echo "$as_me:$LINENO: result: no" >&5
9336 echo "${ECHO_T}no" >&6; }
9340 if test "$aros_target_cc" = ""; then
9341 { { echo "$as_me:$LINENO: error: gcc is required to build AROS. Please install and run configure again." >&5
9342 echo "$as_me: error: gcc is required to build AROS. Please install and run configure again." >&2;}
9343 { (exit 1); exit 1; }; }
9346 if test "$aros_target_ld" != ""; then
9347 # Extract the first word of "$aros_target_ld", so it can be a program name with args.
9348 set dummy $aros_target_ld; ac_word=$2
9349 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9351 if test "${ac_cv_path_aros_target_ld+set}" = set; then
9352 echo $ECHO_N "(cached) $ECHO_C" >&6
9354 case $aros_target_ld in
9356 ac_cv_path_aros_target_ld="$aros_target_ld" # Let the user override the test with a path.
9359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9363 test -z "$as_dir" && as_dir=.
9364 for ac_exec_ext in '' $ac_executable_extensions; do
9365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9366 ac_cv_path_aros_target_ld="$as_dir/$ac_word$ac_exec_ext"
9367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9377 aros_target_ld=$ac_cv_path_aros_target_ld
9378 if test -n "$aros_target_ld"; then
9379 { echo "$as_me:$LINENO: result: $aros_target_ld" >&5
9380 echo "${ECHO_T}$aros_target_ld" >&6; }
9382 { echo "$as_me:$LINENO: result: no" >&5
9383 echo "${ECHO_T}no" >&6; }
9387 if test "$aros_target_ld" = ""; then
9388 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
9389 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
9390 { (exit 1); exit 1; }; }
9394 if test "$crosstools" != "yes"; then
9396 if test "$aros_target_as" = ""; then
9397 if test "$cross_compiling" = "yes" ; then
9398 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
9399 set dummy ${target_tool_prefix}as; ac_word=$2
9400 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9402 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9403 echo $ECHO_N "(cached) $ECHO_C" >&6
9405 case $aros_target_as_ln in
9407 ac_cv_path_aros_target_as_ln="$aros_target_as_ln" # Let the user override the test with a path.
9410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9414 test -z "$as_dir" && as_dir=.
9415 for ac_exec_ext in '' $ac_executable_extensions; do
9416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9417 ac_cv_path_aros_target_as_ln="$as_dir/$ac_word$ac_exec_ext"
9418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9428 aros_target_as_ln=$ac_cv_path_aros_target_as_ln
9429 if test -n "$aros_target_as_ln"; then
9430 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9431 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9433 { echo "$as_me:$LINENO: result: no" >&5
9434 echo "${ECHO_T}no" >&6; }
9439 if test "$GCC" = "yes"; then
9440 aros_gcc_as=`$CC -print-prog-name=as
`
9441 # Extract the first word of "`basename $aros_gcc_[as
]`", so it can be a program name with args.
9442 set dummy `basename $aros_gcc_as`; ac_word=$2
9443 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9445 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9446 echo $ECHO_N "(cached) $ECHO_C" >&6
9448 case $aros_target_as_ln in
9450 ac_cv_path_aros_target_as_ln="$aros_target_as_ln" # Let the user override the test with a path.
9453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9454 for as_dir in `dirname $aros_gcc_as`
9457 test -z "$as_dir" && as_dir=.
9458 for ac_exec_ext in '' $ac_executable_extensions; do
9459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9460 ac_cv_path_aros_target_as_ln="$as_dir/$ac_word$ac_exec_ext"
9461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9471 aros_target_as_ln=$ac_cv_path_aros_target_as_ln
9472 if test -n "$aros_target_as_ln"; then
9473 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9474 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9476 { echo "$as_me:$LINENO: result: no" >&5
9477 echo "${ECHO_T}no" >&6; }
9482 if test "$aros_target_as_ln" = ""; then
9483 # Extract the first word of "as", so it can be a program name with args.
9484 set dummy as; ac_word=$2
9485 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9487 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9488 echo $ECHO_N "(cached) $ECHO_C" >&6
9490 case $aros_target_as_ln in
9492 ac_cv_path_aros_target_as_ln="$aros_target_as_ln" # Let the user override the test with a path.
9495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9499 test -z "$as_dir" && as_dir=.
9500 for ac_exec_ext in '' $ac_executable_extensions; do
9501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9502 ac_cv_path_aros_target_as_ln="$as_dir/$ac_word$ac_exec_ext"
9503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9513 aros_target_as_ln=$ac_cv_path_aros_target_as_ln
9514 if test -n "$aros_target_as_ln"; then
9515 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9516 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9518 { echo "$as_me:$LINENO: result: no" >&5
9519 echo "${ECHO_T}no" >&6; }
9526 # Extract the first word of "$aros_target_as", so it can be a program name with args.
9527 set dummy $aros_target_as; ac_word=$2
9528 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9530 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
9531 echo $ECHO_N "(cached) $ECHO_C" >&6
9533 case $aros_target_as_ln in
9535 ac_cv_path_aros_target_as_ln="$aros_target_as_ln" # Let the user override the test with a path.
9538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9542 test -z "$as_dir" && as_dir=.
9543 for ac_exec_ext in '' $ac_executable_extensions; do
9544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9545 ac_cv_path_aros_target_as_ln="$as_dir/$ac_word$ac_exec_ext"
9546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9556 aros_target_as_ln=$ac_cv_path_aros_target_as_ln
9557 if test -n "$aros_target_as_ln"; then
9558 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
9559 echo "${ECHO_T}$aros_target_as_ln" >&6; }
9561 { echo "$as_me:$LINENO: result: no" >&5
9562 echo "${ECHO_T}no" >&6; }
9568 if test "$aros_target_as_ln" = ""; then
9569 { { echo "$as_me:$LINENO: error: as is required to build AROS. Please install and run configure again." >&5
9570 echo "$as_me: error: as is required to build AROS. Please install and run configure again." >&2;}
9571 { (exit 1); exit 1; }; }
9574 if test "$aros_kernel_ld" = ""; then
9575 if test "$cross_compiling" = "yes" ; then
9576 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
9577 set dummy ${target_tool_prefix}ld; ac_word=$2
9578 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9580 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9581 echo $ECHO_N "(cached) $ECHO_C" >&6
9583 case $aros_kernel_ld in
9585 ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path.
9588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9592 test -z "$as_dir" && as_dir=.
9593 for ac_exec_ext in '' $ac_executable_extensions; do
9594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9595 ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext"
9596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9606 aros_kernel_ld=$ac_cv_path_aros_kernel_ld
9607 if test -n "$aros_kernel_ld"; then
9608 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9609 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9611 { echo "$as_me:$LINENO: result: no" >&5
9612 echo "${ECHO_T}no" >&6; }
9617 if test "$GCC" = "yes"; then
9618 aros_gcc_ld=`$CC -print-prog-name=ld
`
9619 # Extract the first word of "`basename $aros_gcc_[ld
]`", so it can be a program name with args.
9620 set dummy `basename $aros_gcc_ld`; ac_word=$2
9621 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9623 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9624 echo $ECHO_N "(cached) $ECHO_C" >&6
9626 case $aros_kernel_ld in
9628 ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path.
9631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9632 for as_dir in `dirname $aros_gcc_ld`
9635 test -z "$as_dir" && as_dir=.
9636 for ac_exec_ext in '' $ac_executable_extensions; do
9637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9638 ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext"
9639 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9649 aros_kernel_ld=$ac_cv_path_aros_kernel_ld
9650 if test -n "$aros_kernel_ld"; then
9651 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9652 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9654 { echo "$as_me:$LINENO: result: no" >&5
9655 echo "${ECHO_T}no" >&6; }
9660 if test "$aros_kernel_ld" = ""; then
9661 # Extract the first word of "ld", so it can be a program name with args.
9662 set dummy ld; ac_word=$2
9663 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9665 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9666 echo $ECHO_N "(cached) $ECHO_C" >&6
9668 case $aros_kernel_ld in
9670 ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path.
9673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9677 test -z "$as_dir" && as_dir=.
9678 for ac_exec_ext in '' $ac_executable_extensions; do
9679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9680 ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext"
9681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9691 aros_kernel_ld=$ac_cv_path_aros_kernel_ld
9692 if test -n "$aros_kernel_ld"; then
9693 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9694 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9696 { echo "$as_me:$LINENO: result: no" >&5
9697 echo "${ECHO_T}no" >&6; }
9704 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
9705 set dummy $aros_kernel_ld; ac_word=$2
9706 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9708 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
9709 echo $ECHO_N "(cached) $ECHO_C" >&6
9711 case $aros_kernel_ld in
9713 ac_cv_path_aros_kernel_ld="$aros_kernel_ld" # Let the user override the test with a path.
9716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9720 test -z "$as_dir" && as_dir=.
9721 for ac_exec_ext in '' $ac_executable_extensions; do
9722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9723 ac_cv_path_aros_kernel_ld="$as_dir/$ac_word$ac_exec_ext"
9724 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9734 aros_kernel_ld=$ac_cv_path_aros_kernel_ld
9735 if test -n "$aros_kernel_ld"; then
9736 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9737 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9739 { echo "$as_me:$LINENO: result: no" >&5
9740 echo "${ECHO_T}no" >&6; }
9746 if test "$aros_kernel_ld" = ""; then
9747 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
9748 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
9749 { (exit 1); exit 1; }; }
9752 if test "$aros_target_ar" = ""; then
9753 if test "$cross_compiling" = "yes" ; then
9754 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
9755 set dummy ${target_tool_prefix}ar; ac_word=$2
9756 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9758 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9759 echo $ECHO_N "(cached) $ECHO_C" >&6
9761 case $aros_target_ar_ln in
9763 ac_cv_path_aros_target_ar_ln="$aros_target_ar_ln" # Let the user override the test with a path.
9766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9770 test -z "$as_dir" && as_dir=.
9771 for ac_exec_ext in '' $ac_executable_extensions; do
9772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9773 ac_cv_path_aros_target_ar_ln="$as_dir/$ac_word$ac_exec_ext"
9774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9784 aros_target_ar_ln=$ac_cv_path_aros_target_ar_ln
9785 if test -n "$aros_target_ar_ln"; then
9786 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9787 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9789 { echo "$as_me:$LINENO: result: no" >&5
9790 echo "${ECHO_T}no" >&6; }
9795 if test "$GCC" = "yes"; then
9796 aros_gcc_ar=`$CC -print-prog-name=ar`
9797 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9798 set dummy `basename $aros_gcc_ar`; ac_word=$2
9799 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9801 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9802 echo $ECHO_N "(cached) $ECHO_C" >&6
9804 case $aros_target_ar_ln in
9806 ac_cv_path_aros_target_ar_ln="$aros_target_ar_ln" # Let the user override the test with a path.
9809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9810 for as_dir in `dirname $aros_gcc_ar`
9813 test -z "$as_dir" && as_dir=.
9814 for ac_exec_ext in '' $ac_executable_extensions; do
9815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9816 ac_cv_path_aros_target_ar_ln="$as_dir/$ac_word$ac_exec_ext"
9817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9827 aros_target_ar_ln=$ac_cv_path_aros_target_ar_ln
9828 if test -n "$aros_target_ar_ln"; then
9829 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9830 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9832 { echo "$as_me:$LINENO: result: no" >&5
9833 echo "${ECHO_T}no" >&6; }
9838 if test "$aros_target_ar_ln" = ""; then
9839 # Extract the first word of "ar", so it can be a program name with args.
9840 set dummy ar; ac_word=$2
9841 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9843 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9844 echo $ECHO_N "(cached) $ECHO_C" >&6
9846 case $aros_target_ar_ln in
9848 ac_cv_path_aros_target_ar_ln="$aros_target_ar_ln" # Let the user override the test with a path.
9851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9855 test -z "$as_dir" && as_dir=.
9856 for ac_exec_ext in '' $ac_executable_extensions; do
9857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9858 ac_cv_path_aros_target_ar_ln="$as_dir/$ac_word$ac_exec_ext"
9859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9869 aros_target_ar_ln=$ac_cv_path_aros_target_ar_ln
9870 if test -n "$aros_target_ar_ln"; then
9871 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9872 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9874 { echo "$as_me:$LINENO: result: no" >&5
9875 echo "${ECHO_T}no" >&6; }
9882 # Extract the first word of "$aros_target_ar", so it can be a program name with args.
9883 set dummy $aros_target_ar; ac_word=$2
9884 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9886 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9887 echo $ECHO_N "(cached) $ECHO_C" >&6
9889 case $aros_target_ar_ln in
9891 ac_cv_path_aros_target_ar_ln="$aros_target_ar_ln" # Let the user override the test with a path.
9894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9898 test -z "$as_dir" && as_dir=.
9899 for ac_exec_ext in '' $ac_executable_extensions; do
9900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9901 ac_cv_path_aros_target_ar_ln="$as_dir/$ac_word$ac_exec_ext"
9902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9912 aros_target_ar_ln=$ac_cv_path_aros_target_ar_ln
9913 if test -n "$aros_target_ar_ln"; then
9914 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9915 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9917 { echo "$as_me:$LINENO: result: no" >&5
9918 echo "${ECHO_T}no" >&6; }
9924 if test "$aros_target_ar_ln" = ""; then
9925 { { echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
9926 echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
9927 { (exit 1); exit 1; }; }
9930 if test "$aros_target_nm" = ""; then
9931 if test "$cross_compiling" = "yes" ; then
9932 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
9933 set dummy ${target_tool_prefix}nm; ac_word=$2
9934 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9936 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
9937 echo $ECHO_N "(cached) $ECHO_C" >&6
9939 case $aros_target_nm_ln in
9941 ac_cv_path_aros_target_nm_ln="$aros_target_nm_ln" # Let the user override the test with a path.
9944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9948 test -z "$as_dir" && as_dir=.
9949 for ac_exec_ext in '' $ac_executable_extensions; do
9950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9951 ac_cv_path_aros_target_nm_ln="$as_dir/$ac_word$ac_exec_ext"
9952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9962 aros_target_nm_ln=$ac_cv_path_aros_target_nm_ln
9963 if test -n "$aros_target_nm_ln"; then
9964 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
9965 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
9967 { echo "$as_me:$LINENO: result: no" >&5
9968 echo "${ECHO_T}no" >&6; }
9973 if test "$GCC" = "yes"; then
9974 aros_gcc_nm=`$CC -print-prog-name=nm
`
9975 # Extract the first word of "`basename $aros_gcc_[nm
]`", so it can be a program name with args.
9976 set dummy `basename $aros_gcc_nm`; ac_word=$2
9977 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9979 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
9980 echo $ECHO_N "(cached) $ECHO_C" >&6
9982 case $aros_target_nm_ln in
9984 ac_cv_path_aros_target_nm_ln="$aros_target_nm_ln" # Let the user override the test with a path.
9987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9988 for as_dir in `dirname $aros_gcc_nm`
9991 test -z "$as_dir" && as_dir=.
9992 for ac_exec_ext in '' $ac_executable_extensions; do
9993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9994 ac_cv_path_aros_target_nm_ln="$as_dir/$ac_word$ac_exec_ext"
9995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10005 aros_target_nm_ln=$ac_cv_path_aros_target_nm_ln
10006 if test -n "$aros_target_nm_ln"; then
10007 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10008 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
10010 { echo "$as_me:$LINENO: result: no" >&5
10011 echo "${ECHO_T}no" >&6; }
10016 if test "$aros_target_nm_ln" = ""; then
10017 # Extract the first word of "nm", so it can be a program name with args.
10018 set dummy nm; ac_word=$2
10019 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10021 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
10022 echo $ECHO_N "(cached) $ECHO_C" >&6
10024 case $aros_target_nm_ln in
10026 ac_cv_path_aros_target_nm_ln="$aros_target_nm_ln" # Let the user override the test with a path.
10029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10030 for as_dir in $PATH
10033 test -z "$as_dir" && as_dir=.
10034 for ac_exec_ext in '' $ac_executable_extensions; do
10035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10036 ac_cv_path_aros_target_nm_ln="$as_dir/$ac_word$ac_exec_ext"
10037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10047 aros_target_nm_ln=$ac_cv_path_aros_target_nm_ln
10048 if test -n "$aros_target_nm_ln"; then
10049 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10050 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
10052 { echo "$as_me:$LINENO: result: no" >&5
10053 echo "${ECHO_T}no" >&6; }
10060 # Extract the first word of "$aros_target_nm", so it can be a program name with args.
10061 set dummy $aros_target_nm; ac_word=$2
10062 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10064 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
10065 echo $ECHO_N "(cached) $ECHO_C" >&6
10067 case $aros_target_nm_ln in
10069 ac_cv_path_aros_target_nm_ln="$aros_target_nm_ln" # Let the user override the test with a path.
10072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10073 for as_dir in $PATH
10076 test -z "$as_dir" && as_dir=.
10077 for ac_exec_ext in '' $ac_executable_extensions; do
10078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10079 ac_cv_path_aros_target_nm_ln="$as_dir/$ac_word$ac_exec_ext"
10080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10090 aros_target_nm_ln=$ac_cv_path_aros_target_nm_ln
10091 if test -n "$aros_target_nm_ln"; then
10092 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
10093 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
10095 { echo "$as_me:$LINENO: result: no" >&5
10096 echo "${ECHO_T}no" >&6; }
10102 if test "$aros_target_nm_ln" = ""; then
10103 { { echo "$as_me:$LINENO: error: nm is required to build AROS. Please install and run configure again." >&5
10104 echo "$as_me: error: nm is required to build AROS. Please install and run configure again." >&2;}
10105 { (exit 1); exit 1; }; }
10108 if test "$aros_target_objcopy" = ""; then
10109 if test "$cross_compiling" = "yes" ; then
10110 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
10111 set dummy ${target_tool_prefix}objcopy; ac_word=$2
10112 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10114 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10115 echo $ECHO_N "(cached) $ECHO_C" >&6
10117 case $aros_target_objcopy_ln in
10119 ac_cv_path_aros_target_objcopy_ln="$aros_target_objcopy_ln" # Let the user override the test with a path.
10122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10123 for as_dir in $PATH
10126 test -z "$as_dir" && as_dir=.
10127 for ac_exec_ext in '' $ac_executable_extensions; do
10128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10129 ac_cv_path_aros_target_objcopy_ln="$as_dir/$ac_word$ac_exec_ext"
10130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10140 aros_target_objcopy_ln=$ac_cv_path_aros_target_objcopy_ln
10141 if test -n "$aros_target_objcopy_ln"; then
10142 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10143 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
10145 { echo "$as_me:$LINENO: result: no" >&5
10146 echo "${ECHO_T}no" >&6; }
10151 if test "$GCC" = "yes"; then
10152 aros_gcc_objcopy=`$CC -print-prog-name=objcopy
`
10153 # Extract the first word of "`basename $aros_gcc_[objcopy
]`", so it can be a program name with args.
10154 set dummy `basename $aros_gcc_objcopy`; ac_word=$2
10155 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10157 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10158 echo $ECHO_N "(cached) $ECHO_C" >&6
10160 case $aros_target_objcopy_ln in
10162 ac_cv_path_aros_target_objcopy_ln="$aros_target_objcopy_ln" # Let the user override the test with a path.
10165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10166 for as_dir in `dirname $aros_gcc_objcopy`
10169 test -z "$as_dir" && as_dir=.
10170 for ac_exec_ext in '' $ac_executable_extensions; do
10171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10172 ac_cv_path_aros_target_objcopy_ln="$as_dir/$ac_word$ac_exec_ext"
10173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10183 aros_target_objcopy_ln=$ac_cv_path_aros_target_objcopy_ln
10184 if test -n "$aros_target_objcopy_ln"; then
10185 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10186 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
10188 { echo "$as_me:$LINENO: result: no" >&5
10189 echo "${ECHO_T}no" >&6; }
10194 if test "$aros_target_objcopy_ln" = ""; then
10195 # Extract the first word of "objcopy", so it can be a program name with args.
10196 set dummy objcopy; ac_word=$2
10197 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10199 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10200 echo $ECHO_N "(cached) $ECHO_C" >&6
10202 case $aros_target_objcopy_ln in
10204 ac_cv_path_aros_target_objcopy_ln="$aros_target_objcopy_ln" # Let the user override the test with a path.
10207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10208 for as_dir in $PATH
10211 test -z "$as_dir" && as_dir=.
10212 for ac_exec_ext in '' $ac_executable_extensions; do
10213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10214 ac_cv_path_aros_target_objcopy_ln="$as_dir/$ac_word$ac_exec_ext"
10215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10225 aros_target_objcopy_ln=$ac_cv_path_aros_target_objcopy_ln
10226 if test -n "$aros_target_objcopy_ln"; then
10227 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10228 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
10230 { echo "$as_me:$LINENO: result: no" >&5
10231 echo "${ECHO_T}no" >&6; }
10238 # Extract the first word of "$aros_target_objcopy", so it can be a program name with args.
10239 set dummy $aros_target_objcopy; ac_word=$2
10240 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10242 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
10243 echo $ECHO_N "(cached) $ECHO_C" >&6
10245 case $aros_target_objcopy_ln in
10247 ac_cv_path_aros_target_objcopy_ln="$aros_target_objcopy_ln" # Let the user override the test with a path.
10250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10251 for as_dir in $PATH
10254 test -z "$as_dir" && as_dir=.
10255 for ac_exec_ext in '' $ac_executable_extensions; do
10256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10257 ac_cv_path_aros_target_objcopy_ln="$as_dir/$ac_word$ac_exec_ext"
10258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10268 aros_target_objcopy_ln=$ac_cv_path_aros_target_objcopy_ln
10269 if test -n "$aros_target_objcopy_ln"; then
10270 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
10271 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
10273 { echo "$as_me:$LINENO: result: no" >&5
10274 echo "${ECHO_T}no" >&6; }
10280 if test "$aros_target_objcopy_ln" = ""; then
10281 { { echo "$as_me:$LINENO: error: objcopy is required to build AROS. Please install and run configure again." >&5
10282 echo "$as_me: error: objcopy is required to build AROS. Please install and run configure again." >&2;}
10283 { (exit 1); exit 1; }; }
10286 if test "$aros_target_objdump" = ""; then
10287 if test "$cross_compiling" = "yes" ; then
10288 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
10289 set dummy ${target_tool_prefix}objdump; ac_word=$2
10290 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10292 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10293 echo $ECHO_N "(cached) $ECHO_C" >&6
10295 case $aros_target_objdump_ln in
10297 ac_cv_path_aros_target_objdump_ln="$aros_target_objdump_ln" # Let the user override the test with a path.
10300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10301 for as_dir in $PATH
10304 test -z "$as_dir" && as_dir=.
10305 for ac_exec_ext in '' $ac_executable_extensions; do
10306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10307 ac_cv_path_aros_target_objdump_ln="$as_dir/$ac_word$ac_exec_ext"
10308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10318 aros_target_objdump_ln=$ac_cv_path_aros_target_objdump_ln
10319 if test -n "$aros_target_objdump_ln"; then
10320 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10321 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
10323 { echo "$as_me:$LINENO: result: no" >&5
10324 echo "${ECHO_T}no" >&6; }
10329 if test "$GCC" = "yes"; then
10330 aros_gcc_objdump=`$CC -print-prog-name=objdump
`
10331 # Extract the first word of "`basename $aros_gcc_[objdump
]`", so it can be a program name with args.
10332 set dummy `basename $aros_gcc_objdump`; ac_word=$2
10333 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10335 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10336 echo $ECHO_N "(cached) $ECHO_C" >&6
10338 case $aros_target_objdump_ln in
10340 ac_cv_path_aros_target_objdump_ln="$aros_target_objdump_ln" # Let the user override the test with a path.
10343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10344 for as_dir in `dirname $aros_gcc_objdump`
10347 test -z "$as_dir" && as_dir=.
10348 for ac_exec_ext in '' $ac_executable_extensions; do
10349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10350 ac_cv_path_aros_target_objdump_ln="$as_dir/$ac_word$ac_exec_ext"
10351 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10361 aros_target_objdump_ln=$ac_cv_path_aros_target_objdump_ln
10362 if test -n "$aros_target_objdump_ln"; then
10363 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10364 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
10366 { echo "$as_me:$LINENO: result: no" >&5
10367 echo "${ECHO_T}no" >&6; }
10372 if test "$aros_target_objdump_ln" = ""; then
10373 # Extract the first word of "objdump", so it can be a program name with args.
10374 set dummy objdump; ac_word=$2
10375 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10377 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10378 echo $ECHO_N "(cached) $ECHO_C" >&6
10380 case $aros_target_objdump_ln in
10382 ac_cv_path_aros_target_objdump_ln="$aros_target_objdump_ln" # Let the user override the test with a path.
10385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10386 for as_dir in $PATH
10389 test -z "$as_dir" && as_dir=.
10390 for ac_exec_ext in '' $ac_executable_extensions; do
10391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10392 ac_cv_path_aros_target_objdump_ln="$as_dir/$ac_word$ac_exec_ext"
10393 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10403 aros_target_objdump_ln=$ac_cv_path_aros_target_objdump_ln
10404 if test -n "$aros_target_objdump_ln"; then
10405 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10406 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
10408 { echo "$as_me:$LINENO: result: no" >&5
10409 echo "${ECHO_T}no" >&6; }
10416 # Extract the first word of "$aros_target_objdump", so it can be a program name with args.
10417 set dummy $aros_target_objdump; ac_word=$2
10418 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10420 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
10421 echo $ECHO_N "(cached) $ECHO_C" >&6
10423 case $aros_target_objdump_ln in
10425 ac_cv_path_aros_target_objdump_ln="$aros_target_objdump_ln" # Let the user override the test with a path.
10428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10429 for as_dir in $PATH
10432 test -z "$as_dir" && as_dir=.
10433 for ac_exec_ext in '' $ac_executable_extensions; do
10434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10435 ac_cv_path_aros_target_objdump_ln="$as_dir/$ac_word$ac_exec_ext"
10436 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10446 aros_target_objdump_ln=$ac_cv_path_aros_target_objdump_ln
10447 if test -n "$aros_target_objdump_ln"; then
10448 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
10449 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
10451 { echo "$as_me:$LINENO: result: no" >&5
10452 echo "${ECHO_T}no" >&6; }
10458 if test "$aros_target_objdump_ln" = ""; then
10459 { { echo "$as_me:$LINENO: error: objdump is required to build AROS. Please install and run configure again." >&5
10460 echo "$as_me: error: objdump is required to build AROS. Please install and run configure again." >&2;}
10461 { (exit 1); exit 1; }; }
10464 if test "$aros_target_ranlib" = ""; then
10465 if test "$cross_compiling" = "yes" ; then
10466 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
10467 set dummy ${target_tool_prefix}ranlib; ac_word=$2
10468 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10470 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10471 echo $ECHO_N "(cached) $ECHO_C" >&6
10473 case $aros_target_ranlib_ln in
10475 ac_cv_path_aros_target_ranlib_ln="$aros_target_ranlib_ln" # Let the user override the test with a path.
10478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10479 for as_dir in $PATH
10482 test -z "$as_dir" && as_dir=.
10483 for ac_exec_ext in '' $ac_executable_extensions; do
10484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10485 ac_cv_path_aros_target_ranlib_ln="$as_dir/$ac_word$ac_exec_ext"
10486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10496 aros_target_ranlib_ln=$ac_cv_path_aros_target_ranlib_ln
10497 if test -n "$aros_target_ranlib_ln"; then
10498 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10499 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10501 { echo "$as_me:$LINENO: result: no" >&5
10502 echo "${ECHO_T}no" >&6; }
10507 if test "$GCC" = "yes"; then
10508 aros_gcc_ranlib=`$CC -print-prog-name=ranlib
`
10509 # Extract the first word of "`basename $aros_gcc_[ranlib
]`", so it can be a program name with args.
10510 set dummy `basename $aros_gcc_ranlib`; ac_word=$2
10511 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10513 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10514 echo $ECHO_N "(cached) $ECHO_C" >&6
10516 case $aros_target_ranlib_ln in
10518 ac_cv_path_aros_target_ranlib_ln="$aros_target_ranlib_ln" # Let the user override the test with a path.
10521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10522 for as_dir in `dirname $aros_gcc_ranlib`
10525 test -z "$as_dir" && as_dir=.
10526 for ac_exec_ext in '' $ac_executable_extensions; do
10527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10528 ac_cv_path_aros_target_ranlib_ln="$as_dir/$ac_word$ac_exec_ext"
10529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10539 aros_target_ranlib_ln=$ac_cv_path_aros_target_ranlib_ln
10540 if test -n "$aros_target_ranlib_ln"; then
10541 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10542 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10544 { echo "$as_me:$LINENO: result: no" >&5
10545 echo "${ECHO_T}no" >&6; }
10550 if test "$aros_target_ranlib_ln" = ""; then
10551 # Extract the first word of "ranlib", so it can be a program name with args.
10552 set dummy ranlib; ac_word=$2
10553 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10555 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10556 echo $ECHO_N "(cached) $ECHO_C" >&6
10558 case $aros_target_ranlib_ln in
10560 ac_cv_path_aros_target_ranlib_ln="$aros_target_ranlib_ln" # Let the user override the test with a path.
10563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10564 for as_dir in $PATH
10567 test -z "$as_dir" && as_dir=.
10568 for ac_exec_ext in '' $ac_executable_extensions; do
10569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10570 ac_cv_path_aros_target_ranlib_ln="$as_dir/$ac_word$ac_exec_ext"
10571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10581 aros_target_ranlib_ln=$ac_cv_path_aros_target_ranlib_ln
10582 if test -n "$aros_target_ranlib_ln"; then
10583 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10584 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10586 { echo "$as_me:$LINENO: result: no" >&5
10587 echo "${ECHO_T}no" >&6; }
10594 # Extract the first word of "$aros_target_ranlib", so it can be a program name with args.
10595 set dummy $aros_target_ranlib; ac_word=$2
10596 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10597 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10598 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
10599 echo $ECHO_N "(cached) $ECHO_C" >&6
10601 case $aros_target_ranlib_ln in
10603 ac_cv_path_aros_target_ranlib_ln="$aros_target_ranlib_ln" # Let the user override the test with a path.
10606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10607 for as_dir in $PATH
10610 test -z "$as_dir" && as_dir=.
10611 for ac_exec_ext in '' $ac_executable_extensions; do
10612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10613 ac_cv_path_aros_target_ranlib_ln="$as_dir/$ac_word$ac_exec_ext"
10614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10624 aros_target_ranlib_ln=$ac_cv_path_aros_target_ranlib_ln
10625 if test -n "$aros_target_ranlib_ln"; then
10626 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
10627 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
10629 { echo "$as_me:$LINENO: result: no" >&5
10630 echo "${ECHO_T}no" >&6; }
10636 if test "$aros_target_ranlib_ln" = ""; then
10637 { { echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
10638 echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
10639 { (exit 1); exit 1; }; }
10642 if test "$aros_target_strip" = ""; then
10643 if test "$cross_compiling" = "yes" ; then
10644 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
10645 set dummy ${target_tool_prefix}strip; ac_word=$2
10646 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10648 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10649 echo $ECHO_N "(cached) $ECHO_C" >&6
10651 case $aros_target_strip_ln in
10653 ac_cv_path_aros_target_strip_ln="$aros_target_strip_ln" # Let the user override the test with a path.
10656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10657 for as_dir in $PATH
10660 test -z "$as_dir" && as_dir=.
10661 for ac_exec_ext in '' $ac_executable_extensions; do
10662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10663 ac_cv_path_aros_target_strip_ln="$as_dir/$ac_word$ac_exec_ext"
10664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10674 aros_target_strip_ln=$ac_cv_path_aros_target_strip_ln
10675 if test -n "$aros_target_strip_ln"; then
10676 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10677 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10679 { echo "$as_me:$LINENO: result: no" >&5
10680 echo "${ECHO_T}no" >&6; }
10685 if test "$GCC" = "yes"; then
10686 aros_gcc_strip=`$CC -print-prog-name=strip
`
10687 # Extract the first word of "`basename $aros_gcc_[strip
]`", so it can be a program name with args.
10688 set dummy `basename $aros_gcc_strip`; ac_word=$2
10689 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10691 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10692 echo $ECHO_N "(cached) $ECHO_C" >&6
10694 case $aros_target_strip_ln in
10696 ac_cv_path_aros_target_strip_ln="$aros_target_strip_ln" # Let the user override the test with a path.
10699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10700 for as_dir in `dirname $aros_gcc_strip`
10703 test -z "$as_dir" && as_dir=.
10704 for ac_exec_ext in '' $ac_executable_extensions; do
10705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10706 ac_cv_path_aros_target_strip_ln="$as_dir/$ac_word$ac_exec_ext"
10707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10717 aros_target_strip_ln=$ac_cv_path_aros_target_strip_ln
10718 if test -n "$aros_target_strip_ln"; then
10719 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10720 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10722 { echo "$as_me:$LINENO: result: no" >&5
10723 echo "${ECHO_T}no" >&6; }
10728 if test "$aros_target_strip_ln" = ""; then
10729 # Extract the first word of "strip", so it can be a program name with args.
10730 set dummy strip; ac_word=$2
10731 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10733 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10734 echo $ECHO_N "(cached) $ECHO_C" >&6
10736 case $aros_target_strip_ln in
10738 ac_cv_path_aros_target_strip_ln="$aros_target_strip_ln" # Let the user override the test with a path.
10741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10742 for as_dir in $PATH
10745 test -z "$as_dir" && as_dir=.
10746 for ac_exec_ext in '' $ac_executable_extensions; do
10747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10748 ac_cv_path_aros_target_strip_ln="$as_dir/$ac_word$ac_exec_ext"
10749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10759 aros_target_strip_ln=$ac_cv_path_aros_target_strip_ln
10760 if test -n "$aros_target_strip_ln"; then
10761 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10762 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10764 { echo "$as_me:$LINENO: result: no" >&5
10765 echo "${ECHO_T}no" >&6; }
10772 # Extract the first word of "$aros_target_strip", so it can be a program name with args.
10773 set dummy $aros_target_strip; ac_word=$2
10774 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10775 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10776 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
10777 echo $ECHO_N "(cached) $ECHO_C" >&6
10779 case $aros_target_strip_ln in
10781 ac_cv_path_aros_target_strip_ln="$aros_target_strip_ln" # Let the user override the test with a path.
10784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10785 for as_dir in $PATH
10788 test -z "$as_dir" && as_dir=.
10789 for ac_exec_ext in '' $ac_executable_extensions; do
10790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10791 ac_cv_path_aros_target_strip_ln="$as_dir/$ac_word$ac_exec_ext"
10792 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10802 aros_target_strip_ln=$ac_cv_path_aros_target_strip_ln
10803 if test -n "$aros_target_strip_ln"; then
10804 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
10805 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
10807 { echo "$as_me:$LINENO: result: no" >&5
10808 echo "${ECHO_T}no" >&6; }
10814 if test "$aros_target_strip_ln" = ""; then
10815 { { echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
10816 echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
10817 { (exit 1); exit 1; }; }
10819 if test "$aros_target_cxx" != ""; then
10820 # Extract the first word of "$aros_target_cxx", so it can be a program name with args.
10821 set dummy $aros_target_cxx; ac_word=$2
10822 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10824 if test "${ac_cv_path_aros_target_cxx+set}" = set; then
10825 echo $ECHO_N "(cached) $ECHO_C" >&6
10827 case $aros_target_cxx in
10829 ac_cv_path_aros_target_cxx="$aros_target_cxx" # Let the user override the test with a path.
10832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10833 for as_dir in $PATH
10836 test -z "$as_dir" && as_dir=.
10837 for ac_exec_ext in '' $ac_executable_extensions; do
10838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10839 ac_cv_path_aros_target_cxx="$as_dir/$ac_word$ac_exec_ext"
10840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10850 aros_target_cxx=$ac_cv_path_aros_target_cxx
10851 if test -n "$aros_target_cxx"; then
10852 { echo "$as_me:$LINENO: result: $aros_target_cxx" >&5
10853 echo "${ECHO_T}$aros_target_cxx" >&6; }
10855 { echo "$as_me:$LINENO: result: no" >&5
10856 echo "${ECHO_T}no" >&6; }
10860 # Temporarily disabled in order to let Mingw32-hosted nightly build to work
10861 # AROS_REQUIRED(c++,$aros_target_cxx)
10864 # Cancel preinstalled C++ compiler because it will be built as part of crosstools
10868 # Build crosstools if we have no C++ - temporary thing
10869 if test "$aros_target_cxx" = ""; then
10870 crosstools_target=tools-crosstools
10873 if test "$rescomp" != ""; then
10874 if test "$cross_compiling" = "yes" ; then
10875 rescomp=${target_tool_prefix}${rescomp}
10877 # Extract the first word of "$rescomp", so it can be a program name with args.
10878 set dummy $rescomp; ac_word=$2
10879 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10881 if test "${ac_cv_path_aros_kernel_rescomp+set}" = set; then
10882 echo $ECHO_N "(cached) $ECHO_C" >&6
10884 case $aros_kernel_rescomp in
10886 ac_cv_path_aros_kernel_rescomp="$aros_kernel_rescomp" # Let the user override the test with a path.
10889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10890 for as_dir in $PATH
10893 test -z "$as_dir" && as_dir=.
10894 for ac_exec_ext in '' $ac_executable_extensions; do
10895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10896 ac_cv_path_aros_kernel_rescomp="$as_dir/$ac_word$ac_exec_ext"
10897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10907 aros_kernel_rescomp=$ac_cv_path_aros_kernel_rescomp
10908 if test -n "$aros_kernel_rescomp"; then
10909 { echo "$as_me:$LINENO: result: $aros_kernel_rescomp" >&5
10910 echo "${ECHO_T}$aros_kernel_rescomp" >&6; }
10912 { echo "$as_me:$LINENO: result: no" >&5
10913 echo "${ECHO_T}no" >&6; }
10917 if test "$aros_kernel_rescomp" = ""; then
10918 { { echo "$as_me:$LINENO: error: $rescomp is required to build AROS. Please install and run configure again." >&5
10919 echo "$as_me: error: $rescomp is required to build AROS. Please install and run configure again." >&2;}
10920 { (exit 1); exit 1; }; }
10924 aros_hostcfg_dir="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
10925 aros_targetcfg_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
10926 aros_inc_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
10927 aros_gendir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
10928 aros_geninc_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
10929 aros_tools_dir="bin/${aros_host_arch}-${aros_host_cpu}/tools"
10930 aros_scripts_dir="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
10932 # aros_cc_pre is a variable that is added to the front of the compiler name
10933 # in the generated aros-gcc shell script. We need this to enable the cache
10934 # to work across cleaned builds. Also, support DISTCC using the correct
10935 # environment variable.
10938 if test "x${DISTCC}" != "x" ; then
10939 if test "x${CCACHE}" != "x" ; then
10940 aros_cc_pre="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
10942 aros_cc_pre="${DISTCC} "
10945 if test "x${CCACHE}" != "x" ; then
10946 aros_cc_pre="${CCACHE} "
10950 prefix="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
10952 aros_target_nostdinc_cflags=-nostdinc
10954 aros_target_nostartup_ldflags=-nostartfiles
10956 aros_target_nix_ldflags=-nix
10958 aros_target_detach_ldflags=-detach
10960 aros_target_nostdlib_ldflags=-nostdlib
10964 if test "$aros_target_cc" = ""; then
10965 orig_target_cc=$aros_kernel_cc
10967 orig_target_cc=$aros_target_cc
10969 if test "$aros_target_ld" = ""; then
10970 orig_target_ld=$aros_kernel_ld
10972 orig_target_ld=$aros_target_ld
10974 if test "$GCC" = "yes"; then
10975 aros_target_cc_path=`$orig_target_cc -print-search-dirs |
grep "programs: =" | cut
-c 12-`
10977 aros_target_cc="${prefix}-gcc"
10978 aros_target_as="${prefix}-as"
10979 aros_target_ld="${prefix}-ld"
10980 aros_target_ar="${prefix}-ar $aros_target_ar_flags"
10981 aros_target_objcopy=${prefix}-objcopy
10982 aros_target_objdump=${prefix}-objdump
10983 aros_target_ranlib="${prefix}-ranlib $aros_target_ranlib_flags"
10984 aros_target_nm="${prefix}-nm $aros_target_nm_flags"
10985 aros_kernel_nm="${prefix}-nm"
10986 aros_target_strip=${prefix}-strip
10988 # Find the system include path. We can suggest that an alternative is
10989 # used if we don't get it correct. The default is to use /usr/include.
10990 # Which is set in the aros_target_incl_def variable.
10992 # Check whether --enable-includes was given.
10993 if test "${enable_includes+set}" = set; then
10994 enableval=$enable_includes; aros_target_incl=$enable_includes
10996 aros_target_incl=$aros_target_incl_def
11000 { echo "$as_me:$LINENO: checking for the target compiler's include path" >&5
11001 echo $ECHO_N "checking for the target compiler's include path... $ECHO_C" >&6; }
11002 if test "$aros_target_cc_includes" = "" ; then
11003 #try to guess where the directory is
11004 aros_target_cc_includes=`dirname \
`${orig_target_cc} -print-libgcc-file-name\``/include
11005 if ! test -d $aros_target_cc_includes; then
11006 #the directory doesn't exist, we need to do some more work
11007 aros_target_cc_includes=${PWD}/${aros_gendir}/cc_include
11009 #these are the headers we're looling for
11010 headers="limits.h mmintrin.h stdbool.h syslimits.h float.h \
11011 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
11015 for h in $headers; do
11016 #which other headers each of the above headers needs?
11017 deps=$(echo "#include <$h>" | \
11018 $aros_host_cc -E -M - 2>/dev/null | \
11019 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
11021 #copy all the needed headers to a directory beneath gendir
11024 dir=${aros_target_cc_includes}$(echo $(dirname $d) | \
11025 sed -n "s,^.*/include\(/.*\),\1,p")
11026 ! test -d $dir && mkdir -p $dir
11027 ! test -f $dir/$h && { cp $d $dir; chmod u+w $dir/$h; }
11032 { echo "$as_me:$LINENO: result: $aros_target_cc_includes" >&5
11033 echo "${ECHO_T}$aros_target_cc_includes" >&6; }
11036 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
11037 # On GCC >= 4.0 -iquote should be used
11041 save_cflags="$CFLAGS"
11043 { echo "$as_me:$LINENO: checking whether ${CC} accepts -iquote" >&5
11044 echo $ECHO_N "checking whether ${CC} accepts -iquote... $ECHO_C" >&6; }
11045 cat >conftest.$ac_ext <<_ACEOF
11048 cat confdefs.h >>conftest.$ac_ext
11049 cat >>conftest.$ac_ext <<_ACEOF
11050 /* end confdefs.h. */
11060 rm -f conftest.$ac_objext
11061 if { (ac_try="$ac_compile"
11062 case "(($ac_try" in
11063 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11064 *) ac_try_echo
=$ac_try;;
11066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11067 (eval "$ac_compile") 2>conftest.er1
11069 grep -v '^ *+' conftest.er1
>conftest.err
11071 cat conftest.err
>&5
11072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11073 (exit $ac_status); } && {
11074 test -z "$ac_c_werror_flag" ||
11075 test ! -s conftest.err
11076 } && test -s conftest.
$ac_objext; then
11079 echo "$as_me: failed program was:" >&5
11080 sed 's/^/| /' conftest.
$ac_ext >&5
11085 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11086 { echo "$as_me:$LINENO: result: $has_iquote" >&5
11087 echo "${ECHO_T}$has_iquote" >&6; }
11088 if test "x-$has_iquote" = "x-yes" ; then
11089 host_cflags_iquote
=-iquote
11090 host_cflags_iquote_end
=
11092 host_cflags_iquote
=-I
11093 host_cflags_iquote_end
=-I-
11095 kernel_cflags_iquote
=$host_cflags_iquote
11096 kernel_cflags_iquote_end
=$host_cflags_iquote_end
11097 if test "x-$cross_compiling" = "x-yes"; then
11098 CC
="$aros_kernel_cc"
11099 { echo "$as_me:$LINENO: checking whether ${CC} accepts -fno-stack-protector" >&5
11100 echo $ECHO_N "checking whether ${CC} accepts -fno-stack-protector... $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
11133 use_no_stack_protector="yes"
11135 echo "$as_me: failed program was:" >&5
11136 sed 's/^/| /' conftest.$ac_ext >&5
11138 use_no_stack_protector="no"
11141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11142 { echo "$as_me:$LINENO: result: $use_no_stack_protector" >&5
11143 echo "${ECHO_T}$use_no_stack_protector" >&6; }
11144 { echo "$as_me:$LINENO: checking whether ${CC} accepts -iquote" >&5
11145 echo $ECHO_N "checking whether ${CC} accepts -iquote... $ECHO_C" >&6; }
11146 cat >conftest.$ac_ext <<_ACEOF
11149 cat confdefs.h >>conftest.$ac_ext
11150 cat >>conftest.$ac_ext <<_ACEOF
11151 /* end confdefs.h. */
11161 rm -f conftest.$ac_objext
11162 if { (ac_try="$ac_compile"
11163 case "(($ac_try" in
11164 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11165 *) ac_try_echo
=$ac_try;;
11167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11168 (eval "$ac_compile") 2>conftest.er1
11170 grep -v '^ *+' conftest.er1
>conftest.err
11172 cat conftest.err
>&5
11173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11174 (exit $ac_status); } && {
11175 test -z "$ac_c_werror_flag" ||
11176 test ! -s conftest.err
11177 } && test -s conftest.
$ac_objext; then
11180 echo "$as_me: failed program was:" >&5
11181 sed 's/^/| /' conftest.
$ac_ext >&5
11186 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11187 { echo "$as_me:$LINENO: result: $has_iquote" >&5
11188 echo "${ECHO_T}$has_iquote" >&6; }
11189 if test "x-$has_iquote" = "x-yes" ; then
11190 kernel_cflags_iquote
=-iquote
11191 kernel_cflags_iquote_end
=
11193 kernel_cflags_iquote
=-I
11194 kernel_cflags_iquote_end
=-I-
11197 aros_cflags_iquote
=$kernel_cflags_iquote
11198 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
11199 if test "$orig_target_cc" != "$aros_kernel_cc"; then
11200 CC
="$orig_target_cc"
11201 { echo "$as_me:$LINENO: checking whether ${CC} accepts -iquote" >&5
11202 echo $ECHO_N "checking whether ${CC} accepts -iquote... $ECHO_C" >&6; }
11203 cat >conftest.
$ac_ext <<_ACEOF
11206 cat confdefs.h
>>conftest.
$ac_ext
11207 cat >>conftest.
$ac_ext <<_ACEOF
11208 /* end confdefs.h. */
11218 rm -f conftest.
$ac_objext
11219 if { (ac_try
="$ac_compile"
11220 case "(($ac_try" in
11221 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11222 *) ac_try_echo=$ac_try;;
11224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11225 (eval "$ac_compile") 2>conftest.er1
11227 grep -v '^ *+' conftest.er1 >conftest.err
11229 cat conftest.err >&5
11230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11231 (exit $ac_status); } && {
11232 test -z "$ac_c_werror_flag" ||
11233 test ! -s conftest.err
11234 } && test -s conftest.$ac_objext; then
11237 echo "$as_me: failed program was:" >&5
11238 sed 's/^/| /' conftest.$ac_ext >&5
11243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11244 { echo "$as_me:$LINENO: result: $has_iquote" >&5
11245 echo "${ECHO_T}$has_iquote" >&6; }
11246 if test "x-$has_iquote" = "x-yes" ; then
11247 aros_cflags_iquote=-iquote
11248 aros_cflags_iquote_end=
11250 aros_cflags_iquote=-I
11251 aros_cflags_iquote_end=-I-
11254 if test "x-$use_no_stack_protector" = "x-yes" ; then
11255 aros_kernel_cflags="$aros_kernel_cflags -fno-stack-protector"
11258 #-----------------------------------------------------------------------------
11260 # Check if we can explicitly choose older version of symbol hashing
11262 CFLAGS="save_cflags -Wl,--hash-style=sysv"
11263 CC="$aros_kernel_cc"
11264 { echo "$as_me:$LINENO: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
11265 echo $ECHO_N "checking whether ${CC} accepts -Wl,--hash-style=sysv... $ECHO_C" >&6; }
11266 cat >conftest.$ac_ext <<_ACEOF
11269 cat confdefs.h >>conftest.$ac_ext
11270 cat >>conftest.$ac_ext <<_ACEOF
11271 /* end confdefs.h. */
11281 rm -f conftest.$ac_objext conftest$ac_exeext
11282 if { (ac_try="$ac_link"
11283 case "(($ac_try" in
11284 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11285 *) ac_try_echo
=$ac_try;;
11287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11288 (eval "$ac_link") 2>conftest.er1
11290 grep -v '^ *+' conftest.er1
>conftest.err
11292 cat conftest.err
>&5
11293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11294 (exit $ac_status); } && {
11295 test -z "$ac_c_werror_flag" ||
11296 test ! -s conftest.err
11297 } && test -s conftest
$ac_exeext &&
11298 $as_test_x conftest
$ac_exeext; then
11299 use_hash_style
="yes"
11301 echo "$as_me: failed program was:" >&5
11302 sed 's/^/| /' conftest.
$ac_ext >&5
11304 use_hash_style
="no"
11307 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11308 conftest
$ac_exeext conftest.
$ac_ext
11309 { echo "$as_me:$LINENO: result: $use_hash_style" >&5
11310 echo "${ECHO_T}$use_hash_style" >&6; }
11311 if test "x-$use_hash_style" = "x-yes" ; then
11312 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
11315 CFLAGS
="$save_cflags"
11325 { echo "$as_me:$LINENO: checking for default resolution of WBScreen" >&5
11326 echo $ECHO_N "checking for default resolution of WBScreen... $ECHO_C" >&6; }
11328 # Check whether --with-resolution was given.
11329 if test "${with_resolution+set}" = set; then
11330 withval
=$with_resolution; resolution
=$withval
11335 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
11336 if test "$resolution" = "yes" ; then
11339 if test "$resolution" = "no" ; then
11342 if test "$resolution" != "none" ; then
11343 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
11344 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
11345 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
11347 { echo "$as_me:$LINENO: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
11348 echo "${ECHO_T}$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
11349 aros_cv_default_wbwidth
=$aros_default_wbwidth
11350 aros_cv_default_wbheight
=$aros_default_wbheight
11351 aros_cv_default_wbdepth
=$aros_default_wbdepth
11353 { echo "$as_me:$LINENO: checking if serial debug is enabled" >&5
11354 echo $ECHO_N "checking if serial debug is enabled... $ECHO_C" >&6; }
11356 # Check whether --with-serial-debug was given.
11357 if test "${with_serial_debug+set}" = set; then
11358 withval
=$with_serial_debug; serial_debug
=$withval
11363 if test "$aros_serial_debug" = 0 ; then
11364 serial_debug_forced
=""
11365 if test "$serial_debug" = "yes" ; then
11368 if test "$serial_debug" = "no" ; then
11369 serial_debug
="none"
11372 serial_debug_forced
="(forced)"
11373 serial_debug
=$aros_serial_debug
11375 if test "$serial_debug" != "none" ; then
11376 aros_serial_debug
=$serial_debug
11377 { echo "$as_me:$LINENO: result: $serial_debug_forced on port $serial_debug" >&5
11378 echo "${ECHO_T}$serial_debug_forced on port $serial_debug" >&6; }
11380 { echo "$as_me:$LINENO: result: no" >&5
11381 echo "${ECHO_T}no" >&6; }
11384 { echo "$as_me:$LINENO: checking if palm debug hack is enabled" >&5
11385 echo $ECHO_N "checking if palm debug hack is enabled... $ECHO_C" >&6; }
11386 # Check whether --enable-palm_debug_hack was given.
11387 if test "${enable_palm_debug_hack+set}" = set; then
11388 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
11390 palm_debug_hack
="no"
11393 if test "$palm_debug_hack" = "yes" ; then
11394 aros_palm_debug_hack
="1"
11396 { echo "$as_me:$LINENO: result: $palm_debug_hack" >&5
11397 echo "${ECHO_T}$palm_debug_hack" >&6; }
11400 { echo "$as_me:$LINENO: checking if nesting supervisor support is enabled" >&5
11401 echo $ECHO_N "checking if nesting supervisor support is enabled... $ECHO_C" >&6; }
11402 # Check whether --enable-nesting_supervisor was given.
11403 if test "${enable_nesting_supervisor+set}" = set; then
11404 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
11406 nesting_supervisor
="no"
11409 if test "$nesting_supervisor" = "yes" ; then
11410 aros_nesting_supervisor
="1"
11412 { echo "$as_me:$LINENO: result: $nesting_supervisor" >&5
11413 echo "${ECHO_T}$nesting_supervisor" >&6; }
11416 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
11418 if test "x-$need_dlopen" != "x-no" ; then
11419 { echo "$as_me:$LINENO: checking for dlopen" >&5
11420 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
11421 if test "${ac_cv_func_dlopen+set}" = set; then
11422 echo $ECHO_N "(cached) $ECHO_C" >&6
11424 cat >conftest.
$ac_ext <<_ACEOF
11427 cat confdefs.h
>>conftest.
$ac_ext
11428 cat >>conftest.
$ac_ext <<_ACEOF
11429 /* end confdefs.h. */
11430 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
11431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11432 #define dlopen innocuous_dlopen
11434 /* System header to define __stub macros and hopefully few prototypes,
11435 which can conflict with char dlopen (); below.
11436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11437 <limits.h> exists even on freestanding compilers. */
11440 # include <limits.h>
11442 # include <assert.h>
11447 /* Override any GCC internal prototype to avoid an error.
11448 Use char because int might match the return type of a GCC
11449 builtin and then its argument prototype would still apply. */
11454 /* The GNU C library defines this for functions which it implements
11455 to always fail with ENOSYS. Some functions are actually named
11456 something starting with __ and the normal name is an alias. */
11457 #if defined __stub_dlopen || defined __stub___dlopen
11469 rm -f conftest.
$ac_objext conftest
$ac_exeext
11470 if { (ac_try
="$ac_link"
11471 case "(($ac_try" in
11472 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11473 *) ac_try_echo=$ac_try;;
11475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11476 (eval "$ac_link") 2>conftest.er1
11478 grep -v '^ *+' conftest.er1 >conftest.err
11480 cat conftest.err >&5
11481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11482 (exit $ac_status); } && {
11483 test -z "$ac_c_werror_flag" ||
11484 test ! -s conftest.err
11485 } && test -s conftest$ac_exeext &&
11486 $as_test_x conftest$ac_exeext; then
11487 ac_cv_func_dlopen=yes
11489 echo "$as_me: failed program was:" >&5
11490 sed 's/^/| /' conftest.$ac_ext >&5
11492 ac_cv_func_dlopen=no
11495 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11496 conftest$ac_exeext conftest.$ac_ext
11498 { echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11499 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
11500 if test $ac_cv_func_dlopen = yes; then
11506 if test "x-$have_dl" = "x-no" ; then
11507 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11508 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
11509 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11510 echo $ECHO_N "(cached) $ECHO_C" >&6
11512 ac_check_lib_save_LIBS=$LIBS
11514 cat >conftest.$ac_ext <<_ACEOF
11517 cat confdefs.h >>conftest.$ac_ext
11518 cat >>conftest.$ac_ext <<_ACEOF
11519 /* end confdefs.h. */
11521 /* Override any GCC internal prototype to avoid an error.
11522 Use char because int might match the return type of a GCC
11523 builtin and then its argument prototype would still apply. */
11536 rm -f conftest.$ac_objext conftest$ac_exeext
11537 if { (ac_try="$ac_link"
11538 case "(($ac_try" in
11539 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11540 *) ac_try_echo
=$ac_try;;
11542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11543 (eval "$ac_link") 2>conftest.er1
11545 grep -v '^ *+' conftest.er1
>conftest.err
11547 cat conftest.err
>&5
11548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11549 (exit $ac_status); } && {
11550 test -z "$ac_c_werror_flag" ||
11551 test ! -s conftest.err
11552 } && test -s conftest
$ac_exeext &&
11553 $as_test_x conftest
$ac_exeext; then
11554 ac_cv_lib_dl_dlopen
=yes
11556 echo "$as_me: failed program was:" >&5
11557 sed 's/^/| /' conftest.
$ac_ext >&5
11559 ac_cv_lib_dl_dlopen
=no
11562 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11563 conftest
$ac_exeext conftest.
$ac_ext
11564 LIBS
=$ac_check_lib_save_LIBS
11566 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11567 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
11568 if test $ac_cv_lib_dl_dlopen = yes; then
11570 aros_host_ldflags
="$aros_host_ldflags -ldl"
11576 if test "x-$have_dl" = "x-no" ; then
11577 { { echo "$as_me:$LINENO: error: dlopen() dynamic linker functions not available" >&5
11578 echo "$as_me: error: dlopen() dynamic linker functions not available" >&2;}
11579 { (exit 1); exit 1; }; }
11584 # Check whether --enable-x11_hidd was given.
11585 if test "${enable_x11_hidd+set}" = set; then
11586 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
11591 case "x-$x11_hidd" in
11592 x-yes|x-no|x-auto
) ;;
11593 *) x11_hidd
="auto" ;;
11598 if test "x-$x11_hidd" != "x-no" ; then
11600 { echo "$as_me:$LINENO: checking for X" >&5
11601 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
11604 # Check whether --with-x was given.
11605 if test "${with_x+set}" = set; then
11609 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11610 if test "x$with_x" = xno
; then
11611 # The user explicitly disabled X.
11614 case $x_includes,$x_libraries in #(
11615 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
11616 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
11617 { (exit 1); exit 1; }; };; #(
11618 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then
11619 echo $ECHO_N "(cached) $ECHO_C" >&6
11621 # One or both of the vars are not set, and there is no cached value.
11622 ac_x_includes
=no ac_x_libraries
=no
11623 rm -f -r conftest.dir
11624 if mkdir conftest.dir
; then
11626 cat >Imakefile
<<'_ACEOF'
11628 @echo incroot='${INCROOT}'
11630 @echo usrlibdir='${USRLIBDIR}'
11632 @echo libdir='${LIBDIR}'
11634 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
11635 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11636 for ac_var
in incroot usrlibdir libdir
; do
11637 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
11639 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11640 for ac_extension
in a so sl dylib la dll
; do
11641 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
11642 test -f "$ac_im_libdir/libX11.$ac_extension"; then
11643 ac_im_usrlibdir
=$ac_im_libdir; break
11646 # Screen out bogus values from the imake configuration. They are
11647 # bogus both because they are the default anyway, and because
11648 # using them would break gcc on systems where it needs fixed includes.
11649 case $ac_im_incroot in
11650 /usr
/include
) ac_x_includes
= ;;
11651 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
11653 case $ac_im_usrlibdir in
11654 /usr
/lib |
/lib
) ;;
11655 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
11659 rm -f -r conftest.dir
11662 # Standard set of common directories for X headers.
11663 # Check X11 before X11Rn because it is often a symlink to the current release.
11675 /usr/local/X11/include
11676 /usr/local/X11R6/include
11677 /usr/local/X11R5/include
11678 /usr/local/X11R4/include
11680 /usr/local/include/X11
11681 /usr/local/include/X11R6
11682 /usr/local/include/X11R5
11683 /usr/local/include/X11R4
11687 /usr/XFree86/include/X11
11691 /usr/unsupported/include
11692 /usr/athena/include
11693 /usr/local/x11r5/include
11694 /usr/lpp/Xamples/include
11696 /usr/openwin/include
11697 /usr/openwin/share/include'
11699 if test "$ac_x_includes" = no
; then
11700 # Guess where to find include files, by looking for Xlib.h.
11701 # First, try using that file with no special directory specified.
11702 cat >conftest.
$ac_ext <<_ACEOF
11705 cat confdefs.h
>>conftest.
$ac_ext
11706 cat >>conftest.
$ac_ext <<_ACEOF
11707 /* end confdefs.h. */
11708 #include <X11/Xlib.h>
11710 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11711 case "(($ac_try" in
11712 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11713 *) ac_try_echo=$ac_try;;
11715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11716 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11718 grep -v '^ *+' conftest.er1 >conftest.err
11720 cat conftest.err >&5
11721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11722 (exit $ac_status); } >/dev/null && {
11723 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11724 test ! -s conftest.err
11726 # We can compile using X headers with no special include directory.
11729 echo "$as_me: failed program was:" >&5
11730 sed 's/^/| /' conftest.$ac_ext >&5
11732 for ac_dir in $ac_x_header_dirs; do
11733 if test -r "$ac_dir/X11/Xlib.h"; then
11734 ac_x_includes=$ac_dir
11740 rm -f conftest.err conftest.$ac_ext
11741 fi # $ac_x_includes = no
11743 if test "$ac_x_libraries" = no; then
11744 # Check for the libraries.
11745 # See if we find them without any special options.
11746 # Don't add to $LIBS permanently.
11749 cat >conftest.$ac_ext <<_ACEOF
11752 cat confdefs.h >>conftest.$ac_ext
11753 cat >>conftest.$ac_ext <<_ACEOF
11754 /* end confdefs.h. */
11755 #include <X11/Xlib.h>
11764 rm -f conftest.$ac_objext conftest$ac_exeext
11765 if { (ac_try="$ac_link"
11766 case "(($ac_try" in
11767 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11768 *) ac_try_echo
=$ac_try;;
11770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11771 (eval "$ac_link") 2>conftest.er1
11773 grep -v '^ *+' conftest.er1
>conftest.err
11775 cat conftest.err
>&5
11776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11777 (exit $ac_status); } && {
11778 test -z "$ac_c_werror_flag" ||
11779 test ! -s conftest.err
11780 } && test -s conftest
$ac_exeext &&
11781 $as_test_x conftest
$ac_exeext; then
11783 # We can link X programs with no special library path.
11786 echo "$as_me: failed program was:" >&5
11787 sed 's/^/| /' conftest.
$ac_ext >&5
11790 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
11792 # Don't even attempt the hair of trying to link an X program!
11793 for ac_extension
in a so sl dylib la dll
; do
11794 if test -r "$ac_dir/libX11.$ac_extension"; then
11795 ac_x_libraries
=$ac_dir
11802 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11803 conftest
$ac_exeext conftest.
$ac_ext
11804 fi # $ac_x_libraries = no
11806 case $ac_x_includes,$ac_x_libraries in #(
11807 no
,* |
*,no |
*\'*)
11808 # Didn't find X, or a directory has "'" in its name.
11809 ac_cv_have_x
="have_x=no";; #(
11811 # Record where we found X for the cache.
11812 ac_cv_have_x
="have_x=yes\
11813 ac_x_includes='$ac_x_includes'\
11814 ac_x_libraries='$ac_x_libraries'"
11820 eval "$ac_cv_have_x"
11823 if test "$have_x" != yes; then
11824 { echo "$as_me:$LINENO: result: $have_x" >&5
11825 echo "${ECHO_T}$have_x" >&6; }
11828 # If each of the values was on the command line, it overrides each guess.
11829 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
11830 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
11831 # Update the cache value to reflect the command line values.
11832 ac_cv_have_x
="have_x=yes\
11833 ac_x_includes='$x_includes'\
11834 ac_x_libraries='$x_libraries'"
11835 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
11836 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
11841 for path
in $x_libraries
11843 x_cflags
="$x_cflags -L$path"
11846 for path
in $x_includes
11848 x_cflags
="$x_cflags -I$path"
11851 if test "x-$no_x" = "x-yes" ; then
11853 if test "x-$x11_hidd" != "x-auto" ; then
11854 { { echo "$as_me:$LINENO: error: X11 libs/headers not found, cannot build X11 hidd as requested" >&5
11855 echo "$as_me: error: X11 libs/headers not found, cannot build X11 hidd as requested" >&2;}
11856 { (exit 1); exit 1; }; }
11860 x11_hidd_target
=kernel-x11gfx-kobj
11863 # Check whether --enable-x11_shm was given.
11864 if test "${enable_x11_shm+set}" = set; then
11865 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
11867 x11_hidd_shm
="auto"
11870 case "x-$x11_hidd_shm" in
11871 x-yes|x-no|x-auto
) ;;
11872 *) x11_hidd_shm
="auto" ;;
11877 if test "x-$x11_hidd_shm" != "x-no" ; then
11880 for ac_header
in sys
/ipc.h
11882 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11883 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11884 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11885 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11886 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11887 echo $ECHO_N "(cached) $ECHO_C" >&6
11889 ac_res
=`eval echo '${'$as_ac_Header'}'`
11890 { echo "$as_me:$LINENO: result: $ac_res" >&5
11891 echo "${ECHO_T}$ac_res" >&6; }
11893 # Is the header compilable?
11894 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11895 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11896 cat >conftest.
$ac_ext <<_ACEOF
11899 cat confdefs.h
>>conftest.
$ac_ext
11900 cat >>conftest.
$ac_ext <<_ACEOF
11901 /* end confdefs.h. */
11902 $ac_includes_default
11903 #include <$ac_header>
11905 rm -f conftest.
$ac_objext
11906 if { (ac_try
="$ac_compile"
11907 case "(($ac_try" in
11908 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11909 *) ac_try_echo=$ac_try;;
11911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11912 (eval "$ac_compile") 2>conftest.er1
11914 grep -v '^ *+' conftest.er1 >conftest.err
11916 cat conftest.err >&5
11917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11918 (exit $ac_status); } && {
11919 test -z "$ac_c_werror_flag" ||
11920 test ! -s conftest.err
11921 } && test -s conftest.$ac_objext; then
11922 ac_header_compiler=yes
11924 echo "$as_me: failed program was:" >&5
11925 sed 's/^/| /' conftest.$ac_ext >&5
11927 ac_header_compiler=no
11930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11931 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11932 echo "${ECHO_T}$ac_header_compiler" >&6; }
11934 # Is the header present?
11935 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11936 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11937 cat >conftest.$ac_ext <<_ACEOF
11940 cat confdefs.h >>conftest.$ac_ext
11941 cat >>conftest.$ac_ext <<_ACEOF
11942 /* end confdefs.h. */
11943 #include <$ac_header>
11945 if { (ac_try="$ac_cpp conftest.$ac_ext"
11946 case "(($ac_try" in
11947 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11948 *) ac_try_echo
=$ac_try;;
11950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11951 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11953 grep -v '^ *+' conftest.er1
>conftest.err
11955 cat conftest.err
>&5
11956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11957 (exit $ac_status); } >/dev
/null
&& {
11958 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11959 test ! -s conftest.err
11961 ac_header_preproc
=yes
11963 echo "$as_me: failed program was:" >&5
11964 sed 's/^/| /' conftest.
$ac_ext >&5
11966 ac_header_preproc
=no
11969 rm -f conftest.err conftest.
$ac_ext
11970 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11971 echo "${ECHO_T}$ac_header_preproc" >&6; }
11973 # So? What about this header?
11974 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11976 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11977 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11978 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11979 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11980 ac_header_preproc
=yes
11983 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11984 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11985 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11986 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11987 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11988 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11989 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11990 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11991 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11992 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11993 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11994 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11998 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11999 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12000 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12001 echo $ECHO_N "(cached) $ECHO_C" >&6
12003 eval "$as_ac_Header=\$ac_header_preproc"
12005 ac_res
=`eval echo '${'$as_ac_Header'}'`
12006 { echo "$as_me:$LINENO: result: $ac_res" >&5
12007 echo "${ECHO_T}$ac_res" >&6; }
12010 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12011 cat >>confdefs.h
<<_ACEOF
12012 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12020 for ac_header
in sys
/shm.h
12022 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12023 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12024 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12025 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12026 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12027 echo $ECHO_N "(cached) $ECHO_C" >&6
12029 ac_res
=`eval echo '${'$as_ac_Header'}'`
12030 { echo "$as_me:$LINENO: result: $ac_res" >&5
12031 echo "${ECHO_T}$ac_res" >&6; }
12033 # Is the header compilable?
12034 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12035 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12036 cat >conftest.
$ac_ext <<_ACEOF
12039 cat confdefs.h
>>conftest.
$ac_ext
12040 cat >>conftest.
$ac_ext <<_ACEOF
12041 /* end confdefs.h. */
12042 $ac_includes_default
12043 #include <$ac_header>
12045 rm -f conftest.
$ac_objext
12046 if { (ac_try
="$ac_compile"
12047 case "(($ac_try" in
12048 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12049 *) ac_try_echo=$ac_try;;
12051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12052 (eval "$ac_compile") 2>conftest.er1
12054 grep -v '^ *+' conftest.er1 >conftest.err
12056 cat conftest.err >&5
12057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12058 (exit $ac_status); } && {
12059 test -z "$ac_c_werror_flag" ||
12060 test ! -s conftest.err
12061 } && test -s conftest.$ac_objext; then
12062 ac_header_compiler=yes
12064 echo "$as_me: failed program was:" >&5
12065 sed 's/^/| /' conftest.$ac_ext >&5
12067 ac_header_compiler=no
12070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12071 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12072 echo "${ECHO_T}$ac_header_compiler" >&6; }
12074 # Is the header present?
12075 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12076 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12077 cat >conftest.$ac_ext <<_ACEOF
12080 cat confdefs.h >>conftest.$ac_ext
12081 cat >>conftest.$ac_ext <<_ACEOF
12082 /* end confdefs.h. */
12083 #include <$ac_header>
12085 if { (ac_try="$ac_cpp conftest.$ac_ext"
12086 case "(($ac_try" in
12087 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12088 *) ac_try_echo
=$ac_try;;
12090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12091 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12093 grep -v '^ *+' conftest.er1
>conftest.err
12095 cat conftest.err
>&5
12096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12097 (exit $ac_status); } >/dev
/null
&& {
12098 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12099 test ! -s conftest.err
12101 ac_header_preproc
=yes
12103 echo "$as_me: failed program was:" >&5
12104 sed 's/^/| /' conftest.
$ac_ext >&5
12106 ac_header_preproc
=no
12109 rm -f conftest.err conftest.
$ac_ext
12110 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12111 echo "${ECHO_T}$ac_header_preproc" >&6; }
12113 # So? What about this header?
12114 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12116 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12117 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12118 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12119 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12120 ac_header_preproc
=yes
12123 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12124 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12125 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12126 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12127 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12128 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12129 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12130 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12131 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12132 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12133 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12134 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12138 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12139 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12140 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12141 echo $ECHO_N "(cached) $ECHO_C" >&6
12143 eval "$as_ac_Header=\$ac_header_preproc"
12145 ac_res
=`eval echo '${'$as_ac_Header'}'`
12146 { echo "$as_me:$LINENO: result: $ac_res" >&5
12147 echo "${ECHO_T}$ac_res" >&6; }
12150 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12151 cat >>confdefs.h
<<_ACEOF
12152 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12160 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
12162 save_cflags
="$CFLAGS"
12163 CFLAGS
="$CFLAGS $x_cflags"
12164 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
12165 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
12166 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
12167 echo $ECHO_N "(cached) $ECHO_C" >&6
12169 ac_check_lib_save_LIBS
=$LIBS
12170 LIBS
="-lXext $LIBS"
12171 cat >conftest.
$ac_ext <<_ACEOF
12174 cat confdefs.h
>>conftest.
$ac_ext
12175 cat >>conftest.
$ac_ext <<_ACEOF
12176 /* end confdefs.h. */
12178 /* Override any GCC internal prototype to avoid an error.
12179 Use char because int might match the return type of a GCC
12180 builtin and then its argument prototype would still apply. */
12184 char XShmQueryExtension ();
12188 return XShmQueryExtension ();
12193 rm -f conftest.
$ac_objext conftest
$ac_exeext
12194 if { (ac_try
="$ac_link"
12195 case "(($ac_try" in
12196 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12197 *) ac_try_echo=$ac_try;;
12199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12200 (eval "$ac_link") 2>conftest.er1
12202 grep -v '^ *+' conftest.er1 >conftest.err
12204 cat conftest.err >&5
12205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12206 (exit $ac_status); } && {
12207 test -z "$ac_c_werror_flag" ||
12208 test ! -s conftest.err
12209 } && test -s conftest$ac_exeext &&
12210 $as_test_x conftest$ac_exeext; then
12211 ac_cv_lib_Xext_XShmQueryExtension=yes
12213 echo "$as_me: failed program was:" >&5
12214 sed 's/^/| /' conftest.$ac_ext >&5
12216 ac_cv_lib_Xext_XShmQueryExtension=no
12219 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12220 conftest$ac_exeext conftest.$ac_ext
12221 LIBS=$ac_check_lib_save_LIBS
12223 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
12224 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
12225 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
12229 CFLAGS="$save_cflags"
12233 if test "x-$have_xshm" = "x-yes" ; then
12234 DO_XSHM_SUPPORT="1"
12235 elif test "x-$x11_hidd_shm" = "x-yes" ; then
12236 { { echo "$as_me:$LINENO: error: X11 has no support for shared memory, cannot enable it as requested" >&5
12237 echo "$as_me: error: X11 has no support for shared memory, cannot enable it as requested" >&2;}
12238 { (exit 1); exit 1; }; }
12240 DO_XSHM_SUPPORT="0"
12244 # Check whether --enable-x11_vidmode was given.
12245 if test "${enable_x11_vidmode+set}" = set; then
12246 enableval=$enable_x11_vidmode; x11_hidd_vidmode="$enableval"
12248 x11_hidd_vidmode="auto"
12251 case "x-$x11_hidd_vidmode" in
12252 x-yes|x-no|x-auto) ;;
12253 *) x11_hidd_vidmode="auto" ;;
12258 if test "x-$x11_hidd_vidmode" != "x-no" ; then
12260 save_cflags="$CFLAGS"
12261 CFLAGS="$CFLAGS $x_cflags"
12262 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
12263 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
12264 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
12265 echo $ECHO_N "(cached) $ECHO_C" >&6
12267 ac_check_lib_save_LIBS=$LIBS
12268 LIBS="-lXxf86vm $LIBS"
12269 cat >conftest.$ac_ext <<_ACEOF
12272 cat confdefs.h >>conftest.$ac_ext
12273 cat >>conftest.$ac_ext <<_ACEOF
12274 /* end confdefs.h. */
12276 /* Override any GCC internal prototype to avoid an error.
12277 Use char because int might match the return type of a GCC
12278 builtin and then its argument prototype would still apply. */
12282 char XF86VidModeQueryExtension ();
12286 return XF86VidModeQueryExtension ();
12291 rm -f conftest.$ac_objext conftest$ac_exeext
12292 if { (ac_try="$ac_link"
12293 case "(($ac_try" in
12294 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12295 *) ac_try_echo
=$ac_try;;
12297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12298 (eval "$ac_link") 2>conftest.er1
12300 grep -v '^ *+' conftest.er1
>conftest.err
12302 cat conftest.err
>&5
12303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12304 (exit $ac_status); } && {
12305 test -z "$ac_c_werror_flag" ||
12306 test ! -s conftest.err
12307 } && test -s conftest
$ac_exeext &&
12308 $as_test_x conftest
$ac_exeext; then
12309 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
12311 echo "$as_me: failed program was:" >&5
12312 sed 's/^/| /' conftest.
$ac_ext >&5
12314 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
12317 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12318 conftest
$ac_exeext conftest.
$ac_ext
12319 LIBS
=$ac_check_lib_save_LIBS
12321 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
12322 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
12323 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
12327 CFLAGS
="$save_cflags"
12330 if test "x-$have_vidmode" = "x-yes" ; then
12331 DO_VIDMODE_SUPPORT
="1"
12332 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
12333 { { echo "$as_me:$LINENO: error: X11 vidmode extension not available, cannot enable it as requested" >&5
12334 echo "$as_me: error: X11 vidmode extension not available, cannot enable it as requested" >&2;}
12335 { (exit 1); exit 1; }; }
12337 DO_VIDMODE_SUPPORT
="0"
12341 aros_host_x11_includes
=$x_includes
12342 aros_host_x11_libdirs
=$x_libraries
12346 # Check whether --enable-sdl_hidd was given.
12347 if test "${enable_sdl_hidd+set}" = set; then
12348 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
12353 case "x-$sdl_hidd" in
12354 x-yes|x-no|x-auto
) ;;
12355 *) sdl_hidd
="auto" ;;
12358 if test "x-$sdl_hidd" != "x-no" ; then
12361 # Check whether --with-sdl-prefix was given.
12362 if test "${with_sdl_prefix+set}" = set; then
12363 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
12369 # Check whether --with-sdl-exec-prefix was given.
12370 if test "${with_sdl_exec_prefix+set}" = set; then
12371 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
12376 # Check whether --enable-sdltest was given.
12377 if test "${enable_sdltest+set}" = set; then
12378 enableval
=$enable_sdltest;
12384 if test x
$sdl_exec_prefix != x
; then
12385 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
12386 if test x
${SDL_CONFIG+set} != xset
; then
12387 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
12390 if test x
$sdl_prefix != x
; then
12391 sdl_args
="$sdl_args --prefix=$sdl_prefix"
12392 if test x
${SDL_CONFIG+set} != xset
; then
12393 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
12397 if test "x$prefix" != xNONE
; then
12398 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
12400 # Extract the first word of "sdl-config", so it can be a program name with args.
12401 set dummy sdl-config
; ac_word
=$2
12402 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12404 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
12405 echo $ECHO_N "(cached) $ECHO_C" >&6
12407 case $SDL_CONFIG in
12409 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
12412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12413 for as_dir
in $PATH
12416 test -z "$as_dir" && as_dir
=.
12417 for ac_exec_ext
in '' $ac_executable_extensions; do
12418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12419 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
12420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12427 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
12431 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
12432 if test -n "$SDL_CONFIG"; then
12433 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
12434 echo "${ECHO_T}$SDL_CONFIG" >&6; }
12436 { echo "$as_me:$LINENO: result: no" >&5
12437 echo "${ECHO_T}no" >&6; }
12441 min_sdl_version
=1.2.10
12442 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
12443 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
12445 if test "$SDL_CONFIG" = "no" ; then
12448 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
12449 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
12451 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
12452 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12453 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
12454 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12455 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
12456 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12457 if test "x$enable_sdltest" = "xyes" ; then
12458 ac_save_CFLAGS
="$CFLAGS"
12459 ac_save_CXXFLAGS
="$CXXFLAGS"
12460 ac_save_LIBS
="$LIBS"
12461 CFLAGS
="$CFLAGS $SDL_CFLAGS"
12462 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
12463 LIBS
="$LIBS $SDL_LIBS"
12465 if test "$cross_compiling" = yes; then
12466 echo $ac_n "cross compiling; assumed OK... $ac_c"
12468 cat >conftest.
$ac_ext <<_ACEOF
12471 cat confdefs.h
>>conftest.
$ac_ext
12472 cat >>conftest.
$ac_ext <<_ACEOF
12473 /* end confdefs.h. */
12476 #include <stdlib.h>
12477 #include <string.h>
12481 my_strdup (char *str)
12487 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
12488 strcpy (new_str, str);
12496 int main (int argc, char *argv[])
12498 int major, minor, micro;
12501 /* This hangs on some systems (?)
12502 system ("touch conf.sdltest");
12504 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
12506 /* HP/UX 9 (%@#!) writes to sscanf strings */
12507 tmp_version = my_strdup("$min_sdl_version");
12508 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12509 printf("%s, bad version string\n", "$min_sdl_version");
12513 if (($sdl_major_version > major) ||
12514 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
12515 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
12521 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
12522 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
12523 printf("*** best to upgrade to the required version.\n");
12524 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
12525 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
12526 printf("*** config.cache before re-running configure\n");
12533 rm -f conftest
$ac_exeext
12534 if { (ac_try
="$ac_link"
12535 case "(($ac_try" in
12536 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12537 *) ac_try_echo=$ac_try;;
12539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12540 (eval "$ac_link") 2>&5
12542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12543 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12544 { (case "(($ac_try" in
12545 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12546 *) ac_try_echo
=$ac_try;;
12548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12549 (eval "$ac_try") 2>&5
12551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12552 (exit $ac_status); }; }; then
12555 echo "$as_me: program exited with status $ac_status" >&5
12556 echo "$as_me: failed program was:" >&5
12557 sed 's/^/| /' conftest.
$ac_ext >&5
12559 ( exit $ac_status )
12562 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12566 CFLAGS
="$ac_save_CFLAGS"
12567 CXXFLAGS
="$ac_save_CXXFLAGS"
12568 LIBS
="$ac_save_LIBS"
12571 if test "x$no_sdl" = x
; then
12572 { echo "$as_me:$LINENO: result: yes" >&5
12573 echo "${ECHO_T}yes" >&6; }
12576 { echo "$as_me:$LINENO: result: no" >&5
12577 echo "${ECHO_T}no" >&6; }
12578 if test "$SDL_CONFIG" = "no" ; then
12579 echo "*** The sdl-config script installed by SDL could not be found"
12580 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
12581 echo "*** your path, or set the SDL_CONFIG environment variable to the"
12582 echo "*** full path to sdl-config."
12584 if test -f conf.sdltest
; then
12587 echo "*** Could not run SDL test program, checking why..."
12588 CFLAGS
="$CFLAGS $SDL_CFLAGS"
12589 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
12590 LIBS
="$LIBS $SDL_LIBS"
12591 cat >conftest.
$ac_ext <<_ACEOF
12594 cat confdefs.h
>>conftest.
$ac_ext
12595 cat >>conftest.
$ac_ext <<_ACEOF
12596 /* end confdefs.h. */
12601 int main(int argc, char *argv[])
12604 #define main K_and_R_C_main
12614 rm -f conftest.
$ac_objext conftest
$ac_exeext
12615 if { (ac_try
="$ac_link"
12616 case "(($ac_try" in
12617 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12618 *) ac_try_echo=$ac_try;;
12620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12621 (eval "$ac_link") 2>conftest.er1
12623 grep -v '^ *+' conftest.er1 >conftest.err
12625 cat conftest.err >&5
12626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12627 (exit $ac_status); } && {
12628 test -z "$ac_c_werror_flag" ||
12629 test ! -s conftest.err
12630 } && test -s conftest$ac_exeext &&
12631 $as_test_x conftest$ac_exeext; then
12632 echo "*** The test program compiled, but did not run. This usually means"
12633 echo "*** that the run-time linker is not finding SDL or finding the wrong"
12634 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
12635 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12636 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12637 echo "*** is required on your system"
12639 echo "*** If you have an old version installed, it is best to remove it, although"
12640 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12642 echo "$as_me: failed program was:" >&5
12643 sed 's/^/| /' conftest.$ac_ext >&5
12645 echo "*** The test program failed to compile or link. See the file config.log for the"
12646 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
12647 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
12648 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
12651 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12652 conftest$ac_exeext conftest.$ac_ext
12653 CFLAGS="$ac_save_CFLAGS"
12654 CXXFLAGS="$ac_save_CXXFLAGS"
12655 LIBS="$ac_save_LIBS"
12667 if test "x-$have_sdl" != "x-yes" ; then
12669 if test "x-$sdl_hidd" != "x-auto" ; then
12670 { { echo "$as_me:$LINENO: error: SDL libs/headers not found, cannot build SDL hidd as requested" >&5
12671 echo "$as_me: error: SDL libs/headers not found, cannot build SDL hidd as requested" >&2;}
12672 { (exit 1); exit 1; }; }
12676 sdl_hidd_target=kernel-hidd-sdl
12677 aros_host_sdl_cflags=SDL_CFLAGS
12678 aros_host_sdl_libs=SDL_LIBS
12685 { echo "$as_me:$LINENO: checking if building of dbus.library is enabled" >&5
12686 echo $ECHO_N "checking if building of dbus.library is enabled... $ECHO_C" >&6; }
12687 # Check whether --enable-dbus was given.
12688 if test "${enable_dbus+set}" = set; then
12689 enableval=$enable_dbus; dbus="yes"
12694 if test "$dbus" = "yes" ; then
12696 DBUS_CFLAGS=`pkg-config
--cflags dbus-1
`
12697 DBUS_LIBFLAGS=`pkg-config
--libs dbus-1
`
12698 KERNEL_DBUS_KOBJ=kernel-dbus-kobj
12699 KERNEL_DBUS_INCLUDES=kernel-dbus-includes
12703 { echo "$as_me:$LINENO: result: $dbus" >&5
12704 echo "${ECHO_T}$dbus" >&6; }
12808 # Native version related
12811 # Palm native version related
12814 # Unix/Hosted version related
12817 # Apple iOS related
12838 # Collect-aros stuff: "-ius" to ignore undefined symbols
12841 # C compiler related
12844 case "$aros_flavour" in
12845 emulation) aros_flavour_uc="AROS_FLAVOUR_EMULATION"
12846 aros_flavour="emulation" ;;
12847 emulcompat) aros_flavour_uc="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
12848 aros_flavour="emulation" ;;
12849 standalone) aros_flavour_uc="AROS_FLAVOUR_STANDALONE"
12850 aros_flavour="standalone";;
12851 standcompat) aros_flavour_uc="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
12852 aros_flavour="standalone";;
12853 native) aros_flavour_uc="AROS_FLAVOUR_NATIVE"
12854 aros_flavour="native" ;;
12855 nativecompat) aros_flavour_uc="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
12856 aros_flavour="native" ;;
12857 linklib) aros_flavour_uc="AROS_FLAVOUR_LINKLIB"
12858 aros_flavour="linklib" ;;
12859 palmnative) aros_flavour_uc="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
12860 aros_flavour="palmnative" ;;
12861 mac68knative) aros_flavour_uc="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
12862 aros_flavour="mac68knative" ;;
12863 ppcnative) aros_flavour_uc="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
12864 aros_flavour="ppcnative" ;;
12867 if test ! -d ${aros_inc_dir} ; then
12868 ${MKDIR} ${aros_inc_dir}
12870 if test ! -d ${aros_geninc_dir} ; then
12871 ${MKDIR} ${aros_geninc_dir}
12873 if test ! -d ${aros_hostcfg_dir} ; then
12874 ${MKDIR} ${aros_hostcfg_dir}
12876 if test ! -d ${aros_targetcfg_dir} ; then
12877 ${MKDIR} ${aros_targetcfg_dir}
12879 if test ! -d ${aros_tools_dir} ; then
12880 ${MKDIR} ${aros_tools_dir}
12882 if test ! -d ${aros_scripts_dir} ; then
12883 ${MKDIR} ${aros_scripts_dir}
12886 ac_config_headers="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
12889 ac_config_commands="$ac_config_commands compiler_executable"
12891 ac_config_commands="$ac_config_commands genshared_executable"
12893 ac_config_commands="$ac_config_commands genmf_executable"
12896 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"
12899 cat >confcache <<\_ACEOF
12900 # This file is a shell script that caches the results of configure
12901 # tests run on this system so they can be shared between configure
12902 # scripts and configure runs, see configure's option --config-cache.
12903 # It is not useful on other systems. If it contains results you don't
12904 # want to keep, you may remove or edit it.
12906 # config.status only pays attention to the cache file if you give it
12907 # the --recheck option to rerun configure.
12909 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
12910 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12911 # following values.
12915 # The following way of writing the cache mishandles newlines in values,
12916 # but we know of no workaround that is simple, portable, and efficient.
12917 # So, we kill variables containing newlines.
12918 # Ultrix sh set writes to stderr and can't be redirected directly,
12919 # and sets the high bit in the cache file unless we assign to the vars.
12921 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12922 eval ac_val
=\$
$ac_var
12926 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12927 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12930 _ | IFS | as_nl
) ;; #(
12931 *) $as_unset $ac_var ;;
12937 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12938 *${as_nl}ac_space
=\
*)
12939 # `set' does not quote correctly, so add quotes (double-quote
12940 # substitution turns \\\\ into \\, and sed turns \\ into \).
12943 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12946 # `set' quotes correctly as required by POSIX, so do not add quotes.
12947 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12956 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12958 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12960 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12961 if test -w "$cache_file"; then
12962 test "x$cache_file" != "x/dev/null" &&
12963 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12964 echo "$as_me: updating cache $cache_file" >&6;}
12965 cat confcache
>$cache_file
12967 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12968 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12973 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12974 # Let make expand exec_prefix.
12975 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12977 DEFS
=-DHAVE_CONFIG_H
12981 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12982 # 1. Remove the extension, and $U if already installed.
12983 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12984 ac_i
=`echo "$ac_i" | sed "$ac_script"`
12985 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12986 # will be set to the directory where LIBOBJS objects are built.
12987 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12988 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
12990 LIBOBJS
=$ac_libobjs
12992 LTLIBOBJS
=$ac_ltlibobjs
12996 : ${CONFIG_STATUS=./config.status}
12997 ac_clean_files_save
=$ac_clean_files
12998 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12999 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13000 echo "$as_me: creating $CONFIG_STATUS" >&6;}
13001 cat >$CONFIG_STATUS <<_ACEOF
13003 # Generated by $as_me.
13004 # Run this file to recreate the current configuration.
13005 # Compiler output produced by configure, useful for debugging
13006 # configure, is in config.log if it exists.
13009 ac_cs_recheck=false
13011 SHELL=\${CONFIG_SHELL-$SHELL}
13014 cat >>$CONFIG_STATUS <<\_ACEOF
13015 ## --------------------- ##
13016 ## M4sh Initialization. ##
13017 ## --------------------- ##
13019 # Be more Bourne compatible
13020 DUALCASE
=1; export DUALCASE
# for MKS sh
13021 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
13024 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
13025 # is contrary to our usage. Disable this feature.
13026 alias -g '${1+"$@"}'='"$@"'
13027 setopt NO_GLOB_SUBST
13029 case `(set -o) 2>/dev/null` in
13030 *posix
*) set -o posix
;;
13039 # Avoid depending upon Character Ranges.
13040 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
13041 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13042 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
13043 as_cr_digits
='0123456789'
13044 as_cr_alnum
=$as_cr_Letters$as_cr_digits
13046 # The user is always right.
13047 if test "${PATH_SEPARATOR+set}" != set; then
13048 echo "#! /bin/sh" >conf$$.sh
13049 echo "exit 0" >>conf$$.sh
13051 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
13059 # Support unset when possible.
13060 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
13068 # We need space, tab and new line, in precisely that order. Quoting is
13069 # there to prevent editors from complaining about space-tab.
13070 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
13071 # splitting by setting IFS to empty value.)
13076 # Find who we are. Look in the path if we contain no directory separator.
13078 *[\\/]* ) as_myself
=$0 ;;
13079 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13080 for as_dir
in $PATH
13083 test -z "$as_dir" && as_dir
=.
13084 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
13090 # We did not find ourselves, most probably we were run as `sh COMMAND'
13091 # in which case we are not to be found in the path.
13092 if test "x$as_myself" = x
; then
13095 if test ! -f "$as_myself"; then
13096 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13097 { (exit 1); exit 1; }
13100 # Work around bugs in pre-3.0 UWIN ksh.
13101 for as_var
in ENV MAIL MAILPATH
13102 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
13110 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
13111 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
13112 LC_TELEPHONE LC_TIME
13114 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
13115 eval $as_var=C
; export $as_var
13117 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
13121 # Required to use basename.
13122 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13123 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13129 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13130 as_basename
=basename
13136 # Name of the executable.
13137 as_me
=`$as_basename -- "$0" ||
13138 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13139 X"$0" : 'X\(//\)$' \| \
13140 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13142 sed '/^.*\/\([^/][^/]*\)\/*$/{
13161 as_lineno_1
=$LINENO
13162 as_lineno_2
=$LINENO
13163 test "x$as_lineno_1" != "x$as_lineno_2" &&
13164 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
13166 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13167 # uniformly replaced by the line number. The first 'sed' inserts a
13168 # line-number line after each line using $LINENO; the second 'sed'
13169 # does the real work. The second script uses 'N' to pair each
13170 # line-number line with the line containing $LINENO, and appends
13171 # trailing '-' during substitution so that $LINENO is not a special
13172 # case at line end.
13173 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13174 # scripts with optimization help from Paolo Bonzini. Blame Lee
13175 # E. McMahon (1931-1989) for sed's syntax. :-)
13187 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13190 ' >$as_me.lineno
&&
13191 chmod +x
"$as_me.lineno" ||
13192 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13193 { (exit 1); exit 1; }; }
13195 # Don't try to exec as it changes $[0], causing all sort of problems
13196 # (the dirname of $[0] is not the place where we might find the
13197 # original and so on. Autoconf is especially sensitive to this).
13198 .
"./$as_me.lineno"
13199 # Exit status is that of the last command.
13204 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
13210 ECHO_C
= ECHO_N
= ECHO_T
=
13211 case `echo -n x` in
13213 case `echo 'x\c'` in
13214 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
13221 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
13222 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
13228 rm -f conf$$ conf$$.exe conf$$.
file
13229 if test -d conf$$.dir
; then
13230 rm -f conf$$.dir
/conf$$.
file
13236 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
13238 # ... but there are two gotchas:
13239 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13240 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13241 # In both cases, we have to default to `cp -p'.
13242 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
13244 elif ln conf$$.
file conf$$
2>/dev
/null
; then
13249 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
13250 rmdir conf$$.dir
2>/dev
/null
13252 if mkdir
-p .
2>/dev
/null
; then
13255 test -d .
/-p && rmdir .
/-p
13259 if test -x / >/dev
/null
2>&1; then
13260 as_test_x
='test -x'
13262 if ls -dL / >/dev
/null
2>&1; then
13269 if test -d "$1"; then
13275 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13276 ???[sx]*):;;*)false;;esac;fi
13280 as_executable_p
=$as_test_x
13282 # Sed expression to map a string onto a valid CPP name.
13283 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13285 # Sed expression to map a string onto a valid variable name.
13286 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13291 # Save the log message, to keep $[0] and so on meaningful, and to
13292 # report actual input values of CONFIG_FILES etc. instead of their
13293 # values after options handling.
13295 This file was extended by $as_me, which was
13296 generated by GNU Autoconf 2.61. Invocation command line was
13298 CONFIG_FILES = $CONFIG_FILES
13299 CONFIG_HEADERS = $CONFIG_HEADERS
13300 CONFIG_LINKS = $CONFIG_LINKS
13301 CONFIG_COMMANDS = $CONFIG_COMMANDS
13304 on `(hostname || uname -n) 2>/dev/null | sed 1q`
13309 cat >>$CONFIG_STATUS <<_ACEOF
13310 # Files that config.status was made for.
13311 config_files="$ac_config_files"
13312 config_headers="$ac_config_headers"
13313 config_commands="$ac_config_commands"
13317 cat >>$CONFIG_STATUS <<\_ACEOF
13319 \`$as_me' instantiates files from templates according to the
13320 current configuration.
13322 Usage: $0 [OPTIONS] [FILE]...
13324 -h, --help print this help, then exit
13325 -V, --version print version number and configuration settings, then exit
13326 -q, --quiet do not print progress messages
13327 -d, --debug don't remove temporary files
13328 --recheck update $as_me by reconfiguring in the same conditions
13329 --file=FILE[:TEMPLATE]
13330 instantiate the configuration file FILE
13331 --header=FILE[:TEMPLATE]
13332 instantiate the configuration header FILE
13334 Configuration files:
13337 Configuration headers:
13340 Configuration commands:
13343 Report bugs to <bug-autoconf@gnu.org>."
13346 cat >>$CONFIG_STATUS <<_ACEOF
13349 configured by $0, generated by GNU Autoconf 2.61,
13350 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13352 Copyright (C) 2006 Free Software Foundation, Inc.
13353 This config.status script is free software; the Free Software Foundation
13354 gives unlimited permission to copy, distribute and modify it."
13360 cat >>$CONFIG_STATUS <<\_ACEOF
13361 # If no file are specified by the user, then we need to provide default
13362 # value. By we need to know if files were specified by the user.
13368 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
13369 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
13380 # Handling of the options.
13381 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
13383 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
13384 echo "$ac_cs_version"; exit ;;
13385 --debug |
--debu |
--deb |
--de |
--d |
-d )
13387 --file |
--fil |
--fi |
--f )
13389 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
13390 ac_need_defaults
=false
;;
13391 --header |
--heade |
--head |
--hea )
13393 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
13394 ac_need_defaults
=false
;;
13396 # Conflict between --help and --header
13397 { echo "$as_me: error: ambiguous option: $1
13398 Try \`$0 --help' for more information." >&2
13399 { (exit 1); exit 1; }; };;
13400 --help |
--hel |
-h )
13401 echo "$ac_cs_usage"; exit ;;
13402 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
13403 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
13406 # This is an error.
13407 -*) { echo "$as_me: error: unrecognized option: $1
13408 Try \`$0 --help' for more information." >&2
13409 { (exit 1); exit 1; }; } ;;
13411 *) ac_config_targets
="$ac_config_targets $1"
13412 ac_need_defaults
=false
;;
13418 ac_configure_extra_args
=
13420 if $ac_cs_silent; then
13422 ac_configure_extra_args
="$ac_configure_extra_args --silent"
13426 cat >>$CONFIG_STATUS <<_ACEOF
13427 if \$ac_cs_recheck; then
13428 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13429 CONFIG_SHELL=$SHELL
13430 export CONFIG_SHELL
13431 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13435 cat >>$CONFIG_STATUS <<\_ACEOF
13439 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13440 ## Running $as_me. ##
13446 cat >>$CONFIG_STATUS <<_ACEOF
13451 aros_host_exe_suffix=${aros_host_exe_suffix}
13452 aros_tools_dir=${aros_tools_dir}
13453 aros_target_cpu=${aros_target_cpu}
13454 aros_target_arch=${aros_target_arch}
13455 aros_target_suffix=${aros_target_suffix}
13456 aros_target_nm_ln=${aros_target_nm_ln}
13457 aros_target_as_ln=${aros_target_as_ln}
13458 aros_target_ar_ln=${aros_target_ar_ln}
13459 aros_target_ranlib_ln=${aros_target_ranlib_ln}
13460 aros_target_objdump_ln=${aros_target_objdump_ln}
13461 aros_target_objcopy_ln=${aros_target_objcopy_ln}
13462 aros_target_strip_ln=${aros_target_strip_ln}
13465 aros_scripts_dir=${aros_scripts_dir}
13467 aros_tools_dir=${aros_tools_dir}
13472 cat >>$CONFIG_STATUS <<\_ACEOF
13474 # Handling of arguments.
13475 for ac_config_target
in $ac_config_targets
13477 case $ac_config_target in
13478 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
13479 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
13480 "genshared_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genshared_executable" ;;
13481 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
13482 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
13483 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
13484 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
13485 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
13486 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
13487 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
13488 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
13489 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
13490 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
13491 "${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" ;;
13492 "${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" ;;
13493 "${aros_scripts_dir}/genshared") CONFIG_FILES
="$CONFIG_FILES ${aros_scripts_dir}/genshared:compiler/c_lib/source/lib_source/genshared.in" ;;
13494 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
13495 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
13497 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13498 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13499 { (exit 1); exit 1; }; };;
13504 # If the user did not use the arguments to specify the items to instantiate,
13505 # then the envvar interface is used. Set only those that are not.
13506 # We use the long form for the default assignment because of an extremely
13507 # bizarre bug on SunOS 4.1.3.
13508 if $ac_need_defaults; then
13509 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
13510 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
13511 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13514 # Have a temporary directory for convenience. Make it in the build tree
13515 # simply because there is no reason against having it here, and in addition,
13516 # creating and moving files from /tmp can sometimes cause problems.
13517 # Hook for its removal unless debugging.
13518 # Note that there is a small window in which the directory will not be cleaned:
13519 # after its creation but before its name has been assigned to `$tmp'.
13523 trap 'exit_status=$?
13524 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13526 trap '{ (exit 1); exit 1; }' 1 2 13 15
13528 # Create a (secure) tmp directory for tmp files.
13531 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13532 test -n "$tmp" && test -d "$tmp"
13535 tmp
=.
/conf$$
-$RANDOM
13536 (umask 077 && mkdir
"$tmp")
13539 echo "$me: cannot create a temporary directory in ." >&2
13540 { (exit 1); exit 1; }
13544 # Set up the sed scripts for CONFIG_FILES section.
13547 # No need to generate the scripts if there are no CONFIG_FILES.
13548 # This happens for instance when ./config.status config.h
13549 if test -n "$CONFIG_FILES"; then
13556 for ac_last_try
in false false false false false
:; do
13557 cat >conf$
$subs.
sed <<_ACEOF
13558 SHELL!$SHELL$ac_delim
13559 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
13560 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
13561 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
13562 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
13563 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
13564 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
13565 exec_prefix!$exec_prefix$ac_delim
13566 prefix!$prefix$ac_delim
13567 program_transform_name!$program_transform_name$ac_delim
13568 bindir!$bindir$ac_delim
13569 sbindir!$sbindir$ac_delim
13570 libexecdir!$libexecdir$ac_delim
13571 datarootdir!$datarootdir$ac_delim
13572 datadir!$datadir$ac_delim
13573 sysconfdir!$sysconfdir$ac_delim
13574 sharedstatedir!$sharedstatedir$ac_delim
13575 localstatedir!$localstatedir$ac_delim
13576 includedir!$includedir$ac_delim
13577 oldincludedir!$oldincludedir$ac_delim
13578 docdir!$docdir$ac_delim
13579 infodir!$infodir$ac_delim
13580 htmldir!$htmldir$ac_delim
13581 dvidir!$dvidir$ac_delim
13582 pdfdir!$pdfdir$ac_delim
13583 psdir!$psdir$ac_delim
13584 libdir!$libdir$ac_delim
13585 localedir!$localedir$ac_delim
13586 mandir!$mandir$ac_delim
13587 DEFS!$DEFS$ac_delim
13588 ECHO_C!$ECHO_C$ac_delim
13589 ECHO_N!$ECHO_N$ac_delim
13590 ECHO_T!$ECHO_T$ac_delim
13591 LIBS!$LIBS$ac_delim
13592 build_alias!$build_alias$ac_delim
13593 host_alias!$host_alias$ac_delim
13594 target_alias!$target_alias$ac_delim
13595 build!$build$ac_delim
13596 build_cpu!$build_cpu$ac_delim
13597 build_vendor!$build_vendor$ac_delim
13598 build_os!$build_os$ac_delim
13599 host!$host$ac_delim
13600 host_cpu!$host_cpu$ac_delim
13601 host_vendor!$host_vendor$ac_delim
13602 host_os!$host_os$ac_delim
13604 CFLAGS!$CFLAGS$ac_delim
13605 LDFLAGS!$LDFLAGS$ac_delim
13606 CPPFLAGS!$CPPFLAGS$ac_delim
13607 ac_ct_CC!$ac_ct_CC$ac_delim
13608 EXEEXT!$EXEEXT$ac_delim
13609 OBJEXT!$OBJEXT$ac_delim
13612 MMAKE!$MMAKE$ac_delim
13613 aros_host_ld!$aros_host_ld$ac_delim
13614 aros_host_aclocal!$aros_host_aclocal$ac_delim
13615 aros_host_autoconf!$aros_host_autoconf$ac_delim
13616 aros_host_autoheader!$aros_host_autoheader$ac_delim
13617 aros_host_automake!$aros_host_automake$ac_delim
13618 aros_host_ar!$aros_host_ar$ac_delim
13619 aros_host_ranlib!$aros_host_ranlib$ac_delim
13620 aros_host_strip!$aros_host_strip$ac_delim
13624 ECHO!$ECHO$ac_delim
13625 MKDIR!$MKDIR$ac_delim
13626 TOUCH!$TOUCH$ac_delim
13627 SORT!$SORT$ac_delim
13628 UNIQ!$UNIQ$ac_delim
13631 BISON!$BISON$ac_delim
13632 FLEX!$FLEX$ac_delim
13633 PNGTOPNM!$PNGTOPNM$ac_delim
13634 PPMTOILBM!$PPMTOILBM$ac_delim
13636 CHMOD!$CHMOD$ac_delim
13637 PYTHON!$PYTHON$ac_delim
13638 PYTHON_VERSION!$PYTHON_VERSION$ac_delim
13639 PYTHON_PREFIX!$PYTHON_PREFIX$ac_delim
13640 PYTHON_EXEC_PREFIX!$PYTHON_EXEC_PREFIX$ac_delim
13641 PYTHON_PLATFORM!$PYTHON_PLATFORM$ac_delim
13642 pythondir!$pythondir$ac_delim
13643 pkgpythondir!$pkgpythondir$ac_delim
13644 pyexecdir!$pyexecdir$ac_delim
13645 pkgpyexecdir!$pkgpyexecdir$ac_delim
13648 TEST!$TEST$ac_delim
13650 GREP!$GREP$ac_delim
13651 EGREP!$EGREP$ac_delim
13652 LIBOBJS!$LIBOBJS$ac_delim
13653 DISTCC!$DISTCC$ac_delim
13654 CCACHE!$CCACHE$ac_delim
13657 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
13659 elif $ac_last_try; then
13660 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13661 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13662 { (exit 1); exit 1; }; }
13664 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
13668 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13669 if test -n "$ac_eof"; then
13670 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
13671 ac_eof
=`expr $ac_eof + 1`
13674 cat >>$CONFIG_STATUS <<_ACEOF
13675 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
13676 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13679 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13680 s/^/s,@/; s/!/@,|#_!!_#|/
13683 s/'"$ac_delim"'$/,g/; t
13685 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13686 ' >>$CONFIG_STATUS <conf$
$subs.
sed
13687 rm -f conf$
$subs.
sed
13688 cat >>$CONFIG_STATUS <<_ACEOF
13694 for ac_last_try
in false false false false false
:; do
13695 cat >conf$
$subs.
sed <<_ACEOF
13696 aros_target_cc!$aros_target_cc$ac_delim
13697 aros_target_ld!$aros_target_ld$ac_delim
13698 aros_target_as_ln!$aros_target_as_ln$ac_delim
13699 aros_kernel_ld!$aros_kernel_ld$ac_delim
13700 aros_target_ar_ln!$aros_target_ar_ln$ac_delim
13701 aros_target_nm_ln!$aros_target_nm_ln$ac_delim
13702 aros_target_objcopy_ln!$aros_target_objcopy_ln$ac_delim
13703 aros_target_objdump_ln!$aros_target_objdump_ln$ac_delim
13704 aros_target_ranlib_ln!$aros_target_ranlib_ln$ac_delim
13705 aros_target_strip_ln!$aros_target_strip_ln$ac_delim
13706 aros_target_cxx!$aros_target_cxx$ac_delim
13707 aros_kernel_rescomp!$aros_kernel_rescomp$ac_delim
13708 aros_target_nostdinc_cflags!$aros_target_nostdinc_cflags$ac_delim
13709 aros_target_nostartup_ldflags!$aros_target_nostartup_ldflags$ac_delim
13710 aros_target_nix_ldflags!$aros_target_nix_ldflags$ac_delim
13711 aros_target_detach_ldflags!$aros_target_detach_ldflags$ac_delim
13712 aros_target_nostdlib_ldflags!$aros_target_nostdlib_ldflags$ac_delim
13713 host_cflags_iquote!$host_cflags_iquote$ac_delim
13714 host_cflags_iquote_end!$host_cflags_iquote_end$ac_delim
13715 kernel_cflags_iquote!$kernel_cflags_iquote$ac_delim
13716 kernel_cflags_iquote_end!$kernel_cflags_iquote_end$ac_delim
13717 aros_cflags_iquote!$aros_cflags_iquote$ac_delim
13718 aros_cflags_iquote_end!$aros_cflags_iquote_end$ac_delim
13719 XMKMF!$XMKMF$ac_delim
13720 SDL_CONFIG!$SDL_CONFIG$ac_delim
13721 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
13722 SDL_LIBS!$SDL_LIBS$ac_delim
13723 aros_arch!$aros_arch$ac_delim
13724 aros_cpu!$aros_cpu$ac_delim
13725 aros_flavour!$aros_flavour$ac_delim
13726 aros_flavour_uc!$aros_flavour_uc$ac_delim
13727 AROS_BUILDDIR!$AROS_BUILDDIR$ac_delim
13728 AROS_BUILDDIR_UNIX!$AROS_BUILDDIR_UNIX$ac_delim
13729 SRCDIR!$SRCDIR$ac_delim
13730 AROS_PORTSSRCDIR!$AROS_PORTSSRCDIR$ac_delim
13731 aros_cc_pre!$aros_cc_pre$ac_delim
13732 aros_host_arch!$aros_host_arch$ac_delim
13733 aros_host_cpu!$aros_host_cpu$ac_delim
13734 aros_host_cc!$aros_host_cc$ac_delim
13735 aros_host_make!$aros_host_make$ac_delim
13736 aros_host_cflags!$aros_host_cflags$ac_delim
13737 aros_host_ldflags!$aros_host_ldflags$ac_delim
13738 aros_host_debug!$aros_host_debug$ac_delim
13739 aros_host_mkdep!$aros_host_mkdep$ac_delim
13740 aros_host_mkargs!$aros_host_mkargs$ac_delim
13741 aros_host_exe_suffix!$aros_host_exe_suffix$ac_delim
13742 aros_host_lib_suffix!$aros_host_lib_suffix$ac_delim
13743 aros_tools_dir!$aros_tools_dir$ac_delim
13744 aros_target_guitheme!$aros_target_guitheme$ac_delim
13745 aros_target_iconset!$aros_target_iconset$ac_delim
13746 aros_target_bootloader!$aros_target_bootloader$ac_delim
13747 aros_target_arch!$aros_target_arch$ac_delim
13748 aros_target_cpu!$aros_target_cpu$ac_delim
13749 aros_target_variant!$aros_target_variant$ac_delim
13750 aros_target_suffix!$aros_target_suffix$ac_delim
13751 aros_target_incl!$aros_target_incl$ac_delim
13752 aros_target_ar!$aros_target_ar$ac_delim
13753 aros_target_ranlib!$aros_target_ranlib$ac_delim
13754 aros_kernel_nm!$aros_kernel_nm$ac_delim
13755 orig_target_cc!$orig_target_cc$ac_delim
13756 aros_kernel_cc!$aros_kernel_cc$ac_delim
13757 aros_target_as!$aros_target_as$ac_delim
13758 orig_target_ld!$orig_target_ld$ac_delim
13759 aros_target_cc_includes!$aros_target_cc_includes$ac_delim
13760 aros_target_cc_path!$aros_target_cc_path$ac_delim
13761 aros_target_objdump!$aros_target_objdump$ac_delim
13762 aros_target_objcopy!$aros_target_objcopy$ac_delim
13763 aros_target_strip!$aros_target_strip$ac_delim
13764 aros_target_nm!$aros_target_nm$ac_delim
13765 aros_shared_default!$aros_shared_default$ac_delim
13766 aros_shared_ld!$aros_shared_ld$ac_delim
13767 aros_object_format!$aros_object_format$ac_delim
13768 aros_compiler_libs!$aros_compiler_libs$ac_delim
13769 aros_arch_libs!$aros_arch_libs$ac_delim
13770 aros_config_cflags!$aros_config_cflags$ac_delim
13771 aros_config_aflags!$aros_config_aflags$ac_delim
13772 aros_config_ldflags!$aros_config_ldflags$ac_delim
13773 aros_shared_cflags!$aros_shared_cflags$ac_delim
13774 aros_shared_aflags!$aros_shared_aflags$ac_delim
13775 aros_shared_ldflags!$aros_shared_ldflags$ac_delim
13776 aros_kernel_cflags!$aros_kernel_cflags$ac_delim
13777 aros_kernel_objcflags!$aros_kernel_objcflags$ac_delim
13778 aros_kernel_ldflags!$aros_kernel_ldflags$ac_delim
13779 aros_debug_cflags!$aros_debug_cflags$ac_delim
13780 aros_debug_aflags!$aros_debug_aflags$ac_delim
13781 aros_debug_ldflags!$aros_debug_ldflags$ac_delim
13782 aros_paranoia_cflags!$aros_paranoia_cflags$ac_delim
13783 aros_target_genmap!$aros_target_genmap$ac_delim
13784 aros_target_strip_flags!$aros_target_strip_flags$ac_delim
13785 crosstools_target!$crosstools_target$ac_delim
13786 x11_hidd_target!$x11_hidd_target$ac_delim
13787 sdl_hidd_target!$sdl_hidd_target$ac_delim
13788 aros_default_wbwidth!$aros_default_wbwidth$ac_delim
13789 aros_default_wbheight!$aros_default_wbheight$ac_delim
13790 aros_default_wbdepth!$aros_default_wbdepth$ac_delim
13791 DO_XSHM_SUPPORT!$DO_XSHM_SUPPORT$ac_delim
13792 DO_VIDMODE_SUPPORT!$DO_VIDMODE_SUPPORT$ac_delim
13795 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
13797 elif $ac_last_try; then
13798 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13799 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13800 { (exit 1); exit 1; }; }
13802 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
13806 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13807 if test -n "$ac_eof"; then
13808 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
13809 ac_eof
=`expr $ac_eof + 1`
13812 cat >>$CONFIG_STATUS <<_ACEOF
13813 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
13814 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13817 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13818 s/^/s,@/; s/!/@,|#_!!_#|/
13821 s/'"$ac_delim"'$/,g/; t
13823 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13824 ' >>$CONFIG_STATUS <conf$
$subs.
sed
13825 rm -f conf$
$subs.
sed
13826 cat >>$CONFIG_STATUS <<_ACEOF
13832 for ac_last_try
in false false false false false
:; do
13833 cat >conf$
$subs.
sed <<_ACEOF
13834 aros_host_x11_includes!$aros_host_x11_includes$ac_delim
13835 aros_host_x11_libdirs!$aros_host_x11_libdirs$ac_delim
13836 aros_host_sdl_cflags!$aros_host_sdl_cflags$ac_delim
13837 aros_host_sdl_libs!$aros_host_sdl_libs$ac_delim
13838 aros_serial_debug!$aros_serial_debug$ac_delim
13839 aros_palm_debug_hack!$aros_palm_debug_hack$ac_delim
13840 aros_nesting_supervisor!$aros_nesting_supervisor$ac_delim
13841 aros_ios_platform!$aros_ios_platform$ac_delim
13842 aros_ios_version!$aros_ios_version$ac_delim
13843 aros_ios_sdk!$aros_ios_sdk$ac_delim
13844 ENABLE_DBUS!$ENABLE_DBUS$ac_delim
13845 DBUS_CFLAGS!$DBUS_CFLAGS$ac_delim
13846 DBUS_LIBFLAGS!$DBUS_LIBFLAGS$ac_delim
13847 KERNEL_DBUS_KOBJ!$KERNEL_DBUS_KOBJ$ac_delim
13848 KERNEL_DBUS_INCLUDES!$KERNEL_DBUS_INCLUDES$ac_delim
13849 ENABLE_X11!$ENABLE_X11$ac_delim
13850 aros_debug!$aros_debug$ac_delim
13851 aros_mungwall_debug!$aros_mungwall_debug$ac_delim
13852 aros_stack_debug!$aros_stack_debug$ac_delim
13853 aros_modules_debug!$aros_modules_debug$ac_delim
13854 ignore_undefined_symbols!$ignore_undefined_symbols$ac_delim
13855 gcc_target_cpu!$gcc_target_cpu$ac_delim
13856 LTLIBOBJS!$LTLIBOBJS$ac_delim
13859 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 23; then
13861 elif $ac_last_try; then
13862 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13863 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13864 { (exit 1); exit 1; }; }
13866 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
13870 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13871 if test -n "$ac_eof"; then
13872 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
13873 ac_eof
=`expr $ac_eof + 1`
13876 cat >>$CONFIG_STATUS <<_ACEOF
13877 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
13878 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
13881 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13882 s/^/s,@/; s/!/@,|#_!!_#|/
13885 s/'"$ac_delim"'$/,g/; t
13887 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13888 ' >>$CONFIG_STATUS <conf$
$subs.
sed
13889 rm -f conf$
$subs.
sed
13890 cat >>$CONFIG_STATUS <<_ACEOF
13897 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13898 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13899 # trailing colons and then remove the whole line if VPATH becomes empty
13900 # (actually we leave an empty line to preserve line numbers).
13901 if test "x$srcdir" = x.
; then
13902 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
13903 s/:*\$(srcdir):*/:/
13904 s/:*\${srcdir}:*/:/
13906 s/^\([^=]*=[ ]*\):*/\1/
13912 cat >>$CONFIG_STATUS <<\_ACEOF
13913 fi # test -n "$CONFIG_FILES"
13916 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
13919 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13921 case $ac_mode$ac_tag in
13923 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
13924 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
13925 { (exit 1); exit 1; }; };;
13926 :[FH
]-) ac_tag
=-:-;;
13927 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13944 -) ac_f
="$tmp/stdin";;
13945 *) # Look for the file first in the build tree, then in the source tree
13946 # (if the path is not absolute). The absolute path cannot be DOS-style,
13947 # because $ac_f cannot contain `:'.
13951 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13953 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
13954 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
13955 { (exit 1); exit 1; }; };;
13957 ac_file_inputs
="$ac_file_inputs $ac_f"
13960 # Let's still pretend it is `configure' which instantiates (i.e., don't
13961 # use $as_me), people would be surprised to read:
13962 # /* config.h. Generated by config.status. */
13963 configure_input
="Generated from "`IFS=:
13964 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
13965 if test x
"$ac_file" != x-
; then
13966 configure_input
="$ac_file. $configure_input"
13967 { echo "$as_me:$LINENO: creating $ac_file" >&5
13968 echo "$as_me: creating $ac_file" >&6;}
13972 *:-:* |
*:-) cat >"$tmp/stdin";;
13977 ac_dir
=`$as_dirname -- "$ac_file" ||
13978 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13979 X"$ac_file" : 'X\(//\)[^/]' \| \
13980 X"$ac_file" : 'X\(//\)$' \| \
13981 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13983 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13987 /^X\(\/\/\)[^/].*/{
14002 -*) as_dir
=.
/$as_dir;;
14004 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
14008 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
14009 *) as_qdir
=$as_dir;;
14011 as_dirs
="'$as_qdir' $as_dirs"
14012 as_dir
=`$as_dirname -- "$as_dir" ||
14013 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14014 X"$as_dir" : 'X\(//\)[^/]' \| \
14015 X"$as_dir" : 'X\(//\)$' \| \
14016 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14018 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14022 /^X\(\/\/\)[^/].*/{
14035 test -d "$as_dir" && break
14037 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
14038 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14039 echo "$as_me: error: cannot create directory $as_dir" >&2;}
14040 { (exit 1); exit 1; }; }; }
14044 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14046 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14047 # A ".." for each directory in $ac_dir_suffix.
14048 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
14049 case $ac_top_builddir_sub in
14050 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
14051 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
14054 ac_abs_top_builddir
=$ac_pwd
14055 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
14056 # for backward compatibility:
14057 ac_top_builddir
=$ac_top_build_prefix
14060 .
) # We are building in place.
14062 ac_top_srcdir
=$ac_top_builddir_sub
14063 ac_abs_top_srcdir
=$ac_pwd ;;
14064 [\\/]* | ?
:[\\/]* ) # Absolute name.
14065 ac_srcdir
=$srcdir$ac_dir_suffix;
14066 ac_top_srcdir
=$srcdir
14067 ac_abs_top_srcdir
=$srcdir ;;
14068 *) # Relative name.
14069 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
14070 ac_top_srcdir
=$ac_top_build_prefix$srcdir
14071 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
14073 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
14084 cat >>$CONFIG_STATUS <<\_ACEOF
14085 # If the template does not know about datarootdir, expand it.
14086 # FIXME: This hack should be removed a few years after 2.60.
14087 ac_datarootdir_hack
=; ac_datarootdir_seen
=
14089 case `sed -n '/datarootdir/ {
14098 ' $ac_file_inputs` in
14099 *datarootdir
*) ac_datarootdir_seen
=yes;;
14100 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
14101 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14102 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14104 cat >>$CONFIG_STATUS <<_ACEOF
14105 ac_datarootdir_hack='
14106 s&@datadir@&$datadir&g
14107 s&@docdir@&$docdir&g
14108 s&@infodir@&$infodir&g
14109 s&@localedir@&$localedir&g
14110 s&@mandir@&$mandir&g
14111 s&\\\${datarootdir}&$datarootdir&g' ;;
14115 # Neutralize VPATH when `$srcdir' = `.'.
14116 # Shell code in configure.ac might set extrasub.
14117 # FIXME: do we really want to maintain this feature?
14118 cat >>$CONFIG_STATUS <<_ACEOF
14122 cat >>$CONFIG_STATUS <<\_ACEOF
14124 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
14125 s
&@configure_input@
&$configure_input&;t t
14126 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
14127 s
&@srcdir@
&$ac_srcdir&;t t
14128 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
14129 s
&@top_srcdir@
&$ac_top_srcdir&;t t
14130 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
14131 s
&@builddir@
&$ac_builddir&;t t
14132 s
&@abs_builddir@
&$ac_abs_builddir&;t t
14133 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
14134 $ac_datarootdir_hack
14135 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" | sed -f "$tmp/subs-3.
sed" >$tmp/out
14137 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14138 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
14139 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
14140 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
14141 which seems to be undefined. Please make sure it is defined." >&5
14142 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
14143 which seems to be undefined. Please make sure it is defined." >&2;}
14147 -) cat "$tmp/out"; rm -f "$tmp/out";;
14148 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
14157 # Transform confdefs.h into a sed script `conftest.defines', that
14158 # substitutes the proper values into config.h.in to produce config.h.
14159 rm -f conftest.defines conftest.
tail
14160 # First, append a space to every undef/define line, to ease matching.
14161 echo 's/$/ /' >conftest.defines
14162 # Then, protect against being on the right side of a sed subst, or in
14163 # an unquoted here document, in config.status. If some macros were
14164 # called several times there might be several #defines for the same
14165 # symbol, which is useless. But do not sort them, since the last
14166 # AC_DEFINE must be honored.
14167 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
14168 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
14169 # NAME is the cpp macro being defined, VALUE is the value it is being given.
14170 # PARAMS is the parameter list in the macro definition--in most cases, it's
14171 # just an empty string.
14172 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
14173 ac_dB
='\\)[ (].*,\\1define\\2'
14181 s/^[ ]*#[ ]*define[ ][ ]*//
14186 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
14187 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
14188 ' >>conftest.defines
14190 # Remove the space that was appended to ease matching.
14191 # Then replace #undef with comments. This is necessary, for
14192 # example, in the case of _POSIX_SOURCE, which is predefined and required
14193 # on some systems where configure will not decide to define it.
14194 # (The regexp can be short, since the line contains either #define or #undef.)
14196 s,^[ #]*u.*,/* & */,' >>conftest.defines
14198 # Break up conftest.defines:
14199 ac_max_sed_lines
=50
14201 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
14202 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
14203 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
14205 ac_in
='$ac_file_inputs'
14206 ac_out
='"$tmp/out1"'
14207 ac_nxt
='"$tmp/out2"'
14211 # Write a here document:
14212 cat >>$CONFIG_STATUS <<_ACEOF
14213 # First, check the format of the line:
14214 cat >"\$tmp/defines.sed" <<\\CEOF
14215 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
14216 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
14220 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
14222 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
14223 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
14224 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
14225 grep . conftest.
tail >/dev
/null ||
break
14226 rm -f conftest.defines
14227 mv conftest.
tail conftest.defines
14229 rm -f conftest.defines conftest.
tail
14231 echo "ac_result=$ac_in" >>$CONFIG_STATUS
14232 cat >>$CONFIG_STATUS <<\_ACEOF
14233 if test x
"$ac_file" != x-
; then
14234 echo "/* $configure_input */" >"$tmp/config.h"
14235 cat "$ac_result" >>"$tmp/config.h"
14236 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
14237 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14238 echo "$as_me: $ac_file is unchanged" >&6;}
14241 mv "$tmp/config.h" $ac_file
14244 echo "/* $configure_input */"
14250 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
14251 echo "$as_me: executing $ac_file commands" >&6;}
14256 case $ac_file$ac_mode in
14257 "compiler_executable":C
)
14258 prefix
=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
14260 prefix
="${prefix}/${aros_target_cpu}-aros"
14261 prefix2
=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
14265 chmod a
+x
${prefix2}-gcc ${prefix2}-ld
14267 ln -sf ${prefix2}-gcc ${prefix}-gcc
14268 ln -sf ${prefix2}-ld ${prefix}-ld
14270 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix}-as
14271 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix}-nm
14272 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix}-ar
14273 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix}-ranlib
14274 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix}-objcopy
14275 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix}-objdump
14276 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix}-strip
14278 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix2}-as
14279 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix2}-nm
14280 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix2}-ar
14281 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix2}-ranlib
14282 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix2}-objcopy
14283 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix2}-objdump
14284 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix2}-strip
14286 "genshared_executable":C
) chmod a
+x
${aros_scripts_dir}/genshared
;;
14287 "genmf_executable":C
) chmod a
+x
${aros_tools_dir}/genmf.py
;;
14293 { (exit 0); exit 0; }
14295 chmod +x
$CONFIG_STATUS
14296 ac_clean_files
=$ac_clean_files_save
14299 # configure is writing to config.log, and then calls config.status.
14300 # config.status does its own redirection, appending to config.log.
14301 # Unfortunately, on DOS this fails, as config.log is still kept open
14302 # by configure, so config.status won't be able to write to it; its
14303 # output is simply discarded. So we exec the FD to /dev/null,
14304 # effectively closing config.log, so it can be properly (re)opened and
14305 # appended to by config.status. When coming back to configure, we
14306 # need to make the FD available again.
14307 if test "$no_create" != yes; then
14309 ac_config_status_args
=
14310 test "$silent" = yes &&
14311 ac_config_status_args
="$ac_config_status_args --quiet"
14313 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
14315 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14316 # would make configure fail if this is the last instruction.
14317 $ac_cs_success ||
{ (exit 1); exit 1; }
14322 #XXX compatability...
14323 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
14325 if test -n "$aros_shared_cflags" ; then
14326 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
14327 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg